1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="cf4984a9-273e-525e-bc7d-1b2f8333a717")}catch(e){}}(); 3var client;(()=>{var e={746(e){"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;if(Array.isArray(t)){if((i=t.length)!=r.length)return!1;for(s=i;0!=s--;)if(!e(t[s],r[s]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((i=(n=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(s=i;0!=s--;)if(!Object.prototype.hasOwnProperty.call(r,n[s]))return!1;for(s=i;0!=s--;){var i,s,n,o=n[s];if(!e(t[o],r[o]))return!1}return!0}return t!=t&&r!=r}},526(e,t,r){"use strict";function i(e){var t;return function(){t||(r={},t={load:e=>r[e],store:(e,t)=>{r[e]=t}});for(var r,i=arguments.length,s=Array(i),n=0;n<i;n++)s[n]=arguments[n];var o=JSON.stringify(s),a=t.load(o);return a||(a=e(...s),t.store(o,a)),a}}r.d(t,{G:()=>i})},783(e,t,r){"use strict";r.d(t,{q:()=>n});var i=r(557),s=r(526);class n{constructor(){this.queue=0}getQueueSize(){return this.queue}setCallback(e){this.callback=e}wait(e){!i.S&&(this.queue++,e&&console.log(e))}done(e){!i.S&&(this.queue--,e&&console.log(e),0===this.queue&&this.callback&&this.callback())}}n.shared=(0,s.G)(()=>new n)},557(e,t,r){"use strict";r.d(t,{S:()=>i});var i=r(585).canUseDOM},217(e,t,r){"use strict";r.d(t,{Tn:()=>i,gc:()=>s,kp:()=>o,rc:()=>n});var i=e=>"function"==typeof e;function s(e){if(null==e)return!1;var t=e.constructor;return!!e&&"[object Object]"===Object.prototype.toString.call(e)&&i(t)&&!Object.isFrozen(e)&&(t instanceof t||"AltStore"===e.type)}function n(e,t){t.forEach(t=>{Object.keys(Object(t)).forEach(r=>{e(r,t[r])})})}function o(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return n((t,r)=>e[t]=r,r),e}},28(e,t,r){"use strict";r.d(t,{A:()=>o});var i=r(217),s=r(888),n=r.n(s);let o=class{constructor(e,t,r,s){var o=t.lifecycleEvents;this.transmitter=n()(),this.lifecycle=(e,t)=>{o[e]&&o[e].publish(t)},this.prevState={},this.state=r,this.alt=e,this.preventDefault=!1,this.displayName=t.displayName,this.boundListeners=t.boundListeners,this.StoreModel=s,this.reduce=t.reduce||(e=>e),this.subscriptions=[];var a=t.output||(e=>e);this.emitChange=()=>{var e=a(this.state);return this.transmitter.publish(e,this.prevState)};var u=(e,r)=>{try{return e()}catch(e){if(t.handlesOwnErrors)return this.lifecycle("error",{error:e,payload:r,state:this.state}),!1;throw e}};i.kp(this,t.publicMethods),this.dispatchToken=e.dispatcher.register(e=>{this.preventDefault=!1,this.lifecycle("beforeEach",{payload:e,state:this.state});var r=t.actionListeners[e.action];(r||t.otherwise)&&(!1===(r?u(()=>r.filter(Boolean).every(r=>!1!==r.call(t,e.data,e.action)),e):u(()=>t.otherwise(e.data,e.action),e))||this.preventDefault||this.emitChange()),t.reduce&&(u(()=>{var r=t.reduce(this.state,e);void 0!==r&&(this.state=r)},e),this.preventDefault||this.emitChange()),this.lifecycle("afterEach",{payload:e,state:this.state})}),this.lifecycle("init")}listen(e){if(!i.Tn(e))throw TypeError("listen expects a function");var{dispose:t}=this.transmitter.subscribe(e);return this.subscriptions.push({cb:e,dispose:t}),()=>{this.lifecycle("unlisten"),t()}}unlisten(e){this.lifecycle("unlisten"),this.subscriptions.filter(t=>t.cb===e).forEach(e=>e.dispose())}getState(){return this.StoreModel.config.getState.call(this,this.state)}}},268(e,t,r){"use strict";r.d(t,{A:()=>i});let i={displayName:"language",change:function(e){return function(t){t({current:e})}},changeSupportLanguages:function(e){return function(t){t({languages:e})}}}},324(e,t,r){"use strict";r.d(t,{Y:()=>j});var i=r(783),s=r(200),n=r(217);function o(e,t,r){var i=e.deserialize(t);n.rc((t,s)=>{var o,a=t.split(".");if(o=a.length>1?e.stores[a[0]]&&e.stores[a[0]][a[1]]:e.stores[t]){var{config:u}=o.StoreModel,d=o.state;u.onDeserialize&&(i[t]=u.onDeserialize(s)||s),n.gc(d)?(n.rc(e=>delete d[e],[d]),n.kp(d,i[t])):o.state=i[t],r(o,o.state)}},[i])}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];t=t.length?t:Object.keys(e.stores);var r={};return t.forEach(t=>
3{Object.keys(e.stores[t]).forEach(i=>{var s=e.stores[t][i];s.displayName?function(e){if(void 0!==e.state){var{config:t}=e.StoreModel;e.lifecycle("snapshot");var i=t.onSerialize&&t.onSerialize(e.state);r[e.displayName]=i||e.getState()}}(s):console.error(Error("Snapshot: displayName does not exist"))})}),r}function u(e){return e}var d=Object.getOwnPropertyNames(u),c=Object.getOwnPropertyNames(u.prototype);function l(e,t){var r=t?c:d,i=t?e.prototype:e;return Object.getOwnPropertyNames(i).reduce((e,t)=>(-1!==r.indexOf(t)||(e[t]=i[t]),e),{})}function h(e){"u">typeof console&&console.warn(ReferenceError(e))}function p(e,t){for(var r=0,i=t;Object.hasOwnProperty.call(e,i);)i=t+String(++r);return i}function f(e){return e.replace(/[a-z]([A-Z])/g,e=>e[0]+"_"+e[1].toLowerCase()).toUpperCase()}function v(e){if(void 0===e)return null;for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return r.length?[e].concat(r):e}function b(e,t,r,i){return{type:t,payload:r,meta:Object.assign({dispatchId:e},i),id:e,action:t,data:r,details:i}}var g=r(28),m=r(888),T=r.n(m);let y={waitFor(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(!t.length)throw ReferenceError("Dispatch tokens not provided");var i=t;1===t.length&&(i=Array.isArray(t[0])?t[0]:t);var s=i.map(e=>e.dispatchToken||e);this.dispatcher.waitFor(s)},exportAsync(e){this.registerAsync(e)},registerAsync(e){var t=this,r=0,i=n.Tn(e)?e(this.alt):e,s=Object.keys(i).reduce((e,s)=>{var o=i[s],a=n.Tn(o)?o(this):o;return["success","error","loading"].forEach(e=>{if(a[e]&&!a[e].id)throw Error(e+" handler must be an action function")}),e[s]=function(){for(var e=arguments.length,i=Array(e),s=0;s<e;s++)i[s]=arguments[s];var n=t.getInstance().getState(),o=a.local&&a.local(n,...i),u=a.shouldFetch?a.shouldFetch(n,...i):null==o,d=a.interceptResponse||(e=>e),c=(e,s)=>n=>{var o=()=>{if(r-=1,e(d(n,e,i)),s)throw n;return n};return t.alt.trapAsync?()=>o():o()};return u?(r+=1,a.loading&&a.loading(d(null,a.loading,i)),a.remote(n,...i).then(c(a.success),c(a.error,1))):(t.emitChange(),o)},e},{});this.exportPublicMethods(s),this.exportPublicMethods({isLoading:()=>r>0})},exportPublicMethods(e){n.rc((e,t)=>{if(!n.Tn(t))throw TypeError("exportPublicMethods expects a function");this.publicMethods[e]=t},[e])},emitChange(){this.getInstance().emitChange()},on(e,t){"error"===e&&(this.handlesOwnErrors=!0);var r=this.lifecycleEvents[e]||T()();return this.lifecycleEvents[e]=r,r.subscribe(t.bind(this))},bindAction(e,t){if(!e)throw ReferenceError("Invalid action reference passed in");if(!n.Tn(t))throw TypeError("bindAction expects a function");var r=e.id?e.id:e;this.actionListeners[r]=this.actionListeners[r]||[],this.actionListeners[r].push(t.bind(this)),this.boundListeners.push(r)},bindActions(e){n.rc((e,t)=>{var r=e.replace(/./,e=>"on"+e[0].toUpperCase());if(this[e]&&this[r])throw ReferenceError("You have multiple action handlers bound to an action: "+e+" and "+r);var i=this[e]||this[r];i&&this.bindAction(t,i)},[e])},bindListeners(e){n.rc((e,t)=>{var r=this[e];if(!r)throw ReferenceError(e+" defined but does not exist in "+this.displayName);Array.isArray(t)?t.forEach(e=>{this.bindAction(e,r)}):this.bindAction(t,r)},[e])}};function E(e,t,r){var{config:i}=t.StoreModel,s=n.Tn(r)?r(t.state):r;t.prevState=Object.assign({},t.state),t.state=i.setState.call(e,t.state,s),e.alt.dispatcher.isDispatching()||e.emitChange()}function S(e,t,r,i){return n.kp(e,y,{displayName:r,alt:t,dispatcher:t.dispatcher,preventDefault(){this.getInstance().preventDefault=!0},boundListeners:[],lifecycleEvents:{},actionListeners:{},publicMethods:{},handlesOwnErrors:!1},i)}function w(e,t){t.config=n.kp({getState:e=>Array.isArray(e)?e.slice():n.gc(e)?n.kp({},e):e,setState:(e,t)=>n.gc(t)?n.kp(e,t):t},e,t.config)}function P(e,t){return e.reduce((e,t)=>t(e),t)}function O(e,t,r){var i,s=S({},e,r,n.kp({getInstance:()=>i,setState(e){E(this,i,e)}},t));return s.bindListeners&&y.bindListeners.call(s,s.bindListeners),s.observe&&y.bindListeners.call(s,s.observe(e)),s.lifecycle&&n.rc((e,t)=>{y.on.call(s,e,t)},[s.lifecycle]),i=n.kp(new g.A(e,s,void 0!==s.state?s.state:{},t),s.publicMethods,{displayName:r,config:t.config})}function x(e,t,r){var i,{config:s}=t;class o extends t{constructor(){super(...arguments)}}S(o.prototype,e,r,{type:"AltStore",getInstance:()=>i,setState(e){E(this,i,e)}});for(var a=arguments.length,u=Array(a>3?a-3:0),d=3;d<a;d++)u[d-3]=arguments[d];var c=new o(...u);s.bindListeners&&c.bindListeners(s.bindListeners),s.datasource&&c.registerAsync(s.datasource);var{displayName:h}=t;return -1===h.indexOf(".")&&(h+=".default"),i=n.kp(new g.A(e,c,c.state,t),l(t),s.publicMethods,{displayName:h})}var G=r(727),A=r.n(G),k=r(301);function _(e,t,r,i,s,o){var a=p(e._actionsRegistry,r+"."+i);e._actionsRegistry[a]=1;
3var u=0,d={id:a,namespace:r,name:i,actionsName:t},c=function(){for(var t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];++u;var c=(0,k.A)(),l="function"==typeof r[r.length-1]?r.pop():()=>{};e.AP&&e.AP.wait&&e.AP.wait(),(e.eventsCallbacks["event.action.started"]||[]).forEach(e=>e(c,r,d,{currentActiveActions:u}));var p=s.apply(o,r),f=(t,r)=>{setTimeout(()=>{(e.eventsCallbacks["event.action.dispatch"]||[]).forEach(e=>e(c,{payload:t,finishPayload:r},d,{currentActiveActions:u})),e.dispatch(a,t,d),p.optimist||l(r),e.AP&&e.AP.done&&e.AP.done(),(e.eventsCallbacks["event.action.ended"]||[]).forEach(e=>e(c,{payload:t,finishPayload:r},d,{currentActiveActions:u})),--u},0)},v=p;return void 0===p||A()(p)||(n.Tn(p)?v=p(f,e,p.optimist?l:void 0):f(p)),void 0===p&&h("An action was called but nothing was dispatched"),v};c.defer=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return setTimeout(()=>c.apply(null,t))},c.id=a,c.data=d;var l=e.actions[t][r],v=p(l,i);return l[v]=c,l[f(v)]=a,c}let I=class{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.config=e,this.serialize=e.serialize||JSON.stringify,this.deserialize=e.deserialize||JSON.parse,this.dispatcher=e.dispatcher||new s.Dispatcher,this.batchingFunction=e.batchingFunction||(e=>e()),this.actions={global:{}},this.stores={},this.storeTransforms=e.storeTransforms||[],this.trapAsync=!1,this._actionsRegistry={},this._initSnapshot={},this._lastSnapshot={},this.eventsCallbacks={}}dispatch(e,t,r){this.batchingFunction(()=>{var i=Math.random().toString(18).substr(2,16);if(e.hasOwnProperty("type")&&e.hasOwnProperty("payload")){var s={id:e.type,namespace:e.type,name:e.type};return this.dispatcher.dispatch(b(i,e.type,e.payload,s))}return e.id&&e.dispatch?function(e,t,r,i){var s=t.dispatch(r);if(void 0===s)return null;var o=t.id,a={id:o,namespace:o,name:o};return n.Tn(s)?s(e=>i.dispatch(o,e,a),i):i.dispatcher.dispatch(b(e,o,s,a))}(i,e,t,this):this.dispatcher.dispatch(b(i,e,t,r))})}createUnsavedStore(e){var t=e.displayName||"";w(this.config,e);for(var r=P(this.storeTransforms,e),i=arguments.length,s=Array(i>1?i-1:0),o=1;o<i;o++)s[o-1]=arguments[o];return n.Tn(r)?x(this,r,t,...s):O(this,r,t)}createStore(e,t){t=t||"default";var r,i=!!e.getDisplayName;r=i?e.getDisplayName(t).split(".")[0]:e.displayName;var s=this.stores[r]&&this.stores[r][t];if(s)return s;i&&(e=new e(t)),w(this.config,e);for(var o=P(this.storeTransforms,e),a=arguments.length,u=Array(a>2?a-2:0),d=2;d<a;d++)u[d-2]=arguments[d];u.push(this);var c=n.Tn(o)?x(this,o,t,...u):O(this,o,t);return this.stores[r]=this.stores[r]||{},this.stores[r][t]=c,!function(e,t){if(e.getStore(t)&&void 0!==e.getStore(t).state){var r=e.deserialize(e.serialize(e.getStore(t).state));e._initSnapshot[t]=r,e._lastSnapshot[t]=r}}(this,r+"."+t),c}generateActions(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.createActions(t.reduce((e,t)=>(e[t]=v,e),{name:"global"}))}createAction(e,t,r){return _(this,"global",null,e,t,r)}createActions(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=!!e.getDisplayName,s=e.id||"default";t=i?e.getDisplayName(s).split(".")[0]:e.displayName;var o=this.actions[t]&&this.actions[t][s];if(o)return o;i&&(e=new e(s));var a={};if(n.Tn(e)){n.kp(a,function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t===Function.prototype?r:e(Object.getPrototypeOf(t),n.kp(l(t,!0),r))}(e));for(var u=arguments.length,d=Array(u>2?u-2:0),c=2;c<u;c++)d[c-2]=arguments[c];n.kp(a,new class extends e{constructor(){super(...arguments)}generateActions(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(e=>{a[e]=v})}}(...d))}else n.kp(a,e);return this.actions[t]=this.actions[t]||{},this.actions[t][s]=this.actions[t][s]||{},n.rc((e,i)=>{if(!n.Tn(i)){"displayName"===e&&-1===i.indexOf(".")&&(i+=".default"),r[e]=i;return}r[e]=_(this,t,s,e,i,r),r[f(e)]=r[e].id},[a]),r.displayName||(r.displayName=t+"."+s),e.config&&e.config.publicMethods&&(n.kp(this.actions[t][s],e.config.publicMethods),n.kp(r,e.config.publicMethods)),r}takeSnapshot(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=a(this,t);return n.kp(this._lastSnapshot,i),this.serialize(i)}rollback(){o(this,this.serialize(this._lastSnapshot),e=>{e.lifecycle("rollback"),e.emitChange()})}recycle(){for(var e,t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];var s=r.length?(e=this._initSnapshot,r.reduce((t,r)=>{var i=r.displayName||r;
3if(!e[i])throw ReferenceError(i+" is not a valid store");return t[i]=e[i],t},{})):this._initSnapshot;o(this,this.serialize(s),e=>{e.lifecycle("init"),e.emitChange()})}flush(){var e=this.serialize(a(this));return this.recycle(),e}bootstrap(e){o(this,e,(e,t)=>{e.lifecycle("bootstrap",t),e.emitChange()})}prepare(e,t){var r={};if(!e.displayName)throw ReferenceError("Store provided does not have a name");return r[e.displayName]=t,this.serialize(r)}addActions(e,t){for(var r=arguments.length,i=Array(r>2?r-2:0),s=2;s<r;s++)i[s-2]=arguments[s];this.actions[e]=Array.isArray(t)?this.generateActions.apply(this,t):this.createActions(t,...i)}addStore(e,t){for(var r=arguments.length,i=Array(r>2?r-2:0),s=2;s<r;s++)i[s-2]=arguments[s];this.createStore(t,e,...i)}getActions(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";if("string"==typeof e){var i=e.split(".");return t=i[0],r=i[1]||"default",this.actions[t]&&this.actions[t][r]||void 0}return e.getDisplayName?t=e.getDisplayName(r).split(".")[0]:(e.displayName||h("Actions "+e+" don't have a displayName"),t=e.displayName),e.id=r,this.actions[t]&&this.actions[t][r]||this.createActions(e)}getStore(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";if("string"==typeof e){var i=e.split(".");return t=i[0],r=i[1]||"default",this.stores[t]&&this.stores[t][r]||void 0}return e.getDisplayName?t=e.getDisplayName(r).split(".")[0]:(e.displayName||h("Store "+e+" doesn't have a displayName"),t=e.displayName),this.stores[t]&&this.stores[t][r]||this.createStore(e,r)}get(e){for(var t={},r=arguments.length,i=Array(r>1?r-1:0),s=1;s<r;s++)i[s-1]=arguments[s];return e.hasOwnProperty("store")&&(t.store=this.getStore.apply(this,[e.store,...i])),e.hasOwnProperty("actions")&&(t.actions=this.getActions.apply(this,[e.actions,...i])),t}on(e,t){t instanceof Function?(this.eventsCallbacks[e]=this.eventsCallbacks[e]||[],this.eventsCallbacks[e].push(t)):h("on "+e+" method callback must be function")}off(e,t){this.eventsCallbacks[e]=this.eventsCallbacks[e].filter(e=>e!==t)}static debug(e,t,r){var i="alt.js.org",s=r;return!s&&"u">typeof window&&(s=window),void 0!==s&&(s[i]=s[i]||[],s[i].push({name:e,alt:t})),t}};var D=r(526);class j extends I{constructor(){super(),this.AP=i.q.shared()}}j.shared=(0,D.G)(()=>new j)},429(e,t,r){"use strict";r.d(t,{A:()=>u});var i=r(406),s=r.n(i),n=["iOS","Android","Windows Phone"];function o(e){var t,r=-1!==(e=e.trim()).indexOf("!:");if(2!==(t=(e=e.replace(/!:/g,":")).split(":")).length)throw Error("Signature error in data-platform attribute");return t.push(r),a.apply(null,t)}function a(e,t,r){var i;return e=e.trim().split("."),t=t.split(","),i=((function(e,t){var r,i=e.length;for(r=0;r<i;r+=1){if(void 0===t[e[r]])throw Error("Wrong property "+e[r]+" in data-platform attribute");if("object"!=typeof t[e[r]]&&r===i-1)return t[e[r]];t=t[e[r]]}})(e,s())+"").toLowerCase(),t.some(function(e){return r^-1!==i.indexOf(e.toLowerCase().trim())})}let u={device:function(){var e="web";return n.forEach(function(t){o("os.family:"+t)&&(e="mobile")}),e},test:function(e){return e.split(";").every(o)}}},650(e,t,r){"use strict";r.d(t,{A:()=>a});var i=r(268),s=r(209),n=r.n(s);function o(e){var t=e.getActions(i.A.displayName)||e.createActions(i.A);this.state={languages:[],current:null},this.update=function(e){var t=n()(!0,this.state,e);this.setState(t)},this.bindAction(t.change,this.update),this.bindAction(t.changeSupportLanguages,this.update)}o.displayName="language";let a=o},628(e,t,r){e.exports=function(e){var t=[function(e,t,r){i=(function(){var e={};function t(){return+new Date+""+Math.ceil(1e4*Math.random())}function r(e,i){if(r.mems||(r.mems={}),r.mems[e])return void i(r.mems[e]);var s=document.createElement("div"),n="i"+t(),o="f"+t();s.style.width=s.style.height="0px",s.style.visibility=s.style.overflow="hidden",s.innerHTML='<iframe id="'+n+'" src="'+e+'" style="" onload="'+o+'()" />',window[o]=function(){r.mems[e]=document.getElementById(n).contentWindow,i(r.mems[e])},document.body.appendChild(s)}function i(t){var r,i;t=t||event;try{r=JSON.parse(t.data)}catch(e){return}"cor"===r.type&&e[r.id]&&(i=e[r.id],e[r.id]=void 0,delete e[r.id],1223===r.status&&(r.status=204,r.statusText="No Content"),r.status>12e3&&(r.status=0),2===r.status&&(r.status=0),i.status=r.status,i.responseText=r.response,i.headers=r.headers,r.status?i.onload():i.onerror
3({}))}return"u">typeof window&&(window.addEventListener?window.addEventListener("message",i,!1):window.attachEvent&&window.attachEvent("onmessage",i)),function(i){var s={headers:{}};this.headers={},this.onload=null,this.onerror=null,this.withCredentials=!1,this.open=function(e,t){s.method=e,s.uri=t},this.setRequestHeader=function(e,t){s.headers[e]=t},this.getResponseHeader=function(e){return this.headers[e.toLowerCase()]},this.send=function(n){var o,a,u,d,c,l,h;s.body=n,u=s.uri,d="",c="",(a=u.split("//")).length>1&&(":"===a[0].substr(a[0].length-1)&&(d=a[0]),o=(a=a[1].split("/"))[0]),o&&(c=d+"//"+o),l=c+=i.cor,e[h=t()]=this,r(l,function(e){e.postMessage(JSON.stringify({id:h,req:s}),"*")})}}}).apply(t,[]),p="u"<typeof window?r(1):window.XMLHttpRequest,s=(function(e){var t,r=[],s=!1;function n(e){try{return JSON.stringify(e)}catch(e){return""}}return t="u"<typeof document||"withCredentials"in new p&&10!==document.documentMode?p:i,s=!0,{request:function(e,i,o,a){if(!s)return void r.push({options:i,responseCallback:a,requestCallback:o,requestId:e});function u(e,t){i[e]||(i[e]=t)}u("method","GET"),u("headers",{}),u("xhr",{}),i.media||(i.media="application/json"),i.xhr.cor||(i.xhr.cor="/cor.html"),i.xhr.timeout||(i.xhr.timeout=3e4);var d,c=i.headers;for(var l in c)d=c[l],delete c[l],c[l.toLowerCase()]=d;var h=new t(i.xhr),p=Date.now();if(i.headers.accept||(i.headers.accept=i.media),void 0!==i.body&&(i.headers["content-type"]=i.media),h.open(i.method,i.uri),h.withCredentials=!!i.cookie,i.headers)for(var f in i.headers)h.setRequestHeader(f,i.headers[f]);return h.onload=function(){var t=Math.floor(h.status/100),r=null;(4==t||5==t)&&(r={status:h.status});var i=h.responseText?function(e){try{return JSON.parse(e)}catch(e){return null}}(h.responseText):null;"u">typeof window&&window.apicResponseThrottleMultiplier?setTimeout(function(){a(r,i,h,e)},Math.max((Date.now()-p)*window.apicResponseThrottleMultiplier,1)):a(r,i,h,e)},h.onerror=function(t){t.status=0,"u">typeof window&&window.apicResponseThrottleMultiplier?setTimeout(function(){a(t,null,h,e)},Math.max((Date.now()-p)*window.apicResponseThrottleMultiplier,1)):a(t,null,h,e)},"u">typeof window&&window.apicRequestThrottleTime?setTimeout(function(){h.send(n(i.body))},window.apicRequestThrottleTime):h.send(n(i.body)),"function"==typeof o&&o(h,e),h}}}).apply(t,[r,i]),n=(function(){"use strict";var e=/^.+?\b/,t=/(\w+)="([^"]+)"/g;function r(r){var i=this;this.scheme=e.exec(r)[0],this.params={},t.test(r)?r.replace(t,function(e,t,r){i.params[t]=r}):this.params=r.replace(e,"").trim()}function i(){if(void 0!==this.scheme){if("string"==typeof this.params)return this.scheme+" "+this.params;var e,t=[];for(var r in this.params)void 0!==(e=this.params[r])&&t.push(r+'="'+e+'"');return this.scheme+(t.length?" "+t.join(", "):"")}}return function(e,t){void 0===t&&void 0!==e?r.call(this,e):(this.scheme=e,this.params=t),this.update=function(e,t){var r=this.scheme;if("object"==typeof e?t=e:this.scheme=e,void 0===t)return this.toString();if("string"==typeof t)return this.params=t,this.toString();if(typeof this.params!=typeof t)this.params=t;else for(var i in e!==r&&(this.params={}),t)this.params[i]=t[i];return this.toString()},this.toString=function(){return i.call(this)}}}).apply(t,[]),o=(function(){"use strict";var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return{encode:function(t){var r,i,s,n,o,a,u,d=[],c=0;for(t=unescape(encodeURIComponent(t));c<t.length;)r=t.charCodeAt(c++),i=t.charCodeAt(c++),s=t.charCodeAt(c++),n=r>>2,o=(3&r)<<4|i>>4,a=(15&i)<<2|s>>6,u=63&s,isNaN(i)?a=u=64:isNaN(s)&&(u=64),d.push(e.charAt(n)),d.push(e.charAt(o)),d.push(e.charAt(a)),d.push(e.charAt(u));return d.join("")}}}).apply(t,[]),a=(function(e){return function(){var e=new n,t={},r={basic:function(e,t){return i("Basic",o.encode(e+":"+t))},token:function(e,t){return i("Token",{token:e,realm:t})},facebook:function(e){return i("Facebook",{token:e})},google:function(e){return i("Google",{token:e})},apple:function(e){return i("Apple",{token:e})},wechat:function(e){return i("WeChat",{token:e})}};function i(t,r){return void 0===t?e.toString():void 0===r?e=new n(t):e.update(t,r)}for(var s in r)i[s]=r[s];i.realm=function(t){return void 0===t?e&&e.params&&e.params.realm:e.update(e.scheme,{realm:t})},i.headers=function(e){return e&&(t=e),t},this.authorize=i,this.unauthorize=function(){e=new n,t={}}}}).apply(t,[r,n,o]),u=(function(){return function(){var e={};function t(e,t){var r={callback:t,cancelled:!1};return e.subs.push(r),r}function r(t){t.done=!0,t.key&&e[t.key]===t&&delete e[t.key]}function i(e,t){var i;t.cancelled||e.done||(t.cancelled=!0,-1!==(i=e.subs.indexOf(t))&&e.subs.splice(i,1),e.subs.length||(r(e),e.abort()))}return{subscribe:function(r,s){var n,o=e[r];if(o)return n=t(o,s),function(e,t){var r,i;if(!e)return{xhr:e,abort:t};try{r=Object.create(Object.getPrototypeOf(e))}catch(e){r={}}for(i=e;i&&i!==Object.prototype;
3){try{Object.getOwnPropertyNames(i).forEach(function(t){!function(e,t,r,i){if(!("constructor"===r||Object.prototype.hasOwnProperty.call(e,r)))try{if("function"==typeof i.value)return void Object.defineProperty(e,r,{configurable:!0,writable:!0,enumerable:i.enumerable,value:function(){return t[r].apply(t,arguments)}});Object.defineProperty(e,r,{configurable:!0,enumerable:i.enumerable,get:function(){return t[r]},set:function(e){t[r]=e}})}catch(e){}}(r,e,t,Object.getOwnPropertyDescriptor(i,t))})}catch(e){}i=Object.getPrototypeOf(i)}return Object.defineProperty(r,"xhr",{configurable:!0,value:e}),Object.defineProperty(r,"abort",{configurable:!0,value:t}),r}(o.xhr,function(){i(o,n)})},create:function(s,n){var o,a={key:s,xhr:null,subs:[],done:!1,aborted:!1,abort:function(){a.aborted=!0}};return s&&(e[s]=a),o=t(a,n),{setRequest:function(e){var t=e.abort.bind(e);a.xhr=e,a.abort=t,e.abort=function(){i(a,o)},a.aborted&&t()},dispatch:function(e,t,i){var s=a.subs;r(a),a.subs=[],s.forEach(function(r){!r.cancelled&&r.callback&&(3===r.callback.length?r.callback(e,t,i):r.callback(e,t))})}}}}}}).apply(t,[]),d=(function(){var e=encodeURIComponent("[]");return{encode:function t(r){var i=[];if(!(r instanceof Object))return encodeURIComponent(r);for(var s in r){var n=r[s];n instanceof Array?n.forEach(function(r){i.push(encodeURIComponent(s)+e+"="+t(r))}):i.push(encodeURIComponent(s)+"="+encodeURIComponent(n))}return i.length?"?"+i.sort().join("&"):""}}}).apply(t,[]);var i,s,n,o,a,u,d,c,l,h,p,f=(function(){"use strict";function e(e,t){for(var r in t)this[r]=t[r];e&&(this.status=e.status)}return e.prototype=Error(),e.prototype.constructor=e,e}).apply(t,[]),v=0;c=(function(e){var t,r=/^{(.+)}$/,i={GET:!0,HEAD:!0,OPTIONS:!0};function n(e){if(-1===e.indexOf("="))return e;var t=e.split("=");return(e=new String(t[0])).variable=t[1],e}function o(e,t){return t||(t=0),typeof e[e.length-t-1]}return t={PUT:["save","replace"],POST:["add"],DELETE:["remove"]},function(e,c){c=c||{};var l,h,p,b={},g=e.base,m={},T={},y=[],E=u(),S=[],w=[],P="http:";function O(){y.length&&(y.forEach(function(e,t){e(p)}),y=[])}function x(e,t,r,n,a){var u=i[e]||!1,y=(a=a||!u)?"https:":P;return c.__forceProtocol&&(y=c.__forceProtocol),function(){var P,x,G,A,k=Array.prototype.slice.call(arguments),_="object"===o(k)&&"function"===o(k,1)?k.pop():{},I="function"===o(k)||"undefined"===o(k)?k.pop():void 0,D="object"===o(k)?k.pop():void 0,j="object"===o(k)?k.pop():{},C=t;if(i[e]&&(j=D||{},D=void 0),n.reduce(function(e,t){return e-(void 0!==j[t]||void 0!==m[t.variable])},n.length)>k.length)throw Error([n.length," argument",1===n.length?"":"s",n.length?" ("+n.join(", ")+")":""," expected ",k.length," given",k.length?" ("+k.join(", ")+")":""].join(""));for(A in n.forEach(function(e,t){if(j[e]||(j[e]=void 0===k[t]?e.variable&&m[e.variable]:k[t]),e.template){var r="{"+e+"}",i=k[t]||j[e];-1===C.indexOf(r)?C+="/"+i:C=C.replace(r,i),delete j[e]}}),j)void 0===j[A]&&delete j[A];for(A in a&&b.authorize()&&((_=function(){for(var e={},t=arguments.length,r=0;r<t;r++)for(var i in arguments[r])arguments[r].hasOwnProperty(i)&&(e[i]=arguments[r][i]);return e}(_,b.authorize.headers()))[c.authorizationHeader]=b.authorize()),l&&(u?_["Accept-Language"]=l:D&&(_["Content-Language"]=l)),T)null!==T[A]&&(_[A]=T[A]);var U={uri:y+g+C+d.encode(j),method:e,headers:_,body:D,cookie:c.cookie};if(u&&(P=e+U.uri+JSON.stringify(_),x=E.subscribe(P,I)))return x;G=E.create(P,I);var L=s.request(v+=1,U,function(e,t){S.forEach(function(r){r(U,e,t)})},function(e,t,i,s){var n,o={err:e,body:t,xhr:i};function u(e){G.dispatch(e,t,i)}(w.forEach(function(e){e(U,o,s)}),h=i,e)?u(new f(e,t)):(r.variable&&(m[r.variable]=t&&t[r]),a&&(n=i.getResponseHeader(c.tokenHeader))&&b.authorize.token(n,b.authorize.realm()),p?i.getAllResponseHeaders().indexOf("Date")>=0&&(p=i.getResponseHeader("Date")):(i.getAllResponseHeaders().indexOf("Date")>=0&&(p=i.getResponseHeader("Date")),O()),u(null))});return G.setRequest(L),L}}return c.synonyms=c.synonyms||t,c.tokenHeader=c.tokenHeader||"X-Security-Token",c.authorizationHeader=c.authorizationHeader||"Authorization","u">typeof location&&(P=location.protocol),a.apply(b),b.augment=function(e,t){if(void 0===t)return T[e];T[e]=t},b.localize=function(e){return void 0!==e&&(l=e),l},b.variable=function(e,t){return void 0!==t&&(m[e]=t),m[e]},b.getLastResponse=function(){return h},b.getDate=function(e){e&&(y.push(e),p&&setTimeout(O))},b.getBaseHost=function(){return g},b.setBaseHost=function(e){if(e&&e!==b.getBaseHost())return g=e},b.onRequest=function(e){return S.push(e),function(){var t=S.indexOf(e);-1!==t&&S.splice(t,1)}},b.onResponse=function(e){return w.push(e),function(){var t=w.indexOf(e);-1!==t&&w.splice(t,1)}},function e(t,i,s){var o,a,u,d,l,h,p;for(o in s=s||{},t)t.hasOwnProperty(o)&&"@"!==o&&(a=t[o],l=o.match(r),o=(u=o.split("#")).shift(),u=u.map(function(e){var t,i,s;return"/"===e.charAt(0)&&(t=!0,e=e.substr(1)),(s=e.match(r))&&(e=(p=s[1].split("="))[0],i=p[1]),(e=new String(e)).template=t,e.variable=i,e}),"*"===o.charAt(o.length-1)&&(d=!!(o=o.substring(0,o.length-1))),":"!==o.charAt(0)?(p=o.toLowerCase(),h="string"==typeof a?x(o,i||"/",n(a),u,d):e(a,(i||"")+"/"+(a["@"]||o),l&&s),!l&&(s[p]=h,"GET"!==o||s.head||(s.head=x("HEAD",i||"/",n(a),u,d))),c.synonyms[o]&&c.synonyms[o].forEac
3h(function(e){s[e]||(s[e]=s[p])})):s[o.substr(1)]=s[a.toLowerCase()]);return s}(e.resources,void 0,b)}}).apply(t,[r,s,a,u,d,f]),void 0===(h=(function(e){var t,r=!1;function i(e){var t,i=e;e&&(t=e.split("://")).length>1&&(r||(r=t[0]+":"),i="//"+t[1]);var s=c(l,{ssl:!0,cookie:!0,__forceProtocol:r,tokenHeader:"X-Token"});return i&&s.setBaseHost(i),s}return"ieapi"in new p&&(r=location.protocol,l.base="//"+window.location.host+"/ieapi"),(t=i()).create=i,"u">typeof window&&(window.api=t),t}).apply(t,[r,c,l={base:"//{{HOSTNAME}}",resources:{agencies:{agreements:{"{user-id}":{"GET*#/user-id":"","HEAD*#/user-id":"","PUT*#/user-id":""},templates:{"GET*":"",":list":"GET","{template-id}":{"GET*#/template-id":"","HEAD*#/template-id":"","PUT*#/template-id":""}}}},analytics:{"{user-id}":{registration:{"PUT*#/{user-id=user-id}":"","GET*#/{user-id=user-id}":""},purchase:{"PUT*#/{user-id=user-id}":""},rmc:{"PUT*#/{user-id=user-id}":""},storage:{"GET*#/{user-id=user-id}":"","{label}":{"GET*#/{user-id=user-id}#/{label=label}":"","PUT*#/{user-id=user-id}#/{label=label}":""}}}},annals:{em:{distrib:{"POST*":""},attempts:{"POST*":""}},email:{authentication:{"POST*":""}},appsflyer:{"POST*":""},"{user-id}":{communication:{"video-chat":{initialization:{"POST*#/{user-id=x:user-id}":""},message:{"POST*#/{user-id=x:user-id}":""},stream:{remote:{"POST*#/{user-id=x:user-id}":""}}}},"{uri}":{"POST*#/{user-id=x:user-id}#/uri":""}},ads:{retention:{"POST*":""}},users:{pltv:{"PATCH*":""},recommendations:{"PATCH*":""},cheerswhales:{"PATCH*":""},overloaded:{"PATCH*":""}}},bonuses:{accounts:{"{user-id}":{balance:{"GET*#/user-id":""}},"{overlord-id}":{descendants:{balance:{"GET*#/overlord-id":""}}}},"{user-id}":{onboarding:{"GET*#/user-id":"","PUT*#/user-id":""}},settings:{"{overlord-id}":{descendants:{"{user-id}":{"GET*#/overlord-id#/user-id":"","PUT*#/overlord-id#/user-id":"","DELETE*#/overlord-id#/user-id":""},all:{"PUT*#/overlord-id#children":"","DELETE*#/overlord-id#children":""}}}}},credits:{mall:{customers:{"{customer-id}":{"DELETE*#/customer-id":""}},"{user-id}":{credits:{"GET*#/{user-id=user-id}":"",membership:{"GET*#/{user-id=user-id}":""}},packages:{"GET*#/{user-id=user-id}":"",subscriptions:{"GET*#/{user-id=user-id}":""}},subscriptions:{upgrades:{"GET*#/{user-id=user-id}":""}},discounts:{"{type}":{"POST*#/{user-id=user-id}#/type":""}},exchanges:{"POST*#/{user-id=user-id}":""},receipts:{"POST*#/{user-id=user-id}":""},purchases:{"GET*#/{user-id=user-id}":""}}},accounts:{"{userid-dst}":{transfers:{"+":{"{userid-src}":{"POST*#/userid-dst#/{userid-src=user-id}":""}}}},"{user-id}":{package:{"GET*#/{user-id=user-id}":""},balance:{"GET*#/{user-id=user-id}":"","POST*#/{user-id=user-id}":""},subscription:{cancel:{"POST*#/{user-id=user-id}":""},cancellation:{notify:{"POST*#/{user-id=user-id}":""}}},debits:{"POST*#/{user-id=user-id}":""},settings:{"GET*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":"","PATCH*#/{user-id=user-id}":""},subscriptions:{"GET*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":""}},"backdoor/{user-id}":{balance:{"POST*#/{user-id=user-id}":""}}},commissions:{"{overlord-id}":{"GET*#/{overlord-id=user-id}":"","POST*#/{overlord-id=user-id}":"",personal:{"GET*#/{overlord-id=user-id}":""}},stats:{"GET*":"",":list":"GET","{overlord-id}":{"GET*#/overlord-id":""}},deliveries:{"POST*":""},shares:{"{overlord-id}":{descendants:{"{user-id}":{"GET*#/overlord-id#/user-id":"","PUT*#/overlord-id#/user-id":""},"*":{"PUT*#/overlord-id#children":""}}}},expressions:{"GET*":"","{overlord-id}":{"GET*#/overlord-id":"","POST*#/overlord-id":"",":partner":"POST","{user-id}":{"GET*#/overlord-id#/user-id":"","POST*#/overlord-id#/user-id":"",":user":"POST"}}}},configuration:{"{user-id}":{packages:{"GET*#/{user-id=user-id}":"","PATCH*#/{user-id=user-id}":""}}}},data:{"@":"data",countries:{GET:""}},dict:{"{uri}":{"GET#/uri":"","PATCH*#/uri":""}},events:{"@":"events","{recipient}":{"GET*#/{recipient=user-id}":"","POST*#/{recipient=user-id}":""},subscriptions:{"@":"{user-id}/subscriptions/{client-id}","PUT*#/{user-id=user-id}#/{client-id=client-id}":""}},exo:{anastasia:{"{user-id}":{products:{"{product}":{identity:{"PUT*#/{user-id=user-id}#/product":""}}},identities:{"GET*#/{user-id=user-id}":""}},events:{"POST*":""}}
3,applepay:{payments:{"POST*":""}},retention:{"{user-id}":{addresses:{"PUT*#/{user-id=user-id}":""}}},moto:{"{user-id}":{invoice:{"POST*#/{user-id=user-id}":""},identity:{"GET*#/{user-id=user-id}":""}}},sparksfoundation:{deliveries:{"POST*":""},state:{"{user-id}":{"POST*#/user-id":"","GET#/user-id":""}},limit:{"{user-id}":{"POST*#/user-id":"","GET#/user-id":""}},balance:{"{user-id}":{"GET#/user-id":""}}},google:{webhooks:{"POST*":""}},commonservices:{"messages/events":{"POST*":""},"videocalls/events":{"POST*":""},"mcs/events":{"POST*":""}},trustpilot:{"{user-id}":{"GET*#/user-id#buid":""}},twilio:{servers:{"GET*":""}},mcs:{users:{attributes:{"GET*#token":""}},videocall:{availability:{start:{"PUT*":""}},prolong:{"PUT*":""}},commissions:{"POST*":""},"{user-id}":{"videochats-free-minutes":{"GET*#/user-id":""},"videocall-price":{"GET*#/user-id":""},contacts:{"{type}":{"GET*#/user-id#/type":""}}}},metaverse:{"{user-id}":{"{attendee-id}":{bookdate:{"PUT*#/user-id#/attendee-id":""}}}},social3:{tasks:{result:{"POST*":""}}}},games:{tales:{"{userId}":{"GET*#/userId":"",":personal-catalog":"GET",matchmaking:{"GET*#/userId":""},incompleted:{"@":"{taleId}/incompleted/attendees","GET*#/userId#/taleId":""}},"{userId}:{attendeeId}":{"GET*#/userId#/attendeeId":"",":catalog":"GET","{taleId}":{"GET*#/userId#/attendeeId#/taleId":"","POST*#/userId#/attendeeId#/taleId":"","PUT*#/userId#/attendeeId#/taleId":"",sessions:{"POST*#/userId#/attendeeId#/taleId":""}},completed:{"GET*#/userId#/attendeeId":""}}}},identity:{"GET*":"id=user-id","PUT*":"id=user-id",":register":"PUT","PATCH*":"",":update":"PATCH",backdoor:{"{identifier}":{"GET*#/identifier":"","PUT*#/identifier":""}},extended:{"PUT*":""}},ip:{GET:""},location:{GET:""},mysterygifts:{"{userId}":{"GET*#/userId":"",play:{"POST*#/userId":""}}},notifications:{addresses:{confirmation:{"POST*":""}},remastered:{"@":"{user-id}",addresses:{"GET*#/{user-id=x:user-id}":"",confirmation:{"POST*#/{user-id=x:user-id}":"","{channel}":{resend:{"POST*#/{user-id=x:user-id}#/channel":""}}}},support:{"delete-user-request":{"PUT*#/{user-id=x:user-id}":""}}},affiliate:{apply:{"POST*":""}},blacklist:{"GET*":"","POST*":"","electronicmail/{address}":{"DELETE*#/address":"",reason:{"GET*#/address":""},realm:{"@":"{realm}","DELETE*#/address#/realm":""}},"{channel}/{address}":{"DELETE*#/channel#/address":"",realm:{"@":"{realm}","DELETE*#/channel#/address#/realm":""}}},addresses:{"{user-id}":{"POST*#/{user-id=user-id}":"","GET*#/{user-id=user-id}":"","{channel}":{"{address}":{"DELETE*#/{user-id=user-id}#/channel#/address":""}}}},"{channel}":{badges:{"{user-id}":{"PUT*#/channel#/{user-id=x:user-id}":""}}},subscriptions:{"{channel}":{"{user-id}":{"PATCH*#/channel#/{user-id=user-id}":"",":update":"PATCH","GET*#/channel#/{user-id=user-id}":""}},"{user-id}":{"PATCH*#/{user-id=user-id}":"",":update":"PATCH","GET*#/{user-id=user-id}":""}},whitelist:{"POST*":""},verification:{"{user-id}":{init:{"POST*#/{user-id=user-id}":""}}}},paidresources:{"{user-id}":{"POST*#/{user-id=x:user-id}":"",groups:{"{group}":{"GET*#/{user-id=x:user-id}#/group":""}}}},sophia:{videos:{"{user-id}":{"GET#/{user-id=user-id}":"",":list":"GET","POST*#/{user-id=user-id}":""}}},presents:{goods:{"{recipient-id}":{"GET#/recipient-id":""},images:{"{ref}":{"GET#/ref":"","HEAD#/ref":"","PUT*#/ref":"","DELETE*#/ref":""},categories:{"{ref}":{"GET#/ref":"","HEAD#/ref":"","PUT*#/ref":""}}}},orders:{"{user-id}":{"POST*#/{user-id=user-id}":"",sent:{"GET*#/{user-id=user-id}":""},received:{"GET*#/{user-id=user-id}":""},"{order-id}":{"DELETE*#/{user-id=user-id}#/order-id#cancellationReason":"","GET*#/{user-id=user-id}#/order-id#cancellationReason":"","PATCH*#/{user-id=user-id}#/order-id#cancellationReason":""},feedback:{"@":"{order-id}/feedback","POST*#/{user-id=user-id}#/order-id":""}},overlords:{"{user-id}":{received:{"GET*#/{user-id=user-id}":""}}}},matches:{"{user-id}":{"GET*#/{user-id=user-id}":""}},wishlists:{"{owner-id}":{"GET*#/owner-id":"","PATCH*#/owner-id":"",latest:{"GET*#/owner-id":""},progress:{"{executor-id}":{"GET*#/owner-id#/executor-id":""}},"possible-items":{"GET*#/owner-id":""}}},"{sender-id}":{"sender-goods":{"@":"goods","{recipient-id}":{"GET*#/sender-id#/recipient-id":""}},"orders-history":{"GET*#/sender-id":""},"additional-goods":{"{recipient-id}":{"GET*#/sender-id#/recipient-id#primary-goods-ids":""}}},"actual-lists":{"{recipient-id}":{"GET*#/recipient-id":""}}},reminders:{password:{"POST*":""},"{user-id}":{"POST*#/{user-id=user-id}":""},passwordless:{"POST*":""},"password-partner":{"POST*":""}}
3,subscriptions:{"{channel}":{"{user-id}":{"PATCH*#/channel#/{user-id=user-id}":"",":update":"PATCH","GET*#/channel#/{user-id=user-id}":""}},"{user-id}":{"PATCH*#/{user-id=user-id}":"",":update":"PATCH","GET*#/{user-id=user-id}":""}},chat:{"@":"talks","{lower}:{higher}":{"GET*#/lower#/higher":"","POST*#/lower#/higher":"",":add":"POST","{message}":{"PUT*#/lower#/higher#/message":"","PATCH*#/lower#/higher#/message":""}}},"tos-acceptances":{"{user-id}":{"PUT*#/user-id":""}},texts:{"{uri}":{"GET#/uri":"","PATCH*#/uri":""}},users:{GET:"",":list":"GET","global-auth":{"POST*":""},private:{"{user-id}":{"GET*#/{user-id=user-id}":"",goals:{"GET*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":""}}},extended:{"GET*":"",":search":"GET","{user-id}":{"GET*#/{user-id=user-id}":"","PATCH*#/{user-id=user-id}":""}},passports:{"{user-id}":{"PUT*#/user-id":"","HEAD*#/user-id":"","POST*#/user-id":"","{ref}":{"GET*#/user-id#/ref":"","HEAD*#/user-id#/ref":"","DELETE*#/user-id#/ref":""}}},hierarchy:{"{parent-id}":{descendants:{"GET*#/{parent-id=parent-id}":""}},"{user-id}":{"GET*#/{user-id=user-id}":"","PATCH*#/{user-id=user-id}":"","DELETE*#/{user-id=user-id}":"",parents:{"GET*#/{user-id=user-id}":""}},kpi:{"{user-id}":{"GET*#/{user-id=user-id}":""}}},personal:{"{user-id}":{"GET*#/{user-id=user-id}":""}},wildcard:{"@":"*",videos:{invitation:{"GET*":""},vr:{invitation:{"GET*":""}}}},migrated:{GET:""},"{user-id}":{"GET#/{user-id=user-id}":"","PATCH*#/{user-id=user-id}":"","free-services":{"GET*#/{user-id=user-id}":""},access:{reset:{"POST*#/{user-id=user-id}":""}},"gdpr-deletion":{"PUT*#/{user-id=user-id}":"","DELETE*#/{user-id=user-id}":""},gateway:{"GET*#/{user-id=user-id}":""},search:{params:{"GET*#/{user-id=user-id}":""}},"verification-status":{"@":"verification","GET*#/{user-id=user-id}":""},preferences:{"GET#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":""},features:{"GET*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":""},marks:{"PUT*#/{user-id=user-id}":""},sms:{"GET*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":"","PATCH*#/{user-id=user-id}":""},settings:{"GET*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":"",chinese:{"GET*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":"","PATCH*#/{user-id=user-id}":""}},presence:{"PUT*#/{user-id=user-id}":""},roles:{"GET*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":"","POST*#/{user-id=user-id}":"",suspended:{"PUT*#/{user-id=user-id}":"","DELETE*#/{user-id=user-id}":""},suspicious:{"PUT*#/{user-id=user-id}":"","DELETE*#/{user-id=user-id}":""}},photos:{"GET#/{user-id=user-id}":"",":list":"GET","PUT*#/{user-id=user-id}":"","HEAD#/{user-id=user-id}":"","POST*#/{user-id=user-id}":"","{ref}":{"GET#/{user-id=user-id}#/ref":"","HEAD#/{user-id=user-id}#/ref":"","DELETE*#/{user-id=user-id}#/ref":"","likes-actions":{"@":"likes","{holder-id}":{"POST*#/{user-id=user-id}#/ref#/holder-id":"","DELETE*#/{user-id=user-id}#/ref#/holder-id":""}}},likes:{counters:{"GET#/{user-id=user-id}":""},"{holder-id}":{"GET*#/{user-id=user-id}#/holder-id":""}},"{basename}":{tags:{"GET#/{user-id=user-id}#/basename":"","DELETE*#/{user-id=user-id}#/basename":"",unapproved:{"PUT*#/{user-id=user-id}#/basename":"","DELETE*#/{user-id=user-id}#/basename":""},hidden:{"PUT*#/{user-id=user-id}#/basename#/tag":"","DELETE*#/{user-id=user-id}#/basename#/tag":""},modest:{"PUT*#/{user-id=user-id}#/basename#/tag":"","DELETE*#/{user-id=user-id}#/basename#/tag":""},travel:{"PUT*#/{user-id=user-id}#/basename#/tag":"","DELETE*#/{user-id=user-id}#/basename#/tag":""},"{tag}":{"PUT*#/{user-id=user-id}#/basename#/tag":"","DELETE*#/{user-id=user-id}#/basename#/tag":""}}},private:{"{ref}":{"GET*#/{user-id=user-id}#/ref":"","HEAD*#/{user-id=user-id}#/ref":""},preview:{"{ref}":{"GET*#/{user-id=user-id}#/ref":"","HEAD*#/{user-id=user-id}#/ref":""}}},origin:{"GET#/{user-id=user-id}":"",":list":"GET","HEAD#/{user-id=user-id}":""}},videos:{"GET#/{user-id=user-id}":"",":list":"GET","PUT*#/{user-id=user-id}":"","HEAD#/{user-id=user-id}":"","POST*#/{user-id=user-id}":"",invitation:{"POST*#/{user-id=user-id}":"","GET#/{user-id=user-id}":"",":list":"GET",approved:{"POST*#/{user-id=user-id}":""},"{ref}":{"GET#/{user-id=user-id}#/ref":"","HEAD#/{user-id=user-id}#/ref":"","DELETE*#/{user-id=user-id}#/ref":""},"{basename}":{tags:{"GET#/{user-id=user-id}#/basename":"","{tag}":{"PUT*#/{user-id=user-id}#/basename#/tag":"","DELETE*#/{user-id=user-id}#/basename#/tag":""}}}},motivation:{"GET#/{user-id=user-id}":"",":list":"GET","{ref}":{"GET#/{user-id=user-id}#/ref":"","HEAD#/{user-id=user-id}#/ref":""}},"{ref}":{"GET*#/{user-id=user-id}#/ref":"","HEAD*#/{user-id=user-id}#/ref":"","DELETE*#/{user-id=user-id}#/ref":""},"{basename}":{tags:{"GET#/{user-id=user-id}#/basename":"","DELETE*#/{user-id=user-id}#/basename":"","{tag}":{"PUT*#/{user-id=user-id}#/basename#/tag":"","DELETE*#/{user-id=user-id}#/basename#/tag":""}}},preview:{"{ref}":{"GET#/{user-id=user-id}#/ref":"","HEAD#/{user-id=user-id}#/ref":""}},origin:{"GET#/{user-id=user-id}":"",":list":"GET","HEAD#/{user-id=user-id}":""}},"client.invitation":{"POST*#/{user-id=user-id}":"","GET#/{user-id=user-id}":"",":list":"GET","{ref}":{"GET#/{user-id=user-id}#/ref":"","DELETE*#/{user-id=user-id}#/ref":""}},covers:{"GET#/{user-id=user-id}":"",":list":"GET","PUT*#/{user-id=user-id}":"","HEAD#/{user-id=user-id}":"","POST*#/{user-id=user-id}":"","{ref}":{"GET#/{user-id=user-id}#/ref":"","HEAD#/{user-id=user-id}#/ref":"","PUT*#/{user-id=user-id}#/ref":""}},tags:{"GET*#/{user-id=user-id}":"","POST*#/{user-id=user-id}":"","credits.mall.recurring":{"GET*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":""},vowels:{"GET*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":""},membership:{"GET*#/{user-id=user-id}":"","DELETE*#/{user-id=user-id}":""},"cherish.coregistration":{"PUT*#/{user-id=user-id}":""},travel:{"GET*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":"","DELETE*#/{user-id=user-id}":""},"users.housing":{"GET*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":"","DELETE*#/{user-id=user-id}":""},customer:{"PUT*#/{user-id=user-id}":""},test:{"PUT*#/{user-id=user-id}":"","DELETE*#/{user-id=user-id}":""},"presents.available":{"GET*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":"","DELETE*#/{user-id=user-id}":""},hidden:{"PUT*#/{user-id=user-id}":"","DELETE*#/{user-id=user-id}":""},"hidden.from.search":{"PUT*#/{user-id=user-id}":"","DELETE*#/{user-id=user-id}":""},"dialogs.automation.paused":{"PUT*#/{user-id=user-id}":"","DELETE*#/{user-id=user-id}":""},streams:{"GET*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":""},toggles:{"GET*#/{user-id=user-id}":""},"credits.mall.discounts":{"GET*#/{user-id=user-id}":""},"credits.pricing":{"GET*#/{user-id=user-id}":""},"users.uncopiable":{"PUT*#/{user-id=user-id}":""},"exo.cards.discreet":{"PUT*#/{user-id=user-id}":"","DELETE*#/{user-id=user-id}":""},trial:{"PUT*#/{user-id=user-id}":""},"trial.first.login":{"DELETE*#/{user-id=user-id}":""},"trial.norequisites":{"PUT*#/{user-id=user-id}":""},"trial.norequisites.first.login":{"DELETE*#/{user-id=user-id}":""},"trial.credits":{"PUT*#/{user-id=user-id}":""},"trial.credits.first.login":{"DELETE*#/{user-id=user-id}":""},"processing.solmalta":{"PUT*#/{user-id=user-id}":""},"users.confirmed":{"PUT*#/{user-id=user-id}":"","DELETE*#/{user-id=user-id}":""},"users.verification.pending":{"PUT*#/{user-id=user-id}":"","DELETE*#/{user-id=user-id}":""},"lm.popup":{"DELETE*#/{user-id=user-id}":""},"videochat.vr.giftsglasses":{"DELETE*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":""},"credits.mall.extra10":{"DELETE*#/{user-id=user-id}":""},"loyalty.vip.tasks.announcement":{"DELETE*#/{user-id=user-id}":""},"{tag}":{"DELETE*#/{user-id=user-id}#/tag":""},"videochat.promo.available":{"DELETE*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":""},"audiocall.promo.available":{"DELETE*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":""},"stickers.potential.sender":{"PUT*#/{user-id=user-id}":""}},events:{"GET*#/{user-id=user-id}":"","PATCH*#/{user-id=user-id}":"",notification:{"POST*#/{user-id=user-id}":""},settings:{"GET*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":""},"{event-id}":{"DELETE*#/{user-id=user-id}#/{event-id=event-id}":"","PUT*#/{user-id=user-id}#/{event-id=event-id}":""}},interests:{"GET#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":""},"game-genres":{"GET#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":""},moods:{"GET#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":""},devices:{"POST*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":"",instance:{"DELETE*#/{user-id=user-id}":"",":add":"DELETE"},cam:{lock:{"PUT*#/{user-id=user-id}":"","DELETE*#/{user-id=user-id}":""}}},realms:{"{realm-name}":{"POST*#/{user-id=user-id}#/realm-name":"","DELETE*#/{user-id=user-id}#/realm-name":""}},lifestyle:{"GET*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":""},permissions:{"GET*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":"","PATCH*#/{user-id=user-id}":""},questionnaire:{"GET*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":""},profile:{"{language-code}":{"GET*#/{user-id=user-id}#/{language-code=language-code}":"","PUT*#/{user-id=user-id}#/{language-code=language-code}":""}},promoter:{decline:{"GET*#/{user-id=user-id}":""}},wards:{events:{"GET*#/{user-id=user-id}":""}},actions:{"users.examined":{"POST*#/{user-id=user-id}":""},"message.examined":{"POST*#/{user-id=user-id}":""},"subscription.cancellation.called":{"POST*#/{user-id=user-id}":""},"registration.finished":{"POST*#/{user-id=user-id}":""},"account.deletion.called":{"POST*#/{user-id=user-id}":""},"application.open":{"POST*#/{user-id=user-id}":""},"push.examined":{"POST*#/{user-id=user-id}":""},"push.interaction":{"POST*#/{user-id=user-id}":""},"reminder.skipped":{"POST*#/{user-id=user-id}":""},"reminder.birthday.skipped":{"POST*#/{user-id=user-id}":""},"users.observed":{"POST*#/{user-id=user-id}":""},"voicemessage.played":{"POST*#/{user-id=user-id}":""},"voicemessage.paused":{"POST*#/{user-id=user-id}":""},"voicemessage.ended":{"POST*#/{user-id=user-id}":""},"videoinvitation.shown":{"POST*#/{user-id=user-id}":""},"promo.with.cam.shown":{"POST*#/{user-id=user-id}":""},"videoinvitation.in.search.shown":{"POST*#/{user-id=user-id}":""},"audioinvitation.shown":{"POST*#/{user-id=user-id}":""}
3,"purchase.form.opened":{"POST*#/{user-id=user-id}":""},"purchase.form.filled":{"POST*#/{user-id=user-id}":""},"credits.mall.special.offer.requested":{"POST*#/{user-id=user-id}":""},"cheers.tape.opened":{"POST*#/{user-id=user-id}":""},"cheers.chip.activated":{"POST*#/{user-id=user-id}":""},"stickers.panel.opened":{"POST*#/{user-id=user-id}":""},"tale.screen.block.opened":{"POST*#/{user-id=user-id}":""},"tale.invite.ready":{"POST*#/{user-id=user-id}":""},"videochat.motivation.ready":{"POST*#/{user-id=user-id}":""},"grab.free.credits":{"POST*#/{user-id=user-id}":""},"credits.wheel.discount.claimed":{"POST*#/{user-id=user-id}":""},"onetime.buyer.offer.requested":{"POST*#/{user-id=user-id}":""},"topmatch.shown":{"POST*#/{user-id=user-id}":""},"topmatch.dismissed":{"POST*#/{user-id=user-id}":""},"{action-type}":{"POST*#/{user-id=user-id}#/action-type":""}},benefits:{"GET*#/{user-id=user-id}":"","POST*#/{user-id=user-id}":"",extended:{"GET*#/{user-id=user-id}":""},cancellations:{"POST*#/{user-id=user-id}":""}},trips:{"GET#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":""},streaks:{"GET*#/{user-id=user-id}":"","skip-passes":{"GET*#/{user-id=user-id}":""},"{streak-id}":{stages:{"{stage}":{skip:{"POST*#/{user-id=user-id}#/{streak-id=streak-id}#/{stage=stage}":""}}},rewards:{claim:{"POST*#/{user-id=user-id}#/{streak-id=streak-id}":""}}}},streams:{"GET*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":"","PATCH*#/{user-id=user-id}":""},"user-reports":{"POST*#/{user-id=user-id}":""},taggers:{favorite:{"GET#/{user-id=user-id}":""}},"promoter-request":{"GET*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":""},"verification-videos":{"GET*#/{user-id=user-id}":"",":list":"GET","POST*#/{user-id=user-id}":"","{ref}":{"GET*#/{user-id=user-id}#/ref":""}},"verification-url":{generate:{"GET*#/{user-id=user-id}":"","POST*#/{user-id=user-id}":""}},verification:{state:{"GET#/{user-id=user-id}":""},"voice-sample":{"POST*#/{user-id=user-id}":"","{ref}":{"GET*#/{user-id=user-id}#/ref":""}},"{ref}":{"GET#/{user-id=user-id}#/ref":"","PUT*#/{user-id=user-id}#/ref":"","DELETE*#/{user-id=user-id}#/ref":""}},goals:{"GET#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":""},aliases:{users:{"GET*#/{user-id=user-id}":"","PATCH*#/{user-id=user-id}":""}},contacts:{"GET*#/{user-id=user-id}":"","{contact-id}":{"PATCH*#/{user-id=user-id}#/contact-id":"","DELETE*#/{user-id=user-id}#/contact-id":""},items:{"GET*#/{user-id=user-id}":""},unanswered:{"GET*#/{user-id=user-id}":""}},recommendations:{"GET*#/{user-id=user-id}":"","video-invitation-in-search":{"GET*#/{user-id=user-id}#min-age#max-age#gender#preferred-gender":""},audioinvitation:{"GET*#/{user-id=user-id}#gender#preferred-gender":""},"top-match":{"GET*#/{user-id=user-id}":""},"post-communication-promo":{"GET*#/{user-id=user-id}#gender#preferred-gender":""},"videochat-beggin-stickers":{"GET*#/{user-id=user-id}#select":""},"first-call":{"GET*#/{user-id=user-id}#gender#preferred-gender":""}},"videochat-statistics":{daily:{"GET*#/{user-id=user-id}":""},dailycam:{"GET*#/{user-id=user-id}":""},monthly:{"GET*#/{user-id=user-id}":""}},boosts:{"GET*#/{user-id=user-id}":""},loyalty:{progress:{"GET*#/{user-id=user-id}":""},tasks:{"GET*#/{user-id=user-id}":"","POST*#/{user-id=user-id}":""}},likes:{"GET*#/{user-id=user-id}":""},feed:{cards:{"GET*#/{user-id=user-id}":""}},"video-clip":{"POST*#/{user-id=user-id}":"","{ref}":{"GET#/{user-id=user-id}#/ref":"","HEAD#/{user-id=user-id}#/ref":"","DELETE*#/{user-id=user-id}#/ref":""},preview:{"{ref}":{"GET#/{user-id=user-id}#/ref":"","HEAD#/{user-id=user-id}#/ref":""}},"photo-preview":{"{ref}":{"GET#/{user-id=user-id}#/ref":"","HEAD#/{user-id=user-id}#/ref":""}},poster:{"{ref}":{"GET#/{user-id=user-id}#/ref":"","HEAD#/{user-id=user-id}#/ref":""}}},personalized:{"GET#/{user-id=user-id}":""},"public-tags":{"GET#/{user-id=user-id}":""},reminders:{"GET*#/{user-id=user-id}":""}},targeted:{"{holder-id}":{"{user-id}":{tags:{"POST*#/{holder-id=user-id}#/user-id":"","GET*#/{holder-id=user-id}#/user-id":"",":list":"GET","{tag}":{"DELETE*#/{holder-id=user-id}#/user-id#/tag":""}}},tagged:{favorite:{"GET*#/{holder-id=user-id}":"","{user-id}":{"POST*#/{holder-id=user-id}#/user-id":"","PUT*#/{holder-id=user-id}#/user-id":""}}
3,"cards.like":{"GET*#/{holder-id=user-id}":"","{user-id}":{"PUT*#/{holder-id=user-id}#/user-id":""}},"cards.dislike":{"GET*#/{holder-id=user-id}":"","{user-id}":{"PUT*#/{holder-id=user-id}#/user-id":""}},match:{"GET*#/{holder-id=user-id}":""},referral:{"GET*#/{holder-id=user-id}":""},"referral.converted":{"GET*#/{holder-id=user-id}":""}}}}},null:{GET:""},datetime:{GET:""},mq:{"{label}":{"POST*#/{label=label}":""}},og:{"POST*":""},translation:{languages:{"GET*":""}},translate:{"POST*":""},covers:{GET:"",":list":"GET","PUT*":"",HEAD:"","POST*":"","{ref}":{"GET#/ref":"","HEAD#/ref":"","PUT*#/ref":""}},filestorage:{"{baseName}":{transformations:{"POST*#/baseName#t":""}}},dialogs:{tariffication:{intervals:{"{lower}:{higher}":{"GET*#/lower#/higher":""}},letters:{"{sender-id}":{"{recipient-id}":{"GET*#/sender-id#/recipient-id":""}}}},messages:{"{user-id}":{admission:{"GET*#/user-id":""}},"{user-id}":{limits:{stickers:{"GET*#/user-id#attendee-id#pack-name":""}}},"{lower}:{higher}":{"GET*#/lower#/higher":"","POST*#/lower#/higher":"",":add":"POST",predefined:{"{message-type}":{"POST*#/lower#/higher#/message-type":"",":add":"POST"}},"{message}":{"PUT*#/lower#/higher#/message":"","PATCH*#/lower#/higher#/message":""}},reactions:{"{sender-id}":{"{recipient-id}":{"GET*#/sender-id#/recipient-id":"",unseen:{"GET*#/sender-id#/recipient-id":"",":unseen":"GET"},"{message-id}":{"PATCH*#/sender-id#/recipient-id#/message-id":"",seen:{"PATCH*#/sender-id#/recipient-id#/message-id":""}}}}}},translations:{"{recipientId}":{"{senderId}":{"{container}":{"{containerId}":{"GET*#/recipientId#/senderId#/container#/containerId":"","{targetLang}":{"POST*#/recipientId#/senderId#/container#/containerId#/targetLang":"",":add":"POST"}}}}},languages:{"GET*":""}},completions:{"{user-id}":{features:{"@":"features","GET*#/user-id":""}}},letters:{"{user-id}":{"GET*#/user-id":"",":list":"GET"},"backdoor/{user-id}:{participant-id}":{"GET*#/user-id#/participant-id":"",":list":"GET"},"{recipient}":{"{sender}":{"POST*#/recipient#/sender":"",":add":"POST","{letter}":{"GET*#/recipient#/sender#/letter":"","PATCH*#/recipient#/sender#/letter":"","HEAD*#/recipient#/sender#/letter":"",preview:{"GET*#/recipient#/sender#/letter":""}}}},"completions-reply":{"@":"{user-id}/completions/reply/{letter-id}","POST*#/user-id#/letter-id":""},"completions-new":{"@":"{user-id}/completions/new/{attendee-id}","POST*#/user-id#/attendee-id#type#request-id":""},covers:{GET:"",":list":"GET",HEAD:"","POST*":"","{ref}":{"GET#/ref":"","HEAD#/ref":"","PUT*#/ref":""}},introductory:{"{recipient}":{"{sender}":{"{letter}":{"GET*#/recipient#/sender#/letter":""}}}},presents:{"{recipient}":{"{sender}":{"POST*#/recipient#/sender":"","{letter}":{"GET*#/recipient#/sender#/letter":""}}}}},automation:{productions:{obsolete:{"@":"{user-id}","GET*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":"","DELETE*#/{user-id=user-id}":""},"videochats.boost":{"{user-id}":{"POST*#/{user-id=user-id}":"","GET*#/{user-id=user-id}":"","DELETE*#/{user-id=user-id}":""}},"{product}":{random:{"GET*#/product":""}}},"{user-id}":{invitation:{intensity:{"PUT*#/{user-id=user-id}":""}},properties:{"PUT*#/{user-id=user-id}":""},"autocalls.contacts":{"POST*#/{user-id=user-id}":""}},"{product}":{"{user-id}":{properties:{"PUT*#/product#/{user-id=user-id}":"",":update":"PUT"}}}},attachments:{"{recipient}":{"{sender}":{"GET*#/recipient#/sender":"",":list":"GET","POST*#/recipient#/sender":"",free:{"GET*#/recipient#/sender":"",":list":"GET","POST*#/recipient#/sender":"","{ref}":{"GET*#/recipient#/sender#/ref":"","HEAD*#/recipient#/sender#/ref":""}},"{ref}":{"GET*#/recipient#/sender#/ref":"","HEAD*#/recipient#/sender#/ref":""},preview:{"{ref}":{"GET*#/recipient#/sender#/ref":"","HEAD*#/recipient#/sender#/ref":""}}}},"*":{"{sender}":{"POST*#/sender":""}}},smiles:{GET:"",":list":"GET",HEAD:"","{ref}":{"GET#/ref":"","HEAD#/ref":"","PUT*#/ref":""}},stickers:{GET:"",":list":"GET",HEAD:"","{ref}":{"GET#/ref":"","HEAD#/ref":""}},winks:{"{recipient-id}":{"{sender-id}":{"{template}":{"POST*#/recipient-id#/sender-id#/template":""}}}},usermedia:{"{recipient}":{"{sender}":{"GET*#/recipient#/sender":"",":list":"GET","POST*#/recipient#/sender":"",free:{"GET*#/recipient#/sender":"",":list":"GET","POST*#/recipient#/sender":"","{ref}":{"GET*#/recipient#/sender#/ref":"","HEAD*#/recipient#/sender#/ref":""}},"{ref}":{"GET*#/recipient#/sender#/ref":"","HEAD*#/recipient#/sender#/ref":""},preview:{"{ref}":{"GET*#/recipient#/sender#/ref":"","HEAD*#/recipient#/sender#/ref":""}},frame:{"{ref}":{"HEAD*#/recipient#/sender#/ref":"","GET*#/recipient#/sender#/ref":""}}}},collage:{"{recipient}":{"{sender}":{"{ref}":{"GET*#/recipient#/sender#/ref":"","HEAD*#/recipient#/sender#/ref":""},preview:{"{ref}":{"GET*#/recipient#/sender#/ref":"","HEAD*#/recipient#/sender#/ref":""}}}}},"audio.mop":{"{recipient}":{"{sender}":{"POST*#/recipient#/sender":"","{ref}":{"GET*#/recipient#/sender#/ref":"","HEAD*#/recipient#/sender#/ref":""}}}},"*":{"{sender}":{"POST*#/sender":""}}},topics:{"{user-id}:{target-id}":{"GET*#/user-id#/target-id":""}},media:{"{lower}:{higher}":{messages:{"POST*#/lower#/higher":"",":add":"POST",phantom:{"POST*#/lower#/higher":"",":add":"POST"},"{mid}":{"GET*#/lower#/higher#/mid":""}}},"{sender}/{recipient}":{interactive:{"{oid}":{"PUT*#/sender#/recipient#/oid":"","GET*#/sender#/recipient#/oid":""}}},servers:{"GET*":""},fragments:{local:{"GET*":"",":feed":"GET","{user-id}":{"{attendee-id}":{"POST*#/user-id#/attendee-id":"","{ref}":{"GET*#/user-id#/attendee-id#/ref":"","PATCH*#/user-id#/attendee-id#/ref":""}}}},remote:{"GET*":"",":feed":"GET","{user-id}":{"{attendee-id}":{"POST*#/user-id#/attendee-id":"","{ref}":{"GET*#/user-id#/attendee-id#/ref":"","PATCH*#/user-id#/attendee-id#/ref":""}}}}},requests:{"{sender-id}":{"{attendee-id}":{"POST*#/sender-id#/attendee-id":"",availability:{"GET*#/sender-id#/attendee-id":""}}}}},cheers:{"{user-id}":{sets:{"GET*#/user-id":""}}},gamification:{"{recipient}":{"{sender}":{photos:{"POST*#/recipient#/sender":"","{ref}":{"GET*#/recipient#/sender#/ref":""}}}}},themes:{"{user-id}":{"GET*#/user-id":"","{attendee-id}":{"DELETE*#/user-id#/attendee-id":"",trial:{"POST*#/user-id#/attendee-id":""}}},backgrounds:{"{lower}:{higher}":{"POST*#/lower#/higher":"","{ref}":{"GET*#/lower#/higher#/ref":"","HEAD*#/lower#/higher#/ref":""}}}}},letters:{"{sender}":{restriction:{"GET*#/sender":""}}},interests:{GET:"",":list":"GET","PUT*":"",HEAD:"","POST*":"","{ref}":{"GET#/ref":"","HEAD#/ref":""}},codes:{"{user-id}":{"POST*#/{user-id=user-id}":""},introductory:{"{user-id}":{"POST*#/{user-id=user-id}":""}},invitation:{"{user-id}":{"POST*#/{user-id=user-id}":""}},remastered:{"@":"{parent-id}",promoter:{"POST*#/{parent-id=parent-id}":""}},promoter:{"POST*":""}
3,"{holder-id}":{refer:{"POST*":""}},refer:{"{user-id}":{"POST*#/{user-id=user-id}":""}},curator:{"POST*":""},"local-promoter":{"POST*":""},overlord:{"POST*":""},"users-approve":{"POST*":""},"users-decline":{"POST*":""},"dialogs.tariffication.init":{"POST*":""},privatephotos:{"{user-id}":{"POST*#/{user-id=user-id}":""}},"exo-promoter":{"POST*":""},onboarding:{"{user-id}":{"POST*#/{user-id=user-id}":""}},e487c1f8:{"{user-id}":{"POST*#/{user-id=user-id}":""}},"promo-offer-subs_sale_60":{"POST*":""},"promo-offer-subs_sale_10":{"POST*":""},"promo-offer-subs_sale_20":{"POST*":""},"promo-offer-subs_sale_30":{"POST*":""},"promo-offer-subs_sale_40":{"POST*":""},"promo-offer-bonus_10":{"POST*":""},"promo-offer-bonus_20":{"POST*":""},"promo-offer-bonus_30":{"POST*":""},"promo-offer-bonus_40":{"POST*":""},"promo-offer-bonus_50":{"POST*":""},"promo-offer-bonus_3":{"POST*":""},"promo-offer-reg_discount_10":{"POST*":""},"promo-offer-creditpack_discount_15":{"POST*":""},"promo-offer-trial_sub_75v_75l":{"POST*":""},"promo-offer-attach_view":{"POST*":""},"promo-offer-attach_send":{"POST*":""},"promo-offer-msg_7":{"POST*":""},"promo-offer-msg_10":{"POST*":""},"promo-offer-msg_17":{"POST*":""},"promo-offer-msg_5_letter_1":{"POST*":""},"promo-offer-msg_5_attach_5":{"POST*":""},"promo-offer-min_3":{"POST*":""},"promo-offer-min_5":{"POST*":""},"promo-offer-min_7":{"POST*":""},"{template}":{preflight:{"POST*":""}}},electronicmail:{validations:{"POST*":""},addresses:{"{address}":{"GET*#/address":""}},transformations:{"{direction}":{"PUT*#/direction":""}},"{user-id}":{transformations:{"user.csd":{"PUT*#/{user-id=user-id}":""}}}},aggregation:{"{user-id}":{"user.debit.owned":{"GET*#/user-id":""},"users.thumbnail.ctr":{"GET*#/user-id":""},"users.thumbnail.efficiency":{"GET*#/user-id":""}},"{aggregate-name}/hierarchies":{"{parent-id}":{"GET*#/aggregate-name#/{parent-id=parent-id}":""}}},metrics:{"POST*":""},retention:{messages:{"{message-id}":{"PUT*#/message-id":""}}},presence:{"{user-id}":{"GET#/{user-id=user-id}":"","DELETE*#/{user-id=user-id}":""}},shards:{"{user-id}":{"GET*#/{user-id=user-id}":""}},cheers:{animation:{GET:"",":list":"GET",HEAD:"","{ref}":{"GET#/ref":"","HEAD#/ref":""}},"{senderId}:{recipientId}":{"POST*#/senderId#/recipientId":"",":send":"POST",admission:{"GET*#/senderId#/recipientId":""},history:{"GET*#/senderId#/recipientId":""},"{cheerId}":{notes:{"POST*#/senderId#/recipientId#/cheerId":""}},badges:{"GET*#/senderId#/recipientId":"",random:{"POST*#/senderId#/recipientId":"","PATCH*#/senderId#/recipientId":""}}}},pricing:{tiers:{"GET*":""},tier:{"POST*":"","{id}":{"GET*#/id":"","PUT*#/id":"","DELETE*#/id":""}},"exchange-rates":{"GET*":""},"exchange-rate":{"POST*":"","{id}":{"GET*#/id":"","PUT*#/id":"","DELETE*#/id":""}},"user-segments":{"GET*":""},"user-segment":{"POST*":"","{id}":{"GET*#/id":"","PUT*#/id":"","DELETE*#/id":"",condition:{"POST*#/id":"","{conditionId}":{"PUT*#/id#/conditionId":"","DELETE*#/id#/conditionId":""}}}}},stories:{GET:"","{user-id}":{fragments:{"GET#/{user-id=user-id}":"",":list":"GET","POST*#/{user-id=user-id}":"",origin:{"GET#/{user-id=user-id}":""},preview:{"{ref}":{"GET#/{user-id=user-id}#/ref":"","HEAD#/{user-id=user-id}#/ref":""}},"{ref}":{"GET#/{user-id=user-id}#/ref":"","DELETE*#/{user-id=user-id}#/ref":""}}},"{story-id}":{"GET*#/{story-id=story-id}":""},feed:{story:{"@":"{user-id}/{story-id}","PATCH*#/{user-id=user-id}#/{story-id=story-id}":"","GET#/{user-id=user-id}#/{story-id=story-id}":""}}},retention:{"{user-id}":{addresses:{"PUT*#/{user-id=user-id}":""}}},astro:{"{user-id}":{tips:{"GET*#/{user-id=user-id}":""},horoscope:{"GET*#/{user-id=user-id}":""},birthChart:{"GET*#/{user-id=user-id}":"",explanation:{"GET*#/{user-id=user-id}":"","POST*#/{user-id=user-id}":""}},birthData:{"GET*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":""},compatibility:{"POST*#/{user-id=user-id}":"",share:{"POST*#/{user-id=user-id}":""}},dailycards:{"GET*#/{user-id=user-id}":""}}},"video-clips":{feed:{"{user-id}":{"GET*#/{user-id=user-id}":""}}},v2:{notifications:{"@":"notifications",subscriptions:{"{channel}":{"{user-id}":{"PATCH*#/channel#/{user-id=user-id}":"",":update":"PATCH","GET*#/channel#/{user-id=user-id}":""}}}},users:{personal:{"{user-id}":{"GET*#/{user-id=user-id}":"","see-more-like-this":{"GET*#/{user-id=user-id}":""}}},preferences:{"@":"{user-id}/preferences","GET*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":"",private:{"GET*#/{user-id=user-id}":""}}
3,targeted:{"{holder-id}":{"{user-id}":{tags:{"GET*#/holder-id#/user-id":"","POST*#/holder-id#/user-id":""}}}},"{user-id}":{tags:{"GET*#/{user-id=user-id}":"","POST*#/{user-id=user-id}":"",extended:{"GET*#/{user-id=user-id}":"","POST*#/{user-id=user-id}":""}}}},dialogs:{automation:{productions:{introductory:{"{user-id}":{"GET*#/{user-id=user-id}":"","POST*#/{user-id=user-id}":"","{production-id}":{"PATCH*#/{user-id=user-id}#/production-id":"","DELETE*#/{user-id=user-id}#/production-id":""}},pending:{"GET*":""}},mingle:{"{user-id}":{"GET*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":"","DELETE*#/{user-id=user-id}":""}}}},cheers:{"{user-id}":{sets:{"GET*#/user-id":""}},"{senderId}:{recipientId}":{vibration:{check:{"GET*#/senderId#/recipientId":""}},vibrate:{"POST*#/senderId#/recipientId":""}}}},stories:{feed:{"{user-id}":{"GET*#/{user-id=user-id}#sortalgorithm#select":""}}},credits:{accounts:{"{user-id}":{subscriptions:{"GET*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":""},settings:{"PUT*#/{user-id=user-id}":"","GET*#/{user-id=user-id}":""}}}},metrics:{"POST*":""},smiles:{GET:"",":list":"GET",HEAD:"","{sender-id}/{recipient-id}":{"GET#/sender-id#/recipient-id":"",":personalized-list":"GET","HEAD#/sender-id#/recipient-id":""},"{ref}":{"GET#/ref":"","HEAD#/ref":"","PUT*#/ref":""}},stickers:{keywords:{GET:""},"{user-id}":{"GET#/user-id":"",":personalized-list":"GET","HEAD#/user-id":""},packs:{"{user-id}":{"POST*#/user-id":""}},"{ref}":{"GET#/ref":"","HEAD#/ref":""}},translate:{"POST*":""},presents:{orders:{"{user-id}":{"{order-id}":{"DELETE*#/{user-id=user-id}#/order-id#cancellationReason":"","GET*#/{user-id=user-id}#/order-id#cancellationReason":"","PATCH*#/{user-id=user-id}#/order-id#cancellationReason":""}}}}},v3:{credits:{accounts:{"{user-id}":{subscriptions:{"GET*#/{user-id=user-id}":"","PUT*#/{user-id=user-id}":"",renew:{"POST*#/{user-id=user-id}":""}}}}},stickers:{"{user-id}":{"GET*#/user-id":"",":personalized-list":"GET","{recipient-id}":{"POST*#/user-id#/recipient-id":"",":send":"POST"},sticker:{"@":"{ref}","GET*#/user-id#/ref":"","HEAD*#/user-id#/ref":"","PUT*#/user-id#/ref":""}},tasks:{"{user-id}":{"GET*#/user-id":"","{task-name}":{"POST*#/user-id#/task-name":"","PATCH*#/user-id#/task-name":"","DELETE*#/user-id#/task-name":""}}}},cheers:{keywords:{GET:""}},smiles:{"{sender-id}/{recipient-id}":{"GET#/sender-id#/recipient-id":"",":personalized-list":"GET","HEAD#/sender-id#/recipient-id":""}}},v4:{credits:{accounts:{"{user-id}":{subscriptions:{"GET*#/{user-id=user-id}":""}}}}},tokens:{"jwt/cp-observability":{"POST*":""},"{user-id}":{"jwt/sparksfoundation":{"POST*#/user-id":""},"jwt/lilith":{"POST*#/user-id":""},"jwt/mcs":{"POST*#/user-id":""},"jwt/retention":{"POST*#/user-id":""},jwt:{"POST*#/user-id":""},opaque:{"auth-email":{"POST*#/user-id":""}}},keys:{"GET*":""}},store:{"{user-id}":{products:{"@":"products/{product-type}","GET*#/{user-id=user-id}#/product-type":""},purchases:{"POST*#/{user-id=user-id}#async":""}}},promo:{"{user-id}":{coupons:{"{service}":{"GET*#/{user-id=user-id}#/service":""}}}},test:{"obsolete/now":{GET:""},"obsolete/future":{GET:""}},sparks:{"settings/{user-id}":{"GET*#/user-id":"","PUT*#/user-id":""}},experiments:{"GET*":"","{experiment-id}":{"GET*#/experiment-id":"","DELETE*#/experiment-id":""},update:{batch:{"POST*":""}}},l10n:{texts:{"PUT*":"","{path}":{"GET#/path":""}}}}}
3]))||(e.exports=h)},function(t,r){t.exports=e}],r={};function i(e){if(r[e])return r[e].exports;var s=r[e]={exports:{},id:e,loaded:!1};return t[e].call(s.exports,s,s.exports,i),s.loaded=!0,s.exports}return i.m=t,i.c=r,i.p="/",i(0)}(r(743))},792(e){"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;if(Array.isArray(t)){if((i=t.length)!=r.length)return!1;for(s=i;0!=s--;)if(!e(t[s],r[s]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((i=(n=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(s=i;0!=s--;)if(!Object.prototype.hasOwnProperty.call(r,n[s]))return!1;for(s=i;0!=s--;){var i,s,n,o=n[s];if(!e(t[o],r[o]))return!1}return!0}return t!=t&&r!=r}},406(e,t,r){e=r.nmd(e),(function(){"use strict";var i={function:!0,object:!0},s=i[typeof window]&&window||this,n=i[typeof t]&&t,o=i.object&&e&&!e.nodeType&&e,a=n&&o&&"object"==typeof r.g&&r.g;a&&(a.global===a||a.window===a||a.self===a)&&(s=a);var u=/\bOpera/,d=Object.prototype,c=d.hasOwnProperty,l=d.toString;function h(e){return(e=String(e)).charAt(0).toUpperCase()+e.slice(1)}function p(e){return e=m(e),/^(?:webOS|i(?:OS|P))/.test(e)?e:h(e)}function f(e,t){for(var r in e)c.call(e,r)&&t(e[r],r,e)}function v(e){return null==e?h(e):l.call(e).slice(8,-1)}function b(e){return String(e).replace(/([ -])(?!$)/g,"$1?")}function g(e,t){var r=null,i=function(i,s){r=t(r,i,s,e)},s=-1,n=e?e.length:0;if("number"==typeof n&&n>-1&&n<=0x1fffffffffffff)for(;++s<n;)i(e[s],s,e);else f(e,i);return r}function m(e){return String(e).replace(/^ +| +$/g,"")}function T(e){var t,r,i,n,o,a=s,d=e&&"object"==typeof e&&"String"!=v(e);d&&(a=e,e=null);var c=a.navigator||{},h=c.userAgent||"";e||(e=h);var y=d?!!c.likeChrome:/\bChrome\b/.test(e)&&!/internal|\n/i.test(l.toString()),E="Object",S=d&&a.java?"JavaPackage":v(a.java),w=/\bJava/.test(S)&&a.java,P=w&&v(a.environment)==(d?E:"Environment"),O=w?"a":"α",x=w?"b":"β",G=a.document||{},A=a.operamini||a.opera,k=u.test(k=d&&A?A["[[Class]]"]:v(A))?k:A=null,_=e,I=[],D=null,j=e==h,C=j&&A&&"function"==typeof A.version&&A.version(),U=g([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"],function(t,r){return t||RegExp("\\b"+(r.pattern||b(r))+"\\b","i").exec(e)&&(r.label||r)}),L=g(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"(?:Edge|Edg|EdgA|EdgiOS)"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Vivaldi","Waterfox","WebPositive",{label:"Yandex Browser",pattern:"YaBrowser"},{label:"UC Browser",pattern:"UCBrowser"},"Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chromium","Chrome",{label:"Chrome",pattern:"(?:HeadlessChrome)"},{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"],function(t,r){return t||RegExp("\\b"+(r.pattern||b(r))+"\\b","i").exec(e)&&(r.label||r)}),H=N([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),R=g({Apple:{iPad:1,iPhone:1,iPod:1},Alcatel:{},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},Huawei:{},Lenovo:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Oppo:{},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1},Xiaomi:{Mi:1,Redmi:1}},function(t,r,i){return t||(r[H]||r[/^[a-z]+(?: +[a-z]+\b)*/i.exec(H)]||RegExp("\\b"+b(i)+"(?:\\b|\\w*\\d)","i").exec(e))&&i}),M=g(["Windows Phone","KaiOS","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian",{label:"DragonFly BSD",pattern:"DragonFly"},"Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "],function(t,r){var i,s,n,o=r.pattern||b(r);return!t&&(t=RegExp("\\b"+o+"(?:/[\\d.]+|[ \\w.]*)","i").exec(e))&&(i=t,s=r.label||r,n={"10.0":"10","6.4":"10 Technical Preview","6.3":"8.1","6.2":"8","6.1":"Server 2008 R2 / 7","6.0":"Server 2008 / Vista","5.2":"Server 2003 / XP 64-bit","5.1":"XP","5.01":"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"},o&&s&&/^Win/i.test(i)&&!/^Windows Phone /i.test(i)&&(n=n[/[\d.]+$/.exec(i)])&&(i="Windows "+n),i=String(i),o&&s&&(i=i.replace(RegExp(o,"i"),s)),t=i=p(i.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0])),t});function N(t){return g(t,function(t,r){var i=r.pattern||b(r);return!t&&(t=RegExp("\\b"+i+" *\\d+[.\\w_]*","i").exec(e)||RegExp("\\b"+i+" *\\w+-[\\w]*","i").exec(e)||RegExp("\\b"+i+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(e))&&((t=String(r.label&&!RegExp(i,"i").test(r.label)?r.label:t).split("/"))[1]&&
vendor: 3,538 bytes, line 3
3!/[\d.]+/.test(t[0])&&(t[0]+=" "+t[1]),r=r.label||r,t=p(t[0].replace(RegExp(i,"i"),r).replace(RegExp("; *(?:"+r+"[_-])?","i")," ").replace(RegExp("("+r+")[-_.]?(\\w)","i"),"$1 $2"))),t})}function z(t){return g(t,function(t,r){return t||(RegExp(r+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(e)||0)[1]||null})}if(U&&(U=[U]),/\bAndroid\b/.test(M)&&!H&&(n=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(e))&&(H=m(n[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null),R&&!H?H=N([R]):R&&H&&(H=H.replace(RegExp("^("+b(R)+")[-_.\\s]","i"),R+" ").replace(RegExp("^("+b(R)+")[-_.]?(\\w)","i"),R+" $2")),(n=/\bGoogle TV\b/.exec(H))&&(H=n[0]),/\bSimulator\b/i.test(e)&&(H=(H?H+" ":"")+"Simulator"),"Opera Mini"==L&&/\bOPiOS\b/.test(e)&&I.push("running in Turbo/Uncompressed mode"),"IE"==L&&/\blike iPhone OS\b/.test(e)?(R=(n=T(e.replace(/like iPhone OS/,""))).manufacturer,H=n.product):/^iP/.test(H)?(L||(L="Safari"),M="iOS"+((n=/ OS ([\d_]+)/i.exec(e))?" "+n[1].replace(/_/g,"."):"")):"Konqueror"==L&&/^Linux\b/i.test(M)?M="Kubuntu":R&&"Google"!=R&&(/Chrome/.test(L)&&!/\bMobile Safari\b/i.test(e)||/\bVita\b/.test(H))||/\bAndroid\b/.test(M)&&/^Chrome/.test(L)&&/\bVersion\//i.test(e)?(L="Android Browser",M=/\bAndroid\b/.test(M)?M:"Android"):"Silk"==L?(/\bMobi/i.test(e)||(M="Android",I.unshift("desktop mode")),/Accelerated *= *true/i.test(e)&&I.unshift("accelerated")):"UC Browser"==L&&/\bUCWEB\b/.test(e)?I.push("speed mode"):"PaleMoon"==L&&(n=/\bFirefox\/([\d.]+)\b/.exec(e))?I.push("identifying as Firefox "+n[1]):"Firefox"==L&&(n=/\b(Mobile|Tablet|TV)\b/i.exec(e))?(M||(M="Firefox OS"),H||(H=n[1])):!L||(n=!/\bMinefield\b/i.test(e)&&/\b(?:Firefox|Safari)\b/.exec(L))?(L&&!H&&/[\/,]|^[^(]+?\)/.test(e.slice(e.indexOf(n+"/")+8))&&(L=null),(n=H||R||M)&&(H||R||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(M))&&(L=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(M)?M:n)+" Browser")):"Electron"==L&&(n=(/\bChrome\/([\d.]+)\b/.exec(e)||0)[1])&&I.push("Chromium "+n),C||(C=z(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",b(L),"(?:Firefox|Minefield|NetFront)"])),(n="iCab"==U&&parseFloat(C)>3&&"WebKit"||/\bOpera\b/.test(L)&&(/\bOPR\b/.test(e)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(e)&&!/^(?:Trident|EdgeHTML)$/.test(U)&&"WebKit"||!U&&/\bMSIE\b/i.test(e)&&("Mac OS"==M?"Tasman":"Trident")||"WebKit"==U&&/\bPlayStation\b(?! Vita\b)/i.test(L)&&"NetFront")&&(U=[n]),"IE"==L&&(n=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(e)||0)[1])?(L+=" Mobile",M="Windows Phone "+(/\+$/.test(n)?n:n+".x"),I.unshift("desktop mode")):/\bWPDesktop\b/i.test(e)?(L="IE Mobile",M="Windows Phone 8.x",I.unshift("desktop mode"),C||(C=(/\brv:([\d.]+)/.exec(e)||0)[1])):"IE"!=L&&"Trident"==U&&(n=/\brv:([\d.]+)/.exec(e))&&(L&&I.push("identifying as "+L+(C?" "+C:"")),L="IE",C=n[1]),j){if(r="global",i=null!=(t=a)?typeof t[r]:"number",/^(?:boolean|number|string|undefined)$/.test(i)||"object"==i&&!t[r])v(n=a.runtime)==(d?E:"ScriptBridgingProxyObject")?(L="Adobe AIR",M=n.flash.system.Capabilities.os):v(n=a.phantom)==(d?E:"RuntimeObject")?(L="PhantomJS",C=(n=n.version||null)&&n.major+"."+n.minor+"."+n.patch):"number"==typeof G.documentMode&&(n=/\bTrident\/(\d+)/i.exec(e))?(C=[C,G.documentMode],(n=+n[1]+4)!=C[1]&&(I.push("IE "+C[1]+" mode"),U&&(U[1]=""),C[1]=n),C="IE"==L?String(C[1].toFixed(1)):C[0]):"number"==typeof G.documentMode&&/^(?:Chrome|Firefox)\b/.test(L)&&(I.push("masking as "+L+" "+C),L="IE",C="11.
30",U=["Trident"],M="Windows");else if(w&&(_=(n=w.lang.System).getProperty("os.arch"),M=M||n.getProperty("os.name")+" "+n.getProperty("os.version")),P){try{C=a.require("ringo/engine").version.join("."),L="RingoJS"}catch(e){(n=a.system)&&n.global.system==a.system&&(L="Narwhal",M||(M=n[0].os||null))}L||(L="Rhino")}else"object"==typeof a.process&&!a.process.browser&&(n=a.process)&&("object"==typeof n.versions&&("string"==typeof n.versions.electron?(I.push("Node "+n.versions.node),L="Electron",C=n.versions.electron):"string"==typeof n.versions.nw&&(I.push("Chromium "+C,"Node "+n.versions.node),L="NW.js",C=n.versions.nw)),L||(L="Node.js",_=n.arch,M=n.platform,C=(C=/[\d.]+/.exec(n.version))?C[0]:null));M=M&&p(M)}if(C&&(n=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(C)||/(?:alpha|beta)(?: ?\d)?/i.exec(e+";"+(j&&c.appMinorVersion))||/\bMinefield\b/i.test(e)&&"a")&&(D=/b/i.test(n)?"beta":"alpha",C=C.replace(RegExp(n+"\\+?$"),"")+("beta"==D?x:O)+(/\d+\+?/.exec(n)||"")),"Fennec"==L||"Firefox"==L&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(M))L="Firefox Mobile";else if("Maxthon"==L&&C)C=C.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(H))"Xbox 360"==H&&(M=null),"Xbox 360"==H&&/\bIEMobile\b/.test(e)&&I.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(L)||L&&!H&&!/Browser|Mobi/.test(L))&&("Windows CE"==M||/Mobi/i.test(e)))L+=" Mobile";else if("IE"==L&&j)try{null===a.external&&I.unshift("platform preview")}catch(e){I.unshift("embedded")}else(/\bBlackBerry\b/.test(H)||/\bBB10\b/.test(e))&&(n=(RegExp(H.replace(/ +/g," *")+"/([.\\d]+)","i").exec(e)||0)[1]||C)?(M=((n=[n,/BB10/.test(e)])[1]?(H=null,R="BlackBerry"):"Device Software")+" "+n[0],C=null):this!=f&&"Wii"!=H&&(j&&A||/Opera/.test(L)&&/\b(?:MSIE|Firefox)\b/i.test(e)||"Firefox"==L&&/\bOS X (?:\d+\.){2,}/.test(M)||"IE"==L&&(M&&!/^Win/.test(M)&&C>5.5||/\bWindows XP\b/.test(M)&&C>8||8==C&&!/\bTrident\b/.test(e)))&&!u.test(n=T.call(f,e.replace(u,"")+";"))&&n.name&&(n="ing as "+n.name+((n=n.version)?" "+n:""),u.test(L)?(/\bIE\b/.test(n)&&"Mac OS"==M&&(M=null),n="identify"+n):(n="mask"+n,L=k?p(k.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(n)&&(M=null),j||(C=null)),U=["Presto"],I.push(n));(n=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(e)||0)[1])&&(n=[parseFloat(n.replace(/\.(\d)$/,".0$1")),n],"Safari"==L&&"+"==n[1].slice(-1)?(L="WebKit Nightly",D="alpha",C=n[1].slice(0,-1)):(C==n[1]||C==(n[2]=(/\bSafari\/([\d.]+\+?)/i.exec(e)||0)[1]))&&(C=null),n[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(e)||0)[1],537.36==n[0]&&537.36==n[2]&&parseFloat(n[1])>=28&&"WebKit"==U&&(U=["Blink"]),j&&(y||n[1])?(U&&(U[1]="like Chrome"),n=n[1]||((n=n[0])<530?1:n<532?2:n<532.05?3:n<533?4:n<534.03?5:n<534.07?6:n<534.1?7:n<534.13?8:n<534.16?9:n<534.24?10:n<534.3?11:n<535.01?12:n<535.02?"13+":n<535.07?15:n<535.11?16:n<535.19?17:n<536.05?18:n<536.1?19:n<537.01?20:n<537.11?"21+":n<537.13?23:n<537.18?24:n<537.24?25:n<537.36?26:"Blink"!=U?"27":"28")):(U&&(U[1]="like Safari"),n=(n=n[0])<400?1:n<500?2:n<526?3:n<533?4:n<534?"4+":n<535?5:n<537?6:n<538?7:n<601?8:n<602?9:n<604?10:n<606?11:n<608?12:"12"),U&&(U[1]+=" "+(n+="number"==typeof n?".x":/[.+]/.test(n)?"":"+")),"Safari"==L&&(!C||parseInt(C)>45)?C=n:"Chrome"==L&&/\bHeadlessChrome/i.test(e)&&I.unshift("headless")),"Opera"==L&&(n=/\bzbov|zvav$/.exec(M))?(L+=" ",I.unshift("desktop mode"),"zvav"==n?(L+="Mini",C=null):L+="Mobile",M=M.replace(RegExp(" *"+n+"$"),"")):"Safari"==L&&/\bChrome\b/.exec(U&&U[1])?(I.unshift("desktop mode"),L="Chrome Mobile",C=null,/\bOS X\b/.test(M)?(R="Apple",M="iOS 4.3+"):M=null):/\bSRWare Iron\b/.test(L)&&!C&&(C=z("Chrome")),C&&0==C.indexOf(n=/[\d.]+$/.exec(M))&&e.indexOf("/"+n+"-")>-1&&(M=m(M.replace(n,""))),M&&-1!=M.indexOf(L)&&!RegExp(L+" OS").test(M)&&(M=M.replace(RegExp(" *"+b(L)+" *"),"")),U&&!/\b(?:Avant|Nook)\b/.test(L)&&(/Browser|Lunascape|Maxthon/.test(L)||"Safari"!=L&&/^iOS/.test(M)&&/\bSafari\b/.test(U[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(L)&&U[1])&&(n=U[U.length-1])&&I.push(n),I.length&&(I=["("+I.join("; ")+")"]),R&&H&&0>H.indexOf(R)&&I.push("on "+R),H&&I.push((/^on /.test(I[I.length-1])?"":"on ")+H),M&&(o=(n=/ ([\d.+]+)$/.exec(M))&&"/"==M.charAt(M.length-n[0].length-1),M={architecture:32,family:n&&!o?M.replace(n[0],""):M,version:n?n[1]:null,toString:function(){var e=this.version;return this.family+(e&&!o?" "+e:"")+(64==this.architecture?" 64-bit":"")}}
3),(n=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(_))&&!/\bi686\b/i.test(_)?(M&&(M.architecture=64,M.family=M.family.replace(RegExp(" *"+n),"")),L&&(/\bWOW64\b/i.test(e)||j&&/\w(?:86|32)$/.test(c.cpuClass||c.platform)&&!/\bWin64; x64\b/i.test(e))&&I.unshift("32-bit")):M&&/^OS X/.test(M.family)&&"Chrome"==L&&parseFloat(C)>=39&&(M.architecture=64),e||(e=null);var F={};return F.description=e,F.layout=U&&U[0],F.manufacturer=R,F.name=L,F.prerelease=D,F.product=H,F.ua=e,F.version=L&&C,F.os=M||{architecture:null,family:null,version:null,toString:function(){return"null"}},F.parse=T,F.toString=function(){return this.description||""},F.version&&I.unshift(C),F.name&&I.unshift(L),M&&L&&!(M==String(M).split(" ")[0]&&(M==L.split(" ")[0]||H))&&I.push(H?"("+M+")":"on "+M),I.length&&(F.description=I.join(" ")),F}var y=T();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(s.platform=y,define("platform",function(){return y})):n&&o?f(y,function(e,t){n[t]=e}):s.platform=y}).call(this)},621(e){function t(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function i(e){return"object"==typeof e&&null!==e}e.exports=t,t.EventEmitter=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},t.prototype.emit=function(e){var t,s,n,o,a,u;if(this._events||(this._events={}),"error"===e&&(!this._events.error||i(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;var d=Error('Uncaught, unspecified "error" event. ('+t+")");throw d.context=t,d}if(void 0===(s=this._events[e]))return!1;if(r(s))switch(arguments.length){case 1:s.call(this);break;case 2:s.call(this,arguments[1]);break;case 3:s.call(this,arguments[1],arguments[2]);break;default:o=Array.prototype.slice.call(arguments,1),s.apply(this,o)}else if(i(s))for(a=0,o=Array.prototype.slice.call(arguments,1),n=(u=s.slice()).length;a<n;a++)u[a].apply(this,o);return!0},t.prototype.addListener=function(e,s){var n;if(!r(s))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,r(s.listener)?s.listener:s),this._events[e]?i(this._events[e])?this._events[e].push(s):this._events[e]=[this._events[e],s]:this._events[e]=s,i(this._events[e])&&!this._events[e].warned&&(n=void 0===this._maxListeners?t.defaultMaxListeners:this._maxListeners)&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(e,t){if(!r(t))throw TypeError("listener must be a function");var i=!1;function s(){this.removeListener(e,s),i||(i=!0,t.apply(this,arguments))}return s.listener=t,this.on(e,s),this},t.prototype.removeListener=function(e,t){var s,n,o,a;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(o=(s=this._events[e]).length,n=-1,s===t||r(s.listener)&&s.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(i(s)){for(a=o;a-- >0;)if(s[a]===t||s[a].listener&&s[a].listener===t){n=a;break}if(n<0)return this;1===s.length?(s.length=0,delete this._events[e]):s.splice(n,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},t.prototype.removeAllListeners=function(e){var t,i;if(!this._events)return this;if(!this._events.removeListener)return 0==arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0==arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r(i=this._events[e]))this.removeListener(e,i);else if(i)for(;i.length;)this.removeListener(e,i[i.length-1]);return delete this._events[e],this},t.prototype.listeners=function(e){return this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},t.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},t.listenerCount=function(e,t){return e.listenerCount(t)}},585(e){"use strict";var t=!!("u">typeof window&&window.document&&window.document.createElement);e.exports={canUseDOM:t,canUseWorkers:"u">typeof Worker,canUseEventListeners:t&&!!(window.addEventListener||window.attachEvent),canUseVie
3wport:t&&!!window.screen,isInWorker:!t}},200(e,t,r){e.exports.Dispatcher=r(483)},483(e,t,r){"use strict";t.__esModule=!0;var i=r(123);e.exports=function(){function e(){if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this._callbacks={},this._isDispatching=!1,this._isHandled={},this._isPending={},this._lastID=1}return e.prototype.register=function(e){var t="ID_"+this._lastID++;return this._callbacks[t]=e,t},e.prototype.unregister=function(e){this._callbacks[e]||i(!1),delete this._callbacks[e]},e.prototype.waitFor=function(e){this._isDispatching||i(!1);for(var t=0;t<e.length;t++){var r=e[t];if(this._isPending[r]){this._isHandled[r]||i(!1);continue}this._callbacks[r]||i(!1),this._invokeCallback(r)}},e.prototype.dispatch=function(e){this._isDispatching&&i(!1),this._startDispatching(e);try{for(var t in this._callbacks)this._isPending[t]||this._invokeCallback(t)}finally{this._stopDispatching()}},e.prototype.isDispatching=function(){return this._isDispatching},e.prototype._invokeCallback=function(e){this._isPending[e]=!0,this._callbacks[e](this._pendingPayload),this._isHandled[e]=!0},e.prototype._startDispatching=function(e){for(var t in this._callbacks)this._isPending[t]=!1,this._isHandled[t]=!1;this._pendingPayload=e,this._isDispatching=!0},e.prototype._stopDispatching=function(){delete this._pendingPayload,this._isDispatching=!1},e}()},123(e){"use strict";e.exports=function(e,t,r,i,s,n,o,a){if(!e){var u;if(void 0===t)u=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var d=[r,i,s,n,o,a],c=0;u=Error("Invariant Violation: "+t.replace(/%s/g,function(){return d[c++]}))}throw u.framesToPop=1,u}}},727(e){e.exports=function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}},209(e,t,r){!function(t){var r=function(e){return i(!0===e,!1,arguments)};function i(e,t,i){var n=i[0],o=i.length;(e||"object"!==s(n))&&(n={});for(var a=0;a<o;++a){var u=i[a];if("object"===s(u)){for(var d in u)if("__proto__"!==d){var c=e?r.clone(u[d]):u[d];t?n[d]=function e(t,r){if("object"!==s(t))return r;for(var i in r)"object"===s(t[i])&&"object"===s(r[i])?t[i]=e(t[i],r[i]):t[i]=r[i];return t}(n[d],c):n[d]=c}}}return n}function s(e){return({}).toString.call(e).slice(8,-1).toLowerCase()}r.recursive=function(e){return i(!0===e,!0,arguments)},r.clone=function(e){var t,i,n=e,o=s(e);if("array"===o)for(t=0,n=[],i=e.length;t<i;++t)n[t]=r.clone(e[t]);else if("object"===o)for(t in n={},e)n[t]=r.clone(e[t]);return n},t?e.exports=r:window.merge=r}((e=r.nmd(e))&&"object"==typeof e.exports&&e.exports)},932(e){"use strict";e.exports=function(e){return"object"==typeof e?function e(t,r){var i;return i=Array.isArray(t)?[]:{},r.push(t),Object.keys(t).forEach(function(s){var n=t[s];if("function"!=typeof n){if(!n||"object"!=typeof n){i[s]=n;return}if(-1===r.indexOf(t[s])){i[s]=e(t[s],r.slice(0));return}i[s]="[Circular]"}}),"string"==typeof t.name&&(i.name=t.name),"string"==typeof t.message&&(i.message=t.message),"string"==typeof t.stack&&(i.stack=t.stack),i}(e,[]):"function"==typeof e?"[Function: "+(e.name||"anonymous")+"]":e}},888(e){"use strict";e.exports=function(){var e=[],t=!1,r={},i=function(i){var s=e.indexOf(i);if(!(s<0)){if(t){r[s]=i;return}e.splice(s,1)}};return{publish:function(){for(var s=arguments.length,n=Array(s),o=0;o<s;o++)n[o]=arguments[o];t=!0;try{e.forEach(function(e,t){return r[t]||e.apply(void 0,n)})}finally{t=!1,Object.keys(r).forEach(function(e){return i(r[e])}),r={}}},subscribe:function(t){return e.push(t),{dispose:function(){return i(t)}}},$subscriptions:e}}},301(e,t,r){"use strict";let i;r.d(t,{A:()=>a});let s="u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),n=new Uint8Array(16),o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).slice(1));let a=function(e,t,r){if(s&&!t&&!e)return s();let a=(e=e||{}).random||(e.rng||function(){if(!i&&!(i="u">typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(n)})();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=a[e];return t}
3return function(e,t=0){return o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]}(a)}},743(e){e.exports=XMLHttpRequest}},t={};function r(i){var s=t[i];if(void 0!==s)return s.exports;var n=t[i]={id:i,loaded:!1,exports:{}};return e[i].call(n.exports,n,n.exports,r),n.loaded=!0,n.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var i in t)r.o(t,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},r.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";var e,t,i,s,n,o=function(e,t){return(o=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function u(e,t){var r,i,s,n={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=a(0),o.throw=a(1),o.return=a(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(u){var d=[a,u];if(r)throw TypeError("Generator is already executing.");for(;o&&(o=0,d[0]&&(n=0)),n;)try{if(r=1,i&&(s=2&d[0]?i.return:d[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,d[1])).done)return s;switch(i=0,s&&(d=[2&d[0],s.value]),d[0]){case 0:case 1:s=d;break;case 4:return n.label++,{value:d[1],done:!1};case 5:n.label++,i=d[1],d=[0];continue;case 7:d=n.ops.pop(),n.trys.pop();continue;default:if(!(s=(s=n.trys).length>0&&s[s.length-1])&&(6===d[0]||2===d[0])){n=0;continue}if(3===d[0]&&(!s||d[1]>s[0]&&d[1]<s[3])){n.label=d[1];break}if(6===d[0]&&n.label<s[1]){n.label=s[1],s=d;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(d);break}s[2]&&n.ops.pop(),n.trys.pop();continue}d=t.call(e,n)}catch(e){d=[6,e],i=0}finally{r=s=0}if(5&d[0])throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}}function d(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,s,n=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(e){s={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return o}function l(e,t,r){if(r||2==arguments.length)for(var i,s=0,n=t.length;s<n;s++)!i&&s in t||(i||(i=Array.prototype.slice.call(t,0,s)),i[s]=t[s]);return e.concat(i||Array.prototype.slice.call(t))}function h(e){return this instanceof h?(this.v=e,this):new h(e)}function p(e){return"function"==typeof e}function f(e){var t=e(function(e){Error.call(e),e.stack=Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var v=f(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}});function b(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var g=function(){var e;function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e,t,r,i,s,n=this._parentage;if(n)if(this._parentage=null,Array.isArray(n))try{for(var o=d(n),a=o.next();!a.done;a=o.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else n.remove(this);var u=this.initialTeardown;
3if(p(u))try{u()}catch(e){s=e instanceof v?e.errors:[e]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var f=d(h),b=f.next();!b.done;b=f.next()){var g=b.value;try{y(g)}catch(e){s=null!=s?s:[],e instanceof v?s=l(l([],c(s)),c(e.errors)):s.push(e)}}}catch(e){r={error:e}}finally{try{b&&!b.done&&(i=f.return)&&i.call(f)}finally{if(r)throw r.error}}}if(s)throw new v(s)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)y(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(r=this._finalizers)?r:[]).push(e)}},t.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},t.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},t.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&b(t,e)},t.prototype.remove=function(e){var r=this._finalizers;r&&b(r,e),e instanceof t&&e._removeParent(this)},(e=new t).closed=!0,t.EMPTY=e,t}(),m=g.EMPTY;function T(e){return e instanceof g||e&&"closed"in e&&p(e.remove)&&p(e.add)&&p(e.unsubscribe)}function y(e){p(e)?e():e.unsubscribe()}var E=void 0,S={setTimeout:function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var s=S.delegate;return(null==s?void 0:s.setTimeout)?s.setTimeout.apply(s,l([e,t],c(r))):setTimeout.apply(void 0,l([e,t],c(r)))},clearTimeout:function(e){var t=S.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function w(e){S.setTimeout(function(){!1;throw e})}function P(){}var O=x("C",void 0,void 0);function x(e,t,r){return{kind:e,value:t,error:r}}var G=null;function A(e){var t,r,i,s;1;e()}var k=function(e){function t(t){var r=e.call(this)||this;return r.isStopped=!1,t?(r.destination=t,T(t)&&t.add(r)):r.destination=L,r}return a(t,e),t.create=function(e,t,r){return new j(e,t,r)},t.prototype.next=function(e){this.isStopped?U(x("N",e,void 0),this):this._next(e)},t.prototype.error=function(e){this.isStopped?U(x("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?U(O,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(g),_=Function.prototype.bind;function I(e,t){return _.call(e,t)}var D=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){C(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){C(e)}else C(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){C(e)}},e}(),j=function(e){function t(t,r,i){var s,n,o=e.call(this)||this;return p(t)||!t?s={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=i?i:void 0}:s=t,o.destination=new D(s),o}return a(t,e),t}(k);function C(e){1;w(e)}function U(e,t){}var L={closed:!0,next:P,error:function(e){throw e},complete:P},H="function"==typeof Symbol&&Symbol.observable||"@@observable";function R(e){return e}var M=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var i=this,s=!function(e){return e&&e instanceof k||e&&p(e.next)&&p(e.error)&&p(e.complete)&&T(e)}(e)?new j(e,t,r):e;return A(function(){var e=i.operator,t=i.source;s.add(e?e.call(s,t):t?i._subscribe(s):i._trySubscribe(s))}),s},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=N(t))(function(t,i){var s=new j({next:function(t){try{e(t)}catch(e){i(e),s.unsubscribe()}},error:i,complete:t});r.subscribe(s)})},e.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},e.prototype[H]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0===e.length?R:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=N(e))(function(e,r){var i;t.subscribe(function(e){return i=e},function(e){return r(e)},function(){return e(i)})})},e.create=function(t){return new e(t)},e}();function N(e){var t;return null!=(t=null!=e?e:E)?t:Promise}var z=f(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}}),F=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function B(e){return p(null==e?void 0:e.then)}function q(e){return Symbol.asyncIterator&&p(null==e?void 0:e[Symbol.asyncIterator])}function W(e){return TypeError("You provided "+(null!==e&&"object"==typeof e?"an invali
3d object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}var X="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function V(e){return p(null==e?void 0:e[X])}function K(e){return function(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var i,s=r.apply(e,t||[]),n=[];return i=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),o("next"),o("throw"),o("return",function(e){return function(t){return Promise.resolve(t).then(e,d)}}),i[Symbol.asyncIterator]=function(){return this},i;function o(e,t){s[e]&&(i[e]=function(t){return new Promise(function(r,i){n.push([e,t,r,i])>1||a(e,t)})},t&&(i[e]=t(i[e])))}function a(e,t){try{var r;(r=s[e](t)).value instanceof h?Promise.resolve(r.value.v).then(u,d):c(n[0][2],r)}catch(e){c(n[0][3],e)}}function u(e){a("next",e)}function d(e){a("throw",e)}function c(e,t){e(t),n.shift(),n.length&&a(n[0][0],n[0][1])}}(this,arguments,function(){var t,r,i;return u(this,function(s){switch(s.label){case 0:t=e.getReader(),s.label=1;case 1:s.trys.push([1,,9,10]),s.label=2;case 2:return[4,h(t.read())];case 3:if(i=(r=s.sent()).value,!r.done)return[3,5];return[4,h(void 0)];case 4:return[2,s.sent()];case 5:return[4,h(i)];case 6:return[4,s.sent()];case 7:return s.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function $(e){return p(null==e?void 0:e.getReader)}function J(e){if(e instanceof M)return e;if(null!=e){var t,r,i,s;if(p(e[H])){return t=e,new M(function(e){var r=t[H]();if(p(r.subscribe))return r.subscribe(e);throw TypeError("Provided object does not correctly implement Symbol.observable")})}if(F(e)){return r=e,new M(function(e){for(var t=0;t<r.length&&!e.closed;t++)e.next(r[t]);e.complete()})}if(B(e)){return i=e,new M(function(e){i.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,w)})}if(q(e))return Y(e);if(V(e)){return s=e,new M(function(e){var t,r;try{for(var i=d(s),n=i.next();!n.done;n=i.next()){var o=n.value;if(e.next(o),e.closed)return}}catch(e){t={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}e.complete()})}if($(e))return Y(K(e))}throw W(e)}function Y(e){return new M(function(t){(function(e,t){var r,i,s,n,o,a,c,l;return o=this,a=void 0,c=void 0,l=function(){var o;return u(this,function(a){switch(a.label){case 0:a.trys.push([0,5,6,11]),r=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=d(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(r){t[r]=e[r]&&function(t){return new Promise(function(i,s){var n,o,a;n=i,o=s,a=(t=e[r](t)).done,Promise.resolve(t.value).then(function(e){n({value:e,done:a})},o)})}}}(e),a.label=1;case 1:return[4,r.next()];case 2:if((i=a.sent()).done)return[3,4];if(o=i.value,t.next(o),t.closed)return[2];a.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s={error:a.sent()},[3,11];case 6:if(a.trys.push([6,,9,10]),!(i&&!i.done&&(n=r.return)))return[3,8];return[4,n.call(r)];case 7:a.sent(),a.label=8;case 8:return[3,10];case 9:if(s)throw s.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}})},new(c||(c=Promise))(function(e,t){function r(e){try{s(l.next(e))}catch(e){t(e)}}function i(e){try{s(l.throw(e))}catch(e){t(e)}}function s(t){var s;t.done?e(t.value):((s=t.value)instanceof c?s:new c(function(e){e(s)})).then(r,i)}s((l=l.apply(o,a||[])).next())})})(e,t).catch(function(e){return t.error(e)})})}var Z=Array.isArray,Q=new M(function(e){return e.complete()});function ee(e,t,r,i,s){return new et(e,t,r,i,s)}var et=function(e){function t(t,r,i,s,n,o){var a=e.call(this,t)||this;return a.onFinalize=n,a.shouldUnsubscribe=o,a._next=r?function(e){try{r(e)}catch(e){t.error(e)}}:e.prototype._next,a._error=s?function(e){try{s(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,a._complete=i?function(){try{i()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,a}return a(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),r||null==(t=this.onFinalize)||t.call(this)}},t}(k);function er(e){return e&&p(e.schedule)}function ei(e){return e[e.length-1]}function es(e){return p(ei(e))?e.pop():void 0}function en(e){return er(ei(e))?e.pop():void 0}function eo(e,t,r,i,s){void 0===i&&(i=0),void 0===s&&(s=!1);var n=t.schedule(function(){r(),s?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(n),!s)return n}function ea(e){return function(t){if(p(null==t?void 0:t.lift))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw TypeError("Unable to lift unknown Observable type")}}function eu(e,t){return void 0===t&&(t=0),ea(function(r,i){r.subscribe(ee(i,function(r){return eo(i,e,function(){return i.next(r)},t)},function(){return eo(i,e,function(){return i.complete()},t)},function(r){return eo(i,e,function(){return i.error(r)},t)}
3))})}function ed(e,t){return void 0===t&&(t=0),ea(function(r,i){i.add(e.schedule(function(){return r.subscribe(i)},t))})}function ec(e,t){if(!e)throw Error("Iterable cannot be null");return new M(function(r){eo(r,t,function(){var i=e[Symbol.asyncIterator]();eo(r,t,function(){i.next().then(function(e){e.done?r.complete():r.next(e.value)})},0,!0)})})}function el(e,t){return t?function(e,t){if(null!=e){if(p(e[H]))return J(e).pipe(ed(t),eu(t));if(F(e))return new M(function(r){var i=0;return t.schedule(function(){i===e.length?r.complete():(r.next(e[i++]),r.closed||this.schedule())})});if(B(e))return J(e).pipe(ed(t),eu(t));if(q(e))return ec(e,t);if(V(e))return new M(function(r){var i;return eo(r,t,function(){i=e[X](),eo(r,t,function(){var e,t,s;try{t=(e=i.next()).value,s=e.done}catch(e){r.error(e);return}s?r.complete():r.next(t)},0,!0)}),function(){return p(null==i?void 0:i.return)&&i.return()}});if($(e))return ec(K(e),t)}throw W(e)}(e,t):J(e)}function eh(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=en(e);return el(e,r)}function ep(e,t){var r=p(e)?e:function(){return e},i=function(e){return e.error(r())};return new M(t?function(e){return t.schedule(i,0,e)}:i)}var ef=function(e){function t(t,r){return e.call(this)||this}return a(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(g),ev={setInterval:function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var s=ev.delegate;return(null==s?void 0:s.setInterval)?s.setInterval.apply(s,l([e,t],c(r))):setInterval.apply(void 0,l([e,t],c(r)))},clearInterval:function(e){var t=ev.delegate;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0},eb=function(e){function t(t,r){var i=e.call(this,t,r)||this;
3return i.scheduler=t,i.work=r,i.pending=!1,i}return a(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var r,i=this.id,s=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(s,i,t)),this.pending=!0,this.delay=t,this.id=null!=(r=this.id)?r:this.requestAsyncId(s,this.id,t),this},t.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),ev.setInterval(e.flush.bind(e,this),r)},t.prototype.recycleAsyncId=function(e,t,r){if(void 0===r&&(r=0),null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&ev.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var r,i=!1;try{this.work(e)}catch(e){i=!0,r=e||Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,r=this.scheduler,i=r.actions;this.work=this.state=this.scheduler=null,this.pending=!1,b(i,this),null!=t&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(ef),eg={now:function(){return(eg.delegate||Date).now()},delegate:void 0},em=function(){function e(t,r){void 0===r&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(r,t)},e.now=eg.now,e}(),eT=new(function(e){function t(t,r){void 0===r&&(r=em.now);var i=e.call(this,t,r)||this;return i.actions=[],i._active=!1,i}return a(t,e),t.prototype.flush=function(e){var t,r=this.actions;if(this._active)return void r.push(e);this._active=!0;do if(t=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,t){for(;e=r.shift();)e.unsubscribe();throw t}},t}(em))(eb);function ey(e){return new M(function(t){J(e()).subscribe(t)})}var eE=new M(P);function eS(e){return e<=0?function(){return Q}:ea(function(t,r){var i=0;t.subscribe(ee(r,function(t){++i<=e&&(r.next(t),e<=i&&r.complete())}))})}var ew=f(function(e){return function(t){e(this),this.name="SequenceError",this.message=t}}),eP=f(function(e){return function(t){e(this),this.name="NotFoundError",this.message=t}});function eO(e,t){return ea(function(r,i){var s=0;r.subscribe(ee(i,function(r){i.next(e.call(t,r,s++))}))})}function ex(e){return eO(function(){return e})}class eG{constructor(e){this.observable=new M(t=>e({success:e=>{t.next(e),t.complete()},error:e=>{t.error(e)}}))}subscribe(e,t){return e instanceof k||(null==e?void 0:e.constructor.name)==="OperatorSubscriber"?this.observable.subscribe(e):this.observable.subscribe(t=>e&&e(t),e=>t&&t(e))}safeSubscribe(e){return this.observable.safeSubscribe(t=>e&&e(t))}pipe(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){for(var t=e,r=arguments.length,i=Array(r>1?r-1:0),s=1;s<r;s++)i[s-1]=arguments[s];return i.forEach(e=>{t=e(t)}),t}(this,...t)}asObservable(){return this.observable}toPromise(){var e;return e=this.observable,new Promise(function(t,r){var i=new j({next:function(e){t(e),i.unsubscribe()},error:r,complete:function(){r(new z)}});e.subscribe(i)})}[Symbol.observable](){return this.observable}[H](){return this.observable}}M.prototype.toSingle=function(){var e=this.pipe(eS(1)).pipe(ea(function(e,t){var r,i=!1,s=!1;e.subscribe(ee(t,function(e){s=!0,i&&t.error(new ew("Too many matching values")),i=!0,r=e},function(){i?(t.next(r),t.complete()):t.error(s?new eP("No matching values"):new z)}))}));return new eG(t=>e.subscribe(e=>t.success(e),e=>t.error(e)))},(e=eG||(eG={})).zip=function(){return(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=es(e),i=1===e.length&&Z(e[0])?e[0]:e;return i.length?new M(function(e){var t=i.map(function(){return[]}),s=i.map(function(){return!1});e.add(function(){t=s=null});for(var n=function(n){J(i[n]).subscribe(ee(e,function(i){if(t[n].push(i),t.every(function(e){return e.length})){var o=t.map(function(e){return e.shift()});e.next(r?r.apply(void 0,l([],c(o))):o),t.some(function(e,t){return!e.length&&s[t]})&&e.complete()}},function(){s[n]=!0,t[n].length||e.complete()}
3))},o=0;!e.closed&&o<i.length;o++)n(o);return function(){t=s=null}}):Q})(...arguments).toSingle()},e.just=function(){return eh(arguments.length<=0?void 0:arguments[0]).toSingle()},e.error=function(e){return ep(e).toSingle()},e.delay=function(e,t){var r,i,s,n;return(i=void 0,void 0===(r=e)&&(r=0),void 0===(s=t)&&(s=eT),n=-1,null!=i&&(er(i)?s=i:n=i),new M(function(e){var t,i=(t=r)instanceof Date&&!isNaN(t)?r-s.now():r;i<0&&(i=0);var o=0;return s.schedule(function(){e.closed||(e.next(o++),0<=n?this.schedule(void 0,n):e.complete())},i)})).pipe(ex(void 0)).toSingle()},e.from=function(e){return el(e).toSingle()},e.defer=function(e){return ey(()=>e()).toSingle()},e.never=function(){return eE.toSingle()},r(932),M.prototype.safeSubscribe=function(e){return this.subscribe(e,e=>{})},r(28).A.prototype.rxState=function(){return new M(e=>(("function"!=typeof this.isFilled||this.isFilled())&&e.next(this.getState()),this.listen(t=>{var r=t;Array.isArray(r)?r=[...r]:"object"==typeof r&&(r=Object.assign({},r)),e.next(r)})))};var eA=r(526),ek=r(628),e_=r.n(ek);class eI{static inject(e){eI.apiHost=e}static create(){var e,t=e_().create("//"+eI.apiHost);return t.host=()=>t.getBaseHost().split(".").slice(1).join("."),t.authorize=Object.keys(e=t.authorize).reduce((t,r)=>(t[r]=e[r],t),function(){var r,i;return arguments.length&&(r=t.authorize.headers&&t.authorize.headers()||{},i="X-Referer",delete r[i],r[i]=document.referrer,t.authorize.headers(r)),e(...arguments)}),t}}function eD(e,t){return t.xhr=e,!t.message&&t.status&&(t.message="API error for resource "+e.responseURL+". Status "+t.status),t}function ej(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return new eG(t=>{var i=e(...r,(e,r,i)=>e?t.error(eD(i,e)):t.success(r));return()=>{try{null==i||null===i.abort||void 0===i.abort||i.abort()}catch(e){}}})}function eC(e,t){var r=Object.assign({},e);for(var i of t)!function(e,t){var r=t+"_localized",i=e[t],s=e[r];if("string"==typeof i&&"string"==typeof s){if(i===s||""===s)return delete e[r];e[t]=s,e[r]=i}}(r,i);return r}function eU(e,t){var r=t+"_localized";return r in e&&delete e[r],e}function eL(e){if("string"==typeof e)return e;var t=Math.floor(e/1e10);return(e%1e10*100+t).toString()}eI.shared=(0,eA.G)(()=>eI.create());var eH=r(557);class eR{constructor(){this.name=eH.S?window.PRODUCT:void 0}}eR.shared=(0,eA.G)(()=>new eR);var eM=r(406),eN=r.n(eM),ez=r(429).A;function eF(e){var t,r=!1;return()=>(r||(t=e(),r=!0),t)}eF(()=>{var e,t=null==(e=eN().os)?void 0:e.family;return t?({Windows:"win","OS X":"mac",iOS:"ios",Android:"android"})[t]||t.toLowerCase():"unknown"});var eB=eF(()=>{var e;return null!=(e=window.navigator.userAgent.toLowerCase().match(/oculus/))&&e.length?"oculus":["chrome","edge","firefox","safari"].find(e=>ez.test("name:"+e))||"unknown"});eF(()=>{var e,t;switch(eB()){case"chrome":t=/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i;break;case"firefox":t=/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i;break;case"edge":t=/\sedg\/(\d+(\.?_?\d+)+)/i;break;default:t=/version\/(\d+(\.?_?\d+)+)/i}return(null==(e=window.navigator.userAgent.match(t))?void 0:e[1])||"unknown"}),eF(()=>{var e=window.navigator,t=e.userAgent.toLowerCase(),r=!!(e.mediaCapabilities&&e.mediaCapabilities.decodingInfo);return -1!==t.indexOf("safari")&&-1===t.indexOf("chrome")&&-1!==t.indexOf("version/")&&r});class eq{constructor(){this.version=function(e){var t=e;return t.includes("cp.web:")&&(t=t.replace("cp.web:","")),t.includes("-")&&(t=t.split("-")[0]),t}(eH.S?window.REVISION||"0.0.0":"")}}eq.shared=(0,eA.G)(()=>new eq);var eW=r(301);class eX{constructor(e){this.id=(0,eW.A)()}}eX.shared=(0,eA.G)(e=>new eX(e));class eV{static create(){var e,t,r,i,s,n,o,a,u,d,c,l,h,p,f,v,b,g,m,T,y,E,S,w,P,O;return P=(r=(t=(e=eI.create()).dialogs.messages.get,e.dialogs.messages.get=(e,r,i,s,n)=>{var o=[e,r,i,function(e,t,r){eK.shared().now(i=>{s(e,Array.isArray(t)?t.map(e=>e.seen&&Date.parse(e.seen)>i?Object.assign({},e,{read:void 0,seen:void 0}):e):t,r)})}];return n&&o.push(n),t(...o)},e),i=["occupation","about","city"],s=r.users.reminders.get,r.users.reminders.get=(e,t,n)=>s(e,t,function(e,t,s){var o=r.variable("user-id");n(e,t&&Object.assign({},t,{users:Array.isArray(t.users)?t.users.map(e=>e.id!==o?eC(e,i):e):[]}),s)}),n=r.users.events.get,r.users.events.get=(e,t,s,o)=>{var a=[e,t,function(e,t,n){s(e,Array.isArray(t)?t.map(e=>{var t,s=r.variable("user-id"),n=eL((null==e||null==(t=e.payload)?void 0:t["recipient-id"])||0)===s;return Object.assign({},n?eC(e,["text"]):e,{payload:e.payload&&n?eC(e.payload,["text","subject"]):e.payload,"user-details":e["user-details"]?eC(e["user-details"],i):e["user-details"]}
3)}):t,n)}];return o&&a.push(o),n(...a)},o=r.users.contacts.items.get,r.users.contacts.items.get=(e,t,s)=>o(e,t,function(e,t,n){s(e,t&&Array.isArray(t.contacts)?{contacts:t.contacts.map(e=>{var t,s=r.variable("user-id"),n=e["user-event"],o=eL((null==(t=n.payload)?void 0:t["recipient-id"])||0)===s;return Object.assign({},e,{"user-event":Object.assign({},o?eC(n,["text"]):n,{payload:n.payload&&o?eC(n.payload,["text","subject"]):n.payload}),"user-profile":e["user-profile"]&&o?eC(e["user-profile"],i):e["user-profile"]})})}:t,n)}),a=r.presents.matches.get,r.presents.matches.get=(e,t,s)=>a(e,t,function(e,t,n){var o=r.variable("user-id");s(e,Array.isArray(t)?t.map(e=>{var t,r=(null==(t=e["user-details"])?void 0:t.id)!==o;return e["user-details"]?Object.assign({},e,{"user-details":r?eC(e["user-details"],i):e["user-details"]}):e}):t,n)}),u=r.users.private.get,r.users.private.get=(e,t)=>u(e,function(s,n,o){var a=e!==r.variable("user-id");t(s,n&&(a?eC(n,i):n),o)}),d=r.users.extended.get,r.users.extended.get=(e,t)=>d(e,function(s,n,o){var a=e!==r.variable("user-id");t(s,n&&(a?eC(n,i):n),o)}),c=r.users.get,r.users.get=(e,t)=>c(e,function(s,n,o){var a=e!==r.variable("user-id");t(s,n&&(a?eC(n,i):n),o)}),l=r.users.extended.search,r.users.extended.search=(e,t,s)=>l(e,t,function(e,t,n){var o=r.variable("user-id");s(e,Array.isArray(t)?t.map(e=>e.id!==o?Object.assign({},eC(e,i),e.location?{location:eC(e.location,["city"])}:{}):e):t,n)}),h=r.users.gateway.get,r.users.gateway.get=(e,t,s)=>h(e,t,function(e,t,n){var o=r.variable("user-id");s(e,Array.isArray(t)?t.map(e=>e.id!==o?Object.assign({},eC(e,i),e.location?{location:eC(e.location,["city"])}:{}):e):t,n)}),p=r.v2.users.personal.get,r.v2.users.personal.get=(e,t,s)=>p(e,t,function(e,t,n){var o=r.variable("user-id");if(!t)return s(e,t,n);s(e,{users:t&&Array.isArray(t.users)?t.users.map(e=>e.id!==o?Object.assign({},eC(e,i),e.location?{location:eC(e.location,["city"])}:{}):e):[],"recommendation-id":t["recommendation-id"]},n)}),f=r.users.list,r.users.list=(e,t)=>f(e,function(e,s,n){var o=r.variable("user-id");t(e,Array.isArray(s)?s.map(e=>e.id!==o?Object.assign({},eC(e,i),e.location?{location:eC(e.location,["city"])}:{}):e):s,n)}),v=["about"],b=r.v2.users.preferences.get,r.v2.users.preferences.get=(e,t)=>b(e,function(i,s,n){var o=e!==r.variable("user-id"),a=s&&(o?eC(s,v):s);null==t||t(i,a,n)}),g=r.v2.users.preferences.private.get,r.v2.users.preferences.private.get=(e,t)=>g(e,function(i,s,n){var o=e!==r.variable("user-id"),a=s&&(o?eC(s,v):s);null==t||t(i,a,n)}),m=r.v2.users.preferences.put,r.v2.users.preferences.put=(e,t,r)=>{var i;return m(e,(i=t,v.reduce(eU,JSON.parse(JSON.stringify(i)))),r)},T=r.dialogs.letters.introductory.get,r.dialogs.letters.introductory.get=(e,t,i,s,n)=>{var o=[e,t,i,function(t,i,n){var o=e===r.variable("user-id"),a=i&&(o?eC(i,["text","subject"]):i);null==s||s(t,a,n)}];return n&&o.push(n),T(...o)},y=r.dialogs.letters.presents.get,r.dialogs.letters.presents.get=(e,t,i,s,n)=>{var o=[e,t,i,function(t,i,n){var o=e===r.variable("user-id"),a=i&&(o?eC(i,["text","subject"]):i);null==s||s(t,a,n)}];return n&&o.push(n),y(...o)},E=r.dialogs.letters.get,r.dialogs.letters.get=(e,t,i,s,n)=>{var o=[e,t,i,function(t,i,n){var o=e===r.variable("user-id"),a=i&&(o?eC(i,["text","subject"]):i);null==s||s(t,a,n)}];return n&&o.push(n),E(...o)},S=r.dialogs.letters.list,r.dialogs.letters.list=(e,t,s)=>S(e,t,function(e,t,n){var o=r.variable("user-id"),a=t?{users:Array.isArray(t.users)?t.users.map(e=>e.id!==o?eC(e,i):e):[],letters:Array.isArray(t.letters)?t.letters.map(e=>e.recipient===o?eC(e,["text","subject"]):e):[]}:t;null==s||s(e,a,n)}),w=r.dialogs.messages.get,r.dialogs.messages.get=(e,t,i,s,n)=>{var o=[e,t,i,function(e,t,i){var n=r.variable("user-id");s(e,Array.isArray(t)?t.map(e=>e.recipient===n?eC(e,["text"]):e):t,i)}];return n&&o.push(n),w(...o)},r),O=eR.shared().name+"-web",P.augment("X-Client",O),P.augment("X-Client-Version",""+eq.shared().version),P.augment("X-Client-Instance",""+eX.shared(null).id),P}}eV.shared=(0,eA.G)(()=>eV.create());class eK{constructor(){this.now=e=>{var t=Date.now()-this.clientDate;t>=6e5||!this.serverDate?eV.shared().datetime.get((t,r)=>{var{value:i}=r||{value:""},s=Date.parse(i);this.serverDate&&this.serverDate>s&&console.warn("previous server date is more actual"),this.serverDate=s,this.clientDate=Date.now(),e(this.serverDate,this.clientDate-this.serverDate)}):(this.serverDate=this.serverDate+t,this.clientDate=this.clientDate+t,e(this.serverDate,this.clientDate-this.serverDate))},this.mapServerDateToLocal=(e,t)=>{this.now((r,i)=>{t(e+i)})},this.isSameDaySync=(e,t)=>e.getUTCMonth()===t.getUTCMonth()&&e.getUTCDate()===t.getUTCDate(),this.isSameDay=(e,t)=>{this.now(r=>{var i=new Date(r);t(e.getUTCMonth()===i.getUTCMonth()&&e.getUTCDate()===i.getUTCDate())})},this.clientDate=Date.now()}currentTime(){return new eG(e=>{this.now(t=>
3{e.success(t)})})}}eK.shared=(0,eA.G)(()=>new eK);var e$=f(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),eJ=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return a(t,e),t.prototype.lift=function(e){var t=new eY(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new e$},t.prototype.next=function(e){var t=this;A(function(){var r,i;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var s=d(t.currentObservers),n=s.next();!n.done;n=s.next())n.value.next(e)}catch(e){r={error:e}}finally{try{n&&!n.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}}})},t.prototype.error=function(e){var t=this;A(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var r=t.observers;r.length;)r.shift().error(e)}})},t.prototype.complete=function(){var e=this;A(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null==(e=this.observers)?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,i=this.isStopped,s=this.observers;return r||i?m:(this.currentObservers=null,s.push(e),new g(function(){t.currentObservers=null,b(s,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,i=this.isStopped;t?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new M;return e.source=this,e},t.create=function(e,t){return new eY(e,t)},t}(M),eY=function(e){function t(t,r){var i=e.call(this)||this;return i.destination=t,i.source=r,i}return a(t,e),t.prototype.next=function(e){var t,r;null==(r=null==(t=this.destination)?void 0:t.next)||r.call(t,e)},t.prototype.error=function(e){var t,r;null==(r=null==(t=this.destination)?void 0:t.error)||r.call(t,e)},t.prototype.complete=function(){var e,t;null==(t=null==(e=this.destination)?void 0:e.complete)||t.call(e)},t.prototype._subscribe=function(e){var t,r;return null!=(r=null==(t=this.source)?void 0:t.subscribe(e))?r:m},t}(eJ),eZ=function(e){function t(t){var r=e.call(this)||this;return r._value=t,r}return a(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var r=e.prototype._subscribe.call(this,t);return r.closed||t.next(this._value),r},t.prototype.getValue=function(){var e=this.hasError,t=this.thrownError,r=this._value;if(e)throw t;return this._throwIfClosed(),r},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(eJ);class eQ{constructor(){this.storage={}}modelState(e){return this.storage[e]||(this.storage[e]=new eZ(void 0)),this.storage[e]}getSnapshot(){return Object.keys(this.storage).filter(e=>void 0!==this.storage[e].getValue()).map(e=>({[e]:this.storage[e].getValue()})).reduce((e,t)=>Object.assign({},e,t),{})}setSnapshot(e){Object.keys(e).forEach(t=>{this.setState(t,e[t])})}state(e){return this.modelState(e)}getState(e){return this.modelState(e).getValue()}setState(e,t){this.modelState(e).next(t)}}eQ.shared=(0,eA.G)(()=>new eQ);var e0=Array.isArray,e1=Object.getPrototypeOf,e2=Object.prototype,e3=Object.keys,e5=Array.isArray;function e6(){for(var e,t,r,i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];var n=en(i),o=es(i),a=function(e){if(1===e.length){var t,r=e[0];if(e0(r))return{args:r,keys:null};if((t=r)&&"object"==typeof t&&e1(t)===e2){var i=e3(r);return{args:i.map(function(e){return r[e]}),keys:i}}}return{args:e,keys:null}}(i),u=a.args,d=a.keys;if(0===u.length)return el([],n);var h=new M((e=u,t=n,void 0===(r=d?function(e){return d.reduce(function(t,r,i){return t[r]=e[i],t},{})}:R)&&(r=R),function(i){(function(e,t,r){e?eo(r,e,t):t()})(t,function(){for(var s=e.length,n=Array(s),o=s,a=s,u=function(s){(function(e,t,r){e?eo(r,e,t):t()})(t,function(){var u=el(e[s],t),d=!1;u.subscribe(ee(i,function(e){n[s]=e,!d&&(d=!0,a--),a||i.next(r(n.slice()))},function(){--o||i.complete()}
3))},i)},d=0;d<s;d++)u(d)},i)}));return o?h.pipe(eO(function(e){return e5(e)?o.apply(void 0,l([],c(e))):o(e)})):h}function e4(e,t,r){return(void 0===r&&(r=1/0),p(t))?e4(function(r,i){return eO(function(e,s){return t(r,e,i,s)})(J(e(r,i)))},r):("number"==typeof t&&(r=t),ea(function(t,i){var s,n,o,a,u,d,c,l;return s=r,n=[],o=0,a=0,u=!1,d=function(){!u||n.length||o||i.complete()},c=function(e){return o<s?l(e):n.push(e)},l=function(t){o++;var r=!1;J(e(t,a++)).subscribe(ee(i,function(e){i.next(e)},function(){r=!0},void 0,function(){if(r)try{for(o--;n.length&&o<s;)!function(){var e=n.shift();l(e)}();d()}catch(e){i.error(e)}}))},t.subscribe(ee(i,c,function(){u=!0,d()})),function(){}}))}function e8(){for(var e,t,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var s=en(r),n=(e=1/0,"number"==typeof ei(r)?r.pop():e);return r.length?1===r.length?J(r[0]):(void 0===(t=n)&&(t=1/0),e4(R,t))(el(r,s)):Q}function e7(e,t){return ea(function(r,i){var s=null,n=0,o=!1,a=function(){return o&&!s&&i.complete()};r.subscribe(ee(i,function(r){null==s||s.unsubscribe();var o=0,u=n++;J(e(r,u)).subscribe(s=ee(i,function(e){return i.next(t?t(r,e,u,o++):e)},function(){s=null,a()}))},function(){o=!0,a()}))})}function e9(e,t){return p(t)?e4(e,t,1):e4(e,1)}function te(e,t){return ea(function(r,i){var s=0;r.subscribe(ee(i,function(r){return e.call(t,r,s++)&&i.next(r)}))})}function tt(e,t){return void 0===t&&(t=R),e=null!=e?e:tr,ea(function(r,i){var s,n=!0;r.subscribe(ee(i,function(r){var o=t(r);(n||!e(s,o))&&(n=!1,s=o,i.next(r))}))})}function tr(e,t){return e===t}var ti=function(e){function t(t,r,i){void 0===t&&(t=1/0),void 0===r&&(r=1/0),void 0===i&&(i=eg);var s=e.call(this)||this;return s._bufferSize=t,s._windowTime=r,s._timestampProvider=i,s._buffer=[],s._infiniteTimeWindow=!0,s._infiniteTimeWindow=r===1/0,s._bufferSize=Math.max(1,t),s._windowTime=Math.max(1,r),s}return a(t,e),t.prototype.next=function(t){var r=this.isStopped,i=this._buffer,s=this._infiniteTimeWindow,n=this._timestampProvider,o=this._windowTime;!r&&(i.push(t),s||i.push(n.now()+o)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,i=this._buffer.slice(),s=0;s<i.length&&!e.closed;s+=r?1:2)e.next(i[s]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,i=this._infiniteTimeWindow,s=(i?1:2)*e;if(e<1/0&&s<r.length&&r.splice(0,r.length-s),!i){for(var n=t.now(),o=0,a=1;a<r.length&&r[a]<=n;a+=2)o=a;o&&r.splice(0,o+1)}},t}(eJ);function ts(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];if(!0===t)return void e();if(!1!==t){var s=new j({next:function(){s.unsubscribe(),e()}});return J(t.apply(void 0,l([],c(r)))).subscribe(s)}}function tn(e,t,r){var i,s,n,o,a,u,d,c,l,h,p,f,v,b=!1;return e&&"object"==typeof e?(v=void 0===(h=e.bufferSize)?1/0:h,t=void 0===(p=e.windowTime)?1/0:p,b=void 0!==(f=e.refCount)&&f,r=e.scheduler):v=null!=e?e:1/0,n=void 0===(s=(i={connector:function(){return new ti(v,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:b}).connector)?function(){return new eJ}:s,a=void 0===(o=i.resetOnError)||o,d=void 0===(u=i.resetOnComplete)||u,l=void 0===(c=i.resetOnRefCountZero)||c,function(e){var t,r,i,s=0,o=!1,u=!1,c=function(){null==r||r.unsubscribe(),r=void 0},h=function(){c(),t=i=void 0,o=u=!1},p=function(){var e=t;h(),null==e||e.unsubscribe()};return ea(function(e,f){s++,u||o||c();var v=i=null!=i?i:n();f.add(function(){0!=--s||u||o||(r=ts(p,l))}),v.subscribe(f),!t&&s>0&&(t=new j({next:function(e){return v.next(e)},error:function(e){u=!0,c(),r=ts(h,a,e),v.error(e)},complete:function(){o=!0,c(),r=ts(h,d),v.complete()}}),J(e).subscribe(t))})(e)}}function to(e){return te(function(t,r){return e<=r})}function ta(e){return ea(function(t,r){var i,s=null,n=!1;s=t.subscribe(ee(r,void 0,void 0,function(o){i=J(e(o,ta(e)(t))),s?(s.unsubscribe(),s=null,i.subscribe(r)):n=!0})),n&&(s.unsubscribe(),s=null,i.subscribe(r))})}function tu(){return function(e){return e.pipe(te(function(e){return null!=e}))}}function td(e){return function(t){return t.asObservable().pipe(e4(t=>e(t))).toSingle()}}function tc(e){return function(t){return t.pipe(td(t=>{try{return eG.just(e(t))}catch(e){return eG.error(e)}}))}}function tl(e,t){return function(r){return r.pipe(tc(t=>(e&&e(t),t)),tp(e=>(t&&t(e),eG.error(e))))}}function th(e){return function(t){return t.pipe(tl(e,e))}}function tp(e){return function(t){return t.asObservable().pipe(ta(t=>e(t))).toSingle()}}function tf(e){return function(t){return t.pipe(tc(()=>e))}}function tv(e){var t={bufferSize:1,refCount:!1};return void 0!==e&&(t.refCount=e),function(e){return e.asObservable().pipe(tn(t)).toSingle()}}class tb{constructor(){this.cachePolicy="actual-cache-data-else-load"}getCachePolicy(){return this.cachePolicy}setCachePolicy(e){this.cachePolicy=e}}tb.shared=(0,eA.G)(()=>new tb);class tg{static setGlobalCachePolicy(e){tb.shared().setCachePolicy(e)}static getGlobalCachePolicy(){return tb.shared().getCachePolicy()}constructor(e){this.setCachePolicy=e=>{this.cachePolicy=e},this.clearCachePolicy=()=>{this.cachePolicy=void 0}}getCachePolicy(){return this.cachePolicy||tb.shared().getCachePolicy()}}tg.shared=(0,eA.G)(e=>new tg(e));var tm=r(783);function tT(e,t,r){var i=p(e)||t||r?{next:e,error:t,complete:r}:e;return i?ea(function(e,t){null==(r=i.subscribe)||r.call(i);var r,s=!0;e.subscribe(ee(t,function(e){var r;null==(r=i.next)||r.call(i,e),t.next(e)},function(){var e;s=!1,null==(e=i.complete)||e.call(i),t.complete()},function(e){var r;s=!1,null==(r=i.error)||r.call(i,e),t.error(e)},function(){var e,t;s&&(null==(e=i.unsubscribe)||e.call(i)),null==(t=i.finalize)||t.call(i)}))}):R}var ty=r(746),tE=r.n(ty);class tS{constructor(e,t,r){this.stateTransformations=new eZ({}),this.currentLoadRequests={};for(var i=arguments.length,s=Array(i>3?i-3:0),n=3;n<i;n++)s[n-3]=arguments[n];var[o,a]=s;this.modelName=e+"."+t,this.modelDomain=e,this.modelStorage=eQ.shared(),this.modelCachePolicy=tg.shared(this.modelDomain),this.getData=r,this.stateFromValue=o||((e,t,r,i)=>({options:t,data:e,expiration:i})),this.valueFromState=a||(e=>({data:e.data,expiration:e.expiration}))}start(e){e.add(this.dataUpdates(e=>
3this.state(e).pipe(e7(e=>e?eK.shared().currentTime().pipe(tc(t=>e.expiration>=t?e:void 0)):eh(void 0)))).pipe(e9(e=>{if("ttl"in e&&"number"==typeof e.ttl)return eK.shared().currentTime().pipe(tc(t=>({data:e.data,options:e.options,expiration:(e.ttl||0)+t})));var t,r="expiration"in e&&"number"==typeof e.expiration?e.expiration:null==(t=this.getState(e.options))?void 0:t.expiration;return"number"==typeof r?eh({data:e.data,options:e.options,expiration:r}):Q})).safeSubscribe(e=>{this.setState(e.data,e.options,e.expiration)})),e.add(this.shouldRefreshData().safeSubscribe(e=>{var t=this.getRawState();if(t)for(var r of Object.values(t))e(r.options)&&this.setRawData(void 0,r.options)}))}getKeyForModelOptions(e){return function e(t){return t&&"number"!=typeof t&&"string"!=typeof t&&"boolean"!=typeof t&&void 0!==t?Array.isArray(t)?"array."+t.map(t=>e(t)).join(","):"object."+Object.keys(t).sort().reduce((r,i)=>{var s=t[i];if(void 0!==s){var n=i+":"+e(s);return r?r+","+n:n}return r},""):typeof t+"."+t}(e)}loadData(e){var t=this.getKeyForModelOptions(e),r=this.currentLoadRequests[t];if(r)return r;var i=this.getData(e).pipe(th(()=>{delete this.currentLoadRequests[t]}),tv());return this.currentLoadRequests[t]=i,i}baseData(e){var t;return t=ey(()=>{var t,r,i,s;return t=this.cachePolicy(),r=()=>this.loadData(e),i=()=>this.state(e),s=t=>{var{data:r,expiration:i,time:s}=t;return eG.defer(()=>(this.invalidate(s),this.setState(r,e,i),eG.just(void 0)))},ey(()=>{var e,n=ey(()=>i()).pipe(tn(1)),o=n.pipe(eS(1)),a=n.pipe(tu()),u=eG.defer(()=>r()).pipe(tv()),d=e8(n.pipe(to(1),e7(e=>e?eK.shared().currentTime().asObservable().pipe(e7(t=>e.expiration>=t?eh({data:e.data,ttl:e.expiration}):Q)):Q),(e=u.asObservable(),ea(function(t,r){J(e).subscribe(ee(r,function(){return r.complete()},P)),r.closed||t.subscribe(r)}))),u.pipe(td(e=>{var{data:t,ttl:r}=e;return eK.shared().currentTime().pipe(td(e=>s({data:t,expiration:e+r,time:e})))})).asObservable().pipe(e7(()=>a)));switch(t){case"actual-cache-data-else-load":return o.pipe(e7(e=>e?eK.shared().currentTime().asObservable().pipe(e7(t=>e.expiration>=t?a:d)):d));case"cache-data-try-load":return o.pipe(e7(e=>e?new M(t=>{var r=new g;return r.add(a.subscribe(t)),r.add(eK.shared().currentTime().asObservable().pipe(e7(t=>e.expiration>=t?Q:d),eS(1),function(e){return e.pipe(ta(e=>(console.warn("catchErrorJustLog: uncaught error: "+e),Q)))}).subscribe()),r}):d));case"cache-data-dont-load":return o.pipe(e7(e=>e?a:ep("Cache is empty")))}}).pipe(eO(e=>e.data))}),ey(()=>{var e=!1;return tm.q.shared().wait(),t.pipe(tT(()=>{e||(e=!0,tm.q.shared().done())},()=>{e||(e=!0,tm.q.shared().done())},()=>{e||(e=!0,tm.q.shared().done())}))})}dataAreEqual(e,t){return tE()(e,t)}dataUpdates(e){return Q}data(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=t[0],s=this.getKeyForModelOptions(i),n=e6([this.baseData(i),this.stateTransformations.pipe(eO(e=>e[s]||[]))]).pipe(eO(e=>{var[t,r]=e;return r.reduce((e,t)=>t(e),t)}));return e8(eh(void 0),this.shouldRefreshData().pipe(te(e=>e(i)))).pipe(e7(()=>n),tt((e,t)=>
3this.dataAreEqual(e,t)))}isFilled(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=t[0];return this.isExpired(i).pipe(tc(e=>void 0!==this.getState(i)&&!e))}setStateIfNotFilled(){var e=arguments.length<=0?void 0:arguments[0],t=3==arguments.length?arguments.length<=1?void 0:arguments[1]:void 0,r=3==arguments.length?arguments.length<=2?void 0:arguments[2]:arguments.length<=1?void 0:arguments[1];return this.isFilled(t).pipe(tl(i=>{i||eK.shared().now(i=>{this.invalidate(i),this.setState(e,t,r+i)})}))}shouldRefreshData(){return Q}addOptimisticStateTransformation(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=t[1],s=this.getKeyForModelOptions(i),n=t[0];this.stateTransformations.next(Object.assign({},this.stateTransformations.getValue(),{[s]:[...this.stateTransformations.getValue()[s]||[],n]}));var o=()=>{var e=this.stateTransformations.getValue(),t=(e[s]||[]).filter(e=>e!==n);if(t.length)this.stateTransformations.next(Object.assign({},e,{[s]:t}));else{var r=Object.assign({},e);delete r[s],this.stateTransformations.next(r)}};return{commit:()=>{var e=this.getState(i);void 0!==e&&this.setState(n(e.data),i,e.expiration),o()},reject:o}}invalidate(e){var t=this.getRawState();if(t){var r=Object.assign({},t),i=!1;for(var[s,n]of Object.entries(r))n.expiration<e&&(delete r[s],i=!0);i&&this.setRawState(r)}}setRawState(e){return this.modelStorage.setState(this.modelName,e)}setState(){var e=arguments.length<=0?void 0:arguments[0],t=3==arguments.length?arguments.length<=1?void 0:arguments[1]:void 0,r=this.getKeyForModelOptions(t),i=3==arguments.length?arguments.length<=2?void 0:arguments[2]:arguments.length<=1?void 0:arguments[1],s=this.getRawState(),n=this.stateFromValue(e,t,null==s?void 0:s[r],i);this.setRawData(n,t)}setRawData(){var e=arguments.length<=0?void 0:arguments[0],t=2==arguments.length?arguments.length<=1?void 0:arguments[1]:void 0,r=this.getKeyForModelOptions(t),i=this.getRawState();if(i||e){var s=Object.assign({},i);e?s[r]=e:delete s[r],this.setRawState(s)}}getRawState(){return this.modelStorage.getState(this.modelName)}getState(){for(var e,t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];var s=r[0],n=this.getKeyForModelOptions(s),o=null==(e=this.getRawState())?void 0:e[n];return o?this.valueFromState(o):void 0}rawState(){return this.modelStorage.state(this.modelName)}state(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=t[0],s=this.getKeyForModelOptions(i);return this.rawState().pipe(eO(e=>{var t=null==e?void 0:e[s];return t?this.valueFromState(t):void 0}))}isExpired(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=t[0];return eK.shared().currentTime().pipe(tc(e=>{var t=this.getState(i);return void 0!==t&&t.expiration<e}))}cachePolicy(){return this.modelCachePolicy.getCachePolicy()}}function tw(e){return e.split("-")[0].toLowerCase()}function tP(){return+(Date.now()+""+Math.floor(9e3*Math.random()+1e3))}function tO(e){return e.split(".")[1].replace(/^www\.|\.[A-z]+|:[0-9]+/gm,"")}(t=s||(s={})).success=function(e){return{isSuccessful:!0,value:e,error:void 0}},t.failure=function(e){return{isSuccessful:!1,value:void 0,error:e}};class tx{constructor(){this.language=ey(()=>{var e=eH.S&&window.navigator?window.navigator.language:"en-US",t=e.match("^[a-z]{2}(_|-)[A-Z]{2}");if(t){var r=t.shift();r&&(e=r)}return eh(e.replace("_","-"))}).pipe(tn(1))}}tx.shared=(0,eA.G)(()=>new tx);var tG=r(324).Y,tA=r(268).A,tk={store:r(650).A,actions:tA};class t_{constructor(){var e=tG.shared().get(tk).store.getState().current||"en-US";this.languageSubject=new eZ(e),this.language=this.languageSubject.asObservable().pipe(tt())}setLanguage(e){this.languageSubject.next(e)}}t_.shared=(0,eA.G)(()=>new t_);var tI=e=>(e=>{var t=(e||"").trim();if(0!==t.length){var r=t.split(",").reduce((e,t)=>{var[r,i]=t.trim().split("=").map(e=>e.trim());return Object.assign({},e,{[r]:i||!0})},{}),i=parseInt(r["max-age"]);return isNaN(i)?i=0:i*=1e3,{maxAge:i,public:!!r.public,private:!!r.private,noStore:!!r["no-store"],noCache:!!r["no-cache"],mustReValidate:!!r["must-revalidate"]}}}
3)(e.getResponseHeader("Cache-Control"));function tD(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return e.pipe(tl(()=>t.forEach(e=>e.commit()),e=>t.forEach(t=>t.reject(e))))}}var tj=r(792),tC=r.n(tj),tU="__appdata",tL="persistence";class tH{constructor(e,t){var r=[];r.push(t||""),r.push(e||""),this.prefixes=r}getFullKey(e){return[...this.prefixes,e].filter(Boolean).join(".")}clear(e){return eG.defer(()=>{var t=localStorage.getItem(tU),r=t&&JSON.parse(t)||{},i=r[tL]||{};return delete i[this.getFullKey(e)],r[tL]=i,localStorage.setItem(tU,JSON.stringify(r)),eG.just(void 0)})}store(e,t){return eG.defer(()=>{var r=localStorage.getItem(tU),i=r&&JSON.parse(r)||{},s=i[tL]||{};return s[this.getFullKey(e)]=t,i[tL]=s,localStorage.setItem(tU,JSON.stringify(i)),eG.just(void 0)})}load(e){return eG.defer(()=>{var t=localStorage.getItem(tU),r=((t&&JSON.parse(t)||{})[tL]||{})[this.getFullKey(e)];return eG.just(void 0!==r?r:null)})}update(e,t){return this.load(e).pipe(tc(e=>null!=e?e:void 0),td(r=>{var i=t("object"==typeof r&&null!==r?Object.assign({},r):r);return tC()(r,i)?eG.just(i):this.store(e,i).pipe(tf(i))}))}}tH.shared=(0,eA.G)((e,t)=>new tH(e,t));var tR=["credits-operator","finance-operator","chat-operator","promoter","users-operator","supervisor","agencies-operator","commissions-operator","content-operator","curator","commissions-reviewer","stories-operator","bonuses-operator"],tM="active:roles";class tN{constructor(){this.data=ri.shared().data().pipe(eO(e=>e.roles?e.roles:[])),this.activeRolesState=new eZ(void 0),this.persistence=tH.shared(),this.activeRoles=e6([this.persistence.load(tM),this.activeRolesState,this.data]).pipe(eO(e=>{var[t,r,i]=e;return(void 0!==r?r:null!==t?t:[]).filter(e=>i.includes(e))}),tn(1)),this.userIsUsual=this.data.pipe(tt(tE()),eO(e=>!tR.some(t=>e.includes(t))),tt())}activate(e){return eG.zip(this.persistence.load(tM),this.data.toSingle()).pipe(td(t=>{var[r,i]=t,s=[];return r&&(s=r),!s.find(t=>t===e)&&i.find(t=>t===e)&&s.push(e),this.persistence.store(tM,s).pipe(tl(()=>this.activeRolesState.next(s)))}))}deactivate(e){return this.persistence.load(tM).pipe(td(t=>{var r=[];return t&&(r=t),r=r.filter(t=>t!==e),this.persistence.store(tM,r).pipe(tl(()=>this.activeRolesState.next(r)))}))}}tN.shared=(0,eA.G)(()=>new tN);var tz={second:1e3};tz.minute=60*tz.second,tz.hour=60*tz.minute,tz.day=24*tz.hour,tz.week=7*tz.day;var tF=Object.freeze(tz),tB=r(621),tq=r.n(tB),tW=5*tF.second,tX="event";class tV{constructor(e){this.source=e}addListener(e){this.source.addListener(tX,e)}removeListener(e){this.source.removeListener(tX,e)}}class tK{constructor(e,t,r,i,s){this.ws=null,this.retry=0,this.timer=null,this.isOpened=!1,this.close=()=>{this.closeWebSocket(),this.subscription.unsubscribe()},this.update=e=>{e!==this.userId&&(this.userId=e,this.isOpened&&this.closeWebSocket(),this.userId&&this.connect(this.userId))},this.makeUrl=e,this.api=t,this.additionalHeaders=r,this.maxRetry=i,this.fallback=s,this.eventEmitter=new(tq()),this.messages=new tV(this.eventEmitter),this.subscription=new g,this.subscription.add(ri.shared().data().pipe(eO(e=>e.id)).safeSubscribe(e=>this.update(e)))}connect(e,t){if(this.maxRetry&&++this.retry>this.maxRetry){this.fallback&&this.fallback();return}this.api.shards.get(e,{exclude:t},(t,r)=>{if(t||!r)return void this.reconnect(e,r&&r.shard);var i=this.makeUrl(r.key,r.shard),s=this.additionalHeaders?"function"==typeof this.additionalHeaders?this.additionalHeaders():this.additionalHeaders:void 0,n=new WebSocket(i,void 0,s&&{headers:s});this.ws=n,n.onopen=()=>{this.retry=0,this.isOpened=!0,this.onOpen&&this.onOpen()},n.onmessage=e=>{this.eventEmitter.emit(tX,e)},n.onerror=()=>{this.isOpened=!1,this.onClose&&this.onClose()},n.onclose=()=>{this.isOpened=!1,this.reconnect(e,r.shard),this.onClose&&this.onClose()}})}send(e){return!!this.ws&&!!this.isOpened&&(this.ws.send(e),!0)}reconnect(e,t){this.timer&&clearTimeout(this.timer),this.timer=setTimeout(()=>{this.connect(e,t)},tW)}closeWebSocket(){this.ws&&(this.timer&&clearTimeout(this.timer),this.timer=null,this.ws.onopen=null,this.ws.onmessage=null,this.ws.onerror=null,this.ws.onclose
3=null,this.ws.close(),this.ws=null,this.isOpened=!1,this.retry=0)}}class t${constructor(e,t,r){this.start=e=>{void 0!==e&&(this.token=e),this.shouldStop=!1,this.pollEvent()},this.stop=()=>{this.shouldStop=!0},this.isStarted=()=>!this.shouldStop,this.pollEvent=e=>{if(this.fetching||!this.userId){null==e||e(!1);return}this.fetching=!0;var t={"client-id":this.clientId};this.token&&(t.sync=this.token);var r=this.additionalHeaders?"function"==typeof this.additionalHeaders?this.additionalHeaders():this.additionalHeaders:{};this.api.events.get(this.userId,t,(t,r)=>{if(r&&r.length){var i;r.forEach(e=>{this.listener&&this.listener(e),e.sync&&(i=e.sync)}),i&&(this.token=i)}this.fetching=!1,null==e||e(!0),this.shouldStop||setTimeout(()=>{this.pollEvent()},2e3)},r)},this.api=eV.shared(),this.token=null,this.fetching=!1,this.shouldStop=!0,this.additionalHeaders=r,this.userId=e,this.clientId=t}setListener(e){this.listener=e}}class tJ{constructor(e){this.newEventSubject=new eJ,this.newEvent=this.newEventSubject}emit(e){this.newEventSubject.next({name:"x.event.dialogs.messages.added",payload:e})}}tJ.shared=(0,eA.G)(e=>new tJ(e));class tY{constructor(e){this.newFakeContactSubject=new eJ,this.newFakeContact=this.newFakeContactSubject.asObservable()}addFakeContact(e){this.newFakeContactSubject.next(e)}}tY.shared=(0,eA.G)(e=>new tY(e));class tZ{constructor(e){this.newEventSubject=new eJ,this.newEvent=this.newEventSubject.asObservable()}addEvent(e){this.newEventSubject.next(e)}}tZ.shared=(0,eA.G)(e=>new tZ(e));var tQ="event.received";class t0{get connectingToWebSocket(){return null!=this.connection&&"socket"!==this.connectionTypeSubject.getValue()}get active(){return this.activeSubject.pipe(tt())}constructor(e){this.timestamp=null,this.eventEmitter=new(tq()),this.connection=null,this.activeSubject=new eZ(!1),this.realmSubscriptions=null,this.fakeContactsSubscription=null,this.delayedMessagesSubscription=null,this.webSocketFinishedInitializing=new ti(1),this.processedDuringConnectionSyncs=[],this.realtimeDataShouldBeInvalidatedSubject=ne
3w eJ,this.realtimeDataShouldBeInvalidated=this.realtimeDataShouldBeInvalidatedSubject.asObservable(),this.initializedSubject=new eJ,this.initialized=this.initializedSubject.asObservable(),this.fakeContactsIds=[],this.eventsFilters=[],this.pendingEvents=new eJ,this.connectionTypeSubject=new eZ(null),this.connectionType=this.connectionTypeSubject.asObservable(),this.userId=e,this.getHost=eV.shared().host,this.maxRetry=3,this.webSocketConnectionEnabled=!0,this.eventEmitter.setMaxListeners(15),this.clientId=eX.shared(e).id}start(e){this.startDispatching(e),e.add(()=>{this.controlConnection(!1)}),e.add(this.active.safeSubscribe(e=>{e&&"number"==typeof this.disconnectedTime&&Date.now()-this.disconnectedTime>=t0.ttl?this.realtimeDataShouldBeInvalidatedSubject.next(void 0):e||(this.disconnectedTime=Date.now())}))}makeUrl(e,t,r){var i="wss://rt"+t+"."+r+"/"+e;return null==this.timestamp?i+"?client-id="+this.clientId:i+"?sync="+this.timestamp+"&client-id="+this.clientId}controlConnection(e){this.activeSubject.getValue()!==e&&(e?this.open():this.close())}open(){this.activeSubject.next(!0),this.processedDuringConnectionSyncs=[],this.startPolling(),this.webSocketConnectionEnabled&&(this.connection=new tK((e,t)=>this.makeUrl(e,t,this.getHost()),eV.shared(),eV.shared().additionalHeaders,this.maxRetry,()=>{this.closeSocket(),this.processedDuringConnectionSyncs=[],this.webSocketFinishedInitializing.next(void 0),this.startPolling()}),this.connection.onOpen=()=>{this.pollEvent(()=>{var e;this.setConnectionType("socket"),null==(e=this.eventsPoller)||e.setListener(void 0),this.stopPolling(),this.webSocketFinishedInitializing.next(void 0)})},this.connection.messages.addListener(e=>{if(e.data){var t=JSON.parse(e.data);this.onEvent(t)}})),this.realmSubscriptions=new g,this.realmSubscriptions.add(tJ.shared(this.userId).newEvent.subscribe(e=>{this.eventEmitter.emit(e.name,e.payload)})),this.delayedMessagesSubscription=new g,this.delayedMessagesSubscription.add(tZ.shared(this.userId).newEvent.safeSubscribe(e=>{this.dispatch({label:e.label,payload:e.payload,sync:""},e.label,e.payload)})),this.fakeContactsSubscription=new g,this.fakeContactsSubscription.add(tY.shared(this.userId).newFakeContact.subscribe(e=>{var t;this.fakeContactsIds.push(null==(t=e.payload)?void 0:t["sender-id"]),this.eventEmitter.emit("event.users.events.added",e)}))}onEvent(e){if("init"===e.type&&this.initializedSubject.next(),"sync.reset"===e.type){this.timestamp=null;return}if(!(e.sync&&this.processedDuringConnectionSyncs.indexOf(e.sync)>=0)){var t=e.label||e.type,r=e.payload||e.details||{},i=eV.shared().variable("user-id");if("message:message:v2"===t)r=r.recipient===i?eC(r,["text"]):r;else if("event.users.events.added"===t){var s,n,o,a=(null==(s=r)||null==(s=s.payload)?void 0:s["recipient-id"])===i;this.fakeContactsIds.includes(r["user-id"])&&"invitation"===r.type&&(r.type="message"),r=Object.assign({},a?eC(r,["text","subject"]):r,{payload:null!=(n=r)&&n.payload?Object.assign({},a?eC(r.payload,["text","subject"]):r.payload):null==(o=r)?void 0:o.payload})}else"event.users.events.staled"===t?this.fakeContactsIds.includes(r["user-id"])&&"invitation"===r.type&&(r.type="message"):"event.dialogs.letters.added"===t&&(r=r["recipient-id"]===i?eC(r,["text","subject"]):r);this.pendingEvents.next({event:e,label:t,payload:r}),e.sync&&(this.timestamp=e.sync,this.connectingToWebSocket&&this.processedDuringConnectionSyncs.push(e.sync))}}startDispatching(e){e.add(this.pendingEvents.pipe(e4(e=>this.eventAllowed(e.label,e.payload).pipe(eO(t=>({pending:e,allowed:t}))))).safeSubscribe(e=>{var{pending:t,allowed:r}=e;r&&this.dispatch(t.event,t.label,t.payload)}))}eventAllowed(e,t){return this.eventsFilters.reduce((r,i)=>r.pipe(e7(r=>r?i(e,t).pipe(eS(1)):eh(!1))),eh(!0))}dispatch(e,t,r){t&&this.eventEmitter.emit(t,r);var i=Object.assign({},e);e.payload?i.payload=r:e.details&&(i.details=r),this.eventEmitter.emit(tQ,i)}addEventsFilter(e){this.eventsFilters.push(e)}removeEventsFilter(e){var t=this.eventsFilters.indexOf(e);t>=0&&this.eventsFilters.splice(t,1)}close(){this.processedDuringConnectionSyncs=[],this.activeSubject.next(!1),this.realmSubscriptions&&this.realmSubscriptions.unsubscribe(),this.fakeContactsSubscription&&this.fakeContactsSubscription.unsubscribe(),this.delayedMessagesSubscription&&this.delayedMessagesSubscription.unsubscribe(),this.closeSocket(),this.stopPolling()}closeSocket(){this.connection&&(this.connection.close(),this.connection=null,"socket"===this.connectionTypeSubject.getValue()&&this.setConnectionType(null))}startPolling(){this.closeSocket(),this.eventsPoller||(this.eventsPoller=new t$(this.userId,this.clientId,eV.shared().additionalHeaders)),this.eventsPoller.stop(),this.eventsPoller.setListener(e=>this.onEvent(e)),this.eventsPoller.start(this.timestamp),this.setConnectionType("polling")}stopPolling(){this.eventsPoller&&this.eventsPoller.stop(),"polling"===this.connectionTypeSubject.getValue()&&this.setConnectionType(null)}addListener(e,t){return this.eventEmitter.addListener(e,t),{remove:()=>this.eventEmitter.removeListener(e,t)}}removeListener(e,t){this.eventEmitter.removeListener(e,t)}events(e){return new M(t=>this.addListener(e,e=>{t.next(e)}).remove)}addEventListener(e){return this.eventEmitter.addListener(tQ,e),{remove:()=>this.eventEmitter.removeListener(tQ,e)}}removeEventListener(e){this.eventEmitter.removeListener(tQ,e)}sendClientEvent(e,t){return ej(eV.shared().events.post,this.userId,{label:e.replace("ci:",""),payload:t}).pipe(tf(void 0))}pollEvent(e){this.eventsPoller&&this.eventsPoller.isStarted()?this.eventsPoller.pollEvent(e):null==e||e(!1)}setConnectionType(e){this.connectionTypeSubject.next(e)}disableWebsocketConnection(){this.webSocketFinishedInitializing.subscribe(()=>{this.webSocketConnectionEnabled=!1,this.startPolling()})}}t0.ttl=5*tF.minute,t0.shared=(0,eA.G)(e=>new t0(e)),(i=n||(n={})).NEXT="N",i.ERROR="E",i.COMPLETE="C";var t1=function(){function e(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}return e.prototype.observe=function(e){return function(e,t){var r,i,s,n=e.kind,o=e.value,a=e.error;if("string"!=typeof n)throw TypeError('Invalid notification, missing "kind"');"N"===n?null==(r=t.next)||r.call(t,o):"E"===n?null==(i=t.error)||i.call(t,a):null==(s=t.complete)||s.call(t)}(this,e)}
3,e.prototype.do=function(e,t,r){var i=this.kind,s=this.value,n=this.error;return"N"===i?null==e?void 0:e(s):"E"===i?null==t?void 0:t(n):null==r?void 0:r()},e.prototype.accept=function(e,t,r){return p(null==e?void 0:e.next)?this.observe(e):this.do(e,t,r)},e.prototype.toObservable=function(){var e=this.kind,t=this.value,r=this.error,i="N"===e?eh(t):"E"===e?ep(function(){return r}):"C"===e?Q:0;if(!i)throw TypeError("Unexpected notification kind "+e);return i},e.createNext=function(t){return new e("N",t)},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e}();class t2{constructor(e){this.jobs=new eJ,this.jobs.pipe(e9(e=>this.execute(e))).safeSubscribe()}enqueue(e){return new eG(t=>{this.jobs.next({operation:()=>e().asObservable(),success:e=>t.success(e),error:e=>t.error(e)})})}execute(e){return ey(e.operation).pipe(ea(function(e,t){e.subscribe(ee(t,function(e){t.next(t1.createNext(e))},function(){t.next(t1.createComplete()),t.complete()},function(e){t.next(t1.createError(e)),t.complete()}))}),tT(t=>this.settle(e,t)),ea(function(e,t){e.subscribe(ee(t,P))}))}settle(e,t){"N"===t.kind?e.success(t.value):"E"===t.kind&&e.error(t.error)}}t2.shared=(0,eA.G)(e=>new t2(e));var t3=5*tF.minute,t5="persistence";class t6 extends tS{constructor(e,t){super("persistence.remote",t,()=>this.requestData()),this.userId=t,this.scope=e}requestData(){return(function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return new eG(t=>{var i=e(...r,(e,r,i)=>e?t.error(eD(i,e)):t.success({data:r,xhr:i}));return()=>{try{null==i||null===i.abort||void 0===i.abort||i.abort()}catch(e){}}})})(eV.shared().analytics.storage.get,this.userId,t5).pipe(tc(e=>{var t,{data:r,xhr:i}=e;return{data:t6.deserialize(r),ttl:(null==(t=tI(i))?void 0:t.maxAge)||t3}}))}store(e,t){return eG.defer(()=>{var r=r=>Object.assign({},r,{[this.scope]:Object.assign({},r[this.scope],{[e]:t})}),i=this.addOptimisticStateTransformation(r);return t2.shared(this.userId).enqueue(()=>eG.defer(()=>this.write(r)).pipe(tD(i),td(e=>e?t0.shared(this.userId).sendClientEvent("ci:event.remote.persistence.updated",{sender:this.userId,scope:this.scope}):eG.just())))})}write(e){return this.baseData(void 0).toSingle().pipe(td(t=>{var r=e(t);return tE()(t,r)?eG.just(!1):ej(eV.shared().analytics.storage.put,this.userId,t5,t6.serialize(r)).pipe(tf(!0))}))}load(e){return this.data().toSingle().pipe(tc(t=>{var r,i;return null!=(r=null==(i=t[this.scope])?void 0:i[e])?r:null}))}update(e,t){return this.load(e).pipe(tc(e=>null!=e?e:void 0),td(r=>{var i=t("object"==typeof r&&null!==r?Object.assign({},r):r);return tE()(r,i)?eG.just(i):this.store(e,i).pipe(tf(i))}))}static serialize(e){return{[t5]:JSON.stringify(e)}}static deserialize(e){var t={};if(e[t5])try{t=JSON.parse(e[t5])}catch(e){}return t}dataUpdates(e){return t0.shared(this.userId).events("ci:event.remote.persistence.updated").pipe(e7(()=>this.requestData().asObservable()))}shouldRefreshData(){return t0.shared(this.userId).realtimeDataShouldBeInvalidated.pipe(ex(()=>!0))}}t6.shared=(0,eA.G)((e,t)=>new t6(e,t));class t4 extends tS{constructor(e){super("user.tags.targeted",e,t=>new eG(r=>{eV.shared().v2.users.targeted.tags.get(e,t,(e,t)=>{e?r.error(e):r.success({data:(null==t?void 0:t.tags)||[],ttl:Number.MAX_SAFE_INTEGER})})})),this.refreshSubject=new ti(1),this.userId=e}dataUpdates(e){return e8(t0.shared(this.userId).events("event.users.tags.set").pipe(e9(t=>t["holder-id"]&&t["holder-id"]===this.userId&&t["user-id"]&&t.tag?e(t["user-id"]).pipe(eS(1),tu(),eO(e=>({options:t["user-id"],data:[...e.data.filter(e=>e!==t.tag),t.tag],ttl:Number.MAX_SAFE_INTEGER}))):Q)),t0.shared(this.userId).events("event.users.tags.unset").pipe(e9(t=>t["holder-id"]&&t["holder-id"]===this.userId&&t["user-id"]&&t.tag?e(t["user-id"]).pipe(eS(1),tu(),eO(e=>({options:t["user-id"],data:e.data.filter(e=>e!==t.tag),ttl:Number.MAX_SAFE_INTEGER}))):Q)))}shouldRefreshData(){return e8(t0.shared(this.userId).realtimeDataShouldBeInvalidated,this.refreshSubject).pipe(ex(()=>!0))}setStateIfNotFilled(e,t,r){return void 0===r?super.setStateIfNotFilled(e,t,Number.MAX_SAFE_INTEGER):super.setStateIfNotFilled(e,t,r)}refresh(){this.refreshSubject.next(void 0)}addTag(e,t){return eG.defer(()=>{var r=this.addOptimisticStateTransformation(e=>[...e.filter(e=>e!==t),t],e);return ej(eV.shared().v2.users.targeted.tags.post,this.userId,e,{tag:t}).pipe(tD(r))})}deleteTag(e,t){return eG.defer(()=>{var r=this.addOptimisticStateTransformation(e=>e.filter(e=>e!==t),e);return ej(eV.shared().users.targeted.tags.delete,this.userId,e,t).pipe(tD(r))})}}t4.shared=(0,eA.G)(e=>new t4(e));var t8="user-blocking",t7="blockedUsers";class t9 extends tS{constructor(e){super("users.blocking",e,()=>tH.shared(t8,e).load(t7).pipe(td(e=>{var t,r=null!=(t=this.parseBlockedUserIds(e))?t:[];return eG.just({data:r,ttl:0}
3)}))),this.refreshSubject=new ti(1),this.userId=e}dataUpdates(){return t6.shared(t8,this.userId).data().pipe(eO(e=>{var t;return this.parseBlockedUserIds(null==(t=e[t8])?void 0:t[t7])}),tu(),tT(e=>{tH.shared(t8,this.userId).store(t7,e).safeSubscribe()}),eO(e=>({data:e,ttl:0})))}parseBlockedUserIds(e){return Array.isArray(e)?e:"string"==typeof e?e.split(","):null}shouldRefreshData(){return this.refreshSubject.pipe(ex(()=>!0))}storeBlockedUser(e,t){return this.data().toSingle().pipe(td(r=>(t?-1===r.indexOf(e)&&r.push(e):-1!==r.indexOf(e)&&(r=r.filter(t=>t!==e)),t6.shared(t8,this.userId).store(t7,r).pipe(tf(r)))),td(e=>tH.shared(t8,this.userId).store(t7,e)),tl(()=>this.refreshSubject.next()))}addToBlockingList(e){return this.storeBlockedUser(e,!0)}blockUser(e){return t4.shared(this.userId).addTag(e,"blocked").pipe(td(()=>this.storeBlockedUser(e,!0)),tp(e=>eG.just()))}unblockUser(e){return t4.shared(this.userId).deleteTag(e,"blocked").pipe(tp(()=>eG.just()),td(()=>this.storeBlockedUser(e,!1)),tp(()=>eG.just()))}}t9.shared=(0,eA.G)(e=>new t9(e));var re=5*tF.minute,rt=2*tF.second;class rr extends tS{constructor(e){super("user.profile",e,()=>this.getUserProfile()),this.pendingRequest=null,this.refreshSubject=new eJ,this.patch=e=>e6([this.canEdit,ri.shared().data()]).pipe(te(e=>{var[t,r]=e;return!!r.id}),eS(1),e7(t=>{var[r,i]=t,n=r&&i.id!==this.userId?eV.shared().users.extended.patch:eV.shared().users.patch,o=this.addOptimisticStateTransformation(t=>{if(t.isSuccessful){var r;try{r=JSON.parse(JSON.stringify(e))}catch(e){r={}}return s.success(Object.assign({},t.value,r))}return t});return(function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return new M(t=>{var i=e(...r,(e,r,i)=>e?t.error(eD(i,e)):(t.next(r),t.complete()));return()=>{try{null==i||null===i.abort||void 0===i.abort||i.abort()}catch(e){}}})})(n,this.userId,e).pipe(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){return e.pipe(tT(()=>t.forEach(e=>e.commit()),e=>t.forEach(t=>t.reject(e))))}}(o),ex(void 0))})),this.actualize=e=>{var t=this.getState();void 0===t?console.warn("Empty user.profile model state of user "+this.userId+" cannot be actualized"):t.data.isSuccessful?this.setState(s.success(Object.assign({},t.data.value,e)),t.expiration):console.warn("Unsuccessful user.profile model state of user "+this.userId+" cannot be actualized")},this.userId=e,this.userIsOperator=tN.shared().activeRoles.pipe(eO(e=>!!e.find(e=>"users-operator"===e)),tt(),tn(1)),this.canEdit=e6([this.userIsOperator,ri.shared().data()]).pipe(eO(t=>{var[r,i]=t;return i.id===e||r}),tn(1))}getUserProfile(e){if(this.pendingRequest)return this.pendingRequest;var t=ri.shared().data().pipe(te(e=>!!e.id));return this.pendingRequest=e6([this.userIsOperator,this.canEdit,t,t.pipe(e7(e=>t9.shared(e.id).data()))]).toSingle().pipe(td(t=>{var[r,i,n,o]=t;if(o.includes(this.userId))return eG.just({data:s.failure("suspended"),ttl:0});var a=n.id===this.userId?eV.shared().users.private:i?eV.shared().users.extended:eV.shared().users;return new eG(t=>{a.get(this.userId,(e,n,a)=>{var u,d=tI(a),c=r?rt:(null==d?void 0:d.maxAge)||0,l=r?rt:(null==d?void 0:d.maxAge)||30*tF.second;o.includes(this.userId)?t.success({data:s.failure("suspended"),ttl:c}):e&&404===e.status?t.success({data:s.failure("not-found"),ttl:0}):e&&(410===e.status||400===e.status&&"useridentity"===e.src)?t.success({data:s.failure("suspended"),ttl:c}):!e&&n?null!=(u=n.tags)&&u.includes("users.suspended")&&!i?t.success({data:s.failure("suspended"),ttl:c}):t.success({data:s.success(n),ttl:l}):t.error(e)}).preload=!!(e&&e.preload)})}),th(()=>{this.pendingRequest=null}),tv()),this.pendingRequest}preloadData(){var e=this.getState();return e?eG.just(e.data):this.getUserProfile({preload:!0}).pipe(tl(e=>{e.data.isSuccessful&&this.setStateIfNotFilled(e.data,e.ttl)}),tc(e=>e.data))}data(){return ey(()=>{var e=super.data(),t=this.canEdit.pipe(tt(),to(1),ex(void 0));return e8([eh(void 0),t]).pipe(e7(()=>e))})}shouldRefreshData(){return e8([this.refreshSubject.asObservable(),ri.shared().data().pipe(eO(e=>e.id),tt())]).pipe(ex(()=>!0))}setStateIfNotFilled(e,t){return"number"==typeof t?super.setStateIfNotFilled(e,t):e6([this.canEdit,this.userIsOperator]).toSingle().pipe(td(t=>{var[r,i]=t;return r?eG.just(!1):super.setStateIfNotFilled(e,i?rt:re)}))}refresh(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&this.resetTtl(),this.refreshSubject.next()}resetTtl(){var e=this.getState(),t=null==e?void 0:e.data;t&&this.setState(t,0)}}rr.shared=(0,eA.G)(e=>new rr(e));class ri extends tS{constructor(){super("identity","default",()=>eG.just({data:{},ttl:Number.MAX_SAFE_INTEGER})),this.actualize=e=>{this.actualizeApi(e);var t=this.getState();this.setState(Object.assign({},t?t.data:{},e),t?t.expiration:Number.MAX_SAFE_INTEGER)},this.setState({},void 0,Number.MAX_SAFE_INTEGER)}cachePolicy(){return"cache-data-dont-load"}createApi(e){var t=eV.create();e&&t.setBaseHost(e);var r=eV.shared().augment("x-facility");return r&&t.augment("x-facility",r),t}signIn(e){var t;switch(e.type){case"token":t=this.signInViaToken(e.data);break;case"credentials":t=this.signInViaCredentials(e.data);break;case"oauth2":t=this.signInViaOauth2(e.data)}return t.pipe(tl(e=>this.actualize(e)),tc(e=>s.success(e)),tp(e=>401===e.status?eG.just(s.failure("unauthorized")):403===e.status?eG.just(s.failure("forbidden")):eG.error(e)))}signInViaToken(e){return new eG(t=>{var r=this.createApi(e.baseHost);r.authorize.token(e.token),r.identity.get((r,i,s)=>{if(r)return void t.error(r);var n,o=ri.getTokenFromXhr(s),a=Object.assign({},i,{token:null!=o?o:e.token,authorizationMethod:"signin:token",authorizationAction:"signin",demo:!!i&&(n=i.email,RegExp("([0-9])-demo@"+tO(eV.shared().getBaseHost())+".(.*?)","i").test(n)),authTime:new Date,product:e.product,baseHost:e.baseHost});t.success(a)})})}signInViaCredentials(e){var t=e.email.trim();return new eG(r=>{var i=this.createApi(e.baseHost);i.authorize.basic(t,e.password),i.identity.get((t,i,s)=>{if(t)return void r.error(t);var n=ri.getTokenFromXhr(s);r.success(Object.assign({},i,{token:null!=n?n:void 0,authorizationMethod:"signin:password",authorizationAction:"signin",demo:!1,authTime:new Date,product:e.product,baseHost:e.baseHost}))})})}authorizeViaOauth2(e,t,r){"facebook"===t?e.authorize.facebook(r):e.authorize(t,r)}signInViaOauth2(e){return new eG(t=>{var r=this.createApi();this.authorizeViaOauth2(r,e.system,e.token),r.identity.get((r,i,s)=>{if(r)return void t.error(r);var n=ri.getTokenFromXhr(s);t.success(Object.assign({},i,{token:null!=n?n:void 0,authorizationMethod:"signin:"+e.system,authorizationAction:"signin",demo:!1,authTime:new Date}))})})}signUp(e){var t;switch(e.type){case"credentials":t=this.signUpViaCredentials(e.data).pipe(tl(e=>this.actualizeApi(e)),td(e=>ri.updateUserProfileDataModel(e)),tl(e=>this.actualize(e)));break;case"email":t=this.signUpViaEmail(e.data).pipe(tl(e=>this.actualizeApi(e)),td(e=>ri.updateUserProfileDataModel(e)),tl(e=>this.actualize(e)));break;case"oauth2":t=this.signUpViaOauth2(e.data).pipe(tl(e=>this.actualizeApi(e)),td(e=>ri.updateUserProfileDataModel(e)),tl(e=>this.actualize(e)));break;case"anonymous":t=this.signUpAsAnonymous().pipe(tl(e=>this.actualize(e)))}return t.pipe(tc(e=>s.success(e)),tp(e=>"emailAlreadyTaken"===e?eG.just(s.failure(e)):"string"!=typeof e&&400===e.status&&"email"===e.src?eG.just(s.failure("emailAlreadyTaken")):eG.error(e)))}signUpViaEmail(e){return eG.defer(()=>
3{var t=e.email.trim(),r=new eG(r=>{this.createApi().identity.register({email:t,mode:"passwordless"},(t,i,s)=>{if(t)return void r.error(t);var n=ri.getTokenFromXhr(s);r.success(Object.assign({},i,{name:e.name,birthday:e.birthday,token:n||void 0,authorizationMethod:"signup:email",authorizationAction:"signup",demo:!1,authTime:new Date}))})}),i=this.patch({email:t,mode:"passwordless"}).pipe(td(r=>r.isSuccessful?eG.just({email:t,name:e.name,birthday:e.birthday,authorizationMethod:"signup:email",authorizationAction:"signup",demo:!1,authTime:new Date}):eG.error(r.error)));return this.data().toSingle().pipe(td(e=>e.id&&e.demo?i:r))})}signUpViaCredentials(e){return eG.defer(()=>{if(e.password.length<6)return eG.error(Error("password too short"));var t=e.email.trim(),r=new eG(r=>{var i=this.createApi();i.authorize.basic(t,e.password),i.identity.register({email:t,password:e.password},(t,i,s)=>{if(t)return void r.error(t);var n=ri.getTokenFromXhr(s);r.success(Object.assign({},i,{name:e.name,birthday:e.birthday,token:n||void 0,authorizationMethod:"signup:password",authorizationAction:"signup",demo:!1,authTime:new Date}))})}),i=this.patch({email:t,password:e.password}).pipe(td(r=>r.isSuccessful?eG.just({email:t,password:e.password,name:e.name,birthday:e.birthday,authorizationMethod:"signup:password",authorizationAction:"signup",demo:!1,authTime:new Date}):eG.error(r.error)));return this.data().toSingle().pipe(td(e=>e.id&&e.demo?i:r))})}registerFacebookPipeline(e,t){var r={email:e,mode:"passwordless"};return new eG(e=>{eV.shared().identity.put(r,(r,i,s)=>{if(r)return void e.error(r);var n,o=null!=(n=ri.getTokenFromXhr(s))?n:void 0;e.success(Object.assign({},i,{token:o,authorizationMethod:t,authorizationAction:"signup",demo:!1,authTime:new Date}))})})}signUpViaOauth2(e){return eG.defer(()=>{var t=e.system+"://"+e.token,r="facebook"===e.system?this.registerFacebookPipeline(t,"signup:"+e.system):new eG(r=>{this.createApi().identity.register({email:t},(t,i,s)=>{if(t)return void r.error(t);var n=ri.getTokenFromXhr(s);r.success(Object.assign({},i,{token:null!=n?n:void 0,authorizationMethod:"signup:"+e.system,authorizationAction:"signup",demo:!1,authTime:new Date}))})}),i=()=>"facebook"===e.system?this.registerFacebookPipeline(t,"signup:"+e.system):new eG(r=>{eV.shared().identity.patch({email:t},(t,i,s)=>{t?r.error(t):eV.shared().identity.get((t,i)=>{if(t)return void r.error(t);var n=ri.getTokenFromXhr(s);r.success(Object.assign({},i,{token:null!=n?n:void 0,authorizationMethod:"signup:"+e.system,authorizationAction:"signup",demo:!1,authTime:new Date}))})})}),s=this.data().toSingle().pipe(td(e=>e.id&&e.demo&&e.token?i():r));return this.signIn({type:"oauth2",data:e}).pipe(td(e=>e.isSuccessful?eG.error("authorized"):s))})}signUpAsAnonymous(){return eG.defer(()=>{var e,t={email:(e=eV.shared().getBaseHost(),tP()+"-demo@"+tO(e)+".com"),password:tP().toString()};return this.signUpViaCredentials(t).pipe(tc(e=>Object.assign({},e,{demo:!0})))})}signUpWithPreSignIn(e){var t={type:"credentials",data:{email:e.data.email,password:e.data.password}};return this.signIn(t).pipe(td(t=>t.isSuccessful?eG.just(s.failure("authorized")):this.signUp(e)))}put(e){return new eG(t=>{eV.shared().identity.put(e,(r,i,s)=>{if(r)return void t.error(r);var n=ri.getTokenFromXhr(s);t.success(Object.assign({token:null!=n?n:void 0},e))})}).pipe(tc(e=>(this.actualize(e),s.success(void 0))),tp(e=>400===e.status&&"email"===e.src?eG.just(s.failure("emailAlreadyTaken")):eG.error(e)))}patch(e){return new eG(t=>{eV.shared().identity.patch(e,(r,i,s)=>{if(r)return void t.error(r);var n=ri.getTokenFromXhr(s);t.success(Object.assign({token:null!=n?n:void 0},e))})}).pipe(td(e=>!e.password||e.token?eG.just(e):this.data().toSingle().pipe(td(t=>e.email||t.email?new eG(r=>{var i=e.email||t.email,s=e.password,n=this.createApi();n.authorize.basic(i,s),n.identity.get((t,i,s)=>{if(t)return void r.success(e);var n=ri.getTokenFromXhr(s);r.success(Object.assign({},e,{token:null!=n?n:void 0}))})}):eG.just(e)))),tc(e=>(this.actualize(e),s.success(void 0))),tp(e=>400===e.status&&"email"===e.src?eG.just(s.failure("emailAlreadyTaken")):eG.error(e)))}recover(e){var{email:t,baseHost:r}=e;return ej(this.createApi(r).reminders.password.post,{type:"password",email:t}).pipe(tc(()=>s.success(void 0)))}linkOauthAccount(e){var t=eV.shared();return this.authorizeViaOauth2(t,e.system,e.token),ej(t.identity.get)}signOut(){return eG.just(void 0).pipe(tl(()=>this.setState({},Number.MAX_SAFE_INTEGER)))}requestAuthorization(e){return ej(this.createApi(e.data.baseHost).reminders.passwordless.post,{email:e.data.email}).pipe(tc(()=>s.success(void 0)),tp(()=>eG.just(s.failure("forbidden"))))}static updateUserProfileDataModel(e){var t={};e.name?t.name=e.name.trim():t.name="",e.birthday&&(t.birthday=e.birthday);var r=eV.shared().variable("user-id");return e6([t_.shared().language,tx.shared().language]).toSingle().pipe(tc(e=>{var[r,i]=e;return Object.assign({},t,{"system-language":tw(r),"browser-language":tw(i)})}),td(e=>ej(eV.shared().users.patch,r,e).pipe(tl(()=>rr.shared(r).actualize({"system-language":e["system-language"],"browser-language":e["browser-language"]})))),tf(e))}static getTokenFromXhr(e){return e.getResponseHeader("X-Token")}actualizeApi(e){e.baseHost&&eV.shared().setBaseHost(e.baseHost),e.token&&eV.shared().authorize.token(e.token),e.id&&(eV.shared().variable("user-id",e.id),eV.shared().augment("X-Cl
3ient-Instance",""+eX.shared(e.id).id))}}ri.shared=(0,eA.G)(()=>new ri);let rs={setItem:function(){return null},getItem:function(){return null}};var rn=JSON.parse('{"E":"__appdata","q":["showed","token","afid","subafid","afid2","subid2","saved-afid","saved-subafid","hints","apple-popup-showed","apps-notification-showed","toggle.mem:roles","list.mem:roles","re-registration","tips","search","overlay","preregistration","purchase-data","email-confirmation-form","blocked-sound","letter-drafts","identity","experimental","referrer","rmc","real-email","offer-id","transaction-id","analytics-markers","saved-analytics-markers","smiles-intro-shown","fingerprints","facebookId","web-notifications","googleId","language","user-id","logged-in","utm","registered","ref","invite","video-invite","q","tags","presents-intro-shown","selected-presents","preferences","previous-credits-pack","instance","contacts-birthday-read","contacted-wellknown","auto-purchase-settings","purchase","draggable","nocam","contacts-cache","video-outgoung-enabled","analytics-storage","personalized-search","stories-is-muted","boot-parameters","gdpr","profile","features","persistence","web-push-notification","tracker","camera-player-enabled","cheers-introduction-tip-showed"]}');function ro(e,t){this.storage=e,this.name=t,this.set(this.get())}function ra(e){this.storage.setItem(this.name,JSON.stringify(e)),this.emit("change",e)}ro.prototype=new(tq()).EventEmitter,ro.prototype.hasItem=function(e){return this.get().hasOwnProperty(e)},ro.prototype.setItem=function(e,t){var r;-1!==rn.q.indexOf(e)&&((r=this.get())[e]=t,ra.call(this,r))},ro.prototype.getItem=function(e){return this.get()[e]},ro.prototype.removeItem=function(e){var t=this.get();delete t[e],ra.call(this,t)},ro.prototype.clear=function(){ra.call(this,{})},ro.prototype.get=function(){try{var e=JSON.parse(this.storage.getItem(this.name)||"{}");if(null===e)return this.clear(),{};return e}catch(e){return this.clear(),{}}},ro.prototype.set=function(e){var t;ra.call(this,(t={},Object.keys(e).forEach(function(r){-1!==rn.q.indexOf(r)&&(t[r]=e[r])}),t))};let ru=function(e,t){return new ro(e,t||rn.E)},rd=ru("u">typeof window?window.localStorage:rs),rc=ru("u">typeof window?window.localStorage:rs,"global");var{defaultLocale:rl,supportedLocales:rh,apiHost:rp}=window.__INTEGRATION__;function rf(e){var t=window.location;rc.setItem("language",e),window.location.replace("/"+e+t.pathname+(t.search||"")+function(e){if(!e)return document.referrer?"#referrer="+document.referrer:"";var t=new URLSearchParams(e.substring(1));return!t.has("referrer")&&document.referrer&&t.set("referrer",document.referrer),"#"+t.toString()}(t.hash))}function rv(e){return ri.shared().signIn({type:"token",data:{token:e}}).pipe(td(e=>e.isSuccessful&&e.value.id?(rd.setItem("identity",e.value),rr.shared(e.value.id).data().toSingle().pipe(tc(e=>e.isSuccessful?e.value["system-language"]:void 0))):eG.just(void 0)))}eI.inject(rp),eG.defer(()=>{var e=new URLSearchParams(window.location.hash.substr(1)).get("token");if(e)return rv(e);var t=rd.getItem("identity");if("string"==typeof t)try{t=JSON.parse(t)}catch(e){}return t&&t.token?rv(t.token):eG.just(void 0)}).pipe(tc(e=>{if(e)return e;var t=rc.getItem("language");return t?t.split("-")[0]:rl})).subscribe(e=>{rh.find(t=>t.split("-")[0]===e)?rf(e):rf(rl)},()=>{rf(rl)})})(),client={}})(); 4//# sourceMappingURL=sourcemaps/locale-redirect.31c78ca49dbbf11b.js.map 5//# debugId=cf4984a9-273e-525e-bc7d-1b2f8333a717
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.