Submit
Path:
~
/
home
/
getwphos
/
public_html
/
almajd
/
wp-content
/
plugins
/
elementor
/
assets
/
js
/
File Content:
media-hints.js
/*! elementor - v3.31.0 - 27-08-2025 */ /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "../node_modules/@babel/runtime/helpers/defineProperty.js": /*!****************************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/defineProperty.js ***! \****************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var toPropertyKey = __webpack_require__(/*! ./toPropertyKey.js */ "../node_modules/@babel/runtime/helpers/toPropertyKey.js"); function _defineProperty(e, r, t) { return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; } module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js": /*!***********************************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/interopRequireDefault.js ***! \***********************************************************************/ /***/ ((module) => { function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; } module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/toPrimitive.js": /*!*************************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/toPrimitive.js ***! \*************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); function toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/toPropertyKey.js": /*!***************************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/toPropertyKey.js ***! \***************************************************************/ /***/ ((module, __unused_webpack_exports, __webpack_require__) => { var _typeof = (__webpack_require__(/*! ./typeof.js */ "../node_modules/@babel/runtime/helpers/typeof.js")["default"]); var toPrimitive = __webpack_require__(/*! ./toPrimitive.js */ "../node_modules/@babel/runtime/helpers/toPrimitive.js"); function toPropertyKey(t) { var i = toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; } module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }), /***/ "../node_modules/@babel/runtime/helpers/typeof.js": /*!********************************************************!*\ !*** ../node_modules/@babel/runtime/helpers/typeof.js ***! \********************************************************/ /***/ ((module) => { function _typeof(o) { "@babel/helpers - typeof"; return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o); } module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports; /***/ }) /******/ }); /************************************************************************/ /******/ // The module cache /******/ var __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ var cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /************************************************************************/ // This entry needs to be wrapped in an IIFE because it needs to be in strict mode. (() => { "use strict"; /*!*********************************************!*\ !*** ../assets/dev/js/admin/hints/media.js ***! \*********************************************/ var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ "../node_modules/@babel/runtime/helpers/interopRequireDefault.js"); var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ "../node_modules/@babel/runtime/helpers/defineProperty.js")); function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } (function (_elementorAdminHints, _wp) { if (!((_elementorAdminHints = elementorAdminHints) !== null && _elementorAdminHints !== void 0 && _elementorAdminHints.mediaHint)) { return; } if (!((_wp = wp) !== null && _wp !== void 0 && (_wp = _wp.media) !== null && _wp !== void 0 && (_wp = _wp.view) !== null && _wp !== void 0 && (_wp = _wp.Attachment) !== null && _wp !== void 0 && _wp.Details)) { return; } wp.media.view.Attachment.Details = wp.media.view.Attachment.Details.extend({ _tmpl: "<div class=\"e-hint__container\" style=\"clear:both\" data-event=\"<%= dismissible %>\">\n\t\t<div class=\"elementor-control-notice elementor-control-notice-type-<%= type %>\" data-display=\"<%= display %>\">\n\t\t\t<div class=\"elementor-control-notice-icon\">\n\t\t\t\t<svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n\t\t\t\t\t<path d=\"M2.25 9H3M9 2.25V3M15 9H15.75M4.2 4.2L4.725 4.725M13.8 4.2L13.275 4.725M7.27496 12.75H10.725M6.75 12C6.12035 11.5278 5.65525 10.8694 5.42057 10.1181C5.1859 9.36687 5.19355 8.56082 5.44244 7.81415C5.69133 7.06748 6.16884 6.41804 6.80734 5.95784C7.44583 5.49764 8.21294 5.25 9 5.25C9.78706 5.25 10.5542 5.49764 11.1927 5.95784C11.8312 6.41804 12.3087 7.06748 12.5576 7.81415C12.8065 8.56082 12.8141 9.36687 12.5794 10.1181C12.3448 10.8694 11.8796 11.5278 11.25 12C10.9572 12.2899 10.7367 12.6446 10.6064 13.0355C10.4761 13.4264 10.4397 13.8424 10.5 14.25C10.5 14.6478 10.342 15.0294 10.0607 15.3107C9.77936 15.592 9.39782 15.75 9 15.75C8.60218 15.75 8.22064 15.592 7.93934 15.3107C7.65804 15.0294 7.5 14.6478 7.5 14.25C7.56034 13.8424 7.52389 13.4264 7.3936 13.0355C7.2633 12.6446 7.04282 12.2899 6.75 12Z\" stroke=\"currentColor\" stroke-width=\"1.2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n\t\t\t\t</svg>\n\t\t\t</div>\n\t\t\t<div class=\"elementor-control-notice-main action-handler\" data-event=\"<%= button_event %>\" data-settings=\"<%= button_data %>\">\n\t\t\t\t<div class=\"elementor-control-notice-main-content\"><%= content %></div>\n\t\t\t\t<div class=\"elementor-control-notice-main-actions\">\n\t\t\t\t<% if ( typeof(button_text) !== \"undefined\" ) { %>\n\t\t\t\t\t<button class=\"e-btn e-<%= type %> e-btn-1\">\n\t\t\t\t\t\t<%= button_text %>\n\t\t\t\t\t</button>\n\t\t\t\t<% } %>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<button class=\"elementor-control-notice-dismiss\" data-event=\"<%= dismissible %>\" aria-label=\"<%= dismiss %>\">\n\t\t\t\t<i class=\"eicon eicon-close\" aria-hidden=\"true\"></i>\n\t\t\t</button>\n\t\t</div>\n\t</div>", template: function template(view) { // Get the template and parse it var html = wp.media.template('attachment-details')(view); // The template to extend var dom = document.createElement('div'); dom.innerHTML = html; if (!this.shouldDisplayHint(view)) { return dom.innerHTML; } var hint = document.createElement('div'); // Create a new element hint.classList.add('e-hint'); // Add a class to the element for styling hint.innerHTML = _.template(this._tmpl)(elementorAdminHints.mediaHint); // Add the content to the new element // Insert the new element at the correct spot var details = dom.querySelector('.attachment-info'); details.appendChild(hint); // Add new element at the correct spot return dom.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(view) { var _elementorAdminHints2; if (!elementorAdminHints || !((_elementorAdminHints2 = elementorAdminHints) !== null && _elementorAdminHints2 !== void 0 && _elementorAdminHints2.mediaHint)) { return false; } if (window.elementorHints !== undefined) { return false; } if (view.type !== 'image') { return false; } if (elementorAdminHints.mediaHint.display) { return true; } return this.imageNotOptimized(view); }, imageNotOptimized: function imageNotOptimized(attachment) { var checks = { height: 1080, width: 1920, filesizeInBytes: 100000 }; return Object.keys(checks).some(function (key) { var value = attachment[key] || false; return value && value > checks[key]; }); }, onHintAction: function onHintAction(event) { event.preventDefault(); var b64Settings = event.target.closest('.action-handler').dataset.settings; var settings = atob(b64Settings); var _JSON$parse = JSON.parse(settings), _JSON$parse$action_ur = _JSON$parse.action_url, actionURL = _JSON$parse$action_ur === void 0 ? null : _JSON$parse$action_ur; if (actionURL) { window.open(actionURL, '_blank'); } this.dismiss(event); }, onHintAnchorClick: function onHintAnchorClick(event) { this.dismiss(event); }, dismiss: function dismiss(event) { elementorCommon.ajax.addRequest('dismissed_editor_notices', { data: { dismissId: event.target.closest('.e-hint__container').dataset.event } }); this.hideHint(event); }, hideHint: function hideHint(event) { event.target.closest('.e-hint__container').remove(); window.elementorHints = {}; } }); })(); })(); /******/ })() ; //# sourceMappingURL=media-hints.js.map
Submit
FILE
FOLDER
Name
Size
Permission
Action
packages
---
0755
0d1a75a41cae2a76432a.bundle.js
15095 bytes
0644
152f977e0c1304a3b0db.bundle.js
25561 bytes
0644
4102e11512e21a92ba35.bundle.js
44941 bytes
0644
471f5dab6676072462a8.bundle.js
63415 bytes
0644
8277989eebcfba278cb0.bundle.min.js
36863 bytes
0644
9f88a0d716a691c2448a.bundle.min.js
12958 bytes
0644
a802b9aa6f4b87a294e5.bundle.js
114146 bytes
0644
accordion.28788e18d1d35c23f450.bundle.min.js
3791 bytes
0644
accordion.7b5b5744bdd225280eca.bundle.js
8086 bytes
0644
adbbe9b5d6b520e98e4c.bundle.js
14519 bytes
0644
admin-feedback.js
4612 bytes
0644
admin-feedback.min.js
1953 bytes
0644
admin-notifications.js
76124 bytes
0644
admin-notifications.min.js
14618 bytes
0644
admin-top-bar.min.js
11894 bytes
0644
admin.js
119649 bytes
0644
admin.min.js
54067 bytes
0644
ai-admin.js
1981549 bytes
0644
ai-admin.min.js
609438 bytes
0644
ai-admin.min.js.LICENSE.txt
525 bytes
0644
ai-gutenberg.min.js
638633 bytes
0644
ai-layout.js
501863 bytes
0644
ai-media-library.js
2098483 bytes
0644
ai-media-library.min.js
633271 bytes
0644
ai.js
2152800 bytes
0644
ai.min.js
655427 bytes
0644
alert.42cc1d522ef5c60bf874.bundle.min.js
658 bytes
0644
alert.b696182ec6f18a35bc69.bundle.js
1445 bytes
0644
announcements-app.js
103755 bytes
0644
announcements-app.min.js
26048 bytes
0644
announcements-app.min.js.LICENSE.txt
163 bytes
0644
app-loader.js
261264 bytes
0644
app-loader.min.js
90270 bytes
0644
app-packages.min.js
120125 bytes
0644
app.js
1130421 bytes
0644
app.min.js
394391 bytes
0644
atomic-widgets-editor.js
94747 bytes
0644
b96d70044d0d67c2df19.bundle.min.js
23455 bytes
0644
bb8b6cce5ae5b36077e0.bundle.js
92039 bytes
0644
beta-tester.js
21458 bytes
0644
beta-tester.min.js
8862 bytes
0644
checklist.js
163099 bytes
0644
cloud-library-screenshot.js
37836 bytes
0644
common-modules.min.js
103803 bytes
0644
common.js
411772 bytes
0644
common.min.js
151812 bytes
0644
contact-buttons.c21325756a91b795f8e4.bundle.js
14886 bytes
0644
contact-buttons.d999c7d620ad8d4132c6.bundle.min.js
8707 bytes
0644
container-converter.js
52011 bytes
0644
container-converter.min.js
18320 bytes
0644
container-editor-handlers.e7ee82232887ec8b73b7.bundle.min.js
9639 bytes
0644
counter.f359dee9199f5aad06c6.bundle.js
1933 bytes
0644
daedc6797eaad5c82711.bundle.min.js
4100 bytes
0644
dev-tools.js
23856 bytes
0644
e-home-screen.js
108705 bytes
0644
e-home-screen.min.js
26848 bytes
0644
e-react-promotions.js
124573 bytes
0644
e-react-promotions.min.js
39680 bytes
0644
e1cb4d726bb59646c677.bundle.min.js
5432 bytes
0644
e5d6feb1b1d6cf52126f.bundle.js
11262 bytes
0644
editor-document.js
71618 bytes
0644
editor-document.min.js
25881 bytes
0644
editor-environment-v2.js
640 bytes
0644
editor-environment-v2.min.js
246 bytes
0644
editor-loader-v1.js
372 bytes
0644
editor-loader-v1.min.js
88 bytes
0644
editor-loader-v2.js
861 bytes
0644
editor-loader-v2.min.js
440 bytes
0644
editor-modules.js
120535 bytes
0644
editor-modules.min.js
49389 bytes
0644
editor-modules.min.js.LICENSE.txt
163 bytes
0644
editor-notifications.js
86595 bytes
0644
editor-notifications.min.js
18400 bytes
0644
editor-v4-opt-in-alphachip.js
59852 bytes
0644
editor-v4-opt-in-alphachip.min.js
8550 bytes
0644
editor-v4-opt-in.js
171195 bytes
0644
editor-v4-opt-in.min.js
53556 bytes
0644
editor-v4-opt-in.min.js.LICENSE.txt
352 bytes
0644
editor-v4-welcome-opt-in.js
60055 bytes
0644
editor-v4-welcome-opt-in.min.js
9075 bytes
0644
editor.js
3812589 bytes
0644
editor.min.js
1588923 bytes
0644
editor.min.js.LICENSE.txt
352 bytes
0644
ef2100ac3eda1a957819.bundle.min.js
5090 bytes
0644
element-manager-admin.js
171804 bytes
0644
element-manager-admin.min.js
46330 bytes
0644
element-manager-admin.min.js.LICENSE.txt
324 bytes
0644
elementor-admin-bar.js
18643 bytes
0644
elementor-admin-bar.min.js
7353 bytes
0644
floating-bars.7efeeb8b098e55999ff1.bundle.js
15148 bytes
0644
floating-bars.a3070326b4333354cbd7.bundle.min.js
7931 bytes
0644
floating-elements-modal.js
34512 bytes
0644
floating-elements-modal.min.js
14518 bytes
0644
frontend-modules.js
187776 bytes
0644
frontend-modules.min.js
49432 bytes
0644
frontend.js
101426 bytes
0644
frontend.min.js
32879 bytes
0644
gutenberg.js
7653 bytes
0644
image-carousel.1a3e0c6222562304eed5.bundle.js
945 bytes
0644
image-carousel.6167d20b95b33386757b.bundle.min.js
448 bytes
0644
import-export-admin.js
15085 bytes
0644
import-export-admin.min.js
6321 bytes
0644
kit-elements-defaults-editor.js
87216 bytes
0644
kit-elements-defaults-editor.min.js
32766 bytes
0644
kit-elements-defaults-editor.min.js.LICENSE.txt
163 bytes
0644
kit-library.2b8b21c9592ab21984d3.bundle.min.js
110641 bytes
0644
kit-library.8357091f2047eb2634d3.bundle.js
279798 bytes
0644
lightbox.408665be3d65f6ab17f0.bundle.min.js
28964 bytes
0644
media-hints.js
11982 bytes
0644
nested-accordion.a0f28ea648b29da812a1.bundle.js
19215 bytes
0644
nested-accordion.a29d85d5aa492aef7142.bundle.min.js
9827 bytes
0644
nested-accordion.js
29736 bytes
0644
nested-accordion.min.js
10927 bytes
0644
nested-elements.js
20735 bytes
0644
nested-elements.min.js
6450 bytes
0644
nested-tabs.213892f3e7a826d32481.bundle.js
21299 bytes
0644
nested-tabs.a542ad943214eb6c3ed8.bundle.min.js
11429 bytes
0644
nested-tabs.js
29696 bytes
0644
nested-tabs.min.js
10922 bytes
0644
nested-title-keyboard-handler.967db65f6ba460c1f2e9.bundle.js
8062 bytes
0644
nested-title-keyboard-handler.fc9d01c2cd0ef46d20fd.bundle.min.js
4358 bytes
0644
new-template.min.js
6805 bytes
0644
notes.min.js
9110 bytes
0644
progress.0ea083b809812c0e3aa1.bundle.min.js
829 bytes
0644
progress.5d8492a023e85c6cc0e0.bundle.js
1980 bytes
0644
section-editor-handlers.c420276353ec5aba196e.bundle.min.js
1788 bytes
0644
section-frontend-handlers.d0665d28b9f0b188fe4f.bundle.js
1047 bytes
0644
section-frontend-handlers.d85ab872da118940910d.bundle.min.js
489 bytes
0644
shared-editor-handlers.22c8f376e58bdba40f71.bundle.js
2608 bytes
0644
shared-editor-handlers.a182e3f9ce3b8b1e4b74.bundle.min.js
1389 bytes
0644
shared-frontend-handlers.4c8abccc3e268b0767b2.bundle.min.js
8525 bytes
0644
shared-frontend-handlers.a82dc0e60728c9cb9860.bundle.js
16268 bytes
0644
styleguide-app-initiator.js
37531 bytes
0644
styleguide-app.04340244193733d78622.bundle.min.js
26257 bytes
0644
styleguide-app.77392704cadf8bc1ca69.bundle.js
67876 bytes
0644
styleguide.js
99000 bytes
0644
tabs.1a165c2a54522842b0f1.bundle.min.js
3753 bytes
0644
tabs.e808857358793ac13db5.bundle.js
8013 bytes
0644
text-editor.abc8f59c62f2820dc25a.bundle.min.js
1392 bytes
0644
text-editor.bd4eccbd156d0b1fc3cf.bundle.js
3105 bytes
0644
text-path.ebcd5a983a56266562f3.bundle.min.js
26463 bytes
0644
toggle.375da8e2f6fed12731c2.bundle.js
8117 bytes
0644
toggle.f7afe5f9f0f912b34b22.bundle.min.js
3821 bytes
0644
video.87291d1f5076f8939c18.bundle.min.js
3271 bytes
0644
web-cli.js
496119 bytes
0644
web-cli.min.js
170468 bytes
0644
wp-audio.c91cab3152c3f241f266.bundle.js
797 bytes
0644
wp-audio.c9624cb6e5dc9de86abd.bundle.min.js
366 bytes
0644
N4ST4R_ID | Naxtarrr