PageSourceSearch

https://profetic.org/wp-content/assets/js/widgets/shared/lang-sele…?id=c77bd46259e4b63f8e1888384c2b9f97

js profetic.org collected 2026-10-02 07:14:36 UTC 5,011 bytes, 2 lines download raw bytes

vendor: 2,177 bytes, line 1
1(()=>{"use strict";function t(e){return t="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(e)}function e(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,r(o.key),o)}}function r(e){var r=function(e,r){if("object"!=t(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,r||"default");if("object"!=t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==t(r)?r:r+""}function n(t){return n="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},n(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,u(n.key),n)}}function c(t,e,r){return e&&i(t.prototype,e),r&&i(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function u(t){var e=function(t,e){if("object"!=n(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!=n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==n(e)?e:e+""}function a(t,e,r){return e=s(e),function(t,e){if(e&&("object"==n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,l()?Reflect.construct(e,r||[],s(t).constructor):e.apply(t,r))}function l(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(l=function(){return!!t})()}
1function s(t){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},s(t)}function f(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&y(t,e)}function y(t,e){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},y(t,e)}var g=function(t){function e(t){var r,n,i,c,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=u.target,s=u.toggleClass,f=void 0===s?"active":s;o(this,e),(c=a(this,e)).toggleClass=f,t&&(c.trigger=t instanceof HTMLElement?t:document.querySelector(t));var y=l instanceof HTMLElement?l:document.querySelector(l);if(c.target=y||document.querySelector(null===(r=c.trigger)||void 0===r?void 0:r.dataset.target),!c.target)throw new Error("Error in Toggle. Cannot find target with selector ".concat(l," or data-attribute ").
1concat(null===(n=c.trigger)||void 0===n?void 0:n.dataset.target));return c._clickListener=function(t){t.currentTarget.blur(),c.toggle()},null===(i=c.trigger)||void 0===i||i.addEventListener("click",c._clickListener),c}return f(e,t),c(e,[{key:"active",get:function(){return this.target.classList.contains(this.toggleClass)}},{key:"toggle",value:function(){this.target.classList.contains(this.toggleClass)?this.hide():this.show()}},{key:"hide",value:function(){var t;this.target.classList.remove(this.toggleClass),null===(t=this.trigger)||void 0===t||t.classList.remove(this.toggleClass),this.emit("hide")}},{key:"show",value:function(){var t;this.target.classList.add(this.toggleClass),null===(t=this.trigger)||void 0===t||t.classList.add(this.toggleClass),this.emit("show")}},{key:"destroy",value:function(){var t;null===(t=this.trigger)||void 0===t||t.removeEventListener("click",this._clickListener)}}])}(function(){return t=function t(){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.emiter={all:e=e||new Map,on:function(t,r){var n=e.get(t);n?n.push(r):e.set(t,[r])},off:function(t,r){var n=e.get(t);n&&(r?n.splice(n.indexOf(r)>>>0,1):e.set(t,[]))},emit:function(t,r){var n=e.get(t);n&&n.slice().map((function(t){t(r)})),(n=e.get("*"))&&n.slice().map((function(e){e(t,r)}))}}},(r=[{key:"emit",value:function(t,e){this.emiter.emit(t,e)}},{key:"on",value:function(t,e){this.emiter.on(t,e)}},{key:"off",value:function(t,e){this.emiter.off(t,e)}}])&&e(t.prototype,r),n&&e(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r,n}());const p=g;document.querySelector(".js-lang-toggle-btn")&&new p(".js-lang-toggle-btn",{target:".js-lang-dropdown"})})();
2//# sourceMappingURL=lang-select_1.js.map

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.