芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/public_html/wp-content/plugins/elementor-pro/assets/js/preview.min.js
/*! elementor-pro - v3.21.0 - 20-05-2024 */ (()=>{"use strict";var e={5030:(e,t,r)=>{var n=r(8003).__;Object.defineProperty(t,"__esModule",{value:!0}),t.SAVE_CONTEXT=t.EDIT_CONTEXT=void 0,t.createElement=createElement,t.default=function addDocumentHandle({element:e,id:t,title:r=n("Template","elementor-pro")},u=a,s=null,l=null){if(a===u){if(!t||!e)throw Error("`id` and `element` are required.");if(function isCurrentlyEditing(e){return e.classList.contains(i)}(e)||function hasHandle(e){return!!e.querySelector(`:scope > .${o}`)}(e))return}const p=function createHandleElement({title:e,onClick:t},r,i=null){const u=["header","footer"].includes(i?.dataset.elementorType)?"%s":n("Edit %s","elementor-pro"),s=createElement({tag:"div",classNames:[`${o}__inner`],children:[createElement({tag:"i",classNames:[getHandleIcon(r)]}),createElement({tag:"div",classNames:[`${a===r?o:c}__title`],children:[document.createTextNode(a===r?u.replace("%s",e):n("Save %s","elementor-pro").replace("%s",e))]})]}),l=[o];a!==r&&l.push(c);const p=createElement({tag:"div",classNames:l,children:[s]});return p.addEventListener("click",t),p}({title:r,onClick:()=>async function onDocumentClick(e,t,r=null,n=null){a===t?(window.top.$e.internal("panel/state-loading"),await window.top.$e.run("editor/documents/switch",{id:parseInt(e),onClose:r,selector:n}),window.top.$e.internal("panel/state-ready")):(elementorCommon.api.internal("panel/state-loading"),elementorCommon.api.run("editor/documents/switch",{id:elementor.config.initial_document.id,mode:"save",shouldScroll:!1,selector:n}).finally((()=>elementorCommon.api.internal("panel/state-ready"))))}(t,u,s,l)},u,e);e.prepend(p),a===u&&(e.dataset.editableElementorDocument=t)},r(3517);const o="elementor-document-handle",i="elementor-edit-mode",a=t.EDIT_CONTEXT="edit",c="elementor-document-save-back-handle",u=t.SAVE_CONTEXT="save";function getHandleIcon(e){let t="eicon-edit";return u===e&&(t=elementorFrontend.config.is_rtl?"eicon-arrow-right":"eicon-arrow-left"),t}function createElement({tag:e,classNames:t=[],children:r=[]}){const n=document.createElement(e);return n.classList.add(...t),r.forEach((e=>n.appendChild(e))),n}},8003:e=>{e.exports=wp.i18n},1575:(e,t,r)=>{var n=r(5893),o=r(5545),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not a function")}},9972:(e,t,r)=>{var n=r(5287),o=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not an object")}},2971:(e,t,r)=>{var n=r(9405),o=r(9961),i=r(9969),createMethod=function(e){return function(t,r,a){var c,u=n(t),s=i(u),l=o(a,s);if(e&&r!=r){for(;s>l;)if((c=u[l++])!=c)return!0}else for(;s>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},8576:(e,t,r)=>{var n=r(3877),o=r(5289),i=TypeError,a=Object.getOwnPropertyDescriptor,c=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=c?function(e,t){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},3048:(e,t,r)=>{var n=r(6406),o=n({}.toString),i=n("".slice);e.exports=function(e){return i(o(e),8,-1)}},779:(e,t,r)=>{var n=r(4130),o=r(6627),i=r(10),a=r(7144);e.exports=function(e,t,r){for(var c=o(t),u=a.f,s=i.f,l=0;l
{var n=r(3877),o=r(7144),i=r(9637);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},9637:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7205:(e,t,r)=>{var n=r(5893),o=r(7144),i=r(3911),a=r(3630);e.exports=function(e,t,r,c){c||(c={});var u=c.enumerable,s=void 0!==c.name?c.name:t;if(n(r)&&i(r,s,c),c.global)u?e[t]=r:a(t,r);else{try{c.unsafe?e[t]&&(u=!0):delete e[t]}catch(e){}u?e[t]=r:o.f(e,t,{value:r,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return e}},3630:(e,t,r)=>{var n=r(7802),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},3877:(e,t,r)=>{var n=r(5306);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},811:e=>{var t="object"==typeof document&&document.all,r=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:r}},9800:(e,t,r)=>{var n=r(7802),o=r(5287),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},9060:e=>{var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},2626:e=>{e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7245:(e,t,r)=>{var n,o,i=r(7802),a=r(2626),c=i.process,u=i.Deno,s=c&&c.versions||u&&u.version,l=s&&s.v8;l&&(o=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),e.exports=o},4286:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2390:(e,t,r)=>{var n=r(7802),o=r(10).f,i=r(9251),a=r(7205),c=r(3630),u=r(779),s=r(5031);e.exports=function(e,t){var r,l,p,f,d,v=e.target,m=e.global,y=e.stat;if(r=m?n:y?n[v]||c(v,{}):(n[v]||{}).prototype)for(l in t){if(f=t[l],p=e.dontCallGetSet?(d=o(r,l))&&d.value:r[l],!s(m?l:v+(y?".":"#")+l,e.forced)&&void 0!==p){if(typeof f==typeof p)continue;u(f,p)}(e.sham||p&&p.sham)&&i(f,"sham",!0),a(r,l,f,e)}}},5306:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},7219:(e,t,r)=>{var n=r(5306);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},1550:(e,t,r)=>{var n=r(7219),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},9656:(e,t,r)=>{var n=r(3877),o=r(4130),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,c=o(i,"name"),u=c&&"something"===function something(){}.name,s=c&&(!n||n&&a(i,"name").configurable);e.exports={EXISTS:c,PROPER:u,CONFIGURABLE:s}},6406:(e,t,r)=>{var n=r(7219),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);e.exports=n?a:function(e){return function(){return i.apply(e,arguments)}}},1570:(e,t,r)=>{var n=r(7802),o=r(5893);e.exports=function(e,t){return arguments.length<2?(r=n[e],o(r)?r:void 0):n[e]&&n[e][t];var r}},6628:(e,t,r)=>{var n=r(1575),o=r(7707);e.exports=function(e,t){var r=e[t];return o(r)?void 0:n(r)}},7802:function(e,t,r){var check=function(e){return e&&e.Math===Math&&e};e.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof r.g&&r.g)||function(){return this}()||this||Function("return this")()},4130:(e,t,r)=>{var n=r(6406),o=r(5864),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function hasOwn(e,t){return i(o(e),t)}},3421:e=>{e.exports={}},3075:(e,t,r)=>{var n=r(3877),o=r(5306),i=r(9800);e.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},5366:(e,t,r)=>{var n=r(6406),o=r(5306),i=r(3048),a=Object,c=n("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?c(e,""):a(e)}:a},5088:(e,t,r)=>{var n=r(6406),o=r(5893),i=r(4830),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},9930:(e,t,r)=>{var n,o,i,a=r(5585),c=r(7802),u=r(5287),s=r(9251),l=r(4130),p=r(4830),f=r(139),d=r(3421),v="Object already initialized",m=c.TypeError,y=c.WeakMap;if(a||p.state){var h=p.state||(p.state=new y);h.get=h.get,h.has=h.has,h.set=h.set,n=function(e,t){if(h.has(e))throw new m(v);return t.facade=e,h.set(e,t),t},o=function(e){return h.get(e)||{}},i=function(e){return h.has(e)}}else{var g=f("state");d[g]=!0,n=function(e,t){if(l(e,g))throw new m(v);return t.facade=e,s(e,g,t),t},o=function(e){return l(e,g)?e[g]:{}},i=function(e){return l(e,g)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!u(t)||(r=o(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return r}}}},5289:(e,t,r)=>{var n=r(3048);e.exports=Array.isArray||function isArray(e){return"Array"===n(e)}},5893:(e,t,r)=>{var n=r(811),o=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},5031:(e,t,r)=>{var n=r(5306),o=r(5893),i=/#|\.prototype\./,isForced=function(e,t){var r=c[a(e)];return r===s||r!==u&&(o(t)?n(t):!!t)},a=isForced.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=isForced.data={},u=isForced.NATIVE="N",s=isForced.POLYFILL="P";e.exports=isForced},7707:e=>{e.exports=function(e){return null==e}},5287:(e,t,r)=>{var n=r(5893),o=r(811),i=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===i}:function(e){return"object"==typeof e?null!==e:n(e)}},99:e=>{e.exports=!1},103:(e,t,r)=>{var n=r(1570),o=r(5893),i=r(2075),a=r(345),c=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&i(t.prototype,c(e))}},9969:(e,t,r)=>{var n=r(9099);e.exports=function(e){return n(e.length)}},3911:(e,t,r)=>{var n=r(6406),o=r(5306),i=r(5893),a=r(4130),c=r(3877),u=r(9656).CONFIGURABLE,s=r(5088),l=r(9930),p=l.enforce,f=l.get,d=String,v=Object.defineProperty,m=n("".slice),y=n("".replace),h=n([].join),g=c&&!o((function(){return 8!==v((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=e.exports=function(e,t,r){"Symbol("===m(d(t),0,7)&&(t="["+y(d(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!a(e,"name")||u&&e.name!==t)&&(c?v(e,"name",{value:t,configurable:!0}):e.name=t),g&&r&&a(r,"arity")&&e.length!==r.arity&&v(e,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?c&&v(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=p(e);return a(n,"source")||(n.source=h(b,"string"==typeof t?t:"")),e};Function.prototype.toString=w((function toString(){return i(this)&&f(this).source||s(this)}),"toString")},1402:e=>{var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function trunc(e){var n=+e;return(n>0?r:t)(n)}},7144:(e,t,r)=>{var n=r(3877),o=r(3075),i=r(7475),a=r(9972),c=r(3662),u=TypeError,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",f="configurable",d="writable";t.f=n?i?function defineProperty(e,t,r){if(a(e),t=c(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&d in r&&!r[d]){var n=l(e,t);n&&n[d]&&(e[t]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:p in r?r[p]:n[p],writable:!1})}return s(e,t,r)}:s:function defineProperty(e,t,r){if(a(e),t=c(t),a(r),o)try{return s(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},10:(e,t,r)=>{var n=r(3877),o=r(1550),i=r(1940),a=r(9637),c=r(9405),u=r(3662),s=r(4130),l=r(3075),p=Object.getOwnPropertyDescriptor;t.f=n?p:function getOwnPropertyDescriptor(e,t){if(e=c(e),t=u(t),l)try{return p(e,t)}catch(e){}if(s(e,t))return a(!o(i.f,e,t),e[t])}},7397:(e,t,r)=>{var n=r(5079),o=r(4286).concat("length","prototype");t.f=Object.getOwnPropertyNames||function getOwnPropertyNames(e){return n(e,o)}},6855:(e,t)=>{t.f=Object.getOwnPropertySymbols},2075:(e,t,r)=>{var n=r(6406);e.exports=n({}.isPrototypeOf)},5079:(e,t,r)=>{var n=r(6406),o=r(4130),i=r(9405),a=r(2971).indexOf,c=r(3421),u=n([].push);e.exports=function(e,t){var r,n=i(e),s=0,l=[];for(r in n)!o(c,r)&&o(n,r)&&u(l,r);for(;t.length>s;)o(n,r=t[s++])&&(~a(l,r)||u(l,r));return l}},1940:(e,t)=>{var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function propertyIsEnumerable(e){var t=n(this,e);return!!t&&t.enumerable}:r},1253:(e,t,r)=>{var n=r(1550),o=r(5893),i=r(5287),a=TypeError;e.exports=function(e,t){var r,c;if("string"===t&&o(r=e.toString)&&!i(c=n(r,e)))return c;if(o(r=e.valueOf)&&!i(c=n(r,e)))return c;if("string"!==t&&o(r=e.toString)&&!i(c=n(r,e)))return c;throw new a("Can't convert object to primitive value")}},6627:(e,t,r)=>{var n=r(1570),o=r(6406),i=r(7397),a=r(6855),c=r(9972),u=o([].concat);e.exports=n("Reflect","ownKeys")||function ownKeys(e){var t=i.f(c(e)),r=a.f;return r?u(t,r(e)):t}},6762:(e,t,r)=>{var n=r(7707),o=TypeError;e.exports=function(e){if(n(e))throw new o("Can't call method on "+e);return e}},139:(e,t,r)=>{var n=r(9231),o=r(6350),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},4830:(e,t,r)=>{var n=r(7802),o=r(3630),i="__core-js_shared__",a=n[i]||o(i,{});e.exports=a},9231:(e,t,r)=>{var n=r(99),o=r(4830);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.2",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.2/LICENSE",source:"https://github.com/zloirock/core-js"})},4053:(e,t,r)=>{var n=r(7245),o=r(5306),i=r(7802).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},9961:(e,t,r)=>{var n=r(5930),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},9405:(e,t,r)=>{var n=r(5366),o=r(6762);e.exports=function(e){return n(o(e))}},5930:(e,t,r)=>{var n=r(1402);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},9099:(e,t,r)=>{var n=r(5930),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},5864:(e,t,r)=>{var n=r(6762),o=Object;e.exports=function(e){return o(n(e))}},6090:(e,t,r)=>{var n=r(1550),o=r(5287),i=r(103),a=r(6628),c=r(1253),u=r(7936),s=TypeError,l=u("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var r,u=a(e,l);if(u){if(void 0===t&&(t="default"),r=n(u,e,t),!o(r)||i(r))return r;throw new s("Can't convert object to primitive value")}return void 0===t&&(t="number"),c(e,t)}},3662:(e,t,r)=>{var n=r(6090),o=r(103);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},5545:e=>{var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},6350:(e,t,r)=>{var n=r(6406),o=0,i=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},345:(e,t,r)=>{var n=r(4053);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7475:(e,t,r)=>{var n=r(3877),o=r(5306);e.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5585:(e,t,r)=>{var n=r(7802),o=r(5893),i=n.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},7936:(e,t,r)=>{var n=r(7802),o=r(9231),i=r(4130),a=r(6350),c=r(4053),u=r(345),s=n.Symbol,l=o("wks"),p=u?s.for||s:s&&s.withoutSetter||a;e.exports=function(e){return i(l,e)||(l[e]=c&&i(s,e)?s[e]:p("Symbol."+e)),l[e]}},3517:(e,t,r)=>{var n=r(2390),o=r(5864),i=r(9969),a=r(8576),c=r(9060);n({target:"Array",proto:!0,arity:1,forced:r(5306)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function push(e){var t=o(this),r=i(t),n=arguments.length;c(r+n);for(var u=0;u
{var e=function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=_getRequireWildcardCache(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(__webpack_require__(5030));function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(_getRequireWildcardCache=function(e){return e?r:t})(e)}class Preview extends elementorModules.ViewModule{constructor(){super(),elementorFrontend.on("components:init",(()=>this.onFrontendComponentsInit()))}addDocumentClass(){const e=elementor.documents.getCurrent();e&&e.$element&&e.$element.parents("[data-elementor-id]").addClass("e-embedded-document-active")}removeDocumentClass(){Object.values(elementorFrontend.documentsManager.documents).forEach((e=>{e.$element.get(0).classList.remove("e-embedded-document-active")}))}createDocumentsHandles(){Object.values(elementorFrontend.documentsManager.documents).forEach((t=>{const r=t.$element.get(0),{elementorTitle:n,customEditHandle:o}=r.dataset;if(o)return;const i=t.getSettings("id");(0,e.default)({element:r,title:n,id:i},e.EDIT_CONTEXT,null,".elementor-"+i)}))}onFrontendComponentsInit(){this.addDocumentClass(),this.createDocumentsHandles(),elementor.on("document:loaded",(()=>{this.addDocumentClass(),this.createDocumentsHandles()})),elementor.on("document:unloaded",(()=>{this.removeDocumentClass()}))}}window.elementorProPreview=new Preview})()})();