PageSourceSearch

http://www.cavallersdelcel.cat/forums/js/themehouse/global/20180112.min.js?_v=5fbe71a1

js cavallersdelcel.cat collected 2026-10-02 14:04:54 UTC 11,430 bytes, 43 lines download raw bytes

1/*
2 Copyright (C) 2015 by WebReflection
3
4Permission is hereby granted, free of charge, to any person obtaining a copy
5of this software and associated documentation files (the "Software"), to deal
6in the Software without restriction, including without limitation the rights
7to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8copies of the Software, and to permit persons to whom the Software is
9furnished to do so, subject to the following conditions:
10
11The above copyright notice and this permission notice shall be included in
12all copies or substantial portions of the Software.
13
14THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20THE SOFTWARE.
21
22*/
23(function(p){function f(c){if(m[c])return m[c].exports;var a=m[c]={i:c,l:!1,exports:{}};p[c].call(a.exports,a,a.exports,f);a.l=!0;return a.exports}var m={};f.m=p;f.c=m;f.d=function(c,a,g){f.o(c,a)||Object.defineProperty(c,a,{configurable:!1,enumerable:!0,get:g})};f.n=function(c){var a=c&&c.__esModule?function(){return c["default"]}:function(){return c};f.d(a,"a",a);return a};f.o=function(c,a){return Object.prototype.hasOwnProperty.call(c,a)};f.p="";return f(f.s=0)})([function(p,f,m){function c(b,
24a,d){a in b?Object.defineProperty(b,a,{value:d,enumerable:!0,configurable:!0,writable:!0}):b[a]=d;return b}var a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(b){return typeof b}:function(b){return b&&"function"===typeof Symbol&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},g;(function(){for(var b=0,a=["ms","moz","webkit","o"],d=0;d<a.length&&!window.requestAnimationFrame;++d)window.requestAnimationFrame=window[a[d]+"RequestAnimationFrame"],window.cancelAnimationFrame=
25window[a[d]+"CancelAnimationFrame"]||window[a[d]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(a){var d=(new Date).getTime(),l=Math.max(0,16-(d-b)),q=window.setTimeout(function(){a(d+l)},l);b=d+l;return q});window.cancelAnimationFrame||(window.cancelAnimationFrame=function(b){clearTimeout(b)});(function(b){"function"!==typeof b.matches&&(b.matches=b.msMatchesSelector||b.mozMatchesSelector||b.webkitMatchesSelector||function(b){b=(this.document||
26this.ownerDocument).querySelectorAll(b);for(var a=0;b[a]&&b[a]!==this;)++a;return!!b[a]});"function"!==typeof b.closest&&(b.closest=function(b){for(var a=this;a&&1===a.nodeType;){if(a.matches(b))return a;a=a.parentNode}return null})})(window.Element.prototype);"function"!==typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(b,a){if(null==b)throw new TypeError("Cannot convert undefined or null to object");for(var d=Object(b),q=1;q<arguments.length;q++){var c=arguments[q];if(null!=
27c)for(var e in c)Object.prototype.hasOwnProperty.call(c,e)&&(d[e]=c[e])}return d},writable:!0,configurable:!0})})();m(1);"undefined"===typeof window.themehouse&&(window.themehouse={});"undefined"===typeof window.themehouse.data&&(window.themehouse.data={});"undefined"===typeof window.themehouse.common&&(window.themehouse.common={});window.themehouse.common["20180112"]=(g={events:{},debug:!1,values:{},timeout:null,measureScroll:function(){window.themehouse.common["20180112"].values.scrollX=window.scrollX;
28window.themehouse.common["20180112"].values.scrollY=window.scrollY},measureResize:function(){window.themehouse.common["20180112"].values.innerWidth=window.innerWidth;window.themehouse.common["20180112"].values.innerHeight=window.innerHeight;window.themehouse.common["20180112"].values.offsetHeight=window.document.body.offsetHeight;window.themehouse.common["20180112"].values.offsetWidth=window.document.body.offsetWidth},register:function(b){"undefined"===typeof window.themehouse.common["20180112"].events[b.phase]&&
29(window.themehouse.common["20180112"].events[b.phase]=[]);window.themehouse.common["20180112"].events[b.phase].push(b);window.themehouse.common["20180112"].ensureRun()},ensureRun:function(){null!==window.themehouse.common["20180112"].timeout&&window.clearTimeout(window.themehouse.common["20180112"].timeout);window.themehouse.common["20180112"].timeout=window.setTimeout(window.themehouse.common["20180112"].initMissing,500)},initMissing:function(){window.themehouse.common["20180112"].timeout=null;for(var b=
30["initGet","afterGet","initSet","afterSet"],a=0,d=b.length;a<d;a++){var c=b[a],e=window.themehouse.common["20180112"].events[c];if(e)for(var l=0,g=e.length;l<g;l++)!0!==e[l].hasRun&&window.themehouse.common["20180112"].runEvent(l,c)}},init:function(){var b=this,a=window.themehouse.common["20180112"],d=a.time();this.measureScroll();this.measureResize();window.themehouse.common["20180112"].run("initGet");window.themehouse.common["20180112"].run("initSet");window.addEventListener("resize",function(){b.measureScroll();
31b.measureResize();window.themehouse.common["20180112"].run("resizeGet");window.themehouse.common["20180112"].run("resizeSet")});window.addEventListener("scroll",function(){b.measureScroll();window.themehouse.common["20180112"].run("scrollGet");window.themehouse.common["20180112"].run("scrollSet")});window.setTimeout(function(){window.themehouse.common["20180112"].run("afterGet");window.themehouse.common["20180112"].run("afterSet")},0);a.debug&&(console.log("Total Register: "+a.round(a.time()-d,5)+
32" ms"),console.log("====================="))},measureWindowSize:function(){window.themehouse.data.windowWidth=window.innerWidth;window.themehouse.data.windowHeight=window.innerHeight}},c(g,"measureScroll",function(){window.themehouse.data.scrollX=window.scrollX;window.themehouse.data.scrollY=window.scrollY}),c(g,"run",function(b){var a=window.themehouse.common["20180112"],d=a.events[b]||[],c=a.debug,e=a.time(),l=0;for(d=d.length;l<d;l++)a.runEvent(l,b);c&&(console.log("Total "+b+": "+a.round(a.time()-
33e,5)+" ms"),console.log("====================="))}),c(g,"runEvent",function(a,c){var b=window.themehouse.common["20180112"],q=b.debug,e=window.themehouse.common["20180112"].events[c][a],l=e.func;e=e.addon;window.themehouse.common["20180112"].events[c][a].hasRun=!0;if("function"===typeof l){var g=b.time();l();
33q&&console.log(e+"-"+c+": "+b.round(b.time()-g,5)+" ms")}}),c(g,"time",function(){return!1===window.themehouse.common["20180112"]?0:"undefined"===typeof window.performance?Date.now():window.performance.now?
34window.performance.now()+window.performance.timing.navigationStart:Date.now()}),c(g,"round",function(a){var b=1<arguments.length&&void 0!==arguments[1]?arguments[1]:2;return Math.round(a*Math.pow(10,b))/Math.pow(10,b)}),c(g,"fetch",function(a){window.jQuery.ajax(a)}),c(g,"log",function(){for(var a=arguments.length,c=Array(a),d=0;d<a;d++)c[d]=arguments[d];console.log(c)}),c(g,"warn",function(){for(var a=arguments.length,c=Array(a),d=0;d<a;d++)c[d]=arguments[d];console.warn(c)}),c(g,"error",function(){for(var a=
35arguments.length,c=Array(a),d=0;d<a;d++)c[d]=arguments[d];console.error(c)}),c(g,"resizeFire",function(){if(window.document.createEvent){var a=window.document.createEvent("Event");a.initEvent("resize",!0,!0);window.dispatchEvent(a)}else window.document.fireEvent("onresize")}),g);window.document.addEventListener("DOMContentLoaded",function(){var b=!0;"object"===a(window.themehouse)&&"object"===a(window.themehouse.settings)&&"object"===a(window.themehouse.settings.common)&&"object"===a(window.themehouse.settings.common["20180112"])&&
36!1===window.themehouse.settings.common["20180112"].init&&(b=!1);b&&window.themehouse.common["20180112"].init()})},function(p,f,m){(function(c){(function(a,g){if(!(g in a)){var b=typeof c===typeof b?window:c,q=0,d=""+Math.random(),r="__\u0001symbol@@"+d,e=a.getOwnPropertyNames,l=a.getOwnPropertyDescriptor,f=a.create,m=a.keys,p=a.freeze||a,k=a.defineProperty,E=a.defineProperties,h=l(a,"getOwnPropertyNames"),n=a.prototype,u=n.hasOwnProperty,F=n.propertyIsEnumerable,G=n.toString,A=function(a,b,c){u.call(a,
37r)||k(a,r,{enumerable:!1,configurable:!1,writable:!1,value:{}});a[r]["@@"+b]=c},H=function(a,b){var c=f(a);e(b).forEach(function(a){w.call(b,a)&&y(c,a,b[a])});return c},I=function(){},B=function(a){return a!=r&&!u.call(t,a)},v=function(a){return a!=r&&u.call(t,a)},w=function(a){var b=""+a;return v(b)?u.call(this,b)&&this[r]["@@"+b]:F.call(this,a)},C=function(b){k(n,b,{enumerable:!1,configurable:!0,get:I,set:function(a){z(this,b,{enumerable:!1,configurable:!0,writable:!0,value:a});A(this,b,!0)}});
38return p(t[b]=k(a(b),"constructor",J))},x=function(a){if(this&&this!==b)throw new TypeError("Symbol is not a constructor");return C("__\u0001symbol:".concat(a||"",d,++q))},t=f(null),J={value:x},K=function(a){return t[a]},y=function(a,b,c){var d=""+b;if(v(d)){b=z;if(c.enumerable){var e=f(c);e.enumerable=!1}else e=c;b(a,d,e);A(a,d,!!c.enumerable)}else k(a,b,c);return a},D=function(a){return e(a).filter(v).map(K)};h.value=y;k(a,"defineProperty",h);h.value=D;k(a,g,h);h.value=function(a){return e(a).filter(B)};
39k(a,"getOwnPropertyNames",h);h.value=function(a,b){var c=D(b);c.length?m(b).concat(c).forEach(function(c){w.call(b,c)&&y(a,c,b[c])}):E(a,b);return a};k(a,"defineProperties",h);h.value=w;k(n,"propertyIsEnumerable",h);h.value=x;k(b,"Symbol",h);h.value=function(a){a="__\u0001symbol:".concat("__\u0001symbol:",a,d);return a in n?t[a]:C(a)};k(x,"for",h);h.value=function(a){if(B(a))throw new TypeError(a+" is not a symbol");return u.call(t,a)?a.slice(20,-d.length):void 0};k(x,"keyFor",h);h.value=function(a,
40b){var c=l(a,b);c&&v(b)&&(c.enumerable=w.call(a,b));return c};k(a,"getOwnPropertyDescriptor",h);h.value=function(a,b){return 1===arguments.length?f(a):H(a,b)};k(a,"create",h);h.value=function(){var a=G.call(this);return"[object String]"===a&&v(this)?"[object Symbol]":a};k(n,"toString",h);try{var z=f(k({},"__\u0001symbol:",{get:function(){return k(this,"__\u0001symbol:",{value:!1})["__\u0001symbol:"]}}))["__\u0001symbol:"]||k}catch(L){z=function(a,b,c){var d=l(n,b);delete n[b];k(a,b,c);k(n,b,d)}}}})(Object,
41"getOwnPropertySymbols");(function(a,c){var b=a.defineProperty,g=a.prototype,d=g.toString,f;"iterator match replace search split hasInstance isConcatSpreadable unscopables species toPrimitive toStringTag".split(" ").forEach(function(c){if(!(c in Symbol))switch(b(Symbol,c,{value:Symbol(c)}),c){case "toStringTag":f=a.getOwnPropertyDescriptor(g,"toString"),f.value=function(){var a=d.call(this),b=this[Symbol.toStringTag];return"undefined"===typeof b?a:"[object "+b+"]"},b(g,"toString",f)}})})(Object,Symbol);
42(function(a,c,b){function f(){return this}c[a]||(c[a]=function(){var b=0,c=this,e={next:function(){var a=c.length<=b;return a?{done:a}:{done:a,value:c[b++]}}};e[a]=f;return e});b[a]||(b[a]=function(){var b=String.fromCodePoint,c=this,e=0,g=c.length,m={next:function(){var a=g<=e,d=a?"":b(c.co
42dePointAt(e));e+=d.length;return a?{done:a}:{done:a,value:d}}};m[a]=f;return m})})(Symbol.iterator,Array.prototype,String.prototype);p.exports=Object.getOwnPropertySymbols}).call(f,m(2))},function(p,f){var m=function(){return this}();
43try{m=m||Function("return this")()||(0,eval)("this")}catch(c){"object"===typeof window&&(m=window)}p.exports=m}]);

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.