vendor: 27,515 bytes, lines 1-2
1/*! For license information please see gestorCampanas.758e0f3a.js.LICENSE.txt */ 2(self.webpackChunk=self.webpackChunk||[]).push([[315],{94148:(e,t,n)=>{"use strict";var a=n(65606),r=n(96763);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function i(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,(r=a.key,i=void 0,i=function(e,t){if("object"!==o(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!==o(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r,"string"),"symbol"===o(i)?i:String(i)),a)}var r,i}function c(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var l,s,p=n(69597).codes,u=p.ERR_AMBIGUOUS_ARGUMENT,d=p.ERR_INVALID_ARG_TYPE,f=p.ERR_INVALID_ARG_VALUE,h=p.ERR_INVALID_RETURN_VALUE,y=p.ERR_MISSING_ARGS,m=n(3918),v=n(40537).inspect,g=n(40537).types,b=g.isPromise,S=g.isRegExp,E=n(11514)(),w=n(9394)(),x=n(38075)("RegExp.prototype.test");new Map;function O(){var e=n(82299);l=e.isDeepEqual,s=e.isDeepStrictEqual}var j=!1,A=e.exports=P,_={};function $(e){if(e.message instanceof Error)throw e.message;throw new m(e)}function k(e,t,n,a){if(!n){var r=!1;if(0===t)r=!0,a="No value argument passed to `assert.ok()`";else if(a instanceof Error)throw a;var o=new m({actual:n,expected:!0,message:a,operator:"==",stackStartFn:e});throw o.generatedMessage=r,o}}function P(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];k.apply(void 0,[P,t.length].concat(t))}A.fail=function e(t,n,o,i,c){var l,s=arguments.length;if(0===s)l="Failed";else if(1===s)o=t,t=void 0;else{if(!1===j)j=!0,(a.emitWarning?a.emitWarning:r.warn.bind(r))("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094");2===s&&(i="!=")}if(o instanceof Error)throw o;var p={actual:t,expected:n,operator:void 0===i?"fail":i,stackStartFn:c||e};void 0!==o&&(p.message=o);var u=new m(p);throw l&&(u.message=l,u.generatedMessage=!0),u},A.AssertionError=m,A.ok=P,A.equal=function e(t,n,a){if(arguments.length<2)throw new y("actual","expected");t!=n&&$({actual:t,expected:n,message:a,operator:"==",stackStartFn:e})},A.notEqual=function e(t,n,a){if(arguments.length<2)throw new y("actual","expected");t==n&&$({actual:t,expected:n,message:a,operator:"!=",stackStartFn:e})},A.deepEqual=function e(t,n,a){if(arguments.length<2)throw new y("actual","expected");void 0===l&&O(),l(t,n)||$({actual:t,expected:n,message:a,operator:"deepEqual",stackStartFn:e})},A.notDeepEqual=function e(t,n,a){if(arguments.length<2)throw new y("actual","expected");void 0===l&&O(),l(t,n)&&$({actual:t,expected:n,message:a,operator:"notDeepEqual",stackStartFn:e})},A.deepStrictEqual=function e(t,n,a){if(arguments.length<2)throw new y("actual","expected");void 0===l&&O(),s(t,n)||$({actual:t,expected:n,message:a,operator:"deepStrictEqual",stackStartFn:e})},A.notDeepStrictEqual=function e(t,n,a){if(arguments.length<2)throw new y("actual","expected");void 0===l&&O();s(t,n)&&$({actual:t,expected:n,message:a,operator:"notDeepStrictEqual",stackStartFn:e})},A.strictEqual=function e(t,n,a){if(arguments.length<2)throw new y("actual","expected");w(t,n)||$({actual:t,expected:n,message:a,operator:"strictEqual",stackStartFn:e})},A.notStrictEqual=function e(t,n,a){if(arguments.length<2)throw new y("actual","expected");w(t,n)&&$({actual:t,expected:n,message:a,operator:"notStrictEqual",stackStartFn:e})};var C=c((function e(t,n,a){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n.forEach((function(e){e in t&&(void 0!==a&&"string"==typeof a[e]&&S(t[e])&&x(t[e],a[e])?r[e]=a[e]:r[e]=t[e])}))}));function I(e,t,n,a){if("function"!=typeof t){if(S(t))return x(t,e);if(2===arguments.length)throw new d("expected",["Function","RegExp"],t);if("object"!==o(e)||null===e){var r=new m({actual:e,expected:t,message:n,operator:"deepStrictEqual",stackStartFn:a});throw r.operator=a.name,r}var i=Object.keys(t);if(t instanceof Error)i.push("name","message");else if(0===i.length)throw new f("error",t,"may not be an empty object");return void 0===l&&O(),i.forEach((function(r){"string"==typeof e[r]&&S(t[r])&&x(t[r],e[r])||function(e,t,n,a,r,o){if(!(n in e)||!s(e[n],t[n])){if(!a){var i=new C(e,r),c=new C(t,r,e),l=new m({actual:i,expected:c,operator:"deepStrictEqual",stackStartFn:o});throw l.actual=e,l.expected=t,l.operator=o.name,l}$({actual:e,expected:t,message:a,operator:o.name,stackStartFn:o})}}(e,t,r,n,i,a)})),!0}return void 0!==t.prototype&&e instanceof t||!Error.isPrototypeOf(t)&&!0===t.call({},e)}function T(e){if("function"!=typeof e)throw new d("fn","Function",e);try{e()}catch(e){return e}return _}function H(e){return b(e)||null!==e&&"object"===o(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function D(e){return Promise.resolve().then((function(){var t;if("function"==typeof e){if(!H(t=e()))throw new h("instance of Promise","promiseFn",t)}else{if(!H(e))throw new d("promiseFn",["Function","Promise"],e);t=e}return Promise.resolve().then((function(){return t})).then((function(){return _})).catch((function(e){return e}))}))}function F(e,t,n,a){if("string"==typeof n){if(4===arguments.length)throw new d("error",["Object","Error","Function","RegExp"],n);if("object"===o(t)&&null!==t){if(t.message===n)throw new u("error/message",'The error message "'.concat(t.message,'" is identical to the message.'))}else if(t===n)throw new u("error/message",'The error "'.concat(t,'" is identical to the message.'));a=n,n=void 0}else if(null!=n&&"object"!==o(n)&&"function"!=typeof n)throw new d("error",["Object","Error","Function","RegExp"],n);if(t===_){var r="";n&&n.name&&(r+=" (".concat(n.name,")")),r+=a?": ".concat(a):".";var i="rejects"===e.name?"rejection":"exception";$({actual:void 0,expected:n,operator:e.name,message:"Missing expected ".concat(i).concat(r),stackStartFn:e})}if(n&&!I(t,n,a,e))throw t}function R(e,t,n,a){if(t!==_){if("string"==typeof n&&(a=n,n=void 0),!n||I(t,n)){var r=a?": ".concat(a):".",o="doesNotReject"===e.name?"rejection":"exception";$({actual:t,expected:n,operator:e.name,message:"Got unwanted ".concat(o).concat(r,"\n")+'Actual message: "'.concat(t&&t.message,'"'),stackStartFn:e})}throw t}}function M(e,t,n,a,r){if(!S(t))throw new d("regexp","RegExp",t);var i="match"===r;if("string"!=typeof e||x(t,e)!==i){if(n instanceof Error)throw n;var c=!n;n=n||("string"!=typeof e?'The "string" argument must be of type string. Received type '+"".concat(o(e)," (").concat(v(e),")"):(i?"The input did not match the regular expression ":"The input was expected to not match the regular expression ")+"".concat(v(t),". Input:\n\n").concat(v(e),"\n"));var l=new m({actual:e,expected:t,message:n,operator:r,stackStartFn:a});throw l.generatedMessage=c,l}}function N(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];k.apply(void 0,[N,t.length].concat(t))}A.throws=function e(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];F.apply(void 0,[e,T(t)].concat(a))},A.rejects=function e(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];return D(t).then((function(t){return F.apply(void 0,[e,t].concat(a))}))},A.doesNotThrow=function e(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];R.apply(void 0,[e,T(t)].concat(a))},A.doesNotReject=function e(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];return D(t).then((function(t){return R.apply(void 0,[e,t].concat(a))}))},A.ifError=function e(t){if(null!=t){var n="ifError got unwanted exception: ";"object"===o(t)&&"string"==typeof t.message?0===t.message.length&&t.constructor?n+=t.constructor.name:n+=t.message:n+=v(t);var a=new m({actual:t,expected:null,operator:"ifError",message:n,stackStartFn:e}),r=t.stack;if("string"==typeof r){var i=r.split("\n");i.shift();for(var c=a.stack.split("\n"),l=0;l<i.length;l++){var s=c.indexOf(i[l]);if(-1!==s){c=c.slice(0,s);break}}a.stack="".concat(c.join("\n"),"\n").concat(i.join("\n"))}throw a}},A.match=function e(t,n,a){M(t,n,a,e,"match")},A.doesNotMatch=function e(t,n,a){M(t,n,a,e,"doesNotMatch")},A.strict=E(N,A,{equal:A.strictEqual,deepEqual:A.deepStrictEqual,notEqual:A.notStrictEqual,notDeepEqual:A.notDeepStrictEqual}),A.strict.strict=A.strict},3918:(e,t,n)=>{"use strict";var a=n(65606);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return(t=l(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,l(a.key),a)}}function l(e){var t=function(e,t){if("object"!==m(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!==m(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===m(t)?t:String(t)}function s(e,t){if(t&&("object"===m(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return p(e)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e){var t="function"==typeof Map?new Map:void 0;return u=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,a)}function a(){return d(e,arguments,y(this).constructor)}return a.prototype=Object.create(e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),h(a,e)},u(e)}function d(e,t,n){return d=f()?Reflect.construct.bind():function(e,t,n){var a=[null];a.push.apply(a,t);var r=new(Function.bind.apply(e,a));return n&&h(r,n.prototype),r},d.apply(null,arguments)}function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}var v=n(40537).inspect,g=n(69597).codes.ERR_INVALID_ARG_TYPE;function b(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}var S="",E="",w="",x="",O={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function j(e){var t=Object.keys(e),n=Object.create(Object.getPrototypeOf(e));return t.forEach((function(t){n[t]=e[t]})),Object.defineProperty(n,"message",{value:e.message}),n}function A(e){return v(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function _(e,t,n){var r="",o="",i=0,c="",l=!1,s=A(e),p=s.split("\n"),u=A(t).split("\n"),d=0,f="";if("strictEqual"===n&&"object"===m(e)&&"object"===m(t)&&null!==e&&null!==t&&(n="strictEqualObject"),1===p.length&&1===u.length&&p[0]!==u[0]){var h=p[0].length+u[0].length;if(h<=10){if(!("object"===m(e)&&null!==e||"object"===m(t)&&null!==t||0===e&&0===t))return"".concat(O[n],"\n\n")+"".concat(p[0]," !== ").concat(u[0],"\n")}else if("strictEqualObject"!==n){if(h<(a.stderr&&a.stderr.isTTY?a.stderr.columns:80)){for(;p[0][d]===u[0][d];)d++;d>2&&(f="\n ".concat(function(e,t){if(t=Math.floor(t),0==e.length||0==t)return"";var n=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+e.substring(0,n-e.length)}(" ",d),"^"),d=0)}}}for(var y=p[p.length-1],v=u[u.length-1];y===v&&(d++<2?c="\n ".concat(y).concat(c):r=y,p.pop(),u.pop(),0!==p.length&&0!==u.length);)y=p[p.length-1],v=u[u.length-1];var g=Math.max(p.length,u.length);if(0===g){var j=s.split("\n");if(j.length>30)for(j[26]="".concat(S,"...").concat(x);j.length>27;)j.pop();return"".concat(O.notIdentical,"\n\n").concat(j.join("\n"),"\n")}d>3&&(c="\n".concat(S,"...").concat(x).concat(c),l=!0),""!==r&&(c="\n ".concat(r).concat(c),r="");var _=0,$=O[n]+"\n".concat(E,"+ actual").concat(x," ").concat(w,"- expected").concat(x),k=" ".concat(S,"...").concat(x," Lines skipped");for(d=0;d<g;d++){var P=d-i;if(p.length<d+1)P>1&&d>2&&(P>4?(o+="\n".concat(S,"...").concat(x),l=!0):P>3&&(o+="\n ".concat(u[d-2]),_++),o+="\n ".concat(u[d-1]),_++),i=d,r+="\n".concat(w,"-").concat(x," ").concat(u[d]),_++;else if(u.length<d+1)P>1&&d>2&&(P>4?(o+="\n".concat(S,"...").concat(x),l=!0):P>3&&(o+="\n ".concat(p[d-2]),_++),o+="\n ".concat(p[d-1]),_++),i=d,o+="\n".concat(E,"+").concat(x," ").concat(p[d]),_++;else{var C=u[d],I=p[d],T=I!==C&&(!b(I,",")||I.slice(0,-1)!==C);T&&b(C,",")&&C.slice(0,-1)===I&&(T=!1,I+=","),T?(P>1&&d>2&&(P>4?(o+="\n".concat(S,"...").concat(x),l=!0):P>3&&(o+="\n ".concat(p[d-2]),_++),o+="\n ".concat(p[d-1]),_++),i=d,o+="\n".concat(E,"+").concat(x," ").concat(I),r+="\n".concat(w,"-").concat(x," ").concat(C),_+=2):(o+=r,r="",1!==P&&0!==d||(o+="\n ".concat(I),_++))}if(_>20&&d<g-2)return"".concat($).concat(k,"\n").concat(o,"\n").concat(S,"...").concat(x).concat(r,"\n")+"".concat(S,"...").concat(x)}return"".concat($).concat(l?k:"","\n").concat(o).concat(r).concat(c).concat(f)}var $=function(e,t){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(b,e);var n,r,i,l,u,d=(n=b,r=f(),function(){var e,t=y(n);if(r){var a=y(this).constructor;e=Reflect.construct(t,arguments,a)}else e=t.apply(this,arguments);return s(this,e)});function b(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,b),"object"!==m(e)||null===e)throw new g("options","Object",e);var n=e.message,r=e.operator,o=e.stackStartFn,i=e.actual,c=e.expected,l=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=n)t=d.call(this,String(n));else if(a.stderr&&a.stderr.isTTY&&(a.stderr&&a.stderr.getColorDepth&&1!==a.stderr.getColorDepth()?(S="�[34m",E="�[32m",x="�[39m",w="�[31m"):(S="",E="",x="",w="")),"object"===m(i)&&null!==i&&"object"===m(c)&&null!==c&&"stack"in i&&i instanceof Error&&"stack"in c&&c instanceof Error&&(i=j(i),c=j(c)),"deepStrictEqual"===r||"strictEqual"===r)t=d.call(this,_(i,c,r));else if("notDeepStrictEqual"===r||"notStrictEqual"===r){var u=O[r],f=A(i).split("\n");if("notStrictEqual"===r&&"object"===m(i)&&null!==i&&(u=O.notStrictEqualObject),f.length>30)for(f[26]="".concat(S,"...").concat(x);f.length>27;)f.pop();t=1===f.length?d.call(this,"".concat(u," ").concat(f[0])):d.call(this,"".concat(u,"\n\n").concat(f.join("\n"),"\n"))}else{var h=A(i),y="",v=O[r];"notDeepEqual"===r||"notEqual"===r?(h="".concat(O[r],"\n\n").concat(h)).length>1024&&(h="".concat(h.slice(0,1021),"...")):(y="".concat(A(c)),h.length>512&&(h="".concat(h.slice(0,509),"...")),y.length>512&&(y="".concat(y.slice(0,509),"...")),"deepEqual"===r||"equal"===r?h="".concat(v,"\n\n").concat(h,"\n\nshould equal\n\n"):y=" ".concat(r," ").concat(y)),t=d.call(this,"".concat(h).concat(y))}return Error.stackTraceLimit=l,t.generatedMessage=!n,Object.defineProperty(p(t),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),t.code="ERR_ASSERTION",t.actual=i,t.expected=c,t.operator=r,Error.captureStackTrace&&Error.captureStackTrace(p(t),o),t.stack,t.name="AssertionError",s(t)}return i=b,(l=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:t,value:function(e,t){return v(this,o(o({},t),{},{customInspect:!1,depth:0}))}}])&&c(i.prototype,l),u&&c(i,u),Object.defineProperty(i,"prototype",{writable:!1}),b}(u(Error),v.custom);e.exports=$},69597:(e,t,n)=>{"use strict";function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==a(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===a(i)?i:String(i)),r)}var o,i}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}function i(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=c(e);if(t){var o=c(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}var l,s,p={};function u(e,t,n){n||(n=Error);var a=function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(p,n);var a,c,l,s=i(p);function p(n,a,r){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),o=s.call(this,function(e,n,a){return"string"==typeof t?t:t(e,n,a)}(n,a,r)),o.code=e,o}return a=p,c&&r(a.prototype,c),l&&r(a,l),Object.defineProperty(a,"prototype",{writable:!1}),a}(n);p[e]=a}function d(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}u("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),u("ERR_INVALID_ARG_TYPE",(function(e,t,r){var o,i,c,s;if(void 0===l&&(l=n(94148)),l("string"==typeof e,"'name' must be a string"),"string"==typeof t&&(i="not ",t.substr(!c||c<0?0:+c,i.length)===i)?(o="must not be",t=t.replace(/^not /,"")):o="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))s="The ".concat(e," ").concat(o," ").concat(d(t,"type"));else{var p=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";s='The "'.concat(e,'" ').concat(p," ").concat(o," ").concat(d(t,"type"))}return s+=". Received type ".concat(a(r))}),TypeError),u("ERR_INVALID_ARG_VALUE",(function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===s&&(s=n(40537));var r=s.inspect(t);return r.length>128&&(r="".concat(r.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(a,". Received ").concat(r)}),TypeError,RangeError),u("ERR_INVALID_RETURN_VALUE",(function(e,t,n){var r;return r=n&&n.constructor&&n.constructor.name?"instance of ".concat(n.constructor.name):"type ".concat(a(n)),"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(r,".")}),TypeError),u("ERR_MISSING_ARGS",(function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];void 0===l&&(l=n(94148)),l(t.length>0,"At least one arg needs to be specified");var r="The ",o=t.length;switch(t=t.map((function(e){return'"'.concat(e,'"')})),o){case 1:r+="".concat(t[0]," argument");break;case 2:r+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:r+=t.slice(0,o-1).join(", "),r+=", and ".concat(t[o-1]," arguments")}return"".concat(r," must be specified")}),TypeError),e.exports.codes=p},82299:(e,t,n)=>{"use strict";function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,o,i,c=[],l=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(a=o.call(n)).done)&&(c.push(a.value),c.length!==t);l=!0);}catch(e){s=!0,r=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw r}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var i=void 0!==/a/g.flags,c=function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t},l=function(e){var t=[];return e.forEach((function(e,n){return t.push([n,e])})),t},s=Object.is?Object.is:n(37653),p=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},u=Number.isNaN?Number.isNaN:n(24133);function d(e){return e.call.bind(e)}var f=d(Object.prototype.hasOwnProperty),h=d(Object.prototype.propertyIsEnumerable),y=d(Object.prototype.toString),m=n(40537).types,v=m.isAnyArrayBuffer,g=m.isArrayBufferView,b=m.isDate,S=m.isMap,E=m.isRegExp,w=m.isSet,x=m.isNativeError,O=m.isBoxedPrimitive,j=m.isNumberObject,A=m.isStringObject,_=m.isBooleanObject,$=m.isBigIntObject,k=m.isSymbolObject,P=m.isFloat32Array,C=m.isFloat64Array;function I(e){if(0===e.length||e.length>10)return!0;for(var t=0;t<e.length;t++){var n=e.charCodeAt(t);if(n<48||n>57)return!0}return 10===e.length&&e>=Math.pow(2,32)}function T(e){return Object.keys(e).filter(I).concat(p(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}function H(e,t){if(e===t)return 0;for(var n=e.length,a=t.length,r=0,o=Math.min(n,a);r<o;++r)if(e[r]!==t[r]){n=e[r],a=t[r];break}return n<a?-1:a<n?1:0}var D=0,F=1,R=2,M=3;function N(e,t,n,a){if(e===t)return 0!==e||(!n||s(e,t));if(n){if("object"!==o(e))return"number"==typeof e&&u(e)&&u(t);if("object"!==o(t)||null===e||null===t)return!1;if(Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1}else{if(null===e||"object"!==o(e))return(null===t||"object"!==o(t))&&e==t;if(null===t||"object"!==o(t))return!1}var r,c,l,p,d=y(e);if(d!==y(t))return!1;if(Array.isArray(e)){if(e.length!==t.length)return!1;var f=T(e),h=T(t);return f.length===h.length&&q(e,t,n,a,F,f)}if("[object Object]"===d&&(!S(e)&&S(t)||!w(e)&&w(t)))return!1;if(b(e)){if(!b(t)||Date.prototype.getTime.call(e)!==Date.prototype.getTime.call(t))return!1}else if(E(e)){if(!E(t)||(l=e,p=t,!(i?l.source===p.source&&l.flags===p.flags:RegExp.prototype.toString.call(l)===RegExp.prototype.toString.call(p))))return!1}else if(x(e)||e instanceof Error){if(e.message!==t.message||e.name!==t.name)return!1}else{if(g(e)){if(n||!P(e)&&!C(e)){if(!function(e,t){return e.byteLength===t.byteLength&&0===H(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}(e,t))return!1}else if(!function(e,t){if(e.byteLength!==t.byteLength)return!1;for(var n=0;n<e.byteLength;n++)if(e[n]!==t[n])return!1;return!0}(e,t))return!1;var m=T(e),I=T(t);return m.length===I.length&&q(e,t,n,a,D,m)}if(w(e))return!(!w(t)||e.size!==t.size)&&q(e,t,n,a,R);if(S(e))return!(!S(t)||e.size!==t.size)&&q(e,t,n,a,M);if(v(e)){if(c=t,(r=e).byteLength!==c.byteLength||0!==H(new Uint8Array(r),new Uint8Array(c)))return!1}else if(O(e)&&!function(e,t){return j(e)?j(t)&&s(Number.prototype.valueOf.call(e),Number.prototype.valueOf.call(t)):A(e)?A(t)&&String.prototype.valueOf.call(e)===String.prototype.valueOf.call(t):_(e)?_(t)&&Boolean.prototype.valueOf.call(e)===Boolean.prototype.valueOf.call(t):$(e)?$(t)&&BigInt.prototype.valueOf.call(e)===BigInt.prototype.valueOf.call(t):k(t)&&Symbol.prototype.valueOf.call(e)===Symbol.prototype.valueOf.call(t)}(e,t))return!1}return q(e,t,n,a,D)}function L(e,t){return t.filter((function(t){return h(e,t)}))}function q(e,t,n,r,i,s){if(5===arguments.length){s=Object.keys(e);var u=Object.keys(t);if(s.length!==u.length)return!1}for(var d=0;d<s.length;d++)if(!f(t,s[d]))return!1;if(n&&5===arguments.length){var y=p(e);if(0!==y.length){var m=0;for(d=0;d<y.length;d++){var v=y[d];if(h(e,v)){if(!h(t,v))return!1;s.push(v),m++}else if(h(t,v))return!1}var g=p(t);if(y.length!==g.length&&L(t,g).length!==m)return!1}else{var b=p(t);if(0!==b.length&&0!==L(t,b).length)return!1}}if(0===s.length&&(i===D||i===F&&0===e.length||0===e.size))return!0;
2if(void 0===r)r={val1:new Map,val2:new Map,position:0};else{var S=r.val1.get(e);if(void 0!==S){var E=r.val2.get(t);if(void 0!==E)return S===E}r.position++}r.val1.set(e,r.position),r.val2.set(t,r.position);var w=function(e,t,n,r,i,s){var p=0;if(s===R){if(!function(e,t,n,a){for(var r=null,i=c(e),l=0;l<i.length;l++){var s=i[l];if("object"===o(s)&&null!==s)null===r&&(r=new Set),r.add(s);else if(!t.has(s)){if(n)return!1;if(!U(e,t,s))return!1;null===r&&(r=new Set),r.add(s)}}if(null!==r){for(var p=c(t),u=0;u<p.length;u++){var d=p[u];if("object"===o(d)&&null!==d){if(!z(r,d,n,a))return!1}else if(!n&&!e.has(d)&&!z(r,d,n,a))return!1}return 0===r.size}return!0}(e,t,n,i))return!1}else if(s===M){if(!function(e,t,n,r){for(var i=null,c=l(e),s=0;s<c.length;s++){var p=a(c[s],2),u=p[0],d=p[1];if("object"===o(u)&&null!==u)null===i&&(i=new Set),i.add(u);else{var f=t.get(u);if(void 0===f&&!t.has(u)||!N(d,f,n,r)){if(n)return!1;if(!V(e,t,u,d,r))return!1;null===i&&(i=new Set),i.add(u)}}}if(null!==i){for(var h=l(t),y=0;y<h.length;y++){var m=a(h[y],2),v=m[0],g=m[1];if("object"===o(v)&&null!==v){if(!G(i,e,v,g,n,r))return!1}else if(!(n||e.has(v)&&N(e.get(v),g,!1,r)||G(i,e,v,g,!1,r)))return!1}return 0===i.size}return!0}(e,t,n,i))return!1}else if(s===F)for(;p<e.length;p++){if(!f(e,p)){if(f(t,p))return!1;for(var u=Object.keys(e);p<u.length;p++){var d=u[p];if(!f(t,d)||!N(e[d],t[d],n,i))return!1}return u.length===Object.keys(t).length}if(!f(t,p)||!N(e[p],t[p],n,i))return!1}for(p=0;p<r.length;p++){var h=r[p];if(!N(e[h],t[h],n,i))return!1}return!0}(e,t,n,s,r,i);return r.val1.delete(e),r.val2.delete(t),w}function z(e,t,n,a){for(var r=c(e),o=0;o<r.length;o++){var i=r[o];if(N(t,i,n,a))return e.delete(i),!0}return!1}function B(e){switch(o(e)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":e=+e;case"number":if(u(e))return!1}return!0}function U(e,t,n){var a=B(n);return null!=a?a:t.has(a)&&!e.has(a)}function V(e,t,n,a,r){var o=B(n);if(null!=o)return o;var i=t.get(o);return!(void 0===i&&!t.has(o)||!N(a,i,!1,r))&&(!e.has(o)&&N(a,i,!1,r))}function G(e,t,n,a,r,o){for(var i=c(e),l=0;l<i.length;l++){var s=i[l];if(N(n,s,r,o)&&N(a,t.get(s),r,o))return e.delete(s),!0}return!1}e.exports={isDeepEqual:function(e,t){return N(e,t,false)},isDeepStrictEqual:function(e,t){return N(e,t,true)}}},71799:(e,t,n)=>{"use strict";n(36796)},38075:(e,t,n)=>{"use strict";var a=n(70453),r=n(10487),o=r(a("String.prototype.indexOf"));e.exports=function(e,t){var n=a(e,!!t);return"function"==typeof n&&o(e,".prototype.")>-1?r(n):n}},10487:(e,t,n)=>{"use strict";var a=n(66743),r=n(70453),o=n(96897),i=n(69675),c=r("%Function.prototype.apply%"),l=r("%Function.prototype.call%"),s=r("%Reflect.apply%",!0)||a.call(l,c),p=n(30655),u=r("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new i("a function is required");var t=s(a,l,arguments);return o(t,1+u(0,e.length-(arguments.length-1)),!0)};var d=function(){return s(a,c,arguments)};p?p(e.exports,"apply",{value:d}):e.exports.apply=d},96763:(e,t,n)=>{var a=n(40537),r=n(94148);function o(){return(new Date).getTime()}var i,c=Array.prototype.slice,l={};i=void 0!==n.g&&n.g.console?n.g.console:"undefined"!=typeof window&&window.console?window.console:{};for(var s=[[function(){},"log"],[function(){i.log.apply(i,arguments)},"info"],[function(){i.log.apply(i,arguments)},"warn"],[function(){i.warn.apply(i,arguments)},"error"],[function(e){l[e]=o()},"time"],[function(e){var t=l[e];if(!t)throw new Error("No such label: "+e);delete l[e];var n=o()-t;i.log(e+": "+n+"ms")},"timeEnd"],[function(){var e=new Error;e.name="Trace",e.message=a.format.apply(null,arguments),i.error(e.stack)},"trace"],[function(e){i.log(a.inspect(e)+"\n")},"dir"],[function(e){if(!e){var t=c.call(arguments,1);r.ok(!1,a.format.apply(null,t))}},"assert"]],p=0;p<s.length;p++){var u=s[p],d=u[0],f=u[1];i[f]||(i[f]=d)}e.exports=i},30041:(e,t,n)=>{"use strict";var a=n(30655),r=n(58068),o=n(69675),i=n(75795);e.exports=function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new o("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new o("`property` must be a string or a symbol`");
vendor: 5,483 bytes, line 2
2if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var c=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,s=arguments.length>5?arguments[5]:null,p=arguments.length>6&&arguments[6],u=!!i&&i(e,t);if(a)a(e,t,{configurable:null===s&&u?u.configurable:!s,enumerable:null===c&&u?u.enumerable:!c,value:n,writable:null===l&&u?u.writable:!l});else{if(!p&&(c||l||s))throw new r("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},38452:(e,t,n)=>{"use strict";var a=n(1189),r="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,i=Array.prototype.concat,c=n(30041),l=n(30592)(),s=function(e,t,n,a){if(t in e)if(!0===a){if(e[t]===n)return}else if("function"!=typeof(r=a)||"[object Function]"!==o.call(r)||!a())return;var r;l?c(e,t,n,!0):c(e,t,n)},p=function(e,t){var n=arguments.length>2?arguments[2]:{},o=a(t);r&&(o=i.call(o,Object.getOwnPropertySymbols(t)));for(var c=0;c<o.length;c+=1)s(e,o[c],t[o[c]],n[o[c]])};p.supportsDescriptors=!!l,e.exports=p},30655:(e,t,n)=>{"use strict";var a=n(70453)("%Object.defineProperty%",!0)||!1;if(a)try{a({},"a",{value:1})}catch(e){a=!1}e.exports=a},41237:e=>{"use strict";e.exports=EvalError},69383:e=>{"use strict";e.exports=Error},79290:e=>{"use strict";e.exports=RangeError},79538:e=>{"use strict";e.exports=ReferenceError},58068:e=>{"use strict";e.exports=SyntaxError},69675:e=>{"use strict";e.exports=TypeError},35345:e=>{"use strict";e.exports=URIError},82682:(e,t,n)=>{"use strict";var a=n(69600),r=Object.prototype.toString,o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){if(!a(t))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),"[object Array]"===r.call(e)?function(e,t,n){for(var a=0,r=e.length;a<r;a++)o.call(e,a)&&(null==n?t(e[a],a,e):t.call(n,e[a],a,e))}(e,t,i):"string"==typeof e?function(e,t,n){for(var a=0,r=e.length;a<r;a++)null==n?t(e.charAt(a),a,e):t.call(n,e.charAt(a),a,e)}(e,t,i):function(e,t,n){for(var a in e)o.call(e,a)&&(null==n?t(e[a],a,e):t.call(n,e[a],a,e))}(e,t,i)}},89353:e=>{"use strict";var t=Object.prototype.toString,n=Math.max,a=function(e,t){for(var n=[],a=0;a<e.length;a+=1)n[a]=e[a];for(var r=0;r<t.length;r+=1)n[r+e.length]=t[r];return n};e.exports=function(e){var r=this;if("function"!=typeof r||"[object Function]"!==t.apply(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var o,i=function(e,t){for(var n=[],a=t||0,r=0;a<e.length;a+=1,r+=1)n[r]=e[a];return n}(arguments,1),c=n(0,r.length-i.length),l=[],s=0;s<c;s++)l[s]="$"+s;if(o=Function("binder","return function ("+function(e,t){for(var n="",a=0;a<e.length;a+=1)n+=e[a],a+1<e.length&&(n+=t);return n}(l,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof o){var t=r.apply(this,a(i,arguments));return Object(t)===t?t:this}return r.apply(e,a(i,arguments))})),r.prototype){var p=function(){};p.prototype=r.prototype,o.prototype=new p,p.prototype=null}return o}},66743:(e,t,n)=>{"use strict";var a=n(89353);e.exports=Function.prototype.bind||a},70453:(e,t,n)=>{"use strict";var a,r=n(69383),o=n(41237),i=n(79290),c=n(79538),l=n(58068),s=n(69675),p=n(35345),u=Function,d=function(e){try{return u('"use strict"; return ('+e+").constructor;")()}catch(e){}},f=Object.getOwnPropertyDescriptor;if(f)try{f({},"")}catch(e){f=null}var h=function(){throw new s},y=f?function(){try{return h}catch(e){try{return f(arguments,"callee").get}catch(e){return h}}}():h,m=n(64039)(),v=n(80024)(),g=Object.getPrototypeOf||(v?function(e){return e.__proto__}:null),b={},S="undefined"!=typeof Uint8Array&&g?g(Uint8Array):a,E={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?a:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?a:ArrayBuffer,"%ArrayIteratorPrototype%":m&&g?g([][Symbol.iterator]()):a,"%AsyncFromSyncIteratorPrototype%":a,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":"undefined"==typeof Atomics?a:Atomics,"%BigInt%":"undefined"==typeof BigInt?a:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?a:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?a:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?a:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":o,"%Float32Array%":"undefined"==typeof Float32Array?a:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?a:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?a:FinalizationRegistry,"%Function%":u,"%GeneratorFunction%":b,"%Int8Array%":"undefined"==typeof Int8Array?a:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?a:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?a:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
2IteratorPrototype%":m&&g?g(g([][Symbol.iterator]())):a,"%JSON%":"object"==typeof JSON?JSON:a,"%Map%":"undefined"==typeof Map?a:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&m&&g?g((new Map)[Symbol.iterator]()):a,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?a:Promise,"%Proxy%":"undefined"==typeof Proxy?a:Proxy,"%RangeError%":i,"%ReferenceError%":c,"%Reflect%":"undefined"==typeof Reflect?a:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?a:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&m&&g?g((new Set)[Symbol.iterator]()):a,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?a:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":m&&g?g(""[Symbol.iterator]()):a,"%Symbol%":m?Symbol:a,"%SyntaxError%":l,"%ThrowTypeError%":y,"%TypedArray%":S,"%TypeError%":s,"%Uint8Array%":"undefined"==typeof Uint8Array?a:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?a:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?a:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?a:Uint32Array,"%URIError%":p,"%WeakMap%":"undefined"==typeof WeakMap?a:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?a:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?a:WeakSet};if(g)try{null.error}catch(e){var w=g(g(e));E["%Error.prototype%"]=w}var x=function e(t){var n;if("%AsyncFunction%"===t)n=d("async function () {}");else if("%GeneratorFunction%"===t)n=d("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=d("async function* () {}");else if("%AsyncGenerator%"===t){var a=e("%AsyncGeneratorFunction%");a&&(n=a.prototype)}else if("%AsyncIteratorPrototype%"===t){var r=e("%AsyncGenerator%");r&&g&&(n=g(r.prototype))}return E[t]=n,n},O={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},j=n(66743),A=n(9957),_=j.call(Function.call,Array.prototype.concat),$=j.call(Function.apply,Array.prototype.splice),k=j.call(Function.call,String.prototype.replace),P=j.call(Function.call,String.prototype.slice),C=j.call(Function.call,RegExp.prototype.exec),I=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,T=/\\(\\)?/g,H=function(e,t){var n,a=e;if(A(O,a)&&(a="%"+(n=O[a])[0]+"%"),A(E,a)){var r=E[a];if(r===b&&(r=x(a)),void 0===r&&!t)throw new s("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:a,value:r}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new s('"allowMissing" argument must be a boolean');if(null===C(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=P(e,0,1),n=P(e,-1);if("%"===t&&"%"!==n)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var a=[];return k(e,I,(function(e,t,n,r){a[a.length]=n?k(r,T,"$1"):t||e})),a}(e),a=n.length>0?n[0]:"",r=H("%"+a+"%",t),o=r.name,i=r.value,c=!1,p=r.alias;p&&(a=p[0],$(n,_([0,1],p)));for(var u=1,d=!0;u<n.length;u+=1){var h=n[u],y=P(h,0,1),m=P(h,-1);if(('"'===y||"'"===y||"`"===y||'"'===m||"'"===m||"`"===m)&&y!==m)throw new l("property names with quotes must have matching quotes");if("constructor"!==h&&d||(c=!0),A(E,o="%"+(a+="."+h)+"%"))i=E[o];else if(null!=i){if(!(h in i)){if(!t)throw new s("base intrinsic for "+e+" exists, but the property is not available.");return}if(f&&u+1>=n.length){var v=f(i,h);i=(d=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:i[h]}else d=A(i,h),i=i[h];d&&!c&&(E[o]=i)}}return i}},75795:(e,t,n)=>{"use strict";var a=n(70453)("%Object.getOwnPropertyDescriptor%",!0);if(a)try{a([],"length")}catch(e){a=null}e.exports=a},30592:(e,t,n)=>{"use strict";var a=n(30655),r=function(){return!!a};r.hasArrayLengthDefineBug=function(){if(!a)return null;try{return 1!==a([],"length",{value:1}).length}catch(e){return!0}},e.exports=r},80024:e=>{"use strict";var t={__proto__:null,foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof n)}}
vendor: 19,320 bytes, line 2
2,64039:(e,t,n)=>{"use strict";var a="undefined"!=typeof Symbol&&Symbol,r=n(41333);e.exports=function(){return"function"==typeof a&&("function"==typeof Symbol&&("symbol"==typeof a("foo")&&("symbol"==typeof Symbol("bar")&&r())))}},41333:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var a=Object.getOwnPropertySymbols(e);if(1!==a.length||a[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var r=Object.getOwnPropertyDescriptor(e,t);if(42!==r.value||!0!==r.enumerable)return!1}return!0}},49092:(e,t,n)=>{"use strict";var a=n(41333);e.exports=function(){return a()&&!!Symbol.toStringTag}},9957:(e,t,n)=>{"use strict";var a=Function.prototype.call,r=Object.prototype.hasOwnProperty,o=n(66743);e.exports=o.call(a,r)},56698:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},47244:(e,t,n)=>{"use strict";var a=n(49092)(),r=n(38075)("Object.prototype.toString"),o=function(e){return!(a&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===r(e)},i=function(e){return!!o(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==r(e)&&"[object Function]"===r(e.callee)},c=function(){return o(arguments)}();o.isLegacyArguments=i,e.exports=c?o:i},69600:e=>{"use strict";var t,n,a=Function.prototype.toString,r="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof r&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw n}}),n={},r((function(){throw 42}),null,t)}catch(e){e!==n&&(r=null)}else r=null;var o=/^\s*class\b/,i=function(e){try{var t=a.call(e);return o.test(t)}catch(e){return!1}},c=function(e){try{return!i(e)&&(a.call(e),!0)}catch(e){return!1}},l=Object.prototype.toString,s="function"==typeof Symbol&&!!Symbol.toStringTag,p=!(0 in[,]),u=function(){return!1};if("object"==typeof document){var d=document.all;l.call(d)===l.call(document.all)&&(u=function(e){if((p||!e)&&(void 0===e||"object"==typeof e))try{var t=l.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}e.exports=r?function(e){if(u(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;try{r(e,null,t)}catch(e){if(e!==n)return!1}return!i(e)&&c(e)}:function(e){if(u(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(s)return c(e);if(i(e))return!1;var t=l.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&c(e)}},48184:(e,t,n)=>{"use strict";var a,r=Object.prototype.toString,o=Function.prototype.toString,i=/^\s*(?:function)?\*/,c=n(49092)(),l=Object.getPrototypeOf;e.exports=function(e){if("function"!=typeof e)return!1;if(i.test(o.call(e)))return!0;if(!c)return"[object GeneratorFunction]"===r.call(e);if(!l)return!1;if(void 0===a){var t=function(){if(!c)return!1;try{return Function("return function*() {}")()}catch(e){}}();a=!!t&&l(t)}return l(e)===a}},13003:e=>{"use strict";e.exports=function(e){return e!=e}},24133:(e,t,n)=>{"use strict";var a=n(10487),r=n(38452),o=n(13003),i=n(76642),c=n(92464),l=a(i(),Number);r(l,{getPolyfill:i,implementation:o,shim:c}),e.exports=l},76642:(e,t,n)=>{"use strict";var a=n(13003);e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:a}},92464:(e,t,n)=>{"use strict";var a=n(38452),r=n(76642);e.exports=function(){var e=r();return a(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}},35680:(e,t,n)=>{"use strict";var a=n(25767);e.exports=function(e){return!!a(e)}},89211:e=>{"use strict";var t=function(e){return e!=e};e.exports=function(e,n){return 0===e&&0===n?1/e==1/n:e===n||!(!t(e)||!t(n))}},37653:(e,t,n)=>{"use strict";var a=n(38452),r=n(10487),o=n(89211),i=n(9394),c=n(36576),l=r(i(),Object);a(l,{getPolyfill:i,implementation:o,shim:c}),e.exports=l},9394:(e,t,n)=>{"use strict";var a=n(89211);e.exports=function(){return"function"==typeof Object.is?Object.is:a}},36576:(e,t,n)=>{"use strict";var a=n(9394),r=n(38452);e.exports=function(){var e=a();return r(Object,{is:e},{is:function(){return Object.is!==e}}),e}},28875:(e,t,n)=>{"use strict";var a;if(!Object.keys){var r=Object.prototype.hasOwnProperty,o=Object.prototype.toString,i=n(1093),c=Object.prototype.propertyIsEnumerable,l=!c.call({toString:null},"toString"),s=c.call((function(){}),"prototype"),p=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],u=function(e){var t=e.constructor;return t&&t.prototype===e},d={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!d["$"+e]&&r.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{u(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();a=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===o.call(e),a=i(e),c=t&&"[object String]"===o.call(e),d=[];if(!t&&!n&&!a)throw new TypeError("Object.keys called on a non-object");var h=s&&n;if(c&&e.length>0&&!r.call(e,0))for(var y=0;y<e.length;++y)d.push(String(y));if(a&&e.length>0)for(var m=0;m<e.length;++m)d.push(String(m));else for(var v in e)h&&"prototype"===v||!r.call(e,v)||d.push(String(v));if(l)for(var g=function(e){if("undefined"==typeof window||!f)return u(e);try{return u(e)}catch(e){return!1}}(e),b=0;b<p.length;++b)g&&"constructor"===p[b]||!r.call(e,p[b])||d.push(p[b]);return d}}e.exports=a},1189:(e,t,n)=>{"use strict";var a=Array.prototype.slice,r=n(1093),o=Object.keys,i=o?function(e){return o(e)}:n(28875),c=Object.keys;i.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return r(e)?c(a.call(e)):c(e)})}else Object.keys=i;return Object.keys||i},e.exports=i},1093:e=>{"use strict";var t=Object.prototype.toString;e.exports=function(e){var n=t.call(e),a="[object Arguments]"===n;return a||(a="[object Array]"!==n&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),a}},38403:(e,t,n)=>{"use strict";var a=n(1189),r=n(41333)(),o=n(38075),i=Object,c=o("Array.prototype.push"),l=o("Object.prototype.propertyIsEnumerable"),s=r?Object.getOwnPropertySymbols:null;e.exports=function(e,t){if(null==e)throw new TypeError("target must be an object");var n=i(e);if(1===arguments.length)return n;for(var o=1;o<arguments.length;++o){var p=i(arguments[o]),u=a(p),d=r&&(Object.getOwnPropertySymbols||s);if(d)for(var f=d(p),h=0;h<f.length;++h){var y=f[h];l(p,y)&&c(u,y)}for(var m=0;m<u.length;++m){var v=u[m];if(l(p,v)){var g=p[v];n[v]=g}}}return n}},11514:(e,t,n)=>{"use strict";var a=n(38403);e.exports=function(){return Object.assign?function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),n={},a=0;a<t.length;++a)n[t[a]]=t[a];var r=Object.assign({},n),o="";for(var i in r)o+=i;return e!==o}()||function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch(t){return"y"===e[1]}return!1}()?a:Object.assign:a}},76578:e=>{"use strict";e.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},65606:e=>{var t,n,a=e.exports={};function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===r||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:r}catch(e){t=r}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(e){n=o}}();var c,l=[],s=!1,p=-1;function u(){s&&c&&(s=!1,c.length?l=c.concat(l):p=-1,l.length&&d())}function d(){if(!s){var e=i(u);s=!0;for(var t=l.length;t;){for(c=l,l=[];++p<t;)c&&c[p].run();p=-1,t=l.length}c=null,s=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function h(){}a.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new f(e,t)),1!==l.length||s||i(d)},f.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=h,a.addListener=h,a.once=h,a.off=h,a.removeListener=h,a.removeAllListeners=h,a.emit=h,a.prependListener=h,a.prependOnceListener=h,a.listeners=function(e){return[]},a.binding=function(e){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},993:e=>{e.exports='function _typeof(o) { "@babel/helpers - typeof"; return _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; }, _typeof(o); }\n/**\n * Representa nuestra cabecera de texto\n * Recibe un json con las opciones\n */\nfunction CabeceraTexto(idModulo, divPlantilla, idiomaActual, idiomaPrincipal, tam, alto, modo, bullet, arrow, progressbar, diapositivas, capasHtml) {\n this.idModulo = idModulo;\n this.divPlantilla = divPlantilla;\n this.idiomaActual = idiomaActual;\n this.idiomaPrincipal = idiomaPrincipal;\n tam = JSON.parse(tam);\n this.tamOrdenador = tam["fa-laptop"];\n this.tamTablet = tam["fa-tablet"];\n this.tamMovil = tam["fa-mobile"];\n alto = JSON.parse(alto);\n this.altoOrdenador = alto["fa-laptop"];\n this.altoTablet = alto["fa-tablet"];\n this.altoMovil = alto["fa-mobile"];\n modo = JSON.parse(modo);\n this.modoOrdenador = MODO_RELLENADO[modo["fa-laptop"]];\n this.modoTablet = MODO_RELLENADO[modo["fa-tablet"]];\n this.modoMovil = MODO_RELLENADO[modo["fa-mobile"]];\n this.tipoBullet = SKINS_BULLETS[bullet];\n this.tipoFlecha = SKINS_FLECHAS[arrow];\n this.progressbar = progressbar;\n this.diapositivas = $.parseJSON(diapositivas);\n this.cabeceraJjsor = null;\n this.esMovil = $(window).width() <= 767;\n this.capasHtml = capasHtml;\n this.toString = function () {\n return \'cabecera (\' + JSON.stringify(this) + \') to string\';\n };\n this.setIdiomaActual = function (idioma) {\n this.idiomaActual = idioma;\n };\n\n /**\n * Crea un slider dentro del elemento indicado\n */\n this.instanciarEn = function (idElementoPadre, vista) {\n if (typeof vista == \'undefined\') {\n vista = 0;\n }\n return new CabeceraJjsor(idElementoPadre, this.idModulo, this.tamOrdenador, this.tamTablet, this.tamMovil, this.altoOrdenador, this.altoTablet, this.altoMovil, this.modoRellenado, this.modoOrdenador, this.modoTablet, this.modoMovil, this.tipoBullet, this.tipoFlecha, this.progressbar, this.diapositivas, this.idiomaActual, this.idiomaPrincipal, this.divPlantilla, this.capasHtml, vista);\n };\n}\n//\n/* */\n//\nvar MODO_RELLENADO = {\n "ajustar": 0,\n "original": 1,\n "recortar": 2\n};\nvar SKINS_BULLETS = {\n "none": "none",\n "circulos-blancos": "jssorb031",\n "circulos-negros": "jssorb032",\n "cuadrados-blancos": "jssorb035",\n "cuadrados-negros": "jssorb036"\n};\nvar SKINS_FLECHAS = {\n "none": "none",\n "flecha-fina-negra": "jssora052",\n "flecha-fina-blanca": "jssora053",\n "flecha-gruesa-blanca": "jssora071",\n "flecha-gruesa-negra": "jssora072",\n "flecha-cuadro-blanca": "jssora081",\n "flecha-cuadro-negra": "jssora082",\n "flecha-circulo-blanca": "jssora093",\n "flecha-circulo-negra": "jssora094"\n};\n/**\n* A partir de una url de un vÃdeo de youtube o vimeo devuelve información sobre el mismo\n* @param string url \n* Supported YouTube URL formats:\n* - http://www.youtube.com/watch?v=My2FRPA3Gf8\n* - http://youtu.be/My2FRPA3Gf8\n* - https://youtube.googleapis.com/v/My2FRPA3Gf8\n* Supported Vimeo URL formats:\n* - http://vimeo.com/25451551\n* - http://player.vimeo.com/video/25451551\n* Also supports relative URLs:\n* - player.vimeo.com/video/25451551\n* @return object: objeto con propiedades type ("youtube" o "vimeo") e id (id del vÃdeo)\n*/\nfunction parseVideo(url) {\n url.match(/(http:|https:|)\\/\\/(player.|www.)?(vimeo\\.com|youtu(be\\.com|\\.be|be\\.googleapis\\.com))\\/(video\\/|embed\\/|watch\\?v=|v\\/)?([A-Za-z0-9._%-]*)(\\&\\S+)?/);\n if (RegExp.$3.indexOf(\'youtu\') > -1) {\n var type = \'youtube\';\n } else if (RegExp.$3.indexOf(\'vimeo\') > -1) {\n var type = \'vimeo\';\n }\n return {\n type: type,\n id: RegExp.$6\n };\n}\n/**\n * Remplaza caracteres especiales de un string\n */\nfunction slugify(text) {\n return text.toString().toLowerCase().trim().replace(/[à áâãäå]/g, \'a\') // separate accent from letter\n .replace(/[æ]/g, \'ae\') // separate accent from letter\n .replace(/[ç]/g, \'c\') // separate accent from letter\n .replace(/[èéêë]/g, \'e\') // separate accent from letter\n .replace(/[ìÃîï]/g, \'i\') // separate accent from letter\n .replace(/[ñ]/g, \'n\') // separate accent from letter\n .replace(/[òóôõö]/g, \'o\') // separate accent from letter\n .replace(/[Å]/g, \'oe\') // separate accent from letter\n .replace(/[ùúûü]/g, \'u\') // separate accent from letter\n .replace(/[ýÿ]/g, \'y\') // separate accent from letter\n .replace(/[\\u0300-\\u036f]/g, \'\') // remove all separated accents\n .replace(/\\s+/g, \'-\') // replace spaces with -\n .replace(/&/g, \'-and-\') // replace & with \'and\'\n .replace(/[^\\w\\-]+/g, \'\') // remove all non-word chars\n .replace(/\\-\\-+/g, \'-\'); // replace multiple \'-\' with single \'-\'\n}\n/**\n* Permite instanciar sliders de la librerÃa jjsor (front)\n*/\nfunction CabeceraJjsor(idElementoPadre, idModulo, tamOrdenador, tamTablet, tamMovil, altoOrdenador, altoTablet, altoMovil, modoRellenado, modoOrdenador, modoTablet, modoMovil, tipoBullet, tipoFlecha, progressbar, diapositivas, idiomaActual, idiomaPrincipal, divPlantilla, capasHtml, vista) {\n this.idElementoPadre = idElementoPadre;\n this.idElemento = idElementoPadre + "_slider";\n this.tamOrdenador = tamOrdenador;\n this.tamTablet = tamTablet;\n this.tamMovil = tamMovil;\n this.altoOrdenador = altoOrdenador;\n this.altoTablet = altoTablet;\n this.altoMovil = altoMovil;\n this.modoRellenado = modoRellenado;\n this.modoOrdenador = modoOrdenador;\n this.modoTablet = modoTablet;\n this.modoMovil = modoMovil;\n this.tipoBullet = tipoBullet;\n this.tipoFlecha = tipoFlecha;\n this.progressbar = progressbar;\n this.diapositivas = diapositivas;\n if ($("#seleccDispositivo")) {\n if ($("#seleccDispositivo button.btn-accesive").data("dispositivo") == "movil") {\n this.versionMovil = true;\n this.versionTablet = false;\n this.versionOrdenador = false;\n } else if ($("#seleccDispositivo button.btn-accesive").data("dispositivo") == "tablet") {\n this.versionMovil = false;\n this.versionTablet = true;\n this.versionOrdenador = false;\n } else {\n this.versionMovil = false;\n this.versionTablet = false;\n this.versionOrdenador = true;\n }\n } else {\n this.versionMovil = $(window).width() <= 767;\n this.versionTablet = $(window).width() <= 1024 && $(window).width() > 767;\n this.versionOrdenador = $(window).width() > 1024;\n }\n this.videos = {};\n this.videoApiCargada = false;\n this.capasCount = 0;\n this.idiomaActual = idiomaActual;\n this.idiomaPrincipal = idiomaPrincipal;\n this.divPlantilla = divPlantilla;\n this.capasHtml = capasHtml;\n this.vista = vista;\n this.generarAnimacionDiapo = function (diapositiva) {\n switch (diapositiva.animacion) {\n case "fade":\n return {\n $Duration: parseInt(diapositiva.duracion),\n $Opacity: 2\n };\n case "slide-up":\n return {\n $Duration: parseInt(diapositiva.duracion),\n y: -1,\n $Easing: $Jease$.$InQuad\n };\n case "slide-down":\n return {\n $Duration: parseInt(diapositiva.duracion),\n y: 1,\n $Easing: $Jease$.$InQuad\n };\n case "slide-left":\n return {\n $Duration: parseInt(diapositiva.duracion),\n x: -1,\n $Easing: $Jease$.$InQuad\n };\n case "slide-right":\n return {\n $Duration: parseInt(diapositiva.duracion),\n x: 1,\n $Easing: $Jease$.$InQuad\n };\n case "zoom-in":\n return {\n $Duration: parseInt(diapositiva.duracion),\n $Zoom: 11,\n $Easing: {\n $Zoom: $Jease$.$InCubic,\n $Opacity: $Jease$.$OutQuad\n },\n $Opacity: 2\n };\n case "zoom-out":\n return {\n $Duration: parseInt(diapositiva.duracion),\n $Zoom: 11,\n $SlideOut: true,\n $Easing: {\n $Zoom: $Jease$.$InExpo,\n $Opacity: $Jease$.$Linear\n },\n $Opacity: 2\n };\n case "horizontal-blind-stripe":\n return {\n $Duration: parseInt(diapositiva.duracion),\n $Delay: 50,\n $Rows: 7,\n $Clip: 4,\n $Formation: $JssorSlideshowFormations$.$FormationStraight\n };\n case "vertical-blind-stripe":\n return {\n $Duration: parseInt(diapositiva.duracion),\n $Delay: 50,\n $Cols: 10,\n $Clip: 2,\n $Formation: $JssorSlideshowFormations$.$FormationStraight\n };\n default:\n return {\n $Duration: 1,\n $Opacity: 1\n };\n }\n };\n this.generarAnimacionCapa = function (capa) {\n var anchoSlider = $("#" + this.idElemento).width(),\n altoSlider = $("#" + this.idElemento).height(),\
2n anchoCapa = Math.ceil(anchoSlider * parseFloat(capa.tamano.x) / 100),\n altoCapa = Math.ceil(altoSlider * parseFloat(capa.tamano.y) / 100),\n posX = parseInt($("#" + this.idElemento).width() * parseFloat(capa.posicion.x) / 100),\n posY = parseInt($("#" + this.idElemento).height() * parseFloat(capa.posicion.y) / 100);\n var xEntrada = 0,\n yEntrada = 0,\n oEntrada = 0,\n tiempoEntrada = 1000,\n xSalida = 0,\n ySalida = 0,\n oSalida = 0,\n tiempoSalida = 1000;\n /* Posiciones iniciales */\n var deslizamientoYTop = posY + altoCapa,\n deslizamientoYBot = posY - altoSlider,\n deslizamientoXLeft = posX + anchoCapa,\n deslizamientoXRight = posX - anchoSlider;\n switch (capa.entrada) {\n case "none":\n oEntrada = -1;\n tiempoEntrada = 10;\n break;\n case "instant":\n oEntrada = -1;\n tiempoEntrada = 10;\n break;\n case "fade":\n oEntrada = -1;\n tiempoEntrada = 1000;\n break;\n case "corto-arriba":\n yEntrada = deslizamientoYTop;\n tiempoEntrada = 500;\n break;\n case "largo-arriba":\n yEntrada = deslizamientoYTop;\n tiempoEntrada = 1500;\n break;\n case "corto-abajo":\n yEntrada = deslizamientoYBot;\n tiempoEntrada = 500;\n break;\n case "largo-abajo":\n yEntrada = deslizamientoYBot;\n tiempoEntrada = 1500;\n break;\n case "corto-izquierda":\n xEntrada = deslizamientoXLeft;\n tiempoEntrada = 500;\n break;\n case "largo-izquierda":\n xEntrada = deslizamientoXLeft;\n tiempoEntrada = 1500;\n break;\n case "corto-derecha":\n xEntrada = deslizamientoXRight;\n tiempoEntrada = 500;\n break;\n case "largo-derecha":\n xEntrada = deslizamientoXRight;\n tiempoEntrada = 1500;\n break;\n default:\n break;\n }\n capa.salida = capa.salida == "same" ? capa.entrada : capa.salida;\n switch (capa.salida) {\n case "none":\n oSalida = -1;\n tiempoSalida = 10;\n break;\n case "instant":\n oSalida = -1;\n tiempoSalida = 10;\n break;\n case "fade":\n oSalida = -1;\n tiempoSalida = 1000;\n break;\n case "corto-arriba":\n ySalida = deslizamientoYTop;\n tiempoSalida = 500;\n break;\n case "largo-arriba":\n ySalida = deslizamientoYTop;\n tiempoSalida = 1500;\n break;\n case "corto-abajo":\n ySalida = deslizamientoYBot;\n tiempoSalida = 500;\n break;\n case "largo-abajo":\n ySalida = deslizamientoYBot;\n tiempoSalida = 1500;\n break;\n case "corto-derecha":\n xSalida = deslizamientoXRight;\n tiempoSalida = 500;\n break;\n case "largo-derecha":\n xSalida = deslizamientoXRight;\n tiempoSalidalerta = 1500;\n break;\n case "corto-izquierda":\n xSalida = deslizamientoXLeft;\n tiempoSalida = 500;\n break;\n case "largo-izquierda":\n xSalida = deslizamientoXLeft;\n tiempoSalida = 1500;\n break;\n default:\n break;\n }\n posicionInicial = {\n b: -1,\n d: 1,\n x: -xEntrada,\n y: -yEntrada,\n o: oEntrada\n };\n animacionEntrada = {\n b: parseInt(capa.comienzo),\n d: tiempoEntrada,\n x: xEntrada,\n y: yEntrada,\n o: -oEntrada\n };\n animacionSalida = {\n b: parseInt(capa.comienzo) + parseInt(capa.duracion) + parseInt(tiempoEntrada),\n d: tiempoSalida,\n x: -xSalida,\n y: -ySalida,\n o: oSalida\n };\n if (capa.duracion == 0) {\n animacionSalida = {\n b: parseInt(capa.comienzo) + parseInt(capa.duracion) + parseInt(tiempoEntrada),\n d: 1,\n x: 0,\n y: 0,\n o: 0\n };\n }\n animacion = [posicionInicial, animacionEntrada, animacionSalida];\n return animacion;\n };\n this.getOpciones = function () {\n var animacionesCapas = [];\n var that = this;\n $.each(this.diapositivas, function (index, diapositiva) {\n if (diapositiva.activa && diapositiva.tipo == "0") {\n $.each(diapositiva.capas, function (index, capa) {\n if (that.capaActiva(capa) && that.mostrarCapa(diapositiva, capa) && c
2apa.comienzo != undefined) {\n animacionesCapas.push(that.generarAnimacionCapa(capa));\n }\n });\n }\n });\n var animacionesDiapositivas = [];\n $.each(this.diapositivas, function (index, diapositiva) {\n if (diapositiva.activa && diapositiva.tipo == 0) {\n animacionesDiapositivas.push(that.generarAnimacionDiapo(diapositiva));\n }\n });\n return {\n $AutoPlay: this.vista != 3 ? 1 : 0,\n $DragOrientation: Object.keys(this.diapositivas).length > 1 ? 1 : 0,\n //si solo hay una diapositiva se desactiva el drag\n $PauseOnHover: 0,\n $Idle: 0,\n $FillMode: this.versionOrdenador ? this.modoOrdenador : this.versionTablet ? this.modoTablet : this.modoMovil,\n //$SlideHeight: "auto",\n //$SlideWidth: "auto",\n $LazyLoading: 0,\n $SlideshowOptions: {\n $Class: $JssorSlideshowRunner$,\n $Transitions: animacionesDiapositivas,\n $TransitionsOrder: 1\n },\n $CaptionSliderOptions: {\n $Class: $JssorCaptionSlideo$,\n $Transitions: animacionesCapas,\n $Breaks: [[{\n d: 2000,\n b: 1000\n }]]\n },\n $BulletNavigatorOptions: {\n //[Optional] Options to specify and enable bullet navigator\n $Class: $JssorBulletNavigator$,\n $ChanceToShow: 2,\n $ActionMode: 1,\n $Steps: 1,\n $Rows: 1,\n $SpacingX: 0,\n $SpacingY: 0,\n $Orientation: 1\n },\n $ArrowNavigatorOptions: {\n //[Optional] Options to specify and enable arrow navigator or not\n $Class: $JssorArrowNavigator$,\n $ChanceToShow: 2,\n $Steps: 1\n }\n };\n };\n this.crearHtml = function () {\n var that = this;\n var elementoPadre = $("#" + this.idElementoPadre); //contenedor del módulo\n elementoPadre.css("left", "0");\n var ancho = this.calculaAncho();\n var alto = this.calculaAlto();\n var position = \'relative\';\n var zona = undefined;\n var top = "0px";\n var left = "0px";\n //slider\n elementoPadre.append("<div id=\'" + this.idElemento + "\' style=\'" + /*(this.vista == 3?"":"pointer-events:none;")+*/"position: " + position + "; top: 0px; left: 0px; width: " + ancho + "px;height: " + alto + "px;z-index: 98\'></div>");\n var elemento = $("#" + this.idElemento);\n elemento.append(\'<div u="slides" style="position: absolute; left: 0px; top: 0px; width: \' + ancho + \'px; height: \' + alto + \'px;overflow: hidden;"></div>\');\n var slides = $("#" + this.idElemento + " div[u=\'slides\']");\n var that = this;\n $.each(this.diapositivas, function (index, diapositiva) {\n if (diapositiva.activa) {\n slides.append(that.crearDiapositiva(diapositiva, index));\n }\n });\n if (this.vista != 3) {\n if (this.progressbar) {\n slides.append(\'<div id="progress-element" u="progress" style="position: absolute; left: 0; top: 5px; width: 0%; height: 5px; background-color: rgba(255,255,255,0.7); z-index: 100;"></div>\');\n }\n elemento.append(this.getFlechasNavegacionHtml());\n }\n elemento.append(this.getNavegadorHtml());\n this.ajustarImagenes();\n this.generarVideos();\n this.ajustarTextos();\n //no se muestran enlaces en el previsualizador\n if (that.vista == 3 || that.vista == 1) {\n $("#" + this.idElemento + " a").click(function (e) {\n e.preventDefault();\n });\n }\n var that = this;\n };\n this.ajustarTextos = function () {\n // textfill: adaptar textos al contenedor\n $(".capa-texto.ajustar").each(function () {\n contenedor = $(this);\n span = $(this).find("span");\n contenedor.css("display", "block");\n ancho = contenedor.width();\n anchoCapa = span.width();\n alto = contenedor.height();\n altoCapa = span.height();\n if (anchoCapa > ancho || altoCapa > alto) {\n contenedor.css("line-height", "inherit");\n contenedor.textfill({\n maxFontPixels: 500,\n complete: function complete() {\n contenedor.css("display", "table");\n contenedor.css("line-height", 1.42);\n }\n });\n } else {\n contenedor.css("display", "table");\n }\n });\n };\n this.ajustarImagenes = function () {\n $(".capa-imagen img").each(function () {\n $(this).load(function () {\n var anadirClase = false;\n // comprueba si la imagen original es "más horizontal" o "más vertical" que la capa imagen en la que se encuentra\n var naturalProp = parseInt($(this).get(0).naturalWi
2dth) / parseInt($(this).get(0).naturalHeight);\n var actualProp = parseInt($(this).parent().width()) / parseInt($(this).parent().height());\n if (naturalProp > actualProp) {\n $(this).addClass("horizontal");\n } else if (naturalProp < actualProp) {\n $(this).addClass("vertical");\n } else {\n anadirClase = true;\n }\n // centra horizontal y verticalmente las imágenes dentro de su capa\n if ($(this).hasClass("horizontal") && $(this).hasClass("original") || $(this).hasClass("vertical") && $(this).hasClass("recortar")) {\n var altoContenedor = parseInt($(this).parent().height());\n var altoImg = $(this).height();\n if (altoImg) {\n // a veces le cuesta cargar el alto de la imagen\n var top = altoContenedor / 2 - altoImg / 2;\n $(this).css("top", top);\n } else {\n setTimeout(function () {\n // intenta coger el alto de la imagen una segunda vez tras 1 segundo\n altoImg = $(this).height();\n if (altoImg) {\n var top = altoContenedor / 2 - altoImg / 2;\n $(this).css("top", top);\n }\n }, 1000);\n }\n } else if ($(this).hasClass("horizontal") && $(this).hasClass("recortar") || $(this).hasClass("vertical") && $(this).hasClass("original")) {\n var anchoContenedor = parseInt($(this).parent().width());\n var anchoImg = $(this).width();\n var left = anchoContenedor / 2 - anchoImg / 2;\n $(this).css("left", left);\n }\n if (anadirClase) {\n $(this).addClass("horizontal");\n }\n });\n });\n };\n this.generarVideos = function () {\n var that = this;\n try {\n $(".yt_video").each(function () {\n var player;\n var idDiv = $(this).attr("id");\n player = new YT.Player(idDiv, {\n videoId: $(this).attr("data-video"),\n playerVars: {\n \'autoplay\': 0,\n \'controls\': 0,\n \'modestbranding\': 0,\n \'rel\': 0,\n \'showinfo\': 0,\n \'loop\': 1\n },\n events: {\n \'onReady\': onPlayerReady,\n \'onStateChange\': onPlayerStateChange\n }\n });\n function onPlayerReady(e) {\n that.videoApiCargada = true;\n }\n function onPlayerStateChange(e) {\n if (e.data === YT.PlayerState.ENDED) {\n e.target.play;\n }\n }\n $("#" + idDiv).css("pointer-events", "none");\n player.reproduciendo = false;\n if ($(this).attr("data-tipo-diapo") == 1) {\n //Es un vÃdeo de CTA\n var diaposExcluidas = $(this).attr("data-excluidas");\n //No hay diapositivas excluidas\n if (diaposExcluidas == "none") {\n player.diapo = \'all\';\n that.videos[$(this).attr("data-video") + $(this).attr("data-capa") + "all"] = player;\n } else {\n player.diapo = \'hasExcluidas\';\n player.excluidas = diaposExcluidas.split(",");\n that.videos[$(this).attr("data-video") + $(this).attr("data-capa") + "excluidas" + diaposExcluidas.replace(",", "-")] = player;\n }\n } else {\n player.diapo = $(this).attr("data-diapo");\n that.videos[$(this).attr("data-video") + $(this).attr("data-capa") + $(this).attr("data-diapo")] = player;\n }\n });\n $(".vim_video").each(function () {\n var player;\n var idDiv = $(this).attr("id");\n var divWidth = $(this).css("width").slice(0, -2);\n var divHeight = $(this).css("height").slice(0, -2);\n player = new Vimeo.Player(idDiv, {\n autoplay: true,\n background: true,\n maxwidth: divWidth,\n maxheight: divHeight,\n loop: false,\n id: $(this).attr("data-video"),\n muted: true,\n autopause: false,\n portrait: false\n });\n $("#" + idDiv).css("pointer-events", "none");\n player.reproduciendo = false;\n if ($(this).attr("data-tipo-diapo") == 1) {\n //Es un vÃdeo de CTA\n var diaposExcluidas = $(this).attr("data-excluidas");\n //No hay diapositivas excluidas\n if (diaposExcluidas == "none") {\n player.diapo = \'all\';\n that.videos[$(this).attr("data-video") + $(this).attr("data-capa") + "all"] = player;\n } else {\n player.diapo = \'hasExcluidas\';\n player.excluidas = diaposExcluidas.split(",");\n that.videos[$(this).attr("data-video") + $(this).attr("data-capa") + "excluidas" + diaposExcluidas.replace(",", "-")] = player;\n }\n } else {\n player.diapo = $(this).attr("data-diapo");\n that.videos[$(this).attr("data-video") + $(this).attr("data-capa") + $(this).attr("data-diapo")] = player;\n }\n });\n } catch (err) {\n console.error("TY.Player error -> " + err);\n if (that.queue5) clearTimeout(that.queue5);\n that.queue5 = setTimeout(function () {\n that.generarVideos();\n }, 50);\n return;\n }\n };\n\n /**\n * Devuelve el valor en el idioma actual de un campo json translatable\n * Ejemplos (idioma actual "en", idioma principal "es")\n * Devuelve "HELLO"
2con un json {\'es\':\'HOLA\', \'en\':\'HELLO\'} (encuentra el idioma actual)\n * Devuelve "HOLA" con un json {\'es\':\'HOLA\'} (no encuentra el idioma actual, devuelve el valor del idioma principal)\n * Devuelve "HOLA" con texto simple "HOLA" (no es un json)\n */\n this.getTranslatedValue = function (json) {\n var value = "";\n if (typeof json != \'undefined\') {\n value = typeof json[this.idiomaActual] == \'undefined\' ? json : json[this.idiomaActual];\n value = _typeof(value) == "object" && typeof value[this.idiomaPrincipal] != "undefined" ? json[this.idiomaPrincipal] : value;\n value = _typeof(value) == "object" && typeof value["es"] != "undefined" ? json["es"] : value;\n }\n return value;\n };\n\n /**\n * En el caso de que la altura de la cabecera en la que se ha instalado supere un tanto porciento (inicialmente 30%)\n * Se redimensionará y posicionará simulando que el cta estuviera en una cabecera del 30% de alto\n * Quedando centrada verticalmente en el centro de la cabecera\n */\n this.fixCtas = function (capaOrig, anch
2oSlider, altoSlider) {\n var capa = objectClone(capaOrig);\n var alturaMaximaCtas = that.versionOrdenador ? 0.3 : 0.4; // 30% para ordenador, 40% para ctas\n var reduccion = anchoSlider * alturaMaximaCtas / altoSlider; // % que se tiene que reducir la altura de la capa para simular que la altura fuera del 30%\n var desviacion = (1 - reduccion) / 2 * 100; // % que se tiene que desplazar la capa hacia abajo para aparecer centrada\n capa.tamano.y = parseFloat(capa.tamano.y) * reduccion;\n capa.posicion.y = parseFloat(capa.posicion.y) * reduccion + desviacion;\n return capa;\n };\n this.crearDiapositiva = function (diapositiva, idDiapo) {\n anchoSlider = $("#" + this.idElemento).width();\n altoSlider = $("#" + this.idElemento).height();\n var idioma = this.idiomaActual;\n if (diapositiva.tipo == 1) {\n var html = \'<div class="\' + diapositiva["clase_general"] + \'" u="any" style="width:100%;position:absolute; z-index:2" data-uniqid="\' + diapositiva.uniqid + \'">\';\n } else {\n var html = \'<div class= \' + diapositiva["clase_general"] + \' style="width:100%">\';\n //fondo diapositiva\n var src = \'src="/bundles/frontend/cab_text_resp_plugin/assets/transparentImg.png"\';\n var estiloFondo = "";\n var fondo = diapositiva.fondo[idioma] ? diapositiva.fondo[idioma] : diapositiva.fondo;\n var pie = idioma in diapositiva["pie_fondo"] ? diapositiva["pie_fondo"][idioma] : diapositiva["pie_fondo"];\n if (fondo.src != undefined && fondo.src != "") {\n src = \'data-src2="\' + this.urlImagenOptimizada(anchoSlider, fondo) + \'"\';\n }\n if (fondo.fondocolor != undefined) {\n estiloFondo = "style=\\"background:" + fondo.fondocolor + ";height:" + altoSlider + "px\\"";\n }\n html += \'<div class="fondoDiapo" \' + estiloFondo + \'></div>\';\n html += \'<img u="image" \' + src + (pie ? \' alt="\' + pie + \'"\' : \'alt\') + \' />\';\n }\n that = this;\n $.each(diapositiva.capas, function (index, capaOrig) {\n if (that.capaActiva(capaOrig) && that.mostrarCapa(diapositiva, capaOrig)) {\n var capa = null;\n if (diapositiva.tipo == 1 && altoSlider > anchoSlider * 0.30 && !that.versionMovil) {\n // los ctas no pueden superar el 30% de altura en pc y estarán centrados verticalmente\n capa = that.fixCtas(capaOrig, anch
2oSlider, altoSlider);\n } else {\n capa = capaOrig;\n }\n var posY = parseInt(capa.posicion.y * altoSlider * 0.01);\n var posX = parseInt(capa.posicion.x * anchoSlider * 0.01);\n var alto = parseInt(capa.tamano.y * altoSlider * 0.01);\n var ancho = parseInt(capa.tamano.x * anchoSlider * 0.01);\n var capaHtml = that.capasHtml[slugify(capa.tipo)];\n /* PROPIEDADES GENERICAS */\n capaHtml = capaHtml.replace(/__idCapa__/g, index);\n capaHtml = capaHtml.replace(/__extra__/g, capa[\'clases_extra\']);\n //indica qué animación de capa le corresponde. Quitar el atributo data-t implica que la capa no se anime \n if (capa.entrada == "none" && (capa.salida == "none" || capa.salida == "same") || diapositiva.tipo == 1) {\n capaHtml = capaHtml.replace(/data-t="__capasCount__"/g, \'\');\n that.capasCount++;\n } else {\n capaHtml = capaHtml.replace(/__capasCount__/g, that.capasCount++);\n }\n /* PROPIEDADES TEXTO y BOTÃN */\n if (capa[\'nombre\'] == "capaHidden") {\n capaHtml = capaHtml.replace(/__texto__/g, "");\n } else {\n capaHtml = capaHtml.replace(/__texto__/g, that.getTranslatedValue(capa[\'texto\']));\n }\n capaHtml = capaHtml.replace(/__posX__/g, posX);\n capaHtml = capaHtml.replace(/__posY__/g, posY);\n capaHtml = capaHtml.replace(/__color__/g, capa[\'color\']);\n capaHtml = capaHtml.replace(/__colorFondo__/g, capa[\'colorfondo\']);\n capaHtml = capaHtml.replace(/__sombra__/g, capa[\'sombra\']);\n capaHtml = capaHtml.replace(/__colorSombra__/g, capa[\'colorsombra\']);\n capaHtml = capaHtml.replace(/__borde__/g, capa[\'borde\']);\n capaHtml = capaHtml.replace(/__espaciado__/g, parseFloat(capa[\'espaciado\']) * anchoSlider);\n capaHtml = capaHtml.replace(/__tamTexto__/g, parseFloat(capa[\'tamtexto\']) * anchoSlider);\n capaHtml = capaHtml.replace(/__ajustar__/g, capa[\'ajustar_texto\'] ? "ajustar" : "no-ajustar");\n capaHtml = capaHtml.replace(/__tipoEtiqueta__/g, capa[\'ajustar_texto\'] ? "span" : "em");\n capaHtml = capaHtml.replace(/__fuente__/g, capa[\'fuente\']);\n capaHtml = capaHtml.replace(/__alineacionVerTexto__/g, capa[\'alineacionVerTexto\']);\n capaHtml = capaHtml.replace(/__alineacionHorTexto__/g, capa[\'alineacionHorTexto\']);\n /* BOTÃN */\n if (typeof capa[\'tamboton\'] != \'undefined\' && (typeof capa[\'invisible\'] == \'undefined\' || !capa[\'invisible\'])) {\n var paddingTopBot = capa[\'tamboton\'].split(" ")[0];\n var paddingLeftRight = capa[\'tamboton\'].split(" ")[1];\n capaHtml = capaHtml.replace(/__tamBoton__/g, parseFloat(paddingTopBot) * anchoSlider + "px " + parseFloat(paddingLeftRight) * anchoSlider + "px");\n capaHtml = capaHtml.replace(/__ancho__px/g, "auto");\n capaHtml = capaHtml.replace(/__alto__px/g, "auto");\n } else {\n var ancho = parseInt(capa.tamano.x * anchoSlider / 100);\n capaHtml = capaHtml.replace(/__ancho__/g, ancho);\n var alto = parseInt(capa.tamano.y * altoSlider / 100);\n capaHtml = capaHtml.replace(/__alto__/g, alto);\n }\n //Si una capa contenedora no tiene configurado enlace se únicamente el elemento <a>, pero no lo que haya adentro del <a></a>\n if (capa[\'tipo\'] == "contenedor" && typeof capa[\'enlace\'] != \'undefined\' && capa[\'enlace\']["modo"] == "0") {\n capaHtml = capaHtml.replace(/<a[^>]*>/, ""); //Elimino=> <a codigo que vaya aquÃ>\n capaHtml = capaHtml.replace(/<\\/a>/, ""); //Elimino=> </a> \n }\n var target = typeof capa[\'enlace\'] == \'undefined\' ? "" : capa[\'enlace\'][\'target\'];\n capaHtml = capaHtml.replace(/__target__/g, target);\n var nofollow = typeof capa[\'enlace\'] == \'undefined\' ? "" : "rel=\\"nofollow\\"";\n capaHtml = capaHtml.replace(/__nofollow__/g, nofollow);\n url = typeof capa[\'enlace\'] == \'undefined\' ? "" : capa[\'enlace\'][\'url\'];\n capaHtml = capaHtml.replace(/__url__/g, url);\n var tipoCapa = typeof capa[\'invisible\'] == \'undefined\' || !capa[\'invisible\'] ? "capa-boton" : that.vista == 3 ? "capaDiv capa-invisible enEditor" : "capaDiv capa-invisible";\n capaHtml = capaHtml.replace(/__tipoCapa__/g, tipoCapa);\n //capa imagen\n capaHtml = capaHtml.replace(/__alt__/g, that.getTranslatedValue(capa[\'pie\']));\n var imagen = that.getTranslatedValue(capa[\'imagen\']);\n capaHtml = capaHtml.replace(/__fondocolor__/g, imagen[\'fondocolor\']);\n if (diapositiva.tipo == 1) {\n // los ctas no tienen imánenes optimizadas\n capaHtml = capaHtml.replace(/data-src2/g, "src");\n capaHtml = capaHtml.replace(/__src__/g, imagen["src"] == "" ? "/bundles/frontend/cab_text_resp_plugin/assets/transparentImg.png" : imagen["src"]);\n } else {\n var urlOptimizada = that.urlImagenOptimizada(ancho, imagen);\n if (urlOptimizada == "" || typeof urlOptimizada == "undefined") {\n capaHtml = capaHtml.replace(/__src__/g, "/bundles/frontend/cab_text_resp_plugin/assets/transparentImg.png");\n capaHtml = capaHtml.replace(/data-src2/g, "src");\n } else {\n capaHtml = capaHtml.replace(/__src__/g, urlOptimizada);\n if (diapositiva.tipo == 1) {\n capaHtml = capaHtml.replace(/data-src2/g, "src");\n }\n }\n }\n if (typeof capa[\'trama\'] != \'undefined\') {\n var gridtile = "";\n switch (capa[\'trama\']) {\n case "tramaClara":\n gridtile = "rgba(255,255,255,0.2)";\n break;\n case "tramaOscura":\n gridtile = "rgba(0,0,0,0.2)";\n break;\n case "tramaAmarillo10":\n gridtile = "rgba(236,224,59,0.1)";\n break;\n case "tramaAmarillo20":\n gridtile = "rgba(236,224,59,0.2)";\n break;\n case "tramaAmarillo30":\n gridtile = "rgba(236,224,59,0.3)";\n break;\n case "tramaAmarillo50":\n gridtile = "rgba(236,224,59,0.5)";\n break;\n case "tramatramaAzul10":\n gridtile = "rgba(0,0,255,0.1)";\n break;\n case "tramaAzul20":\n gridtile = "rgba(0,0,255,0.2)";\n break;\n case "tramaAzul30":\n gridtile = "rgba(0,0,255,0.3)";\n break;\n case "tramaAzul50":\n gridtile = "rgba(0,0,255,0.5)";\n break;\n case "tramaBlanco10":\n gridtile = "rgba(255,255,255,0.1)";\n break;\n case "tramaBlanco20":\n gridtile = "rgba(255,255,255,0.2)";\n break;\n case "tramaBlanco30":\n gridtile = "rgba(255,255,255,0.3)";\n break;\n case "tramaBlanco50":\n gridtile = "rgba(255,255,255,0.5)";\n break;\n case "tramaNegro10":\n gridtile = "rgba(0,0,0,0.1)";\n break;\n case "tramaNegro20":\n gridtile = "rgba(0,0,0,0.2)";\n break;\n case "tramaNegro30":\n gridtile = "rgba(0,0,0,0.3)";\n break;\n case "tramaNegro50":\n gridtile = "rgba(0,0,0,0.5)";\n break;\n case "tramaRojo10":\n gridtile = "rgba(255,0,0,0.1)";\n break;\n case "tramaRojo20":\n gridtile = "rgba(255,0,0,0.2)";\n break;\n case "tramaRojo30":\n gridtile = "rgba(255,0,0,0.3)";\n break;\n case "tramaRojo50":\n gridtile = "rgba(255,0,0,0.5)";\n break;\n case "tramaSanguina10":\n gridtile = "rgba(123,66,8,0.1)";\n break;\n case "tramaSanguina20":\n gridtile = "rgba(123,66,8,0.2)";\n break;\n case "tramaSanguina30":\n gridtile = "rgba(123,66,8,0.3)";\n break;\n case "tramaSanguina50":\n gridtile = "rgba(123,66,8,0.5)";\n break;\n case "tramaSepia10":\n gridtile = "rgba(56,44,30,0.1)";\n break;\n case "tramaSepia20":\n gridtile = "rgba(56,44,30,0.2)";\n break;\n case "tramaSepia30":\n gridtile = "rgba(56,44,30,0.3)";\n break;\n case "tramaSepia50":\n gridtile = "rgba(56,44,30,0.5)";\n break;\n case "tramaSienna10":\n gridtile = "rgba(160,82,45,0.1)";\n break;\n case "tramaSienna20":\n gridtile = "rgba(160,82,45,0.2)";\n break;\n case "tramaSienna30":\n gridtile = "rgba(160,82,45,0.3)";\n break;\n case "tramaSienna50":\n gridtile = "rgba(160,82,45,0.5)";\n break;\n case "tramaVerde10":\n gridtile = "rgba(66,143,66,0.1)";\n break;\n case "tramaVerde20":\n gridtile = "rgba(66,143,66,0.2)";\n break;\n case "tramaVerde30":\n gridtile = "rgba(66,143,66,0.3)";\n break;\n case "tramaVerde50":\n gridtile = "rgba(66,143,66,0.5)";\n break;\n default:\n gridtile = "rgba(0,0,0,0)";\n }\n capaHtml = capaHtml.replace(/__gridtile__/g, gridtile);\n }\n if (typeof capa[\'modo_rellenado\'] != \'undefined\') {\n capaHtml = capaHtml.replace(/__modo__/g, capa[\'modo_rellenado\']);\n }\n //capa vÃdeo\n if (typeof capa[\'video\'] != \'undefined\') {\n var video = parseVideo(that.getTranslatedValue(capa[\'video\']));\n var type = "",\n dataId = "";\n switch (video[\'type\']) {\n case "youtube":\n type = "yt_video";
2\n dataId = "data-video=\\"" + video[\'id\'] + "\\"";\n break;\n case "vimeo":\n type = "vim_video";\n dataId = "data-video=\\"" + video[\'id\'] + "\\"";\n break;\n }\n capaHtml = capaHtml.replace(/__type__/g, type);\n capaHtml = capaHtml.replace(/__videoId__/g, video[\'id\']);\n capaHtml = capaHtml.replace(/__dataId__/g, dataId);\n capaHtml = capaHtml.replace(/__idDiapo__/g, idDiapo);\n capaHtml = capaHtml.replace(/__idCapa__/g, index);\n capaHtml = capaHtml.replace(/__tipoDiapo__/g, diapositiva.tipo);\n if (diapositiva.tipo == 1) {\n //Es CTA\n //Añadiendo al elemento las diapositivas excluidas\n if (diapositiva.diaposExcluidas) {\n var diaposAExcluir = "";\n $.each(diapositiva.diaposExcluidas, function (index, idExcluida) {\n diaposAExcluir += idExcluida + ",";\n });\n diaposAExcluir = diaposAExcluir.substring(0, diaposAExcluir.length - 1);\n capaHtml = capaHtml.replace(/__excluidas__/g, diaposAExcluir);\n } else {\n capaHtml = capaHtml.replace(/__excluidas__/g, "none");\n }\n } else {\n capaHtml = capaHtml.replace(/__excluidas__/g, "none");\n }\n }\n capaHtml = capaHtml.replace(/__editable__/g, diapositiva.editable && !capa.privada && (that.vista == 3 || that.vista == 1) ? "capaEditable" : "");\n html += capaHtml;\n }\n });\n html += \'</div>\';\n return html;\n };\n this.capaActiva = function (capa) {\n return that.versionMovil && capa.visibilidad.movil == 1 || that.versionTablet && capa.visibilidad.tablet == 1 || that.versionOrdenador && capa.visibilidad.ordenador == 1;\n };\n\n /**\n * Dice si la capa se tiene que mostrar o no\n * Si junto a una diapositiva hay algún cta visible, solo se muestran las capas tipo imagen\n */\n this.mostrarCapa = function (diapositiva, capa) {\n if (diapositiva.activa != "1") {\n return false;\n }\n if (diapositiva.tipo == "1" || capa.tipo == "imagen" || capa.nombre == "capaHidden") {\n return true;\n }\n var laCabeceraTieneCtas = false; // flag\n var todosLosCtasExcluyenEstaDiapositiva = true; // flag\n $.each(this.diapositivas, function (index, diapo) {\n if (diapo.tipo == "1" && diapo.activa == "1") {\n // por cada cta de la cabecera\n laCabeceraTieneCtas = true;\n var esteCtaExcluyeEstaDiapositiva = false; // flag\n $.each(diapo.diaposExcluidas, function (i, diapoExcluida) {\n if (diapositiva.uniqid == diapoExcluida) {\n esteCtaExcluyeEstaDiapositiva = true;\n }\n });\n if (!esteCtaExcluyeEstaDiapositiva) {\n todosLosCtasExcluyenEstaDiapositiva = false;\n }\n }\n });\n if (laCabeceraTieneCtas && !todosLosCtasExcluyenEstaDiapositiva) {\n return false;\n }\n return true;\n };\n this.getNavegadorHtml = function () {\n //editor\n if (this.vista == 3) {\n this.tipoBullet = "netb001";\n html = \'<div data-u="navigator" class="navigator-v3 \' + this.tipoBullet + (this.versionMovil ? \' movil\' : \'\') + \'" style="pointer-events:initial;position:absolute;bottom:\' + (this.versionMovil ? \'-60px\' : \'-40px\') + \';right:12px;" data-autocenter="1" data-scale="0.5" data-scale-bottom="0.75"><div data-u="prototype" class="i" style="width:40px;height:40px;"><svg viewBox="0 0 16000 16000" style="position:absolute;top:0;left:0;width:100%;height:100%;">\';\n html += \'<rect class="b" x="2200" y="2200" width="11600" height="11600">\';\n html += \'</svg></div></div>\';\n return html;\n }\n //sin bullet\n if (this.tipoBullet == SKINS_BULLETS[\'none\']) {\n return "";\n }\n //bullets\n html = \'<div data-u="navigator" class="\' + this.tipoBullet + \'" style="pointer-events:initial;position:absolute;bottom:12px;right:12px;" data-autocenter="1" data-scale="0.5" data-scale-bottom="0.75"><div data-u="prototype" class="i" style="width:16px;height:16px;"><svg viewBox="0 0 16000 16000" style="position:absolute;top:0;left:0;width:100%;height:100%;">\';\n switch (this.tipoBullet) {\n case SKINS_BULLETS[\'circulos-blancos\']:\n html += \'<circle class="b" cx="8000" cy="8000" r="5800"></circle>\';\n break;\n case SKINS_BULLETS[\'circulos-negros\']:\n html += \'<circle class="b" cx="8000" cy="8000" r="5800"></circle>\';\n break;\n case SKINS_BULLETS[\'cuadrados-blancos\']:\n html += \'<rect class="b" x="2200" y="2200" width="11600" height="11600">\';\n break;\n case SKINS_BULLETS[\'cuadrados-negros\']:\n html += \'<rect class="b" x="2200" y="2200" width="11600" height="11600">\';\n break;\n default:\n html += \'<circle class="b" cx="8000" cy="8000" r="5800"></circle>\';\n break;\n }\n html += \'</svg></div></div>\';\n return html;\n };\n this.getFlechasNavegacionHtml = function () {\n if (this.tipoFlecha == SKINS_FLECHAS[\'none\']) {\n return "";\n }\n html = \'<div data-u="arrowleft" class="\' + this.tipoFlecha + \'" style="width:55px;height:55px;top:0px;
2left:25px;" data-autocenter="2" data-scale="0.75" data-scale-left="0.75"><svg viewBox="0 0 16000 16000" style="pointer-events:all;position:absolute;top:0;left:0;width:100%;height:100%;">\';\n switch (this.tipoFlecha) {\n case SKINS_FLECHAS["flecha-fina-negra"]:\n html += \'<polyline class="a" points="11040,1920 4960,8000 11040,14080 "></polyline>\';\n break;\n case SKINS_FLECHAS["flecha-fina-blanca"]:\n html += \'<polyline class="a" points="11040,1920 4960,8000 11040,14080 "></polyline>\';\n break;\n case SKINS_FLECHAS["flecha-gruesa-negra"]:\n html += \'<path class="a" d="M4800,8000c0,192.6,70.4,359.3,211.1,500l4977.8,4977.8c140.7,140.7,307.4,211.1,500,211.1 c192.6,0,359.3-70.4,500-211.1c140.7-140.7,211.1-307.4,211.1-500V3022.2c0-192.6-70.4-359.2-211.1-500 c-140.7-140.8-307.4-211.1-500-211.1c-192.6,0-359.3,70.3-500,211.1L5011.1,7500C4870.4,7640.7,4800,7807.4,4800,8000L4800,8000z"></path>\';\n break;\n case SKINS_FLECHAS["flecha-gruesa-blanca"]:\n html += \'<path class="a" d="M4800,8000c0,192.6,70.4,359.3,211.1,500l4977.8,4977.8c140.7,140.7,307.4,211.1,500,211.1 c192.6,0,359.3-70.4,500-211.1c140.7-140.7,211.1-307.4,211.1-500V3022.2c0-192.6-70.4-359.2-211.1-500 c-140.7-140.8-307.4-211.1-500-211.1c-192.6,0-359.3,70.3-500,211.1L5011.1,7500C4870.4,7640.7,4800,7807.4,4800,8000L4800,8000z"></path>\';\n break;\n case SKINS_FLECHAS["flecha-cuadro-negra"]:\n html += \'<path class="c" d="M4800,14080h6400c528,0,960-432,960-960V2880c0-528-432-960-960-960H4800c-528,0-960,432-960,960 v10240C3840,13648,4272,14080,4800,14080z"></path><path class="a" d="M6860.8,8102.7l1693.9,1693.9c28.9,28.9,63.2,43.4,102.7,43.4s73.8-14.5,102.7-43.4l379-379 c28.9-28.9,43.4-63.2,43.4-102.7c0-39.6-14.5-73.8-43.4-102.7L7926.9,8000l1212.2-1212.2c28.9-28.9,43.4-63.2,43.4-102.7 c0-39.6-14.5-73.8-43.4-102.7l-379-379c-28.9-28.9-63.2-43.4-102.7-43.4s-73.8,14.5-102.7,43.4L6860.8,7897.3 c-28.9,28.9-43.4,63.2-43.4,102.7S6831.9,8073.8,6860.8,8102.7L6860.8,8102.7z"></path>\';\n break;\n case SKINS_FLECHAS["flecha-cuadro-blanca"]:\n html += \'<path class="c" d="M4800,14080h6400c528,0,960-432,960-960V2880c0-528-432-960-960-960H4800c-528,0-960,432-960,960 v10240C3840,13648,4272,14080,4800,14080z"></path><path class="a" d="M6860.8,8102.7l1693.9,1693.9c28.9,28.9,63.2,43.4,102.7,43.4s73.8-14.5,102.7-43.4l379-379 c28.9-28.9,43.4-63.2,43.4-102.7c0-39.6-14.5-73.8-43.4-102.7L7926.9,8000l1212.2-1212.2c28.9-28.9,43.4-63.2,43.4-102.7 c0-39.6-14.5-73.8-43.4-102.7l-379-379c-28.9-28.9-63.2-43.4-102.7-43.4s-73.8,14.5-102.7,43.4L6860.8,7897.3 c-28.9,28.9-43.4,63.2-43.4,102.7S6831.9,8073.8,6860.8,8102.7L6860.8,8102.7z"></path>\';\n break;\n case SKINS_FLECHAS["flecha-circulo-blanca"]:\n html += \'<circle class="c" cx="8000" cy="8000" r="5920"></circle><polyline class="a" points="7777.8,6080 5857.8,8000 7777.8,9920 "></polyline><line class="a" x1="10142.2" y1="8000" x2="5857.8" y2="8000"></line>\';\n break;\n case SKINS_FLECHAS["flecha-circulo-negra"]:\n html += \'<circle class="c" cx="8000" cy="8000" r="5920"></circle><polyline class="a" points="7777.8,6080 5857.8,8000 7777.8,9920 "></polyline><line class="a" x1="10142.2" y1="8000" x2="5857.8" y2="8000"></line>\';\n break;\n default:\n html += \'<polyline class="a" points="11040,1920 4960,8000 11040,14080 "></polyline>\';\n }\n html += \'</svg></div>\';\n html += \'<div data-u="arrowright" class="\' + this.tipoFlecha + \'" style="width:55px;height:55px;top:0px;right:25px;" data-autocenter="2" data-scale="0.75" data-scale-right="0.75"><svg viewBox="0 0 16000 16000" style="pointer-events:all;position:absolute;top:0;left:0;width:100%;height:100%;">\';\n switch (this.tipoFlecha) {\n case SKINS_FLECHAS["flecha-fina-negra"]:\n html += \'<polyline class="a" points="4960,1920 11040,8000 4960,14080 "></polyline>\';\n break;\n case SKINS_FLECHAS["flecha-fina-blanca"]:\n html += \'<polyline class="a" points="4960,1920 11040,8000 4960,14080 "></polyline>\';\n break;\n case SKINS_FLECHAS["flecha-gruesa-negra"]:\n html += \'<path class="a" d="M11200,8000c0,192.6-70.4,359.3-211.1,500l-4977.8,4977.8c-140.7,140.7-307.4,211.1-500,211.
21 s-359.3-70.4-500-211.1c-140.7-140.7-211.1-307.4-211.1-500V3022.2c0-192.6,70.4-359.2,211.1-500c140.7-140.8,307.4-211.1,500-211.1 s359.3,70.3,500,211.1L10988.9,7500C11129.6,7640.7,11200,7807.4,11200,8000L11200,8000z"></path>\';\n break;\n case SKINS_FLECHAS["flecha-gruesa-blanca"]:\n html += \'<path class="a" d="M11200,8000c0,192.6-70.4,359.3-211.1,500l-4977.8,4977.8c-140.7,140.7-307.4,211.1-500,211.1 s-359.3-70.4-500-211.1c-140.7-140.7-211.1-307.4-211.1-500V3022.2c0-192.6,70.4-359.2,211.1-500c140.7-140.8,307.4-211.1,500-211.1 s359.3,70.3,500,211.1L10988.9,7500C11129.6,7640.7,11200,7807.4,11200,8000L11200,8000z"></path>\';\n break;\n case SKINS_FLECHAS["flecha-cuadro-negra"]:\n html += \'<path class="c" d="M11200,14080H4800c-528,0-960-432-960-960V2880c0-528,432-960,960-960h6400 c528,0,960,432,960,960v10240C12160,13648,11728,14080,11200,14080z"></path><path class="a" d="M9139.2,8102.7L7445.3,9796.6c-28.9,28.9-63.2,43.4-102.7,43.4c-39.6,0-73.8-14.5-102.7-43.4 l-379-379c-28.9-28.9-43.4-63.2-43.4-102.7c0-39.6,14.5-73.8,43.4-102.7L8073.1,8000L6860.8,6787.8 c-28.9-28.9-43.4-63.2-43.4-102.7c0-39.6,14.5-73.8,43.4-102.7l379-379c28.9-28.9,63.2-43.4,102.7-43.4 c39.6,0,73.8,14.5,102.7,43.4l1693.9,1693.9c28.9,28.9,43.4,63.2,43.4,102.7S9168.1,8073.8,9139.2,8102.7L9139.2,8102.7z"></path>\';\n break;\n case SKINS_FLECHAS["flecha-cuadro-blanca"]:\n html += \'<path class="c" d="M11200,14080H4800c-528,0-960-432-960-960V2880c0-528,432-960,960-960h6400 c528,0,960,432,960,960v10240C12160,13648,11728,14080,11200,14080z"></path><path class="a" d="M9139.2,8102.7L7445.3,9796.6c-28.9,28.9-63.2,43.4-102.7,43.4c-39.6,0-73.8-14.5-102.7-43.4 l-379-379c-28.9-28.9-43.4-63.2-43.4-102.7c0-39.6,14.5-73.8,43.4-102.7L8073.1,8000L6860.8,6787.8 c-28.9-28.9-43.4-63.2-43.4-102.7c0-39.6,14.5-73.8,43.4-102.7l379-379c28.9-28.9,63.2-43.4,102.7-43.4 c39.6,0,73.8,14.5,102.7,43.4l1693.9,1693.9c28.9,28.9,43.4,63.2,43.4,102.7S9168.1,8073.8,9139.2,8102.7L9139.2,8102.7z"></path>\';\n break;\n case SKINS_FLECHAS["flecha-circulo-blanca"]:\n html += \'<circle class="c" cx="8000" cy="8000" r="5920"></circle><polyline class="a" points="8222.2,6080 10142.2,8000 8222.2,9920 "></polyline><line class="a" x1="5857.8" y1="8000" x2="10142.2" y2="8000"></line>\';\n break;\n case SKINS_FLECHAS["flecha-circulo-negra"]:\n html += \'<circle class="c" cx="8000" cy="8000" r="5920"></circle><polyline class="a" points="8222.2,6080 10142.2,8000 8222.2,9920 "></polyline><line class="a" x1="5857.8" y1="8000" x2="10142.2" y2="8000"></line>\';\n break;\n default:\n html += \'<polyline class="a" points="4960,1920 11040,8000 4960,14080 "></polyline>\';\n }\n html += \'</svg></div>\';\n return html;\n };\n this.activarDesactivarVideos = function (index) {\n var that = this;\n $.each(this.videos, function () {\n //para los videos que se esten reproduciendo\n var player = $(this)[0];\n if (!player.h && player.constructor.name == \'Y\') {\n return;\n }\n if (player.reproduciendo == true) {\n if (player.diapo == "all" || typeof player.excluidas != "undefined" && $.inArray(String(that.diapositivas[index].uniqid), player.excluidas) == -1) {\n return;\n }\n if (player.constructor.name == \'Z\') {\n //youtube\n if (typeof player.excluidas != "undefined" && $.inArray(String(that.diapositivas[index].uniqid), player.excluidas) != -1) {\n player.pauseVideo();\n player.seekTo(0.0, false); //Reinincia el video al segundo 0\n } else {\n player.stopVideo();\n }\n } else {\n //vimeo\n\n if (typeof player.excluidas != "undefined" && $.inArray(String(that.diapositivas[index].uniqid), player.excluidas) != -1) {\n player.pause();\n } else {\n player.setCurrentTime(0.0);\n player.pause();\n }\n }\n player.reproduciendo = false;\n }\n //inicia los videos de la diapositiva actual\n\n if ((player.diapo == index || player.diapo == "all" || typeof player.excluidas != "undefined" && $.inArray(String(that.diapositivas[index].uniqid), player.excluidas) == -1) && player.reproduciendo == false) {\n if (player.constructor.name == \'Z\') {\n //youtube\n if (that.videoApiCargada) {\n player.playVideo();\n player.seekTo(0.0, false);\n player.reproduciendo = true;\n } else {\n if (that.queue6) clearTimeout(that.queue6);\n that.queue6 = setTimeout(function () {\n that.activarDesactivarVideos(index);\n }, 500);\n }\n player.playVideo();\n } else {\n //vimeo\n player.setCurrentTime(0);\n player.play();\n player.reproduciendo = true;\n }\n }\n });\n };\n this.init = function () {\n this.capasCount = 0;\n this.videos = {};\n this.crearHtml();\n this.jjsorElemento = new $JssorSlider$(this.idElemento, this.getOpciones());\n var that = this;\n // if(this.vista != 3){\n this.jjsorElemento.$On($JssorSlider$.$EVT_STATE_CHANGE, function (index, progress, progressBeg
2in, idleBegin, idleEnd, progressEnd) {\n if (progress <= 0) {\n //evento cuando inicia una diapositiva\n if (Object.keys(that.videos).length > 0) {\n that.activarDesactivarVideos(that.getDiapoActual(index));\n }\n that.toogleCtas(that.getDiapoActual(index));\n }\n });\n // }\n this.jjsorElemento.$On($JssorSlider$.$EVT_LOAD_END, function (index) {\n if (typeof onCabeceraCargada == "function") {\n onCabeceraCargada();\n }\n });\n this.hacerResponsive();\n if (this.progressbar) {\n this.activarProgressbar();\n }\n this.initHandlersExcluir();\n $(document).ready(function () {\n that.escalar();\n });\n };\n\n /**\n * Solo para el gestor de campañas\n */\n this.initHandlersExcluir = function () {\n if ($("#checkExcluir").length) {\n that = this;\n //al hacer click en los checkbox de excluir se modifica el array de diapositivas excluidas\n $("#checkExcluir").on(\'ifChanged\', function (event) {\n var diapoActual = parseInt(that.getDiapoActual(that.jjsorElemento.$CurrentIndex()));\n var checked = !$("#checkExcluir").parent(\'[class*="icheckbox"]\').hasClass("checked");\n //está en el array de excluidas y se desmarca el checkbox\n if ($.inArray(diapoActual, that.getExcluidas(that.getCtaEditable()[1])) != -1 && !checked) {\n //quitar de excluidas\n that.rmExcluida(diapoActual, that.getCtaEditable()[0]);\n }\n //no está en el array de excluidas y se marca el check\n if ($.inArray(diapoActual, that.getExcluidas(that.getCtaEditable()[1])) == -1 && checked) {\n that.addExcluida(diapoActual, that.getCtaEditable()[0]);\n }\n that.toogleCtas(diapoActual);\n });\n //al cambiar de diapositiva se marcan/desmarcan los checkbox de excluir\n this.jjsorElemento.$On($JssorSlider$.$EVT_STATE_CHANGE, function (index, progress, progressBegin, idleBegin, idleEnd, progressEnd) {\n if (progress == 0) {\n //evento cuando inicia una diapositiva\n if ($.inArray(parseInt(that.getDiapoActual(that.jjsorElemento.$CurrentIndex())), that.getExcluidas(that.getCtaEditable()[1])) != -1) {\n $("#checkExcluir").iCheck("check");\n } else {\n $("#checkExcluir").iCheck("uncheck");\n }\n }\n });\n }\n };\n\n /**\n * \n * @param int index: diapositiva actual de jssor\n * @return: id de la diapositiva actual en el array \n */\n this.getDiapoActual = function (index) {\n var count = 0;\n var ret = false;\n $.each(this.diapositivas, function (key, value) {\n if (value.tipo == 0 && value.activa) {\n if (index == count) {\n ret = key;\n }\n count++;\n }\n });\n return ret;\n };\n this.toogleCtas = function (diapoActual) {\n if (typeof this.diapositivas[diapoActual] == \'undefined\') return;\n var uniqid = this.diapositivas[diapoActual].uniqid;\n $.each(this.diapositivas, function (key, value) {\n if (value.tipo == 1) {\n var cta = $("div[data-uniqid=\'" + value.uniqid + "\']");\n if ($.inArray(String(uniqid), value.diaposExcluidas) != -1) {\n cta.hide();\n } else {\n cta.show();\n }\n }\n });\n };\n this.hacerResponsive = function () {\n var that = this;\n $(window).unbind("resize.cab_text_resp" + that.idElemento);\n $(window).bind("resize.cab_text_resp" + that.idElemento, function () {\n that.escalado = true;\n clearTimeout(that.queue);\n that.queue = setTimeout(function () {\n that.escalar();\n }, 300);\n });\n };\n this.escalar = function () {\n if (this != window && this.jjsorElemento) {\n var ancho = this.calculaAncho();\n var left = this.calculaLeft();\n var alto = this.calculaAlto();\n //me aseguro de que se alinee a la izquierda\n if (left != 0) {\n var leftActual = $(\'#\' + this.idElementoPadre).parent().css("left");\n var nuevoLeft = parseInt(leftActual) - left;\n $(\'#\' + this.idElementoPadre).parent().css("left", nuevoLeft);\n }\n //actualizo el ancho del div contenedor para que sea el adecuado\n $(\'#\' + this.idElementoPadre).parent().css("width", ancho);\n $(\'#\' + this.idElementoPadre).parent().css("height", alto);\n if (this.isFullScreen()) {\n this.jjsorElemento.$ScaleSize(ancho, alto);
2 //escalo la cabecera al nuevo ancho\n if (this.escalado) {\n var that = this;\n this.escalado = false;\n clearTimeout(that.queue2);\n that.queue2 = setTimeout(function () {\n that.reset();\n }, 100);\n }\n } else {\n this.jjsorElemento.$ScaleWidth(ancho); //escalo la cabecera al nuevo ancho\n }\n this.comprobarDispositivo();\n } else {\n if (this.queue3) clearTimeout(this.queue3);\n this.queue3 = setTimeout(this.escalar, 30);\n }\n };\n this.reset = function () {\n this.jjsorElemento.$Destroy();\n this.jjsorElemento = null;\n $("#" + this.idElemento).remove();\n this.init();\n $(".capaEditable").click(function (e) {\n abrirModalEdicion($(this));\n e.preventDefault();\n });\n };\n this.activarProgressbar = function () {\n if (this.vista != 3) {\n this.jjsorElemento.$On($JssorSlider$.$EVT_PROGRESS_CHANGE, this.progressEvento);\n }\n };\n this.progressEvento = function (slideIndex, progress, progressBegin, idleBegin, idleEnd, progressEnd) {\n if (progressEnd > 0) {\n var progressPercent = progress / progressEnd * 100 + "%";\n progressElemento = document.getElementById("progress-element");\n if (progressElemento) {\n progressElemento.style.width = progressPercent;\n }\n }\n };\n this.comprobarDispositivo = function () {\n if (this.vista == 3) {\n return;\n }\n if ($(window).width() <= 767 && !this.versionMovil) {\n this.versionMovil = true;\n this.versionTablet = false;\n this.versionOrdenador = false;\n this.reset();\n } else if ($(window).width() <= 1024 && $(window).width() > 767 && !this.versionTablet) {\n this.versionMovil = false;\n this.versionTablet = true;\n this.versionOrdenador = false;\n this.reset();\n } else if ($(window).width() > 1024 && !this.versionOrdenador) {\n this.versionMovil = false;\n this.versionTablet = false;\n this.versionOrdenador = true;\n if (that.queue4) clearTimeout(that.queue4);\n that.queue4 = setTimeout(this.escalar, 30);\n this.reset();\n }\n };\n\n /**\n * Devuelve el ancho en px que debe tener la cabecera\n * @return integer ancho\n */\n this.calculaAncho = function () {\n var that = this;\n var ancho = 0;\n var moduloContainer = $("#" + this.idElementoPadre);\n if (moduloContainer.hasClass("full-width-div") || this.isFullScreen() || this.vista == 3) {\n switch (this.divPlantilla) {\n //la zona en la que se ha puesto el módulo\n case "CAB":\n ancho = parseInt($("#cabecera").css("width"));\n break;\n case "CONTENT_TOP":\n break;\n case "MODAL":\n ancho = $(".sonata-ba-collapsed-fields").innerWidth() - 20;\n if (this.versionOrdenador) {\n //ancho = $(".sonata-ba-collapsed-fields").innerWidth() - 20;\n } else if (this.versionTablet) {\n ancho = ancho > 768 ? 768 : ancho;\n } else if (this.versionMovil) {\n ancho = ancho > 420 ? 420 : ancho;\n }\n //previsualizador\n if ($("#dispositivoCampana")) {\n ancho = $("#dispositivoCampana").innerWidth();\n var esVistaMovil = parseInt($(window).innerWidth()) < 768;\n if (this.versionOrdenador) {\n $("#dispositivoCampana").attr("class", "ordenador");\n ancho *= 0.948;\n var altoMock = ancho * 316 / 404;\n var altoPantalla = altoMock * 0.68;\n if (esVistaMovil) {\n $("#dispositivoCampana").addClass("dispositivo-campana-movil-ordenador");\n $("#previsualizador_slider div[data-u=\'navigator\'").parent().addClass("botonera-movil-ordenador");\n } else {\n $("#dispositivoCampana").removeClass("dispositivo-campana-movil-ordenador");\n $("#previsualizador_slider div[data-u=\'navigator\'").parent().removeClass("botonera-movil-ordenador");\n }\n } else if (this.versionTablet) {\n $("#dispositivoCampana").attr("class", "tablet");\n ancho *= 0.927;\n var altoMock = ancho * 180 / 276;\n var altoPantalla = altoMock * 0.88;\n if (esVistaMovil) {\n $("#dispositivoCampana").addClass("dispositivo-campana-movil-tablet");\n $("#previsualizador_slider div[data-u=\'navigator\'").parent().addClass("botonera-movil-tablet");\n } else {\n $("#dispositivoCampana").removeClass("dispositivo-campana-movil-tablet");\n $("#previsualizador_slider div[data-u=\'navigator\'").parent().removeClass("botonera-movil-tablet");\n }\n } else if (this.versionMovil) {\n $("#dispositivoCampana").attr("class", "movil");\n ancho *= 0.931;\n var altoMock = ancho * 306 / 154;\n $("#dispositivoCampana > div").css("max-height", altoMock * 0.83);\n var altoPantalla = altoMock * 0.83;\n if (esVistaMovil) {\n $("#dispositivoCampana").addClass("dispositivo-campana-movil-movil");\n $("#previsualizador_slider div[data-u=\'navigator\'").parent().addClass("botonera-movil-movil");\n } else {\n $("#dispositivoCampana").removeClass("dispositivo-campana-movil-movil");\n $("#previsualizador_slider div[data-u=\'navigator\'").parent().removeClass("botonera-movil-movil");\n }\n }\n $("#dispositivoCampana").css("height", altoMock);\n $("#dispositivoCampana > div").css("max-height", altoPantalla);\n var altoContenedor = parseInt($("#previsualizador").css("height"));\n if (altoContenedor > altoPantalla) {\n $("#dispositivoCampana > div").css("overflow", \'hidden auto\');\n } else {\n $("#dispositivoCampana > div").css("overflow", \'visible visible\');\n }\n }\n break;\n default:\n ancho = $(window).innerWidth();\n }\n } else {\n ancho = $(\'#\' + this.idElementoPadre).parents(".zona").first().width();\n if (!ancho) {\n ancho = moduloContainer.innerWidth();
2\n if ($("#modalCampana")) {\n ancho = $("#modalCampana .modal-content").innerWidth() - 30;\n }\n }\n }\n return ancho;\n };\n\n /**\n * Devuelve el alto en px que debe tener la cabecera\n * @return integer alto\n */\n this.calculaAlto = function () {\n var alto = 0;\n if (this.isFullScreen()) {\n alto = parseInt($(window).innerHeight());\n alto -= parseInt($("#menuMovil").css("height"));\n switch (this.divPlantilla) {\n //la zona en la que se ha puesto el módulo\n case "CAB":\n var sobrecabecera = $("#sobrecabecera").css("height");\n if (typeof sobrecabecera != \'undefined\') {\n alto -= parseInt($("#sobrecabecera").css("height"));\n }\n break;\n default:\n break;\n }\n } else {\n var ancho = this.calculaAncho();\n if (this.versionOrdenador) {\n alto = Math.floor(parseInt(this.altoOrdenador) * ancho * 0.01);\n } else if (this.versionTablet) {\n alto = Math.floor(parseInt(this.altoTablet) * ancho * 0.01);\n } else if (this.versionMovil) {\n alto = Math.floor(parseInt(this.altoMovil) * ancho * 0.01);\n }\n }\n return alto;\n };\n\n /**\n * Devuelve la distancia actual en px entre la cabecera y el borde izq de su contenedor\n * o de la pantalla (si es modulo ancho completo)\n * @return integer left \n */\n this.calculaLeft = function () {\n if ($("#" + this.idElementoPadre).hasClass("full-width-div") || this.isFullScreen()) {\n return Math.ceil(document.querySelector("#" + this.idElementoPadre).getBoundingClientRect().left);\n }\n return 0;\n };\n this.isFullScreen = function () {\n if (this.versionOrdenador && this.tamOrdenador == "fullscreen" || this.versionTablet && this.tamTablet == "fullscreen" || this.versionMovil && this.tamMovil == "fullscreen") {\n return true;\n }\n return false;\n };\n\n /**\n * Devuelve, si lo hubiera, el cta que está siendo editado\n * @return array: key en el array (0) de diapositivas y json (1)\n */\n this.getCtaEditable = function () {\n var result = false;\n $.each(this.diapositivas, function (key, value) {\n if (value.editable) {\n result = [key, value];\n return false;\n }\n });\n return result;\n };\n\n /**\n * Devuelve un listado con los ids de las diapositivas excluidas de un cta\n * @param Object cta: diapositiva de tipo cta\n * @return array: listado de ids de diapositivas excluidas\n */\n this.getExcluidas = function (cta) {\n var result = [];\n var that = this;\n if (cta.hasOwnProperty("diaposExcluidas")) {\n $.each(cta.diaposExcluidas, function (key, excludedUniqid) {\n $.each(that.diapositivas, function (diapoKey, diapo) {\n if (diapo.uniqid == excludedUniqid) {\n result.push(parseInt(diapoKey));\n return false;\n }\n });\n });\n }\n return result;\n };\n\n /**\n * Añade la diapositiva indicada al array de excluidas de el cta indicado\n * @param idDiapo: id de la diapositiva a excluir en el array de diapositivas\n * @param idCta: id del cta en el array de diapositivas\n */\n this.addExcluida = function (idDiapo, idCta) {\n if (typeof this.diapositivas[idCta].diaposExcluidas != "undefined") {\n if (typeof this.diapositivas[idDiapo] != "undefined") {\n this.diapositivas[idCta].diaposExcluidas.push(this.diapositivas[idDiapo].uniqid.toString());\n }\n }\n };\n\n /**\n * Quita la diapositiva indicada del array de excluidas de el cta indicado\n * @param idDiapo: id de la diapositiva a excluir en el array de diapositivas\n * @param idCta: id del cta en el array de diapositivas\n */\n this.rmExcluida = function (idDiapo, idCta) {\n if (typeof this.diapositivas[idCta].diaposExcluidas != "undefined") {\n if (typeof this.diapositivas[idDiapo] != "undefined") {\n var index = $.inArray(this.diapositivas[idDiapo].uniqid.toString(), this.diapositivas[idCta].diaposExcluidas);\n this.diapositivas[idCta].diaposExcluidas.splice(index, 1);\n }\n }\n };\n\n /**\n * Obtener url optimizada al ancho\n * @param ancho: ancho\n * @param imagen: imagen\n */\n this.urlImagenOptimizada = function (ancho, imagen) {\n if (ancho == "undefined" || !ancho || ancho < 0 || !imagen) {\n return "";\n }\n var imagenOpt = "";
vendor: 9,270 bytes, line 2
2\n if (ancho < 250) {\n imagenOpt = imagen[\'small\'];\n } else if (ancho < 450) {\n imagenOpt = imagen[\'medium\'];\n } else if (ancho < 600) {\n imagenOpt = imagen[\'big\'];\n } else if (ancho < 950) {\n imagenOpt = imagen[\'optimized\'];\n } else if (ancho < 1200) {\n imagenOpt = imagen[\'panoramica\'];\n } else if (ancho < 1450) {\n imagenOpt = imagen[\'panoramica2\'];\n } else {\n imagenOpt = imagen[\'extra\'];\n }\n if (typeof imagenOpt == \'undefined\') {\n return imagen[\'src\'];\n }\n return imagenOpt;\n };\n this.init();\n}'},94642:(e,t,n)=>{var a=n(96763);e.exports=function(e){function t(e){void 0!==a&&(a.error||a.log)("[Script Loader]",e)}try{"undefined"!=typeof execScript&&"undefined"!=typeof attachEvent&&"undefined"==typeof addEventListener?execScript(e):"undefined"!=typeof eval?eval.call(null,e):t("EvalError: No eval function available")}catch(e){t(e)}}},36796:(e,t,n)=>{n(94642)(n(993))},96897:(e,t,n)=>{"use strict";var a=n(70453),r=n(30041),o=n(30592)(),i=n(75795),c=n(69675),l=a("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new c("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||l(t)!==t)throw new c("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],a=!0,s=!0;if("length"in e&&i){var p=i(e,"length");p&&!p.configurable&&(a=!1),p&&!p.writable&&(s=!1)}return(a||s||!n)&&(o?r(e,"length",t,!0,!0):r(e,"length",t)),e}},81135:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},49032:(e,t,n)=>{"use strict";var a=n(47244),r=n(48184),o=n(25767),i=n(35680);function c(e){return e.call.bind(e)}var l="undefined"!=typeof BigInt,s="undefined"!=typeof Symbol,p=c(Object.prototype.toString),u=c(Number.prototype.valueOf),d=c(String.prototype.valueOf),f=c(Boolean.prototype.valueOf);if(l)var h=c(BigInt.prototype.valueOf);if(s)var y=c(Symbol.prototype.valueOf);function m(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function v(e){return"[object Map]"===p(e)}function g(e){return"[object Set]"===p(e)}function b(e){return"[object WeakMap]"===p(e)}function S(e){return"[object WeakSet]"===p(e)}function E(e){return"[object ArrayBuffer]"===p(e)}function w(e){return"undefined"!=typeof ArrayBuffer&&(E.working?E(e):e instanceof ArrayBuffer)}function x(e){return"[object DataView]"===p(e)}function O(e){return"undefined"!=typeof DataView&&(x.working?x(e):e instanceof DataView)}t.isArgumentsObject=a,t.isGeneratorFunction=r,t.isTypedArray=i,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):i(e)||O(e)},t.isUint8Array=function(e){return"Uint8Array"===o(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},t.isUint16Array=function(e){return"Uint16Array"===o(e)},t.isUint32Array=function(e){return"Uint32Array"===o(e)},t.isInt8Array=function(e){return"Int8Array"===o(e)},t.isInt16Array=function(e){return"Int16Array"===o(e)},t.isInt32Array=function(e){return"Int32Array"===o(e)},t.isFloat32Array=function(e){return"Float32Array"===o(e)},t.isFloat64Array=function(e){return"Float64Array"===o(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===o(e)},v.working="undefined"!=typeof Map&&v(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(v.working?v(e):e instanceof Map)},g.working="undefined"!=typeof Set&&g(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(g.working?g(e):e instanceof Set)},b.working="undefined"!=typeof WeakMap&&b(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(b.working?b(e):e instanceof WeakMap)},S.working="undefined"!=typeof WeakSet&&S(new WeakSet),t.isWeakSet=function(e){return S(e)},E.working="undefined"!=typeof ArrayBuffer&&E(new ArrayBuffer),t.isArrayBuffer=w,x.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&x(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=O;var j="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function A(e){return"[object SharedArrayBuffer]"===p(e)}function _(e){return void 0!==j&&(void 0===A.working&&(A.working=A(new j)),A.working?A(e):e instanceof j)}function $(e){return m(e,u)}function k(e){return m(e,d)}function P(e){return m(e,f)}function C(e){return l&&m(e,h)}function I(e){return s&&m(e,y)}t.isSharedArrayBuffer=_,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===p(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===p(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===p(e)},t.isGeneratorObject=function(e){return"[object Generator]"===p(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===p(e)},t.isNumberObject=$,t.isStringObject=k,t.isBooleanObject=P,t.isBigIntObject=C,t.isSymbolObject=I,t.isBoxedPrimitive=function(e){return $(e)||k(e)||P(e)||C(e)||I(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(w(e)||_(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},40537:(e,t,n)=>{var a=n(65606),r=n(96763),o=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},a=0;a<t.length;a++)n[t[a]]=Object.getOwnPropertyDescriptor(e,t[a]);return n},i=/%[sdj%]/g;t.format=function(e){if(!S(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(p(arguments[n]));return t.join(" ")}n=1;for(var a=arguments,r=a.length,o=String(e).replace(i,(function(e){if("%%"===e)return"%";if(n>=r)return e;switch(e){case"%s":return String(a[n++]);case"%d":return Number(a[n++]);case"%j":try{return JSON.stringify(a[n++])}catch(e){return"[Circular]"}default:return e}})),c=a[n];n<r;c=a[++n])g(c)||!x(c)?o+=" "+c:o+=" "+p(c);return o},t.deprecate=function(e,n){if(void 0!==a&&!0===a.noDeprecation)return e;if(void 0===a)return function(){return t.deprecate(e,n).apply(this,arguments)};var o=!1;return function(){if(!o){if(a.throwDeprecation)throw new Error(n);a.traceDeprecation?r.trace(n):r.error(n),o=!0}return e.apply(this,arguments)}};var c={},l=/^$/;if({NODE_ENV:"production"}.NODE_DEBUG){var s={NODE_ENV:"production"}.NODE_DEBUG;s=s.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),l=new RegExp("^"+s+"$","i")}function p(e,n){var a={seen:[],stylize:d};return arguments.length>=3&&(a.depth=arguments[2]),arguments.length>=4&&(a.colors=arguments[3]),v(n)?a.showHidden=n:n&&t._extend(a,n),E(a.showHidden)&&(a.showHidden=!1),E(a.depth)&&(a.depth=2),E(a.colors)&&(a.colors=!1),E(a.customInspect)&&(a.customInspect=!0),a.colors&&(a.stylize=u),f(a,e,a.depth)}function u(e,t){var n=p.styles[t];return n?"�["+p.colors[n][0]+"m"+e+"�["+p.colors[n][1]+"m":e}function d(e,t){return e}function f(e,n,a){if(e.customInspect&&n&&A(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var r=n.inspect(a,e);return S(r)||(r=f(e,r,a)),r}var o=function(e,t){if(E(t))return e.stylize("undefined","undefined");if(S(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(b(t))return e.stylize(""+t,"number");if(v(t))return e.stylize(""+t,"boolean");if(g(t))return e.stylize("null","null")}(e,n);if(o)return o;var i=Object.keys(n),c=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(n)),j(n)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return h(n);if(0===i.length){if(A(n)){var l=n.name?": "+n.name:"";return e.stylize("[Function"+l+"]","special")}if(w(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(O(n))return e.stylize(Date.prototype.toString.call(n),"date");if(j(n))return h(n)}var s,p="",u=!1,d=["{","}"];(m(n)&&(u=!0,d=["[","]"]),A(n))&&(p=" [Function"+(n.name?": "+n.name:"")+"]");return w(n)&&(p=" "+RegExp.prototype.toString.call(n)),O(n)&&(p=" "+Date.prototype.toUTCString.call(n)),j(n)&&(p=" "+h(n)),0!==i.length||u&&0!=n.length?a<0?w(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),s=u?function(e,t,n,a,r){for(var o=[],i=0,c=t.length;i<c;++i)P(t,String(i))?o.push(y(e,t,n,a,String(i),!0)):o.push("");return r.forEach((function(r){r.match(/^\d+$/)||o.push(y(e,t,n,a,r,!0))})),o}(e,n,a,c,i):i.map((function(t){return y(e,n,a,c,t,u)})),e.seen.pop(),function(e,t,n){var a=e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(a>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(s,p,d)):d[0]+p+d[1]}function h(e){return"["+Error.prototype.toString.call(e)+"]"}function y(e,t,n,a,r,o){var i,c,l;if((l=Object.getOwnPropertyDescriptor(t,r)||{value:t[r]}).get?c=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(c=e.stylize("[Setter]","special")),P(a,r)||(i="["+r
2+"]"),c||(e.seen.indexOf(l.value)<0?(c=g(n)?f(e,l.value,null):f(e,l.value,n-1)).indexOf("\n")>-1&&(c=o?c.split("\n").map((function(e){return" "+e})).join("\n").slice(2):"\n"+c.split("\n").map((function(e){return" "+e})).join("\n")):c=e.stylize("[Circular]","special")),E(i)){if(o&&r.match(/^\d+$/))return c;(i=JSON.stringify(""+r)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(i=i.slice(1,-1),i=e.stylize(i,"name")):(i=i.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),i=e.stylize(i,"string"))}return i+": "+c}function m(e){return Array.isArray(e)}function v(e){return"boolean"==typeof e}function g(e){return null===e}function b(e){return"number"==typeof e}function S(e){return"string"==typeof e}function E(e){return void 0===e}function w(e){return x(e)&&"[object RegExp]"===_(e)}function x(e){return"object"==typeof e&&null!==e}function O(e){return x(e)&&"[object Date]"===_(e)}function j(e){return x(e)&&("[object Error]"===_(e)||e instanceof Error)}function A(e){return"function"==typeof e}function _(e){return Object.prototype.toString.call(e)}function $(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!c[e])if(l.test(e)){var n=a.pid;c[e]=function(){var a=t.format.apply(t,arguments);r.error("%s %d: %s",e,n,a)}}else c[e]=function(){};return c[e]},t.inspect=p,p.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},p.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=n(49032),t.isArray=m,t.isBoolean=v,t.isNull=g,t.isNullOrUndefined=function(e){return null==e},t.isNumber=b,t.isString=S,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=E,t.isRegExp=w,t.types.isRegExp=w,t.isObject=x,t.isDate=O,t.types.isDate=O,t.isError=j,t.types.isNativeError=j,t.isFunction=A,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(81135);var k=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,n;r.log("%s - %s",(e=new Date,n=[$(e.getHours()),$(e.getMinutes()),$(e.getSeconds())].join(":"),[e.getDate(),k[e.getMonth()],n].join(" ")),t.format.apply(t,arguments))},t.inherits=n(56698),t._extend=function(e,t){if(!t||!x(t))return e;for(var n=Object.keys(t),a=n.length;a--;)e[n[a]]=t[n[a]];return e};var C="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function I(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(C&&e[C]){var t;if("function"!=typeof(t=e[C]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,C,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,a=new Promise((function(e,a){t=e,n=a})),r=[],o=0;o<arguments.length;o++)r.push(arguments[o]);r.push((function(e,a){e?n(e):t(a)}));try{e.apply(this,r)}catch(e){n(e)}return a}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),C&&Object.defineProperty(t,C,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,o(e))},t.promisify.custom=C,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);var r=t.pop();if("function"!=typeof r)throw new TypeError("The last argument must be of type Function");var o=this,i=function(){return r.apply(o,arguments)};e.apply(this,t).then((function(e){a.nextTick(i.bind(null,null,e))}),(function(e){a.nextTick(I.bind(null,e,i))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,o(e)),t}},25767:(e,t,n)=>{"use strict";var a=n(82682),r=n(39209),o=n(10487),i=n(38075),c=n(75795),l=i("Object.prototype.toString"),s=n(49092)(),p="undefined"==typeof globalThis?n.g:globalThis,u=r(),d=i("String.prototype.slice"),f=Object.getPrototypeOf,h=i("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},y={__proto__:null};a(u,s&&c&&f?function(e){var t=new p[e];if(Symbol.toStringTag in t){var n=f(t),a=c(n,Symbol.toStringTag);if(!a){var r=f(n);a=c(r,Symbol.toStringTag)}y["$"+e]=o(a.get)}}:function(e){var t=new p[e],n=t.slice||t.set;n&&(y["$"+e]=o(n))});e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!s){var t=d(l(e),8,-1);return h(u,t)>-1?t:"Object"===t&&function(e){var t=!1;return a(y,(function(n,a){if(!t)try{n(e),t=d(a,1)}catch(e){}})),t}(e)}return c?function(e){var t=!1;return a(y,(function(n,a){if(!t)try{"$"+n(e)===a&&(t=d(a,1))}catch(e){}})),t}(e):null}},39209:(e,t,n)=>{"use strict";var a=n(76578),r="undefined"==typeof globalThis?n.g:globalThis;e.exports=function(){for(var e=[],t=0;t<a.length;t++)"function"==typeof r[a[t]]&&(e[e.length]=a[t]);return e}}},e=>{var t;
2t=71799,e(e.s=t)}]);
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.