!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=179)}([function(e,t,n){var r=n(155);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},function(e,t,n){var r=n(42),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t,n){var r,o;/*! * JavaScript Cookie v2.2.1 * https://github.com/js-cookie/js-cookie * * Copyright 2006, 2015 Klaus Hartl & Fagner Brack * Released under the MIT license */!function(i){if(void 0===(o="function"==typeof(r=i)?r.call(t,n,t,e):r)||(e.exports=o),!0,e.exports=i(),!!0){var a=window.Cookies,s=window.Cookies=i();s.noConflict=function(){return window.Cookies=a,s}}}(function(){function e(){for(var e=0,t={};es)&&void 0===e.nsecs&&(d=0),d>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=g,u=d,o=p;var m=(1e4*(268435455&(g+=122192928e5))+d)%4294967296;l[c++]=m>>>24&255,l[c++]=m>>>16&255,l[c++]=m>>>8&255,l[c++]=255&m;var y=g/4294967296*1e4&268435455;l[c++]=y>>>8&255,l[c++]=255&y,l[c++]=y>>>24&15|16,l[c++]=y>>>16&255,l[c++]=p>>>8|128,l[c++]=255&p;for(var b=0;b<6;++b)l[c+b]=f[b];return t||a(l)}},function(e,t,n){var r=n(27),o=n(28);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var s=-1,u=t.length;++s=0;l--)"."===(a=u[l])?u.splice(l,1):".."===a?c++:c>0&&(""===a?(u.splice(l+1,c),c=0):(u.splice(l,2),c--));return""===(n=u.join("/"))&&(n=s?"/":"."),r?(r.path=n,i(r)):n}t.urlParse=o,t.urlGenerate=i,t.normalize=a,t.join=function(e,t){""===e&&(e="."),""===t&&(t=".");var n=o(t),s=o(e);if(s&&(e=s.path||"/"),n&&!n.scheme)return s&&(n.scheme=s.scheme),i(n);if(n||t.match(r))return t;if(s&&!s.host&&!s.path)return s.host=t,i(s);var u="/"===t.charAt(0)?t:a(e.replace(/\/+$/,"")+"/"+t);return s?(s.path=u,i(s)):u},t.isAbsolute=function(e){return"/"===e.charAt(0)||!!e.match(n)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var s=!("__proto__"in Object.create(null));function u(e){return e}function c(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function l(e,t){return e===t?0:e>t?1:-1}t.toSetString=s?u:function(e){return c(e)?"$"+e:e},t.fromSetString=s?u:function(e){return c(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,n){var r=e.source-t.source;return 0!==r?r:0!==(r=e.originalLine-t.originalLine)?r:0!==(r=e.originalColumn-t.originalColumn)||n?r:0!==(r=e.generatedColumn-t.generatedColumn)?r:0!==(r=e.generatedLine-t.generatedLine)?r:e.name-t.name},t.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r?r:0!==(r=e.generatedColumn-t.generatedColumn)||n?r:0!==(r=e.source-t.source)?r:0!==(r=e.originalLine-t.originalLine)?r:0!==(r=e.originalColumn-t.originalColumn)?r:e.name-t.name},t.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n?n:0!==(n=e.generatedColumn-t.generatedColumn)?n:0!==(n=l(e.source,t.source))?n:0!==(n=e.originalLine-t.originalLine)?n:0!==(n=e.originalColumn-t.originalColumn)?n:l(e.name,t.name)}},function(e,t,n){var r=n(147);e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},function(e,t,n){var r=n(73),o=n(74),i=n(75),a=n(76),s=n(77);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=n}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,n){(function(e){var r=n(42),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,n(30)(e))},function(e,t,n){var r=n(112),o=n(52),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),function(t){return i.call(e,t)}))}:o;e.exports=s},function(e,t,n){var r=n(49)(Object.getPrototypeOf,Object);e.exports=r},function(e,t,n){var r=n(122);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},function(e,t,n){var r=n(4),o=n(148),i=n(149),a=n(152);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},function(e,t,n){var r=n(7),o=n(5),i="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||o(e)&&r(e)==i}},function(e,t,n){var r=n(39),o=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}},function(e,t,n){var r=n(14),o=n(78),i=n(79),a=n(80),s=n(81),u=n(82);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=u,e.exports=c},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(43))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,n){var r=n(89),o=n(96),i=n(98),a=n(99),s=n(100);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},s.prototype._serializeMappings=function(){for(var e,t,n,i,a=0,s=1,u=0,c=0,l=0,f=0,p="",h=this._mappings.toArray(),g=0,d=h.length;g0){if(!o.compareByGeneratedPositionsInflated(t,h[g-1]))continue;e+=","}e+=r.encode(t.generatedColumn-a),a=t.generatedColumn,null!=t.source&&(i=this._sources.indexOf(t.source),e+=r.encode(i-f),f=i,e+=r.encode(t.originalLine-1-c),c=t.originalLine-1,e+=r.encode(t.originalColumn-u),u=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=r.encode(n-l),l=n)),p+=e}return p},s.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=o.relative(t,e));var n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null},this)},s.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},s.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=s},function(e,t,n){var r=n(172);t.encode=function(e){var t,n="",o=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&o,(o>>>=5)>0&&(t|=32),n+=r.encode(t)}while(o>0);return n},t.decode=function(e,t,n){var o,i,a,s,u=e.length,c=0,l=0;do{if(t>=u)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(i=r.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));o=!!(32&i),c+=(i&=31)<>1,1==(1&a)?-s:s),n.rest=t}},function(e,t,n){var r=n(12),o=Object.prototype.hasOwnProperty;function i(){this._array=[],this._set=Object.create(null)}i.fromArray=function(e,t){for(var n=new i,r=0,o=e.length;r=0&&e{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const o="string"==typeof n&&n.includes(e.arrayFormatSeparator),i="string"==typeof n&&!o&&u(n,e).includes(e.arrayFormatSeparator);n=i?u(n,e):n;const a=o||i?n.split(e.arrayFormatSeparator).map(t=>u(t,e)):null===n?n:u(n,e);r[t]=a};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const o of e.split("&")){let[e,a]=i(t.decode?o.replace(/\+/g," "):o,"=");a=void 0===a?null:["comma","separator"].includes(t.arrayFormat)?a:u(a,t),n(u(e,t),a,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=f(n[e],t);else r[e]=f(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((e,t)=>Number(e)-Number(t)).map(e=>t[e]):t}(n):e[t]=n,e},Object.create(null))}t.extract=l,t.parse=p,t.stringify=(e,t)=>{if(!e)return"";a((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&(e=>null==e)(e[n])||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[s(t,e),"[",o,"]"].join("")]:[...n,[s(t,e),"[",s(o,e),"]=",s(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[s(t,e),"[]"].join("")]:[...n,[s(t,e),"[]=",s(r,e)].join("")];case"comma":case"separator":return t=>(n,r)=>null==r||0===r.length?n:0===n.length?[[s(t,e),"=",s(r,e)].join("")]:[[n,s(r,e)].join(e.arrayFormatSeparator)];default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,s(t,e)]:[...n,[s(t,e),"=",s(r,e)].join("")]}}(t),o={};for(const t of Object.keys(e))n(t)||(o[t]=e[t]);const i=Object.keys(o);return!1!==t.sort&&i.sort(t.sort),i.map(n=>{const o=e[n];return void 0===o?"":null===o?s(n,t):Array.isArray(o)?o.reduce(r(n),[]).join("&"):s(n,t)+"="+s(o,t)}).filter(e=>e.length>0).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=i(e,"#");return Object.assign({url:n.split("?")[0]||"",query:p(l(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:u(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0},n);const r=c(e.url).split("?")[0]||"",o=t.extract(e.url),i=t.parse(o,{sort:!1}),a=Object.assign(i,e.query);let u=t.stringify(a,n);u&&(u=`?${u}`);let l=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(l=`#${s(e.fragmentIdentifier,n)}`),`${r}${u}${l}`}},function(e,t,n){var r=n(161),o=n(162);e.exports=function(e,t){return null!=e&&o(e,t,r)}},function(e,t,n){"use strict";(function(t){var r=n(163),o=n(164),i=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,a=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\S\s]*)/i,s=new RegExp("^[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]+");function u(e){return(e||"").toString().replace(s,"")}var c=[["#","hash"],["?","query"],function(e){return e.replace("\\","/")},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],l={hash:1,query:1};function f(e){var n,r=("undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{}).location||{},o={},a=typeof(e=e||r);if("blob:"===e.protocol)o=new h(unescape(e.pathname),{});else if("string"===a)for(n in o=new h(e,{}),l)delete o[n];else if("object"===a){for(n in e)n in l||(o[n]=e[n]);void 0===o.slashes&&(o.slashes=i.test(e.href))}return o}function p(e){e=u(e);var t=a.exec(e);return{protocol:t[1]?t[1].toLowerCase():"",slashes:!!t[2],rest:t[3]}}function h(e,t,n){if(e=u(e),!(this instanceof h))return new h(e,t,n);var i,a,s,l,g,d,v=c.slice(),m=typeof t,y=this,b=0;for("object"!==m&&"string"!==m&&(n=t,t=null),n&&"function"!=typeof n&&(n=o.parse),t=f(t),i=!(a=p(e||"")).protocol&&!a.slashes,y.slashes=a.slashes||i&&t.slashes,y.protocol=a.protocol||t.protocol||"",e=a.rest,a.slashes||(v[3]=[/(.*)/,"pathname"]);b"," (",n[o].getFileName(),":",n[o].getLineNumber(),":",n[o].getColumnNumber(),")"].join(""));return r.join("\n")},function(t){return["Error extracting stack trace: ",t,"\n",e.toString(),"\n"," (",e.file,":",e.line,":",e.column,")"].join("")})}(e,o).then(function(e){return n.message=e,a?a(n):function(e,t){var n=new XMLHttpRequest;return n.open("POST",e,!0),n.setRequestHeader("Content-Type","application/json; charset=UTF-8"),new Promise(function(e,r){n.onreadystatechange=function(){if(4===n.readyState){var o=n.status;if(o>=200&&o<300)e({message:t.message});else r(new Error((o?o+" http response":"network error")+" on stackdriver report"))}},n.send(JSON.stringify(t))})}(i,n)})},o.prototype.setUser=function(e){this.context.user=e},e.exports=o},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,o="~";function i(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function s(e,t,n,r,i){if("function"!=typeof n)throw new TypeError("The listener must be a function");var s=new a(n,r||e,i),u=o?o+t:t;return e._events[u]?e._events[u].fn?e._events[u]=[e._events[u],s]:e._events[u].push(s):(e._events[u]=s,e._eventsCount++),e}function u(e,t){0==--e._eventsCount?e._events=new i:delete e._events[t]}function c(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),(new i).__proto__||(o=!1)),c.prototype.eventNames=function(){var e,t,n=[];if(0===this._eventsCount)return n;for(t in e=this._events)r.call(e,t)&&n.push(o?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},c.prototype.listeners=function(e){var t=o?o+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,i=n.length,a=new Array(i);r-1}},function(e,t,n){var r=n(15);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},function(e,t,n){var r=n(14);e.exports=function(){this.__data__=new r,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,n){var r=n(14),o=n(25),i=n(45),a=200;e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!o||s.length1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,n){var r=n(16),o=n(10),i=n(22),a=n(3);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?o(n)&&i(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},function(e,t,n){var r=n(27),o=n(38),i=n(22),a=n(3),s=n(40);e.exports=function(e,t,n,u){if(!a(e))return e;for(var c=-1,l=(t=o(t,e)).length,f=l-1,p=e;null!=p&&++cencodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)},function(e,t,n){"use strict";var r=new RegExp("%[a-f0-9]{2}","gi"),o=new RegExp("(%[a-f0-9]{2})+","gi");function i(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],i(n),i(r))}function a(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(r),n=1;n{if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===t)return[e];const n=e.indexOf(t);return-1===n?[e]:[e.slice(0,n),e.slice(n+t.length)]}},function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var r=new Uint8Array(16);e.exports=function(){return n(r),r}}else{var o=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),o[t]=e>>>((3&t)<<3)&255;return o}}},function(e,t){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0,o=n;return[o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]]].join("")}},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&n.call(e,t)}},function(e,t,n){var r=n(38),o=n(20),i=n(4),a=n(22),s=n(32),u=n(40);e.exports=function(e,t,n){for(var c=-1,l=(t=r(t,e)).length,f=!1;++c=200&&a.status<400?o(a.responseText):i(new Error("POST to "+t+" failed with status: "+a.status)))},a.open("post",t),a.setRequestHeader("Content-Type","application/json"),r&&"object"==typeof r.headers){var s=r.headers;for(var u in s)Object.prototype.hasOwnProperty.call(s,u)&&a.setRequestHeader(u,s[u])}var c={stack:e};null!=n&&(c.message=n),a.send(JSON.stringify(c))})}}})?r.apply(t,o):r)||(e.exports=i)}()},function(e,t,n){var r,o,i;!function(a,s){"use strict";o=[n(167)],void 0===(i="function"==typeof(r=function(e){var t=/(^|@)\S+:\d+/,n=/^\s*at .*(\S+:\d+|\(native\))/m,r=/^(eval@)?(\[native code])?$/;return{parse:function(e){if(void 0!==e.stacktrace||void 0!==e["opera#sourceloc"])return this.parseOpera(e);if(e.stack&&e.stack.match(n))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw new Error("Cannot parse given Error object")},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var t=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(e.replace(/[()]/g,""));return[t[1],t[2]||void 0,t[3]||void 0]},parseV8OrIE:function(t){return t.stack.split("\n").filter(function(e){return!!e.match(n)},this).map(function(t){t.indexOf("(eval ")>-1&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var n=t.replace(/^\s+/,"").replace(/\(eval code/g,"("),r=n.match(/ (\((.+):(\d+):(\d+)\)$)/),o=(n=r?n.replace(r[0],""):n).split(/\s+/).slice(1),i=this.extractLocation(r?r[1]:o.pop()),a=o.join(" ")||void 0,s=["eval",""].indexOf(i[0])>-1?void 0:i[0];return new e({functionName:a,fileName:s,lineNumber:i[1],columnNumber:i[2],source:t})},this)},parseFFOrSafari:function(t){return t.stack.split("\n").filter(function(e){return!e.match(r)},this).map(function(t){if(t.indexOf(" > eval")>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===t.indexOf("@")&&-1===t.indexOf(":"))return new e({functionName:t});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=t.match(n),o=r&&r[1]?r[1]:void 0,i=this.extractLocation(t.replace(n,""));return new e({functionName:o,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:t})},this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=t.message.split("\n"),o=[],i=2,a=r.length;i/,"$2").replace(/\([^)]*\)/g,"")||void 0;i.match(/\(([^)]*)\)/)&&(n=i.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var s=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new e({functionName:a,args:s,fileName:o[0],lineNumber:o[1],columnNumber:o[2],source:t})},this)}}})?r.apply(t,o):r)||(e.exports=i)}()},function(e,t,n){var r,o,i;!function(n,a){"use strict";o=[],void 0===(i="function"==typeof(r=function(){function e(e){return e.charAt(0).toUpperCase()+e.substring(1)}function t(e){return function(){return this[e]}}var n=["isConstructor","isEval","isNative","isToplevel"],r=["columnNumber","lineNumber"],o=["fileName","functionName","source"],i=n.concat(r,o,["args"],["evalOrigin"]);function a(t){if(t)for(var n=0;n=200&&r.status<300||"file://"===e.substr(0,7)&&r.responseText?t(r.responseText):n(new Error("HTTP status: "+r.status+" retrieving "+e)))},r.send()})}function r(e){if("undefined"!=typeof window&&window.atob)return window.atob(e);throw new Error("You must supply a polyfill for window.atob in this environment")}function o(e){if("object"!=typeof e)throw new TypeError("Given StackFrame is not an object");if("string"!=typeof e.fileName)throw new TypeError("Given file name is not a String");if("number"!=typeof e.lineNumber||e.lineNumber%1!=0||e.lineNumber<1)throw new TypeError("Given line number must be a positive integer");if("number"!=typeof e.columnNumber||e.columnNumber%1!=0||e.columnNumber<0)throw new TypeError("Given column number must be a non-negative integer");return!0}return function i(a){if(!(this instanceof i))return new i(a);a=a||{},this.sourceCache=a.sourceCache||{},this.sourceMapConsumerCache=a.sourceMapConsumerCache||{},this.ajax=a.ajax||n,this._atob=a.atob||r,this._get=function(e){return new Promise(function(t,n){var r="data:"===e.substr(0,5);if(this.sourceCache[e])t(this.sourceCache[e]);else if(a.offline&&!r)n(new Error("Cannot make network requests in offline mode"));else if(r){var o=e.match(/^data:application\/json;([\w=:"-]+;)*base64,/);if(o){var i=o[0].length,s=e.substr(i),u=this._atob(s);this.sourceCache[e]=u,t(u)}else n(new Error("The encoding of the inline sourcemap is not supported"))}else{var c=this.ajax(e,{method:"get"});this.sourceCache[e]=c,c.then(t,n)}}.bind(this))},this._getSourceMapConsumer=function(t,n){return new Promise(function(r){if(this.sourceMapConsumerCache[t])r(this.sourceMapConsumerCache[t]);else{var o=new Promise(function(r,o){return this._get(t).then(function(t){"string"==typeof t&&(t=function(e){if("undefined"!=typeof JSON&&JSON.parse)return JSON.parse(e);throw new Error("You must supply a polyfill for JSON.parse in this environment")}(t.replace(/^\)\]\}'/,""))),void 0===t.sourceRoot&&(t.sourceRoot=n),r(new e.SourceMapConsumer(t))},o)}.bind(this));this.sourceMapConsumerCache[t]=o,r(o)}}.bind(this))},this.pinpoint=function(e){return new Promise(function(t,n){this.getMappedLocation(e).then(function(e){function n(){t(e)}this.findFunctionName(e).then(t,n).catch(n)}.bind(this),n)}.bind(this))},this.findFunctionName=function(e){return new Promise(function(n,r){o(e),this._get(e.fileName).then(function(r){var o=e.lineNumber,i=e.columnNumber,a=function(e,t){for(var n=[/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*function\b/,/function\s+([^('"`]*?)\s*\(([^)]*)\)/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*(?:eval|new Function)\b/,/\b(?!(?:if|for|switch|while|with|catch)\b)(?:(?:static)\s+)?(\S+)\s*\(.*?\)\s*\{/,/['"]?([$_A-Za-z][$_A-Za-z0-9]*)['"]?\s*[:=]\s*\(.*?\)\s*=>/],r=e.split("\n"),o="",i=Math.min(t,20),a=0;a=0&&(s=s.substr(0,u)),s){o=s+o;for(var c=n.length,l=0;lo||i==o&&s>=a||r.compareByGeneratedPositionsInflated(t,n)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},o.prototype.toArray=function(){return this._sorted||(this._array.sort(r.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.MappingList=o},function(e,t,n){var r=n(12),o=n(175),i=n(63).ArraySet,a=n(62),s=n(176).quickSort;function u(e){var t=e;return"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,""))),null!=t.sections?new f(t):new c(t)}function c(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=r.getArg(t,"version"),o=r.getArg(t,"sources"),a=r.getArg(t,"names",[]),s=r.getArg(t,"sourceRoot",null),u=r.getArg(t,"sourcesContent",null),c=r.getArg(t,"mappings"),l=r.getArg(t,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);o=o.map(String).map(r.normalize).map(function(e){return s&&r.isAbsolute(s)&&r.isAbsolute(e)?r.relative(s,e):e}),this._names=i.fromArray(a.map(String),!0),this._sources=i.fromArray(o,!0),this.sourceRoot=s,this.sourcesContent=u,this._mappings=c,this.file=l}function l(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function f(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=r.getArg(t,"version"),o=r.getArg(t,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new i,this._names=new i;var a={line:-1,column:0};this._sections=o.map(function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var t=r.getArg(e,"offset"),n=r.getArg(t,"line"),o=r.getArg(t,"column");if(n=0){var s=this._originalMappings[a];if(void 0===e.column)for(var u=s.originalLine;s&&s.originalLine===u;)i.push({line:r.getArg(s,"generatedLine",null),column:r.getArg(s,"generatedColumn",null),lastColumn:r.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++a];else for(var c=s.originalColumn;s&&s.originalLine===t&&s.originalColumn==c;)i.push({line:r.getArg(s,"generatedLine",null),column:r.getArg(s,"generatedColumn",null),lastColumn:r.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++a]}return i},t.SourceMapConsumer=u,c.prototype=Object.create(u.prototype),c.prototype.consumer=u,c.fromSourceMap=function(e){var t=Object.create(c.prototype),n=t._names=i.fromArray(e._names.toArray(),!0),o=t._sources=i.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file;for(var a=e._mappings.toArray().slice(),u=t.__generatedMappings=[],f=t.__originalMappings=[],p=0,h=a.length;p1&&(n.source=d+i[1],d+=i[1],n.originalLine=h+i[2],h=n.originalLine,n.originalLine+=1,n.originalColumn=g+i[3],g=n.originalColumn,i.length>4&&(n.name=v+i[4],v+=i[4])),x.push(n),"number"==typeof n.originalLine&&w.push(n)}s(x,r.compareByGeneratedPositionsDeflated),this.__generatedMappings=x,s(w,r.compareByOriginalPositions),this.__originalMappings=w},c.prototype._findMapping=function(e,t,n,r,i,a){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return o.search(e,t,i,a)},c.prototype.computeColumnSpans=function(){for(var e=0;e=0){var o=this._generatedMappings[n];if(o.generatedLine===t.generatedLine){var i=r.getArg(o,"source",null);null!==i&&(i=this._sources.at(i),null!=this.sourceRoot&&(i=r.join(this.sourceRoot,i)));var a=r.getArg(o,"name",null);return null!==a&&(a=this._names.at(a)),{source:i,line:r.getArg(o,"originalLine",null),column:r.getArg(o,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},c.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=r.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var n;if(null!=this.sourceRoot&&(n=r.urlParse(this.sourceRoot))){var o=e.replace(/^file:\/\//,"");if("file"==n.scheme&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!n.path||"/"==n.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(e){var t=r.getArg(e,"source");if(null!=this.sourceRoot&&(t=r.relative(this.sourceRoot,t)),!this._sources.has(t))return{line:null,column:null,lastColumn:null};var n={source:t=this._sources.indexOf(t),originalLine:r.getArg(e,"line"),originalColumn:r.getArg(e,"column")},o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,r.getArg(e,"bias",u.GREATEST_LOWER_BOUND));if(o>=0){var i=this._originalMappings[o];if(i.source===n.source)return{line:r.getArg(i,"generatedLine",null),column:r.getArg(i,"generatedColumn",null),lastColumn:r.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},t.BasicSourceMapConsumer=c,f.prototype=Object.create(u.prototype),f.prototype.constructor=u,f.prototype._version=3,Object.defineProperty(f.prototype,"sources",{get:function(){for(var e=[],t=0;t0?r-u>1?e(u,r,o,i,a,s):s==t.LEAST_UPPER_BOUND?r1?e(n,u,o,i,a,s):s==t.LEAST_UPPER_BOUND?u:n<0?-1:n}(-1,n.length,e,n,r,o||t.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&0===r(n[i],n[i-1],!0);)--i;return i}},function(e,t){function n(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function r(e,t,o,i){if(o0&&(f&&p(f,u()),r.add(a.join(""))),t.sources.forEach(function(e){var i=t.sourceContentFor(e);null!=i&&(null!=n&&(e=o.join(n,e)),r.setSourceContent(e,i))}),r;function p(e,t){if(null===e||void 0===e.source)r.add(t);else{var i=n?o.join(n,e.source):e.source;r.add(new s(e.originalLine,e.originalColumn,i,t,e.name))}}},s.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[a]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},s.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[a]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},s.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n0){for(t=[],n=0;n{switch(t){case"boolean":return"true"===String(e).toLowerCase();case"number":return Number(e);case"string":return String(e);default:return e}};const p={account:["account","string"],slot:["slot","string"],playlist:["playlist","string"],article:["article","string"],vid:["vid","string"],url:["url","string"],width:["width","number"],height:["height","number"],responsive:["options.responsive","boolean"],autoplay:["options.autoplay","boolean"],loop:["options.loop","number"],debug:["options.debug","boolean"]},h=(e,t)=>Object.keys(p).reduce((t,n)=>{const r=p[n],o=`data-${n.toLowerCase()}`,i=e.getAttribute(o);return null!=i&&u()(t,r[0],f(i,r[1])),t},{});var g=(e,t,n,r,o)=>{e[r]=e[r]||[],e[r].push({"gtm.start":(new Date).getTime(),event:"gtm.js",version:"0.2.243"});var i=t.getElementsByTagName(n)[0],a=t.createElement(n),s="dataLayer"!==r?"&l="+r:"",u="&cb="+Date.now().toString().substring(0,6);a.async=!0,a.src="https://www.googletagmanager.com/gtm.js?id="+o+s+u,i.parentNode.insertBefore(a,i)},d=n(66),v=n.n(d),m=(e,t)=>{let n=`https://player.gliacloud.com/iframe/${t.slot}`;const r=(e=>Object.keys(p).reduce((t,n)=>{const r=p[n],o=l()(e,r[0]);return null!=o&&(t[n]=o),t},{}))(t);delete r.slot,r.url=location.href,n+="#"+v.a.stringify(r),((e,{width:t=640,height:n=360,responsive:r=!1,orientation:o="landscape"}={})=>{r?"portrait"===o?(e.style.width="auto",e.style.height="100%"):(e.style.width="100%",e.style.height="auto",e.style.paddingTop=`${n/t*100}%`):(e.style.width=`${t}px`,e.style.height=`${n}px`)})(e,{width:t.width,height:t.height,responsive:l()(t,"options.responsive")}),e.insertAdjacentHTML("beforeend",`\n \n `)};const y={GliaPlayer:"gliaplayer.js",DailyMotion:"gliaplayer-dm.js",InteractivePlayer:"gliaplayer-interactive.js"};var b=(e,t,n)=>{return"//"+e+("0.2.243"===t?"":"/p")+"/embed/"+y[n]+"?v="+t},_=n(2),w=n.n(_),x=n(8),j=n.n(x);const O="_gliaplayer_user_info";var S=async()=>{const e=w.a.getJSON(O);if(e)return e;const t=`https://player.gliacloud.com/user/${j()()}?origin=${encodeURIComponent(window.location.origin)}`,n=await fetch(t,{credentials:"include"}),r=await n.json();return w.a.set(O,r,{expires:1}),r},C=e=>{try{if(e.frameElement&&e.parent.document)return!0}catch(e){return!1}return!1},A=()=>{const e=["//sync.search.spotxchange.com/partner?source=283156&sync_limit=7"];for(let t of e)(new Image).src=t},E=(e,t)=>(t=t||document,new Promise((n,r)=>{if(document.querySelector(`script[src="${e}"][loaded]`))return n();const o=document.createElement("script");o.onload=function(){return this.setAttribute("loaded",""),n()},o.async=!0,o.src=e;const i=t.getElementsByTagName("script")[0];i.parentNode.insertBefore(o,i)}));var N=(e,t,n,r)=>{let o=(e=>{let t={},n=e.substring(1).split("&");for(let e of n){let[n,r]=e.split("=");t[n]=r}return t})(e.location.hash);if(o.glia_live_preview&&(o.glia_type&&(n.player=o.glia_type),o.glia_version&&(r=o.glia_version),o.glia_article)){const e=t.querySelectorAll(`.gliaplayer-container[data-slot=${n.slot}]:not([data-inited])`);for(let t of e)t.setAttribute("data-article",o.glia_article)}return{playerSetting:n,version:r}};function L(e){let t=e.reduce((e,t)=>e+t,0),n=Math.random()*t;for(let t=0;t{e.experiments=e.experiments||[];let n=e.experiments.reduce((e,t)=>e+t.traffic,0),r=e.experiments.slice();r.push({version:t,traffic:100-n});let o=L(r.map(e=>e.traffic)),i=r[o].version,a=L(e.slots.map(e=>e.extra.traffic)),s=e.slots[a].extra;return s.experiment=r[o],s.customSetting=e.customSetting,s.internalSlot=s.slot,s.slot=s.group,{playerSetting:s,version:i}};const k="gliaDataLayer";class P extends Error{constructor(e){super(e),this.name="SlotSettingNotFound"}}var R={},F=n(67),$=n.n(F),T=n(68),U=n.n(T),I=n(69),B=n.n(I);let D={};function G(e){for(let t of e){let e=document.querySelectorAll(t);if(e.length>0)return Array.prototype.slice.call(e).map(e=>e.getAttribute("content")).join()}return""}let z=["meta[property='article:section']"],q=["meta[name='keywords']"],J=["meta[property='article:tag']","meta[name='section']"];var V=e=>{let t=document.getElementById(e);return t?t.getAttribute("data-video-type"):""};var W=w.a.getJSON(O);var H=l()(w.a.getJSON(O),"uid",j()());const Z=18e5,Y=w.a.get("gliaplayer_ssid")||j()();w.a.set("gliaplayer_ssid",Y,{expires:function(){const e=new Date,t=new Date(e.getFullYear(),e.getMonth(),e.getDate()+1),n=(new Date).getTime()+Z-1;return new Date(Math.min(t.getTime()-1,n))}()});var K=Y;const X=["https://pixel.gliacloud.com/glia_player_media1/pixel.gif","https://pixel.gliacloud.com/glia_player_media2/pixel.gif","https://pixel.gliacloud.com/glia_player_media3/pixel.gif"],Q=X[Math.floor(Math.random()*X.length)],ee={ul:navigator.language||navigator.userLanguage,uid:H,ssid:K},te=(()=>B()(D)?D={pgu:encodeURIComponent(location.href),pgt:document.title,pgc:G(z),pgk:G(q),pgtg:G(J)}:D)();var ne=(e,t)=>{if(e)try{const n={...ee,...t,...te,vt:V(e.id),gl:l()(W,"latlong"),ct:l()(W,"country"),sid:e.id,sk:e.slot,sa:e.account,pt:e.player,pv:"0.2.243",ab:l()(e.options,"isAB")?1:0,ta:l()(e.options,"isTA")?1:0,cb:1e16*Math.random()},r=U()(Q);r.set("query",function e(t){return Object.keys(t).filter(e=>null!=t[e]&&""!==t[e]).reduce((n,r)=>"object"==typeof t[r]?{...n,[r]:e(t[r])}:{...n,[r]:t[r]},{})}(n)),(new Image).src=r.toString()}catch(e){}},re=e=>{return{elem:document.getElementById(e).getBoundingClientRect(),screen:{width:window.screen.width,height:window.screen.height},window:{width:window.innerWidth,height:window.innerHeight},page:{width:document.body.scrollWidth,height:document.body.scrollHeight,left:window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft,top:window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop}}},oe=n(70);let ie;(ie=new(n.n(oe).a)).start({key:"AIzaSyBp7tMQY_k2W3aFitQaGYx9_fdXD4V8ZAY",projectId:"living-bio",service:"player",version:"0.2.243",reportUncaughtExceptions:!1,reportUnhandledPromiseRejections:!1});var ae=function(e,t){if("adgeek_teepr_curation"===t.account)return;const n=e.stack.split("\n")[1].replace(/\s+['at']+\s/,""),r=null===t?"":t.slot,o=new Error;o.name=`0.2.243_${r}_${e.name}`,o.message=`${e.message} at ${n}`,o.stack=e.stack,ie.report(o)};const se="gliaplayer",ue=`${se}.exception`,ce="send";var le=n(71),fe=n.n(le);window[k]=window[k]||[];var pe=class extends fe.a{constructor(e={}){super(),this._playerSetting=e,R.tracker=this}send(e,{eventCategory:t=null,eventAction:n=null,eventLabel:r=null,eventValue:o=null,...i}={}){const a=e.split(".");t=null===t?a[1]:t,n=null===n?a[2]:n,r=null===r?this.getEventLabel():r,window[k].push({event:e,version:"0.2.243",playerSetting:this._playerSetting,eventCategory:t,eventAction:`${t}.${n}`,eventLabel:r,eventValue:o,rest:i});try{const e=this._getPositionInfo();ne(this._playerSetting,{ea:`${t}.${n}`,ev:o,vk:l()(i,"videoKey"),cl:l()(i,"clipLink"),clt:l()(i,"linkTitle"),clc:l()(i,"linkCategories"),clk:l()(i,"linkKeywords"),cltg:l()(i,"linkTags"),atk:l()(i,"adTagKey"),atu:l()(i,"adTagUrl"),im:l()(i,"interactiveMarker"),itb:l()(i,"interactiveTemplateBtn"),...e})}catch(e){}this.emit(e),this.emit(ce,{event:e,payload:i})}sendError(e){e&&(this.send(ue,{eventAction:e,eventLabel:e.stack}),ae(e,this._playerSetting))}_getPositionInfo(){if(!l()(this,"_playerSetting.playerId"))return{};const e=re(this._playerSetting.playerId);return{pp:`${e.elem.width},${e.elem.height},${e.elem.left},${e.elem.top}`,bp:`${e.window.width},${e.window.height}`,wp:`${e.page.width},${e.page.height},${e.page.left},${e.page.top}`}}getEventLabel(e){if(!this._playerSetting)return"";let t=["account","slot","playlist","article","vid","player"].reduce((e,t)=>$()(this._playerSetting,t)?(u()(e,t,l()(this._playerSetting,t)),e):e,{});return JSON.stringify({...t,...e})}};var he=class{constructor(e,t,n,r,o,i=document.currentScript.src){this._win=e,this._doc=t,this._host=n,this._tag=r,this._settingString=o,this._tasks=[],this._tracker=new pe,this._currentScript=i,this._init()}async _init(){try{let e=JSON.parse(this._settingString);if(!e.slots)throw new P(`${this._currentScript} has no slot setting.`);({playerSetting:this._playerSetting,version:this._version}=M(e,this._tag)),this._setup(),await this._initDoms()}catch(e){this._tracker.sendError(e)}}_setup(){!this._playerSetting.loader.disableMoveContainer&&C(this._win)&&(this._moveContainer(),this._win=this._win.parent.window,this._doc=this._win.document),this._setupGlobal(),this._setupUtils(),({playerSetting:this._playerSetting,version:this._version}=N(this._win,this._doc,this._playerSetting,this._version))}_setupGlobal(){this._win.GliaPlayerManager=this._win.GliaPlayerManager||{hasInited:!1,managers:{},players:{}}}_setupUtils(){this._win.GliaPlayerManager.hasInited||(g(this._win,this._doc,"script",k,"GTM-PQ3GKRX"),A(),this._win.GliaPlayerManager.hasInited=!0)}_moveContainer(){const e=this._doc.querySelectorAll(".gliaplayer-container"),t=this._win.frameElement;for(let n=e.length-1;n>-1;n--)t.parentNode.insertBefore(e[n],t);t.style.height="1px"}async _initDoms(){const e=this._doc.querySelectorAll(`.gliaplayer-container[data-slot=${this._playerSetting.slot}]:not([data-inited])`);for(let t of e){t.setAttribute("data-inited","");let e=o()(a()(this._playerSetting,h(t)));null!==t.getAttribute("data-iframe")?m(t,e):this._initManager(t,e)}}async _initManager(e,t){for(let n of[t.player]){const r=b(this._host,this._version,n);await S(),await E(r,this._doc),await Promise.all(this._tasks);const o=`${n}_${this._version}`,i=new(this._getManagerClass(this._win.GliaPlayerManager.managers,o))(e,t);await i.waitUntilDestroyed()}}_getManagerClass(e,t){let n=e[t];return n||(n=e[Object.keys(e)[0]]),n}};t.default=new he(window,document,"player.gliacloud.com","0.2.243","{\"account\": \"adgeek_moneyudn\", \"slots\": [{\"extra\": {\"slot\": \"adgeek_moneyudn_curation_desktop_sidebar\", \"account\": \"adgeek_moneyudn\", \"group\": \"adgeek_moneyudn_curation_desktop_sidebar\", \"ad\": {\"banner\": [{\"sizes\": [[1, 1]], \"slotId\": \"div-gpt-ad-1597041345482-0\", \"priority\": 0, \"adUnit\": \"/21818843116/interactive_moneyudn_curation_desktop_sidebar\", \"type\": \"gpt\", \"id\": 108}], \"dmSyndication\": \"273872\", \"adTag\": [{\"priority\": 3, \"adTagXml\": \"\", \"adTagUrl\": \"https://pubads.g.doubleclick.net/gampad/ads?iu=/21818843116/onead_sponsorship_moneyudn_desktop_sidebar&description_url=%%PAGE%%&tfcd=0&npa=0&sz=640x480&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&impl=s&correlator=\", \"adPlacement\": [1], \"type\": \"google\", \"id\": 406}, {\"priority\": 0, \"adTagXml\": \"\", \"adTagUrl\": \"https://pubads.g.doubleclick.net/gampad/ads?iu=/21818843116/glia_moneyudn_desktop_sidebar&description_url=[page]&tfcd=0&npa=0&sz=640x480&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&impl=s&correlator=\", \"adPlacement\": [1], \"type\": \"google\", \"id\": 509}, {\"priority\": 4, \"adTagXml\": \"\", \"adTagUrl\": \"https://ads.adaptv.advertising.com/a/h/_nU4llUU7bMVT+4D7NQu1bIi42lguoY_?cb=%%CB%%&pet=preroll&pageUrl=%%PAGE%%&pi.width=%%WIDTH%%&pi.height=%%HEIGHT%%&pi.viewable=-1&eov=eov\", \"adPlacement\": [1], \"type\": \"google\", \"id\": 541}, {\"priority\": 1, \"adTagXml\": \"\", \"adTagUrl\": \"https://pubads.g.doubleclick.net/gampad/ads?iu=/21818843116/glia_moneyudn_desktop_50&description_url=%%PAGE%%&tfcd=0&npa=0&sz=640x480&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&impl=s&correlator=\", \"adPlacement\": [1], \"type\": \"google\", \"id\": 729}, {\"priority\": 2, \"adTagXml\": \"\", \"adTagUrl\": \"https://search.spotxchange.com/vast/3.00/303160?VPI=mp4&content_page_url=%%PAGE%%&site[cat]=IAB1&player_width=%%WIDTH%%&player_height=%%HEIGHT%%&ip_addr=%%USER_IP%%&schain=1.0,1!gliacloud.com,132,1,,,!fout.jp,1081,1,,,&cb=%%CB%%\", \"adPlacement\": [], \"type\": \"api\", \"id\": 756}, {\"priority\": 2, \"adTagXml\": \"\", \"adTagUrl\": \"https://search.spotxchange.com/vast/3.00/268312?VPAID=js&content_page_url=%%PAGE%%&site[cat]=IAB1&player_width=%%WIDTH%%&player_height=%%HEIGHT%%&ip_addr=%%USER_IP%%&cb=%%CB%%\", \"adPlacement\": [], \"type\": \"api\", \"id\": 782}], \"adConfig\": {\"midrollCount\": 1, \"prerollOffset\": 0, \"addSlotOnView\": true, \"isPostroll\": false, \"isPreroll\": true}}, \"player\": \"DailyMotion\", \"playlist\": null, \"height\": 300, \"width\": 300, \"options\": {\"loadDelay\": 0.0, \"slotOutOfViewMethod\": \"none\", \"key_pattern\": \"__ARTICLE|SLOT__\", \"playerOutOfViewMethod\": \"none\", \"floatStyle\": \"right:0;left:initial;top:initial;bottom:100px;width:288px;height:194px;min-width:initial;min-height:initial;max-width:initial;max-height:initial;z-index:initial;\", \"hidePoweredBy\": true, \"hideLogo\": false, \"lazyLoad\": true, \"responsive\": false, \"autoplay\": true}, \"traffic\": 100, \"loader\": {\"disableMoveContainer\": false}, \"id\": \"glia-adgeek_moneyudn_curation_desktop_sidebar\", \"gaId\": \"UA-158707080-8\"}}, {\"extra\": {\"slot\": \"adgeek_moneyudn_curation_desktop_sidebar--gliaplayer\", \"account\": \"adgeek_moneyudn\", \"group\": \"adgeek_moneyudn_curation_desktop_sidebar\", \"ad\": {\"banner\": [], \"dmSyndication\": \"273872\", \"adTag\": [{\"priority\": 1, \"adTagXml\": \"\", \"adTagUrl\": \"https://pubads.g.doubleclick.net/gampad/ads?iu=/21818843116/moneyudn_curation_desktop_sidebar_onead&description_url=[page]&tfcd=0&npa=0&sz=640x480&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&impl=s&correlator=\", \"adPlacement\": [1, 2], \"type\": \"google\", \"id\": 270}, {\"priority\": 0, \"adTagXml\": \"\", \"adTagUrl\": \"https://pubads.g.doubleclick.net/gampad/ads?iu=/21818843116/onead_sponsorship_moneyudn_desktop_sidebar&description_url=[page]&tfcd=0&npa=0&sz=640x480&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&impl=s&correlator=\", \"adPlacement\": [1], \"type\": \"google\", \"id\": 338}], \"adConfig\": {\"midrollCount\": 1, \"prerollOffset\": 0, \"addSlotOnView\": true, \"isPostroll\": false, \"isPreroll\": true}}, \"player\": \"GliaPlayer\", \"playlist\": null, \"height\": 600, \"width\": 800, \"options\": {\"loadDelay\": 0.0, \"slotOutOfViewMethod\": \"none\", \"key_pattern\": \"__ARTICLE|SLOT__\", \"playerOutOfViewMethod\": \"none\", \"floatStyle\": \"right:0;left:initial;top:initial;bottom:100px;width:288px;height:194px;min-width:initial;min-height:initial;max-width:initial;max-height:initial;z-index:initial;\", \"hidePoweredBy\": false, \"hideLogo\": false, \"lazyLoad\": true, \"responsive\": true, \"autoplay\": true}, \"traffic\": 0, \"loader\": {\"disableMoveContainer\": false}, \"id\": \"glia-adgeek_moneyudn_curation_desktop_sidebar--gliaplayer\", \"gaId\": \"UA-158707080-8\"}}], \"experiments\": [], \"name\": \"adgeek_moneyudn_curation_desktop_sidebar\", \"customSetting\": [{\"override\": {\"field\": \"options.loop\", \"value\": 1}, \"conditions\": [{\"field\": \"slot\", \"compare\": \"in\", \"target\": [\"pixnet-article\", \"pixnet-video\"]}], \"order\": 0}, {\"override\": {\"field\": \"options.hideFullScreenBtn\", \"value\": false}, \"conditions\": [{\"field\": \"slot\", \"compare\": \"in\", \"target\": [\"pixnet-article\", \"pixnet-video\"]}], \"order\": 0}, {\"override\": {\"field\": \"options.defaultLinkLabel\", \"value\": \"\\u95b1\\u8b80\\u6587\\u7ae0\"}, \"conditions\": [{\"field\": \"account\", \"compare\": \"eq\", \"target\": \"popdaily\"}], \"order\": 0}, {\"override\": {\"field\": \"options.dmSticky\", \"value\": true}, \"conditions\": [{\"field\": \"account\", \"compare\": \"eq\", \"target\": \"petmao_curation\"}], \"order\": 0}, {\"override\": {\"field\": \"options.hideLinkBtn\", \"value\": true}, \"conditions\": [{\"field\": \"url\", \"compare\": \"re\", \"target\": \"videos.pixnet.tw/videos\"}], \"order\": 0}, {\"override\": {\"field\": \"options.autoplay\", \"value\": true}, \"conditions\": [{\"field\": \"slot\", \"compare\": \"eq\", \"target\": \"pixnet-article\"}, {\"field\": \"url\", \"compare\": \"re\", \"target\": \"post\"}], \"order\": 0}, {\"override\": {\"field\": \"options.loadOutstreamOffset\", \"value\": 0}, \"conditions\": [{\"field\": \"account\", \"compare\": \"in\", \"target\": [\"vietjack\", \"techz\", \"juksy\", \"popdaily\", \"ifoodie\", \"adgeek_ttshow\", \"adgeek_cnyes\", \"adgeek_moneyudn\", \"adGeek_mababy\", \"newtalk_curation\", \"techbang_curation\", \"zimedia_curation\", \"cnataiwan_curation\", \"businessweekly\", \"breaktime_incar\", \"breaktime-ddm\", \"breaktime_gbyhn_curation\", \"breaktime_applianceinsight_curation\", \"breaktime_applealmond_curation\", \"breaktime_sant_cruation\", \"Breaktime_sunnylife_curation\"]}], \"order\": 0}, {\"override\": {\"field\": \"options.floatAdCloseTimeout\", \"value\": 100}, \"conditions\": [{\"field\": \"account\", \"compare\": \"in\", \"target\": [\"techz\", \"businessweekly\\t\"]}], \"order\": 0}, {\"override\": {\"field\": \"options.playerOutOfViewMethod\", \"value\": \"forcePlay\"}, \"conditions\": [{\"field\": \"account\", \"compare\": \"in\", \"target\": [\"newtalk_curation\", \"ifoodie\", \"adgeek_moneyudn\", \"cnataiwan_curation\", \"breaktime_applealmond_curation\", \"juksy\", \"accucrazy_91pu\", \"adGeek_91pu\"]}], \"order\": 0}]}")}]);