/*! * File: analytics.js * Hash: 9c401377dd5764ab9fc1 * Chunkhash: 2097428735f2bbf684d6 * Release: v20230531.1-hotfix * Commit: b8a27db720a1e43d054366b26bffae7757710acb * Stage: production * Date: 2023-06-01T20:10:28.603Z * */!function(){var e,t,n={87757:function(e,t,n){e.exports=n(35666)},13819:function(e,t,n){"use strict";var r;n.d(t,{z:function(){return r}}),function(e){e.Fatal="fatal",e.Error="error",e.Warning="warning",e.Log="log",e.Info="info",e.Debug="debug",e.Critical="critical"}(r||(r={}))},18552:function(e,t,n){var r=n(10852)(n(55639),"DataView");e.exports=r},1989:function(e,t,n){var r=n(51789),o=n(80401),i=n(57667),a=n(21327),c=n(81866);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t1?n[i-1]:void 0,c=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,c&&o(n[0],n[1],c)&&(a=i<3?void 0:a,i=1),t=Object(t);++r-1&&e%1==0&&e-1}},54705:function(e,t,n){var r=n(18470);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},24785:function(e,t,n){var r=n(1989),o=n(38407),i=n(57071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},11285:function(e,t,n){var r=n(45050);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},96e3:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).get(e)}},49916:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).has(e)}},95265:function(e,t,n){var r=n(45050);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},94536:function(e,t,n){var r=n(10852)(Object,"create");e.exports=r},86916:function(e,t,n){var r=n(5569)(Object.keys,Object);e.exports=r},33498:function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},31167:function(e,t,n){e=n.nmd(e);var r=n(31957),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=c},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},45357:function(e,t,n){var r=n(96874),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,c=o(i.length-t,0),u=Array(c);++a0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},37465:function(e,t,n){var r=n(38407);e.exports=function(){this.__data__=new r,this.size=0}},63779:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},67599:function(e){e.exports=function(e){return this.__data__.get(e)}},44758:function(e){e.exports=function(e){return this.__data__.has(e)}},34309:function(e,t,n){var r=n(38407),o=n(57071),i=n(83369);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},80346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},75703:function(e){e.exports=function(e){return function(){return e}}},77813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},6557:function(e){e.exports=function(e){return e}},35694:function(e,t,n){var r=n(9454),o=n(37005),i=Object.prototype,a=i.hasOwnProperty,c=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!c.call(e,"callee")};e.exports=u},1469:function(e){var t=Array.isArray;e.exports=t},98612:function(e,t,n){var r=n(23560),o=n(41780);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},29246:function(e,t,n){var r=n(98612),o=n(37005);e.exports=function(e){return o(e)&&r(e)}},51584:function(e,t,n){var r=n(44239),o=n(37005);e.exports=function(e){return!0===e||!1===e||o(e)&&"[object Boolean]"==r(e)}},44144:function(e,t,n){e=n.nmd(e);var r=n(55639),o=n(95062),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,c=a&&a.exports===i?r.Buffer:void 0,u=(c?c.isBuffer:void 0)||o;e.exports=u},41609:function(e,t,n){var r=n(280),o=n(64160),i=n(35694),a=n(1469),c=n(98612),u=n(44144),s=n(25726),l=n(36719),f=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(c(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||l(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(s(e))return!r(e).length;for(var n in e)if(f.call(e,n))return!1;return!0}},23560:function(e,t,n){var r=n(44239),o=n(13218);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},41780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},81763:function(e,t,n){var r=n(44239),o=n(37005);e.exports=function(e){return"number"==typeof e||o(e)&&"[object Number]"==r(e)}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},68630:function(e,t,n){var r=n(44239),o=n(85924),i=n(37005),a=Function.prototype,c=Object.prototype,u=a.toString,s=c.hasOwnProperty,l=u.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=s.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==l}},47037:function(e,t,n){var r=n(44239),o=n(1469),i=n(37005);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==r(e)}},36719:function(e,t,n){var r=n(38749),o=n(7518),i=n(31167),a=i&&i.isTypedArray,c=a?o(a):r;e.exports=c},81704:function(e,t,n){var r=n(14636),o=n(10313),i=n(98612);e.exports=function(e){return i(e)?r(e,!0):o(e)}},82492:function(e,t,n){var r=n(42980),o=n(21463)((function(e,t,n){r(e,t,n)}));e.exports=o},95062:function(e){e.exports=function(){return!1}},59881:function(e,t,n){var r=n(98363),o=n(81704);e.exports=function(e){return r(e,o(e))}},35666:function(e){var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var o=t&&t.prototype instanceof h?t:h,i=Object.create(o.prototype),a=new j(r||[]);return i._invoke=function(e,t,n){var r=f;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===_){if("throw"===o)throw i;return P()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=T(a,n);if(c){if(c===v)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=_,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=l(e,t,n);if("normal"===u.type){if(r=n.done?_:d,u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=_,n.method="throw",n.arg=u.arg)}}}(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var f="suspendedStart",d="suspendedYield",p="executing",_="completed",v={};function h(){}function y(){}function g(){}var m={};u(m,i,(function(){return this}));var w=Object.getPrototypeOf,b=w&&w(w(A([])));b&&b!==n&&r.call(b,i)&&(m=b);var E=g.prototype=h.prototype=Object.create(m);function O(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(o,i,a,c){var u=l(e[o],e,i);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,c)}),(function(e){n("throw",e,a,c)})):t.resolve(f).then((function(e){s.value=e,a(s)}),(function(e){return n("throw",e,a,c)}))}c(u.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function T(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,T(e,n),"throw"===n.method))return v;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=l(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function A(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),I(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;I(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:A(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,loaded:!1,exports:{}};return n[e](i,i.exports,o),i.loaded=!0,i.exports}o.m=n,o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=function(e){return Promise.all(Object.keys(o.f).reduce((function(t,n){return o.f[n](e,t),t}),[]))},o.u=function(e){return"sentry-browser-"+o.h()+".js"},o.h=function(){return"9c401377dd5764ab9fc1"},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e={},t="zeffo:",o.l=function(n,r,i,a){if(e[n])e[n].push(r);else{var c,u;if(void 0!==i)for(var s=document.getElementsByTagName("script"),l=0;le.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&(a.children=arguments.length>3?K.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===a[i]&&(a[i]=e.defaultProps[i]);return se(e,a,r,o,null)}function se(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++Q:o};return null==o&&null!=$.vnode&&$.vnode(i),i}function le(e){return e.children}function fe(e,t){this.props=e,this.context=t}function de(e,t){if(null==t)return e.__?de(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t0?se(p.type,p.props,p.key,null,p.__v):p)){if(p.__=n,p.__b=n.__b+1,null===(d=y[l])||d&&p.key==d.key&&p.type===d.type)y[l]=void 0;else for(f=0;f3;)n.pop()();if(n[1]1)r[c]=o.getAll(c)[0];else{var u=o.get(c);u&&(r[c]=u)}}}catch(r){t="Cant convert querystring to object",n={captureContext:{extra:{queryString:e,err:r}},originalException:r},G().captureMessage(t,n),J(t)}return r}function ft(e){try{return ne.get(e)}catch(e){Y(e)}}function dt(e,t,n){void 0===n&&(n={});var r=n,o=r.domain,i=r.expirationDate;try{ne.set(e,t,{domain:o,expires:i})}catch(e){Y(e)}}function pt(e,t){var n=t.domain;try{ne.remove(e,{domain:n})}catch(e){Y(e)}}function _t(){var t,n="cookies"in lt(),r=Boolean(null===(t=e())||void 0===t?void 0:t.cookies.canStoreCookies);return n||r}function vt(e,t){var n={value:t,createTime:new Date};i().setItem(e,JSON.stringify(n))}function ht(e,t){void 0===t&&(t=2592e3);var n=i().getItem(e);if(n)try{var r=JSON.parse(n);if(r.createTime&&new Date(r.createTime).getTime()+1e3*t<(new Date).getTime())return;if(r.expire&&new Date(r.expire).getTime()<(new Date).getTime())return;return r}catch(e){return}}function yt(e){try{i().removeItem(e)}catch(e){}}function gt(e,t){void 0===t&&(t=2592e3);var n=void 0;try{if(_t()&&void 0!==(n=ft(e)))try{var r=JSON.parse(n);if(r.createTime&&new Date(r.createTime).getTime()+1e3*t<(new Date).getTime())return;return r}catch(e){return{value:n}}return ht(e,t)}catch(e){X(e)}}var mt="undefined"!=typeof document&&function(e){if("undefined"==typeof document)return!1;if(navigator.cookieEnabled)return!0;e.cookie="cookietest=1";var t=-1!==e.cookie.indexOf("cookietest=");return e.cookie="cookietest=1; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}(document);function wt(e,t,n){void 0===n&&(n={});var r=n.domain,o=void 0===r?"":r;try{if(!o)return dt(e,t,n);!function(e,t){var n=t.domain,r=void 0===n?"":n;try{_t()&&pt(e,{domain:r}),yt(e)}catch(e){X(e)}}(e,{domain:o}),function(e,t,n){void 0===n&&(n={});for(var r=n,o=r.expirationDate,i=r.domain,a=(void 0===i?"":i).split("."),c=1;c1?"s":"")+" required, but only "+t.length+" present")}function Ot(e){Et(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function St(e,t){Et(2,arguments);var n=Ot(e).getTime(),r=bt(t);return new Date(n+r)}function Tt(e){return function(e,t){Et(2,arguments);var n=bt(t);return St(e,1e3*n)}(new Date,null!=e?e:63072e3)}function xt(e,t,n){var r;void 0===n&&(n={});var o=n.domain,i=void 0===o?null===(r=null===window||void 0===window?void 0:window.location)||void 0===r?void 0:r.hostname:o;try{if(_t()&&mt){var a={value:t,createTime:new Date};wt(e,JSON.stringify(a),{expirationDate:Tt(31536e3),domain:i})}vt(e,t)}catch(e){X(e)}}o(51584),o(81763),o(47037);var It,jt,At=function(){try{return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(function(e){return(e^window.crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16)}))}catch(e){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}},Pt=function(){var e;try{return(null===(e=document.currentScript)||void 0===e?void 0:e.getAttribute("data-ad-id"))||void 0}catch(e){J(e)}};function Ct(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e){e.FW_CHANNEL_ID="fw_chid",e.FW_GUEST_ID="fw_uid",e.FW_UTM="fw_utm",e.FW_LAST_VIDEO_ID="fw_vid",e.FW_LAST_ENGAGEMENT_TIMESTAMP="fw_lets",e.FW_BUSINESS_MEMBERSHIP_ID="fw_bmid"}(It||(It={})),function(e){e.SOURCE="utm_source",e.SUB_SOURCE="utm_subsource",e.MEDIUM="utm_medium",e.CAMPAIGN="utm_campaign",e.CONTENT="utm_content"}(jt||(jt={}));var Nt="_fwnfwrfrr";var kt=o(41609),Rt=o.n(kt);var Dt=function e(t){return function(e){return!!e&&"object"==typeof e&&!Array.isArray(e)&&null!==e}(t)?Object.keys(t).reduce((function(n,r){var o=t[r],i=Array.isArray(o);return null!=o&&""!==o&&(!i||i&&o.length>0)&&(!function(e){if(null===Object.getPrototypeOf(e))return!0;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(o)?n[r]=o:n[r]=e(o)),n}),{}):t};function Lt(e){var t=Dt(function(e){try{var t=new URL(e);return{video_id:t.searchParams.get("fwreferrer-video-id"),channel_id:t.searchParams.get("fwreferrer-channel-id"),origin:t.searchParams.get("fwreferrer-origin"),guest_id:t.searchParams.get("fwreferrer-guest-id"),ad_id:t.searchParams.get("fwreferrer-sp-id"),product_id:t.searchParams.get("fwreferrer-product-id"),business_store_id:t.searchParams.get("fwreferrer-business-store-id")}}catch(e){return null}}(e));return Rt()(t)||xt(Nt,JSON.stringify(t)),t}function Ut(){var e;return null===(e=gt(It.FW_LAST_ENGAGEMENT_TIMESTAMP))||void 0===e?void 0:e.value}function Ft(){var e;return null===(e=gt(It.FW_CHANNEL_ID))||void 0===e?void 0:e.value}function Mt(){var e;return null===(e=gt(It.FW_LAST_VIDEO_ID))||void 0===e?void 0:e.value}var Wt,Ht=function(){return function(e){var t;try{pt(e,{domain:null===(t=null===window||void 0===window?void 0:window.location)||void 0===t?void 0:t.hostname}),yt(e)}catch(e){X(e)}}(It.FW_GUEST_ID)},Bt=function(e){return!!e&&"null"!==e&&"undefined"!==e},Gt=function(e){return xt(It.FW_GUEST_ID,e)},zt=function(){var e;return null===(e=gt(It.FW_GUEST_ID))||void 0===e?void 0:e.value},Vt=function(){return new Promise((function(e){var t=At();try{var n=zt();if(n){if(Bt(n))return e(n);Ht()}return Gt(t),e(t)}catch(n){return e(t)}}))};!function(e){e.ALL="all",e.RESIZE_URL="resizeurl"}(Wt||(Wt={}));!function(e){if("function"==typeof Image){var t=new Image;t.onload=function(){e(t.width>0&&t.height>0)},t.onerror=function(){e(!1)},t.src="data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA"}else e(!1)}((function(e){!!e}));var Xt,Yt;!function(e){e.EMBED_GRID_CONTEXT_TYPE="embed_grid",e.EMBED_CONTEXT_TYPE="embed_player",e.EMBED_HERO_CONTEXT_TYPE="embed_hero",e.EMBED_STORYBLOCK_CONTEXT_TYPE="embed_storyblock",e.EMBED_STORYLINK_CONTEXT_TYPE="embed_storylink",e.EMBED_BUTTON_CONTEXT_TYPE="embed_button",e.EMBED_ADD_TO_CALENDAR_CONTEXT_TYPE="embed_add_to_calendar",e.EMBED_SHARE_CONTEXT_TYPE="embed_share",e.EMBED_AGENT_CONTEXT_TYPE="embed_agent",e.VIDEO_DETAIL_CONTEXT_TYPE="video_detail_player",e.DISCOVER_CONTEXT_TYPE="discover_player",e.CHANNEL_CONTEXT_TYPE="channel_player",e.HASHTAG_CONTEXT_TYPE="hashtag_player",e.HEADLESS_FEED="headless_feed"}(Xt||(Xt={})),function(e){e.CONTEXT_DISCOVER="discover",e.CONTEXT_CHANNEL="channel",e.CONTEXT_HASHTAG="hashtag",e.CONTEXT_PLAYLIST="playlist",e.CONTEXT_PLAYLIST_COLLECTION="playlist_collection",e.CONTEXT_VIDEO_DETAIL="video_detail",e.CONTEXT_SKUS="skus"}(Yt||(Yt={}));var Jt="undefined"!=typeof window?window.navigator.language:void 0;var qt=o(82492),Kt=o.n(qt);function $t(e,t){return $t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},$t(e,t)}function Qt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$t(e,t)}function Zt(e){return Zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zt(e)}function en(e,t){if(t&&("object"===Zt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function tn(e){return tn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},tn(e)}function nn(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function rn(e,t,n){return rn=nn()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&$t(o,n.prototype),o},rn.apply(null,arguments)}function on(e){var t="function"==typeof Map?new Map:void 0;return on=function(e){if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return rn(e,arguments,tn(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),$t(n,e)},on(e)}function an(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=tn(e);if(t){var o=tn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return en(this,n)}}var cn=function(e){Qt(n,e);var t=an(n);function n(e){var r;return f(this,n),(r=t.call(this,e)).name="AppError",r}return n}(on(Error)),un=function(e){Qt(n,e);var t=an(n);function n(e){var r;return f(this,n),(r=t.call(this,e)).name="SessionError",r}return n}(cn),sn="_fwnthrdptyfwvs",ln="_fwnthrdptyfwvactvt",fn={},dn={},pn=function(e){try{return i().getItem(e)}catch(e){}},_n=function(e,t){try{i().setItem(e,t)}catch(e){}},vn=function(e){try{fn=e,_n(sn,JSON.stringify(e))}catch(e){}},hn=function(){return function(){var e;try{e=pn(ln),e=JSON.parse(e),e=new Date(e)}catch(t){e=void 0}return e||dn}()},yn=function(){return function(e){try{dn=e,_n(ln,JSON.stringify(dn))}catch(e){}}(new Date)},gn=function(e){var t,n,r,o,i;if(!e)return{};var a={guest_id:(null===(t=e.session)||void 0===t?void 0:t.guest_id)||(null==e?void 0:e.guest_id),session_id:e.session_id||(null===(n=e.session)||void 0===n?void 0:n.id)||(null==e?void 0:e.id),session_type:e.session_type||(null===(r=e.session)||void 0===r?void 0:r.type)||(null==e?void 0:e.type)};return e._user_id?a._user_id=e._user_id:a.user_id=null===(o=e.session)||void 0===o?void 0:o.user_id,e._visitor_id?a._visitor_id=e._visitor_id:a.visitor_id=null===(i=e.session)||void 0===i?void 0:i.visitor_id,Dt(a)},mn=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function c(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,c)}u((r=r.apply(e,t||[])).next())}))},wn="2020-06-11",bn=function(e){var t=e.guestId;return mn(void 0,void 0,void 0,S().mark((function e(){var n,r,o;return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=At(),3600,r=new Date,o={expires_in:3600,expires_at:new Date(r.getTime()+36e5),guest_id:t,id:n,referrer:"undefined"!=typeof document&&document.referrer,started_at:r,type:"embed_session",version:wn,visitor_id:t,visitor_session_id:"".concat(t).concat(n)},vn(o),e.abrupt("return",{session:o,guestId:t});case 6:case"end":return e.stop()}}),e)})))};"undefined"!=typeof window&&(window._fwnSessionPromise=void 0);var En,On,Sn,Tn,xn,In=function(e,t){void 0===e&&(e=Vt),void 0===t&&(t=bn);try{var n=void 0,r=function(){var e=fn;try{e=JSON.parse(pn(sn))}catch(e){}return e}()||{};try{n=zt()}catch(e){}if(!n||!Bt(n))throw new un("Missing guest id");return jn(),An(r),{guestId:n,session:r}}catch(n){if(n instanceof un){if(!window)return;return function(){try{fn={},_n(sn,JSON.stringify(fn))}catch(e){}}(),window._fwnSessionPromise?window._fwnSessionPromise:(window._fwnSessionPromise=e().then((function(e){return Gt(e),t({guestId:e}).then((function(t){var n=t.session;return window._fwnSessionPromise=null,yn(),{guestId:e,session:n}}))})),window._fwnSessionPromise)}throw n}},jn=function(){var e=hn();if(e&&new Date-e>18e5)throw new un("Inactivity")},An=function(e){var t,n=e||{},r=n.expires_at,o=n.version;if(wn!==o)throw new un("Invalid session version");if(!r||(!(t=r)||t&&Date.now()-Date.parse(t)>0))throw new un("Expired session token")},Pn=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function c(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,c)}u((r=r.apply(e,t||[])).next())}))},Cn=function(){return Pn(void 0,void 0,void 0,S().mark((function e(){return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",In());case 1:case"end":return e.stop()}}),e)})))},Nn=(o(68630),null!==(On=null!==(En=I("PIXEL_HOST"))&&void 0!==En?En:"https://p2.fwpixel.com")&&void 0!==On?On:""),kn=(Tn=null!==(Sn=I("PIXEL_NABOO_HOST"))&&void 0!==Sn?Sn:"https://fireworkanalytics.com",function(e){var t=e.path,n=e.data,r=e.host,o=void 0===r?Nn:r;if(navigator.sendBeacon)try{var i=JSON.stringify(n),a=new FormData;if(a.append("_json",encodeURI(i)),Rt()(a.get("_json")))throw Error("Empty payload");var c="".concat(o).concat(t),u=navigator.sendBeacon(c,a);return Promise.resolve(u)}catch(e){return Promise.reject()}return Promise.reject()}),Rn=function(){if("undefined"!=typeof window){var e=window.navigator.userAgent,t=window.navigator.platform;return-1!==["Macintosh","MacIntel","MacPPC","Mac68K","darwin"].indexOf(t)?"MacOS":-1!==["iPhone","iPad","iPod"].indexOf(t)?"iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(t)?"Windows":/Android/.test(e)?"Android":/Linux/.test(t)?"Linux":void 0}},Dn=function(){if("undefined"!=typeof window){var e=window.navigator.userAgent;return e.search("MSIE")>=0?"IE":e.search("Edg")>=0?"Edge":e.search("Firefox")>=0||e.search("FxiOS")>=0?"Firefox":e.search("Opera")>=0||e.search("OPR")>=0?"Opera":e.search("MicroMessenger")>=0?"WeChat":e.search("Chrome")>=0||e.search("CriOS")>=0?"Chrome":e.search("Safari")>=0&&e.search("Chrome")<0?"Safari":void 0}},Ln=(Rn(),Rn(),Rn(),Rn(),Rn(),Dn(),Dn(),Dn(),Dn(),Dn(),Dn(),Dn(),function(){return"undefined"==typeof window?null:(e=!1,function(t){(window.innerWidth<=360||/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od|ad)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))&&(e=!0)}(navigator.userAgent||navigator.vendor),e?"mobile_web":"web");var e}),Un=function(){var e,t;return{platform:Ln(),product:I("PRODUCT")||"embed.web.naboo",product_version:null!==(e=I("RELEASE_VERSION"))&&void 0!==e?e:"v20230531.1-hotfix",track_version:null!==(t=I("TRACK_VERSION"))&&void 0!==t?t:"2.0"}},Fn=function(){var e=function(){var e=new Date,t=new Date(e.valueOf()-60*e.getTimezoneOffset()*1e3);return{now:e.toISOString().replace("Z",""),nowLocal:t.toISOString().replace("Z","")}}(),t=e.now;return Dt(Object.assign(Object.assign({},Un()),{client_event_time:t,os_name:Rn()}))};!function(e){e.Essential="essential",e.NonEssential="non-essential"}(xn||(xn={}));var Mn="fw_consent",Wn=function(){var e;return null===(e=gt(Mn,31536e3))||void 0===e?void 0:e.value},Hn=function(){return Hn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{const o="function"==typeof e?e(t):e;if(o!==t){const e=t;t=r?o:Object.assign({},t,o),n.forEach((n=>n(t,e)))}},o=()=>t,i={setState:r,getState:o,subscribe:(e,r,i)=>r||i?((e,r=o,i=Object.is)=>{console.warn("[DEPRECATED] Please use `subscribeWithSelector` middleware");let a=r(t);function c(){const n=r(t);if(!i(a,n)){const t=a;e(a=n,t)}}return n.add(c),()=>n.delete(c)})(e,r,i):(n.add(e),()=>n.delete(e)),destroy:()=>n.clear()};return t=e(r,o,i),i}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;const tr=(e,t)=>{let n;try{n=JSON.parse(e)}catch(e){console.error("[zustand devtools middleware] Could not parse the received json",e)}void 0!==n&&t(n)};Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;function nr(e){return function(e,t){return(n,r,o)=>{var i;let a=!1;"string"!=typeof t||a||(console.warn("[zustand devtools middleware]: passing `name` as directly will be not allowed in next majorpass the `name` in an object `{ name: ... }` instead"),a=!0);const c=void 0===t?{name:void 0,anonymousActionType:void 0}:"string"==typeof t?{name:t}:t;let u;void 0!==(null==(i=null==c?void 0:c.serialize)?void 0:i.options)&&console.warn("[zustand devtools middleware]: `serialize.options` is deprecated, just use `serialize`");try{u=window.__REDUX_DEVTOOLS_EXTENSION__||window.top.__REDUX_DEVTOOLS_EXTENSION__}catch{}if(!u)return"undefined"!=typeof window&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),e(n,r,o);let s=Object.create(u.connect(c)),l=!1;Object.defineProperty(o,"devtools",{get:()=>(l||(console.warn("[zustand devtools middleware] `devtools` property on the store is deprecated it will be removed in the next major.\nYou shouldn't interact with the extension directly. But in case you still want to you can patch `window.__REDUX_DEVTOOLS_EXTENSION__` directly"),l=!0),s),set:e=>{l||(console.warn("[zustand devtools middleware] `api.devtools` is deprecated, it will be removed in the next major.\nYou shouldn't interact with the extension directly. But in case you still want to you can patch `window.__REDUX_DEVTOOLS_EXTENSION__` directly"),l=!0),s=e}});let f=!1;Object.defineProperty(s,"prefix",{get:()=>(f||(console.warn("[zustand devtools middleware] along with `api.devtools`, `api.devtools.prefix` is deprecated.\nWe no longer prefix the actions/names"+c.name===void 0?", pass the `name` option to create a separate instance of devtools for each store.":", because the `name` option already creates a separate instance of devtools for each store."),f=!0),""),set:()=>{f||(console.warn("[zustand devtools middleware] along with `api.devtools`, `api.devtools.prefix` is deprecated.\nWe no longer prefix the actions/names"+c.name===void 0?", pass the `name` option to create a separate instance of devtools for each store.":", because the `name` option already creates a separate instance of devtools for each store."),f=!0)}});let d=!0;o.setState=(e,t,o)=>{n(e,t),d&&s.send(void 0===o?{type:c.anonymousActionType||"anonymous"}:"string"==typeof o?{type:o}:o,r())};const p=(...e)=>{const t=d;d=!1,n(...e),d=t},_=e(o.setState,r,o);if(s.init(_),o.dispatchFromDevtools&&"function"==typeof o.dispatch){let e=!1;const t=o.dispatch;o.dispatch=(...n)=>{"__setState"!==n[0].type||e||(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),e=!0),t(...n)}}return s.subscribe((e=>{var t;switch(e.type){case"ACTION":return"string"!=typeof e.payload?void console.error("[zustand devtools middleware] Unsupported action format"):tr(e.payload,(e=>{"__setState"!==e.type?o.dispatchFromDevtools&&"function"==typeof o.dispatch&&o.dispatch(e):p(e.state)}));case"DISPATCH":switch(e.payload.type){case"RESET":return p(_),s.init(o.getState());case"COMMIT":return s.init(o.getState());case"ROLLBACK":return tr(e.state,(e=>{p(e),s.init(o.getState())}));case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return tr(e.state,(e=>{p(e)}));case"IMPORT_STATE":{const{nextLiftedState:n}=e.payload,r=null==(t=n.computedStates.slice(-1)[0])?void 0:t.state;if(!r)return;return p(r),void s.send(null,n)}case"PAUSE_RECORDING":return d=!d}return}})),_}}(e,{name:"FWN Global Store"})}function rr(e){return{cameraIdChanged:function(t){e({cameraId:t},!1,"cameraIdChanged")},speakerIdChanged:function(t){e({speakerId:t},!1,"speakerIdChanged")},microphoneIdChanged:function(t){e({microphoneId:t},!1,"microphoneIdChanged")},getCameraIdFailed:function(){e({failedToGetCameraId:!0},!1,"getCameraIdFailed")},toggleFacingMode:function(){e((function(e){return{facingMode:"environment"===e.facingMode?"user":"environment"}}),!1,"facingModeChanged")}}}var or="deviceSettings";var ir=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function pr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0}))}:e}),!1,"updateUnitCartQuantity")},setCartUpdatedCallback:function(t){e({cartUpdatedCallback:vr(t,"cartUpdatedCallback")},!1,"setCartUpdatedCallback")},setCartDisplayedCallback:function(t){e({cartDisplayedCallback:vr(t,"cartDisplayedCallback")},!1,"setCartDisplayedCallback")},setProductsLoadedCallback:function(t){e({productsLoadedCallback:vr(t,"productsLoadedCallback")},!1,"setProductsLoadedCallback")},cartUpdateStarted:function(){e((function(e){return{pendingCartUpdate:e.pendingCartUpdate+1}}),!1,"cartUpdateStarted")},cartUpdateEnded:function(){e((function(e){return{pendingCartUpdate:e.pendingCartUpdate-1,lastCartUpdateTs:Date.now()}}),!1,"cartUpdateEnded")}}}function vr(e,t){return function(){for(var n=arguments.length,r=new Array(n),o=0;o0)return o.reduce((function(e,t){return e[t.replace("data-","")]=document.currentScript.getAttribute(t),e}),{})}catch(e){}return{}}!function(e){var t;"undefined"==typeof window||window._fwn||(window._fwn={}),window._fwn.version=null!==(t="v20230531.1-hotfix")?t:"unknown",e(),Dr({target:null,type:Nr.FW_READY,data:{}})}((function(){"undefined"==typeof window||Object.prototype.hasOwnProperty.call(window._fwn,"globalConfig")||Object.defineProperty(window._fwn,"globalConfig",{value:to()}),eo({cookiesEnabled:!0}),function(e){if("undefined"!=typeof window)if(Object.prototype.hasOwnProperty.call(window._fwn,"analytics")){if(window._fwn.analytics.isFallback()){var t=window._fwn.analytics.eventQueue;Xr(e),t.forEach((function(e){var t=e.url,n=e.data,r=e.isUserEngagement;Fr({endpoint:{url:t,consent:xn.Essential,isUserEngagement:!!r},data:n,host:void 0})}))}}else Xr(e)}({shouldSendPageLoadPixelEvent:!1})}))}()}(); //# sourceMappingURL=analytics.js.map