PageSourceSearch

https://x.leptontheme.com/public-website/app/js/head.bundle.min.js

js leptontheme.com collected 2026-10-04 05:49:22 UTC 10,111 bytes, 1 lines download raw bytes

1var leptonxHead;(()=>{var e={565(e,t,n){var o,r,i=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};o=[n,t,n(809),n(505),n(238)],r=function(e,t,n,o,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),a(n,t),a(o,t),a(r,t)}.apply(t,o),void 0===r||(e.exports=r)},505(e,t,n){var o,r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r.apply(this,arguments)};o=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addDefaultSettings=t.withLocalStoragePrefix=t.withCookiePrefix=t.withEventPrefix=t.globalConfig=void 0;var n=globalThis.leptonXConfig||{};t.globalConfig=r(r({},{eventPrefix:"lpx",cookiePrefix:"lpx",localStoragePrefix:"lpx"}),n),t.withEventPrefix=function(e){return"".concat(t.globalConfig.eventPrefix,":").concat(e)},t.withCookiePrefix=function(e){return"".concat(t.globalConfig.cookiePrefix,"_").concat(e)},t.withLocalStoragePrefix=function(e){return"".concat(t.globalConfig.localStoragePrefix,":").concat(e)},t.addDefaultSettings=function(e){t.globalConfig.defaultSettings=r(r({},e),t.globalConfig.defaultSettings)}}.apply(t,[n,t]),void 0===o||(e.exports=o)},253(e,t,n){var o;o=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=t.LeptonXInit=void 0;var n=function(){function e(){this.initializers=new Map}return e.prototype.push=function(e,t){this.initializers.has(e)&&console.warn("the '".concat(e,"' key already added")),this.initializers.set(e,t)},e.prototype.run=function(){this.initializers.forEach(function(e){e&&e()})},e}();t.LeptonXInit=n,t.init=new n}.apply(t,[n,t]),void 0===o||(e.exports=o)},672(e,t,n){var o;o=function(e,t){"use strict";var n,o;Object.defineProperty(t,"__esModule",{value:!0}),t.ContainerWidth=void 0,n=t.ContainerWidth||(t.ContainerWidth={}),(o=n.Type||(n.Type={})).boxed="boxed",o.fixed="fixed",o.full="full"}.apply(t,[n,t]),void 0===o||(e.exports=o)},322(e,t,n){var o,r,i=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);
1r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};o=[n,t,n(672)],r=function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),a(n,t)}.apply(t,o),void 0===r||(e.exports=r)},887(e,t,n){var o,r;o=[n,t,n(868)],r=function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clickOutside=void 0,t.clickOutside=function(e,t,o){void 0===o&&(o=[]),n.EventHandler.onDocument("click",function(n){!e.contains(n.target)&&o.filter(Boolean).every(function(e){return!e.contains(n.target)})&&t()})}}.apply(t,o),void 0===r||(e.exports=r)},629(e,t,n){var o,r;o=[n,t,n(505)],r=function(e,t,n){"use strict";function o(e){var t=document.cookie.split(";").find(function(t){return t.trim().startsWith("".concat((0,n.withCookiePrefix)(e),"="))});return t?t.split("=")[1]:""}function r(e){return localStorage.getItem((0,n.withLocalStoragePrefix)(e))}function i(e,t,o){void 0===o&&(o=365);var r=new Date;r.setTime(r.getTime()+24*o*60*60*1e3),document.cookie="".concat((0,n.withCookiePrefix)(e),"=").concat(t,";expires=").concat(r.toUTCString(),";path=/")}function a(e,t){localStorage.setItem((0,n.withLocalStoragePrefix)(e),t)}function c(e){return o(e)||r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.getDefaultLanguage=t.readFromLocalStorageOrCookie=t.readFromCookieOrLocalStorage=t.setCookieAndLocalStorage=t.setLocalStorage=t.setCookie=t.localStorageResolver=t.cookieResolver=void 0,t.cookieResolver=o,t.localStorageResolver=r,t.setCookie=i,t.setLocalStorage=a,t.setCookieAndLocalStorage=function(e,t,n){void 0===n&&(n=365),i(e,t,n),a(e,t)},t.readFromCookieOrLocalStorage=c,t.readFromLocalStorageOrCookie=function(e){return r(e)||o(e)},t.getDefaultLanguage=function(){var e;return c("language")||(null===(e=n.globalConfig.defaultSettings)||void 0===e?void 0:e.language)||document.documentElement.lang||"en"}}.apply(t,o),void 0===r||(e.exports=r)},868(e,t,n){var o,r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r.apply(this,arguments)};o=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventHandler=void 0;var n=function(){function e(){}return e.on=function(e,t,n){e&&e.addEventListener(t,n)},e.onCustomEvent=function(e,t,n){null==e||e.addEventListener(t,function(e){e.defaultPrevented||n(e)})},e.onDocument=function(e,t){document.addEventListener(e,t)},e.onWindow=function(e,t){window.addEventListener(e,t)},e.listen=function(e,t,n){e.addEventListener(t,n)},e.dispatch=function(e,t){return e.dispatchEvent(new CustomEvent(t.type,r(r({bubbles:!0,cancelable:!0},t.eventInit),{detail:t.detail})))},e}();t.EventHandler=n}.apply(t,[n,t]),void 0===o||(e.exports=o)},815(e,t,n){var o;o=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLastElement=void 0,t.getLastElement=function(e){if(e&&0!==e.length){var t=e.length-1;return e.find(function(e,n){return n===t})}}}.apply(t,[n,t]),void 0===o||(e.exports=o)},809(e,t,n){var o,r,i=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);
1r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};o=[n,t,n(887),n(629),n(868),n(101),n(820),n(864),n(305),n(815)],r=function(e,t,n,o,r,i,c,l,u,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),a(n,t),a(o,t),a(r,t),a(i,t),a(c,t),a(l,t),a(u,t),a(s,t)}.apply(t,o),void 0===r||(e.exports=r)},101(e,t,n){var o;o=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseJson=void 0,t.parseJson=function(e,t){var n;try{n=JSON.parse(e)||t}catch(e){n=t}return n}}.apply(t,[n,t]),void 0===o||(e.exports=o)},820(e,t,n){var o,r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r.apply(this,arguments)};o=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildQueryClasses=void 0,t.buildQueryClasses=function(e){return Object.keys(e).reduce(function(t,n){var o;return r(r({}
1,t),((o={})[n]=".".concat(e[n]),o))},{})}}.apply(t,[n,t]),void 0===o||(e.exports=o)},864(e,t,n){var o;o=function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.replaceStyleWith=void 0,t.replaceStyleWith=function(e,t,n){var o=document.createElement("link");o.href=e,o.type="text/css",o.rel="stylesheet",o.id=t;var r=document.querySelector("#".concat(n));return r?r.parentNode.insertBefore(o,r):document.getElementsByTagName("head")[0].appendChild(o),o.onload=function(){r&&r.remove()},o}}.apply(t,[n,t]),void 0===o||(e.exports=o)},305(e,t,n){var o,r;o=[n,t,n(253)],r=function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lpxToggle=t.LpxToggle=void 0;var o=function(){function e(){}return e.init=function(){document.querySelectorAll(".lpx-toggle").forEach(function(e){e.addEventListener("click",function(){Array.from(e.parentElement.children).filter(function(t){return t!==e}).forEach(function(e){var t=document.querySelector("#".concat(e.dataset.lpxToggle));t&&t.classList.add("d-none")});var t=document.querySelector("#".concat(e.dataset.lpxToggle));t&&t.classList.toggle("d-none")})})},e}();t.LpxToggle=o,t.lpxToggle=new o,n.init.push("LpxToggleInit",function(){o.init()})}.apply(t,o),void 0===r||(e.exports=r)},238(e,t,n){var o,r;o=[n,t,n(322),n(809),n(505)],r=function(e,t,n,o,r){"use strict";var i;Object.defineProperty(t,"__esModule",{value:!0}),t.initAppearance=void 0;var a="system";function c(){function e(e,t){void 0===t&&(t="ltr");var n="rtl"===t?"".concat(e,".rtl"):e;return"app/css/".concat(n,".css")}function t(e,t){return e&&"lpx-theme-".concat(t,"-").concat(e)}function n(e,t,n){var o=document.createElement("link");o.href=e,o.type="text/css",o.rel="stylesheet",o.id=t;var r=document.querySelector("#".concat(n));return document.getElementsByTagName("head")[0].appendChild(o),n&&(null==r||r.remove()),o}function i(o,r,i,a,c){void 0===c&&(c="ltr");var l=t(r,o),u=t(i,o);n(e(a+r,c),l,u)}var c="appearance",l=(0,o.readFromCookieOrLocalStorage)(c)||r.globalConfig.defaultSettings[c];l===a&&(l=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light");var u=(0,o.getDefaultLanguage)();if(window.languages){var s=Object.entries(languages).find(function(e){return e[0],e[1].shortName===u});if(s&&!(s.length<2)){var d=s[1].isRTL?"rtl":"ltr";"rtl"===d&&(document.querySelector("html").dir="rtl",n(e("layout-bundle",d),"lpx-layout-bundle-style-".concat(d),"lpx-layout-bundle-style-".concat("rtl"===d?"ltr":"rtl"))),i("bootstrap",l,void 0,"bootstrap-",d),i("color",l,void 0,"",d)}}}(0,r.addDefaultSettings)(((i={}).appearance=a,i.containerWidth=n.ContainerWidth.Type.boxed,i)),t.initAppearance=c,c()}.apply(t,o),void 0===r||(e.exports=r)}};const t={};let n=function n(o){const r=t[o];if(void 0!==r)return r.exports;const i=t[o]={exports:{}};return e[o].call(i.exports,i,i.exports,n),i.exports}(565);leptonxHead=n})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.