PageSourceSearch

https://releva.ai/sdk/v0/js/releva-sdk-js.min.js

js releva.ai collected 2026-09-24 08:46:10 UTC 164,105 bytes, 2 lines download raw bytes

vendor: 20,038 bytes, lines 1-2
1/*! For license information please see releva-sdk-js.min.js.LICENSE.txt */
2var Releva;(()=>{var __webpack_modules__={18(e){var t;t=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}return r.m=e,r.c=t,r.p="",r(0)}([function(e,t,r){"use strict";var n=r(1).default;t.__esModule=!0;var o=n(r(2)),i=n(r(83)),s=r(84),a=r(89),l=n(r(90)),c=n(r(87)),u=n(r(82)),p=o.default.create;function d(){var e=p();return e.compile=function(t,r){return a.compile(t,r,e)},e.precompile=function(t,r){return a.precompile(t,r,e)},e.AST=i.default,e.Compiler=a.Compiler,e.JavaScriptCompiler=l.default,e.Parser=s.parser,e.parse=s.parse,e.parseWithoutProcessing=s.parseWithoutProcessing,e}var h=d();h.create=d,u.default(h),h.Visitor=c.default,h.default=h,t.default=h,e.exports=t.default},function(e,t){"use strict";t.default=function(e){return e&&e.__esModule?e:{default:e}},t.__esModule=!0},function(e,t,r){"use strict";var n=r(3).default,o=r(1).default;t.__esModule=!0;var i=n(r(4)),s=o(r(76)),a=o(r(6)),l=n(r(5)),c=n(r(77)),u=o(r(82));function p(){var e=new i.HandlebarsEnvironment;return l.extend(e,i),e.SafeString=s.default,e.Exception=a.default,e.Utils=l,e.escapeExpression=l.escapeExpression,e.VM=c,e.template=function(t){return c.template(t,e)},e}var d=p();d.create=p,u.default(d),d.default=d,t.default=d,e.exports=t.default},function(e,t){"use strict";t.default=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t},t.__esModule=!0},function(e,t,r){"use strict";var n=r(1).default;t.__esModule=!0,t.HandlebarsEnvironment=p;var o=r(5),i=n(r(6)),s=r(10),a=r(70),l=n(r(72)),c=r(73);t.VERSION="4.7.9",t.COMPILER_REVISION=8,t.LAST_COMPATIBLE_COMPILER_REVISION=7,t.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};var u="[object Object]";function p(e,t,r){this.helpers=e||{},this.partials=t||{},this.decorators=r||{},s.registerDefaultHelpers(this),a.registerDefaultDecorators(this)}p.prototype={constructor:p,logger:l.default,log:l.default.log,registerHelper:function(e,t){if(o.toString.call(e)===u){if(t)throw new i.default("Arg not supported with multiple helpers");o.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if(o.toString.call(e)===u)o.extend(this.partials,e);else{if(void 0===t)throw new i.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if(o.toString.call(e)===u){if(t)throw new i.default("Arg not supported with multiple decorators");o.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){c.resetLoggedProperties()}};var d=l.default.log;t.log=d,t.createFrame=o.createFrame,t.logger=l.default},function(e,t){"use strict";t.__esModule=!0,t.extend=s,t.indexOf=function(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1},t.escapeExpression=function(e){if("string"!=typeof e){if(e&&e.toHTML)return e.toHTML();if(null==e)return"";if(!e)return e+"";e=""+e}return o.test(e)?e.replace(n,i):e},t.isEmpty=function(e){return!e&&0!==e||!(!c(e)||0!==e.length)},t.createFrame=function(e){var t=s({},e);return t._parent=e,t},t.blockParams=function(e,t){return e.path=t,e},t.appendContextPath=function(e,t){return(e?e+".":"")+t};var r={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},n=/[&<>"'`=]/g,o=/[&<>"'`=]/;function i(e){return r[e]}function s(e){for(var t=1;t<arguments.length;t++)for(var r in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],r)&&(e[r]=arguments[t][r]);return e}var a=Object.prototype.toString;t.toString=a;var l=function(e){return"function"==typeof e};l(/x/)&&(t.isFunction=l=function(e){return"function"==typeof e&&"[object Function]"===a.call(e)}),t.isFunction=l;var c=Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===a.call(e)};t.isArray=c},function(e,t,r){"use strict";var n=r(7).default;t.__esModule=!0;var o=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function i(e,t){var r=t&&t.loc,s=void 0,a=void 0,l=void 0,c=void 0;r&&(s=r.start.line,a=r.end.line,l=r.start.column,c=r.end.column,e+=" - "+s+":"+l);for(var u=Error.prototype.constructor.call(this,e),p=0;p<o.length;p++)this[o[p]]=u[o[p]];Error.captureStackTrace&&Error.captureStackTrace(this,i);try{r&&(this.lineNumber=s,this.endLineNumber=a,n?(Object.defineProperty(this,"column",{value:l,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:c,enumerable:!0})):(this.column=l,this.endColumn=c))}catch(e){}}i.prototype=new Error,t.default=i,e.exports=t.default},function(e,t,r){e.exports={default:r(8),__esModule:!0}},function(e,t,r){var n=r(9);e.exports=function(e,t,r){return n.setDesc(e,t,r)}},function(e,t){var r=Object;e.exports={create:r.create,getProto:r.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:r.getOwnPropertyDescriptor,setDesc:r.defineProperty,setDescs:r.defineProperties,getKeys:r.keys,getNames:r.getOwnPropertyNames,getSymbols:r.getOwnPropertySymbols,each:[].forEach}},function(e,t,r){"use strict";var n=r(1).default;t.__esModule=!0,t.registerDefaultHelpers=function(e){o.default(e),i.default(e),s.default(e),a.default(e),l.default(e),c.default(e),u.default(e)},t.moveHelperToHooks=function(e,t,r){e.helpers[t]&&(e.hooks[t]=e.helpers[t],r||(e.helpers[t]=void 0))};var o=n(r(11)),i=n(r(12)),s=n(r(65)),a=n(r(66)),l=n(r(67)),c=n(r(68)),u=n(r(69))},function(e,t,r){"use strict";t.__esModule=!0;var n=r(5);t.default=function(e){e.registerHelper("blockHelperMissing",function(t,r){var o=r.inverse,i=r.fn;if(!0===t)return i(this);if(!1===t||null==t)return o(this);if(n.isArray(t))return t.length>0?(r.ids&&(r.ids=[r.name]),e.helpers.each(t,r)):o(this);if(r.data&&r.ids){var s=n.createFrame(r.data);s.contextPath=n.appendContextPath(r.data.contextPath,r.name),r={data:s}}return i(t,r)})},e.exports=t.default},function(e,t,r){"use strict";var n=r(13).default,o=r(43).default,i=r(55).default,s=r(60).default,a=r(1).default;t.__esModule=!0;var l=r(5),c=a(r(6));t.default=function(e){e.registerHelper("each",function(e,t){if(!t)throw new c.default("Must pass iterator to #each");var r,a=t.fn,u=t.inverse,p=0,d="",h=void 0,f=void 0;function m(t,r,n){h&&(h.key=t,h.index=r,h.first=0===r,h.last=!!n,f&&(h.contextPath=f+t)),d+=a(e[t],{data:h,blockParams:l.blockParams([e[t],t],[f+t,null])})}if(t.data&&t.ids&&(f=l.appendContextPath(t.data.contextPath,t.ids[0])+"."),l.isFunction(e)&&(e=e.call(this)),t.data&&(h=l.createFrame(t.data)),e&&"object"==typeof e)if(l.isArray(e))for(var g=e.length;p<g;p++)p in e&&m(p,p,p===e.length-1);else if("function"==typeof n&&e[o]){for(var v=[],y=i(e),b=y.next();!b.done;b=y.next())v.push(b.value);for(g=(e=v).length;p<g;p++)m(p,p,p===e.length-1)}else r=void 0,s(e).forEach(function(e){void 0!==r&&m(r,p-1),r=e,p++}),void 0!==r&&m(r,p-1,!0);return 0===p&&(d=u(this)),d})},e.exports=t.default},function(e,t,r){e.exports={default:r(14),__esModule:!0}},function(e,t,r){r(15),r(42),e.exports=r(21).Symbol},function(e,t,r){"use strict";var n=r(9),o=r(16),i=r(17),s=r(18),a=r(20),l=r(24),c=r(19),u=r(27),p=r(28),d=r(30),h=r(29),f=r(31),m=r(36),g=r(37),v=r(38),y=r(39),b=r(32),_=r(26),w=n.getDesc,k=n.setDesc,S=n.create,x=m.get,E=o.Symbol,P=o.JSON,I=P&&P.stringify,$=!1,C=h("_hidden"),L=n.isEnum,A=u("symbol-registry"),B=u("symbols"),T="function"==typeof E,O=Object.prototype,N=s&&c(function(){return 7!=S(k({},"a",{get:function(){return k(this,"a",{value:7}).a}})).a})?function(e,t,r){var n=w(O,t);n&&delete O[t],k(e,t,r),n&&e!==O&&k(O,t,n)}:k,D=function(e){var t=B[e]=S(E.prototype);return t._k=e,s&&$&&N(O,e,{configurable:!0,set:function(t){i(this,C)&&i(this[C],e)&&(this[C][e]=!1),N(this,e,_(1,t))}}),t},R=function(e){return"symbol"==typeof e},M=function(e,t,r){return r&&i(B,t)?(r.enumerable?(i(e,C)&&e[C][t]&&(e[C][t]=!1),r=S(r,{enumerable:_(0,!1)})):(i(e,C)||k(e,C,_(1,{})),e[C][t]=!0),N(e,t,r)):k(e,t,r)},H=function(e,t){y(e);for(var r,n=g(t=b(t)),o=0,i=n.length;i>o;)M(e,r=n[o++],t[r]);return e},F=function(e,t){return void 0===t?S(e):H(S(e),t)},q=function(e){var t=L.call(this,e);return!(t||!i(this,e)||!i(B,e)||i(this,C)&&this[C][e])||t},j=function(e,t){var r=w(e=b(e),t);return!r||!i(B,t)||i(e,C)&&e[C][t]||(r.enumerable=!0),r},U=function(e){for(var t,r=x(b(e)),n=[],o=0;r.length>o;)i(B,t=r[o++])||t==C||n.push(t);return n},V=function(e){for(var t,r=x(b(e)),n=[],o=0;r.length>o;)i(B,t=r[o++])&&n.push(B[t]);return n},W=c(function(){var e=E();return"[null]"!=I([e])||"{}"!=I({a:e})||"{}"!=I(Object(e))});T||(E=function(){if(R(this))throw TypeError("Symbol is not a constructor");return D(d(arguments.length>0?arguments[0]:void 0))},l(E.prototype,"toString",function(){return this._k}),R=function(e){return e instanceof E},n.create=F,n.isEnum=q,n.getDesc=j,n.setDesc=M,n.setDescs=H,n.getNames=m.get=U,n.getSymbols=V,s&&!r(41)&&l(O,"propertyIsEnumerable",q,!0));var z={for:function(e){return i(A,e+="")?A[e]:A[e]=E(e)},keyFor:function(e){return f(A,e)},useSetter:function(){$=!0},useSimple:function(){$=!1}};n.each.call("hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),function(e){var t=h(e);z[e]=T?t:D(t)}),$=!0,a(a.G+a.W,{Symbol:E}),a(a.S,"Symbol",z),a(a.S+a.F*!T,"Object",{create:F,defineProperty:M,defineProperties:H,getOwnPropertyDescriptor:j,getOwnPropertyNames:U,getOwnPropertySymbols:V}),P&&a(a.S+a.F*(!T||W),"JSON",{stringify:function(e){if(void 0!==e&&!R(e)){for(var t,r,n=[e],o=1,i=arguments;i.length>o;)n.push(i[o++]);return"function"==typeof(t=n[1])&&(r=t),!r&&v(t)||(t=function(e,t){if(r&&(t=r.call(this,e,t)),!R(t))return t}),n[1]=t,I.apply(P,n)}}}),p(E,"Symbol"),p(Math,"Math",!0),p(o.JSON,"JSON",!0)},function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,r){e.exports=!r(19)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,r){var n=r(16),o=r(21),i=r(22),s="prototype",a=function(e,t,r){var l,c,u,p=e&a.F,d=e&a.G,h=e&a.S,f=e&a.P,m=e&a.B,g=e&a.W,v=d?o:o[t]||(o[t]={}),y=d?n:h?n[t]:(n[t]||{})[s];for(l in d&&(r=t),r)(c=!p&&y&&l in y)&&l in v||(u=c?y[l]:r[l],v[l]=d&&"function"!=typeof y[l]?r[l]:m&&c?i(u,n):g&&y[l]==u?function(e){var t=function(t){return this instanceof e?new e(t):e(t)};return t[s]=e[s],t}(u):f&&"function"==typeof u?i(Function.call,u):u,f&&((v[s]||(v[s]={}))[l]=u))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,e.exports=a},function(e,t){var r=e.exports={version:"1.2.6"};"number"==typeof __e&&(__e=r)},function(e,t,r){var n=r(23);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,r){e.exports=r(25)},function(e,t,r){var n=r(9),o=r(26);e.exports=r(18)?function(e,t,r){return n.setDesc(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,r){var n=r(16),o="__core-js_shared__",i=n[o]||(n[o]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t,r){var n=r(9).setDesc,o=r(17),i=r(29)("toStringTag");e.exports=function(e,t,r){e&&!o(e=r?e:e.prototype,i)&&n(e,i,{configurable:!0,value:t})}},function(e,t,r){var n=r(27)("wks"),o=r(30),i=r(16).Symbol;e.exports=function(e){return n[e]||(n[e]=i&&i[e]||(i||o)("Symbol."+e))}},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},function(e,t,r){var n=r(9),o=r(32);e.exports=function(e,t){for(var r,i=o(e),s=n.getKeys(i),a=s.length,l=0;a>l;)if(i[r=s[l++]]===t)return r}},function(e,t,r){var n=r(33),o=r(35);e.exports=function(e){return n(o(e))}},function(e,t,r){var n=r(34);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t,r){var n=r(32),o=r(9).getNames,i={}.toString,s="object"==typeof window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.get=function(e){return s&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return s.slice()}}(e):o(n(e))}},function(e,t,r){var n=r(9);e.exports=function(e){var t=n.getKeys(e),r=n.getSymbols;if(r)for(var o,i=r(e),s=n.isEnum,a=0;i.length>a;)s.call(e,o=i[a++])&&t.push(o);return t}},function(e,t,r){var n=r(34);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){var n=r(40);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=!0},function(e,t){},function(e,t,r){e.exports={default:r(44),__esModule:!0}},function(e,t,r){r(45),r(51),e.exports=r(29)("iterator")},function(e,t,r){"use strict";var n=r(46)(!0);r(48)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})})},function(e,t,r){var n=r(47),o=r(35);e.exports=function(e){return function(t,r){var i,s,a=String(o(t)),l=n(r),c=a.length;return l<0||l>=c?e?"":void 0:(i=a.charCodeAt(l))<55296||i>56319||l+1===c||(s=a.charCodeAt(l+1))<56320||s>57343?e?a.charAt(l):i:e?a.slice(l,l+2):s-56320+(i-55296<<10)+65536}}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t,r){"use strict";var n=r(41),o=r(20),i=r(24),s=r(25),a=r(17),l=r(49),c=r(50),u=r(28),p=r(9).getProto,d=r(29)("iterator"),h=!([].keys&&"next"in[].keys()),f="@@iterator",m="keys",g="values",v=function(){return this};e.exports=function(e,t,r,y,b,_,w){c(r,t,y);var k,S,x=function(e){if(!h&&e in $)return $[e];switch(e){case m:case g:return function(){return new r(this,e)}}return function(){return new r(this,e)}},E=t+" Iterator",P=b==g,I=!1,$=e.prototype,C=$[d]||$[f]||b&&$[b],L=C||x(b);if(C){var A=p(L.call(new e));u(A,E,!0),!n&&a($,f)&&s(A,d,v),P&&C.name!==g&&(I=!0,L=function(){return C.call(this)})}if(n&&!w||!h&&!I&&$[d]||s($,d,L),l[t]=L,l[E]=v,b)if(k={values:P?L:x(g),keys:_?L:x(m),entries:P?x("entries"):L},w)for(S in k)S in $||i($,S,k[S]);else o(o.P+o.F*(h||I),t,k);return k}},function(e,t){e.exports={}},function(e,t,r){"use strict";var n=r(9),o=r(26),i=r(28),s={};r(25)(s,r(29)("iterator"),function(){return this}),e.exports=function(e,t,r){e.prototype=n.create(s,{next:o(1,r)}),i(e,t+" Iterator")}},function(e,t,r){r(52);var n=r(49);n.NodeList=n.HTMLCollection=n.Array},function(e,t,r){"use strict";var n=r(53),o=r(54),i=r(49),s=r(32);e.exports=r(48)(Array,"Array",function(e,t){this._t=s(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])},"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){e.exports={default:r(56),__esModule:!0}},function(e,t,r){r(51),r(45),e.exports=r(57)},function(e,t,r){var n=r(39),o=r(58);e.exports=r(21).getIterator=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return n(t.call(e))}},function(e,t,r){var n=r(59),o=r(29)("iterator"),i=r(49);e.exports=r(21).getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[n(e)]}},function(e,t,r){var n=r(34),o=r(29)("toStringTag"),i="Arguments"==n(function(){return arguments}());e.exports=function(e){var t,r,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=(t=Object(e))[o])?r:i?n(t):"Object"==(s=n(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,r){e.exports={default:r(61),__esModule:!0}},function(e,t,r){r(62),e.exports=r(21).Object.keys},function(e,t,r){var n=r(63);r(64)("keys",function(e){return function(t){return e(n(t))}})},function(e,t,r){var n=r(35);e.exports=function(e){return Object(n(e))}},function(e,t,r){var n=r(20),o=r(21),i=r(19);e.exports=function(e,t){var r=(o.Object||{})[e]||Object[e],s={};s[e]=t(r),n(n.S+n.F*i(function(){r(1)}),"Object",s)}},function(e,t,r){"use strict";var n=r(1).default;t.__esModule=!0;var o=n(r(6));t.default=function(e){e.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new o.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},e.exports=t.default},function(e,t,r){"use strict";var n=r(1).default;t.__esModule=!0;var o=r(5),i=n(r(6));t.default=function(e){e.registerHelper("if",function(e,t){if(2!=arguments.length)throw new i.default("#if requires exactly one argument");return o.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||o.isEmpty(e)?t.inverse(this):t.fn(this)}),e.registerHelper("unless",function(t,r){if(2!=arguments.length)throw new i.default("#unless requires exactly one argument");return e.helpers.if.call(this,t,{fn:r.inverse,inverse:r.fn,hash:r.hash})})},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("log",function(){for(var t=[void 0],r=arguments[arguments.length-1],n=0;n<arguments.length-1;n++)t.push(arguments[n]);var o=1;null!=r.hash.level?o=r.hash.level:r.data&&null!=r.data.level&&(o=r.data.level),t[0]=o,e.log.apply(e,t)})},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("lookup",function(e,t,r){return e?r.lookupProperty(e,t):e})},e.exports=t.default},function(e,t,r){"use strict";var n=r(1).default;t.__esModule=!0;var o=r(5),i=n(r(6));t.default=function(e){e.registerHelper("with",function(e,t){if(2!=arguments.length)throw new i.default("#with requires exactly one argument");o.isFunction(e)&&(e=e.call(this));var r=t.fn;if(o.isEmpty(e))return t.inverse(this);var n=t.data;return t.data&&t.ids&&((n=o.createFrame(t.data)).contextPath=o.appendContextPath(t.data.contextPath,t.ids[0])),r(e,{data:n,blockParams:o.blockParams([e],[n&&n.contextPath])})})},e.exports=t.default},function(e,t,r){"use strict";var n=r(1).default;t.__esModule=!0,t.registerDefaultDecorators=function(e){o.default(e)};var o=n(r(71))},function(e,t,r){"use strict";t.__esModule=!0;var n=r(5);t.default=function(e){e.registerDecorator("inline",function(e,t,r,o){var i=e;return t.partials||(t.partials={},i=function(o,i){var s=r.partials;r.partials=n.extend({},s,t.partials);var a=e(o,i);return r.partials=s,a}),t.partials[o.args[0]]=o.fn,i})},e.exports=t.default},function(e,t,r){"use strict";t.__esModule=!0;var n=r(5),o={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var t=n.indexOf(o.methodMap,e.toLowerCase());e=t>=0?t:parseInt(e,10)}return e},log:function(e){if(e=o.lookupLevel(e),"undefined"!=typeof console&&o.lookupLevel(o.level)<=e){var t=o.methodMap[e];console[t]||(t="log");for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];console[t].apply(console,n)}}};t.default=o,e.exports=t.default},function(e,t,r){"use strict";var n=r(74).default,o=r(60).default,i=r(1).default;
vendor: 4,351 bytes, line 2
2t.__esModule=!0,t.createProtoAccessControl=function(e){var t=n(null);t.__proto__=!1,s.extend(t,e.allowedProtoProperties);var r=n(null);return r.constructor=!1,r.__defineGetter__=!1,r.__defineSetter__=!1,r.__lookupGetter__=!1,r.__lookupSetter__=!1,s.extend(r,e.allowedProtoMethods),{properties:{whitelist:t,defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:r,defaultValue:e.allowProtoMethodsByDefault}}},t.resultIsAllowed=function(e,t,r){return function(e,t){return void 0!==e.whitelist[t]?!0===e.whitelist[t]:void 0!==e.defaultValue?e.defaultValue:(function(e){!0!==l[e]&&(l[e]=!0,a.default.log("error",'Handlebars: Access has been denied to resolve the property "'+e+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}(t),!1)}("function"==typeof e?t.methods:t.properties,r)},t.resetLoggedProperties=function(){o(l).forEach(function(e){delete l[e]})};var s=r(5),a=i(r(72)),l=n(null)},function(e,t,r){e.exports={default:r(75),__esModule:!0}},function(e,t,r){var n=r(9);e.exports=function(e,t){return n.create(e,t)}},function(e,t){"use strict";function r(e){this.string=e}t.__esModule=!0,r.prototype.toString=r.prototype.toHTML=function(){return""+this.string},t.default=r,e.exports=t.default},function(e,t,r){"use strict";var n=r(78).default,o=r(60).default,i=r(3).default,s=r(1).default;t.__esModule=!0,t.checkRevision=function(e){var t=e&&e[0]||1,r=c.COMPILER_REVISION;if(!(t>=c.LAST_COMPATIBLE_COMPILER_REVISION&&t<=c.COMPILER_REVISION)){if(t<c.LAST_COMPATIBLE_COMPILER_REVISION){var n=c.REVISION_CHANGES[r],o=c.REVISION_CHANGES[t];throw new l.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+n+") or downgrade your runtime to an older version ("+o+").")}throw new l.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+e[1]+").")}},t.template=function(e,t){if(!t)throw new l.default("No environment passed to template");if(!e||!e.main)throw new l.default("Unknown template object: "+typeof e);e.main.decorator=e.main_d,t.VM.checkRevision(e.compiler);var r=e.compiler&&7===e.compiler[0],o={strict:function(e,t,r){if(!e||!(t in e))throw new l.default('"'+t+'" not defined in '+e,{loc:r});return o.lookupProperty(e,t)},lookupProperty:function(e,t){var r=e[t];return null==r||Object.prototype.hasOwnProperty.call(e,t)||d.resultIsAllowed(r,o.protoAccessControl,t)?r:void 0},lookup:function(e,t){for(var r=e.length,n=0;n<r;n++){var i=e[n]&&o.lookupProperty(e[n],t);if(null!=i)return i}},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:a.escapeExpression,invokePartial:function(r,n,o){o.hash&&(n=a.extend({},n,o.hash),o.ids&&(o.ids[0]=!0)),r=t.VM.resolvePartial.call(this,r,n,o),o.hooks=this.hooks,o.protoAccessControl=this.protoAccessControl;var i=t.VM.invokePartial.call(this,r,n,o);if(null==i&&t.compile&&(o.partials[o.name]=t.compile(r,e.compilerOptions,t),i=o.partials[o.name](n,o)),null!=i){if(o.indent){for(var s=i.split("\n"),c=0,u=s.length;c<u&&(s[c]||c+1!==u);c++)s[c]=o.indent+s[c];i=s.join("\n")}return i}throw new l.default("The partial "+o.name+" could not be compiled when running in runtime-only mode")},fn:function(t){var r=e[t];return r.decorator=e[t+"_d"],r},programs:[],program:function(e,t,r,n,o){var i=this.programs[e],s=this.fn(e);return t||o||n||r?i=h(this,e,s,t,r,n,o):i||(i=this.programs[e]=h(this,e,s)),i},data:function(e,t){for(;e&&t--;)e=e._parent;return e},mergeIfNeeded:function(e,t){var r=e||t;return e&&t&&e!==t&&(r=a.extend({},t,e)),r},nullContext:n({}),noop:t.VM.noop,compilerInfo:e.compiler};function i(t){var r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=r.data;i._setup(r),!r.partial&&e.useData&&(n=function(e,t){return t&&"root"in t||((t=t?c.createFrame(t):{}).root=e),t}(t,n));var s=void 0,a=e.useBlockParams?[]:void 0;function l(t){return""+e.main(o,t,o.helpers,o.partials,n,a,s)}return e.useDepths&&(s=r.depths?t!=r.depths[0]?[t].concat(r.depths):r.depths:[t]),(l=g(e.main,l,o,r.depths||[],n,a))(t,r)}return i.isTop=!0,i._setup=function(n){if(n.partial)o.protoAccessControl
vendor: 5,946 bytes, line 2
2=n.protoAccessControl,o.helpers=n.helpers,o.partials=n.partials,o.decorators=n.decorators,o.hooks=n.hooks;else{var i={};v(i,t.helpers,o),v(i,n.helpers,o),o.helpers=i,e.usePartial&&(o.partials=o.mergeIfNeeded(n.partials,t.partials)),(e.usePartial||e.useDecorators)&&(o.decorators=a.extend({},t.decorators,n.decorators)),o.hooks={},o.protoAccessControl=d.createProtoAccessControl(n);var s=n.allowCallsToHelperMissing||r;u.moveHelperToHooks(o,"helperMissing",s),u.moveHelperToHooks(o,"blockHelperMissing",s)}},i._child=function(t,r,n,i){if(e.useBlockParams&&!n)throw new l.default("must pass block params");if(e.useDepths&&!i)throw new l.default("must pass parent depths");return h(o,t,e[t],r,0,n,i)},i},t.wrapProgram=h,t.resolvePartial=function(e,t,r){return e?e.call||r.name||(r.name=e,e=m(r.partials,e)):e="@partial-block"===r.name?m(r.data,"partial-block"):m(r.partials,r.name),e},t.invokePartial=function(e,t,r){var n=m(r.data,"partial-block");r.partial=!0,r.ids&&(r.data.contextPath=r.ids[0]||r.data.contextPath);var o=void 0;if(r.fn&&r.fn!==f&&function(){r.data=c.createFrame(r.data);var e=r.fn;o=r.data["partial-block"]=function(t){var r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return r.data=c.createFrame(r.data),r.data["partial-block"]=n,e(t,r)},e.partials&&(r.partials=a.extend({},r.partials,e.partials))}(),void 0===e&&o&&(e=o),void 0===e)throw new l.default("The partial "+r.name+" could not be found");if(e instanceof Function)return e(t,r)},t.noop=f;var a=i(r(5)),l=s(r(6)),c=r(4),u=r(10),p=r(81),d=r(73);function h(e,t,r,n,o,i,s){function a(t){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],a=s;return!s||t==s[0]||t===e.nullContext&&null===s[0]||(a=[t].concat(s)),r(e,t,e.helpers,e.partials,o.data||n,i&&[o.blockParams].concat(i),a)}return(a=g(r,a,e,s,n,i)).program=t,a.depth=s?s.length:0,a.blockParams=o||0,a}function f(){return""}function m(e,t){if(e&&Object.prototype.hasOwnProperty.call(e,t))return e[t]}function g(e,t,r,n,o,i){if(e.decorator){var s={};t=e.decorator(t,s,r,n&&n[0],o,i,n),a.extend(t,s)}return t}function v(e,t,r){t&&o(t).forEach(function(n){var o=t[n];e[n]=function(e,t){var r=t.lookupProperty;return p.wrapHelper(e,function(e){return e.lookupProperty=r,e})}(o,r)})}},function(e,t,r){e.exports={default:r(79),__esModule:!0}},function(e,t,r){r(80),e.exports=r(21).Object.seal},function(e,t,r){var n=r(40);r(64)("seal",function(e){return function(t){return e&&n(t)?e(t):t}})},function(e,t){"use strict";t.__esModule=!0,t.wrapHelper=function(e,t){return"function"!=typeof e?e:function(){return arguments[arguments.length-1]=t(arguments[arguments.length-1]),e.apply(this,arguments)}}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){"object"!=typeof globalThis&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__);var t=globalThis.Handlebars;e.noConflict=function(){return globalThis.Handlebars===e&&(globalThis.Handlebars=t),e}},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0;var r={helpers:{helperExpression:function(e){return"SubExpression"===e.type||("MustacheStatement"===e.type||"BlockStatement"===e.type)&&!!(e.params&&e.params.length||e.hash)},scopedId:function(e){return/^\.|this\b/.test(e.original)},simpleId:function(e){return 1===e.parts.length&&!r.helpers.scopedId(e)&&!e.depth}}};t.default=r,e.exports=t.default},function(e,t,r){"use strict";var n=r(60).default,o=r(1).default,i=r(3).default;t.__esModule=!0,t.parseWithoutProcessing=d,t.parse=function(e,t){var r=d(e,t);return new a.default(t).accept(r)};var s=o(r(85)),a=o(r(86)),l=i(r(88)),c=o(r(6)),u=r(5);t.parser=s.default;var p={};function d(e,t){return"Program"===e.type?(h(e),e):(s.default.yy=p,p.locInfo=function(e){return new p.SourceLocation(t&&t.srcName,e)},s.default.parse(e))}function h(e){if(null!=e)if(Array.isArray(e))e.forEach(h);else if("object"==typeof e){if("PathExpression"===e.type){if(!("number"==typeof(r=e.depth)&&isFinite(r)&&Math.floor(r)===r&&r>=0))throw new c.default("Invalid AST: PathExpression.depth must be an integer");if(!Array.isArray(e.parts))throw new c.default("Invalid AST: PathExpression.parts must be an array");for(var t=0;t<e.parts.length;t++)if("string"!=typeof e.parts[t])throw new c.default("Invalid AST: PathExpression.parts must only contain strings")}else if("NumberLiteral"===e.type){if("number"!=typeof e.value||!isFinite(e.value))throw new c.default("Invalid AST: NumberLiteral.value must be a number")}else if("BooleanLiteral"===e.type&&"boolean"!=typeof e.value)throw new c.default("Invalid AST: BooleanLiteral.value must be a boolean");var r;n(e).forEach(function(t){"loc"!==t&&h(e[t])})}}u.extend(p,l)},function(e,t){"use strict";t.__esModule=!0;var r=function(){var e={trace:function(){},yy:{},symbols_:{error:2,root:3,program:4,EOF:5,program_repetition0:6,statement:7,mustache:8,block:9,rawBlock:10,partial:11,partialBlock:12,content:13,COMMENT:14,CONTENT:15,openRawBlock:16,rawBlock_repetition0:17,END_RAW_BLOCK:18,OPEN_RAW_BLOCK:19,helperName:20,openRawBlock_repetition0:21,openRawBlock_option0:22,CLOSE_RAW_BLOCK:23,openBlock:24,block_option0:25,closeBlock:26,openInverse:27,block_option1:28,OPEN_BLOCK:29,openBlock_repetition0:30,openBlock_option0:31,openBlock_option1:32,CLOSE:33,OPEN_INVERSE:34,openInverse_repetition0:35,openInverse_option0:36,openInverse_option1:37,openInverseChain:38,OPEN_INVERSE_CHAIN:39,openInverseChain_repetition0:40,openInverseChain_option0:41,openInverseChain_option1:42,inverseAndProgram:43,INVERSE:44,inverseChain:45,inverseChain_option0:46,OPEN_ENDBLOCK:47,OPEN:48,mustache_repetition0:49,mustache_option0:50,OPEN_UNESCAPED:51,mustache_repetition1:52,mustache_option1:53,CLOSE_UNESCAPED:54,OPEN_PARTIAL:55,partialName:56,partial_repetition0:57,partial_option0:58,openPartialBlock:59,OPEN_PARTIAL_BLOCK:60,openPartialBlock_repetition0:61,openPartialBlock_option0:62,param:63,sexpr:64,OPEN_SEXPR:65,sex
vendor: 4,549 bytes, line 2
2pr_repetition0:66,sexpr_option0:67,CLOSE_SEXPR:68,hash:69,hash_repetition_plus0:70,hashSegment:71,ID:72,EQUALS:73,blockParams:74,OPEN_BLOCK_PARAMS:75,blockParams_repetition_plus0:76,CLOSE_BLOCK_PARAMS:77,path:78,dataName:79,STRING:80,NUMBER:81,BOOLEAN:82,UNDEFINED:83,NULL:84,DATA:85,pathSegments:86,SEP:87,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",14:"COMMENT",15:"CONTENT",18:"END_RAW_BLOCK",19:"OPEN_RAW_BLOCK",23:"CLOSE_RAW_BLOCK",29:"OPEN_BLOCK",33:"CLOSE",34:"OPEN_INVERSE",39:"OPEN_INVERSE_CHAIN",44:"INVERSE",47:"OPEN_ENDBLOCK",48:"OPEN",51:"OPEN_UNESCAPED",54:"CLOSE_UNESCAPED",55:"OPEN_PARTIAL",60:"OPEN_PARTIAL_BLOCK",65:"OPEN_SEXPR",68:"CLOSE_SEXPR",72:"ID",73:"EQUALS",75:"OPEN_BLOCK_PARAMS",77:"CLOSE_BLOCK_PARAMS",80:"STRING",81:"NUMBER",82:"BOOLEAN",83:"UNDEFINED",84:"NULL",85:"DATA",87:"SEP"},productions_:[0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[13,1],[10,3],[16,5],[9,4],[9,4],[24,6],[27,6],[38,6],[43,2],[45,3],[45,1],[26,3],[8,5],[8,5],[11,5],[12,3],[59,5],[63,1],[63,1],[64,5],[69,1],[71,3],[74,3],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[56,1],[56,1],[79,2],[78,1],[86,3],[86,1],[6,0],[6,2],[17,0],[17,2],[21,0],[21,2],[22,0],[22,1],[25,0],[25,1],[28,0],[28,1],[30,0],[30,2],[31,0],[31,1],[32,0],[32,1],[35,0],[35,2],[36,0],[36,1],[37,0],[37,1],[40,0],[40,2],[41,0],[41,1],[42,0],[42,1],[46,0],[46,1],[49,0],[49,2],[50,0],[50,1],[52,0],[52,2],[53,0],[53,1],[57,0],[57,2],[58,0],[58,1],[61,0],[61,2],[62,0],[62,1],[66,0],[66,2],[67,0],[67,1],[70,1],[70,2],[76,1],[76,2]],performAction:function(e,t,r,n,o,i,s){var a=i.length-1;switch(o){case 1:return i[a-1];case 2:this.$=n.prepareProgram(i[a]);break;case 3:case 4:case 5:case 6:case 7:case 8:case 20:case 27:case 28:case 33:case 34:case 40:case 41:this.$=i[a];break;case 9:this.$={type:"CommentStatement",value:n.stripComment(i[a]),strip:n.stripFlags(i[a],i[a]),loc:n.locInfo(this._$)};break;case 10:this.$={type:"ContentStatement",original:i[a],value:i[a],loc:n.locInfo(this._$)};break;case 11:this.$=n.prepareRawBlock(i[a-2],i[a-1],i[a],this._$);break;case 12:this.$={path:i[a-3],params:i[a-2],hash:i[a-1]};break;case 13:this.$=n.prepareBlock(i[a-3],i[a-2],i[a-1],i[a],!1,this._$);break;case 14:this.$=n.prepareBlock(i[a-3],i[a-2],i[a-1],i[a],!0,this._$);break;case 15:this.$={open:i[a-5],path:i[a-4],params:i[a-3],hash:i[a-2],blockParams:i[a-1],strip:n.stripFlags(i[a-5],i[a])};break;case 16:case 17:this.$={path:i[a-4],params:i[a-3],hash:i[a-2],blockParams:i[a-1],strip:n.stripFlags(i[a-5],i[a])};break;case 18:this.$={strip:n.stripFlags(i[a-1],i[a-1]),program:i[a]};break;case 19:var l=n.prepareBlock(i[a-2],i[a-1],i[a],i[a],!1,this._$),c=n.prepareProgram([l],i[a-1].loc);c.chained=!0,this.$={strip:i[a-2].strip,program:c,chain:!0};break;case 21:this.$={path:i[a-1],strip:n.stripFlags(i[a-2],i[a])};break;case 22:case 23:this.$=n.prepareMustache(i[a-3],i[a-2],i[a-1],i[a-4],n.stripFlags(i[a-4],i[a]),this._$);break;case 24:this.$={type:"PartialStatement",name:i[a-3],params:i[a-2],hash:i[a-1],indent:"",strip:n.stripFlags(i[a-4],i[a]),loc:n.locInfo(this._$)};break;case 25:this.$=n.preparePartialBlock(i[a-2],i[a-1],i[a],this._$);break;case 26:this.$={path:i[a-3],params:i[a-2],hash:i[a-1],strip:n.stripFlags(i[a-4],i[a])};break;case 29:this.$={type:"SubExpression",path:i[a-3],params:i[a-2],hash:i[a-1],loc:n.locInfo(this._$)};break;case 30:this.$={type:"Hash",pairs:i[a],loc:n.locInfo(this._$)};break;case 31:this.$={type:"HashPair",key:n.id(i[a-2]),value:i[a],loc:n.locInfo(this._$)};break;case 32:this.$=n.id(i[a-1]);break;case 35:this.$={type:"StringLiteral",value:i[a],original:i[a],loc:n.locInfo(this._$)};break;case 36:this.$={type:"NumberLiteral",value:Number(i[a]),original:Number(i[a]),loc:n.locInfo(this._$)};break;case 37:this.$={type:"BooleanLiteral",value:"true"===i[a],original:"true"===i[a],loc:n.locInfo(this._$)};break;case 38:this.$={type:"UndefinedLiteral",original:void 0,value:void 0,loc:n.locInfo(this._$)};break;case 39:this.$={type:"NullLiteral",original:null,value:null,loc:n.locInfo(this._$)};break;case 42:this.$=n.preparePath(!0,i[a],this._$);break;case 43:this.$=n.preparePath(!1,i[a],this._$);break;case 44:i[a-2].push({part:n.id(i[a]),original:i[a],separator:i[a-1]}),this.$=i[a-2];break;case 45:this.$=[{part:n.id(i[a]),original:i[a]}];break;case 46:case 48:case 50:case 58:case 64:case 70:case 78:case 82:case 86:case 90:case 94:this.$=[];break;case 47:case 49:case 51:case 59:case 65:case 71:case 79:case 83:case 87:case 91:case 95:case 99:case 101:i[a-1].push(i[a]);break;case 98:case 100:this.$=[i[a]]
vendor: 11,523 bytes, line 2
2}},table:[{3:1,4:2,5:[2,46],6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:11,14:[1,12],15:[1,20],16:17,19:[1,23],24:15,27:16,29:[1,21],34:[1,22],39:[2,2],44:[2,2],47:[2,2],48:[1,13],51:[1,14],55:[1,18],59:19,60:[1,24]},{1:[2,1]},{5:[2,47],14:[2,47],15:[2,47],19:[2,47],29:[2,47],34:[2,47],39:[2,47],44:[2,47],47:[2,47],48:[2,47],51:[2,47],55:[2,47],60:[2,47]},{5:[2,3],14:[2,3],15:[2,3],19:[2,3],29:[2,3],34:[2,3],39:[2,3],44:[2,3],47:[2,3],48:[2,3],51:[2,3],55:[2,3],60:[2,3]},{5:[2,4],14:[2,4],15:[2,4],19:[2,4],29:[2,4],34:[2,4],39:[2,4],44:[2,4],47:[2,4],48:[2,4],51:[2,4],55:[2,4],60:[2,4]},{5:[2,5],14:[2,5],15:[2,5],19:[2,5],29:[2,5],34:[2,5],39:[2,5],44:[2,5],47:[2,5],48:[2,5],51:[2,5],55:[2,5],60:[2,5]},{5:[2,6],14:[2,6],15:[2,6],19:[2,6],29:[2,6],34:[2,6],39:[2,6],44:[2,6],47:[2,6],48:[2,6],51:[2,6],55:[2,6],60:[2,6]},{5:[2,7],14:[2,7],15:[2,7],19:[2,7],29:[2,7],34:[2,7],39:[2,7],44:[2,7],47:[2,7],48:[2,7],51:[2,7],55:[2,7],60:[2,7]},{5:[2,8],14:[2,8],15:[2,8],19:[2,8],29:[2,8],34:[2,8],39:[2,8],44:[2,8],47:[2,8],48:[2,8],51:[2,8],55:[2,8],60:[2,8]},{5:[2,9],14:[2,9],15:[2,9],19:[2,9],29:[2,9],34:[2,9],39:[2,9],44:[2,9],47:[2,9],48:[2,9],51:[2,9],55:[2,9],60:[2,9]},{20:25,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:36,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:37,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{4:38,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{15:[2,48],17:39,18:[2,48]},{20:41,56:40,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:44,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{5:[2,10],14:[2,10],15:[2,10],18:[2,10],19:[2,10],29:[2,10],34:[2,10],39:[2,10],44:[2,10],47:[2,10],48:[2,10],51:[2,10],55:[2,10],60:[2,10]},{20:45,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:46,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:47,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:41,56:48,64:42,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[2,78],49:49,65:[2,78],72:[2,78],80:[2,78],81:[2,78],82:[2,78],83:[2,78],84:[2,78],85:[2,78]},{23:[2,33],33:[2,33],54:[2,33],65:[2,33],68:[2,33],72:[2,33],75:[2,33],80:[2,33],81:[2,33],82:[2,33],83:[2,33],84:[2,33],85:[2,33]},{23:[2,34],33:[2,34],54:[2,34],65:[2,34],68:[2,34],72:[2,34],75:[2,34],80:[2,34],81:[2,34],82:[2,34],83:[2,34],84:[2,34],85:[2,34]},{23:[2,35],33:[2,35],54:[2,35],65:[2,35],68:[2,35],72:[2,35],75:[2,35],80:[2,35],81:[2,35],82:[2,35],83:[2,35],84:[2,35],85:[2,35]},{23:[2,36],33:[2,36],54:[2,36],65:[2,36],68:[2,36],72:[2,36],75:[2,36],80:[2,36],81:[2,36],82:[2,36],83:[2,36],84:[2,36],85:[2,36]},{23:[2,37],33:[2,37],54:[2,37],65:[2,37],68:[2,37],72:[2,37],75:[2,37],80:[2,37],81:[2,37],82:[2,37],83:[2,37],84:[2,37],85:[2,37]},{23:[2,38],33:[2,38],54:[2,38],65:[2,38],68:[2,38],72:[2,38],75:[2,38],80:[2,38],81:[2,38],82:[2,38],83:[2,38],84:[2,38],85:[2,38]},{23:[2,39],33:[2,39],54:[2,39],65:[2,39],68:[2,39],72:[2,39],75:[2,39],80:[2,39],81:[2,39],82:[2,39],83:[2,39],84:[2,39],85:[2,39]},{23:[2,43],33:[2,43],54:[2,43],65:[2,43],68:[2,43],72:[2,43],75:[2,43],80:[2,43],81:[2,43],82:[2,43],83:[2,43],84:[2,43],85:[2,43],87:[1,50]},{72:[1,35],86:51},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{52:52,54:[2,82],65:[2,82],72:[2,82],80:[2,82],81:[2,82],82:[2,82],83:[2,82],84:[2,82],85:[2,82]},{25:53,38:55,39:[1,57],43:56,44:[1,58],45:54,47:[2,54]},{28:59,43:60,44:[1,58],47:[2,56]},{13:62,15:[1,20],18:[1,61]},{33:[2,86],57:63,65:[2,86],72:[2,86],80:[2,86],81:[2,86],82:[2,86],83:[2,86],84:[2,86],85:[2,86]},{33:[2,40],65:[2,40],72:[2,40],80:[2,40],81:[2,40],82:[2,40],83:[2,40],84:[2,40],85:[2,40]},{33:[2,41],65:[2,41],72:[2,41],80:[2,41],81:[2,41],82:[2,41],83:[2,41],84:[2,41],85:[2,41]},{20:64,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:65,47:[1,66]},{30:67,33:[2,58],65:[2,58],72:[2,58],75:[2,58],80:[2,58],81:[2,58],82:[2,58],83:[2,58],84:[2,58],85:[2,58]},{33:[2,64],35:68,65:[2,64],72:[2,64],75:[2,64],80:[2,64],81:[2,64],82:[2,64],83:[2,64],84:[2,64],85:[2,64]},{21:69,23:[2,50],65:[2,50],72:[2,50],80:[2,50],81:[2,50],82:[2,50],83:[2,50],84:[2,50],85:[2,50]},{33:[2,90],61:70,65:[2,90],72:[2,90],80:[2,90],81:[2,90],82:[2,90],83:[2,90],84:[2,90],85:[2,90]},{20:74,33:[2,80],50:71,63:72,64:75,65:[1,43],69:73,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{72:[1,79]},{23:[2,42],33:[2,42],54:[2,42],65:[2,42],68:[2,42],72:[2,42],75:[2,42],80:[2,42],81:[2,42],82:[2,42],83:[2,42],84:[2,42],85:[2,42],87:[1,50]},{20:74,53:80,54:[2,84],63:81,64:75,65:[1,43],69:82,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{26:83,47:[1,66]},{47:[2,55]},{4:84,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],39:[2,46],44:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{47:[2,20]},{20:85,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{4:86,6:3,14:[2,46],15:[2,46],19:[2,46],29:[2,46],34:[2,46],47:[2,46],48:[2,46],51:[2,46],55:[2,46],60:[2,46]},{26:87,47:[1,66]},{47:[2,57]},{5:[2,11],14:[2,11],15:[2,11],19:[2,11],29:[2,11],34:[2,11],39:[2,11],44:[2,11],47:[2,11],48:[2,11],51:[2,11],55:[2,11],60:[2,11]},{15:[2,49],18:[2,49]},{20:74,33:[2,88],58:88,63:89,64:75,65:[1,43],69:90,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{65:[2,94],66:91,68:[2,94],72:[2,94],80:[2,94],81:[2,94],82:[2,94],83:[2,94],84:[2,94],85:[2,94]},{5:[2,25],14:[2,25],15:[2,25],19:[2,25],29:[2,25],34:[2,25],39:[2,25],44:[2,25],47:[2,25],48:[2,25],51:[2,25],55:[2,25],60:[2,25]},{20:92,72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,31:93,33:[2,60],63:94,64:75,65:[1,43],69:95,70:76,71:77,72:[1,78],75:[2,60],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,66],36:96,63:97,64:75,65:[1,43],69:98,70:76,71:77,72:[1,78],75:[2,66],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,22:99,23:[2,52],63:100,64:75,65:[1,43],69:101,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{20:74,33:[2,92],62:102,63:103,64:75,65:[1,43],69:104,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,105]},{33:[2,79],65:[2,79],72:[2,79],80:[2,79],81:[2,79],82:[2,79],83:[2,79],84:[2,79],85:[2,79]},{33:[2,81]},{23:[2,27],33:[2,27],54:[2,27],65:[2,27],68:[2,27],72:[2,27],75:[2,27],80:[2,27],81:[2,27],82:[2,27],83:[2,27],84:[2,27],85:[2,27]},{23:[2,28],33:[2,28],54:[2,28],65:[2,28],68:[2,28],72:[2,28],75:[2,28],80:[2,28],81:[2,28],82:[2,28],83:[2,28],84:[2,28],85:[2,28]},{23:[2,30],33:[2,30],54:[2,30],68:[2,30],71:106,72:[1,107],75:[2,30]},{23:[2,98],33:[2,98],54:[2,98],68:[2,98],72:[2,98],75:[2,98]},{23:[2,45],33:[2,45],54:[2,45],65:[2,45],68:[2,45],72:[2,45],73:[1,108],75:[2,45],80:[2,45],81:[2,45],82:[2,45],83:[2,45],84:[2,45],85:[2,45],87:[2,45]},{23:[2,44],33:[2,44],54:[2,44],65:[2,44],68:[2,44],72:[2,44],75:[2,44],80:[2,44],81:[2,44],82:[2,44],83:[2,44],84:[2,44],85:[2,44],87:[2,44]},{54:[1,109]},{54:[2,83],65:[2,83],72:[2,83],80:[2,83],81:[2,83],82:[2,83],83:[2,83],84:[2,83],85:[2,83]},{54:[2,85]},{5:[2,13],14:[2,13],15:[2,13],19:[2,13],29:[2,13],34:[2,13],39:[2,13],44:[2,13],47:[2,13],48:[2,13],51:[2,13],55:[2,13],60:[2,13]},{38:55,39:[1,57],43:56,44:[1,58],45:111,46:110,47:[2,76]},{33:[2,70],40:112,65:[2,70],72:[2,70],75:[2,70],80:[2,70],81:[2,70],82:[2,70],83:[2,70],84:[2,70],85:[2,70]},{47:[2,18]},{5:[2,14],14:[2,14],15:[2,14],19:[2,14],29:[2,14],34:[2,14],39:[2,14],44:[2,14],47:[2,14],48:[2,14],51:[2,14],55:[2,14],60:[2,14]},{33:[1,113]},{33:[2,87],65:[2,87],72:[2,87],80:[2,87],81:[2,87],82:[2,87],83:[2,87],84:[2,87],85:[2,87]},{33:[2,89]},{20:74,63:115,64:75,65:[1,43],67:114,68:[2,96],69:116,70:76,71:77,72:[1,78],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{33:[1,117]},{32:118,33:[2,62],74:119,75:[1,120]},{33:[2,59],65:[2,59],72:[2,59],75:[2,59],80:[2,59],81:[2,59],82:[2,59],83:[2,59],84:[2,59],85:[2,59]},{33:[2,61],75:[2,61]},{33:[2,68],37:121,74:122,75:[1,120]},{33:[2,65],65:[2,65],72:[2,65],75:[2,65],80:[2,65],81:[2,65],82:[2,65],83:[2,65],84:[2,65],85:[2,65]},{33:[2,67],75:[2,67]},{23:[1,123]},{23:[2,51],65:[2,51],72:[2,51],80:[2,51],81:[2,51],82:[2,51],83:[2,51],84:[2,51],85:[2,51]},{23:[2,53]},{33:[1,124]},{33:[2,91],65:[2,91],72:[2,91],80:[2,91],81:[2,91],82:[2,91],83:[2,91],84:[2,91],85:[2,91]},{33:[2,93]},{5:[2,22],14:[2,22],15:[2,22],19:[2,22],29:[2,22],34:[2,22],39:[2,22],44:[2,22],47:[2,22],48:[2,22],51:[2,22],55:[2,22],60:[2,22]},{23:[2,99],33:[2,99],54:[2,99],68:[2,99],72:[2,99],75:[2,99]},{73:[1,108]},{20:74,63:125,64:75,65:[1,43],72:[1,35],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,23],14:[2,23],15:[2,23],19:[2,23],29:[2,23],34:[2,23],39:[2,23],44:[2,23],47:[2,23],48:[2,23],51:[2,23],55:[2,23],60:[2,23]},{47:[2,19]},{47:[2,77]},{20:74,33:[2,72],41:126,63:127,64:75,65:[1,43],69:128,70:76,71:77,72:[1,78],75:[2,72],78:26,79:27,80:[1,28],81:[1,29],82:[1,30],83:[1,31],84:[1,32],85:[1,34],86:33},{5:[2,24],14:[2,24],15:[2,24],19:[2,24],29:[2,24],34:[2,24],39:[2,24],44:[2,24],47:[2,24],48:[2,24],51:[2,24],55:[2,24],60:[2,24]},{68:[1,129]},{65:[2,95],68:[2,95],72:[2,95],80:[2,95],81:[2,95],82:[2,95],83:[2,95],84:[2,95],85:[2,95]},{68:[2,97]},{5:[2,21],14:[2,21],15:[2,21],19:[2,21],29:[2,21],34:[2,21],39:[2,21],44:[2,21],47:[2,21],48:[2,21],51:[2,21],55:[2,21],60:[2,21]},{33:[1,130]},{33:[2,63]},{72:[1,132],76:131},{33:[1,133]},{33:[2,69]},{15:[2,12],18:[2,12]},{14:[2,26],15:[2,26],19:[2,26],29:[2,26],34:[2,26],47:[2,26],48:[2,26],51:[2,26],55:[2,26],60:[2,26]},{23:[2,31],33:[2,31],54:[2,31],68:[2,31],72:[2,31],75:[2,31]},{33:[2,74],42:134,74:135,75:[1,120]},{33:[2,71],65:[2,71],72:[2,71],75:[2,71],80:[2,71],81:[2,71],82:[2,71],83:[2,71],84:[2,71],85:[2,71]},{33:[2,73],75:[2,73]},{23:[2,29],33:[2,29],54:[2,29],65:[2,29],68:[2,29],72:[2,29],75:[2,29],80:[2,29],81:[2,29],82:[2,29],83:[2,29],84:[2,29],85:[2,29]},{14:[2,15],15:[2,15],19:[2,15],29:[2,15],34:[2,15],39:[2,15],44:[2,15],47:[2,15],48:[2,15],51:[2,15],55:[2,15],60:[2,15]},{72:[1,137],77:[1,136]},{72:[2,100],77:[2,100]},{14:[2,16],15:[2,16],19:[2,16],29:[2,16],34:[2,16],44:[2,16],47:[2,16],48:[2,16],51:[2,16],55:[2,16],60:[2,16]},{33:[1,138]},{33:[2,75]},{33:[2,32]},{72:[2,101],77:[2,101]},{14:[2,17],15:[2,17],19:[2,17],29:[2,17],34:[2,17],39:[2,17],44:[2,17],47:[2,17],48:[2,17],51:[2,17],55:[2,17],60:[2,17]}],defaultActions:{4:[2,1],54:[2,55],56:[2,20],60:[2,57],73:[2,81],82:[2,85],86:[2,18],90:[2,89],101:[2,53],104:[2,93],110:[2,19],111:[2,77],116:[2,97],119:[2,63],122:[2,69],135:[2,75],136:[2,32]},parseError:function(e,t){throw new Error(e)},parse:function(e){
vendor: 2,390 bytes, line 2
2var t=this,r=[0],n=[null],o=[],i=this.table,s="",a=0,l=0,c=0;this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var u=this.lexer.yylloc;o.push(u);var p=this.lexer.options&&this.lexer.options.ranges;function d(){var e;return"number"!=typeof(e=t.lexer.lex()||1)&&(e=t.symbols_[e]||e),e}"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var h,f,m,g,v,y,b,_,w,k={};;){if(m=r[r.length-1],this.defaultActions[m]?g=this.defaultActions[m]:(null==h&&(h=d()),g=i[m]&&i[m][h]),void 0===g||!g.length||!g[0]){var S="";if(!c){for(y in w=[],i[m])this.terminals_[y]&&y>2&&w.push("'"+this.terminals_[y]+"'");S=this.lexer.showPosition?"Parse error on line "+(a+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+w.join(", ")+", got '"+(this.terminals_[h]||h)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==h?"end of input":"'"+(this.terminals_[h]||h)+"'"),this.parseError(S,{text:this.lexer.match,token:this.terminals_[h]||h,line:this.lexer.yylineno,loc:u,expected:w})}}if(g[0]instanceof Array&&g.length>1)throw new Error("Parse Error: multiple actions possible at state: "+m+", token: "+h);switch(g[0]){case 1:r.push(h),n.push(this.lexer.yytext),o.push(this.lexer.yylloc),r.push(g[1]),h=null,f?(h=f,f=null):(l=this.lexer.yyleng,s=this.lexer.yytext,a=this.lexer.yylineno,u=this.lexer.yylloc,c>0&&c--);break;case 2:if(b=this.productions_[g[1]][1],k.$=n[n.length-b],k._$={first_line:o[o.length-(b||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(b||1)].first_column,last_column:o[o.length-1].last_column},p&&(k._$.range=[o[o.length-(b||1)].range[0],o[o.length-1].range[1]]),void 0!==(v=this.performAction.call(k,s,l,a,this.yy,g[1],n,o)))return v;b&&(r=r.slice(0,-1*b*2),n=n.slice(0,-1*b),o=o.slice(0,-1*b)),r.push(this.productions_[g[1]][0]),n.push(k.$),o.push(k._$),_=i[r[r.length-2]][r[r.length-1]],r.push(_);break;case 3:return!0}}return!0}},t={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this}
vendor: 9,433 bytes, line 2
2,input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,r=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t-1),this.offset-=t;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var o=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===n.length?this.yylloc.first_column:0)+n[n.length-r.length].length-r[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-t]),this},more:function(){return this._more=!0,this},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;var e,t,r,n,o;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),s=0;s<i.length&&(!(r=this._input.match(this.rules[i[s]]))||t&&!(r[0].length>t[0].length)||(t=r,n=s,this.options.flex));s++);return t?((o=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,i[n],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e||void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return void 0!==e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)},options:{},performAction:function(e,t,r,n){function o(e,r){return t.yytext=t.yytext.substring(e,t.yyleng-r+e)}switch(r){case 0:if("\\\\"===t.yytext.slice(-2)?(o(0,1),this.begin("mu")):"\\"===t.yytext.slice(-1)?(o(0,1),this.begin("emu")):this.begin("mu"),t.yytext)return 15;break;case 1:case 5:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(o(5,9),"END_RAW_BLOCK");case 6:case 22:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:case 23:return 48;case 21:this.unput(t.yytext),this.popState(),this.begin("com");break;case 24:return 73;case 25:case 26:case 41:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return t.yytext=o(1,2).replace(/\\"/g,'"'),80;case 32:return t.yytext=o(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 42:return t.yytext=t.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}};function r(){this.yy={}}return e.lexer=t,r.prototype=e,e.Parser=r,new r}();t.default=r,e.exports=t.default},function(e,t,r){"use strict";var n=r(1).default;t.__esModule=!0;var o=n(r(87));function i(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=e}function s(e,t,r){void 0===t&&(t=e.length);var n=e[t-1],o=e[t-2];return n?"ContentStatement"===n.type?(o||!r?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(n.original):void 0:r}function a(e,t,r){void 0===t&&(t=-1);var n=e[t+1],o=e[t+2];return n?"ContentStatement"===n.type?(o||!r?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(n.original):void 0:r}function l(e,t,r){var n=e[null==t?0:t+1];if(n&&"ContentStatement"===n.type&&(r||!n.rightStripped)){var o=n.value;n.value=n.value.replace(r?/^\s+/:/^[ \t]*\r?\n?/,""),n.rightStripped=n.value!==o}}function c(e,t,r){var n=e[null==t?e.length-1:t-1];if(n&&"ContentStatement"===n.type&&(r||!n.leftStripped)){var o=n.value;return n.value=n.value.replace(r?/\s+$/:/[ \t]+$/,""),n.leftStripped=n.value!==o,n.leftStripped}}i.prototype=new o.default,i.prototype.Program=function(e){var t=!this.options.ignoreStandalone,r=!this.isRootSeen;this.isRootSeen=!0;for(var n=e.body,o=0,i=n.length;o<i;o++){var u=n[o],p=this.accept(u);if(p){var d=s(n,o,r),h=a(n,o,r),f=p.openStandalone&&d,m=p.closeStandalone&&h,g=p.inlineStandalone&&d&&h;p.close&&l(n,o,!0),p.open&&c(n,o,!0),t&&g&&(l(n,o),c(n,o)&&"PartialStatement"===u.type&&(u.indent=/([ \t]+$)/.exec(n[o-1].original)[1])),t&&f&&(l((u.program||u.inverse).body),c(n,o)),t&&m&&(l(n,o),c((u.inverse||u.program).body))}}return e},i.prototype.BlockStatement=i.prototype.DecoratorBlock=i.prototype.PartialBlockStatement=function(e){this.accept(e.program),this.accept(e.inverse);var t=e.program||e.inverse,r=e.program&&e.inverse,n=r,o=r;if(r&&r.chained)for(n=r.body[0].program;o.chained;)o=o.body[o.body.length-1].program;var i={open:e.openStrip.open,close:e.closeStrip.close,openStandalone:a(t.body),closeStandalone:s((n||t).body)};if(e.openStrip.close&&l(t.body,null,!0),r){var u=e.inverseStrip;u.open&&c(t.body,null,!0),u.close&&l(n.body,null,!0),e.closeStrip.open&&c(o.body,null,!0),!this.options.ignoreStandalone&&s(t.body)&&a(n.body)&&(c(t.body),l(n.body))}else e.closeStrip.open&&c(t.body,null,!0);return i},i.prototype.Decorator=i.prototype.MustacheStatement=function(e){return e.strip},i.prototype.PartialStatement=i.prototype.CommentStatement=function(e){var t=e.strip||{};return{inlineStandalone:!0,open:t.open,close:t.close}},t.default=i,e.exports=t.default},function(e,t,r){"use strict";var n=r(1).default;t.__esModule=!0;var o=n(r(6));function i(){this.parents=[]}function s(e){this.acceptRequired(e,"path"),this.acceptArray(e.params),this.acceptKey(e,"hash")}function a(e){s.call(this,e),this.acceptKey(e,"program"),this.acceptKey(e,"inverse")}function l(e){this.acceptRequired(e,"name"),this.acceptArray(e.params),this.acceptKey(e,"hash")}i.prototype={constructor:i,mutating:!1,acceptKey:function(e,t){var r=this.accept(e[t]);if(this.mutating){if(r&&!i.prototype[r.type])throw new o.default('Unexpected node type "'+r.type+'" found when accepting '+t+" on "+e.type);e[t]=r}},acceptRequired:function(e,t){if(this.acceptKey(e,t),!e[t])throw new o.default(e.type+" requires "+t)},acceptArray:function(e){for(var t=0,r=e.length;t<r;t++)this.acceptKey(e,t),e[t]||(e.splice(t,1),t--,r--)},accept:function(e){if(e){if(!this[e.type])throw new o.default("Unknown type: "+e.type,e);this.current&&this.parents.unshift(this.current),this.current=e;var t=this[e.type](e);return this.current=this.parents.shift(),!this.mutating||t?t:!1!==t?e:void 0}},Program:function(e){this.acceptArray(e.body)},MustacheStatement:s,Decorator:s,BlockStatement:a,DecoratorBlock:a,Parti
vendor: 4,855 bytes, line 2
2alStatement:l,PartialBlockStatement:function(e){l.call(this,e),this.acceptKey(e,"program")},ContentStatement:function(){},CommentStatement:function(){},SubExpression:s,PathExpression:function(){},StringLiteral:function(){},NumberLiteral:function(){},BooleanLiteral:function(){},UndefinedLiteral:function(){},NullLiteral:function(){},Hash:function(e){this.acceptArray(e.pairs)},HashPair:function(e){this.acceptRequired(e,"value")}},t.default=i,e.exports=t.default},function(e,t,r){"use strict";var n=r(1).default;t.__esModule=!0,t.SourceLocation=function(e,t){this.source=e,this.start={line:t.first_line,column:t.first_column},this.end={line:t.last_line,column:t.last_column}},t.id=function(e){return/^\[.*\]$/.test(e)?e.substring(1,e.length-1):e},t.stripFlags=function(e,t){return{open:"~"===e.charAt(2),close:"~"===t.charAt(t.length-3)}},t.stripComment=function(e){return e.replace(/^\{\{~?!-?-?/,"").replace(/-?-?~?\}\}$/,"")},t.preparePath=function(e,t,r){r=this.locInfo(r);for(var n=e?"@":"",i=[],s=0,a=0,l=t.length;a<l;a++){var c=t[a].part,u=t[a].original!==c;if(n+=(t[a].separator||"")+c,u||".."!==c&&"."!==c&&"this"!==c)i.push(c);else{if(i.length>0)throw new o.default("Invalid path: "+n,{loc:r});".."===c&&s++}}return{type:"PathExpression",data:e,depth:s,parts:i,original:n,loc:r}},t.prepareMustache=function(e,t,r,n,o,i){var s=n.charAt(3)||n.charAt(2),a="{"!==s&&"&"!==s;return{type:/\*/.test(n)?"Decorator":"MustacheStatement",path:e,params:t,hash:r,escaped:a,strip:o,loc:this.locInfo(i)}},t.prepareRawBlock=function(e,t,r,n){i(e,r);var o={type:"Program",body:t,strip:{},loc:n=this.locInfo(n)};return{type:"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:o,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}},t.prepareBlock=function(e,t,r,n,s,a){n&&n.path&&i(e,n);var l=/\*/.test(e.open);t.blockParams=e.blockParams;var c=void 0,u=void 0;if(r){if(l)throw new o.default("Unexpected inverse block on decorator",r);r.chain&&(r.program.body[0].closeStrip=n.strip),u=r.strip,c=r.program}return s&&(s=c,c=t,t=s),{type:l?"DecoratorBlock":"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:t,inverse:c,openStrip:e.strip,inverseStrip:u,closeStrip:n&&n.strip,loc:this.locInfo(a)}},t.prepareProgram=function(e,t){if(!t&&e.length){var r=e[0].loc,n=e[e.length-1].loc;r&&n&&(t={source:r.source,start:{line:r.start.line,column:r.start.column},end:{line:n.end.line,column:n.end.column}})}return{type:"Program",body:e,strip:{},loc:t}},t.preparePartialBlock=function(e,t,r,n){return i(e,r),{type:"PartialBlockStatement",name:e.path,params:e.params,hash:e.hash,program:t,openStrip:e.strip,closeStrip:r&&r.strip,loc:this.locInfo(n)}};var o=n(r(6));function i(e,t){if(t=t.path?t.path.original:t,e.path.original!==t){var r={loc:e.path.loc};throw new o.default(e.path.original+" doesn't match "+t,r)}}},function(e,t,r){"use strict";var n=r(74).default,o=r(1).default;t.__esModule=!0,t.Compiler=c,t.precompile=function(e,t,r){if(null==e||"string"!=typeof e&&"Program"!==e.type)throw new i.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+e);"data"in(t=t||{})||(t.data=!0),t.compat&&(t.useDepths=!0);var n=r.parse(e,t),o=(new r.Compiler).compile(n,t);return(new r.JavaScriptCompiler).compile(o,t)},t.compile=function(e,t,r){if(void 0===t&&(t={}),null==e||"string"!=typeof e&&"Program"!==e.type)throw new i.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+e);"data"in(t=s.extend({},t))||(t.data=!0),t.compat&&(t.useDepths=!0);var n=void 0;function o(){var n=r.parse(e,t),o=(new r.Compiler).compile(n,t),i=(new r.JavaScriptCompiler).compile(o,t,void 0,!0);return r.template(i)}function a(e,t){return n||(n=o()),n.call(this,e,t)}return a._setup=function(e){return n||(n=o()),n._setup(e)},a._child=function(e,t,r,i){return n||(n=o()),n._child(e,t,r,i)},a};var i=o(r(6)),s=r(5),a=o(r(83)),l=[].slice;function c(){}function u(e,t){if(e===t)return!0;if(s.isArray(e)&&s.isArray(t)&&e.length===t.length){for(var r=0;r<e.length;r++)if(!u(e[r],t[r]))return!1;return!0}}function p(e){if(!e.path.parts){var t=e.path;e.path={type:"PathExpression",data:!1,depth:0,parts:[t.original+""],original:t.original+"",loc:t.loc}}}c.prototype={compiler:c,equals:function(e){var t=this.opcodes.length;if(e.opcodes.length!==t)return!1;for(var r=0;r<t;r++){var n=this.opcodes[r],o=e.opcodes[r];if(n.opcode!==o.opcode||!u(n.args,o.args))return!1}for(t=this.children.length,r=0;r<t;r++)if(!this.children[r].equals(e.children[r]))return!1;return!0},guid:0,compile:function(e,t){return this.sourceNode=[],this.opcodes=[],this.children=[],this.options=t,this.stringParams=t.stringParams,this.trackIds=t.trackIds,t.blockParams=t.blockParams||[],t.knownHelpers=s.extend(n(null),{helperMissing:!0,blockHelperMissing:!0,each:!0,if:!0,unless:!0,with:!0,log:!0,lookup:!0},t.knownHelpers),this.accept(e)}
vendor: 2,675 bytes, line 2
2,compileProgram:function(e){var t=(new this.compiler).compile(e,this.options),r=this.guid++;return this.usePartial=this.usePartial||t.usePartial,this.children[r]=t,this.useDepths=this.useDepths||t.useDepths,r},accept:function(e){if(!this[e.type])throw new i.default("Unknown type: "+e.type,e);this.sourceNode.unshift(e);var t=this[e.type](e);return this.sourceNode.shift(),t},Program:function(e){this.options.blockParams.unshift(e.blockParams);for(var t=e.body,r=t.length,n=0;n<r;n++)this.accept(t[n]);return this.options.blockParams.shift(),this.isSimple=1===r,this.blockParams=e.blockParams?e.blockParams.length:0,this},BlockStatement:function(e){p(e);var t=e.program,r=e.inverse;t=t&&this.compileProgram(t),r=r&&this.compileProgram(r);var n=this.classifySexpr(e);"helper"===n?this.helperSexpr(e,t,r):"simple"===n?(this.simpleSexpr(e),this.opcode("pushProgram",t),this.opcode("pushProgram",r),this.opcode("emptyHash"),this.opcode("blockValue",e.path.original)):(this.ambiguousSexpr(e,t,r),this.opcode("pushProgram",t),this.opcode("pushProgram",r),this.opcode("emptyHash"),this.opcode("ambiguousBlockValue")),this.opcode("append")},DecoratorBlock:function(e){var t=e.program&&this.compileProgram(e.program),r=this.setupFullMustacheParams(e,t,void 0),n=e.path;this.useDecorators=!0,this.opcode("registerDecorator",r.length,n.original)},PartialStatement:function(e){this.usePartial=!0;var t=e.program;t&&(t=this.compileProgram(e.program));var r=e.params;if(r.length>1)throw new i.default("Unsupported number of partial arguments: "+r.length,e);r.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):r.push({type:"PathExpression",parts:[],depth:0}));var n=e.name.original,o="SubExpression"===e.name.type;o&&this.accept(e.name),this.setupFullMustacheParams(e,t,void 0,!0);var s=e.indent||"";this.options.preventIndent&&s&&(this.opcode("appendContent",s),s=""),this.opcode("invokePartial",o,n,s),this.opcode("append")},PartialBlockStatement:function(e){this.PartialStatement(e)},MustacheStatement:function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(e){this.DecoratorBlock(e)},ContentStatement:function(e){e.value&&this.opcode("appendContent",e.value)},CommentStatement:function(){},SubExpression:function(e){p(e);var t=this.classifySexpr(e);"simple"===t?this.simpleSexpr(e):"helper"===t?this.helperSexpr(e):this.ambiguousSexpr(e)},ambiguousSexpr:function(e,t,r){var n=e.path,o=n.parts[0],i=null!=t||null!=r;this.opcode("getContext",n.depth),this.opcode("pushProgram",t),this.opcode("pushProgram",r),n.strict=!0,this.accept(n),this.opcode("invokeAmbiguous",o,i)}
vendor: 13,257 bytes, line 2
2,simpleSexpr:function(e){var t=e.path;t.strict=!0,this.accept(t),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,t,r){var n=this.setupFullMustacheParams(e,t,r),o=e.path,s=o.parts[0];if(this.options.knownHelpers[s])this.opcode("invokeKnownHelper",n.length,s);else{if(this.options.knownHelpersOnly)throw new i.default("You specified knownHelpersOnly, but used the unknown helper "+s,e);o.strict=!0,o.falsy=!0,this.accept(o),this.opcode("invokeHelper",n.length,o.original,a.default.helpers.simpleId(o))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var t=e.parts[0],r=a.default.helpers.scopedId(e),n=!e.depth&&!r&&this.blockParamIndex(t);n?this.opcode("lookupBlockParam",n,e.parts):t?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts,e.strict)):this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,r):this.opcode("pushContext")},StringLiteral:function(e){this.opcode("pushString",e.value)},NumberLiteral:function(e){this.opcode("pushLiteral",e.value)},BooleanLiteral:function(e){this.opcode("pushLiteral",e.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(e){var t=e.pairs,r=0,n=t.length;for(this.opcode("pushHash");r<n;r++)this.pushParam(t[r].value);for(;r--;)this.opcode("assignToHash",t[r].key);this.opcode("popHash")},opcode:function(e){this.opcodes.push({opcode:e,args:l.call(arguments,1),loc:this.sourceNode[0].loc})},addDepth:function(e){e&&(this.useDepths=!0)},classifySexpr:function(e){var t=a.default.helpers.simpleId(e.path),r=t&&!!this.blockParamIndex(e.path.parts[0]),n=!r&&a.default.helpers.helperExpression(e),o=!r&&(n||t);if(o&&!n){var i=e.path.parts[0],s=this.options;s.knownHelpers[i]?n=!0:s.knownHelpersOnly&&(o=!1)}return n?"helper":o?"ambiguous":"simple"},pushParams:function(e){for(var t=0,r=e.length;t<r;t++)this.pushParam(e[t])},pushParam:function(e){var t=null!=e.value?e.value:e.original||"";if(this.stringParams)t.replace&&(t=t.replace(/^(\.?\.\/)*/g,"").replace(/\//g,".")),e.depth&&this.addDepth(e.depth),this.opcode("getContext",e.depth||0),this.opcode("pushStringParam",t,e.type),"SubExpression"===e.type&&this.accept(e);else{if(this.trackIds){var r=void 0;if(!e.parts||a.default.helpers.scopedId(e)||e.depth||(r=this.blockParamIndex(e.parts[0])),r){var n=e.parts.slice(1).join(".");this.opcode("pushId","BlockParam",r,n)}else(t=e.original||t).replace&&(t=t.replace(/^this(?:\.|$)/,"").replace(/^\.\//,"").replace(/^\.$/,"")),this.opcode("pushId",e.type,t)}this.accept(e)}},setupFullMustacheParams:function(e,t,r,n){var o=e.params;return this.pushParams(o),this.opcode("pushProgram",t),this.opcode("pushProgram",r),e.hash?this.accept(e.hash):this.opcode("emptyHash",n),o},blockParamIndex:function(e){for(var t=0,r=this.options.blockParams.length;t<r;t++){var n=this.options.blockParams[t],o=n&&s.indexOf(n,e);if(n&&o>=0)return[t,o]}}}},function(e,t,r){"use strict";var n=r(60).default,o=r(1).default;t.__esModule=!0;var i=r(4),s=o(r(6)),a=r(5),l=o(r(91));function c(e){this.value=e}function u(){}u.prototype={nameLookup:function(e,t){return this.internalNameLookup(e,t)},depthedLookup:function(e){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(e),")"]},compilerInfo:function(){var e=i.COMPILER_REVISION;return[e,i.REVISION_CHANGES[e]]},appendToBuffer:function(e,t,r){return a.isArray(e)||(e=[e]),e=this.source.wrap(e,t),this.environment.isSimple?["return ",e,";"]:r?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(e,t){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",e,",",JSON.stringify(t),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(e,t,r,n){this.environment=e,this.options=t,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!n,this.name=this.environment.name,this.isChild=!!r,this.context=r||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,t),this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var o=e.opcodes,i=void 0,a=void 0,l=void 0,c=void 0;for(l=0,c=o.length;l<c;l++)i=o[l],this.source.currentLocation=i.loc,a=a||i.loc,this[i.opcode].apply(this,i.args);if(this.source.currentLocation=a,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new s.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),";\n"]),this.decorators.push("return fn;"),n?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend("function(fn, props, container, depth0, data, blockParams, depths) {\n"),this.decorators.push("}\n"),this.decorators=this.decorators.merge()));var u=this.createFunctionContext(n);if(this.isChild)return u;var p={compiler:this.compilerInfo(),main:u};this.decorators&&(p.main_d=this.decorators,p.useDecorators=!0);var d=this.context,h=d.programs,f=d.decorators;for(l=0,c=h.length;l<c;l++)p[l]=h[l],f[l]&&(p[l+"_d"]=f[l],p.useDecorators=!0);return this.environment.usePartial&&(p.usePartial=!0),this.options.data&&(p.useData=!0),this.useDepths&&(p.useDepths=!0),this.useBlockParams&&(p.useBlockParams=!0),this.options.compat&&(p.compat=!0),n?p.compilerOptions=this.options:(p.compiler=JSON.stringify(p.compiler),this.source.currentLocation={start:{line:1,column:0}},p=this.objectLiteral(p),t.srcName?(p=p.toStringWithSourceMap({file:t.destName})).map=p.map&&p.map.toString():p=p.toString()),p},preamble:function(){this.lastContext=0,this.source=new l.default(this.options.srcName),this.decorators=new l.default(this.options.srcName)},createFunctionContext:function(e){var t=this,r="",o=this.stackVars.concat(this.registers.list);o.length>0&&(r+=", "+o.join(", "));var i=0;n(this.aliases).forEach(function(e){var n=t.aliases[e];n.children&&n.referenceCount>1&&(r+=", alias"+ ++i+"="+e,n.children[0]="alias"+i)}),this.lookupPropertyFunctionIsUsed&&(r+=", "+this.lookupPropertyFunctionVarDeclaration());var s=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&s.push("blockParams"),this.useDepths&&s.push("depths");var a=this.mergeSource(r);return e?(s.push(a),Function.apply(this,s)):this.source.wrap(["function(",s.join(","),") {\n  ",a,"}"])},mergeSource:function(e){var t=this.environment.isSimple,r=!this.forceBuffer,n=void 0,o=void 0,i=void 0,s=void 0;return this.source.each(function(e){e.appendToBuffer?(i?e.prepend("  + "):i=e,s=e):(i&&(o?i.prepend("buffer += "):n=!0,s.add(";"),i=s=void 0),o=!0,t||(r=!1))}),r?i?(i.prepend("return "),s.add(";")):o||this.source.push('return "";'):(e+=", buffer = "+(n?"":this.initializeBuffer()),i?(i.prepend("return buffer + "),s.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(n?"":";\n")),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return"\n      lookupProperty = container.lookupProperty || function(parent, propertyName) {\n        if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n          return parent[propertyName];\n        }\n        return undefined\n    }\n    ".trim()},blockValue:function(e){var t=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs(e,0,r);var n=this.popStack();r.splice(1,0,n),this.push(this.source.functionCall(t,"call",r))},ambiguousBlockValue:function(){var e=this.aliasable("container.hooks.blockHelperMissing"),t=[this.contextName(0)];this.setupHelperArgs("",0,t,!0),this.flushInline();var r=this.topStack();t.splice(1,0,r),this.pushSource(["if (!",this.lastHelper,") { ",r," = ",this.source.functionCall(e,"call",t),"}"])},appendContent:function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},append:function(){if(this.isInline())this.replaceStack(function(e){return[" != null ? ",e,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(e){this.lastContext=e},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(e,t,r,n){var o=0;n||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(e[o++])),this.resolvePath("context",e,o,t,r)},lookupBlockParam:function(e,t){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",t,1)},lookupData:function(e,t,r){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",t,0,!0,r)},resolvePath:function(e,t,r,n,o){var i=this;if(this.options.strict||this.options.assumeObjects)this.push(function(e,t,r,n,o){var i=t.popStack(),s=r.length;e&&s--;for(var a=n;a<s;a++)i=t.nameLookup(i,r[a],o);return e?[t.aliasable("container.strict"),"(",i,", ",t.quotedString(r[s]),", ",JSON.stringify(t.source.currentLocation)," )"]:i}(this.options.strict&&o,this,t,r,e));else for(var s=t.length,a=function(r){i.replaceStack(function(o){var s=i.nameLookup(o,t[r],e);return n?[" && ",s]:[" != null ? ",s," : ",o]})},l=r;l<s;l++)a(l)},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(e,t){this.pushContext(),this.pushString(t),"SubExpression"!==t&&("string"==typeof e?this.pushString(e):this.pushStackLiteral(e))},emptyHash:function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},pushString:function(e){this.pushStackLiteral(this.quotedString(e))},pushLiteral:function(e){this.pushStackLiteral(e)},pushProgram:function(e){null!=e?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},registerDecorator:function(e,t){var r=this.nameLookup("decorators",t,"decorator"),n=this.setupHelperArgs(t,e);this.decorators.push(["var decorator = ",r,";"]),this.decorators.push(['if (typeof decorator !== "function") { throw new Error(',this.quotedString('Missing decorator: "'+t+'"'),"); }"]),this.decorators.push(["fn = ",this.decorators.functionCall("decorator","",["fn","props","container",n])," || fn;"])},invokeHelper:function(e,t,r){var n=this.popStack(),o=this.setupHelper(e,t),i=[];r&&i.push(o.name),i.push(n),this.options.strict||i.push(this.aliasable("container.hooks.helperMissing"));var s=["(",this.itemsSeparatedBy(i,"||"),")"],a=this.source.functionCall(s,"call",o.callParams);this.push(a)},itemsSeparatedBy:function(e,t){var r=[];r.push(e[0]);for(var n=1;n<e.length;n++)r.push(t,e[n]);return r},invokeKnownHelper:function(e,t){var r=this.setupHelper(e,t);this.push(this.source.functionCall(r.name,"call",r.callParams))},invokeAmbiguous:function(e,t){this.useRegister("helper");var r=this.popStack();this.emptyHash();var n=this.setupHelper(0,e,t),o=["(","(helper = ",this.lastHelper=this.nameLookup("helpers",e,"helper")," || ",r,")"];this.options.strict||(o[0]="(helper = ",o.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",o,n.paramsInit?["),(",n.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",n.callParams)," : helper))"])},invokePartial:function(e,t,r){var n=[],o=this.setupParams(t,1,n);e&&(t=this.popStack(),delete o.name),r&&(o.indent=JSON.stringify(r)),o.helpers="helpers",o.partials="partials",o.decorators="container.decorators",e?n.unshift(t):n.unshift(this.nameLookup("partials",t,"partial")),this.options.compat&&(o.depths="depths"),o=this.objectLiteral(o),n.push(o),this.push(this.source.functionCall("container.invokePartial","",n))},assignToHash:function(e){var t=this.popStack(),r=void 0,n=void 0,o=void 0;this.trackIds&&(o=this.popStack()),this.stringParams&&(n=this.popStack(),r=this.popStack());var i=this.hash;r&&(i.contexts[e]=r),n&&(i.types[e]=n),o&&(i.ids[e]=o),i.values[e]=t},pushId:function(e,t,r){"BlockParam"===e?this.pushStackLiteral("blockParams["+t[0]+"].path["+t[1]+"]"+(r?" + "+JSON.stringify("."+r):"")):"PathExpression"===e?this.pushString(t):"Sub
2Expression"===e?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:u,compileChildren:function(e,t){for(var r=e.children,n=void 0,o=void 0,i=0,s=r.length;i<s;i++){n=r[i],o=new this.compiler;var a=this.matchExistingProgram(n);if(null==a){var l=this.context.programs.push("")-1;n.index=l,n.name="program"+l,this.context.programs[l]=o.compile(n,t,this.context,!this.precompile),this.context.decorators[l]=o.decorators,this.context.environments[l]=n,this.useDepths=this.useDepths||o.useDepths,this.useBlockParams=this.useBlockParams||o.useBlockParams,n.useDepths=this.useDepths,n.useBlockParams=this.useBlockParams}else n.index=a.index,n.name="program"+a.index,this.useDepths=this.useDepths||a.useDepths,this.useBlockParams=this.useBlockParams||a.useBlockParams}},matchExistingProgram:function(e){for(var t=0,r=this.context.environments.length;t<r;t++){var n=this.context.environments[t];if(n&&n.equals(e))return n}},programExpression:function(e){var t=this.environment.children[e],r=[t.index,"data",t.blockParams];return(this.useBlockParams||this.useDepths)&&r.push("blockParams"),this.useDepths&&r.push("depths"),"container.program("+r.join(", ")+")"},useRegister:function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},push:function(e){return e instanceof c||(e=this.source.wrap(e)),this.inlineStack.push(e),e},pushStackLiteral:function(e){this.push(new c(e))},pushSource:function(e){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),e&&this.source.push(e)},replaceStack:function(e){var t=["("],r=void 0,n=void 0,o=void 0;if(!this.isInline())throw new s.default("replaceStack on non-inline");var i=this.popStack(!0);if(i instanceof c)t=["(",r=[i.value]],o=!0;else{n=!0;var a=this.incrStack();t=["((",this.push(a)," = ",i,")"],r=this.topStack()}var l=e.call(this,r);o||this.popStack(),n&&this.stackSlot--,this.push(t.concat(l,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var e=this.inlineStack;this.inlineStack=[];for(var t=0,r=e.length;t<r;t++){var n=e[t];if(n instanceof c)this.compileStack.push(n);else{var o=this.incrStack();this.pushSource([o," = ",n,";"]),this.compileStack.push(o)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var t=this.isInline(),r=(t?this.inlineStack:this.compileStack).pop();if(!e&&r instanceof c)return r.value;if(!t){if(!this.stackSlot)throw new s.default("Invalid stack pop");this.stackSlot--}return r},topStack:function(){var e=this.isInline()?this.inlineStack:this.compileStack,t=e[e.length-1];return t instanceof c?t.value:t},contextName:function(e){return this.useDepths&&e?"depths["+e+"]":"depth"+e},quotedString:function(e){return this.source.quotedString(e)},objectLiteral:function(e){return this.source.objectLiteral(e)},aliasable:function(e){var t=this.aliases[e];return t?(t.referenceCount++,t):((t=this.aliases[e]=this.source.wrap(e)).aliasable=!0,t.referenceCount=1,t)},setupHelper:function(e,t,r){var n=[];return{params:n,paramsInit:this.setupHelperArgs(t,e,n,r),name:this.nameLookup("helpers",t,"helper"),callParams:[this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})")].concat(n)}},setupParams:function(e,t,r){var n={},o=[],i=[],s=[],a=!r,l=void 0;a&&(r=[]),n.name=this.quotedString(e),n.hash=this.popStack(),this.trackIds&&(n.hashIds=this.popStack()),this.stringParams&&(n.hashTypes=this.popStack(),n.hashContexts=this.popStack());var c=this.popStack(),u=this.popStack();(u||c)&&(n.fn=u||"container.noop",n.inverse=c||"container.noop");for(var p=t;p--;)l=this.popStack(),r[p]=l,this.trackIds&&(s[p]=this.popStack()),this.stringParams&&(i[p]=this.popStack(),o[p]=this.popStack());return a&&(n.args=this.source.generateArray(r)),this.trackIds&&(n.ids=this.source.generateArray(s)),this.stringParams&&(n.types=this.source.generateArray(i),n.contexts=this.source.generateArray(o)),this.options.data&&(n.data="data"),this.useBlockParams&&(n.blockParams="blockParams"),n},setupHelperArgs:function(e,t,r,n){var o=this.setupParams(e,t,r);return o.loc=JSON.stringify(this.source.currentLocation),o=this.objectLiteral(o),n?(this.useRegister("options"),r.push("options"),["o
2ptions=",o]):r?(r.push(o),""):o}},function(){for(var e="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),t=u.RESERVED_WORDS={},r=0,n=e.length;r<n;r++)t[e[r]]=!0}(),u.isValidJavaScriptVariableName=function(e){return!u.RESERVED_WORDS[e]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(e)},t.default=u,e.exports=t.default},function(e,t,r){"use strict";var n=r(60).default;t.__esModule=!0;var o=r(5),i=void 0;function s(e,t,r){if(o.isArray(e)){for(var n=[],i=0,s=e.length;i<s;i++)n.push(t.wrap(e[i],r));return n}return"boolean"==typeof e||"number"==typeof e?e+"":e}function a(e){this.srcFile=e,this.source=[]}i||((i=function(e,t,r,n){this.src="",n&&this.add(n)}).prototype={add:function(e){o.isArray(e)&&(e=e.join("")),this.src+=e},prepend:function(e){o.isArray(e)&&(e=e.join("")),this.src=e+this.src},toStringWithSourceMap:function(){return{code:this.toString()}},toString:function(){return this.src}}),a.prototype={isEmpty:function(){return!this.source.length},prepend:function(e,t){this.source.unshift(this.wrap(e,t))},push:function(e,t){this.source.push(this.wrap(e,t))},merge:function(){var e=this.empty();return this.each(function(t){e.add(["  ",t,"\n"])}),e},each:function(e){for(var t=0,r=this.source.length;t<r;t++)e(this.source[t])},empty:function(){var e=this.currentLocation||{start:{}};return new i(e.start.line,e.start.column,this.srcFile)},wrap:function(e){var t=arguments.length<=1||void 0===arguments[1]?this.currentLocation||{start:{}}:arguments[1];return e instanceof i?e:(e=s(e,this,t),new i(t.start.line,t.start.column,this.srcFile,e))},functionCall:function(e,t,r){return r=this.generateList(r),this.wrap([e,t?"."+t+"(":"(",r,")"])},quotedString:function(e){return'"'+(e+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},objectLiteral:function(e){var t=this,r=[];n(e).forEach(function(n){var o=s(e[n],t);"undefined"!==o&&r.push([t.quotedString(n),":",o])});var o=this.generateList(r);return o.prepend("{"),o.add("}"),o},generateList:function(e){for(var t=this.empty(),r=0,n=e.length;r<n;r++)r&&t.add(","),t.add(s(e[r],this));return t},generateArray:function(e){var t=this.generateList(e);return t.prepend("["),t.add("]"),t}},t.default=a,e.exports=t.default}])},e.exports=t()},525(e,t,r){"use strict";var n=r(18),o=r.n(n);const i=e=>e.replace(/\u202f/g," "),s=(e,t,r=null,n={})=>i(new Intl.NumberFormat(r||e.locale,{style:"currency",currency:e.currency,...n}).format(e[t]));o().registerHelper("atob",e=>{if(e)return atob(e)}),o().registerHelper("uenc",()=>btoa(window.location.href)),o().registerHelper("btoa",e=>{if(e)return btoa(e)}),o().registerHelper("encodeURIComponent",e=>{if(e)return encodeURIComponent(e)}),o().registerHelper("truncate",(e,t)=>{if(e.length>t&&e.length>0){let r=e.substr(0,t);return r=e.substr(0,r.lastIndexOf(" ")),r=r.length>0?r:e.substr(0,t),new(o().SafeString)(r+"...")}return e}),o().registerHelper("find",(e,t,r)=>e?.find(e=>e[t]===r)),o().registerHelper("split",(e,t)=>e?.split(t)),o().registerHelper("length",e=>e?.length),o().registerHelper("join",(e,t)=>e?.join(t)),o().registerHelper("discountPercentage",(e,t)=>{if(e)return Math.trunc((e-t||0)/e*100)}),o().registerHelper("toString",e=>e?.toString()),o().registerHelper("parseInt",e=>null!=e?parseInt(e):e),o().registerHelper("ifDateFuture",function(e,t){return new Date(e)>new Date?t.fn(this):t.inverse(this)}),o().registerHelper("ifDatePast",function(e,t){return new Date(e)<new Date?t.fn(this):t.inverse(this)}),o().registerHelper("replace",(e,t,r)=>e?.replace(t,r)),o().registerHelper("replaceAll",(e,t,r)=>e?.replaceAll(t,r)),o().registerHelper("ifEquals",function(e,t,r){return e==t?r.fn(this):r.inverse(this)}),o().registerHelper("ifContains",function(e,t,r){return-1!==e.indexOf(t)?r.fn(this):r.inverse(this)}),o().registerHelper("formatPrice",(e,t)=>s(e,t)),o().registerHelper("formatPriceAdvanced",(e,t,r,n,o)=>s(e,t,r,{minimumFractionDigits:n,maximumFractionDigits:o})),o().registerHelper("currencyCodeToSymbol",(e,t)=>{if(e)return new Intl.NumberFormat(t,{style:"currency",currency:e}).formatToParts(1).find(e=>"currency"===e.type).value}),o().registerHelper("toFixed",(e,t)=>null!=e?parseFloat(e).toFixed(t):e),o().registerHelper("ifFirst",function(e){return 0===e.data.index?e.fn(this):e.inverse(this)}),o().registerHelper("ifEven",function(e){return e.data.index%2==0?e.fn(this):e.inverse(this)}),o().registerHelper("ifEvenOrLast",function(e){return e.data.index%2==0||e.data.last?e.fn(this):e.inverse(this)}),o().registerHelper("ifOdd",function(e){return e.data.index%2==1?e.fn(this):e.inverse(this)}),o().registerHelper("ifOddOrLast",function(e){return e.data.index%2==1||e.data.last?e.fn(this):e.inverse(this)}),o().registerHelper("isNthElement",function(e,t){return(t.data.index+1)%e===0}),o().registerHelper("ifZero",function(e,t){return 0===e?t.fn(this):t.inverse(this)}),o().registerHelper("addUtm",function(e){return e}),o().registerHelper("fixedNumber",function(e){return null!=e?parseFloat(e).toFixed(0):e}),o().registerHelper("math",(e,t,r)=>({"+":(e=parseFloat(e))+(r=parseFloat(r)),"-":e-r,"*":e*r,"/":e/r,"%":e%r}[t])),o().registerHelper("find",(e,t,r)=>e?.find(e=>e[t]===r)),o().registerHelper("isGTE",function(e,t,r){return e>=t?r.fn(this):r.inverse(this)}),o().registerHelper("now",()=>(new Date).toISOString()),o().registerHelper("plusDays",(e,t)=>{const r=new Date(e),n=parseInt(t);return r.setUTCDate(r.getUTCDate()+n),r.toISOString().split("T")[0]}),o().registerHelper("minusDays",(e,t)=>{const r=new Date(e),n=parseInt(t);return r.setUTCDate(r.getUTCDate()+n),r.toISOString().split("T")[0]}),o().registerHelper("dateToLocaleFormat",(e,t)=>new Date(e).toLocaleDateString(t)),o().registerHelper("toLowerCase",e=>e?.toLowerCase()),o().registerHelper("toUpperCase",e=>e?.toUpperCase()),o().registerHelper("convertToEuro",function(e){return"number"!=typeof e&&(e=parseFloat(e)),isNaN(e)?"":(e/1.95583).toFixed(2)}),o().registerHelper("convertToBgn",function(e,t){const r={EUR:1.95583,BGN:1},n=parseFloat(e);return isNaN(n)||!r[t]?"":(n*r[t]).toFixed(2)}),o().registerHelper("endsWith",function(e,t,r){return"string"!=typeof e||"string"!=typeof t?r.inverse(this):e.endsWith(t)?r.fn(this):r.inverse(this)}),o().registerHelper("formatPriceFlexible",function(e,t,r,n,o){if(null==e||""===e||!r||!t)return"";const s=parseFloat(e);
2if(isNaN(s))return"";const a={style:"currency",currency:t,minimumFractionDigits:n,maximumFractionDigits:o};return i(new Intl.NumberFormat(r,a).format(s))}),o().registerHelper("currentYear",()=>(new Date).getFullYear().toString())},237(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";var handlebars__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(18),handlebars__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(handlebars__WEBPACK_IMPORTED_MODULE_0__),_handlebars_helpers_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(525);const evalChildScripts=appendedChild=>{const scriptsElements=appendedChild.querySelectorAll("script");for(const element of scriptsElements)if(element.innerHTML){const evalWrapper=function(){eval(element.innerHTML)};evalWrapper.call(window)}const elementsWithOnload=appendedChild.querySelectorAll("[onload]");for(const element of elementsWithOnload){const evalWrapper=function(){eval(element.getAttribute("onload"))};evalWrapper.call(element)}if(appendedChild.getAttribute("onload")){const evalWrapper=function(){eval(appendedChild.getAttribute("onload"))};evalWrapper.call(appendedChild)}},bannerElementId=e=>`rlv-banner-${e.token}`,MODAL_DISPLAY_TYPES=["popup","bar","flyout"],bannerBlockHtml=(e,t)=>{if("static"===e.displayType)return{html:e.html,mobileOnly:!1};if(!MODAL_DISPLAY_TYPES.includes(e.displayType))throw new Error(`Unsupported displayType ${e.displayType} for banner ${e.token}`);const r=e.html.match(/<[^>]*id=["']u_row_1["'][^>]*>/),n=r&&r[0].includes("hide-desktop"),o=n?`@media (min-width:481px){#${t}-modal{display:none!important}}`:"",i=e.advancedStyling?"":`<style>@media only screen and (max-width: 600px) { #${t}-modal .closeBtnHolder {right: 0 !important;}}</style>`;let s="";return"flyout"===e.displayType&&(s=`\n          ${i}\n          <style>${o}${e.cssStyles.customCss}</style>\n          <div id="${t}-modal" class="modalBanner" style="position: fixed;z-index: 99999;width: auto;display: flex;justify-content: center;bottom: 0;${e.displayPosition}: 20px;">\n            <div class="BannerModalContent" style="margin: 0;border: 1px solid #888;position: relative;">\n              \x3c!-- this is needed to remove padding added by unlayer editor --\x3e\n              <style>#${t}-modal .container {padding: 0px !important; } #${t}-modal .closeBtnHolder{top: ${e.cssStyles.closeButtonTopPosition}px; right: ${e.cssStyles.closeButtonRightPosition}px; cursor: pointer; z-index: 9999;}</style>\n              <div class="closeBtnHolder" style="position: absolute; line-height:${e.cssStyles.closeButtonLineHeight}px;"><a id="${t}-close" style="cursor: pointer; z-index: 9999;"><h3 style="color: ${e.cssStyles.closeButtonColor}; font-size: ${e.cssStyles.closeFontSize}px; margin: 0; background-color: ${e.cssStyles.closeButtonBackgroundColor}; border-radius: ${e.cssStyles.closeButtonBorderRadius}px; padding: ${e.cssStyles.closeButtonPadding};font-family: inherit; border:${e.cssStyles.closeButtonBorder};font-weight:${e.cssStyles.closeButtonFontWeight}">&nbsp;${e.cssStyles.closeButtonSymbol}&nbsp;</h3></a></div>\n              <div style="clear:both">\n                ${e.html}\n              </div>\n            </div>\n          </div>`),"bar"===e.displayType&&(s=`\n          ${i}\n          <style>${o}${e.cssStyles.customCss}</style>\n          <div id="${t}-modal" class="modalBanner" style="position: fixed; z-index: 99999; width: 100%; display: block; ${e.displayPosition}: 0;">\n            <div class="BannerModalContent" style="margin: 0;border: 1px solid #888;position: relative;">\n              \x3c!-- this is needed to remove padding added by unlayer editor --\x3e\n              <style>#${t}-modal .container {padding: 0px !important; } #${t}-modal .closeBtnHolder{top: ${e.cssStyles.closeButtonTopPosition}px; right: ${e.cssStyles.closeButtonRightPosition}px; cursor: pointer; z-index: 9999;}</style>\n              <div class="closeBtnHolder" style="position: absolute; line-height:${e.cssStyles.closeButtonLineHeight}px;"><a id="${t}-close" style="cursor: pointer; z-index: 9999;"><h3 style="color: ${e.cssStyles.closeButtonColor}; font-size: ${e.cssStyles.closeFontSize}px; margin: 0;
2 background-color: ${e.cssStyles.closeButtonBackgroundColor}; border-radius: ${e.cssStyles.closeButtonBorderRadius}px; padding: ${e.cssStyles.closeButtonPadding};font-family: inherit; border:${e.cssStyles.closeButtonBorder};font-weight:${e.cssStyles.closeButtonFontWeight}">&nbsp;${e.cssStyles.closeButtonSymbol}&nbsp;</h3></a></div>\n              <div style="clear:both">\n                ${e.html}\n              </div>\n            </div>\n          </div>`),"popup"===e.displayType&&(s=`\n        ${i}\n        <style>${o}${e.cssStyles.customCss}</style>\n          <div id="${t}-modal" class="modalBanner" style="position: fixed; z-index: 99999; width:100%; height: 100%; background-color: ${e.cssStyles.overlayColor}; display: flex; justify-content: center; top:0;">\n            <div class="BannerModalContent" style=" background-color: #fefefe;margin: auto auto; border: 1px solid #888; position: relative;">\n              \x3c!-- this is needed to remove padding added by unlayer editor --\x3e\n              <style>#${t}-modal .container {padding: 0px !important; } #${t}-modal .closeBtnHolder{top: ${e.cssStyles.closeButtonTopPosition}px; right: ${e.cssStyles.closeButtonRightPosition}px; cursor: pointer; z-index: 9999;}</style>\n              <div class="closeBtnHolder" style="position: absolute; line-height:${e.cssStyles.closeButtonLineHeight}px;"><a id="${t}-close" style="cursor: pointer; z-index: 9999;"><h3 style="color: ${e.cssStyles.closeButtonColor}; font-size: ${e.cssStyles.closeFontSize}px; margin: 0; background-color: ${e.cssStyles.closeButtonBackgroundColor}; border-radius: ${e.cssStyles.closeButtonBorderRadius}px; padding: ${e.cssStyles.closeButtonPadding};font-family: inherit; border:${e.cssStyles.closeButtonBorder};font-weight:${e.cssStyles.closeButtonFontWeight}">&nbsp;${e.cssStyles.closeButtonSymbol}&nbsp;</h3></a></div>\n              <div style="clear:both">\n                ${e.html}\n              </div>\n            </div>\n          </div>`),{html:s,mobileOnly:Boolean(n)}},insertRecommenderBlock=(e,t,r)=>{const n="function"==typeof r?r:handlebars__WEBPACK_IMPORTED_MODULE_0___default().compile(r),o=document.createElement("template");o.innerHTML=n(e);const i=e.displayStrategy||"beforeend",s=[];let a=null;for(const r of Array.from(o.content.children)){r.setAttribute("releva-product-block",e.token),r.setAttribute("releva-product-feed-id",e.productFeedId),r.setAttribute("releva-segment-id",e.segmentId);const n=t.insertAdjacentElement("replace"===i?"afterend":i,r);if(!n)throw new Error(`Child could not be appended at ${e.cssSelector} with strategy ${i}`);try{evalChildScripts(n)}catch(e){a=a||e.message}s.push(n)}return"replace"===i&&(t.style.display="none"),{elements:s,scriptError:a}};__webpack_require__.d(__webpack_exports__,["I3",0,bannerElementId,"cw",0,insertRecommenderBlock,"tO",0,evalChildScripts,"xu",0,bannerBlockHtml])}};const __webpack_module_cache__={};function __webpack_require__(e){const t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;const r=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{if(Array.isArray(t))for(var r=0;r<t.length;){var n=t[r++],o=t[r++],i=0===o?{enumerable:!0,value:t[r++]}:{enumerable:!0,get:o};__webpack_require__.o(e,n)||Object.defineProperty(e,n,i)}else for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.f={},__webpack_require__.e=e=>{const t=[];return __webpack_require__.f.j(e,t),Promise.all(t)},__webpack_require__.u=e=>({146:"bot",665:"fingerprint"}[e]+".min.js"),__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={},t="releva-sdk-js:";__webpack_require__.l=(r,n,o,i)=>{if(e[r])return void e[r].push(n);let s,a;if(void 0!==o){const e=document.getElementsByTagName("script");for(var l=0;l<e.length;l++){const n=e[l];
vendor: 1,029 bytes, line 2
2if(n.getAttribute("src")==r||n.getAttribute("data-webpack")==t+o){s=n;break}}}s||(a=!0,s=document.createElement("script"),s.charset="utf-8",__webpack_require__.nc&&s.setAttribute("nonce",__webpack_require__.nc),s.setAttribute("data-webpack",t+o),s.src=r),e[r]=[n];const c=(t,n)=>{s.onerror=s.onload=null,clearTimeout(u);const o=e[r];if(delete e[r],s.parentNode?.removeChild(s),o?.forEach(e=>e(n)),t)return t(n)},u=setTimeout(c.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=c.bind(null,s.onerror),s.onload=c.bind(null,s.onload),a&&document.head.appendChild(s)}})(),__webpack_require__.r=e=>{Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{let e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");const t=__webpack_require__.g.document;if(!e&&t&&("SCRIPT"===t.currentScript?.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){const r=t.getElementsByTagName("script");if(r.length){let t=r.length-1;for(;t>-1&&(!e||!/^https?:
2/.test(e));)e=r[t--].src}}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:|[?#].*$/g,"").replace(/\/[^/]+$/,"/"),__webpack_require__.p=e})(),(()=>{const e={395:0};__webpack_require__.f.j=(t,r)=>{let n=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{const o=new Promise((r,o)=>n=e[t]=[r,o]);r.push(n[2]=o);const i=new Error,s=r=>{if(__webpack_require__.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;i.message="Loading chunk "+t+" failed.\n("+e+": "+o+")",i.name="ChunkLoadError",i.type=e,i.request=o,i.event=r,n[1](i)}};__webpack_require__.l(__webpack_require__.p+__webpack_require__.u(t),s,"chunk-"+t,t)}};const t=(t,r)=>{let[n,o,i]=r;var s,a,l=0;if(n.some(t=>0!==e[t])){for(s in o)__webpack_require__.o(o,s)&&(__webpack_require__.m[s]=o[s]);i&&i(__webpack_require__)}for(t&&t(r);l<n.length;l++)a=n[l],__webpack_require__.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=self.webpackChunkreleva_sdk_js=self.webpackChunkreleva_sdk_js||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();let __webpack_exports__={};(()=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{push:()=>Ue});var e=__webpack_require__(18),t=__webpack_require__.n(e),r=(__webpack_require__(525),__webpack_require__(237));let n,o,i,s,a,l="";const c=[];let u=!1;const p="dataLayer";let d=null,h=!1,f=null,m=Date.now();const g=new Set(["c4944d7b-7389-4748-8a23-64fcaca15584"]);let v=!1;const y=new Set(["c4944d7b-7389-4748-8a23-64fcaca15584"]);let b=!1;window.relevaElements=[];const _=e=>{try{return decodeURIComponent(e)}catch{return e}},w=e=>{const t=`${e}=`,r=document.cookie.split(";");for(let e=0;e<r.length;e+=1){let n=r[e];for(;" "===n.charAt(0);)n=n.substring(1);if(0===n.indexOf(t))return _(n.substring(t.length,n.length))}return""},k=new Set(["_fbp","_fbc","_ga","_ttp"]),S=/^\d{1,20}$/,x=e=>{if(!e)return"";const t=e.split(".");let r="";if(0===e.indexOf("GS1."))r=t[2]||"";else{if(0!==e.indexOf("GS2."))return"";{const e=(t[2]||"").split("$");for(const t of e)if("s"===t.charAt(0)){r=t.substring(1);break}}}return S.test(r)?r:""},E=e=>(o&&!k.has(e)&&(e=`${o}_${e}`),w(e)),P=(e,t,r)=>{o&&!k.has(e)&&(e=`${o}_${e}`),((e,t,r)=>{let n=`${e}=${encodeURIComponent(t)}`;if(r){const e=new Date;e.setTime(e.getTime()+24*r*60*60*1e3),n=`${n};expires=${e.toUTCString()}`}"https:"===window.location.protocol&&(n=`${n};Secure`),document.cookie=`${n};path=/;SameSite=Lax;`})(e,t,r)},I=e=>{P(e,"",-1)};document.addEventListener("visibilitychange",()=>{if("visible"===document.visibilityState){if(Date.now()-m>=18e5){const e=parseInt(E("rlv_sessions")||"1",10)+1;P("rlv_sessions",String(e),365),h=!1,d=null,f&&(clearTimeout(f),f=null)}}else m=Date.now()});const $=e=>{const t=e.replace(/[[\]]/g,"\\$&"),r=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(window.location.href);if(r)return r[2]?decodeURIComponent(r[2].replace(/\+/g," ")):null};function C(e,t){let r;return(...n)=>{clearTimeout(r),r=setTimeout(()=>{e.apply(this,n)},t)}}const L="#904DFF",A="releva-edit-chrome",B="2147483000",T=String(Number(B)+1);let O=[],N=null,D=null,R=null;const M=(e,t)=>{for(const[r,n]of Object.entries(t))e.style.setProperty(r,n,"important")},H=()=>{for(const e of O){const t=e.element.getBoundingClientRect();M(e.box,{display:(e.band?t.width:t.width&&t.height)?"block":"none",left:`${t.left}px`,top:`${t.top}px`,width:`${t.width}px`,height:e.band?"24px":`${t.height}px`})}},F=()=>{null===D&&(D=requestAnimationFrame(()=>{D=null,H()}))},q=()=>{null!==D&&(cancelAnimationFrame(D),D=null),window.removeEventListener("scroll",F,!0),window.removeEventListener("resize",F),R?.disconnect(),R=null,N?.remove(),N=null,O=[]},j=(e,{unavailable:t=[],labelled:r=null,label:n="",bands:o=[]}={})=>{N?N.replaceChildren():(N=document.createElement("div"),N.setAttribute(A,"1"),M(N,{position:"fixed",left:"0",top:"0",width:"0",height:"0","pointer-events":"none","z-index":B}),document.body.append(N),window.addEventListener("scroll",F,{capture:!0,passive:!0}),window.addEventListener("resize",F,{passive:!0}));const i=[...e.map(e=>({element:e,muted:!1})),...t.map(e=>({element:e,muted:!0}
2))];r&&!i.some(e=>e.element===r)&&i.push({element:r,muted:!1}),O=i.map(({element:e,muted:t})=>{const o=document.createElement("div");return M(o,{position:"fixed",outline:`2px solid ${t?"#8A8A8A":L}`,"outline-offset":"2px","pointer-events":"none",display:"none"}),e===r&&o.append((e=>{const t=document.createElement("div");t.setAttribute("releva-edit-panel","1"),M(t,{position:"absolute",left:"0",top:"0",right:"0",bottom:"0",background:"rgba(144, 77, 255, 0.35)",display:"flex","align-items":"center","justify-content":"center",overflow:"hidden"});const r=document.createElement("span");return r.textContent=e,M(r,{background:L,color:"#ffffff",padding:"6px 10px","border-radius":"4px",font:"14px/1.4 sans-serif","text-align":"center"}),t.append(r),t})(n)),N.append(o),{element:e,box:o,band:!1}});for(const e of o){const t=document.createElement("div");t.setAttribute("releva-edit-band","1"),M(t,{position:"fixed",background:"rgba(144, 77, 255, 0.7)",outline:`2px dashed ${L}`,"pointer-events":"auto",cursor:"pointer",display:"none"}),N.append(t),O.push({element:e,box:t,band:!0})}(()=>{if("undefined"!=typeof ResizeObserver){R?R.disconnect():R=new ResizeObserver(F);for(const e of O)R.observe(e.element)}})(),H()},U=()=>{"debug"===sessionStorage.getItem("rlv_mode")&&j(Array.from(document.querySelectorAll("[releva-product-block], .releva-autocomplete-search-wrapper")))},V="placement-edit";let W=!1;try{W=$("rlv_mode")===V}catch{W=!1}const z=()=>W,K=(()=>{try{if("impersonate"!==$("rlv_mode"))return null;const e=window.location.hash.replace(/^#/,"").split("&"),t=e.find(e=>e.startsWith("rlv_impersonate="));if(!t)return null;const r=e.filter(e=>!e.startsWith("rlv_impersonate=")).join("&");return window.history.replaceState(window.history.state,"",`${window.location.pathname}${window.location.search}${r?`#${r}`:""}`),decodeURIComponent(t.slice(16))||null}catch{return null}})(),Y="layout-preview",J="releva.ai",G=e=>{let t;try{t=new URL(e)}catch{return!1}return"https:"===t.protocol&&(t.hostname===J||t.hostname.endsWith(`.${J}`))},Q=()=>{if(window.parent===window)return!1;if($("rlv_mode")===Y)return!0;try{return sessionStorage.getItem("rlv_mode")===Y}catch{return!1}},X=["beforebegin","afterbegin","beforeend","afterend","replace"];let Z=[],ee=null,te=!1;const re=()=>{for(const e of Z)e?.remove();Z=[],Q()&&q(),ee&&(ee.element.style.display=ee.display,ee=null)},ne=e=>{const t=e.data;if(!t||"object"!=typeof t)return;if("RLV_PREVIEW_RENDER"!==t.type&&"RLV_PREVIEW_CLEAR"!==t.type)return;if(!Q())return;if(e.source!==window.parent)return;if(!G(e.origin))return void(te||(te=!0,console.warn(`[Releva 0.57.0] Ignoring a layout preview message from untrusted origin ${e.origin}.`)));const n=r=>window.parent.postMessage({...r,token:t.token},e.origin);if("RLV_PREVIEW_CLEAR"===t.type)return re(),void n({type:"RLV_PREVIEW_CLEARED"});if("string"!=typeof t.html||!t.html||"string"!=typeof t.cssSelector||!t.cssSelector)return void n({type:"RLV_PREVIEW_ERROR",reason:"bad-payload"});let o;re();try{o=(({html:e,cssSelector:t,strategy:n})=>{let o;try{o=document.querySelector(t)}catch{return{error:"bad-selector"}}if(!o)return{error:"selector-not-found"};const i=document.createElement("template");if(i.innerHTML=e,!i.content.children.length)return{error:"empty-html"};const s=[];for(const e of Array.from(i.content.children)){e.setAttribute("releva-layout-preview","1");const t=o.insertAdjacentElement("replace"===n?"afterend":n,e);if(!t)return Z=s,re(),{error:"insert-failed"};s.push(t)}Z=s,"replace"===n&&(ee={element:o,display:o.style.display},o.style.display="none");let a=null;for(const e of s)try{(0,r.tO)(e)}catch(e){a=e.message}return"function"==typeof s[0].scrollIntoView&&s[0].scrollIntoView({block:"center"}),j(s),{height:Math.ceil(s.reduce((e,t)=>e+t.getBoundingClientRect().height,0)),...a?{scriptError:a}:{}}})({html:t.html,cssSelector:t.cssSelector,strategy:X.includes(t.strategy)?t.strategy:"beforeend"})}catch(e){o={error:"insert-failed",message:e.message}}o.error?n({type:"RLV_PREVIEW_ERROR",reason:o.error}):n({type:"RLV_PREVIEW_RENDERED",height:o.height,...o.scriptError?{scriptError:o.scriptError}:{}})};Q()&&(()=>{try{sessionStorage.setItem("rlv_mode",Y)}catch{}window.relevaLayoutPreviewHandler&&window.removeEventListener("message",window.relevaLayoutPreviewHandler),window.relevaLayoutPreviewHandler=ne,window.addEventListener("message",ne);const e=$("rlv_mode")===Y,t=()=>window.parent.postMessage({type:"RLV_PREVIEW_READY",version:"0.57.0",...e?{url:window.location.href}:{}},"*");"loading"===document.readyState?document.addEventListener("DOMContentLoaded",t):t()})();const oe=(e,t)=>{const r=JSON.stringify(e);let n=2166136263;t&&(n=t);for(let e=0;e<r.length;e+=1)n^=r.charCodeAt(e),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`0000000${(n>>>0).toString(16)}`.substr(-8)},ie=()=>(65536*(1+Math.random())|0).toString(16).substring(1),se=()=>`${ie()}${ie()}-${ie()}-${ie()}-${ie()}-${ie()}${ie()}${ie()}`,ae=e=>{const t=$("rlv_at");if(!t||t===l)return $(e);console.warn(`Refusing to load url parameter ${e} because data was intended for a different shop than the one configured!`)},le=e=>{try{return 1===document.querySelectorAll(e).length}catch{return!1}},ce=e=>{const t=e.nodeName.toLowerCase(),r=e.id?[`${t}#${e.id}`]:[];for(const n of e.attributes)n.name.startsWith("data-")&&r.push(`${t}[${n.name}=${JSON.stringify(n.value)}]`);for(const n of e.classList)r.push(`${t}.${n}`);const n=r.find(le);if(n)return{selector:n,unique:!0};let o=e,i=1;for(;o=o.previousElementSibling;)o.nodeName===e.nodeName&&i++;return{selector:i>1?`${t}:nth-of-type(${i})`:t,unique:!1}},ue=e=>{const t=[];for(;e;){const r=ce(e);if(t.unshift(r.selector),r.unique)break;e=e.parentElement}return t.join(" > ")},pe=(e,t,r,n)=>{"debug"===sessionStorage.getItem("rlv_mode")&&(console.log(`[Releva 0.57.0] Request to ${e}:`),console.log(r));const o={method:t,cache:"no-cache",redirect:"error",referrer:"no-referrer",credentials:"include",...n?{headers:n}:{}};if(r){const e=new URLSearchParams;e.append("formPayload",btoa(encodeURIComponent(JSON.stringify(r)))),Object.assign(o,{headers:{...n,"Content-Type":"application/x-www-form-urlencoded"},body:e})}return fetch(e,o)},de=[{key:"rlv_p",validDays:365,initValue:()=>se(),apply:(e,t)=>e.deviceId=t,changeFlag:"deviceIdChanged"},{key:"rlv_g",validDays:365,initValue:()=>Math.floor(Math.random()*Math.floor(1e4)),overrideValue:()=>parseInt(ae("rlv_g"))||void 0,readTransform:parseInt,apply:(e,t)=>e.group=t},{key:"rlv_s",initValue:se,apply:(e,t)=>e.sessionId=t},{key:"rlv_u",validDays:365,overrideValue:e=>{let t;try{t=ae("rlv_u")}catch{}let r=E("rlv_u");"undefined"===r&&(r=void 0,I("rlv_u"));let n=e.profile?.id||void 0;
2const o=Boolean(n||e.profile?.email||e.profile?.phoneNumber);if(t?.startsWith("rlv1."))o||(e.profile.token=t);else if(!n&&t)try{n=atob(atob(t))||void 0}catch{}return n&&r&&n!==r&&(void 0===e.mergeProfileIds&&(e.mergeProfileIds=[]),e.mergeProfileIds.push(r)),n},apply:(e,t)=>{t&&(e.profile.email||e.profile.phoneNumber?E("rlv_mrgd_u")!==t&&(void 0===e.mergeProfileIds&&(e.mergeProfileIds=[]),e.mergeProfileIds.push(t),P("rlv_mrgd_u",t,7)):e.profile.id=t)}},{key:"_fbp",validDays:365,apply:(e,t)=>{t&&(e.fbp=t)},valueOptional:!0},{key:"_fbc",validDays:365,apply:(e,t)=>{t&&(e.fbc=t)},valueOptional:!0},{key:"rlv_c",validDays:365,overrideValue:e=>{const t=e.profile?.consent||void 0;return t&&I("rlv_c"),t},apply:(e,t)=>{t&&(e.profile||(e.profile={}),e.profile.consent=t)}},{key:"_ga",validDays:365,apply:(e,t)=>{if(!t)return;const r=t.split(".").splice(-2);e.ga=r[0]+"."+r[1]},valueOptional:!0},{key:"_ttp",validDays:365,apply:(e,t)=>{t&&(e.ttp=t)},valueOptional:!0}],he=[{key:"rlv_h_profile",validDays:365,parameter:"profile",changeFlag:"profileChanged"},{key:"rlv_h_cart",validDays:365,parameter:"cart",changeFlag:"cartChanged"},{key:"rlv_h_wish",validDays:365,parameter:"wishlist",changeFlag:"wishlistChanged"},{key:"rlv_h_fbp",validDays:365,parameter:"fbp",changeFlag:"fbpChanged"},{key:"rlv_h_fbc",validDays:365,parameter:"fbc",changeFlag:"fbcChanged"},{key:"rlv_h_ga",validDays:365,parameter:"ga",changeFlag:"gaChanged"},{key:"rlv_h_ttp",validDays:365,parameter:"ttp",changeFlag:"ttpChanged"}],fe=[{key:"rlv_first_seen",validDays:365},{key:"rlv_sessions",validDays:365},{key:"rlv_views",validDays:365}],me="rlv_li",ge="rlv_lib",ve=[{key:me},{key:ge}],ye=[{key:"rlv_mode",overrideValue:()=>ae("rlv_mode"),param:"mode"},{key:"rlv_hashes",overrideValue:()=>ae("rlv_hashes")},{key:"rlv_first_session",initValue:e=>!!e.deviceIdChanged,readTransform:e=>"true"===e,param:"isFirstSession"}],be=[{contextParam:"rid",urlParam:"rlv_rid"},{contextParam:"rpid",urlParam:"rlv_rpid"},{contextParam:"rpos",urlParam:"rlv_rpos",readTransform:parseInt},{contextParam:"aid",urlParam:"rlv_aid"},{contextParam:"apid",urlParam:"rlv_apid"},{contextParam:"apos",urlParam:"rlv_apos",readTransform:parseInt},{contextParam:"bid",urlParam:"rlv_bid"},{contextParam:"odid",urlParam:"rlv_odid"},{contextParam:"cid",urlParam:"rlv_cid"},{contextParam:"mid",urlParam:"rlv_mid"},{contextParam:"pfid",urlParam:"rlv_pfid"},{contextParam:"ctid",urlParam:"rlv_ctid"},{contextParam:"fsid",urlParam:"rlv_fsid"},{contextParam:"sid",urlParam:"rlv_sid"},{contextParam:"stid",urlParam:"rlv_stid"},{contextParam:"said",urlParam:"rlv_said"},{contextParam:"sapid",urlParam:"rlv_sapid"},{contextParam:"fbclid",urlParam:"fbclid"}],_e=()=>n?`https://${n}.releva.ai`:"https://releva.ai";let we,ke,Se=null,xe=0,Ee=0,Pe="visible"===document.visibilityState?Date.now():null,Ie=null,$e=0;const Ce=()=>{const e=Math.max(document.body?document.body.scrollHeight:0,document.documentElement?document.documentElement.scrollHeight:0);if(e<=0)return 0;const t=window.scrollY+window.innerHeight;return Math.max(0,Math.min(100,Math.round(100*t/e)))},Le=e=>{if(null===Se)return;const t=xe,r=(()=>{const e=null!==Pe?Date.now()-Pe:0;return Ee+Math.max(0,e)})();if($e>=60)return;if(Ie&&t<=Ie.scroll&&r-Ie.active<15e3)return;const n=s||E("rlv_p"),o=E("rlv_s");if(!n||!o)return void console.warn("[Releva] pageEngagement skipped: missing device/session identity (rlv_p/rlv_s). Ensure the SDK's cookies are initialised (a prior push, or the platform pixel) before tracking engagement.");if(!l)return void console.warn("[Releva] pageEngagement skipped: no access token set (call Releva.setAccessToken).");const i={profileId:E("rlv_u")||n,deviceId:n,sessionId:o,action:"pageEngagement",page:{url:ke||window.location.href,token:we},maxScrollPercent:t,activeTimeMs:r};Ie={scroll:t,active:r},$e+=1;const a=`${_e()}/api/v0/push/events/${l}`;if(e&&"undefined"!=typeof navigator&&navigator.sendBeacon)try{const e=new URLSearchParams;if(e.append("formPayload",btoa(encodeURIComponent(JSON.stringify(i)))),navigator.sendBeacon(a,e))return}catch{}pe(a,"POST",i).catch(e=>console.error("[Releva] pageEngagement error:",e))},Ae=e=>{const t=e&&e.token,r=e&&e.url||window.location.href,n=t||(e=>{try{const t=new URL(e,window.location.href).pathname;return t.endsWith("/")?t.slice(0,-1):t}catch{return null}})(r);if(null!==n)return null===Se?(Se=n,we=t,ke=r,void(xe=Ce())):void(n!==Se&&(Le(!1),Se=n,we=t,ke=r,xe=Ce(),Ee=0,Pe="visible"===document.visibilityState?Date.now():null,Ie=null,$e=0))};let Be=!1;window.addEventListener("scroll",()=>{Be||(Be=!0,window.requestAnimationFrame(()=>{Be=!1;const e=Ce();e>xe&&(xe=e)}))},{passive:!0}),document.addEventListener("visibilitychange",()=>{"visible"===document.visibilityState?Pe=Date.now():(null!==Pe&&(Ee+=Date.now()-Pe,Pe=null),Le(!0))}),window.addEventListener("pagehide",()=>Le(!0));const Te=(e,t)=>
2e.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:t}).then(e=>pe(`${_e()}/api/v0/pushSubscriptions/${l}`,"POST",{context:{profile:{id:i||E("rlv_u")},deviceId:s||E("rlv_p")},subscription:e})),Oe=(e,t)=>navigator.serviceWorker.register(e).then(e=>e.active?e:new Promise(t=>{const r=e.installing||e.waiting;if(!r)return void t(null);const n=()=>{"activated"===r.state?(r.removeEventListener("statechange",n),t(e)):"redundant"===r.state&&(r.removeEventListener("statechange",n),console.warn("[Releva 0.57.0] Service worker became redundant during registration."),t(null))};r.addEventListener("statechange",n),"activated"===r.state?(r.removeEventListener("statechange",n),t(e)):"redundant"===r.state&&(r.removeEventListener("statechange",n),console.warn("[Releva 0.57.0] Service worker became redundant during registration."),t(null))})).then(e=>{if(e&&e.pushManager)return e.pushManager.getSubscription().then(r=>{if(r){if(JSON.stringify(new Int8Array(r.options.applicationServerKey))===JSON.stringify(new Int8Array((e=>{const t=(e+"=".repeat((4-e.length%4)%4)).replace(/-/g,"+").replace(/_/g,"/"),r=window.atob(t),n=new Uint8Array(r.length);for(let e=0;e<r.length;++e)n[e]=r.charCodeAt(e);return n})(t))))return;return r.unsubscribe().then(()=>Te(e,t)).catch(e=>{throw new Error(`An error occurred during re-subscribe: ${e.message}`)})}return Te(e,t)});console.warn("[Releva 0.57.0] Push messaging is not supported.")}),Ne=(e,t)=>{try{if(!navigator.serviceWorker)return void console.warn("[Releva 0.57.0] Error while setting up push subscription: This browser does not support service workers.");if(!("Notification"in window))return void console.warn("[Releva 0.57.0] Error while setting up push subscription: This browser does not support desktop notifications.");const r=e=>{console.warn(`[Releva 0.57.0] Error while setting up push subscription: ${e.message}`)};if("granted"===Notification.permission)return Oe(e,t).catch(r);if("denied"!==Notification.permission)return Notification.requestPermission().then(n=>{if("granted"===n)return Oe(e,t).catch(r)}).catch(r)}catch(e){console.warn(`[Releva 0.57.0] Error while setting up push subscription: ${e.message}`)}},De=(e,t,r)=>{const n=E(t.key),o=t[r](e);void 0!==o&&o!==n&&(P(t.key,o,t.validDays),t.changeFlag&&(e[t.changeFlag]=!0))},Re=e=>{for(const t of de){const r=E(t.key);t.initValue&&!r&&De(e,t,"initValue")}for(const t of de)t.overrideValue&&De(e,t,"overrideValue")},Me=e=>{for(const t of ye){if(t.initValue&&null===sessionStorage.getItem(t.key)){const r=t.initValue(e);null!=r&&sessionStorage.setItem(t.key,r)}if(t.overrideValue){const r=t.overrideValue(e);null!=r&&sessionStorage.setItem(t.key,r)}}},He=e=>{for(const t of de){let r=E(t.key);r&&(t.readTransform&&(r=t.readTransform(r)),t.apply(e,r))}for(const t of ye){let r=sessionStorage.getItem(t.key);t.param&&(t.readTransform&&(r=t.readTransform(r)),e[t.param]=r)}},Fe=()=>{let e=!1,t=null;try{!0===navigator.webdriver&&(e=!0,t="webdriver")}catch{}try{const r=JSON.parse(localStorage.getItem("rlv_bot")||"null");r&&r.isBot&&(e=!0,t=r.kind||t||"unknown")}catch{}return{isBot:e,kind:t,source:"client"}},qe=e=>!!(e&&e.isBot&&e.kind&&"unknown"!==e.kind),je=e=>{const t=t=>e(new Error(`[Releva 0.57.0] Error while generating fingerprint data: ${t.message}`));try{if(qe(Fe()))return;const e=localStorage.getItem("rlv_f_id");if(v)return;if(e&&sessionStorage.getItem("rlv_f_checked"))return;v=!0,__webpack_require__.e(665).then(()=>__webpack_require__(750)).then(t=>{const r=t.default||t;return r.load().then(e=>e.get()).then(t=>{const n=t.components;n?.canvas?.value?.text&&(n.canvas.value.text="");const o=r.hashComponents(n);o!==e&&(localStorage.setItem("rlv_f_id",o),localStorage.setItem("rlv_f_data",JSON.stringify(n)));try{sessionStorage.setItem("rlv_f_checked","1")}catch{}})}).catch(t).finally(()=>{v=!1})}catch(e){v=!1,t(e)}};let Ue;const Ve=(e,t,r)=>{if("IntersectionObserver"in window){const n=new IntersectionObserver(o=>{o.forEach(o=>{o.isIntersecting&&(e.setAttribute(`data-rlv-${t}-visible`,"true"),r(),n.disconnect())})},{threshold:.25});n.observe(e)}else{const n=()=>{const{top:o,left:i,bottom:s,right:a,height:l}=e.getBoundingClientRect(),c=window.innerHeight||document.documentElement.clientHeight,u=window.innerWidth||document.documentElement.clientWidth;Math.min(s,c)-Math.max(o,0)>=.25*l&&i<u&&a>0&&(e.setAttribute(`data-rlv-${t}-visible`,"true"),r(),window.removeEventListener("scroll",n),window.removeEventListener("resize",n))};n(),window.addEventListener("scroll",n),window.addEventListener("resize",n)}},We=new Set,ze=window.__relevaPendingBannerImpressions||(window.__relevaPendingBannerImpressions=new Map);window.relevaDebouncedTrack=window.relevaDebouncedTrack||C(()=>{const e=["banner","recommender"],t={banners:[],recommenders:[]};for(const r of e){const e=document.querySelectorAll(`[data-rlv-${r}-visible="true"]`);if("banner"===r){const r=Array.from(e).filter(e=>e.hasAttribute("releva-banner-block")).map(e=>({token:e.getAttribute("releva-banner-block"),bannerId:e.getAttribute("releva-banner-id"),segmentId:e.getAttribute("releva-segment-id")})),n=new Map;for(const e of[...ze.values(),...r])n.set(e.token,e);ze.clear(),t.banners=Array.from(n.values()).filter(e=>!We.has(e.token));for(const e of t.banners)We.add(e.token)}else if("recommender"===r){t.recommenders=Array.from(e).filter(e=>e.hasAttribute("releva-product-block")).map(e=>({token:e.getAttribute("releva-product-block"),productFeedId:e.getAttribute("releva-product-feed-id"),segmentId:e.getAttribute("releva-segment-id")})).filter(e=>!We.has(e.token));for(const e of t.recommenders)We.add(e.token)}}
2(t.banners.length||t.recommenders.length)&&((e,{banners:t,recommenders:r})=>{try{l=e;const n={profile:{},page:{}};Re(n),Me(n);for(const e of be)if(!n[e.contextParam]){let t=ae(e.urlParam);t&&(e.readTransform&&(t=e.readTransform(t)),n[e.contextParam]=t)}He(n);const o={banners:t,recommenders:r,profileId:n.profile.id||n.deviceId,deviceId:n.deviceId,sessionId:n.sessionId,url:window.location.href};n.profile?.email&&(o.email=n.profile.email),n.profile?.phoneNumber&&(o.phoneNumber=n.profile.phoneNumber),pe(`${_e()}/api/v0/impressions/${l}`,"POST",o).then(e=>{200===e.status?"debug"===sessionStorage.getItem("rlv_mode")&&console.log("[Releva 0.57.0] impressions tracked successfully."):e.text().then(t=>{console.error(new Error(`[Releva 0.57.0] Server returned response status: ${e.status}, body: ${t}`))})}).catch(e=>{console.error(new Error(`[Releva 0.57.0] Request error: ${e.message}`))})}catch(e){console.error(new Error(`[Releva 0.57.0] Unhandled error: ${e.message}`))}})(l,t)},250);const Ke=e=>{const t={profileId:E("rlv_u")||s,deviceId:s||E("rlv_p"),sessionId:E("rlv_s"),action:e.action,attributions:e.attributions};t.page=a?{url:a.url||window.location.href,token:a.token}:{url:window.location.href},pe(`${_e()}/api/v0/push/events/${l}`,"POST",t).catch(e=>console.error("[Releva] pushEvent error:",e))},Ye=(e,t,r)=>{Ke({action:r,attributions:{bannerBlockId:e,bannerId:t?.toString()}})},Je=(e,t)=>{Ke({action:t,attributions:{storyId:e}})},Ge=(e,t,r)=>{Ye(t,r,"bannerClose"),e.remove()},Qe="rlvLeaveIntent",Xe=new Map([["low",.5],["medium",.3],["high",.1]]),Ze=["off","scrollUp","scrollUpAndBackButton"],et=[],tt=()=>{const e=E("rlv_s"),[t,r]=(E(me)||"").split("|");return e&&t===e?(r||"").split(",").filter(Boolean):[]},rt=({token:e,backButton:t,mobile:r,sensitivity:n,onFire:o})=>{const i=[];let s=!1,a=null;const l=()=>{for(a&&(clearTimeout(a),a=null);i.length;)i.pop()()};if(tt().includes(e))return l;const c=()=>{s||(tt().includes(e)?l():(s=!0,l(),(e=>{const t=E("rlv_s");if(!t)return;const r=tt().filter(t=>t!==e).concat(e).slice(-20);P(me,`${t}|${r.join(",")}`)})(e),o()))},u=window.matchMedia&&window.matchMedia("(hover: hover) and (pointer: fine)").matches,p=Ze.includes(r)?r:"scrollUp",d=!u&&"off"!==p;if(u){const e=()=>{a&&(clearTimeout(a),a=null)},t=e=>{e.relatedTarget||e.toElement||e.clientY>10||a||(a=setTimeout(()=>{a=null,c()},1e3))};document.addEventListener("mouseout",t),document.addEventListener("mouseover",e),document.addEventListener("mousemove",e),i.push(()=>{document.removeEventListener("mouseout",t),document.removeEventListener("mouseover",e),document.removeEventListener("mousemove",e)})}if(d){const e=Xe.get(n)??Xe.get("low"),t=[];let r=0,o=window.scrollY;const s=window.scrollY;let a=0,l=0;const u=()=>{l=Date.now()},p=()=>{const n=window.scrollY,i=o-n;if(o=n,a=Math.max(a,n-s),a<window.innerHeight)return;if(i<=0)return t.length=0,void(r=0);const u=Date.now();if(!(u-l>300||i>window.innerHeight)){for(t.push([u,i]),r+=i;u-t[0][0]>700;)r-=t.shift()[1];r>=window.innerHeight*e&&c()}};window.addEventListener("touchmove",u,{passive:!0}),window.addEventListener("scroll",p,{passive:!0}),i.push(()=>{window.removeEventListener("touchmove",u),window.removeEventListener("scroll",p)})}if(d&&(t||"scrollUpAndBackButton"===p)&&(()=>{const e=E("rlv_s");return!!e&&E(ge)!==e})()){const e=["pointerdown","touchstart","click"];let t,r=!1,n=!1;const o=e=>{r&&!e.state?.[Qe]&&c()},s=e=>{n||e.target?.closest?.("a,button")||(n=!0,window.history.state?t():(()=>{const e=E("rlv_s");return!(!e||E(ge)===e||(P(ge,e),0))})()&&(window.history.pushState({[Qe]:!0},"",window.location.href),r=!0))};for(const t of e)document.addEventListener(t,s,{passive:!0});window.addEventListener("popstate",o),t=()=>{r&&window.history.state?.[Qe]&&(r=!1,window.history.back());for(const t of e)document.removeEventListener(t,s);window.removeEventListener("popstate",o)},i.push(t)}return et.push(l),l}
2,nt=(e,t,n)=>{if(e.length&&!Q())for(const o of e){const e=(0,r.I3)(o),i=document.getElementById(e)||document.createElement("div");if(i.isConnected||(i.id=e,i.setAttribute("releva-banner-block",o.token),i.setAttribute("releva-banner-id",o.bannerId),i.setAttribute("releva-segment-id",o.segmentId),i.style.display="none"),"static"===o.displayType){const t=document.querySelector(o.cssSelector||void 0),n=o.displayStrategy||"afterbegin";if(!t){console.warn(`[Releva][showBanners] Unable to find element with query selector ${o.cssSelector} for banner ${o.token}`);continue}i.innerHTML=(0,r.xu)(o,e).html,i.isConnected||("replace"===n?(t.insertAdjacentElement("afterend",i),t.style.display="none"):t.insertAdjacentElement(n,i))}else{if("popup"!==o.displayType&&"bar"!==o.displayType&&"flyout"!==o.displayType){if("custom"===o.displayType)continue;console.warn(`[Releva][showBanners] Unsupported displayType ${o.displayType} for banner ${o.token}`);continue}{if(z())continue;const t=document.querySelector("body");i.innerHTML=(0,r.xu)(o,e).html,i.isConnected||t.insertBefore(i,t.firstChild)}}window.addEventListener("hashchange",()=>{"static"!==o.displayType&&Ge(i,o.token,o.bannerId)});const s=document.getElementById(`${e}-close`);s?.addEventListener("click",()=>{Ge(i,o.token,o.bannerId)});const a=document.getElementById(`${e}-modal`);i.addEventListener("click",t=>{"debug"===sessionStorage.getItem("rlv_mode")&&(console.log(`[Releva][showBanners] Banner ${i.id} clicked! Click target: ${t.target.tagName}`),console.log(t.target)),t.target===a?(Ge(i,o.token,o.bannerId),document.getElementById(e)?.remove()):"button"!==t.target.tagName.toLowerCase()&&("a"!==t.target.tagName.toLowerCase()||t.target.href&&"#"!==t.target.href[0])||Ye(o.token,o.bannerId,"bannerClick")}),(0,r.tO)(i);const l=e=>{const t=document.getElementById(e);if(t)if(t.removeAttribute("style"),"static"===o.displayType)Ve(t,"banner",()=>window.relevaDebouncedTrack());else{const t=document.getElementById(`${e}-modal`);t&&t.getClientRects().length>0&&(ze.set(o.token,{token:o.token,bannerId:String(o.bannerId),segmentId:String(o.segmentId)}),window.relevaDebouncedTrack())}};if("immediately"===o.trigger)l(e);else if("scrollPercentage"===o.trigger)window.addEventListener("scroll",()=>{100*window.scrollY/document.body.offsetHeight>=o.scrollPercentage&&l(e)});else if("delaySeconds"===o.trigger)setTimeout(()=>l(e),1e3*o.delaySeconds);else if("leaveIntent"===o.trigger)rt({token:o.token,backButton:!0===o.leaveIntentBackButton,mobile:o.leaveIntentMobile,sensitivity:o.leaveIntentSensitivity,onFire:()=>l(e)});else if("wishlistChanged"===o.trigger)n&&l(e);else{if("cartChanged"!==o.trigger){console.warn(`[Releva][showBanners] Unsupported trigger ${o.trigger} for banner ${o.token}`);continue}t&&l(e)}window.relevaElements.push(i)}},ot=()=>{u||0===c.length||(u=!0,((e,t)=>{const n=`rlv-story-${e.token}`;let o=0,i=null,s=0,a=0,l=0;const c=document.createElement("div");c.id=n,c.setAttribute("releva-story-block",e.token),c.setAttribute("releva-story-id",String(e.storyId));const u=e.slides.map((t,r)=>`<div style="flex:1;height:3px;border-radius:2px;background-color:${e.progressIndicatorInactiveColor||"#FFFFFF4D"};overflow:hidden;"><div data-rlv-progress-fill="${r}" style="width:0%;height:100%;border-radius:2px;background-color:${e.progressIndicatorColor||"#FFFFFF"};"></div></div>`).join("");c.innerHTML=`\n    <div id="${n}-overlay" style="position:fixed;top:0;left:0;width:100%;height:100%;z-index:999999;display:flex;flex-direction:column;align-items:center;justify-content:center;">\n      <div id="${n}-progress" style="position:absolute;top:12px;left:8px;right:8px;display:flex;gap:4px;z-index:10;">\n        ${u}\n      </div>\n      <button id="${n}-close" style="position:absolute;top:24px;right:12px;z-index:11;background:none;border:none;color:${e.progressIndicatorColor||"#FFFFFF"};font-size:28px;cursor:pointer;padding:8px;line-height:1;">&times;</button>\n      <div id="${n}-slide" style="width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:auto;"></div>\n      <div id="${n}-nav-left" style="position:absolute;top:0;left:0;width:50%;height:100%;z-index:5;cursor:pointer;background:transparent;"></div>\n      <div id="${n}-nav-right" style="position:absolute;top:0;right:0;width:50%;height:100%;z-index:5;cursor:pointer;background:transparent;"></div>\n    </div>\n  `,document.body.insertBefore(c,document.body.firstChild),window.relevaElements.push(c);const p=document.getElementById(`${n}-overlay`),d=document.getElementById(`${n}-progress`),h=document.getElementById(`${n}-slide`),f=document.getElementById(`${n}-close`),m=document.getElementById(`${n}-nav-left`),g=document.getElementById(`${n}
2-nav-right`),v=document.body.style.overflow;document.body.style.overflow="hidden";let y=!1;const b=()=>{y||(y=!0,Je(e.token,"storyClose"),clearTimeout(i),c.remove(),document.body.style.overflow=v,t&&t())},_=(t,r)=>{d.querySelectorAll("[data-rlv-progress-fill]").forEach((n,o)=>{if(o<t)n.style.transition="none",n.style.width="100%";else if(o===t){if(n.style.transition="none",n.style.width="0%",n.offsetWidth,!r){const t=e.slides[o].durationSeconds;n.style.transition=`width ${t}s linear`}n.style.width="100%"}else n.style.transition="none",n.style.width="0%"})},w=t=>{if(clearTimeout(i),t<0&&(t=0),t>=e.slides.length){if("loop"!==e.endBehavior)return"dismiss"===e.endBehavior?void b():(t=e.slides.length-1,void _(t,!0));t=0}o=t;const n=e.slides[t],s=n.design?.body?.values?.backgroundColor||"#000000";p.style.backgroundColor=s,h.innerHTML=n.html,(0,r.tO)(h),_(t,!1),Je(e.token,"storySlideView",n.id),t===e.slides.length-1&&Je(e.token,"storyComplete"),i=setTimeout(()=>{w(o+1)},1e3*n.durationSeconds)};Je(e.token,"storyImpression"),f.addEventListener("click",e=>{e.stopPropagation(),b()}),p.addEventListener("click",e=>{e.target===p&&(e.stopPropagation(),b())}),window.addEventListener("hashchange",()=>b()),document.addEventListener("keydown",e=>{"Escape"===e.key&&(e.stopPropagation(),b())}),h.addEventListener("click",t=>{t.target.closest("a, button")&&Je(e.token,"storySlideClick",e.slides[o].id)}),m.addEventListener("click",e=>{e.stopPropagation(),w(o-1)}),g.addEventListener("click",e=>{e.stopPropagation(),w(o+1)}),p.addEventListener("touchstart",e=>{s=e.touches[0].clientX,a=e.touches[0].clientY,l=Date.now()},{passive:!0}),p.addEventListener("touchend",e=>{const t=e.changedTouches[0].clientX-s,r=e.changedTouches[0].clientY-a,n=Date.now()-l;Math.abs(t)>50&&Math.abs(t)>Math.abs(r)&&n<300&&w(t<0?o+1:o-1)},{passive:!0}),w(0)})(c.shift(),()=>{u=!1,ot()}))},it=e=>{if(e&&e.length&&!Q()&&!z())for(const t of e){if(!t.slides||!t.slides.length)continue;const e=`rlv-story-${t.token}`;if(document.getElementById(e))continue;const r=()=>{c.push(t),ot()};if("immediately"===t.trigger)r();else if("scrollPercentage"===t.trigger){const e=()=>{100*window.scrollY/document.body.offsetHeight>=t.scrollPercentage&&(window.removeEventListener("scroll",e),r())};window.addEventListener("scroll",e)}else"delaySeconds"===t.trigger?setTimeout(r,1e3*t.delaySeconds):"leaveIntent"===t.trigger?rt({token:t.token,backButton:!0===t.leaveIntentBackButton,mobile:t.leaveIntentMobile,sensitivity:t.leaveIntentSensitivity,onFire:r}):console.warn(`[Releva][showStories] Unsupported trigger ${t.trigger} for story ${t.token}`)}},st=()=>{for(const e of window.relevaElements)e?.remove();window.relevaElements=[];for(const e of et)e();et.length=0,We.clear()},at=(e,t,n)=>{const{elements:o,scriptError:i}=(0,r.cw)(e,t,n);return window.relevaElements.push(...o),i},lt=1e3,ct={token:null,seedQuery:null,returnUrl:null},ut=e=>{try{if($("rlv_mode")!==e)return ct;const t=window.location.hash.replace(/^#/,"").split("&"),r=t.find(e=>e.startsWith("rlv_edit="));if(!r)return ct;const n=t.filter(e=>e!==r&&!e.startsWith("rlv_q=")&&!e.startsWith("rlv_return=")).join("&");window.history.replaceState(window.history.state,"",`${window.location.pathname}${window.location.search}${n?`#${n}`:""}`);const o=e=>{const r=t.find(t=>t.startsWith(e));if(!r)return null;try{return decodeURIComponent(r.slice(e.length))||null}catch{return null}};return{token:decodeURIComponent(r.slice(9))||null,seedQuery:o("rlv_q="),returnUrl:o("rlv_return=")}}catch{return ct}},pt=(e,t)=>{const{token:r,seedQuery:n}=ut(e);return{applyDraft:t,token:r,seedQuery:n,etag:null,lastAppliedVersion:null,polling:!1,failures:0}},dt=async e=>{let t=lt;try{const t=await pe(`${_e()}/api/v0/layout-drafts/${encodeURIComponent(e.token)}`,"GET",void 0,e.etag?{"If-None-Match":e.etag}:void 0);if(404===t.status)return e.token=null,q(),void console.log("[Releva 0.57.0] Layout editing session ended.");
2if(200===t.status){const r=await t.json();e.etag=t.headers.get("etag"),void 0!==r.version&&null!==r.version&&r.version===e.lastAppliedVersion||(e.lastAppliedVersion=r.version,((e,t,{blocks:r,scriptError:n})=>{pe(`${_e()}/api/v0/layout-drafts/${encodeURIComponent(e.token)}/ack`,"POST",{version:t,blocks:r,...n?{scriptError:n}:{},url:window.location.href}).catch(()=>{})})(e,r.version,e.applyDraft(r)))}else if(304!==t.status)throw new Error(`status ${t.status}`);e.failures=0}catch{e.failures+=1,t=Math.min(lt*2**e.failures,3e4)}setTimeout(()=>dt(e),t)},ht=e=>{e.polling||(e.polling=!0,setTimeout(()=>dt(e),lt))},ft="releva-placement-placeholder",mt="releva-placement-overlay",gt="[releva-product-block], [releva-banner-block]",vt=`[${ft}], ${gt}, [${A}], [${mt}]`,yt=`[${ft}], ${gt}`,bt={beforebegin:"just before this element, outside it",afterbegin:"inside this element, at the beginning",beforeend:"inside this element, at the end",afterend:"just after this element, outside it",replace:"in place of this element"},_t=new Set(["block","flow-root","list-item","flex","grid"]),wt=ut(V);let kt=wt.token,St=null,xt=null,Et=null,Pt=null,It=!1,$t=null,Ct=null,Lt="recommender",At="beforeend",Bt=null,Tt=[],Ot=!1,Nt=null,Dt=[],Rt=null,Mt=null,Ht=null,Ft=null,qt=null;const jt=()=>"banner"===Lt?"releva-banner-block":"releva-product-block",Ut=e=>Boolean($t)&&e.getAttribute(jt())===$t,Vt=e=>Array.from(document.querySelectorAll(`[${jt()}='${e}']`)),Wt=e=>{const t=Vt(e);window.relevaElements=window.relevaElements.filter(e=>!t.includes(e)),t.forEach(e=>e.remove())},zt=()=>{Pt&&(Pt.element.style.display=Pt.display,Pt=null)},Kt=e=>{if(!(e instanceof Element)||e.closest(vt))return null;for(let t=e;t&&t!==document.body&&t!==document.documentElement;t=t.parentElement)if(_t.has(window.getComputedStyle(t).display)&&le(ue(t)))return t;return null},Yt=new Set(["SCRIPT","STYLE","TEMPLATE","NOSCRIPT","LINK","PARAM"]),Jt=()=>{Tt=[];let e=0;for(const t of document.querySelectorAll("body *")){if(t.closest(vt))continue;const r=t.getBoundingClientRect();r.width>=1&&r.height<1?Kt(t)===t&&Tt.push(t):r.width||r.height||"none"!==window.getComputedStyle(t).display||Yt.has(t.tagName)||(e+=1)}e&&!Ot&&(Ot=!0,console.warn(`[Releva 0.57.0] ${e} element(s) on this page have no box to click: they are display: none. They were left hidden and got no click target.`))},Gt=e=>(e=>O.find(t=>t.band&&t.box===e)?.element||null)(e)||e,Qt=()=>{const e=(()=>{if(Rt)return{element:Rt,label:`Your block will be placed ${bt[At]}`};if(!Mt)return{element:null,label:""};const e=Mt.hasAttribute(ft)||Ut(Mt);return{element:Mt,label:e?"This is the block you are placing":"A block cannot be placed inside another Releva block"}})();j((()=>{if(Dt.length)return Dt;const e=$t?Vt($t):[];return e.length?e:[St]})(),{unavailable:Array.from(document.querySelectorAll(gt)).filter(e=>!Ut(e)),labelled:e.element,label:e.label,bands:Tt})},Xt=()=>{const{returnUrl:e}=wt;G(e)?window.location.assign(e):console.warn(`[Releva 0.57.0] Staying on this page: the placement session was launched ${e?`with a return url that is not on ${J} over https (${e})`:"without a return url"}.`)},Zt=()=>{const e="banner"===Lt?"banner block":"product block";return Ct?`You are placing ${e} "${Ct}" on this page.`:`You are placing a ${e} on this page.`},er=e=>{if(!kt)return;if(e.target.closest?.(`[${mt}]`))return;e.preventDefault(),e.stopPropagation();const t=Kt(Gt(e.target));if(!t)return void console.warn("[Releva 0.57.0] Nothing placeable was clicked: no block-level element between there and the page itself.");const n=ue(t);(e=>{const t=Nt,n="banner"===Lt;Dt=[];let o=null;if(t?n?t.html||(o="its banner has no html"):t.template.body?0===t.response.length&&(o="its feed returned no products for this page"):o="its layout has no body":o=$t?"it is not in this page's response":"the placement session did not answer which block it is positioning",o)console.warn(`[Releva 0.57.0] Showing the placeholder instead of the block being placed: ${o}.`);else{try{if(Wt(t.token),zt(),"replace"===At&&(Pt={element:e,display:e.style.display}),n)((e,t)=>{const n=document.createElement("div");if(n.id=(0,r.I3)(e),n.setAttribute("releva-banner-block",e.token),n.setAttribute("releva-banner-id",e.bannerId),n.setAttribute("releva-segment-id",e.segmentId),n.innerHTML=e.html,!t.insertAdjacentElement("replace"===At?"afterend":At,n))throw new Error(`Banner could not be appended at ${e.cssSelector} with strategy ${At}`);"replace"===At&&(t.style.display="none"),(0,r.tO)(n),window.relevaElements.push(n)})(t,e);else{const r=at({...t,displayStrategy:At},e,t.template.body);r&&console.error(`Error while running scripts for recommender ${t.name}: ${r}`)}const o="replace"===t.displayStrategy&&t.cssSelector?document.querySelector(t.cssSelector):null;o&&o!==e&&o.style.removeProperty("display")}catch(e){return Wt(t.token),void console.warn(`[Releva 0.57.0] Showing the placeholder instead of the block being placed: ${e.message}.`)}Dt=Vt(t.token)}})(t),Dt.length?M(St,{display:"none"}):t.insertAdjacentElement("replace"===At?"afterend":At,St),Jt(),Qt(),(e=>{pe(`${_e()}/api/v0/placement-sessions/${encodeURIComponent(kt)}/selector`,"POST",{cssSelector:e,displayStrategy:At,url:window.location.href}).then(e=>{404===e.status&&(kt=null,null!==Ft&&(cancelAnimationFrame(Ft),Ft=null),Rt=null,Mt=null,qt=null,Dt.length&&(Wt(Nt.token),Dt=[]),zt(),St?.remove(),St=null,xt?.remove(),xt=null,Et=null,Tt=[],q(),console.log("[Releva 0.57.0] Placement editing session ended."))}).catch(()=>{})})(n)},tr=e=>{kt&&e.preventDefault()},rr=e=>{kt&&(Ht=e.target,null===Ft&&(Ft=requestAnimationFrame(()=>{if(Ft=null,Ht===qt)return;qt=Ht;
2const e=Gt(Ht),t=Kt(e),r=(n=e)instanceof Element&&n.closest(yt)||null;var n;t===Rt&&r===Mt||(Rt=t,Mt=r,Qt())})))};let nr=[];const or=pt("layout-edit",e=>{let r=0,n=null;const o=[];let i;try{i=t().compile(e.body)}catch(e){return console.error(`Error while compiling layout draft: ${e.message}`),{blocks:r,scriptError:n}}for(const t of nr)if(e.templateId&&t.template.id===e.templateId)try{i(t);const e=Array.from(document.querySelectorAll(t.cssSelector)).find(e=>!e.closest(`[releva-product-block='${t.token}']`));if(!e)continue;const s=Array.from(document.querySelectorAll(`[releva-product-block='${t.token}']`));s.length&&(window.relevaElements=window.relevaElements.filter(e=>!s.includes(e)),s.forEach(e=>e.remove()));const a=at(t,e,i);r+=1,n=n||a,o.push(...document.querySelectorAll(`[releva-product-block='${t.token}']`))}catch(e){console.error(`Error while rendering layout draft for recommender ${t.name}: ${e.message}`)}return o.length&&j(o),{blocks:r,scriptError:n}}),ir=(e,r,n,o=[])=>{if(!Q()){nr=[],or.etag=null,or.lastAppliedVersion=null;for(let t=0;t<e.length;t++)for(const r of document.querySelectorAll(`[releva-product-block='${e[t].token}']`))r.remove();for(let o=0;o<e.length;o++){const i=e[o];if(!i.template.body||!i.cssSelector||0===i.response.length)continue;const s=document.querySelector(i.cssSelector);if(s)try{if("static"===i.displayType){const e=at(i,s,i.template.body);e&&console.error(`Error while running scripts for recommender ${i.name}: ${e}`),or.token&&nr.push(i),document.querySelectorAll(`[releva-product-block='${i.token}']`).forEach(e=>{Ve(e,"recommender",()=>window.relevaDebouncedTrack())})}else{const e={...i.banner,token:i.token,displayType:i.displayType,cssSelector:i.cssSelector,displayStrategy:i.displayStrategy,trigger:i.trigger||i?.banner?.trigger,advancedStyling:i.advancedStyling||i?.banner?.advancedStyling,cssStyles:i.cssStyles||i?.banner?.cssStyles},o=t().compile(i.template.body);e.html=o(i),nt([e],r,n)}}catch(e){console.error(`Error while generating template for recommender ${i.name}: ${e.message}`);continue}}or.token&&ht(or),kt&&((e,t)=>{(()=>{if(xt)return;xt=document.createElement("div"),xt.setAttribute(mt,"1"),M(xt,{position:"fixed",left:"50%",bottom:"16px",transform:"translateX(-50%)",display:"flex","align-items":"center",gap:"12px",padding:"10px 14px","border-radius":"6px",background:L,color:"#ffffff",font:"14px/1.4 sans-serif","z-index":T,"pointer-events":"none"});const e=document.createElement("span");e.textContent=Zt(),Et=e;const t=document.createElement("button");t.type="button",t.textContent="Done",M(t,{"pointer-events":"auto",cursor:"pointer",border:"0",padding:"6px 12px","border-radius":"4px",background:"#ffffff",color:L,font:"14px/1.4 sans-serif"}),t.addEventListener("click",Xt),xt.append(e,t),document.body.append(xt)})(),(Bt||(Bt=pe(`${_e()}/api/v0/placement-sessions/${encodeURIComponent(kt)}`,"GET").then(e=>200===e.status?e.json():null).then(e=>{Lt="banner"===e?.blockType?"banner":"recommender",$t=e?.blockToken||e?.recommenderToken||null,Ct=e?.blockName||e?.recommenderName||null,X.includes(e?.displayStrategy)&&(At=e.displayStrategy)}).catch(()=>{})),Bt).then(()=>{Nt=("banner"===Lt?t:e).find(e=>e.token===$t)||null,Et&&(Et.textContent=Zt()),kt&&Qt()}),St||(St=document.createElement("div"),St.setAttribute(ft,"1"),St.textContent="Releva will show this block here. Click where it belongs.",M(St,{padding:"16px","text-align":"center",font:"16px/1.4 sans-serif",color:L,background:"#ffffff"}),document.body.append(St)),Rt=null,Mt=null,qt=null,"banner"===Lt&&Dt.length&&Wt($t),Dt=[],St.style.removeProperty("display"),zt(),Jt(),Qt(),It||(It=!0,document.addEventListener("click",er,!0),document.addEventListener("mousemove",rr,!0),document.addEventListener("dragstart",tr,!0))})(e,o),U()}};let sr=[],ar=!1,lr=null;const cr=pt("search-edit",e=>{let n=0,o=null;const i=[];let s;try{s=t().compile(e.body)}catch(e){return console.error(`Error while compiling search layout draft: ${e.message}`),{blocks:n,scriptError:o}}for(const e of sr){let t;e.setTemplate(s);try{t=e.rerender()}catch(e){console.error(`Error while rendering search layout draft: ${e.message}`);continue}if(t){n+=1,i.push(t);try{(0,r.tO)(t)}catch(e){o=o||e.message}}}return i.length&&j(i),{blocks:n,scriptError:o}}),ur=(e,t,r)=>{const n={page:lr?.page??a,profile:{id:lr?.profile?.id??i},deviceId:lr?.deviceId||E("rlv_p")};He(n),pe(`${_e()}/api/v0/searchAsYouType/${l}`,"POST",{...e,context:n}).then(e=>
2e.json()).then(t).catch(r)};let pr="",dr=null,hr=null;const fr=e=>{if(!dr)throw new Error("Releva: renderSearchTemplate called with no search template configured — call enableSearchAsYouType with a search.template first.");return hr=hr??t().compile(dr),hr(e)};let mr=[],gr=!1;const vr=e=>{const t=mr.find(t=>t.root.contains(e.target));if(!t)return;if(!e.target.getAttribute("data-value"))return;e.stopPropagation();const r={search:t.getQuery(),filterBy:[]};if(e.target.classList.contains("selected"))e.target.classList.remove("selected");else{const t=e.target.parentNode.getElementsByClassName("selected");t.length&&t[0].classList.remove("selected"),e.target.classList.add("selected")}const n=document.querySelectorAll(".releva-autocomplete-search p.selected");for(const e of n){const t=e.parentNode,n=t.getAttribute("data-key"),o=t.getAttribute("data-type"),i=e.getAttribute("data-value");r.filterBy.push({key:n,type:o,value:i})}ur(r,t.render,console.log)},yr=e=>{mr=mr.filter(t=>t.root!==e.root&&t.root.isConnected),mr.push(e),gr||(gr=!0,document.addEventListener("click",vr,!0))},br=(e,r)=>{if(!e)return;e.setAttribute("autocomplete","off");let n=t().compile(r);const o=document.createElement("div");o.classList.add("releva-autocomplete-search-wrapper");let i=null;const s=()=>{o.style.display="none"},a=()=>{o.style.display="block",U()},l=e.parentNode;l.style.position="relative",l.append(o);const c=e=>{i=e;let t=n(e),r=document.createElement("div");r.innerHTML=t;const l=r.querySelector("div");l&&l.insertAdjacentHTML("beforeend",'\n              <a class="rlv-close-button" style="position: absolute;  top: 5px; right: 5px; background: none; border: none; cursor: pointer; font-size: 20px; color: #333; z-index: 1010;">\n                <h3 style="color: #000; font-size: 14px; margin: 0; background-color: #fff; border-radius: 20px; padding: 4px 5px; font-family: inherit; border: ; font-weight: undefined;">&nbsp;x&nbsp;</h3>\n              </a>\n               '),o.innerHTML=r.innerHTML;const c=o.querySelector(".rlv-close-button");c&&c.addEventListener("click",function(e){e.stopPropagation(),s()}),a()},u=Boolean(cr.token);u&&sr.push({setTemplate:e=>{n=e},rerender:()=>null===i?null:(c(i),o)}),e.addEventListener("input",C(e=>{if(!e.target.value)return o.innerHTML="",void s();ur({search:e.target.value,filterBy:[]},c,console.log)},200)),document.addEventListener("click",function(t){u||o.contains(t.target)||e.contains(t.target)||s()},!0),u&&cr.seedQuery&&!ar&&(ar=!0,e.value=cr.seedQuery,e.dispatchEvent(new Event("input",{bubbles:!0}))),yr({root:o,getQuery:()=>e.value,render:e=>{i=e,o.innerHTML=n(e);const t=o.querySelector(".close-button");t&&t.addEventListener("click",function(e){e.stopPropagation(),s()}),a()}}),window.relevaElements.push(o)},_r=(e,t)=>{if(lr=t,dr=e.template,hr=null,"intercept"===e.renderMode)return;const r=document.querySelectorAll(e.cssSelector);sr=[],cr.etag=null,cr.lastAppliedVersion=null,ar=!1;for(let t of r){if(e.debug){const e=t.cloneNode(!0);t.replaceWith(e),t=e;const r=t.closest("form");r&&r.addEventListener("submit",e=>{e.preventDefault(),e.stopImmediatePropagation()},!0)}br(t,e.template)}cr.token&&ht(cr)};let wr=!1;const kr=e=>{Q()||z()||function(){const t=window.ChatBot,r=document.createElement("script");r.setAttribute("src","https://releva.ai/sdk/chat-bot/chat-bot-sdk.min.js"),r.onload=function(){const r=window.RelevaChatBot||(window.ChatBot!==t?window.ChatBot:void 0);if(!r)throw new Error("Releva Chat Bot is not found in the global scope.");new r({accessToken:l,url:_e(),initialMessages:e.initialMessages,profile:e?.profile,pageType:e?.pageType,locale:e.locale,notificationEnabled:e.notificationEnabled,notificationDelay:e.notificationDelay,theme:e?.theme,debug:e?.debug}).init()},r.onerror=function(e){throw new Error("Error loading Releva Chat Bot sdk.",e)},document.head.appendChild(r),wr=!0}()},Sr=(e,t)=>"string"!=typeof e?t:/^(#[0-9a-fA-F]{3,8}|rgb\(|rgba\(|hsl\(|hsla\(|[a-zA-Z]+$)/.test(e.trim())?e.trim():t,xr=(e,t)=>{Ke({action:t,attributions:{npsToken:e}})},Er=(e,t,r)=>{const n={profileId:E("rlv_u")||s,deviceId:s||E("rlv_p"),sessionId:E("rlv_s"),score:t,comment:r||void 0},o=()=>pe(`${_e()}/api/v0/nps/${e}/submissions`,"POST",n).then(e=>{if(!e.ok)throw new Error(e.status)});o().catch(()=>{setTimeout(()=>
2o().catch(()=>{}),2e3)})},Pr=(e,t,r)=>{h=!0,d=null,r||xr(t,"npsDismissed"),e&&e.parentNode&&e.parentNode.removeChild(e)},Ir=()=>{if(h||f)return;const e=1e3*(d.triggerDelaySeconds||0);f=setTimeout(()=>{f=null,(()=>{if(h||!d)return;h=!0;const e=d,t=e.token,r=e.appearance||{},n=(e=>{const t=e.dark&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?{...e,...e.dark}:e;return{primary:Sr(t.primaryColor,"#6C3FC4"),background:Sr(t.backgroundColor,"#FFFFFF"),text:Sr(t.textColor,"#1A1A1A")}})(r),o="rounded"===(i=r.buttonStyle)?"8px":"square"===i?"0":"999px";var i;const s="modal"===r.position,a=document.createElement("div");a.id=`rlv-nps-${t}`;const l=document.createElement("style");l.textContent=`\n    @media (max-width: 480px) {\n      #rlv-nps-${t} .rlv-nps-scale { gap: 4px !important; }\n      #rlv-nps-${t} .rlv-nps-scale button { min-width: 26px !important; width: 26px !important; height: 26px !important; font-size: 11px !important; }\n      #rlv-nps-${t} .rlv-nps-card { padding: 16px !important; margin: 0 8px !important; }\n    }\n  `,a.appendChild(l);const c=document.createElement("div");if(c.id=`rlv-nps-${t}-backdrop`,s)c.style.cssText="position:fixed;top:0;left:0;right:0;bottom:0;z-index:999999;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0.5);";else{c.style.cssText="position:fixed;bottom:0;left:0;right:0;z-index:999999;display:flex;justify-content:center;animation:rlvNpsSlideUp 0.3s ease-out;";const e=document.createElement("style");e.textContent="@keyframes rlvNpsSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }",a.appendChild(e)}a.appendChild(c);const u=document.createElement("div");u.className="rlv-nps-card",u.style.cssText=`background:${n.background};color:${n.text};border-radius:${s?"12px":"12px 12px 0 0"};padding:24px;max-width:480px;width:100%;box-shadow:0 -2px 16px rgba(0,0,0,0.15);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;box-sizing:border-box;`,c.appendChild(u);const p=document.createElement("button");if(p.textContent="×",p.setAttribute("aria-label","Close"),p.style.cssText=`position:absolute;top:8px;right:8px;background:transparent;border:none;font-size:22px;line-height:1;color:${n.text};opacity:0.6;cursor:pointer;padding:4px 8px;`,p.addEventListener("click",()=>Pr(a,t)),u.style.position="relative",u.appendChild(p),s&&c.addEventListener("click",e=>{e.target===c&&Pr(a,t)}),!s){const e=document.createElement("div");e.style.cssText="width:40px;height:4px;background:#ccc;border-radius:2px;margin:0 auto 16px;",u.appendChild(e)}const f=document.createElement("div");if(f.id=`rlv-nps-${t}-step-score`,r.logoUrl){const e=document.createElement("img");e.src=r.logoUrl,e.style.cssText="max-height:32px;margin-bottom:12px;display:block;",e.alt="",f.appendChild(e)}const m=document.createElement("p");m.textContent=e.question,m.style.cssText="margin:0 0 16px;font-size:16px;font-weight:600;line-height:1.4;",f.appendChild(m);const g=document.createElement("div");g.className="rlv-nps-scale",g.style.cssText="display:flex;gap:6px;justify-content:center;flex-wrap:wrap;";let v=null;const y=r=>{const n=document.createElement("div");n.id=`rlv-nps-${t}-step-thankyou`,n.style.cssText="text-align:center;padding:16px 0;";const o=document.createElement("p"),i=r&&e.thankYou&&e.thankYou[r]?e.thankYou[r]:"Thank you for your feedback.";o.textContent=i,o.style.cssText="margin:0;font-size:16px;font-weight:500;",n.appendChild(o),u.appendChild(n),setTimeout(()=>Pr(a,t,!0),2e3)},b=(r,i)=>{const s=document.createElement("div");s.id=`rlv-nps-${t}-step-followup`;const a=document.createElement("p");a.textContent=i,a.style.cssText="margin:0 0 12px;font-size:15px;font-weight:500;line-height:1.4;",s.appendChild(a);const l=document.createElement("textarea");l.style.cssText=`width:100%;min-height:80px;border:1px solid #ddd;border-radius:8px;padding:10px;font-size:14px;font-family:inherit;resize:vertical;box-sizing:border-box;background:${n.background};color:${n.text};`,l.placeholder="",s.appendChild(l);const c=document.createElement("button");c.textContent=e.submitLabel||"Submit",c.style.cssText=`display:block;width:100%;margin-top:12px;padding:12px;border:none;border-radius:${o};background:${n.primary};color:#FFFFFF;font-size:15px;font-weight:600;cursor:pointer;transition:opacity 0.15s;`,e.followUpRequired&&(c.style.opacity="0.5",c.style.pointerEvents="none",l.addEventListener("input",()=>{const e=l.value.trim().length>0;c.style.opacity=e?"1":"0.5",c.style.pointerEvents=e?"auto":"none"})),c.addEventListener("click",()=>{Er(t,v,l.value.trim()),xr(t,"npsSubmitted"),s.style.display="none",y(r)}),s.appendChild(c),u.appendChild(s)};for(let r=0;r<=10;r++){const i=document.createElement("button");i.textContent=String(r),i.setAttribute("aria-label",`Score ${r}`),i.style.cssText=`min-width:32px;width:32px;height:32px;border-radius:${o};border:2px solid ${n.primary};background:transparent;color:${n.text};font-size:13px;font-weight:600;cursor:pointer;padding:0;transition:background 0.15s,color 0.15s;
2`,i.addEventListener("click",()=>{v=r,g.querySelectorAll("button").forEach(e=>{e.style.background="transparent",e.style.color=n.text}),i.style.background=n.primary,i.style.color="#FFFFFF",xr(t,"npsScoreSelected");const o=(s=r)>=9?"promoter":s>=7?"passive":"detractor";var s;const a=e.followUp&&e.followUp[o]?e.followUp[o]:null;a?setTimeout(()=>{f.style.display="none",b(o,a)},200):(Er(t,r),xr(t,"npsSubmitted"),setTimeout(()=>{f.style.display="none",y(o)},200))}),g.appendChild(i)}f.appendChild(g);const _=document.createElement("div");_.style.cssText="display:flex;justify-content:space-between;margin-top:8px;font-size:12px;opacity:0.7;";const w=document.createElement("span");w.textContent=e.scaleLowLabel||"Not likely";const k=document.createElement("span");if(k.textContent=e.scaleHighLabel||"Extremely likely",_.appendChild(w),_.appendChild(k),f.appendChild(_),e.skipLabel){const r=document.createElement("button");r.textContent=e.skipLabel,r.style.cssText=`display:block;margin:16px auto 0;background:transparent;border:none;color:${n.text};opacity:0.6;font-size:14px;cursor:pointer;text-decoration:underline;`,r.addEventListener("click",()=>{xr(t,"npsSkipped"),f.style.display="none",y(null)}),f.appendChild(r)}u.appendChild(f),xr(t,"npsImpression"),document.body.appendChild(a)})()},e)},$r=()=>{Q()||z()||0===(d.triggers||[]).filter(e=>"customEvent"===e.type).length&&Ir()};Ue=(e,t,r=null,c=null,u={})=>{let f=!1;try{f="function"==typeof u.hasConsent&&!!u.hasConsent()}catch{}(u=JSON.parse(JSON.stringify(u))).client={vendor:"Releva",platform:"browser",version:"0.57.0"},u?.prefix&&(o=u.prefix),r||(r=console.log),c||(c=e=>console.error(e.message));try{l=e;const o=JSON.parse(JSON.stringify(t));o.profile||(o.profile={}),o.profile.consent=f?"cookiesPolicy":"mandatoryCookies",Re(o),Me(o),u?.realm&&(n=u.realm);for(const e of be)if(!o[e.contextParam]){let t=ae(e.urlParam);t&&(e.readTransform&&(t=e.readTransform(t)),o[e.contextParam]=t)}He(o),K&&(o.impersonationToken=K);const m=y.has(l),v=m?Fe():null;v&&(o.bot=v),E("rlv_first_seen")||P("rlv_first_seen",(new Date).toISOString().slice(0,10),365),E("rlv_sessions")||P("rlv_sessions","1",365);const _=parseInt(E("rlv_views")||"0",10)+1;P("rlv_views",String(_),365),o.device={platform:"web",firstSeenAt:E("rlv_first_seen"),sessions:parseInt(E("rlv_sessions")||"1",10),views:_,sdkVersion:"0.57.0"},null!==o.page&&void 0!==o.page||(o.page={}),o.page.url=window.location.href,document.referrer&&(o.page.referrer=document.referrer);for(const e of he){const t=o[e.parameter];if(!t)continue;const r=E(e.key),n=oe(t),i="ignore"===sessionStorage.getItem("rlv_hashes");(r!==n||i)&&e.changeFlag&&(o[e.changeFlag]=!0)}const w=ae("rlv_page_token");w&&(o.page.token=w),Ae(o.page);const k=(()=>{try{for(const e of(()=>{const e=[],t=document.cookie.split(";");for(let r=0;r<t.length;r+=1){let n=t[r];for(;" "===n.charAt(0);)n=n.substring(1);if(0!==n.indexOf("_ga_"))continue;const o=n.indexOf("=");-1!==o&&e.push(n.substring(o+1))}return e})()){const t=x(e);if(t)return t}}catch{}return""})();if(k&&(o.gaSession=k),!0===u.eventBridge){let e=!1;try{e="debug"===sessionStorage.getItem("rlv_mode")}catch{e=!1}try{let t=window.relevaEventId;const r=!t;r&&(t="undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():se(),window.relevaEventId=t),o.eventId=t;for(const e of o.events||[])e&&!e.eventId&&(e.eventId=t);e&&(console.log(`[Releva 0.57.0] event bridge id: ${t}`),r&&console.warn('[Releva 0.57.0] event bridge: window.relevaEventId was not set by the GTM tag — minted a fallback. The browser pixel has no matching Event ID, so this event will not deduplicate. Check the "Releva - Event ID Generator" tag is firing.'))}catch(t){e&&console.log(`[Releva 0.57.0] event bridge error: ${t&&t.message||t}`)}}const S=g.has(l);let I=null;if(S&&!qe(v))try{const e=localStorage.getItem("rlv_f_id");if(e){o.fingerprint={id:e};const t=localStorage.getItem("rlv_f_data");if(t)try{o.fingerprint.data=JSON.parse(t),I=t}catch{localStorage.removeItem("rlv_f_data")}}}catch{}pe(`${_e()}/api/v0/push/${l}`,"POST",{options:u,context:o}).then(e=>{200===e.status?e.json().then(e=>{if(i=e.userId,s=o.deviceId,a=o.page,e.gtmId){(e=>{try{window[p]=window[p]||[],window[p].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});const t=document.createElement("script");t.async=!0,t.src=`https://www.googletagmanager.com/gtm.js?id=${e}&l=${p}`,t.onload=()=>{console.log(`GTM script loaded successfully for ${e}`),console.log(`DataLayer name: ${p}`),console.log("DataLayer contents:",window[p])},t.onerror=t=>{console.error(`Failed to load GTM script for ${e}:`,t)},document.head.appendChild(t),console.log(`GTM initialization started for ${e} with dataLayer: ${p}`)}catch(e){console.error("Error initializing GTM:",e)}})(e.gtmId),o.cartChanged&&o.cart?.products?.length>0&&window[p].push({event:o.cart.cartPaid?"purchase":"view_cart",user_id:i,items:o.cart.products.map(e=>({id:e.id,quantity:e.quantity,price:e.price})),transaction_id:o.cart.orderId,...o.eventId?{eventId:o.eventId}:{}}
2),o.wishlistChanged&&o.wishlist?.products?.length>0&&window[p].push({event:"add_to_wishlist",user_id:i,items:o.wishlist.products.map(e=>({id:e.id,quantity:e.quantity,price:e.price})),...o.eventId?{eventId:o.eventId}:{}}),o.product&&window[p].push({event:"view_item",user_id:i,items:[{item_id:o.product.id}],...o.eventId?{eventId:o.eventId}:{}});for(const e of o.events||[]){let t;e.products&&(t=e.products.map(e=>({item_id:e.id,quantity:e.quantity}))),window[p].push({event:e.action,user_id:i,items:t,...e.eventId?{eventId:e.eventId}:{},...e.custom.string.reduce((e,t)=>(e[t.key]=t.values[0],e),{}),...e.custom.numeric.reduce((e,t)=>(e[t.key]=t.values[0],e),{}),...e.custom.date.reduce((e,t)=>(e[t.key]=t.values[0],e),{})})}}P("rlv_u",i,de.find(e=>"rlv_u"===e.key).validDays);for(const e of he)if(o[e.parameter]){const t=E(e.key),r=oe(o[e.parameter]);t!==r&&P(e.key,r,e.validDays)}if(u.clearRelevaElements&&st(),ir(e.recommenders,o.cartChanged,o.wishlistChanged,e.banners),e.search)try{_r(e.search)}catch(e){console.error(`Error while attaching Releva to search bar: ${e.message}`)}if(e.chatBot)try{wr||window.RelevaChatBot||window.relevaChatBot||kr(e.chatBot)}catch(e){console.error(`Error while attaching Releva Chat Bot: ${e.message}`)}if("function"==typeof r){const t={...e,recommenders:e.recommenders.filter(function(e){return!e.template.body||!e.cssSelector}),banners:e.banners.filter(function(e){return"custom"===e.displayType})};r(t)}else c(`[Releva 0.57.0] Expected cb to be a function, but got ${typeof r} instead.`);nt(e.banners,o.cartChanged,o.wishlistChanged),it(e.stories||[]);try{e.nps&&!h&&(d=e.nps,$r())}catch{}if(u.serviceWorkerUrl&&Ne(u.serviceWorkerUrl,e.push.vapidPublicKey),I)try{localStorage.getItem("rlv_f_data")===I&&localStorage.removeItem("rlv_f_data")}catch{}}):e.text().then(t=>{c(new Error(`[Releva 0.57.0] Server returned response status: ${e.status}, body: ${t}`))})}).catch(e=>{c(new Error(`[Releva 0.57.0] Request error: ${e.message}`))}),m?(e=>{const t=t=>e(new Error(`[Releva 0.57.0] Error while detecting bot: ${t.message}`));return new Promise(e=>{const r=Fe();try{if(b)return void e(r);if(sessionStorage.getItem("rlv_bot_checked"))return void e(r);b=!0,__webpack_require__.e(146).then(()=>__webpack_require__(489)).then(e=>(e.load||e.default&&e.default.load)({monitoring:!1})).then(t=>{const r=t.detect(),n=!0===r.bot||Fe().isBot;let o=r.bot?r.botKind:!0===navigator.webdriver?"webdriver":null;n&&!o&&(o="unknown");const i={isBot:n,kind:o,source:"client"};try{localStorage.setItem("rlv_bot",JSON.stringify({isBot:i.isBot,kind:i.kind}))}catch{}try{sessionStorage.setItem("rlv_bot_checked","1")}catch{}e(i)}).catch(n=>{t(n),e(r)}).finally(()=>{b=!1})}catch(n){b=!1,t(n),e(r)}})})(c).then(e=>{S&&!qe(e)&&je(c)}):S&&je(c)}catch(e){c(new Error(`[Releva 0.57.0] Unhandled error: ${e.message}`))}};const Cr=/^[a-z0-9-]+$/,Lr=e=>{try{return JSON.parse(e)}catch{return}},Ar=(e,t)=>{const r=new Error(`[Releva 0.57.0] Server returned response status: ${e.status}, body: ${t}`);return r.status=e.status,r.body=Lr(t),r};__webpack_require__.d(__webpack_exports__,["EDIT_CHROME_COLOR",0,L,"checkSubscribed",0,e=>fetch(`${_e()}/api/v0/subscribe/check`,{body:JSON.stringify({email:e}),headers:{"content-type":"application/json",authorization:`Bearer ${l}`},method:"POST",redirect:"follow"}).then(e=>e.text().then(t=>{const r=Lr(t);if(e.status>199&&e.status<300&&"boolean"==typeof r?.subscribed)return r.subscribed;throw Ar(e,t)})),"clearCookies",0,()=>{for(const e of de)P(e.key,"",-1);for(const e of he)P(e.key,"",-1);for(const e of ve)P(e.key,"",-1);return!0},"clearLayoutPreview",0,re,"clearRelevaElements",0,st,"cookiesUsed",0,()=>de.map(e=>({name:o&&e.key.startsWith("rlv")?`${o}_${e.key}`:e.key,validDays:e.validDays})).concat(he.map(e=>({name:o?`${o}_${e.key}`:e.key,validDays:e.validDays}))).concat(fe.map(e=>({name:o?`${o}_${e.key}`:e.key,validDays:e.validDays}))).concat(ve.map(e=>({name:o?`${o}_${e.key}`:e.key,validDays:e.validDays}))),"dumpState",0,()=>{const e={v:"v1",cookies:[]};for(const t of de)e.cookies.push({...t,value:E(t.key)});return e},"enableChatBot",0,kr,"enableSearchAsYouType",0,_r,"getCookie",0,w,"getUrlSearchParameterByName",0,ae,"hashCode",0,oe,"loadState",0,e=>{if("v1"!==e.v)throw new Error(`Unsupported state version: ${e.v}!`);for(const t of de){const r=e.cookies.find(e=>e.key===t.key);r&&P(t.key,r.value,t.validDays)}},"mountSearchPanel",0,(e,t)=>{const r=document.querySelector(e);r&&(r.innerHTML=t,yr({root:r,getQuery:()=>pr,render:e=>{r.innerHTML=fr(e)}}))},"recommenderClicked",0,(e,t)=>{t&&e&&Ue(l,{rid:t,rpid:e},console.log,console.error)}
2,"registerPush",0,Ne,"renderSearchTemplate",0,fr,"requestSubscribe",0,(e,t,r,n,o,i,s,c=console.error,u,p,d,h,f={})=>{const m=e=>{try{c(e)}catch{}};fetch(`${_e()}/api/v0/subscribe/request`,{body:JSON.stringify({email:e,firstName:t||void 0,lastName:r||void 0,phoneNumber:n||void 0,custom:o,subscriptions:i?.length?i:void 0,addSubscriptions:u,locale:a?.locale||void 0,birthday:p||void 0,attributions:d||void 0,tags:h||void 0,rejectAlreadySubscribed:f?.rejectAlreadySubscribed||void 0,userId:E("rlv_u")}),headers:{"content-type":"application/json",authorization:`Bearer ${l}`},method:"POST",redirect:"follow"}).then(e=>e.status>199&&e.status<300?(s(e),e.json().then(e=>{e.userId&&P("rlv_u",e.userId,de.find(e=>"rlv_u"===e.key).validDays)})):e.text().then(t=>{m(Ar(e,t))})).catch(m)},"searchAsYouType",0,e=>new Promise((t,r)=>{pr=e.search,ur({...e,filterBy:e.filterBy??[]},t,r)}),"setAccessToken",0,e=>{l=e},"setRealm",0,e=>{"string"==typeof e&&Cr.test(e)&&(n=e)},"showBanners",0,nt,"showNps",0,e=>{if(e&&!h&&!Q()&&!z())try{d=e,$r()}catch{}},"showRecommenders",0,ir,"showStories",0,it,"trackEvent",0,e=>{if(d&&!h)return(d.cancelOnEvents||[]).includes(e)?(f&&(clearTimeout(f),f=null),h=!0,void(d=null)):void((d.triggers||[]).filter(e=>"customEvent"===e.type).find(t=>t.eventName===e)&&Ir())},"trackPageEngagement",0,e=>{Ae(e||{})},"uuidv4",0,se,"version",0,()=>"0.57.0"])})(),Releva=__webpack_exports__})();

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.