芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/public_html/wp-content/plugins/elementor/assets/js/media-hints.min.js
/*! elementor - v3.25.0 - 24-11-2024 */ (()=>{var t={93231:(t,e,n)=>{var i=n(74040);t.exports=function _defineProperty(t,e,n){return(e=i(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports},73203:t=>{t.exports=function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},56027:(t,e,n)=>{var i=n(7501).default;t.exports=function toPrimitive(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},74040:(t,e,n)=>{var i=n(7501).default,o=n(56027);t.exports=function toPropertyKey(t){var e=o(t,"string");return"symbol"==i(e)?e:String(e)},t.exports.__esModule=!0,t.exports.default=t.exports},7501:t=>{function _typeof(e){return t.exports=_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,_typeof(e)}t.exports=_typeof,t.exports.__esModule=!0,t.exports.default=t.exports}},e={};function __webpack_require__(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,__webpack_require__),o.exports}(()=>{"use strict";var t,e,n,i,o,r=__webpack_require__(73203)(__webpack_require__(93231));function ownKeys(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function _objectSpread(t){for(var e=1;e
\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t
<%= content %>
\n\t\t\t\t
\n\t\t\t\t<% if ( typeof(button_text) !== "undefined" ) { %>\n\t\t\t\t\t
\n\t\t\t\t\t\t<%= button_text %>\n\t\t\t\t\t
\n\t\t\t\t<% } %>\n\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t
<%= dismiss %>
\n\t\t\t
\n\t\t
\n\t
',template:function template(t){var e=wp.media.template("attachment-details")(t),n=document.createElement("div");if(n.innerHTML=e,!this.shouldDisplayHint(t))return n.innerHTML;var i=document.createElement("div");return i.classList.add("e-hint"),i.innerHTML=_.template(this._tmpl)(elementorAdminHints.mediaHint),n.querySelector(".attachment-info").appendChild(i),n.innerHTML},events:_objectSpread(_objectSpread({},wp.media.view.Attachment.Details.prototype.events),{},{"click .elementor-control-notice-dismiss":"dismiss","click .e-hint__container a":"onHintAnchorClick","click .e-hint__container button.e-btn-1":"onHintAction"}),shouldDisplayHint:function shouldDisplayHint(t){var e;return!(!elementorAdminHints||null===(e=elementorAdminHints)||void 0===e||!e.mediaHint)&&void 0===window.elementorHints&&"image"===t.type&&(!!elementorAdminHints.mediaHint.display||this.imageNotOptimized(t))},imageNotOptimized:function imageNotOptimized(t){var e={height:1080,width:1920,filesizeInBytes:1e5};return Object.keys(e).some((function(n){var i=t[n]||!1;return i&&i>e[n]}))},onHintAction:function onHintAction(t){t.preventDefault();var e=t.target.closest(".action-handler").dataset.settings,n=atob(e),i=JSON.parse(n).action_url,o=void 0===i?null:i;o&&window.open(o,"_blank"),this.dismiss(t)},onHintAnchorClick:function onHintAnchorClick(t){this.dismiss(t)},dismiss:function dismiss(t){elementorCommon.ajax.addRequest("dismissed_editor_notices",{data:{dismissId:t.target.closest(".e-hint__container").dataset.event}}),this.hideHint(t)},hideHint:function hideHint(t){t.target.closest(".e-hint__container").remove(),window.elementorHints={}}}))})()})();