// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-v3.0 !function(n){var e={};function t(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}t.m=n,t.c=e,t.d=function(n,e,r){t.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:r})},t.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,e){if(1&e&&(n=t(n)),8&e)return n;if(4&e&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var i in n)t.d(r,i,function(e){return n[e]}.bind(null,i));return r},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},t.p="",t(t.s=95)}({1:function(n,e,t){"use strict";function r(n){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function i(n,e,t,r,i,o,a){try{var s=n[o](a),c=s.value}catch(n){return void t(n)}s.done?e(c):Promise.resolve(c).then(r,i)}function o(n){return function(){var e=this,t=arguments;return new Promise((function(r,o){var a=n.apply(e,t);function s(n){i(a,r,o,s,c,"next",n)}function c(n){i(a,r,o,s,c,"throw",n)}s(void 0)}))}}function a(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function s(n,e){for(var t=0;tn.length)&&(e=n.length);for(var t=0,r=new Array(e);t=n.length?{done:!0}:{done:!1,value:n[r++]}},e:function(n){throw n},f:i}}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 o,a=!0,s=!1;return{s:function(){t=n[Symbol.iterator]()},n:function(){var n=t.next();return a=n.done,n},e:function(n){s=!0,o=n},f:function(){try{a||null==t.return||t.return()}finally{if(s)throw o}}}}t.d(e,"a",(function(){return a})),t.d(e,"b",(function(){return c})),t.d(e,"c",(function(){return C})),t.d(e,"d",(function(){return j})),t.d(e,"e",(function(){return h})),t.d(e,"f",(function(){return k})),t.d(e,"g",(function(){return w})),t.d(e,"h",(function(){return p})),t.d(e,"i",(function(){return r})),t.d(e,"j",(function(){return g})),t.d(e,"k",(function(){return o})),t.d(e,"l",(function(){return O})),t.d(e,"m",(function(){return x})),t.d(e,"n",(function(){return d})),t.d(e,"o",(function(){return b})),t.d(e,"p",(function(){return l}))},2:function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var r="localhost"===location.hostname||"www-"===location.host.substr(0,4)||"cat-"===location.host.substr(0,4)||"review-"===location.host.substr(0,7)||"webdev-"===location.host.substr(0,7)||"ia-petabox-"===location.host.substr(0,11)?console.log.bind(console):function(){}},3:function(n,e,t){"use strict";t.d(e,"a",(function(){return M})),t.d(e,"b",(function(){return k})),t.d(e,"c",(function(){return m})),t.d(e,"d",(function(){return o})),t.d(e,"e",(function(){return y})),t.d(e,"f",(function(){return C})),t.d(e,"g",(function(){return j})),t.d(e,"h",(function(){return V})),t.d(e,"i",(function(){return T})),t.d(e,"j",(function(){return H})),t.d(e,"k",(function(){return p})),t.d(e,"l",(function(){return N})),t.d(e,"m",(function(){return h})),t.d(e,"n",(function(){return a})),t.d(e,"o",(function(){return A})),t.d(e,"p",(function(){return u})),t.d(e,"q",(function(){return s}));var r=t(1),i="undefined"!=typeof window&&null!=window.customElements&&void 0!==window.customElements.polyfillWrapFlushCallback,o=function(n,e){for(var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e!==t;){var i=e.nextSibling;n.insertBefore(e,r),e=i}},a=function(n,e){for(var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e!==t;){var r=e.nextSibling;n.removeChild(e),e=r}},s="{{lit-".concat(String(Math.random()).slice(2),"}}"),c="\x3c!--".concat(s,"--\x3e"),l=new RegExp("".concat(s,"|").concat(c)),u=function n(e,t){Object(r.a)(this,n),this.parts=[],this.element=t;for(var i=[],o=[],a=document.createTreeWalker(t.content,133,null,!1),c=0,u=-1,h=0,v=e.strings,m=e.values.length;h0;){var O=v[h],x=f.exec(O)[2],j=x.toLowerCase()+"$lit$",S=g.getAttribute(j);g.removeAttribute(j);var _=S.split(l);this.parts.push({type:"attribute",index:u,name:x,strings:_}),h+=_.length-1}}"TEMPLATE"===g.tagName&&(o.push(g),a.currentNode=g.content)}else if(3===g.nodeType){var C=g.data;if(C.indexOf(s)>=0){for(var M=g.parentNode,I=C.split(l),L=I.length-1,T=0;T=0&&n.slice(t)===e},h=function(n){return-1!==n.index},p=function(){return document.createComment("")},f=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/,v=new WeakMap,m=function(n){return function(){var e=n.apply(void 0,arguments);return v.set(e,!0),e}},g=function(n){return"function"==typeof n&&v.has(n)},b={},y={},k=function(){function n(e,t,i){Object(r.a)(this,n),this.__parts=[],this.template=e,this.processor=t,this.options=i}return Object(r.b)(n,[{key:"update",value:function(n){var e,t=0,i=Object(r.c)(this.__parts);try{for(i.s();!(e=i.n()).done;){var o=e.value;void 0!==o&&o.setValue(n[t]),t++}}catch(n){i.e(n)}finally{i.f()}var a,s=Object(r.c)(this.__parts);try{for(s.s();!(a=s.n()).done;){var c=a.value;void 0!==c&&c.commit()}}catch(n){s.e(n)}finally{s.f()}}},{key:"_clone",value:function(){for(var n,e=i?this.template.element.content.cloneNode(!0):document.importNode(this.template.element.content,!0),t=[],o=this.template.parts,a=document.createTreeWalker(e,133,null,!1),s=0,c=0,l=a.nextNode();s-1||t)&&-1===i.indexOf("--\x3e",o+1);var a=f.exec(i);e+=null===a?i+(t?O:c):i.substr(0,a.index)+a[1]+a[2]+"$lit$"+a[3]+s}return e+this.strings[n]}},{key:"getTemplateElement",value:function(){var n=document.createElement("template"),e=this.getHTML();return void 0!==w&&(e=w.createHTML(e)),n.innerHTML=e,n}}]),n}(),j=(function(n){Object(r.e)(t,x);var e=Object(r.f)(t);function t(){return Object(r.a)(this,t),e.apply(this,arguments)}Object(r.b)(t,[{key:"getHTML",value:function(){return"".concat(Object(r.g)(Object(r.h)(t.prototype),"getHTML",this).call(this),"")}},{key:"getTemplateElement",value:function(){var n=Object(r.g)(Object(r.h)(t.prototype),"getTemplateElement",this).call(this),e=n.content,i=e.firstChild;return e.removeChild(i),o(e,i.firstChild),n}}])}(),function(n){return null===n||!("object"===Object(r.i)(n)||"function"==typeof n)}),S=function(n){return Array.isArray(n)||!(!n||!n[Symbol.iterator])},_=function(){function n(e,t,i){Object(r.a)(this,n),this.dirty=!0,this.element=e,this.name=t,this.strings=i,this.parts=[];for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:this.startNode;a(this.startNode.parentNode,n.nextSibling,this.endNode)}}]),n}(),I=function(){function n(e,t,i){if(Object(r.a)(this,n),this.value=void 0,this.__pendingValue=void 0,2!==i.length||""!==i[0]||""!==i[1])throw new Error("Boolean attributes can only contain a single expression");this.element=e,this.name=t,this.strings=i}return Object(r.b)(n,[{key:"setValue",value:function(n){this.__pendingValue=n}},{key:"commit",value:function(){for(;g(this.__pendingValue);){var n=this.__pendingValue;this.__pendingValue=b,n(this)}if(this.__pendingValue!==b){var e=!!this.__pendingValue;this.value!==e&&(e?this.element.setAttribute(this.name,""):this.element.removeAttribute(this.name),this.value=e),this.__pendingValue=b}}}]),n}(),L=function(n){Object(r.e)(t,_);var e=Object(r.f)(t);function t(n,i,o){var a;return Object(r.a)(this,t),(a=e.call(this,n,i,o)).single=2===o.length&&""===o[0]&&""===o[1],a}return Object(r.b)(t,[{key:"_createPart",value:function(){return new T(this)}},{key:"_getValue",value:function(){return this.single?this.parts[0].value:Object(r.g)(Object(r.h)(t.prototype),"_getValue",this).call(this)}},{key:"commit",value:function(){this.dirty&&(this.dirty=!1,this.element[this.name]=this._getValue())}}]),t}(),T=function(n){Object(r.e)(t,C);var e=Object(r.f)(t);function t(){return Object(r.a)(this,t),e.apply(this,arguments)}return t}(),z=!1; /** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at * http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be found at * http://polymer.github.io/CONTRIBUTORS.txt * Code distributed by Google as part of the polymer project is also * subject to an additional IP rights grant found at * http://polymer.github.io/PATENTS.txt */!function(){try{var n={get capture(){return z=!0,!1}};window.addEventListener("test",n,n),window.removeEventListener("test",n,n)}catch(n){}}();var P=function(){function n(e,t,i){var o=this;Object(r.a)(this,n),this.value=void 0,this.__pendingValue=void 0,this.element=e,this.eventName=t,this.eventContext=i,this.__boundHandleEvent=function(n){return o.handleEvent(n)}}return Object(r.b)(n,[{key:"setValue",value:function(n){this.__pendingValue=n}},{key:"commit",value:function(){for(;g(this.__pendingValue);){var n=this.__pendingValue;this.__pendingValue=b,n(this)}if(this.__pendingValue!==b){var e=this.__pendingValue,t=this.value,r=null==e||null!=t&&(e.capture!==t.capture||e.once!==t.once||e.passive!==t.passive),i=null!=e&&(null==t||r);r&&this.element.removeEventListener(this.eventName,this.__boundHandleEvent,this.__options),i&&(this.__options=E(e),this.element.addEventListener(this.eventName,this.__boundHandleEvent,this.__options)),this.value=e,this.__pendingValue=b}}},{key:"handleEvent",value:function(n){"function"==typeof this.value?this.value.call(this.eventContext||this.element,n):this.value.handleEvent(n)}}]),n}(),E=function(n){return n&&(z?{capture:n.capture,passive:n.passive,once:n.once}:n.capture)}; /** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at * http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be found at * http://polymer.github.io/CONTRIBUTORS.txt * Code distributed by Google as part of the polymer project is also * subject to an additional IP rights grant found at * http://polymer.github.io/PATENTS.txt */function D(n){var e=A.get(n.type);void 0===e&&(e={stringsArray:new WeakMap,keyString:new Map},A.set(n.type,e));var t=e.stringsArray.get(n.strings);if(void 0!==t)return t;var r=n.strings.join(s);return void 0===(t=e.keyString.get(r))&&(t=new u(n,n.getTemplateElement()),e.keyString.set(r,t)),e.stringsArray.set(n.strings,t),t}var A=new Map,N=new WeakMap,H=function(n,e,t){var r=N.get(e);void 0===r&&(a(e,e.firstChild),N.set(e,r=new M(Object.assign({templateFactory:D},t))),r.appendInto(e)),r.setValue(n),r.commit()},B=new(function(){function n(){Object(r.a)(this,n)}return Object(r.b)(n,[{key:"handleAttributeExpressions",value:function(n,e,t,r){var i=e[0];return"."===i?new L(n,e.slice(1),t).parts:"@"===i?[new P(n,e.slice(1),r.eventContext)]:"?"===i?[new I(n,e.slice(1),t)]:new _(n,e,t).parts}},{key:"handleTextExpression",value:function(n){return new M(n)}}]),n}()); /** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at * http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be found at * http://polymer.github.io/CONTRIBUTORS.txt * Code distributed by Google as part of the polymer project is also * subject to an additional IP rights grant found at * http://polymer.github.io/PATENTS.txt */ /** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at * http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be found at * http://polymer.github.io/CONTRIBUTORS.txt * Code distributed by Google as part of the polymer project is also * subject to an additional IP rights grant found at * http://polymer.github.io/PATENTS.txt */"undefined"!=typeof window&&(window.litHtmlVersions||(window.litHtmlVersions=[])).push("1.3.0");var V=function(n){for(var e=arguments.length,t=new Array(e>1?e-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:-1,t=e+1;t2&&void 0!==arguments[2]?arguments[2]:v,r=this.constructor,i=r._attributeNameForProperty(n,t);if(void 0!==i){var o=r._propertyValueToAttribute(e,t);if(void 0===o)return;this._updateState=8|this._updateState,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._updateState=-9&this._updateState}}},{key:"_attributeToProperty",value:function(n,e){if(!(8&this._updateState)){var t=this.constructor,r=t._attributeToPropertyMap.get(n);if(void 0!==r){var i=t.getPropertyOptions(r);this._updateState=16|this._updateState,this[r]=t._propertyValueFromAttribute(e,i),this._updateState=-17&this._updateState}}}},{key:"requestUpdateInternal",value:function(n,e,t){var r=!0;if(void 0!==n){var i=this.constructor;t=t||i.getPropertyOptions(n),i._valueHasChanged(this[n],e,t.hasChanged)?(this._changedProperties.has(n)||this._changedProperties.set(n,e),!0!==t.reflect||16&this._updateState||(void 0===this._reflectingProperties&&(this._reflectingProperties=new Map),this._reflectingProperties.set(n,t))):r=!1}!this._hasRequestedUpdate&&r&&(this._updatePromise=this._enqueueUpdate())}},{key:"requestUpdate",value:function(n,e){return this.requestUpdateInternal(n,e),this.updateComplete}},{key:"_enqueueUpdate",value:(e=Object(r.k)(regeneratorRuntime.mark((function n(){var e;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return this._updateState=4|this._updateState,n.prev=1,n.next=4,this._updatePromise;case 4:n.next=8;break;case 6:n.prev=6,n.t0=n.catch(1);case 8:if(null==(e=this.performUpdate())){n.next=12;break}return n.next=12,e;case 12:return n.abrupt("return",!this._hasRequestedUpdate);case 13:case"end":return n.stop()}}),n,this,[[1,6]])}))),function(){return e.apply(this,arguments)})},{key:"performUpdate",value:function(){if(this._hasRequestedUpdate){this._instanceProperties&&this._applyInstanceProperties();var n=!1,e=this._changedProperties;try{(n=this.shouldUpdate(e))?this.update(e):this._markUpdated()}catch(e){throw n=!1,this._markUpdated(),e}n&&(1&this._updateState||(this._updateState=1|this._updateState,this.firstUpdated(e)),this.updated(e))}}},{key:"_markUpdated",value:function(){this._changedProperties=new Map,this._updateState=-5&this._updateState}},{key:"_getUpdateComplete",value:function(){return this._updatePromise}},{key:"shouldUpdate",value:function(n){return!0}},{key:"update",value:function(n){var e=this;void 0!==this._reflectingProperties&&this._reflectingProperties.size>0&&(this._reflectingProperties.forEach((function(n,t){return e._propertyToAttribute(t,e[t],n)})),this._reflectingProperties=void 0),this._markUpdated()}},{key:"updated",value:function(n){}},{key:"firstUpdated",value:function(n){}},{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 n=this;if(!this.hasOwnProperty(JSCompiler_renameProperty("_classProperties",this))){this._classProperties=new Map;var e=Object.getPrototypeOf(this)._classProperties;void 0!==e&&e.forEach((function(e,t){return n._classProperties.set(t,e)}))}}},{key:"createProperty",value:function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v;if(this._ensureClassProperties(),this._classProperties.set(n,e),!e.noAccessor&&!this.prototype.hasOwnProperty(n)){var t="symbol"===Object(r.i)(n)?Symbol():"__".concat(n),i=this.getPropertyDescriptor(n,t,e);void 0!==i&&Object.defineProperty(this.prototype,n,i)}}},{key:"getPropertyDescriptor",value:function(n,e,t){return{get:function(){return this[e]},set:function(r){var i=this[n];this[e]=r,this.requestUpdateInternal(n,i,t)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(n){return this._classProperties&&this._classProperties.get(n)||v}},{key:"finalize",value:function(){var n=Object.getPrototypeOf(this);if(n.hasOwnProperty("finalized")||n.finalize(),this.finalized=!0,this._ensureClassProperties(),this._attributeToPropertyMap=new Map,this.hasOwnProperty(JSCompiler_renameProperty("properties",this))){var e,t=this.properties,i=[].concat(Object(r.d)(Object.getOwnPropertyNames(t)),Object(r.d)("function"==typeof Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t):[])),o=Object(r.c)(i);try{for(o.s();!(e=o.n()).done;){var a=e.value;this.createProperty(a,t[a])}}catch(n){o.e(n)}finally{o.f()}}}},{key:"_attributeNameForProperty",value:function(n,e){var t=e.attribute;return!1===t?void 0:"string"==typeof t?t:"string"==typeof n?n.toLowerCase():void 0}},{key:"_valueHasChanged",value:function(n,e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f;return t(n,e)}},{key:"_propertyValueFromAttribute",value:function(n,e){var t=e.type,r=e.converter||p,i="function"==typeof r?r:r.fromAttribute;return i?i(n,t):n}},{key:"_propertyValueToAttribute",value:function(n,e){if(void 0!==e.reflect){var t=e.type,r=e.converter;return(r&&r.toAttribute||p.toAttribute)(n,t)}}},{key:"observedAttributes",get:function(){var n=this;this.finalize();var e=[];return this._classProperties.forEach((function(t,r){var i=n._attributeNameForProperty(r,t);void 0!==i&&(n._attributeToPropertyMap.set(i,r),e.push(i))})),e}}]),i}(Object(r.j)(HTMLElement));m.finalized=!0; /** * @license * Copyright (c) 2017 The Polymer Project Authors. All rights reserved. * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * The complete set of authors may be found at * http://polymer.github.io/AUTHORS.txt * The complete set of contributors may be found at * http://polymer.github.io/CONTRIBUTORS.txt * Code distributed by Google as part of the polymer project is also * subject to an additional IP rights grant found at * http://polymer.github.io/PATENTS.txt */ var g=function(n){return function(e){return"function"==typeof e?function(n,e){return window.customElements.define(n,e),e}(n,e):function(n,e){return{kind:e.kind,elements:e.elements,finisher:function(e){window.customElements.define(n,e)}}}(n,e)}};function b(n){return function(e,t){return void 0!==t?function(n,e,t){e.constructor.createProperty(t,n)}(n,e,t):function(n,e){return"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?Object.assign(Object.assign({},e),{finisher:function(t){t.createProperty(e.key,n)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},initializer:function(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher:function(t){t.createProperty(e.key,n)}}}(n,e)}}function y(n,e){return function(t,i){var o={get:function(){return this.renderRoot.querySelector(n)},enumerable:!0,configurable:!0};if(e){var a="symbol"===Object(r.i)(i)?Symbol():"__".concat(i);o.get=function(){return void 0===this[a]&&(this[a]=this.renderRoot.querySelector(n)),this[a]}}return void 0!==i?k(o,t,i):w(o,t)}}var k=function(n,e,t){Object.defineProperty(e,t,n)},w=function(n,e){return{kind:"method",placement:"prototype",key:e.key,descriptor:n}};var O=Element.prototype;O.msMatchesSelector||O.webkitMatchesSelector; /** @license Copyright (c) 2019 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt */ var x=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,j=Symbol(),S=function(){function n(e,t){if(Object(r.a)(this,n),t!==j)throw new Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e}return Object(r.b)(n,[{key:"toString",value:function(){return this.cssText}},{key:"styleSheet",get:function(){return void 0===this._styleSheet&&(x?(this._styleSheet=new CSSStyleSheet,this._styleSheet.replaceSync(this.cssText)):this._styleSheet=null),this._styleSheet}}]),n}(),_=function(n){if(n instanceof S)return n.cssText;if("number"==typeof n)return n;throw new Error("Value passed to 'css' function must be a 'css' function result: ".concat(n,". Use 'unsafeCSS' to pass non-literal values, but\n take care to ensure page security."))},C=function(n){for(var e=arguments.length,t=new Array(e>1?e-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:null,r=n.element.content,i=n.parts;if(null!=t)for(var o=document.createTreeWalker(r,133,null,!1),c=s(i),l=0,u=-1;o.nextNode();){u++;var d=o.currentNode;for(d===t&&(l=a(e),t.parentNode.insertBefore(e,t));-1!==c&&i[c].index===u;){if(l>0){for(;-1!==c;)i[c].index+=l,c=s(i,c);return}c=s(i,c)}}else r.appendChild(e)}(t,p,m.firstChild):m.insertBefore(p,m.firstChild),window.ShadyCSS.prepareTemplateStyles(r,n);var g=m.querySelector("style");if(window.ShadyCSS.nativeShadow&&null!==g)e.insertBefore(g.cloneNode(!0),e.firstChild);else if(t){m.insertBefore(p,m.firstChild);var b=new Set;b.add(p),o(t,b)}}else window.ShadyCSS.prepareTemplateStyles(r,n)}(p,g,b.value instanceof i.b?b.value.template:void 0),Object(i.n)(e,e.firstChild),e.appendChild(g),i.l.set(e,b)}!f&&v&&window.ShadyCSS.styleElement(e.host)}},95:function(n,e,t){"use strict";t.r(e);var r=t(1),i=t(3),o=t(4);function a(){var n=Object(r.l)(["\n :host {\n font: normal 1.2rem/1.5 var(--themeFontFamily);\n }\n\n form {\n max-width: 600px;\n }\n\n p {\n margin-top: 0;\n font-weight: 200;\n }\n\n a {\n font-weight: 500;\n text-decoration: none;\n color: var(--activeColor);\n }\n\n fieldset {\n padding: 0.7rem 2rem;\n margin: 1.5rem 0;\n box-sizing: border-box;\n text-align: center;\n border: none;\n border-radius: 7px;\n background-color: #fcf5e6;\n box-shadow: 3px 3px 0 0 #c3ad97;\n }\n\n label {\n display: none;\n }\n\n img {\n width: 100%;\n max-width: 215px;\n max-height: 60px;\n margin-bottom: 1.3rem;\n vertical-align: middle;\n }\n\n input {\n display: block;\n width: 100%;\n height: 3rem;\n padding: 0.5rem 1rem 0.5rem 2.5rem;\n font: normal 1.2rem/1.5 var(--themeFontFamily);\n color: #858585;\n box-sizing: border-box;\n border: 1px solid var(--grey80);\n border-radius: 2rem;\n background: #eee;\n }\n\n input:focus {\n border-color: #66afe9;\n box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);\n outline: none;\n }\n\n .search-field {\n position: relative;\n overflow: hidden;\n }\n\n .search-field svg {\n position: absolute;\n top: 2px;\n left: 3px;\n width: 24px;\n height: 24px;\n }\n\n .search-field .fill-color {\n fill: var(--iconFill);\n }\n\n input:focus + svg {\n display: none;\n }\n\n @media (min-width: 890px) {\n form {\n margin: 0 auto;\n }\n\n p {\n margin-bottom: 3rem;\n font-size: 1.6rem;\n text-align: center;\n }\n\n img {\n margin: 0;\n }\n\n fieldset {\n margin: 0 auto;\n font-size: 0;\n }\n\n fieldset a,\n .search-field {\n display: inline-block;\n width: 50%;\n vertical-align: middle;\n }\n\n fieldset a {\n text-align: center;\n }\n\n .search-field svg {\n width: 28px;\n height: 28px;\n }\n\n .search-field .fill-color {\n fill: var(--desktopSearchIconFill);\n }\n }\n"]);return a=function(){return n},n}var s=Object(o.b)(a());function c(){var n=Object(r.l)(['\n \n Search icon\n An illustration of a magnifying glass.\n \n \n']);return c=function(){return n},n}var l=Object(i.h)(c());function u(){var n=Object(r.l)(['\n\n']);return u=function(){return n},n}var d=Object(i.h)(u());function h(){var n=Object(r.l)(['\n
web pages\n on the Internet.\n

