芝麻web文件管理V1.00
编辑当前文件:/home/fambnfli/public_html/tr/wp-content/plugins/coming-soon/public/js/iframeResizer.min.js
"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(d){if("undefined"!=typeof window){var e,c=0,l=!1,n=!1,p="message".length,b="[iFrameSizer]",y=b.length,v=null,r=window.requestAnimationFrame,f={max:1,scroll:1,bodyScroll:1,documentElementScroll:1},k={},i=null,u={autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",closedCallback:function(){},initCallback:function(){},messageCallback:function(){R("MessageCallback function not defined")},resizedCallback:function(){},scrollCallback:function(){return!0}},F={};window.jQuery&&((e=window.jQuery).fn?e.fn.iFrameResize||(e.fn.iFrameResize=function(i){return this.filter("iframe").each(function(e,n){g(n,i)}).end()}):z("","Unable to bind to jQuery, it is not fully loaded.")),"function"==typeof define&&define.amd?define([],q):"object"===("undefined"==typeof module?"undefined":_typeof(module))&&"object"===_typeof(module.exports)?module.exports=q():window.iFrameResize=window.iFrameResize||q()}function I(e,n,i){"addEventListener"in window?e.addEventListener(n,i,!1):"attachEvent"in window&&e.attachEvent("on"+n,i)}function x(e,n,i){"removeEventListener"in window?e.removeEventListener(n,i,!1):"detachEvent"in window&&e.detachEvent("on"+n,i)}function o(e){return b+"["+(i="Host page: "+(n=e),window.top!==window.self&&(i=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+n:"Nested host page: "+n),i)+"]";var n,i}function t(e){return k[e]?k[e].log:l}function M(e,n){a("log",e,n,t(e))}function z(e,n){a("info",e,n,t(e))}function R(e,n){a("warn",e,n,!0)}function a(e,n,i,t){!0===t&&"object"===_typeof(window.console)&&console[e](o(n),i)}function s(n){function a(){e("Height"),e("Width"),P(function(){W(w),T(h),u("resizedCallback",w)},w,"init")}function e(e){var n=Number(k[h]["max"+e]),i=Number(k[h]["min"+e]),t=e.toLowerCase(),o=Number(w[t]);M(h,"Checking "+t+" is in range "+i+"-"+n),o
k[s]["max"+e])throw new Error("Value for min"+e+" can not be greater than max"+e)}n("Height"),n("Width"),e("maxHeight"),e("minHeight"),e("maxWidth"),e("minWidth")}(),"number"!=typeof(k[s]&&k[s].bodyMargin)&&"0"!==(k[s]&&k[s].bodyMargin)||(k[s].bodyMarginV1=k[s].bodyMargin,k[s].bodyMargin=k[s].bodyMargin+"px"),o=A(s),I(i,"load",function(){var e,n;H("iFrame.onload",o,i,d,!0),e=k[s]&&k[s].firstRun,n=k[s]&&k[s].heightCalculationMethod in f,!e&&n&&N({iframe:i,height:0,width:0,type:"init"})}),H("init",o,i,d,!0),Function.prototype.bind&&k[s]&&(k[s].iframe.iFrameResizer={close:E.bind(null,k[s].iframe),removeListeners:m.bind(null,k[s].iframe),resize:H.bind(null,"Window resize","resize",k[s].iframe),moveToAnchor:function(e){H("Move to anchor","moveToAnchor:"+e,k[s].iframe,s)},sendMessage:function(e){H("Send Message","message:"+(e=JSON.stringify(e)),k[s].iframe,s)}}))}function w(e,n){null===i&&(i=setTimeout(function(){i=null,e()},n))}function h(e){M("window","Trigger event: "+e),w(function(){j("Window "+e,"resize")},16)}function L(){"hidden"!==document.visibilityState&&(M("document","Trigger event: Visiblity change"),w(function(){j("Tab Visable","resize")},16))}function j(e,n){for(var i in k)k[t=i]&&"parent"===k[t].resizeFrom&&k[t].autoResize&&!k[t].firstRun&&H(e,n,document.getElementById(i),i);var t}function q(){function t(e,n){n&&(!function(){if(!n.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==n.tagName.toUpperCase())throw new TypeError("Expected
tag, found <"+n.tagName+">")}(),g(n,e),o.push(n))}var o;return function(){var e,n=["moz","webkit","o","ms"];for(e=0;e