1!function(){return function e(t,n,r){function o(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(i)return i(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){return o(t[a][1][e]||e)},c,c.exports,e,t,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a<r.length;a++)o(r[a]);return o}}()({1:[function(e,t,n){t.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},{}],2:[function(e,t,n){var r=e("./arrayLikeToArray");t.exports=function(e){if(Array.isArray(e))return r(e)}},{"./arrayLikeToArray":1}],3:[function(e,t,n){t.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},{}],4:[function(e,t,n){function r(e,t,n,r,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void n(e)}s.done?t(u):Promise.resolve(u).then(r,o)}t.exports=function(e){return function(){var t=this,n=arguments;return new Promise(function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,u,"next",e)}function u(e){r(a,o,i,s,u,"throw",e)}s(void 0)})}}},{}],5:[function(e,t,n){t.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},{}],6:[function(e,t,n){var r=e("./setPrototypeOf"),o=e("./isNativeReflectConstruct");function i(e,n,a){return o()?t.exports=i=Reflect.construct:t.exports=i=function(e,t,n){var o=[null];o.push.apply(o,t);var i=new(Function.bind.apply(e,o));return n&&r(i,n.prototype),i},i.apply(null,arguments)}t.exports=i},{"./isNativeReflectConstruct":13,"./setPrototypeOf":17}],7:[function(e,t,n){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}t.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}},{}],8:[function(e,t,n){var r=e("./superPropBase");function o(e,n,i){return"undefined"!=typeof Reflect&&Reflect.get?t.exports=o=Reflect.get:t.exports=o=function(e,t,n){var o=r(e,t);if(o){var i=Object.getOwnPropertyDescriptor(o,t);return i.get?i.get.call(n):i.value}},o(e,n,i||e)}t.exports=o},{"./superPropBase":18}],9:[function(e,t,n){function r(e){return t.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}t.exports=r},{}],10:[function(e,t,n){var r=e("./setPrototypeOf");t.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},{"./setPrototypeOf":17}],11:[function(e,t,n){t.exports=function(e){return e&&e.__esModule?e:{default:e}}},{}],12:[function(e,t,n){t.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}},{}],13:[function(e,t,n){t.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}},{}],14:[function(e,t,n){t.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},{}],15:[function(e,t,n){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},{}],16:[function(e,t,n){var r=e("../helpers/typeof"),o=e("./assertThisInitialized");t.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},{"../helpers/typeof":21,"./assertThisInitialized":3}],17:[function(e,t,n){function r(e,n){return t.exports=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,n)}t.exports=r},{}],18:[function(e,t,n){var r=e("./getPrototypeOf");t.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e}},{"./getPrototypeOf":9}],19:[function(e,t,n){t.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},{}],20:[function(e,t,n){var r=e("./arrayWithoutHoles"),o=e("./iterableToArray"),i=e("./unsupportedIterableToArray"),a=e("./nonIterableSpread");t.exports=function(e){return r(e)||o(e)||i(e)||a()}},{"./arrayWithoutHoles":2,"./iterableToArray":14,"./nonIterableSpread":15,"./unsupportedIterableToArray":22}],21:[function(e,t,n){function r(e){"@babel/helpers - typeof";return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=r=function(e){return typeof e}:t.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}t.exports=r},{}],22:[function(e,t,n){var r=e("./arrayLikeToArray");t.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},{"./arrayLikeToArray":1}],23:[function(e,t,n){var r=e("./getPrototypeOf"),o=e("./setPrototypeOf"),i=e("./isNativeFunction"),a=e("./construct");function s(e){var n="function"==typeof Map?new Map:void 0;return t.exports=s=function(e){if(null===e||!i(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");
1if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),o(t,e)},s(e)}t.exports=s},{"./construct":6,"./getPrototypeOf":9,"./isNativeFunction":12,"./setPrototypeOf":17}],24:[function(e,t,n){t.exports=e("regenerator-runtime")},{"regenerator-runtime":46}],25:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.events=n.config=n.component=void 0;var r=a(e("./component.js")),o=a(e("./config.js")),i=a(e("./events.js"));function a(e){return e&&e.__esModule?e:{default:e}}n.component=r.default,n.config=o.default,n.events=i.default},{"./component.js":26,"./config.js":27,"./events.js":28}],26:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.activate=n.create=void 0;var r,o=e("./events.js"),i=(r=o)&&r.__esModule?r:{default:r};function a(e){i.default.fire(e,"component.activate")}function s(e,t){try{e.outerHTML=t(JSON.parse(e.getAttribute("data-component-data")))}catch(e){window.console.log("Error rendering component: "+e)}}function u(e){var t;return(e=e||{}
1).contexts?t=function(t,n){s(t,e.contexts[n].template)}:e.template&&(t=function(t){s(t,e.template)}),{init:function(t){e.init&&e.init(t),t.setAttribute("data-init",!0)},render:t,css:e.css,offsets:e.offsets}}n.create=u,n.activate=a,n.default={create:u,activate:a}},{"./events.js":28}],27:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=document.documentElement,o={breakpointType:null,overlayActive:!1,resize:{active:!1,debounceTimer:200,interval:null},scroll:{active:!1,debounceTimer:50,interval:null},tapOrClickEvent:"click",throttleDateTime:null,timings:{debounce:250},windowHeight:r.clientHeight,windowTopOffset:null,windowWidth:r.clientWidth};function i(e){for(var t=e.split("."),n=0,r=o;n<t.length;n++)r=r[t[n]];return r}o.breakpoints=[{name:"baseLayout",width:-1},{name:"tabletPortraitUpwards",width:728},{name:"tabletLandscapeUpwards",width:1024},{name:"desktop",width:1240}],n.default={getOption:i,inspect:function(){return o},getBreakpoint:function(e){e=e||window.innerWidth;var t,n=i("breakpoints"),r=n.length;for(t=0;t<r;t++)if(e<n[t].width)return n[t-1].name;return n[r-1].name}}},{}],28:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=function(){function e(e){return[].slice.call(e)}var t="DOMContentLoaded";function n(e,t,n,r){if(r=r||{},e.addEventListener(t,n),e.dataEvents){var o=e.dataEvents[t];if(o)if(r.purgeEventData)for(;o.length>0;)n.call(e,{data:o.shift(),target:e});else o.forEach(function(t){n.call(e,{data:t,target:e})})}}function r(e,t,n){e.dataEvents=e.dataEvents||{},e.dataEvents[t]=e.dataEvents[t]||[],e.dataEvents[t].push(n)}return{delegate:function(){return function(t,n,r,o,i){i=i||{},n=n.split(","),void 0===t.length&&(t=[t]),t.forEach||(t=e(t)),t.forEach(function(t){t.addEventListener(r,function(r){var a=[];n.forEach(function(n){a=">"===n.substr(0,1)?function(t,n,r){var o=e(n.querySelectorAll(r.substr(1)));return o=o.filter(function(e){return e.parentNode===n}),t.concat(o)}(a,t,n):function(t,n,r){return t.concat(e(n.querySelectorAll(r)))}(a,t,n)}),function e(t,n,r,o,i,a){if(n!==r){var s=o.indexOf(n);-1!==s&&(i.call(o[s],t),a.preventDefault&&t.preventDefault()),e(t,n.parentNode,r,o,i,a)}else a.stopPropagation&&t.stopPropagation()}(r,r.target,t,a,o,i)})})}}(),domReady:function(e){"complete"===document.readyState||"loaded"===document.readyState?(r(document,t),r(window,"load")):"interactive"===document.readyState&&r(document,t),document.addEventListener?n(document,t,e):n(window,"load",e)},fire:function(e,t,n){var o;n=n||{},document.createEvent?((o=document.createEvent("HTMLEvents")).initEvent(t,!0,!0),o.data=n,e.dispatchEvent(o)):document.createEventObject&&((o=document.createEventObject()).data=n,e.fireEvent("on"+t,o)),r(e,t,n)},listen:n}}();n.default=r},{}],29:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.css=n.unsafeCSS=n.CSSResult=n.supportsAdoptingStyleSheets=void 0;var o=r(e("@babel/runtime/helpers/classCallCheck")),i=r(e("@babel/runtime/helpers/createClass")),a=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;n.supportsAdoptingStyleSheets=a;var s=Symbol(),u=function(){function e(t,n){if((0,o.default)(this,e),n!==s)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}return(0,i.default)(e,[{key:"toString",value:function(){return this.cssText}},{key:"styleSheet",get:function(){return void 0===this._styleSheet&&(a?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}}]),e}();n.CSSResult=u;n.unsafeCSS=function(e){return new u(String(e),s)};n.css=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=n.reduce(function(t,n,r){return t+function(e){if(e instanceof u)return e.cssText;if("number"==typeof e)return e;throw new Error("Value passed to 'css' function must be a 'css' function result: ".concat(e,". Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security."))}(n)+e[r+1]},e[0]);return new u(o,s)}},{"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/interopRequireDefault":11}],30:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.property=l,n.internalProperty=function(e){return l({attribute:!1,hasChanged:null===e||void 0===e?void 0:e.hasChanged})},n.query=function(e,t){return function(n,r){var o={get:function(){return this.renderRoot.querySelector(e)},enumerable:!0,configurable:!0};if(t){var i="symbol"===(0,a.default)(r)?Symbol():"__".concat(r);o.get=function(){return void 0===this[i]&&(this[i]=this.renderRoot.querySelector(e)),this[i]}}return void 0!==r?c(o,n,r):f(o,n)}},n.queryAsync=function(e){return function(t,n){var r={get:function(){var t=this;return(0,i.default)(o.default.mark(function n(){return o.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,t.updateComplete;case 2:return n.abrupt("return",t.renderRoot.querySelector(e));case 3:case"end":return n.stop()}},n)}))()},enumerable:!0,configurable:!0};return void 0!==n?c(r,t,n):f(r,t)}},n.queryAll=function(e){return function(t,n){var r={get:function(){return this.renderRoot.querySelectorAll(e)},enumerable:!0,configurable:!0};return void 0!==n?c(r,t,n):f(r,t)}},n.eventOptions=function(e){return function(t,n){return void 0!==n?d(e,t,n):p(e,t)}},n.queryAssignedNodes=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return function(r,o){var i={get:function(){var r="slot".concat(e?"[
1name=".concat(e,"]"):":not([name])"),o=this.renderRoot.querySelector(r),i=o&&o.assignedNodes({flatten:t});return i&&n&&(i=i.filter(function(e){return e.nodeType===Node.ELEMENT_NODE&&e.matches?e.matches(n):m.call(e,n)})),i},enumerable:!0,configurable:!0};return void 0!==o?c(i,r,o):f(i,r)}},n.customElement=void 0;var o=r(e("@babel/runtime/regenerator")),i=r(e("@babel/runtime/helpers/asyncToGenerator")),a=r(e("@babel/runtime/helpers/typeof"));n.customElement=function(e){return function(t){return"function"==typeof t?function(e,t){return window.customElements.define(e,t),t}(e,t):function(e,t){return{kind:t.kind,elements:t.elements,finisher:function(t){window.customElements.define(e,t)}}}(e,t)}};var s=function(e,t){return"method"!==t.kind||!t.descriptor||"value"in t.descriptor?{kind:"field",key:Symbol(),placement:"own",descriptor:{},initializer:function(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher:function(n){n.createProperty(t.key,e)}}:Object.assign(Object.assign({},t),{finisher:function(n){n.createProperty(t.key,e)}})},u=function(e,t,n){t.constructor.createProperty(n,e)};function l(e){return function(t,n){return void 0!==n?u(e,t,n):s(e,t)}}var c=function(e,t,n){Object.defineProperty(t,n,e)},f=function(e,t){return{kind:"method",placement:"prototype",key:t.key,descriptor:e}},p=function(e,t){return Object.assign(Object.assign({},t),{finisher:function(n){Object.assign(n.prototype[t.key],e)}})},d=function(e,t,n){Object.assign(t[n],e)};var h=Element.prototype,m=h.msMatchesSelector||h.webkitMatchesSelector},{"@babel/runtime/helpers/asyncToGenerator":4,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/typeof":21,"@babel/runtime/regenerator":24}],31:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.UpdatingElement=n.notEqual=n.defaultConverter=void 0;var o=r(e("@babel/runtime/helpers/toConsumableArray")),i=r(e("@babel/runtime/helpers/typeof")),a=r(e("@babel/runtime/regenerator")),s=r(e("@babel/runtime/helpers/asyncToGenerator")),u=r(e("@babel/runtime/helpers/classCallCheck")),l=r(e("@babel/runtime/helpers/createClass")),c=r(e("@babel/runtime/helpers/inherits")),f=r(e("@babel/runtime/helpers/possibleConstructorReturn")),p=r(e("@babel/runtime/helpers/getPrototypeOf")),d=r(e("@babel/runtime/helpers/wrapNativeSuper"));function h(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=(0,p.default)(e);if(t){var o=(0,p.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,f.default)(this,n)}}window.JSCompiler_renameProperty=function(e,t){return e};var g={toAttribute:function(e,t){switch(t){case Boolean:return e?"":null;case Object:case Array:return null==e?e:JSON.stringify(e)}return e},fromAttribute:function(e,t){switch(t){case Boolean:return null!==e;case Number:return null===e?null:Number(e);case Object:case Array:return JSON.parse(e)}return e}};n.defaultConverter=g;var b=function(e,t){return t!==e&&(t==t||e==e)};n.notEqual=b;var y={attribute:!0,type:String,converter:g,reflect:!1,hasChanged:b},w=function(e){(0,c.default)(n,e);var t=v(n);function n(){var e;return(0,u.default)(this,n),(e=t.call(this)).initialize(),e}return(0,l.default)(n,[{key:"initialize",value:function(){var e=this;this._updateState=0,this._updatePromise=new Promise(function(t){return e._enableUpdatingResolver=t}),this._changedProperties=new Map,this._saveInstanceProperties(),this.requestUpdateInternal()}},{key:"_saveInstanceProperties",value:function(){var e=this;
1this.constructor._classProperties.forEach(function(t,n){if(e.hasOwnProperty(n)){var r=e[n];delete e[n],e._instanceProperties||(e._instanceProperties=new Map),e._instanceProperties.set(n,r)}})}},{key:"_applyInstanceProperties",value:function(){var e=this;this._instanceProperties.forEach(function(t,n){return e[n]=t}),this._instanceProperties=void 0}},{key:"connectedCallback",value:function(){this.enableUpdating()}},{key:"enableUpdating",value:function(){void 0!==this._enableUpdatingResolver&&(this._enableUpdatingResolver(),this._enableUpdatingResolver=void 0)}},{key:"disconnectedCallback",value:function(){}},{key:"attributeChangedCallback",value:function(e,t,n){t!==n&&this._attributeToProperty(e,n)}},{key:"_propertyToAttribute",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y,r=this.constructor,o=r._attributeNameForProperty(e,n);if(void 0!==o){var i=r._propertyValueToAttribute(t,n);if(void 0===i)return;this._updateState=8|this._updateState,null==i?this.removeAttribute(o):this.setAttribute(o,i),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(e,t){if(!(8&this._updateState)){var n=this.constructor,r=n._attributeToPropertyMap.get(e);if(void 0!==r){var o=n.getPropertyOptions(r);this._updateState=16|this._updateState,this[r]=n._propertyValueFromAttribute(t,o),this._updateState=-17&this._updateState}}}},{key:"requestUpdateInternal",value:function(e,t,n){var r=!0;if(void 0!==e){var o=this.constructor;n=n||o.getPropertyOptions(e),o._valueHasChanged(this[e],t,n.hasChanged)?(this._changedProperties.has(e)||this._changedProperties.set(e,t),!0!==n.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(e,n))):r=!1}!this._hasRequestedUpdate&&r&&(this._updatePromise=this._enqueueUpdate())}},{key:"requestUpdate",value:function(e,t){return this.requestUpdateInternal(e,t),this.updateComplete}},{key:"_enqueueUpdate",value:function(){var e=(0,s.default)(a.default.mark(function e(){var t;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this._updateState=4|this._updateState,e.prev=1,e.next=4,this._updatePromise;case 4:e.next=8;break;case 6:e.prev=6,e.t0=e.catch(1);case 8:if(null==(t=this.performUpdate())){e.next=12;break}return e.next=12,t;case 12:return e.abrupt("return",!this._hasRequestedUpdate);case 13:case"end":return e.stop()}},e,this,[[1,6]])}));return function(){return e.apply(this,arguments)}}()},{key:"performUpdate",value:function(){if(this._hasRequestedUpdate){this._instanceProperties&&this._applyInstanceProperties();var e=!1,t=this._changedProperties;try{(e=this.shouldUpdate(t))?this.update(t):this._markUpdated()}catch(t){throw e=!1,this._markUpdated(),t}e&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(t)),this.updated(t))}}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"_getUpdateComplete",value:function(){return this._updatePromise}},{key:"shouldUpdate",value:function(e){return!0}},{key:"update",value:function(e){var t=this;void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach(function(e,n){return t._propertyToAttribute(n,t[n],e)}),this._reflectingProperties=void 0),this._markUpdated()}},{key:"updated",value:function(e){}},{key:"firstUpdated",value:function(e){}},{key:"_hasRequestedUpdate",get:function(){return 4&this._updateState}},{key:"hasUpdated",get:function(){return 1&this._updateState}},{key:"updateComplete",get:function(){return this._getUpdateComplete()}}],[{key:"_ensureClassProperties",value:function(){var e=this;if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var t=Object.getPrototypeOf(this)._classProperties;void 0!==t&&t.forEach(function(t,n){return e._classProperties.set(n,t)})}}},{key:"createProperty",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y;if(this._ensureClassProperties(),this._classProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){var n="symbol"===(0,i.default)(e)?Symbol():"__".concat(e),r=this.getPropertyDescriptor(e,n,t);void 0!==r&&Object.defineProperty(this.prototype,e,r)}}},{key:"getPropertyDescriptor",value:function(e,t,n){return{get:function(){return this[t]},set:function(r){var o=this[e];this[t]=r,this.requestUpdateInternal(e,o,n)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(e){return this._classProperties&&this._classProperties.get(e)||y}},{key:"finalize",value:function(){var e=Object.getPrototypeOf(this);if(e.hasOwnProperty("finalized")||e.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var t,n=this.properties,r=h([].concat((0,o.default)(Object.getOwnPropertyNames(n)),(0,o.default)("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(n):[])));try{for(r.s();!(t=r.n()).done;){var i=t.value;this.createProperty(i,n[i])}}catch(e){r.e(e)}finally{r.f()}}}},{key:"_attributeNameForProperty",value:function(e,t){var n=t.attribute;return!1===n?void 0:"string"==typeof n?n:"string"==typeof e?e.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(e,t){return(arguments.length>2&&void 0!==arguments[2]?arguments[2]:b)(e,t)}},{key:"_propertyValueFromAttribute",value:function(e,t){var n=t.type,r=t.converter||g,o="function"==typeof r?r:r.fromAttribute;return o?o(e,n):e}},{key:"_propertyValueToAttribute",value:function(e,t){if(void 0!==t.reflect){var n=t.type,r=t.converter;return(r&&r.toAttribute||g.toAttribute)(e,n)}}},{key:"observedAttributes",get:function(){var e=this;this.finalize();var t=[];
1return this._classProperties.forEach(function(n,r){var o=e._attributeNameForProperty(r,n);void 0!==o&&(e._attributeToPropertyMap.set(o,r),t.push(o))}),t}}]),n}((0,d.default)(HTMLElement));n.UpdatingElement=w,w["finalized"]=!0},{"@babel/runtime/helpers/asyncToGenerator":4,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16,"@babel/runtime/helpers/toConsumableArray":20,"@babel/runtime/helpers/typeof":21,"@babel/runtime/helpers/wrapNativeSuper":23,"@babel/runtime/regenerator":24}],32:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0});var o={LitElement:!0,html:!0,svg:!0,TemplateResult:!0,SVGTemplateResult:!0};Object.defineProperty(n,"html",{enumerable:!0,get:function(){return h.html}}),Object.defineProperty(n,"svg",{enumerable:!0,get:function(){return h.svg}}),Object.defineProperty(n,"TemplateResult",{enumerable:!0,get:function(){return h.TemplateResult}}),Object.defineProperty(n,"SVGTemplateResult",{enumerable:!0,get:function(){return h.SVGTemplateResult}}),n.LitElement=void 0;var i=r(e("@babel/runtime/helpers/classCallCheck")),a=r(e("@babel/runtime/helpers/createClass")),s=r(e("@babel/runtime/helpers/get")),u=r(e("@babel/runtime/helpers/inherits")),l=r(e("@babel/runtime/helpers/possibleConstructorReturn")),c=r(e("@babel/runtime/helpers/getPrototypeOf")),f=e("lit-html/lib/shady-render.js"),p=e("./lib/updating-element.js");Object.keys(p).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||Object.defineProperty(n,e,{enumerable:!0,get:function(){return p[e]}}))});var d=e("./lib/decorators.js");Object.keys(d).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||Object.defineProperty(n,e,{enumerable:!0,get:function(){return d[e]}}))});var h=e("lit-html/lit-html.js"),m=e("./lib/css-tag.js");function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=(0,c.default)(e);if(t){var o=(0,c.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,l.default)(this,n)}}Object.keys(m).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||Object.defineProperty(n,e,{enumerable:!0,get:function(){return m[e]}}))}),(window.litElementVersions||(window.litElementVersions=[])).push("2.4.0");var g={},b=function(e){(0,u.default)(n,e);var t=v(n);function n(){return(0,i.default)(this,n),t.apply(this,arguments)}return(0,a.default)(n,[{key:"initialize",value:function(){(0,s.default)((0,c.default)(n.prototype),"initialize",this).call(this),this.constructor._getUniqueStyles(),this.renderRoot=this.createRenderRoot(),window.ShadowRoot&&this.renderRoot instanceof window.ShadowRoot&&this.adoptStyles()}},{key:"createRenderRoot",value:function(){return this.attachShadow({mode:"open"})}},{key:"adoptStyles",value:function(){var e=this.constructor._styles;0!==e.length&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?m.supportsAdoptingStyleSheets?this.renderRoot.adoptedStyleSheets=e.map(function(e){return e instanceof CSSStyleSheet?e:e.styleSheet}):this._needsShimAdoptedStyleSheets=!0:window.ShadyCSS.ScopingShim.prepareAdoptedCssText(e.map(function(e){return e.cssText}),this.localName))}},{key:"connectedCallback",value:function(){(0,s.default)((0,c.default)(n.prototype),"connectedCallback",this).call(this),this.hasUpdated&&void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this)}},{key:"update",value:function(e){var t=this,r=this.render();(0,s.default)((0,c.default)(n.prototype),"update",this).call(this,e),r!==g&&this.constructor.render(r,this.renderRoot,{scopeName:this.localName,eventContext:this}),this._needsShimAdoptedStyleSheets&&(this._needsShimAdoptedStyleSheets=!1,this.constructor._styles.forEac
1h(function(e){var n=document.createElement("style");n.textContent=e.cssText,t.renderRoot.appendChild(n)}))}},{key:"render",value:function(){return g}}],[{key:"getStyles",value:function(){return this.styles}},{key:"_getUniqueStyles",value:function(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_styles",this))){var e=this.getStyles();if(Array.isArray(e)){var t=function e(t,n){return t.reduceRight(function(t,n){return Array.isArray(n)?e(n,t):(t.add(n),t)},n)}(e,new Set),n=[];t.forEach(function(e){return n.unshift(e)}),this._styles=n}else this._styles=void 0===e?[]:[e];this._styles=this._styles.map(function(e){if(e instanceof CSSStyleSheet&&!m.supportsAdoptingStyleSheets){var t=Array.prototype.slice.call(e.cssRules).reduce(function(e,t){return e+t.cssText},"");return(0,m.unsafeCSS)(t)}return e})}}}]),n}(p.UpdatingElement);n.LitElement=b,b.finalized=!0,b.render=f.render},{"./lib/css-tag.js":29,"./lib/decorators.js":30,"./lib/updating-element.js":31,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/get":8,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16,"lit-html/lib/shady-render.js":40,"lit-html/lit-html.js":45}],33:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.defaultTemplateProcessor=n.DefaultTemplateProcessor=void 0;var o=r(e("@babel/runtime/helpers/classCallCheck")),i=r(e("@babel/runtime/helpers/createClass")),a=e("./parts.js"),s=function(){function e(){(0,o.default)(this,e)}return(0,i.default)(e,[{key:"handleAttributeExpressions",value:function(e,t,n,r){var o=t[0];return"."===o?new a.PropertyCommitter(e,t.slice(1),n).parts:"@"===o?[new a.EventPart(e,t.slice(1),r.eventContext)]:"?"===o?[new a.BooleanAttributePart(e,t.slice(1),n)]:new a.AttributeCommitter(e,t,n).parts}},{key:"handleTextExpression",value:function(e){return new a.NodePart(e)}}]),e}();n.DefaultTemplateProcessor=s;var u=new s;n.defaultTemplateProcessor=u},{"./parts.js":38,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/interopRequireDefault":11}],34:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isDirective=n.directive=void 0;var r=new WeakMap;n.directive=function(e){return function(){var t=e.apply(void 0,arguments);return r.set(t,!0),t}};n.isDirective=function(e){return"function"==typeof e&&r.has(e)}},{}],35:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.removeNodes=n.reparentNodes=n.isCEPolyfill=void 0;var r="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback;n.isCEPolyfill=r;n.reparentNodes=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;t!==n;){var o=t.nextSibling;e.insertBefore(t,r),t=o}};n.removeNodes=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t!==n;){var r=t.nextSibling;e.removeChild(t),t=r}}},{}],36:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.removeNodesFromTemplate=function(e,t){var n=e.element.content,r=e.parts,i=document.createTreeWalker(n,o,null,!1),s=a(r),u=r[s],l=-1,c=0,f=[],p=null;for(;i.nextNode();){l++;var d=i.currentNode;for(d.previousSibling===p&&(p=null),t.has(d)&&(f.push(d),null===p&&(p=d)),null!==p&&c++;void 0!==u&&u.index===l;)u.index=null!==p?-1:u.index-c,s=a(r,s),u=r[s]}f.forEach(function(e){return e.parentNode.removeChild(e)})},n.insertNodeIntoTemplate=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=e.element.content,s=e.parts;if(null===n||void 0===n)return void r.appendChild(t);var u=document.createTreeWalker(r,o,null,!1),l=a(s),c=0,f=-1;for(;u.nextNode();){f++;var p=u.currentNode;for(p===n&&(c=i(t),n.parentNode.insertBefore(t,n));-1!==l&&s[l].index===f;){if(c>0){for(;-1!==l;)s[l].index+=c,l=a(s,l);return}l=a(s,l)}}};var r=e("./template.js"),o=133;var i=function(e){for(var t=11===e.nodeType?0:1,n=document.createTreeWalker(e,o,null,!1);n.nextNode();)t++;return t},a=function(e){for(var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1)+1;t<e.length;t++){var n=e[t];if((0,r.isTemplatePartActive)(n))return t}return-1}},{"./template.js":44}],37:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.nothing=n.noChange=void 0;n.noChange={};n.nothing={}},{}],38:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.EventPart=n.PropertyPart=n.PropertyCommitter=n.BooleanAttributePart=n.NodePart=n.AttributePart=n.AttributeCommitter=n.isIterable=n.isPrimitive=void 0;var o=r(e("@babel/runtime/helpers/get")),i=r(e("@babel/runtime/helpers/inherits")),a=r(e("@babel/runtime/helpers/possibleConstructorReturn")),s=r(e("@babel/runtime/helpers/getPrototypeOf")),u=r(e("@babel/runtime/helpers/classCallCheck")),l=r(e("@babel/runtime/helpers/createClass")),c=r(e("@babel/runtime/helpers/typeof")),f=e("./directive.js"),p=e("./dom.js"),d=e("./part.js"),h=e("./template-instance.js"),m=e("./template-result.js"),v=e("./template.js");function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=(0,s.default)(e);if(t){var o=(0,s.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,a.default)(this,n)}}function b(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var w=function(e){return null===e||!("object"===(0,c.default)(e)||"function"==typeof e)};n.isPrimitive=w;var C=function(e){return Array.isArray(e)||!(!e||!e[Symbol.iterator])};n.isIterable=C;var _=function(){function e(t,n,r){(0,u.default)(this,e),this.dirty=!0,this.element=t,this.name=n,this.strings=r,this.parts=[];for(var o=0;o<r.length-1;o++)this.parts[o]=this._createPart()}return(0,l.default)(e,[{key:"_createPart",value:function(){return new k(this)}},{key:"_getValue",value:function(){var e=this.strings,t=e.length-1,n=this.parts;if(1===t&&""===e[0]&&""===e[1]){var r=n[0].value;if("symbol"===(0,c.default)(r))return String(r);if("string"==typeof r||!C(r))return r}for(var o="",i=0;i<t;i++){o+=e[i];var a=n[i];if(void 0!==a){var s=a.value;
1if(w(s)||!C(s))o+="string"==typeof s?s:String(s);else{var u,l=b(s);try{for(l.s();!(u=l.n()).done;){var f=u.value;o+="string"==typeof f?f:String(f)}}catch(e){l.e(e)}finally{l.f()}}}}return o+=e[t]}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element.setAttribute(this.name,this._getValue()))}}]),e}();n.AttributeCommitter=_;var k=function(){function e(t){(0,u.default)(this,e),this.value=void 0,this.committer=t}return(0,l.default)(e,[{key:"setValue",value:function(e){e===d.noChange||w(e)&&e===this.value||(this.value=e,(0,f.isDirective)(e)||(this.committer.dirty=!0))}},{key:"commit",value:function(){for(;(0,f.isDirective)(this.value);){var e=this.value;this.value=d.noChange,e(this)}this.value!==d.noChange&&this.committer.commit()}}]),e}();n.AttributePart=k;var S=function(){function e(t){(0,u.default)(this,e),this.value=void 0,this.__pendingValue=void 0,this.options=t}return(0,l.default)(e,[{key:"appendInto",value:function(e){this.startNode=e.appendChild((0,v.createMarker)()),this.endNode=e.appendChild((0,v.createMarker)())}},{key:"insertAfterNode",value:function(e){this.startNode=e,this.endNode=e.nextSibling}},{key:"appendIntoPart",value:function(e){e.__insert(this.startNode=(0,v.createMarker)()),e.__insert(this.endNode=(0,v.createMarker)())}},{key:"insertAfterPart",value:function(e){e.__insert(this.startNode=(0,v.createMarker)()),this.endNode=e.endNode,e.endNode=this.startNode}},{key:"setValue",value:function(e){this.__pendingValue=e}},{key:"commit",value:function(){if(null!==this.startNode.parentNode){for(;(0,f.isDirective)(this.__pendingValue);){var e=this.__pendingValue;this.__pendingValue=d.noChange,e(this)}var t=this.__pendingValue;t!==d.noChange&&(w(t)?t!==this.value&&this.__commitText(t):t instanceof m.TemplateResult?this.__commitTemplateResult(t):t instanceof Node?this.__commitNode(t):C(t)?this.__commitIterable(t):t===d.nothing?(this.value=d.nothing,this.clear()):this.__commitText(t))}}},{key:"__insert",value:function(e){this.endNode.parentNode.insertBefore(e,this.endNode)}},{key:"__commitNode",value:function(e){this.value!==e&&(this.clear(),this.__insert(e),this.value=e)}},{key:"__commitText",value:function(e){var t=this.startNode.nextSibling,n="string"==typeof(e=null==e?"":e)?e:String(e);t===this.endNode.previousSibling&&3===t.nodeType?t.data=n:this.__commitNode(document.createTextNode(n)),this.value=e}},{key:"__commitTemplateResult",value:function(e){var t=this.options.templateFactory(e);if(this.value instanceof h.TemplateInstance&&this.value.template===t)this.value.update(e.values);else{var n=new h.TemplateInstance(t,e.processor,this.options),r=n._clone();n.update(e.values),this.__commitNode(r),this.value=n}}},{key:"__commitIterable",value:function(t){Array.isArray(this.value)||(this.value=[],this.clear());var n,r,o=this.value,i=0,a=b(t);try{for(a.s();!(r=a.n()).done;){var s=r.value;void 0===(n=o[i])&&(n=new e(this.options),o.push(n),0===i?n.appendIntoPart(this):n.insertAfterPart(o[i-1])),n.setValue(s),n.commit(),i++}}catch(e){a.e(e)}finally{a.f()}i<o.length&&(o.length=i,this.clear(n&&n.endNode))}},{key:"clear",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.startNode;(0,p.removeNodes)(this.startNode.parentNode,e.nextSibling,this.endNode)}}]),e}();n.NodePart=S;var O=function(){function e(t,n,r){if((0,u.default)(this,e),this.value=void 0,this.__pendingValue=void 0,2!==r.length||""!==r[0]||""!==r[1])throw new Error("Boolean attributes can only contain a single expression");this.element=t,this.name=n,this.strings=r}return(0,l.default)(e,[{key:"setValue",value:function(e){this.__pendingValue=e}},{key:"commit",value:function(){for(;(0,f.isDirective)(this.__pendingValue);){var e=this.__pendingValue;this.__pendingValue=d.noChange,e(this)}if(this.__pendingValue!==d.noChange){var t=!!this.__pendingValue;this.value!==t&&(t?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=t),this.__pendingValue=d.noChange}}}]),e}();n.BooleanAttributePart=O;var T=function(e){(0,i.default)(n,e);var t=g(n);function n(e,r,o){var i;return(0,u.default)(this,n),(i=t.call(this,e,r,o)).single=2===o.length&&""===o[0]&&""===o[1],i}return(0,l.default)(n,[{key:"_createPart",value:function(){return new P(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:(0,o.default)((0,s.default)(n.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),n}(_);n.PropertyCommitter=T;var P=function(e){(0,i.default)(n,e);var t=g(n);function n(){return(0,u.default)(this,n),t.apply(this,arguments)}return n}(k);n.PropertyPart=P;var j=!1;!function(){try{var e={get capture(){return j=!0,!1}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){}}();var N=function(){function e(t,n,r){var o=this;(0,u.default)(this,e),this.value=void 0,this.__pendingValue=void 0,this.element=t,this.eventName=n,this.eventContext=r,this.__boundHandleEvent=function(e){return o.handleEvent(e)}}return(0,l.default)(e,[{key:"setValue",value:function(e){this.__pendingValue=e}},{key:"commit",value:function(){for(;(0,f.isDirective)(this.__pendingValue);){var e=this.__pendingValue;this.__pendingValue=d.noChange,e(this)}if(this.__pendingValue!==d.noChange){var t=this.__pendingValue,n=this.value,r=null==t||null!=n&&(t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive),o=null!=t&&(null==n||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),o&&(this.__options=I(t),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=t,this.__pendingValue=d.noChange}}},{key:"handleEvent",value:function(e){"function"==typeof this.value?this.value.call(this.eventContext||this.element,e):this.value.handleEvent(e)}}]),e}();n.EventPart=N;var I=function(e){return e&&(j?{capture:e.capture,passive:e.passive,once:e.once}:e.capture)}},{"./directive.js":34,"./dom.js":35,"./part.js":37,"./template-instance.js":42,"./template-result.js":43,"./template.js":44,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/get":8,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16,"@babel/runtime/helpers/typeof":21}],39:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.render=n.parts=void 0;var r=e("./dom.js"),o=e("./parts.js"),i=e("./template-factory.js"),a=new WeakMap;n.parts=a;n.render=function(e,t,n){var s=a.get(t);void 0===s&&((0,r.removeNodes)(t,t.firstChild),a.set(t,s=new o.NodePart(Object.assign({templateFactory:i.templateFactory},n))),s.appendInto(t)),s.setValue(e),s.commit()}},{"./dom.js":35,"./parts.js":38,"./template-factory.js":41}],40:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"html",{enumerable:!0,get:function(){return f.html}}),Object.defineProperty(n,"svg",{enumerable:!0,get:function(){return f.svg}}),Object.defineProperty(n,"TemplateResult",{enumerable:!0,get:function(){return f.TemplateResult}}),n.render=n.shadyTemplateFactory=void 0;var o=r(e("@babel/runtime/helpers/typeof")),i=e("./dom.js"),a=e("./modify-template.js"),s=e("./render.js"),u=e("./template-factory.js"),l=e("./template-instance.js"),c=e("./template.js"),f=e("../lit-html.js"),p=function(e,t){return"".concat(e,"--").concat(t)},d=!0;void 0===window.ShadyCSS?d=!1:void 0===window.ShadyCSS.prepareTemplateDom&&(console.warn("Incompatible ShadyCSS version detected. Please update to at least @webcomponents/[email protected] and @webcomponents/[email protected]."),d=!1);var h=function(e){return function(t){var n=p(t.type,e),r=u.templateCaches.get(n);void 0===r&&(r={stringsArray:new WeakMap,keyString:new Map},u.templateCaches.set(n,r));var o=r.stringsArray.get(t.strings);if(void 0!==o)return o;var i=t.strings.join(c.marker);if(void 0===(o=r.keyString.get(i))){var a=t.getTemplateElement();d&&window.ShadyCSS.prepareTemplateDom(a,e),o=new c.Template(t,a),r.keyString.set(i,o)}return r.stringsArray.set(t.strings,o),o}};n.shadyTemplateFactory=h;var m=["html","svg"],v=new Set,g=function(e,t,n){v.add(e);var r=n?n.element:document.createElement("template"),o=t.querySelectorAll("style"),i=o.length;if(0!==i){for(var s=document.createElement("style"),l=0;l<i;l++){var c=o[l];c.parentNode.removeChild(c),s.textContent+=c.textContent}!function(e){m.forEach(function(t){var n=u.templateCaches.get(p(t,e));void 0!==n&&n.keyString.forEach(function(e){var t=e.element.content,n=new Set;
1Array.from(t.querySelectorAll("style")).forEach(function(e){n.add(e)}),(0,a.removeNodesFromTemplate)(e,n)})})}(e);var f=r.content;n?(0,a.insertNodeIntoTemplate)(n,s,f.firstChild):f.insertBefore(s,f.firstChild),window.ShadyCSS.prepareTemplateStyles(r,e);var d=f.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==d)t.insertBefore(d.cloneNode(!0),t.firstChild);else if(n){f.insertBefore(s,f.firstChild);var h=new Set;h.add(s),(0,a.removeNodesFromTemplate)(n,h)}}else window.ShadyCSS.prepareTemplateStyles(r,e)};n.render=function(e,t,n){if(!n||"object"!==(0,o.default)(n)||!n.scopeName)throw new Error("The `scopeName` option is required.");var r=n.scopeName,a=s.parts.has(t),u=d&&11===t.nodeType&&!!t.host,c=u&&!v.has(r),f=c?document.createDocumentFragment():t;if((0,s.render)(e,f,Object.assign({templateFactory:h(r)},n)),c){var p=s.parts.get(f);s.parts.delete(f);var m=p.value instanceof l.TemplateInstance?p.value.template:void 0;g(r,f,m),(0,i.removeNodes)(t,t.firstChild),t.appendChild(f),s.parts.set(t,p)}!a&&u&&window.ShadyCSS.styleElement(t.host)}},{"../lit-html.js":45,"./dom.js":35,"./modify-template.js":36,"./render.js":39,"./template-factory.js":41,"./template-instance.js":42,"./template.js":44,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/typeof":21}],41:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.templateFactory=function(e){var t=o.get(e.type);void 0===t&&(t={stringsArray:new WeakMap,keyString:new Map},o.set(e.type,t));var n=t.stringsArray.get(e.strings);if(void 0!==n)return n;var i=e.strings.join(r.marker);void 0===(n=t.keyString.get(i))&&(n=new r.Template(e,e.getTemplateElement()),t.keyString.set(i,n));return t.stringsArray.set(e.strings,n),n},n.templateCaches=void 0;var r=e("./template.js");var o=new Map;n.templateCaches=o},{"./template.js":44}],42:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.TemplateInstance=void 0;var o=r(e("@babel/runtime/helpers/toConsumableArray")),i=r(e("@babel/runtime/helpers/classCallCheck")),a=r(e("@babel/runtime/helpers/createClass")),s=e("./dom.js"),u=e("./template.js");function l(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var f=function(){function e(t,n,r){(0,i.default)(this,e),this.__parts=[],this.template=t,this.processor=n,this.options=r}return(0,a.default)(e,[{key:"update",value:function(e){var t,n=0,r=l(this.__parts);try{for(r.s();!(t=r.n()).done;){var o=t.value;void 0!==o&&o.setValue(e[n]),n++}}catch(e){r.e(e)}finally{r.f()}var i,a=l(this.__parts);try{for(a.s();!(i=a.n()).done;){var s=i.value;void 0!==s&&s.commit()}}catch(e){a.e(e)}finally{a.f()}}},{key:"_clone",value:function(){for(var e,t=s.isCEPolyfill?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),n=[],r=this.template.parts,i=document.createTreeWalker(t,133,null,!1),a=0,l=0,c=i.nextNode();a<r.length;)if(e=r[a],(0,u.isTemplatePartActive)(e)){for(;l<e.index;)l++,"TEMPLATE"===c.nodeName&&(n.push(c),i.currentNode=c.content),null===(c=i.nextNode())&&(i.currentNode=n.pop(),c=i.nextNode());if("node"===e.type){var f=this.processor.handleTextExpression(this.options);f.insertAfterNode(c.previousSibling),this.__parts.push(f)}else{var p;
1(p=this.__parts).push.apply(p,(0,o.default)(this.processor.handleAttributeExpressions(c,e.name,e.strings,this.options)))}a++}else this.__parts.push(void 0),a++;return s.isCEPolyfill&&(document.adoptNode(t),customElements.upgrade(t)),t}}]),e}();n.TemplateInstance=f},{"./dom.js":35,"./template.js":44,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/toConsumableArray":20}],43:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.SVGTemplateResult=n.TemplateResult=void 0;var o=r(e("@babel/runtime/helpers/get")),i=r(e("@babel/runtime/helpers/inherits")),a=r(e("@babel/runtime/helpers/possibleConstructorReturn")),s=r(e("@babel/runtime/helpers/getPrototypeOf")),u=r(e("@babel/runtime/helpers/classCallCheck")),l=r(e("@babel/runtime/helpers/createClass")),c=e("./dom.js"),f=e("./template.js");function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=(0,s.default)(e);if(t){var o=(0,s.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,a.default)(this,n)}}var d=window.trustedTypes&&trustedTypes.createPolicy("lit-html",{createHTML:function(e){return e}}),h=" ".concat(f.marker," "),m=function(){function e(t,n,r,o){(0,u.default)(this,e),this.strings=t,this.values=n,this.type=r,this.processor=o}return(0,l.default)(e,[{key:"getHTML",value:function(){for(var e=this.strings.length-1,t="",n=!1,r=0;r<e;r++){var o=this.strings[r],i=o.lastIndexOf("\x3c!--");n=(i>-1||n)&&-1===o.indexOf("--\x3e",i+1);var a=f.lastAttributeNameRegex.exec(o);t+=null===a?o+(n?h:f.nodeMarker):o.substr(0,a.index)+a[1]+a[2]+f.boundAttributeSuffix+a[3]+f.marker}return t+=this.strings[e]}},{key:"getTemplateElement",value:function(){var e=document.createElement("template"),t=this.getHTML();return void 0!==d&&(t=d.createHTML(t)),e.innerHTML=t,e}}]),e}();n.TemplateResult=m;var v=function(e){(0,i.default)(n,e);var t=p(n);function n(){return(0,u.default)(this,n),t.apply(this,arguments)}return(0,l.default)(n,[{key:"getHTML",value:function(){return"<svg>".concat((0,o.default)((0,s.default)(n.prototype),"getHTML",this).call(this),"</svg>")}},{key:"getTemplateElement",value:function(){var e=(0,o.default)((0,s.default)(n.prototype),"getTemplateElement",this).call(this),t=e.content,r=t.firstChild;return t.removeChild(r),(0,c.reparentNodes)(t,r.firstChild),e}}]),n}(m);n.SVGTemplateResult=v},{"./dom.js":35,"./template.js":44,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/get":8,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16}],44:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.lastAttributeNameRegex=n.createMarker=n.isTemplatePartActive=n.Template=n.boundAttributeSuffix=n.markerRegex=n.nodeMarker=n.marker=void 0;var o=r(e("@babel/runtime/helpers/classCallCheck")),i="{{lit-".concat(String(Math.random()).slice(2),"}}");n.marker=i;var a="\x3c!--".concat(i,"--\x3e");n.nodeMarker=a;var s=new RegExp("".concat(i,"|").concat(a));n.markerRegex=s;n.boundAttributeSuffix="$lit$";n.Template=function e(t,n){(0,o.default)(this,e),this.parts=[],this.element=n;for(var r=[],a=[],f=document.createTreeWalker(n.content,133,null,!1),p=0,d=-1,h=0,m=t.strings,v=t.values.length;h<v;){var g=f.nextNode();if(null!==g){if(d++,1===g.nodeType){if(g.hasAttributes()){for(var b=g.attributes,y=b.length,w=0,C=0;C<y;C++)u(b[C].name,"$lit$")&&w++;for(;w-- >0;){var _=m[h],k=c.exec(_)[2],S=k.toLowerCase()+"$lit$",O=g.getAttribute(S);g.removeAttribute(S);var T=O.split(s);this.parts.push({type:"attribute",index:d,name:k,strings:T}),h+=T.length-1}}"TEMPLATE"===g.tagName&&(a.push(g),f.currentNode=g.content)}else if(3===g.nodeType){var P=g.data;if(P.indexOf(i)>=0){for(var j=g.parentNode,N=P.split(s),I=N.length-1,x=0;x<I;x++){var E=void 0,M=N[x];if(""===M)E=l();else{var R=c.exec(M);null!==R&&u(R[2],"$lit$")&&(M=M.slice(0,R.index)+R[1]+R[2].slice(0,-"$lit$".length)+R[3]),E=document.createTextNode(M)}j.insertBefore(E,g),this.parts.push({type:"node",index:++d})}""===N[I]?(j.insertBefore(l(),g),r.push(g)):g.data=N[I],h+=I}}else if(8===g.nodeType)if(g.data===i){var A=g.parentNode;null!==g.previousSibling&&d!==p||(d++,A.insertBefore(l(),g)),p=d,this.parts.push({type:"node",index:d}),null===g.nextSibling?g.data="":(r.push(g),d--),h++}else for(var F=-1;-1!==(F=g.data.indexOf(i,F+1));)this.parts.push({type:"node",index:-1}),h++}else f.currentNode=a.pop()}for(var G=0,q=r;G<q.length;G++){var L=q[G];L.parentNode.removeChild(L)}};var u=function(e,t){var n=e.length-t.length;return n>=0&&e.slice(n)===t};n.isTemplatePartActive=function(e){return-1!==e.index};var l=function(){return document.createComment("")};n.createMarker=l;var c=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/;n.lastAttributeNameRegex=c},{"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/interopRequireDefault":11}],45:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"DefaultTemplateProcessor",{enumerable:!0,get:function(){return r.DefaultTemplateProcessor}}),Object.defineProperty(n,"defaultTemplateProcessor",{enumerable:!0,get:function(){return r.defaultTemplateProcessor}}),Object.defineProperty(n,"SVGTemplateResult",{enumerable:!0,get:function(){return o.SVGTemplateResult}}),Object.defineProperty(n,"TemplateResult",{enumerable:!0,get:function(){return o.TemplateResult}}),Object.defineProperty(n,"directive",{enumerable:!0,get:function(){return i.directive}}),Object.defineProperty(n,"isDirective",{enumerable:!0,get:function(){return i.isDirective}}),Object.defineProperty(n,"removeNodes",{enumerable:!0,get:function(){return a.removeNodes}}),Object.defineProperty(n,"reparentNodes",{enumerable:!0,get:function(){return a.reparentNodes}}),Object.defineProperty(n,"noChange",{enumerable:!0,get:function(){return s.noChange}}),Object.defineProperty(n,"nothing",{enumerable:!0,get:function(){return s.nothing}}),Object.defineProperty(n,"AttributeCommitter",{enumerable:!0,get:function(){return u.AttributeCommitter}}),Object.defineProperty(n,"AttributePart",{enumerable:!0,get:function(){return u.AttributePart}}),Object.defineProperty(n,"BooleanAttributePart",{enumerable:!0,get:function(){return u.BooleanAttributePart}}),Object.defineProperty(n,"EventPart",{enumerable:!0,get:function(){return u.EventPart}}),Object.defineProperty(n,"isIterable",{enumerable:!0,get:function(){return u.isIterable}}),Object.defineProperty(n,"isPrimitive",{enumerable:!0,get:function(){return u.isPrimitive}}
1),Object.defineProperty(n,"NodePart",{enumerable:!0,get:function(){return u.NodePart}}),Object.defineProperty(n,"PropertyCommitter",{enumerable:!0,get:function(){return u.PropertyCommitter}}),Object.defineProperty(n,"PropertyPart",{enumerable:!0,get:function(){return u.PropertyPart}}),Object.defineProperty(n,"parts",{enumerable:!0,get:function(){return l.parts}}),Object.defineProperty(n,"render",{enumerable:!0,get:function(){return l.render}}),Object.defineProperty(n,"templateCaches",{enumerable:!0,get:function(){return c.templateCaches}}),Object.defineProperty(n,"templateFactory",{enumerable:!0,get:function(){return c.templateFactory}}),Object.defineProperty(n,"TemplateInstance",{enumerable:!0,get:function(){return f.TemplateInstance}}),Object.defineProperty(n,"createMarker",{enumerable:!0,get:function(){return p.createMarker}}),Object.defineProperty(n,"isTemplatePartActive",{enumerable:!0,get:function(){return p.isTemplatePartActive}}),Object.defineProperty(n,"Template",{enumerable:!0,get:function(){return p.Template}}),n.svg=n.html=void 0;var r=e("./lib/default-template-processor.js"),o=e("./lib/template-result.js"),i=e("./lib/directive.js"),a=e("./lib/dom.js"),s=e("./lib/part.js"),u=e("./lib/parts.js"),l=e("./lib/render.js"),c=e("./lib/template-factory.js"),f=e("./lib/template-instance.js"),p=e("./lib/template.js");"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.3.0");n.html=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return new o.TemplateResult(e,n,"html",r.defaultTemplateProcessor)};n.svg=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return new o.SVGTemplateResult(e,n,"svg",r.defaultTemplateProcessor)}},{"./lib/default-template-processor.js":33,"./lib/directive.js":34,"./lib/dom.js":35,"./lib/part.js":37,"./lib/parts.js":38,"./lib/render.js":39,"./lib/template-factory.js":41,"./lib/template-instance.js":42,"./lib/template-result.js":43,"./lib/template.js":44}],46:[function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),a=new j(r||[]);return i._invoke=function(e,t,n){var r=f;return function(o,i){if(r===d)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw i;return I()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=O(a,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var u=c(e,t,n);if("normal"===u.type){if(r=n.done?h:p,u.arg===m)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=h,n.method="throw",n.arg=u.arg)}}}(e,n,a),i}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var f="suspendedStart",p="suspendedYield",d="executing",h="completed",m={};function v(){}function g(){}function b(){}var y={};y[i]=function(){return this};var w=Object.getPrototypeOf,C=w&&w(w(N([])));C&&C!==n&&r.call(C,i)&&(y=C);var _=b.prototype=v.prototype=Object.create(y);function k(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function S(e,t){var n;this._invoke=function(o,i){function a(){return new t(function(n,a){!function n(o,i,a,s){var u=c(e[o],e,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then(function(e){n("next",e,a,s)},function(e){n("throw",e,a,s)}):t.resolve(f).then(function(e){l.value=e,a(l)},function(e){return n("throw",e,a,s)})}s(u.arg)}(o,i,n,a)})}return n=n?n.then(a,a):a()}}function O(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&
vendor: 4,174 bytes, line 1
1(n.method="return",n.arg=t,O(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var o=c(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function N(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:I}}function I(){return{value:t,done:!0}}return g.prototype=_.constructor=b,b.constructor=g,g.displayName=u(b,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,s,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},k(S.prototype),S.prototype[a]=function(){return this},e.AsyncIterator=S,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new S(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then(function(e){return e.done?e.value:a.next()})},k(_),u(_,s,"Generator"),_[i]=function(){return this},_.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=N,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return s.type="throw",s.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:N(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}
1("object"==typeof t?t.exports:{});try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},{}],47:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=r(e("@babel/runtime/helpers/taggedTemplateLiteral")),i=r(e("@babel/runtime/helpers/classCallCheck")),a=r(e("@babel/runtime/helpers/createClass")),s=r(e("@babel/runtime/helpers/inherits")),u=r(e("@babel/runtime/helpers/possibleConstructorReturn")),l=r(e("@babel/runtime/helpers/getPrototypeOf")),c=e("lit-element"),f=e("@trinitymirrordigital/chameleon-core"),p=e("../js/loginRadius.js"),d=e("../js/viafoura.js"),h=e("../js/auth-ui.js");function m(){var e=(0,o.default)(["<div id='","' class='signin ","'>\n <span class='label ","'>\n <span class='icon'></span>\n </span>\n <span class='bubble-wrapper ","'>\n <span class='name'>","</span>\n </span>\n <span id='","'></span>\n </div>\n ",""]);return m=function(){return e},e}function v(){var e=(0,o.default)(['<profile-menu class="profile-menu" hidden/>']);return v=function(){return e},e}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var o=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}window.TMCONFIG=window.TMCONFIG||{};var b=window.TMCONFIG.features||{},y=function(e){(0,s.default)(n,e);var t=g(n);function n(){var e;return(0,i.default)(this,n),(e=t.call(this)).customClass=e.getAttribute("lr-custom-class")||"",e.customId=e.getAttribute("lr-custom-id")||"",e.lrGTMLabel=e.getAttribute("lr-gtm-label")||"",e.showAccountLink=e.getAttribute("lr-show-account-link")||!1,e.isLoggedIn=!1,e.authUIRootElemId="auth-ui-root",e.userInitials="",e.PREFIX="viafoura-sync",e.isAuthUI="true"===b["authUI.enabled"]||"true"===b.authUI,e.viafouraEnabled="true"===b.viafouraEnabled,e.addEventListener("click",function(){e.isAuthUI?e.isLoggedIn&&"true"===b.profileMenu?e.menu.toggleAttribute("hidden"):f.events.fire(window,"auth-ui.authenticate",{origin:e.lrGTMLabel}):(0,p.profileIconClick)(e.lrGTMLabel)}),e}return(0,a.default)(n,null,[{key:"properties",get:function(){return{isLoggedIn:{type:Boolean},userInitials:{type:String}}}}]),(0,a.default)(n,[{key:"getUserInitials",value:function(e){if(!e)return"";var t=e.FirstName,n=e.LastName,r=e.Email;return t&&n?t[0]+n[0]:r[0].Value.substr(0,2)}},{key:"firstUpdated",value:function(){var e=this;this.menu=this.renderRoot.querySelector("profile-menu"),this.isAuthUI?((0,h.initAuthUI)(this.authUIRootElemId).catch(function(e){console.error(e.message)}),f.events.listen(window,"auth-ui.authentication",function(t){var n=t.detail,r=n.isAuthenticated,o=n.user;e.userInitials=e.getUserInitials(o),e.isLoggedIn=r})):((0,p.initIDX)(),f.events.listen(window,"loginradius.loginstate",function(t){var n=t.data.loggedIn;e.userInitials=window.localStorage.getItem("loginRadiusInitials")||"",e.isLoggedIn=n})),this.viafouraEnabled&&(0,d.handleVFSync)(this.PREFIX,this.customId)}},{key:"createRenderRoot",value:function(){return this}},{key:"render",value:function(){var e=(0,c.html)(v());return(0,c.html)(m(),this.customId,this.customClass,this.isLoggedIn?"":"show",this.isLoggedIn?"show":"",this.userInitials,this.authUIRootElemId,"true"===b.profileMenu?e:"")}}]),n}(c.LitElement);n.default=y},{"../js/auth-ui.js":50,"../js/loginRadius.js":51,"../js/viafoura.js":52,"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16,"@babel/runtime/helpers/taggedTemplateLiteral":19,"@trinitymirrordigital/chameleon-core":25,"lit-element":32}],48:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=r(e("@babel/runtime/helpers/classCallCheck")),i=r(e("@babel/runtime/helpers/get")),a=r(e("@babel/runtime/helpers/createClass")),s=r(e("@babel/runtime/helpers/inherits")),u=r(e("@babel/runtime/helpers/possibleConstructorReturn")),l=r(e("@babel/runtime/helpers/getPrototypeOf")),c=r(e("@babel/runtime/helpers/taggedTemplateLiteral")),f=e("lit-element"),p=e("@trinitymirrordigital/chameleon-core");function d(){var e=(0,c.default)(["",'\n <ul>\n <li><a href="/my-profile/">Profile</a></li>\n <li><a href="/newsletter-preference-centre/?utm_source=newslettersdropdown">Newsletters</a></li>\n ',"\n ","\n ","\n ",'\n <li><span data-action="logout" @click=',">Log out</span></li>\n </ul>"]);return d=function(){return e},e}function h(){var e=(0,c.default)(['<li><a href="/my-bookmarks/">
1Bookmarks</a></li>']);return h=function(){return e},e}function m(){var e=(0,c.default)(["",'\n <ul>\n <li><a href="/my-profile/">Profile</a></li>\n <li><a href="/newsletter-preference-centre/?utm_source=newslettersdropdown">Newsletters</a></li>\n ',"\n ","\n ","\n ",'\n <li><span data-action="logout" @click=',">Log out</span></li>\n </ul>"]);return m=function(){return e},e}function v(){var e=(0,c.default)(['<li><a href="/account?pq=bookmarks">Bookmarks</a></li>']);return v=function(){return e},e}function g(){var e=(0,c.default)(['<li><a href="','">',"</a></li>"]);return g=function(){return e},e}function b(){var e=(0,c.default)(['<li><a href="/privacy-plus">Privacy Plus</a></li>']);return b=function(){return e},e}function y(){var e=(0,c.default)(['<li><a href="/cookie-settings">Cookie Settings</a></li>']);return y=function(){return e},e}function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=(0,l.default)(e);if(t){var o=(0,l.default)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,u.default)(this,n)}}function C(){var e=(0,c.default)(["<style>\n\n ul {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n\n li {\n border-top: 1px solid #CCC;\n padding: 0;\n }\n\n a, span {\n color: var(--profile-menu-text, #000);\n cursor: pointer;\n display: block;\n padding: 16px;\n text-align: center;\n text-decoration: none;\n }\n\n a:hover, span:hover {\n background: var(--profile-menu-hover, #F5F5F5);\n }\n\n [data-action='logout'] {\n color: var(--profile-menu-logout, var(--pub-primary-color));\n }\n </style>"]);return C=function(){return e},e}window.TMCONFIG=window.TMCONFIG||{};var _=window.TMCONFIG.features||{},k=function(){return(0,f.html)(C())},S=new CustomEvent("auth-ui.logout",{detail:{origin:"header"}}),O=function(){window.dispatchEvent(S)},T=function(e){(0,s.default)(n,e);var t=w(n);function n(){return(0,o.default)(this,n),t.call(this)}return(0,a.default)(n,null,[{key:"properties",get:function(){return{hidden:{type:String,reflect:!0}}}}]),(0,a.default)(n,[{key:"attributeChangedCallback",value:function(e,t,r){p.events.fire(window,"profile-menu",{open:!this.hasAttribute("hidden")}),(0,i.default)((0,l.default)(n.prototype),"attributeChangedCallback",this).call(this,e,t,r)}},{key:"render",value:function(){var e=(0,f.html)(y()),t=(0,f.html)(b()),n=(null===_||void 0===_?void 0:_["premium.premiumLabel"])||"Premium",r=(null===_||void 0===_?void 0:_["premium.premiumLink"])||"/premium/",o=(0,f.html)(g(),r,n);if("true"===_.accountHubEnabled){var i=(0,f.html)(v());return(0,f.html)(m(),k(),"true"===_.bookmarksEnabled?i:"","true"===_.privacyPlusEnabled&&"2.0"===_.privacyPlusVersion&&_.privacyPlusPpScriptSrc?e:"","true"===_.privacyPlusEnabled&&"2.0"===_.privacyPlusVersion&&_.privacyPlusPpScriptSrc?t:"","true"===_["premium.masterEnabled"]&&"true"===_["premium.branding"]?o:"",O)}var a=(0,f.html)(h());return(0,f.html)(d(),k(),"true"===_.bookmarksEnabled?a:"","true"===_.privacyPlusEnabled&&"2.0"===_.privacyPlusVersion&&_.privacyPlusPpScriptSrc?e:"","true"===_.privacyPlusEnabled&&"2.0"===_.privacyPlusVersion&&_.privacyPlusPpScriptSrc?t:"","true"===_["premium.masterEnabled"]&&"true"===_["premium.branding"]?o:"",O)}}]),n}(f.LitElement);n.default=T},{"@babel/runtime/helpers/classCallCheck":5,"@babel/runtime/helpers/createClass":7,"@babel/runtime/helpers/get":8,"@babel/runtime/helpers/getPrototypeOf":9,"@babel/runtime/helpers/inherits":10,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/possibleConstructorReturn":16,"@babel/runtime/helpers/taggedTemplateLiteral":19,"@trinitymirrordigital/chameleon-core":25,"lit-element":32}],49:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault"),o=r(e("./components/icon.js")),i=r(e("./components/menu.js")),a={"profile-icon":o.default,"profile-menu":i.default};
1Object.keys(a).forEach(function(e){customElements.define(e,a[e])})},{"./components/icon.js":47,"./components/menu.js":48,"@babel/runtime/helpers/interopRequireDefault":11}],50:[function(e,t,n){"use strict";var r=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.initAuthUI=void 0;var o=r(e("@babel/runtime/regenerator")),i=r(e("@babel/runtime/helpers/asyncToGenerator")),a=r(e("@babel/runtime/helpers/toConsumableArray")),s=e("@trinitymirrordigital/chameleon-core"),u=["regwall-logo","regwall-edging","primary-color","secondary-color","logo","light-background","interactive-elems","labels-font","copy-font"],l=function(){var e=document.getElementsByTagName("main")[0],t=document.querySelector("#content-portal");t||((t=document.createElement("div")).setAttribute("id","content-portal"),e.insertBefore(t,e.firstChild))},c=function(){var e;if(!(window.location.search.indexOf("&oneTap=false")>=0))if(window.TMCONFIG&&window.TMCONFIG.features&&"true"===window.TMCONFIG.features.googleOneTapConsentCheck){if(null!=window.TMConsent&&null!=window.TMConsent.tcfv2consent&&null!=window.TMConsent.tcfv2consent.purpose&&null!=window.TMConsent.api&&null!=window.TMConsent.api.vendors){var t=[1,2,3,4,5,6,7,8,9,10],n=(e=window.TMConsent.api).isConsented.apply(e,(0,a.default)(window.TMConsent.api.vendors.google)),r=t.reduce(function(e,t){return e&&(window.TMConsent.tcfv2consent.purpose.consents[t]||!1)},(!0).valueOf()),o=new CustomEvent("auth-ui.allowOneTap",{detail:{allow:n&&r},cancelable:!0});window.dispatchEvent(o)}}else{var i=new CustomEvent("auth-ui.allowOneTap",{detail:{allow:!0},cancelable:!0});window.dispatchEvent(i)}},f=function(){var e=(0,i.default)(o.default.mark(function e(t){return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(e){setTimeout(function(){e()},t)}));case 1:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),p=function(){var e=(0,i.default)(o.default.mark(function e(t,n){return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n>
1=16)){e.next=2;break}throw new Error("Auth UI bundle not loaded");case 2:if(!window.AuthUI){e.next=7;break}return window.AuthUI.init(t),e.abrupt("return",!0);case 7:return e.next=9,f(256);case 9:return e.abrupt("return",p(t,n+1));case 10:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),d=!1,h=function(e){var t=["localhost","bertha.","stable."].some(function(e){return window.location.hostname.includes(e)});if("true"===window.TMCONFIG.features["authUI.default"])p(e,0);else if(!d){d=!0;var n=document.createElement("script");n.onload=function(){p(e,0)},n.onerror=function(){console.error("Handle Error Here")};var r="/@trinitymirrordigital/auth-ui/auth-ui.min.js",o=new URL(window.location.href).searchParams.get("authUiBranch"),i=window.TMCONFIG.features["authUI.version"];t&&o?r="/@trinitymirrordigital/auth-ui/".concat(o,"/auth-ui.min.js?v=").concat(Date.now()):i&&(r="/@trinitymirrordigital/auth-ui/".concat(i,"/auth-ui.min.js")),n.setAttribute("src",r),document.body.appendChild(n)}},m=function(){var e=(0,i.default)(o.default.mark(function e(t){var n,r,i,a,f,p,d,m,v,g,b,y,w,C,_,k;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=window.TMCONFIG&&window.TMCONFIG.features&&window.TMCONFIG.features.loginRadiusAPIKey,r=window.TMCONFIG&&window.TMCONFIG.features&&window.TMCONFIG.features.LoginRadiusDomain,i=window.TMCONFIG&&window.TMCONFIG.features&&window.TMCONFIG.features["authUI.reCaptchaKey"],a=new URL(window.location),f="/".concat(a.searchParams.has("au_route")?a.searchParams.get("au_route"):""),p=window.TMCONFIG&&window.TMCONFIG.features&&window.TMCONFIG.features["authUI.oneTapClientID"],d=t||"auth-ui",m=window.TMCONFIG&&window.TMCONFIG.features&&window.TMCONFIG.features["authUI.publicationID"],v=window.TMCONFIG&&window.TMCONFIG.features&&window.TMCONFIG.features.publicationName,g=u.reduce(function(e,t){var n=getComputedStyle(document.documentElement).getPropertyValue("--pub-".concat(t));return n&&(e[t]=n),e},{}),b=function(e){var t={ok:{"regwall-edging":"linear-gradient(to bottom, #b18316, #e8b744 48%, rgba(0, 0, 0, 0) 62%) 1 5%"},mirror:{"primary-color":"#A92323","light-background":"#f6f9f8","interactive-elements-border-radius":"4px","copy-font":'ApercuPro-Regular "Open Sans" sans-serif',"regwall-edging":"linear-gradient(to bottom, #f6f9f8, #f6f9f8 48%, rgba(0, 0, 0, 0) 62%) 1 5%"},themirror:{"primary-color":"#A92323","light-background":"#f6f9f8","interactive-elements-border-radius":"4px","copy-font":'ApercuPro-Regular "Open Sans" sans-serif',"regwall-edging":"linear-gradient(to bottom, #f6f9f8, #f6f9f8 48%, rgba(0, 0, 0, 0) 62%) 1 5%"},liverpoolecho:{regwall:{edging:"#ffffff","title-color":"#d11c25","title-size":"1.5rem","title-weight":"600","border-width":"4px 0","border-color":"#d11c25","box-shadow":"0 0 5px 0 #d11c25","background-image":'url("https://d2cy9dju74ztm4.cloudfront.net/auth-ui/liverpoolecho/LFC_RegWall_Backdrop_Desktop.svg")',"background-color":"#eeeeee"}}},n={"regwall-edging":"linear-gradient(to bottom, #ffffff, #ffffff 48%, rgba(0, 0, 0, 0) 62%) 1 5%"};return t[e]&&function(){for(var r in t[e])n[r]=t[e][r]}(),n["regwall-logo"]='url("https://d2cy9dju74ztm4.cloudfront.net/auth-ui/'.concat(e,'/app_square_logo.png")'),n},y={ok:"628606264312-3iuoscnik8s60s9l89gphhu14d84rrbr.apps.googleusercontent.com",liverpoolecho:"1084075692078-bfhc13sa49b352icugt0lrhlsj0kkq5d.apps.googleusercontent.com",walesonline:"69184827709-6irhu0j5dcvqj965t6d0jpp1kfu9e606.apps.googleusercontent.com",belfastlive:"766260092296-0q0lqp4qstn79aos7jvabd9kgktbf35u.apps.googleusercontent.com",men:"341344132098-5v0dfko9lctb5vgcgtre7sq9bi2ahdhn.apps.googleusercontent.com",getwestlondon:"227878866311-h13ldrmbe38c9eq1sdpt9dmh6pmnpbrt.apps.googleusercontent.com",dailystar:"187665714343-2h7ck06gs6b6d5kd87dm1ofr74njsu7i.apps.googleusercontent.com",dailyrecord:"893695344395-6m6md5ctauuqoqi9bo46fo05219adntd.apps.googleusercontent.com",dorsetlive:"1075209929777-7p7nacloffinv8tebh9pnbmtnggea8j4.apps.googleusercontent.com",norfolklive:"711434004065-fc68442kovt1tptdrr0325vmurar8gpj.apps.googleusercontent.com",northantslive:"183145222570-gmhqf00o7t6etpv58i3pe5celql9gv2t.apps.googleusercontent.com",nottinghampost:"1005291221116-8o8n24kkufalphpc9pjm7d6ap6ijmm12.apps.googleusercontent.com",oxfordshirelive:"250086298119-vbtmme39v4oe77d91csujovltufab7ai.apps.googleusercontent.com",plymouthherald:"532246851952-23e991b89ivgahjcfpp77e198dlmsi1m.apps.googleusercontent.com",somersetlive:"523523522384-ee6uvlfus0o9ioiidbuojs47mai52sam.apps.googleusercontent.com",burtonmail:"743213435924-rnnrgkuiuasdack7ot315lfejtm7n0j6.apps.googleusercontent.com",stokesentinel:"138905240691-ujeuj7v85tdrvp9lumlkss70i34088ps.apps.googleusercontent.com",suffolklive:"754710673505-gcsok9onn1bq1jm6v7kll1d3753rjcmb.apps.googleusercontent.com",sussexlive:"642824932756-llqnk3q9oegcfjg658ghl9nr042dgsvu.apps.googleusercontent.com",wiltshirelive:"182341097662-4f0p2n7l3e3ps
1pdiejuav1eulhu0huft.apps.googleusercontent.com",galwaybeo:"1034111932066-0pno2h93nnf9bl3hn25uils7im8rk4q1.apps.googleusercontent.com",footballscotland:"614427157526-g5fegvp7527crbp0t14ql4p1jekku1ei.apps.googleusercontent.com",gloucestershirelive:"175414789714-59pk8uodlcvl3tuv5er4sl5b5b34sk4g.apps.googleusercontent.com",grimsbytelegraph:"1021679985940-utlk42mjio2ie2sv3kpmg3hvp7r0j7fd.apps.googleusercontent.com",hampshirelive:"638727229380-gohmkgmsruvtlaa8mv1fqbcqqborpp5n.apps.googleusercontent.com",hertfordshiremercury:"963963743575-ag8jvem09notso5sktbjieibeq7amj5v.apps.googleusercontent.com",hulldailymail:"931874193411-4koin321fopp57a022v05pdqnufapk51.apps.googleusercontent.com",kentlive:"463627108986-aeuv0gvus2qtjerud4lqvngtm1earam5.apps.googleusercontent.com",leicestermercury:"553912174846-cte4ljlta12s03t3k5jcudurgmis76kc.apps.googleusercontent.com",lincolnshirelive:"1019897623530-lfubj7lj78q20b49v1p4cubnp4e1r2tq.apps.googleusercontent.com",birminghammail:"842960766071-kq114e3gv0fkqh5hcogc05sv5aaf6q3m.apps.googleusercontent.com",footballlondon:"96557601978-u5nletr6g097hibobgnli8r37a5md1h7.apps.googleusercontent.com",irishmirror:"694096624990-pnq9d9lptuf26u7m03hrar1fd11d0b89.apps.googleusercontent.com",nechronicle:"18106957794-5i6q82liuhd21a76o8arulevpaa4lgho.apps.googleusercontent.com",huddersfieldexaminer:"21310031516-6a0fhv7eb16lf9mrt3aem6v78snam8ps.apps.googleusercontent.com",bristolpost:"854955006627-mobmadh0fsrisnips376va3pune3dt8i.apps.googleusercontent.com",devonlive:"1092896270790-5pq2hksq44ro2ioj2kbui6r2dobs3bmt.apps.googleusercontent.com",bedfordshirelive:"263733279363-ar795q26ja3oodolofptioka1rr408ih.apps.googleusercontent.com",mirror:"516311609033-gbcubvg1c9sqgpupb83lgdiql4sha3q3.apps.googleusercontent.com",rsvp:"328409758475-qre2pm3rd2vg2jmt0cr15rnaqscigdem.apps.googleusercontent.com",dublinlive:"375637035585-6pvkjnu48g9lmbsnb7bu560ce8e7iare.apps.googleusercontent.com",gazettelive:"769702223316-ttdja56bc9th9g3t0chl64932k0gme75.apps.googleusercontent.com",northwales:"689161430078-5usor0v4rojmcaadi6somkv2224fm88l.apps.googleusercontent.com",glasgowlive:"762271079971-au1klh8v4u4larvo2tbgsrd8l4elo9sp.apps.googleusercontent.com",accrington:"160356775247-euehlsii5tue3o23gopcaamorhrcbunm.apps.googleusercontent.com",cambridgenews:"254457191161-mvl6lhqicj644puoq3giv2su9mstqi40.apps.googleusercontent.com",cornwalllive:"304929104767-cd6bdpm6reskk7fgokjrf5s5mc6muoah.apps.googleusercontent.com",buckinghamshirelive:"36263989358-3mr0u7ou1rko7peifttkse36l40rcfjj.apps.googleusercontent.com",coventrytelegraph:"862461256685-mii3483551bgclomf73vnfg5a198dujh.apps.googleusercontent.com",derbytelegraph:"514934587729-fvsilufu7nar3gp8lkfdpk75adh1gk05.apps.googleusercontent.com",edinburghlive:"722730626199-e8ga0jdpuqblc4dchgsdcd5p12hni2c3.apps.googleusercontent.com",essexlive:"451833246637-467s20jshs6bdl8pf5b0n52gkmi46p6a.apps.googleusercontent.com",leedslive:"462132607524-pkr3gmrc3fab64bbhnh9nhcrqujofa6j.apps.googleusercontent.com",getreading:"721270407976-9vf49lfi7i2e49bke1i199qelsl306ib.apps.googleusercontent.com",liverpool:"1076761515685-o6s98tj2c17updfqs97m48ua9gc139u7.apps.googleusercontent.com",birminghampost:"411419601819-03kolg7n5t9a6t8g2dclcthj5aqn6olm.apps.googleusercontent.com",chesterchronicle:"635352371129-f06fmp8n8ub5iquihbbt46i14ld3qe5b.apps.googleusercontent.com",corklive:"504145963085-nc58lc1tqr3kbof400h6hqqp59n5bnfn.apps.googleusercontent.com",businessInsider:"283519187825-kl5u82nqgo91b608q1a40fcafsefhk4b.apps.googleusercontent.com",getsurrey:"90411009016-369hrt5lq50ha09l5al4j61127mqfoqe.apps.googleusercontent.com",buzz:"234068411925-3blcfsvsl85k84n5o21evaonb9bh0adu.apps.googleusercontent.com",scottishdailyexpress:"885769965204-op9nqsg1boc4h8ug02mmbreks7llehri.apps.googleusercontent.com",irishstar:"785269649718-f8sr6mk0ltcke334oa2vvjubs0uogg1j.apps.googleusercontent.com",themirror:"628383416165-2g999854ttjtm7l6snamvu6n6gc3s7rn.apps.googleusercontent.com"},w=window.TMCONFIG&&window.TMCONFIG.features&&window.TMCONFIG.features.oneTapNewsletterDetails?window.TMCONFIG.features.oneTapNewsletterDetails:[];try{"string"==typeof w&&(C=JSON.parse(w),Array.isArray(C)&&4===C.length&&(w=C))}catch(e){console.log(e),console.log("oneTapNewsletterDetails is defined but is not val
1id JSON:"),console.log('set feature.oneTapNewsletterDetails to ["accName", "listName", "listId", "pubId"] with values from newsletter taxonomy')}_=function(e,t,n){if(s.events.fire(e,t,n),n&&n.value&&n.value.details&&"one-tap"===n.value.details.position){var r={category:n.category};window.feliz?window.feliz.event("google-onetap",r):window.addEventListener("FELIZ",function(){window.feliz.event("google-onetap",r)})}},k={rootContainerId:d,initialRoute:f,apiKey:n,lrDomain:r,reCaptchaKey:i,cssVariables:Object.assign(g,b(m)),publicationID:m,publicationName:v,track:_,googleOneTap:window.TMCONFIG&&window.TMCONFIG.features&&"true"===window.TMCONFIG.features.googleOneTap,googleOneTapClientID:p||y[m]||null,googleOneTapRoutes:["*"],googleOneTapScrollPercentage:window.TMCONFIG&&window.TMCONFIG.features&&window.TMCONFIG.features.oneTapScrollDepth||"0",newsletter:window.TMCONFIG&&window.TMCONFIG.features&&"true"===window.TMCONFIG.features.oneTapNewsletter,newsletterDetails:w,socialSignupDisabled:window.TMCONFIG&&window.TMCONFIG.features&&"true"===window.TMCONFIG.features["authUI.socialSignupDisabled"],enableInternalRecaptchaValidation:window.TMCONFIG&&window.TMCONFIG.features&&"true"===window.TMCONFIG.features.enableInternalRecaptchaValidation,oneTapNewsletter:window.TMCONFIG&&window.TMCONFIG.features&&"true"===window.TMCONFIG.features.oneTapNewsletter,authUiEnv:window.TMCONFIG&&window.TMCONFIG.features&&window.TMCONFIG.features["authUI.env"],emailVerification:window.TMCONFIG&&window.TMCONFIG.features&&window.TMCONFIG.features["authUI.emailVerification"],newsletterPublicationId:window.TMCONFIG&&window.TMCONFIG.features&&window.TMCONFIG.features.publicationId,enableMagicLink:window.TMCONFIG&&window.TMCONFIG.features&&"true"===window.TMCONFIG.features.enableMagicLink,enableFacebookLogin:window.TMCONFIG&&window.TMCONFIG.features&&"true"===window.TMCONFIG.features.enableFacebookLogin,consentDate:window.TMCONFIG&&window.TMCONFIG.features&&window.TMCONFIG.features.consentDate,newslettersBaseUrl:window.TMCONFIG&&window.TMCONFIG.features&&window.TMCONFIG.features.newslettersBaseUrl,newslettersBaseUrlProtected:window.TMCONFIG&&window.TMCONFIG.features&&window.TMCONFIG.features.newslettersBaseUrlProtected,accountHubEnabled:window.TMCONFIG&&window.TMCONFIG.features&&"true"===window.TMCONFIG.features.accountHubEnabled,accountHubVersion:window.TMCONFIG&&window.TMCONFIG.features&&window.TMCONFIG.features.accountHubVersion,mailingListApiBaseUrl:window.TMCONFIG&&window.TMCONFIG.features&&window.TMCONFIG.features.mailingListApiBaseUrl,marketingOptInEnabled:window.TMCONFIG&&window.TMCONFIG.features&&"true"===window.TMCONFIG.features.marketingOptInEnabled,enablePiano:window.TMCONFIG&&window.TMCONFIG.features&&"true"===window.TMCONFIG.features["premium.masterEnabled"],enableEmailCheckRecaptcha:window.TMCONFIG&&window.TMCONFIG.features&&"true"===window.TMCONFIG.features.enableEmailCheckRecaptcha},window.addEventListener("load",function(){var e,t;a.pathname.includes("my-profile")&&(e=document.getElementsByTagName("main")[0],t=document.querySelector(".static-content"),e.hasChildNodes(t)&&e.removeChild(t),l())}),s.events.listen(window,"auth-ui.ready",function(){window.TMCONFIG&&window.TMCONFIG.features&&"true"===window.TMCONFIG.features.googleOneTapConsentCheck?(s.events.listen(document.body,"staticConsent.updated",function(){c()}),s.events.listen(document.body,"staticConsent.obtained",function(){c()})):c()}),h(k);case 19:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}();n.initAuthUI=m},{"@babel/runtime/helpers/asyncToGenerator":4,"@babel/runtime/helpers/interopRequireDefault":11,"@babel/runtime/helpers/toConsumableArray":20,"@babel/runtime/regenerator":24,"@trinitymirrordigital/chameleon-core":25}],51:[function(e,t,n){"use strict";var r=e("@trinitymirrordigital/chameleon-core");function o(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,a=e}
1,f:function(){try{s||null==n.return||n.return()}finally{if(u)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var a=new URLSearchParams(window.location.search);function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;r.events.fire(window,"analytics.track",{name:t,category:e,value:n})}var u=function(e){window.localStorage.setItem("lrLogged",e?"true":"false")},l=function(){s("userAccount_registration","web_sso_register_success",{details:{position:window.localStorage.getItem("lr-position"),register_status:"registered",provider:a.get("socialLoginProvider")}})},c=function(){s("userAccount_login","web_sso_sign_in_success",{details:{position:window.localStorage.getItem("lr-position"),provider:a.get("socialLoginProvider")}})},f=function(){s("userAccount_login","web_sso_sign_in_success",{details:{position:window.localStorage.getItem("lr-position")}})},p=function(){s("userAccount_registration","web_sso_register_success",{details:{position:window.localStorage.getItem("lr-position"),register_status:"registered"}})},d=function(){s("userAccount_login","web_sso_sign_in_success",{details:{position:"auto"}})},h=function(e){s("userAccount_pageview","web_sso_user_object",{details:{user_object:e}})},m=function(e){window.localStorage.setItem("lr-position",e),g().then(function(e){var t=window.TMCONFIG.features.publicationName,n=window.TMCONFIG.features.LoginRadiusDomain||"https://reachplc-dev.hub.loginradius.com",r=(window.location.origin+window.location.pathname+"?"+function(){for(var e=new URLSearchParams(window.location.search),t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i,a=o(e.entries());try{for(a.s();!(i=a.n()).done;){var s=i.value[0];n.includes(s)||e.delete(s)}}catch(e){a.e(e)}finally{a.f()}return e.toString()}("du_school")).replace(/[?]+$/,""),i=n+"/auth.aspx?return_url="+encodeURIComponent(r)+"&pub_name="+t,a=n+"/profile.aspx?return_url="+encodeURIComponent(i)+(e?"":"&intent=login");window.location=a})},v=function(){return Promise.resolve().then(g).then(function(e){return e})},g=function(){if(!window.localStorage.getItem("loginRadiusToken"))return Promise.resolve(!1);var e=window.TMCONFIG.features.loginRadiusAPIKey||"";return""===e&&window.console.error("LR API Key not set"),Promise.resolve().then(function(){return fetch("https://api.loginradius.com/identity/v2/auth/account?apikey="+e,{method:"GET",headers:{Authorization:"Bearer "+window.localStorage.getItem("loginRadiusToken"),"Content-Type":"application/x-www-form-urlencoded"}})}).then(function(e){return 200===e.status&&e.json()}).then(function(e){return!1===e?(u(!1),!1):(window.localStorage.setItem("loginRadiusInitials",(t=e.FirstName,n=e.LastName,t&&n?t[0]+n[0]:"")),u(!0),e);var t,n}).catch(function(e){return window.console.error(e),!1})},b=function(){Promise.resolve().then(v).then(function(e){return e}).then(function(e){return!1!==e?e:(["loggingOutClick","loginRadiusToken","loginRadiusTokenExpiry","loginRadiusInitials"].forEach(function(e){window.localStorage.removeItem(e)}),!1)}).then(function(e){return h(e),window.login_radius_user_profile=e,window.dispatchEvent(new CustomEvent("loginradius.user.profile",{detail:e})),e}).then(function(e){var t=!1!==e;u(t),r.events.fire(window,"loginradius.loginstate",{loggedIn:t})}).catch(function(e){window.console.log("LR ERROR ",e)})};var y=function(){document.getElementById("lr-modal").classList.replace("is-shown","is-hidden")};t.exports={initIDX:function(){if(function(){var e=document.createElement("DIV"),t=document.createElement("DIV");t.id="lr-modal-close",t.classList.add("gigya-screen-dialog-close"),t.onclick=y,t.innerHTML="×",e.id="lr-modal",e.classList.add("is-hidden");var n=document.createElement("DIV"),r=document.createElement("P"),o=window.TMCONFIG&&window.TMCONFIG.features&&window.TMCONFIG.features.newsletterSiteName,i=document.createTextNode("Since ".concat(o||"this
1site"," is a Reach news title, you have been logged in with the Reach account you use to access our other sites."));r.append(i),n.appendChild(r),n.appendChild(t),n.id="lr-auth-frame",n.name="lr-auth-frame",e.appendChild(n),window.document.body.appendChild(e)}(),window.TMCONFIG&&window.TMCONFIG.features&&window.TMCONFIG.features.loginRadius&&"true"===window.TMCONFIG.features.loginRadius){window.addEventListener("loginradius.login",function(e){e.detail&&m(e.detail)});var e,t=a.get("lrToken")||a.get("token"),n=a.get("profileAction"),r=a.get("externalPosition");if(!window.location.pathname.endsWith(".ece")&&!window.location.pathname.endsWith(".ece/")&&((i=t)&&i.match(/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/))&&("email"===r&&window.localStorage.setItem("lr-position","email"),"registration"===n||a.get("token")?p():"autologin"===n?(d(),document.getElementById("lr-modal").classList.replace("is-hidden","is-shown"),e&&setTimeout(y,1e3*e)):"socialregistration"===n?l():"socialaccess"===n&&c(),t)){var o=window.localStorage.getItem("loginRadiusToken");o&&o===t||n||f(),window.localStorage.setItem("loginRadiusToken",t)}b(),function(){var e=new URL(window.location.href);["lrToken","action","userAction","profileAction","socialLoginProvider","externalPosition"].forEach(function(t){e.searchParams.delete(t)});var t=e.searchParams.get("token");t&&t.match(/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/)&&e.searchParams.delete("token"),history.replaceState(null,"",e.toString())}()}var i},profileIconClick:function(e){window.dispatchEvent(new CustomEvent("loginradius.login",{detail:e}))}}},{"@trinitymirrordigital/chameleon-core":25}],52:[function(e,t,n){"use strict";window.TMCONFIG=window.TMCONFIG||{};var r="true"===(window.TMCONFIG.features||{}).authUI;function o(){if(r){var e=localStorage.getItem("auth-token");return e?JSON.parse(e).accessToken:null}return localStorage.getItem("loginRadiusToken")}function i(e){var t=o();if(t){window.vf.session.login.loginRadius(t);var n=function(){if(r){var e=localStorage.getItem("auth-user");return e?JSON.parse(e):null}}();n&&n.UserName&&n.UserName!==n.Email[0].Value?window.vf.session.login.loginRadius(t):window.dispatchEvent(new CustomEvent("auth-ui.complete-profile",{detail:{origin:e,fields:["username"]}}))}else window.dispatchEvent(new CustomEvent("auth-ui.authenticate",{detail:{origin:e}}))}t.exports={handleVFSync:function(e,t){window.vfQ=window.vfQ||[];var n=o();n?window.vfQ.push(function(){window.vf.session.login.loginRadius(n)}):window.vfQ.push(function(){window.vf.session.logout()}),"signin"==t&&window.vfQ.push(function(){r?(window.vf.$prepublish(function(e,t){if("authentication"===e&&"required"===t)return!1;for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return{channel:e,event:t,args:r}}),window.vf.$subscribe("authentication","needed",function(e){i("login"===e.method||"signup"===e.method?"comments":"notification-tray")}),window.vf.$subscribe("authentication","logout",function(){window.dispatchEvent(new CustomEvent("auth-ui.logout",{detail:{origin:e}}))})):window.vf.$subscribe("authentication","required",function(t){var n=t.method;!function(e,t){var n=o();n?window.vf.session.login.loginRadius(n):window.dispatchEvent(new CustomEvent("loginradius.login",{detail:"".concat(e,"_").concat(t)}))}(e,n)})}),r&&window.addEventListener("auth-ui.authentication",function(e){var t;e.detail.isAuthenticated&&(t=o())?window.vfQ.push(function(){window.vf.session.login.loginRadius(t)}):window.vfQ.push(function(){window.vf.session.logout()})})}}},{}]},{},[49]);
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.