\n
\n \n \n
\n \n ',"\n
\n
\n
\n "]);return h=function(){return n},n}var p=function(n){Object(r.e)(t,o.a);var e=Object(r.f)(t);function t(){var n;return Object(r.a)(this,t),(n=e.call(this)).waybackPagesArchived="",n}return Object(r.b)(t,null,[{key:"styles",get:function(){return s}},{key:"properties",get:function(){return{baseHost:{type:String},queryHandler:{type:Object},waybackPagesArchived:{type:String}}}}]),Object(r.b)(t,[{key:"handleSubmit",value:function(n){n.preventDefault();var e=n.target.querySelector("#url").value;this.emitWaybackSearchSubmitted(e),this.queryHandler.performQuery(e)}},{key:"emitWaybackSearchSubmitted",value:function(n){this.dispatchEvent(new CustomEvent("waybackSearchSubmitted",{detail:{query:n}}))}},{key:"emitWaybackMachineStatsLinkClicked",value:function(){this.dispatchEvent(new CustomEvent("waybackMachineStatsLinkClicked"))}},{key:"emitWaybackMachineLogoLinkClicked",value:function(){this.dispatchEvent(new CustomEvent("waybackMachineLogoLink"))}},{key:"render",value:function(){return Object(i.h)(h(),this.handleSubmit,this.waybackPagesArchived,this.emitWaybackMachineStatsLinkClicked,this.emitWaybackMachineLogoLinkClicked,"".concat(this.baseHost,"/web/"),d,l)}}]),t}();customElements.define("ia-wayback-search",p);var f=p,v=function(n){Object(r.e)(t,o.a);var e=Object(r.f)(t);function t(){return Object(r.a)(this,t),e.apply(this,arguments)}return Object(r.b)(t,[{key:"trackClick",value:function(n){var e=n.currentTarget.dataset.eventClickTracking;this.dispatchEvent(new CustomEvent("trackClick",{bubbles:!0,composed:!0,detail:{event:e}}))}},{key:"trackSubmit",value:function(n){var e=n.currentTarget.dataset.eventSubmitTracking;this.dispatchEvent(new CustomEvent("trackSubmit",{bubbles:!0,composed:!0,detail:{event:e}}))}}]),t}();function m(){var n=Object(r.l)(['\n \n Audio icon\n An illustration of an audio speaker.\n \n \n
\n \n \n \n \n']);return m=function(){return n},n}function g(){var n=Object(r.l)(['\n \n Close icon\n A line drawing of an X\n \n \n']);return g=function(){return n},n}function b(){var n=Object(r.l)(['\n \n Donate icon\n An illustration of a heart shape\n \n \n']);return b=function(){return n},n}function y(){var n=Object(r.l)(['\n \n Ellipses icon\n An illustration of text ellipses.\n \n \n']);return y=function(){return n},n}function k(){var n=Object(r.l)(['\n