text: /*! For license information please see LICENSE.txt */
  (()=>{var t={344:t=>{"use strict";t.exports=JSON.parse('{"Airbnb":{"mini":true},"Alipay":{"alias":"AliExpress","mini":true},"Amazon":{"mini":true},"Amino":{"mini":true},"Artsy":{"mini":true},"Baidu":{"mini":true},"Behance":{"alias":"Adobe","mini":true},"Bing":{"alias":"Microsoft","mini":true},"Chrono.gg":{"mini":true},"CodePen":{"mini":true},"DeviantArt":{"mini":true},"Discord":{"mini":true},"Disqus":{"mini":true},"Dribbble":{"mini":true},"Dropbox":{"mini":true},"Duolingo":{"mini":true},"Etsy":{"mini":true},"Evernote":{"mini":true},"Facebook":{"mini":true},"Fanatical":{"mini":true},"FANDOM":{"mini":true},"Firebox":{"mini":true},"Firefox":{"mini":true},"Flickr":{"alias":"Yahoo","mini":true},"Freelancer":{"mini":true},"Genius":{"mini":true},"GeoGuessr":{"mini":true},"Gfycat":{"mini":true},"GIPHY":{"mini":true},"GitLab":{"mini":true},"Hi-Rez":{"logo":"logos/Hi-Rez.png"},"imgur":{"mini":true},"mailbox.org":{"mini":true},"Messenger":{"alias":"Facebook"},"Minecraft":{"alias":"Mojang"},"MSN":{"alias":"Microsoft"},"Nectar":{"logo":"logos/Nectar.png"},"Netflix":{"mini":true},"osu!":{"logo":"logos/osu!.png"},"Pastebin":{"logo":"logos/Pastebin.png"},"Patreon":{"mini":true},"PayPal":{"mini":true},"paysafecard":{"mini":true},"Pinterest":{"mini":true},"pixiv":{"mini":true},"Riot Games":{"mini":true},"Skype":{"alias":"Microsoft"},"Spotify":{"mini":true},"Square Enix":{"mini":true},"StellarX":{"mini":true},"Tumblr":{"alias":"Yahoo","mini":true},"Twitch":{"mini":true},"Uplay":{"alias":"Ubisoft"},"WeChat":{"alias":"QQ"},"Xbox":{"alias":"Microsoft"},"Yahoo":{"mini":true},"YouTube":{"alias":"Google"}}')},730:t=>{"use strict";t.exports=JSON.parse('{"Vanilla":{"accent":"#3f51b5","lightAccent":"#7280ce","text":"#535353","background":"#fff","internal":"#fff","incorrect":"#f44336","correct":"#8fff66","inputColor":"#000","linkColor":"#00539b","highlightColor":"#eee"},"Discord":{"accent":"#7289da","lightAccent":"#9aabe5","text":"#dcddde","background":"#2f3136","internal":"#393c43","incorrect":"#f04747","correct":"#43b581","inputColor":"#fff","linkColor":"#00b0f4","highlightColor":"#393c43"},"Solarized Dark":{"accent":"#6c71c4","lightAccent":"#9094d3","text":"#93a1a1","background":"#073642","internal":"#002b36","incorrect":"#ce2726","correct":"#7c9114","inputColor":"#839496","linkColor":"#268bd2","highlightColor":"#002b36"},"OLED":{"accent":"#3f51b5","lightAccent":"#6d78b5","text":"#d4d4d4","background":"#000","internal":"#000","incorrect":"#f44336","correct":"#8fff66","inputColor":"#839496","linkColor":"#268bd2","highlightColor":"#0e0e0e"},"Dracula":{"accent":"#3f51b5","lightAccent":"#6272a4","text":"#bcc2cd","background":"#282a36","internal":"#343746","incorrect":"#f55","correct":"#50fa7b","inputColor":"#f8f8f2","linkColor":"#6272a4","highlightColor":"#343746"}}')},573:t=>{"use strict";t.exports=JSON.parse('{"de-DE":{"native":"Deutsch"},"en-GB":{"native":"English"},"eo-UY":{"native":"Esperanto"},"es-ES":{"native":"Español"},"fr-FR":{"native":"Français"}}')},713:t=>{t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},8:t=>{function e(n){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=e=function(t){return typeof t}:t.exports=e=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(n)}t.exports=e},608:t=>{"use strict";t.exports=JSON.parse('{"Ada":{"minLength":8},"Adobe":{"minLength":8,"maxLength":100,"requirements":["num","low","cap"]},"Airbnb":{"minLength":8,"maxLength":128,"requirements":["low","num","special"]},"AliExpress":{"chars":"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ","minLength":6,"maxLength":20},"Alipay":{"alias":"AliExpress"},"allegorithmic":{"minLength":1},"AlternativeTo":{"minLength":8,"requirements":["low","num"]},"Amazon":{"minLength":6},"Amino":{"minLength":6},"Apple":{"minLength":8,"maxLength":32,"requirements":["low","num","cap"]},"Artsy":{"minLength":6,"maxLength":128},"Baidu":{"minLength":6,"maxLength":14},"BBC":{"minLength":8,"maxLength":50,"requirements":["low","num","cap"],"chars":"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!#$%&()*+,-./:;<=>?@[\\\\]^_`{|}~"},"Behance":{"alias":"Adobe"},"Bing":{"alias":"Microsoft"},"Blend Swap":{"minLength":8},"Blizzard":{"minLength":8,"maxLength":16,"requirements":["low","num"]},"Channel 4":{"minLength":6,"maxLength":255},"Chrono.gg":{"minLength":8},"CodePen":{"minLength":1},"DeviantArt":{"minLength":6},"Discord":{"minLength":6,"maxLength":128},"Disqus":{"minLength":6},"Dribbble":{"minLength":6,"maxLength":128},"Dropbox":{"minLength":6},"Duolingo":{"minLength":6},"eBay":{"minLength":6,"maxLength":64,"requirements":["low","num"],"chars":"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!\\"#$%&\'()*+,-.;=?@\\\\^_`{|}~"},"Epic Games":{"minLength":7,"requirements":["low","num"],"chars":"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!#$%&()*+,-./:;<=>?@[\\\\]^_`{|}~"},"Etsy":{"minLength":6,"maxLength":152},"Evernote":{"minLength":6,"maxLength":64},"Facebook":{"minLength":6},"Factorio":{"minLength":5},"Fanatical":{"minLength":6},"FANDOM":{"minLength":1,"maxLength":50},"Firebox":{"minLength":7,"requirements":["low","num"]},"Firefox":{"minLength":8},"Flickr":{"alias":"Yahoo"},"Forvo":{"minLength":4,"maxLength":28},"Freelancer":{"minLength":6,"requirements":["low","num"]},"Genius":{"minLength":4,"maxLength":128},"GeoGuessr":{"minLength":5},"Gfycat":{"minLength":8,"maxLength":25},"giffgaff":{"requirements":["cap","low","num"],"minLength":8},"GIPHY":{"minLength":1,"maxLength":128},"GitHub":{"minLength":7,"maxLength":72,"requirements":["low","num"]},"GitLab":{"minLength":8,"maxLength":128},"Government Gateway":{"minLength":8,"maxLength":12,"requirements":["low","num"],"chars":"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"},"Guilded":{"minLength":8,"maxLength":128},"GOG":{"minLength":2},"Google":{"minLength":8,"maxLength":100},"The Guardian":{"minLength":6,"maxLength":72},"HitFilm":{"minLength":8,"maxLength":25},"Hi-Rez":{"minLength":7,"maxLength":20,"chars":"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"},"Humble Bundle":{"minLength":4},"IFTTT":{"minLength":6},"IMDb":{"minLength":8,"maxLength":1024},"imgur":{"minLength":6,"maxLength":255,"requirements":["num","low"]},"Instagram":{"minLength":6,"maxLength":255},"itch.io":{"minLength":2},"itv":{"minLength":6,"maxLength":100},"JustGiving":{"minLength":6},"Keybase":{"minLength":6},"Ko-fi":{"minLength":6,"maxLength":100},"last.fm":{"minLength":6,"maxLength":128,"requirements":["num","special"]},"lernu":{"minLength":5},"Lingvist":{"minLength":8},"LinkedIn":{"minLength":6},"Lloyds Bank":{"minLength":8,"maxLength":15,"chars":"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"},"mailbox.org":{"minLength":6,"requirements":["cap","low","num"],"chars":"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!$\\"%&/()=*+-#.,;:@?{}[]"},"Mail.Ru":{"requirements":["special","num","low"],"minLength":6,"maxLength":40},"Mapbox":{"minLength":8,"maxLength":512},"Mega":{"minLength":8},"Messenger":{"alias":"Facebook"},"Microsoft":{"requirements":["cap","low"],"minLength":8,"maxLength":127},"Minecraft":{"alias":"Mojang"},"Mojang":{"minLength":8,"maxLength":256},"MSN":{"alias":"Microsoft"},"MuseScore":{"minLength":1,"maxLength":128},"My Nintendo":{"minLength":8,"maxLength":20,"requirements":["cap","low"]},"Nectar":{"minLength":8,"maxLength":100,"requirements":["num","cap","low"],"chars":"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!\\"#$%&\'()*,-./:;<=>?@[\\\\]^_`{|}~"},"Netflix":{"minLength":4,"maxLength":50},"Native Instruments":{"minLength":10,"maxLength":60,"requirements":["special"]},"Opera":{"minLength":12,"maxLength":1000},"OpenStreetMap":{"minLength":8,"maxLength":255},"Origin":{"minLength":8,"maxLength":16,"chars":"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ","requirements":["cap","low","num"]},"osu!":{"minLength":8},"Oxfam":{"minLength":6},"Pastebin":{"minLength":4},"Patient Access":{"minLength":8,"maxLength":99,"requirements":["num","cap","low"]},"Patreon":{"minLength":6},"PayPal":{"requirements":["num"],"minLength":8,"maxLength":20},"paysafecard":{"minLength":8,"requirements":["cap","special"],"maxLength":110},"PCPartPicker":{"minLength":1},"Pinterest":{"minLength":6,"requirements":["low","num"]},"pixiv":{"minLength":6,"maxLength":72,"chars":"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"},"plug.dj":{"minLength":8,"maxLength":128,"requirements":["low"]},"Pocket":{"minLength":6},"Prezi":{"minLength":8,"maxLength":128},"QQ":{"minLength":8,"maxLength":16,"requirements":["low","num"]},"Reddit":{"minLength":6},"Riot Games":{"minLength":8,"maxLength":128,"requirements":["low","num"]},"Rockstar Games Social Club":{"minLength":8,"maxLength":30,"requirements":["num","cap"]},"Sainsbury\'s":{"minLength":8,"maxLength":100,"requirements":["num","cap","low"],"chars":"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!\\"#$%&\'()*,-./:;<=>?@[\\\\]^_`{|}~"},"Skype":{"alias":"Microsoft"},"Snapchat":{"minLength":8,"requirements":["num","cap"]},"Songsterr":{"minLength":5,"maxLength":200},"Soundcloud":{"minLength":6,"maxLength":2048},"Spotify":{"minLength":4},"Square Enix":{"minLength":6,"maxLength":32,"chars":"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!\\"(#$%&\')=~|`{+*}<>?_-^@[;:],./"},"Stack Overflow":{"minLength":8,"requirements":["low","num"]},"Steam":{"minLength":8},"StellarX":{"minLength":8,"maxLength":50,"requirements":["cap","low","num"],"regex":"^(?!.*(.)\\\\1{2,}).+"},"Streamable":{"minLength":6},"Tesco":{"minLength":8,"maxLength":45,"requirements":["low","cap","special"]},"TheCubicle.us":{"minLength":5},"tic.computer":{"minLength":6},"Trello":{"minLength":8},"Tumblr":{"alias":"Yahoo"},"Twitch":{"minLength":8},"Twitter":{"minLength":6},"Uber":{"minLength":5,"maxLength":512},"Ubisoft":{"minLength":8,"maxLength":16},"UCAS":{"minLength":8,"maxLength":14,"requirements":["cap","low","num","special"]},"Unity ID":{"minLength":8,"maxLength":72,"requirements":["cap","low","num"]},"Uplay":{"alias":"Ubisoft"},"Venmo":{"minLength":8,"maxLength":32},"Vimeo":{"requirements":["cap","low","num","special"],"minLength":8,"maxLength":72},"Visa Checkout":{"chars":"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ","minLength":8,"maxLength":32},"Vivaldi":{"minLength":8,"maxLength":254},"VK":{"minLength":6},"WeChat":{"alias":"QQ"},"Wikipedia":{"minLength":1},"Wordpress":{"minLength":6,"chars":"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!\\"#$%&\'()*+,-./:;<=>?@[]^_`{|}~","requirements":["cap","low","num","special"]},"Xbox":{"alias":"Microsoft"},"XDA Developers":{"minLength":1,"maxLength":50},"Yahoo":{"minLength":8,"requirements":["low","num"]},"YouTube":{"alias":"Google"},"YoYo Games":{"minLength":6}}')},513:(t,e,n)=>{const i=n(608),o=n(94).keccak512;Math.seedrandom=n(377);const r={cap:"ABCDEFGHIJKLMNOPQRSTUVWXYZ",low:"abcdefghijklmnopqrstuvwxyz",num:"0123456789",special:"!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"};e.process=function(t,e,n,s,a){let minLength=4,maxLength=512,l="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~";const h=[];let u;t=t.trim(),n=Math.trunc(n);let c="";if(s){try{i[t].alias&&(t=i[t].alias)}catch(t){throw new Error("Invalid preset")}if("minLength"in i[t]&&(minLength=i[t].minLength),"maxLength"in i[t]&&(maxLength=i[t].maxLength),"chars"in i[t]&&(l=i[t].chars),"regex"in i[t])try{u=new RegExp(i[t].regex)}catch(e){throw new Error(`Invalid regex from ${t} "${i[t].regex}"`)}if("requirements"in i[t])for(let e=0;e<i[t].requirements.length;e++)h.push(r[i[t].requirements[e]])}if(!(minLength<=n&&n<=maxLength))if(n>maxLength)n=maxLength;else{if(!(n<minLength))throw n=16,new Error("This should never happen");n=minLength}if(""===t||""===e||""===n)return null;for(t=t.toLowerCase(),"insecure"!==a?Math.seedrandom(o(t+e)):Math.seedrandom(t+e);;){for(c="";c.length<n;)c+=l[Math.floor(Math.random()*l.length)];if(0===h.length&&!u)break;{let t=!1;for(let e=0;e<h.length;e++){for(let n=0;n<h[e].length&&-1===c.indexOf(h[e][n]);n++)if(h[e].indexOf(h[e][n])===h[e].length-1){t=!0;break}if(t)break}if(u&&!t&&(u.test(c)||(t=!0)),!t)break}}return c},e.siteData=i},24:t=>{t.exports=class{constructor(t,e,n){e instanceof Element||console.error(Error(e+" is not an HTML Element"));let i=t.getInstance(e);i&&i.destroy(),this.el=e,this.$el=cash(e)}static init(t,e,n){let i=null;if(e instanceof Element)i=new t(e,n);else if(e&&(e.jquery||e.cash||e instanceof NodeList)){let o=[];for(let i=0;i<e.length;i++)o.push(new t(e[i],n));i=o}return i}}},94:(t,e,n)=>{var i;!function(){"use strict";var o="input is invalid type",r="object"==typeof window,s=r?window:{};s.JS_SHA3_NO_WINDOW&&(r=!1);var a=!r&&"object"==typeof self;!s.JS_SHA3_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node?s=n.g:a&&(s=self);var l=!s.JS_SHA3_NO_COMMON_JS&&t.exports,h=n.amdO,u=!s.JS_SHA3_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,c="0123456789abcdef".split(""),d=[4,1024,262144,67108864],p=[0,8,16,24],m=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],f=[224,256,384,512],g=[128,256],v=["hex","buffer","arrayBuffer","array","digest"],y={128:168,256:136};!s.JS_SHA3_NO_NODE_JS&&Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!u||!s.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(t){return"object"==typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});for(var w=function(t,e,n){return function(i){return new I(t,e,t).update(i)[n]()}},b=function(t,e,n){return function(i,o){return new I(t,e,o).update(i)[n]()}},_=function(t,e,n){return function(e,i,o,r){return M["cshake"+t].update(e,i,o,r)[n]()}},L=function(t,e,n){return function(e,i,o,r){return M["kmac"+t].update(e,i,o,r)[n]()}},x=function(t,e,n,i){for(var o=0;o<v.length;++o){var r=v[o];t[r]=e(n,i,r)}return t},E=function(t,e){var n=w(t,e,"hex");return n.create=function(){return new I(t,e,t)},n.update=function(t){return n.create().update(t)},x(n,w,t,e)},C=[{name:"keccak",padding:[1,256,65536,16777216],bits:f,createMethod:E},{name:"sha3",padding:[6,1536,393216,100663296],bits:f,createMethod:E},{name:"shake",padding:[31,7936,2031616,520093696],bits:g,createMethod:function(t,e){var n=b(t,e,"hex");return n.create=function(n){return new I(t,e,n)},n.update=function(t,e){return n.create(e).update(t)},x(n,b,t,e)}},{name:"cshake",padding:d,bits:g,createMethod:function(t,e){var n=y[t],i=_(t,0,"hex");return i.create=function(i,o,r){return o||r?new I(t,e,i).bytepad([o,r],n):M["shake"+t].create(i)},i.update=function(t,e,n,o){return i.create(e,n,o).update(t)},x(i,_,t,e)}},{name:"kmac",padding:d,bits:g,createMethod:function(t,e){var n=y[t],i=L(t,0,"hex");return i.create=function(i,o,r){return new $(t,e,o).bytepad(["KMAC",r],n).bytepad([i],n)},i.update=function(t,e,n,o){return i.create(t,n,o).update(e)},x(i,L,t,e)}}],M={},k=[],B=0;B<C.length;++B)for(var T=C[B],A=T.bits,O=0;O<A.length;++O){var D=T.name+"_"+A[O];if(k.push(D),M[D]=T.createMethod(A[O],T.padding),"sha3"!==T.name){var S=T.name+A[O];k.push(S),M[S]=M[D]}}function I(t,e,n){this.blocks=[],this.s=[],this.padding=e,this.outputBits=n,this.reset=!0,this.finalized=!1,this.block=0,this.start=0,this.blockCount=1600-(t<<1)>>5,this.byteCount=this.blockCount<<2,this.outputBlocks=n>>5,this.extraBytes=(31&n)>>3;for(var i=0;i<50;++i)this.s[i]=0}function $(t,e,n){I.call(this,t,e,n)}I.prototype.update=function(t){if(this.finalized)throw new Error("finalize already called");var e,n=typeof t;if("string"!==n){if("object"!==n)throw new Error(o);if(null===t)throw new Error(o);if(u&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||u&&ArrayBuffer.isView(t)))throw new Error(o);e=!0}for(var i,r,s=this.blocks,a=this.byteCount,l=t.length,h=this.blockCount,c=0,d=this.s;c<l;){if(this.reset)for(this.reset=!1,s[0]=this.block,i=1;i<h+1;++i)s[i]=0;if(e)for(i=this.start;c<l&&i<a;++c)s[i>>2]|=t[c]<<p[3&i++];else for(i=this.start;c<l&&i<a;++c)(r=t.charCodeAt(c))<128?s[i>>2]|=r<<p[3&i++]:r<2048?(s[i>>2]|=(192|r>>6)<<p[3&i++],s[i>>2]|=(128|63&r)<<p[3&i++]):r<55296||r>=57344?(s[i>>2]|=(224|r>>12)<<p[3&i++],s[i>>2]|=(128|r>>6&63)<<p[3&i++],s[i>>2]|=(128|63&r)<<p[3&i++]):(r=65536+((1023&r)<<10|1023&t.charCodeAt(++c)),s[i>>2]|=(240|r>>18)<<p[3&i++],s[i>>2]|=(128|r>>12&63)<<p[3&i++],s[i>>2]|=(128|r>>6&63)<<p[3&i++],s[i>>2]|=(128|63&r)<<p[3&i++]);if(this.lastByteIndex=i,i>=a){for(this.start=i-a,this.block=s[h],i=0;i<h;++i)d[i]^=s[i];F(d),this.reset=!0}else this.start=i}return this},I.prototype.encode=function(t,e){var n=255&t,i=1,o=[n];for(n=255&(t>>=8);n>0;)o.unshift(n),n=255&(t>>=8),++i;return e?o.push(i):o.unshift(i),this.update(o),o.length},I.prototype.encodeString=function(t){var e,n=typeof t;if("string"!==n){if("object"!==n)throw new Error(o);if(null===t)throw new Error(o);if(u&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||u&&ArrayBuffer.isView(t)))throw new Error(o);e=!0}var i=0,r=t.length;if(e)i=r;else for(var s=0;s<t.length;++s){var a=t.charCodeAt(s);a<128?i+=1:a<2048?i+=2:a<55296||a>=57344?i+=3:(a=65536+((1023&a)<<10|1023&t.charCodeAt(++s)),i+=4)}return i+=this.encode(8*i),this.update(t),i},I.prototype.bytepad=function(t,e){for(var n=this.encode(e),i=0;i<t.length;++i)n+=this.encodeString(t[i]);var o=e-n%e,r=[];return r.length=o,this.update(r),this},I.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var t=this.blocks,e=this.lastByteIndex,n=this.blockCount,i=this.s;if(t[e>>2]|=this.padding[3&e],this.lastByteIndex===this.byteCount)for(t[0]=t[n],e=1;e<n+1;++e)t[e]=0;for(t[n-1]|=2147483648,e=0;e<n;++e)i[e]^=t[e];F(i)}},I.prototype.toString=I.prototype.hex=function(){this.finalize();for(var t,e=this.blockCount,n=this.s,i=this.outputBlocks,o=this.extraBytes,r=0,s=0,a="";s<i;){for(r=0;r<e&&s<i;++r,++s)t=n[r],a+=c[t>>4&15]+c[15&t]+c[t>>12&15]+c[t>>8&15]+c[t>>20&15]+c[t>>16&15]+c[t>>28&15]+c[t>>24&15];s%e==0&&(F(n),r=0)}return o&&(t=n[r],a+=c[t>>4&15]+c[15&t],o>1&&(a+=c[t>>12&15]+c[t>>8&15]),o>2&&(a+=c[t>>20&15]+c[t>>16&15])),a},I.prototype.arrayBuffer=function(){this.finalize();var t,e=this.blockCount,n=this.s,i=this.outputBlocks,o=this.extraBytes,r=0,s=0,a=this.outputBits>>3;t=o?new ArrayBuffer(i+1<<2):new ArrayBuffer(a);for(var l=new Uint32Array(t);s<i;){for(r=0;r<e&&s<i;++r,++s)l[s]=n[r];s%e==0&&F(n)}return o&&(l[r]=n[r],t=t.slice(0,a)),t},I.prototype.buffer=I.prototype.arrayBuffer,I.prototype.digest=I.prototype.array=function(){this.finalize();for(var t,e,n=this.blockCount,i=this.s,o=this.outputBlocks,r=this.extraBytes,s=0,a=0,l=[];a<o;){for(s=0;s<n&&a<o;++s,++a)t=a<<2,e=i[s],l[t]=255&e,l[t+1]=e>>8&255,l[t+2]=e>>16&255,l[t+3]=e>>24&255;a%n==0&&F(i)}return r&&(t=a<<2,e=i[s],l[t]=255&e,r>1&&(l[t+1]=e>>8&255),r>2&&(l[t+2]=e>>16&255)),l},$.prototype=new I,$.prototype.finalize=function(){return this.encode(this.outputBits,!0),I.prototype.finalize.call(this)};var F=function(t){var e,n,i,o,r,s,a,l,h,u,c,d,p,f,g,v,y,w,b,_,L,x,E,C,M,k,B,T,A,O,D,S,I,$,F,P,R,q,W,N,H,z,j,X,Y,Q,G,U,K,V,J,Z,tt,et,nt,it,ot,rt,st,at,lt,ht,ut;for(i=0;i<48;i+=2)o=t[0]^t[10]^t[20]^t[30]^t[40],r=t[1]^t[11]^t[21]^t[31]^t[41],s=t[2]^t[12]^t[22]^t[32]^t[42],a=t[3]^t[13]^t[23]^t[33]^t[43],l=t[4]^t[14]^t[24]^t[34]^t[44],h=t[5]^t[15]^t[25]^t[35]^t[45],u=t[6]^t[16]^t[26]^t[36]^t[46],c=t[7]^t[17]^t[27]^t[37]^t[47],e=(d=t[8]^t[18]^t[28]^t[38]^t[48])^(s<<1|a>>>31),n=(p=t[9]^t[19]^t[29]^t[39]^t[49])^(a<<1|s>>>31),t[0]^=e,t[1]^=n,t[10]^=e,t[11]^=n,t[20]^=e,t[21]^=n,t[30]^=e,t[31]^=n,t[40]^=e,t[41]^=n,e=o^(l<<1|h>>>31),n=r^(h<<1|l>>>31),t[2]^=e,t[3]^=n,t[12]^=e,t[13]^=n,t[22]^=e,t[23]^=n,t[32]^=e,t[33]^=n,t[42]^=e,t[43]^=n,e=s^(u<<1|c>>>31),n=a^(c<<1|u>>>31),t[4]^=e,t[5]^=n,t[14]^=e,t[15]^=n,t[24]^=e,t[25]^=n,t[34]^=e,t[35]^=n,t[44]^=e,t[45]^=n,e=l^(d<<1|p>>>31),n=h^(p<<1|d>>>31),t[6]^=e,t[7]^=n,t[16]^=e,t[17]^=n,t[26]^=e,t[27]^=n,t[36]^=e,t[37]^=n,t[46]^=e,t[47]^=n,e=u^(o<<1|r>>>31),n=c^(r<<1|o>>>31),t[8]^=e,t[9]^=n,t[18]^=e,t[19]^=n,t[28]^=e,t[29]^=n,t[38]^=e,t[39]^=n,t[48]^=e,t[49]^=n,f=t[0],g=t[1],Q=t[11]<<4|t[10]>>>28,G=t[10]<<4|t[11]>>>28,T=t[20]<<3|t[21]>>>29,A=t[21]<<3|t[20]>>>29,at=t[31]<<9|t[30]>>>23,lt=t[30]<<9|t[31]>>>23,z=t[40]<<18|t[41]>>>14,j=t[41]<<18|t[40]>>>14,$=t[2]<<1|t[3]>>>31,F=t[3]<<1|t[2]>>>31,v=t[13]<<12|t[12]>>>20,y=t[12]<<12|t[13]>>>20,U=t[22]<<10|t[23]>>>22,K=t[23]<<10|t[22]>>>22,O=t[33]<<13|t[32]>>>19,D=t[32]<<13|t[33]>>>19,ht=t[42]<<2|t[43]>>>30,ut=t[43]<<2|t[42]>>>30,et=t[5]<<30|t[4]>>>2,nt=t[4]<<30|t[5]>>>2,P=t[14]<<6|t[15]>>>26,R=t[15]<<6|t[14]>>>26,w=t[25]<<11|t[24]>>>21,b=t[24]<<11|t[25]>>>21,V=t[34]<<15|t[35]>>>17,J=t[35]<<15|t[34]>>>17,S=t[45]<<29|t[44]>>>3,I=t[44]<<29|t[45]>>>3,C=t[6]<<28|t[7]>>>4,M=t[7]<<28|t[6]>>>4,it=t[17]<<23|t[16]>>>9,ot=t[16]<<23|t[17]>>>9,q=t[26]<<25|t[27]>>>7,W=t[27]<<25|t[26]>>>7,_=t[36]<<21|t[37]>>>11,L=t[37]<<21|t[36]>>>11,Z=t[47]<<24|t[46]>>>8,tt=t[46]<<24|t[47]>>>8,X=t[8]<<27|t[9]>>>5,Y=t[9]<<27|t[8]>>>5,k=t[18]<<20|t[19]>>>12,B=t[19]<<20|t[18]>>>12,rt=t[29]<<7|t[28]>>>25,st=t[28]<<7|t[29]>>>25,N=t[38]<<8|t[39]>>>24,H=t[39]<<8|t[38]>>>24,x=t[48]<<14|t[49]>>>18,E=t[49]<<14|t[48]>>>18,t[0]=f^~v&w,t[1]=g^~y&b,t[10]=C^~k&T,t[11]=M^~B&A,t[20]=$^~P&q,t[21]=F^~R&W,t[30]=X^~Q&U,t[31]=Y^~G&K,t[40]=et^~it&rt,t[41]=nt^~ot&st,t[2]=v^~w&_,t[3]=y^~b&L,t[12]=k^~T&O,t[13]=B^~A&D,t[22]=P^~q&N,t[23]=R^~W&H,t[32]=Q^~U&V,t[33]=G^~K&J,t[42]=it^~rt&at,t[43]=ot^~st&lt,t[4]=w^~_&x,t[5]=b^~L&E,t[14]=T^~O&S,t[15]=A^~D&I,t[24]=q^~N&z,t[25]=W^~H&j,t[34]=U^~V&Z,t[35]=K^~J&tt,t[44]=rt^~at&ht,t[45]=st^~lt&ut,t[6]=_^~x&f,t[7]=L^~E&g,t[16]=O^~S&C,t[17]=D^~I&M,t[26]=N^~z&$,t[27]=H^~j&F,t[36]=V^~Z&X,t[37]=J^~tt&Y,t[46]=at^~ht&et,t[47]=lt^~ut&nt,t[8]=x^~f&v,t[9]=E^~g&y,t[18]=S^~C&k,t[19]=I^~M&B,t[28]=z^~$&P,t[29]=j^~F&R,t[38]=Z^~X&Q,t[39]=tt^~Y&G,t[48]=ht^~et&it,t[49]=ut^~nt&ot,t[0]^=m[i],t[1]^=m[i+1]};if(l)t.exports=M;else{for(B=0;B<k.length;++B)s[k[B]]=M[k[B]];h&&(void 0===(i=function(){return M}.call(e,n,e,t))||(t.exports=i))}}()},667:function(t,e,n){var i={scope:{}};i.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,n){if(n.get||n.set)throw new TypeError("ES3 does not support getters and setters.");t!=Array.prototype&&t!=Object.prototype&&(t[e]=n.value)},i.getGlobal=function(t){return"undefined"!=typeof window&&window===t?t:void 0!==n.g&&null!=n.g?n.g:t},i.global=i.getGlobal(this),i.SYMBOL_PREFIX="jscomp_symbol_",i.initSymbol=function(){i.initSymbol=function(){},i.global.Symbol||(i.global.Symbol=i.Symbol)},i.symbolCounter_=0,i.Symbol=function(t){return i.SYMBOL_PREFIX+(t||"")+i.symbolCounter_++},i.initSymbolIterator=function(){i.initSymbol();var t=i.global.Symbol.iterator;t||(t=i.global.Symbol.iterator=i.global.Symbol("iterator")),"function"!=typeof Array.prototype[t]&&i.defineProperty(Array.prototype,t,{configurable:!0,writable:!0,value:function(){return i.arrayIterator(this)}}),i.initSymbolIterator=function(){}},i.arrayIterator=function(t){var e=0;return i.iteratorPrototype((function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}))},i.iteratorPrototype=function(t){return i.initSymbolIterator(),(t={next:t})[i.global.Symbol.iterator]=function(){return this},t},i.array=i.array||{},i.iteratorFromArray=function(t,e){i.initSymbolIterator(),t instanceof String&&(t+="");var n=0,o={next:function(){if(n<t.length){var i=n++;return{value:e(i,t[i]),done:!1}}return o.next=function(){return{done:!0,value:void 0}},o.next()}};return o[Symbol.iterator]=function(){return o},o},i.polyfill=function(t,e,n,o){if(e){for(n=i.global,t=t.split("."),o=0;o<t.length-1;o++){var r=t[o];r in n||(n[r]={}),n=n[r]}(e=e(o=n[t=t[t.length-1]]))!=o&&null!=e&&i.defineProperty(n,t,{configurable:!0,writable:!0,value:e})}},i.polyfill("Array.prototype.keys",(function(t){return t||function(){return i.iteratorFromArray(this,(function(t){return t}))}}),"es6-impl","es3");var o=this;M.anime=function(){function t(t){if(!R.col(t))try{return document.querySelectorAll(t)}catch(t){}}function e(t,e){for(var n=t.length,i=2<=arguments.length?arguments[1]:void 0,o=[],r=0;r<n;r++)if(r in t){var s=t[r];e.call(i,s,r,t)&&o.push(s)}return o}function n(t){return t.reduce((function(t,e){return t.concat(R.arr(e)?n(e):e)}),[])}function i(e){return R.arr(e)?e:(R.str(e)&&(e=t(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function r(t,e){return t.some((function(t){return t===e}))}function s(t){var e,n={};for(e in t)n[e]=t[e];return n}function a(t,e){var n,i=s(t);for(n in t)i[n]=e.hasOwnProperty(n)?e[n]:t[n];return i}function l(t,e){var n,i=s(t);for(n in e)i[n]=R.und(t[n])?e[n]:t[n];return i}function h(t){t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(t,e,n,i){return e+e+n+n+i+i}));var e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return"rgba("+(t=parseInt(e[1],16))+","+parseInt(e[2],16)+","+(e=parseInt(e[3],16))+",1)"}function u(t){function e(t,e,n){return 0>n&&(n+=1),1<n&&--n,n<1/6?t+6*(e-t)*n:.5>n?e:n<2/3?t+(e-t)*(2/3-n)*6:t}var n=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(t)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(t);t=parseInt(n[1])/360;var i=parseInt(n[2])/100,o=parseInt(n[3])/100;if(n=n[4]||1,0==i)o=i=t=o;else{var r=.5>o?o*(1+i):o+i-o*i,s=2*o-r;o=e(s,r,t+1/3),i=e(s,r,t),t=e(s,r,t-1/3)}return"rgba("+255*o+","+255*i+","+255*t+","+n+")"}function c(t){if(t=/([\+\-]?[0-9#\.]+)(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(t))return t[2]}function d(t){return-1<t.indexOf("translate")||"perspective"===t?"px":-1<t.indexOf("rotate")||-1<t.indexOf("skew")?"deg":void 0}function p(t,e){return R.fnc(t)?t(e.target,e.id,e.total):t}function m(t,e){if(e in t.style)return getComputedStyle(t).getPropertyValue(e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase())||"0"}function f(t,e){return R.dom(t)&&r(P,e)?"transform":R.dom(t)&&(t.getAttribute(e)||R.svg(t)&&t[e])?"attribute":R.dom(t)&&"transform"!==e&&m(t,e)?"css":null!=t[e]?"object":void 0}function g(t,n){var i=d(n);if(i=-1<n.indexOf("scale")?1:0+i,!(t=t.style.transform))return i;for(var o=[],r=[],s=[],a=/(\w+)\((.+?)\)/g;o=a.exec(t);)r.push(o[1]),s.push(o[2]);return(t=e(s,(function(t,e){return r[e]===n}))).length?t[0]:i}function v(t,e){switch(f(t,e)){case"transform":return g(t,e);case"css":return m(t,e);case"attribute":return t.getAttribute(e)}return t[e]||0}function y(t,e){var n=/^(\*=|\+=|-=)/.exec(t);if(!n)return t;var i=c(t)||0;switch(e=parseFloat(e),t=parseFloat(t.replace(n[0],"")),n[0][0]){case"+":return e+t+i;case"-":return e-t+i;case"*":return e*t+i}}function w(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function b(t){t=t.points;for(var e,n=0,i=0;i<t.numberOfItems;i++){var o=t.getItem(i);0<i&&(n+=w(e,o)),e=o}return n}function _(t){if(t.getTotalLength)return t.getTotalLength();switch(t.tagName.toLowerCase()){case"circle":return 2*Math.PI*t.getAttribute("r");case"rect":return 2*t.getAttribute("width")+2*t.getAttribute("height");case"line":return w({x:t.getAttribute("x1"),y:t.getAttribute("y1")},{x:t.getAttribute("x2"),y:t.getAttribute("y2")});case"polyline":return b(t);case"polygon":var e=t.points;return b(t)+w(e.getItem(e.numberOfItems-1),e.getItem(0))}}function L(t,e){function n(n){return n=void 0===n?0:n,t.el.getPointAtLength(1<=e+n?e+n:0)}var i=n(),o=n(-1),r=n(1);switch(t.property){case"x":return i.x;case"y":return i.y;case"angle":return 180*Math.atan2(r.y-o.y,r.x-o.x)/Math.PI}}function x(t,e){var n,i=/-?\d*\.?\d+/g;if(n=R.pth(t)?t.totalLength:t,R.col(n))if(R.rgb(n)){var o=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(n);n=o?"rgba("+o[1]+",1)":n}else n=R.hex(n)?h(n):R.hsl(n)?u(n):void 0;else o=(o=c(n))?n.substr(0,n.length-o.length):n,n=e&&!/\s/g.test(n)?o+e:o;return{original:n+="",numbers:n.match(i)?n.match(i).map(Number):[0],strings:R.str(t)||e?n.split(i):[]}}function E(t){return e(t=t?n(R.arr(t)?t.map(i):i(t)):[],(function(t,e,n){return n.indexOf(t)===e}))}function C(t){var e=E(t);return e.map((function(t,n){return{target:t,id:n,total:e.length}}))}function M(t,e){var n=s(e);if(R.arr(t)){var o=t.length;2!==o||R.obj(t[0])?R.fnc(e.duration)||(n.duration=e.duration/o):t={value:t}}return i(t).map((function(t,n){return n=n?0:e.delay,t=R.obj(t)&&!R.pth(t)?t:{value:t},R.und(t.delay)&&(t.delay=n),t})).map((function(t){return l(t,n)}))}function k(t,e){var n,i={};for(n in t){var o=p(t[n],e);R.arr(o)&&1===(o=o.map((function(t){return p(t,e)}))).length&&(o=o[0]),i[n]=o}return i.duration=parseFloat(i.duration),i.delay=parseFloat(i.delay),i}function B(t){return R.arr(t)?q.apply(this,t):W[t]}function T(t,e){var n;return t.tweens.map((function(i){var o=(i=k(i,e)).value,r=v(e.target,t.name),s=n?n.to.original:r,a=(s=R.arr(o)?o[0]:s,y(R.arr(o)?o[1]:o,s));return r=c(a)||c(s)||c(r),i.from=x(s,r),i.to=x(a,r),i.start=n?n.end:t.offset,i.end=i.start+i.delay+i.duration,i.easing=B(i.easing),i.elasticity=(1e3-Math.min(Math.max(i.elasticity,1),999))/1e3,i.isPath=R.pth(o),i.isColor=R.col(i.from.original),i.isColor&&(i.round=1),n=i}))}function A(t,i){return e(n(t.map((function(t){return i.map((function(e){var n=f(t.target,e.name);if(n){var i=T(e,t);e={type:n,property:e.name,animatable:t,tweens:i,duration:i[i.length-1].end,delay:i[0].delay}}else e=void 0;return e}))}))),(function(t){return!R.und(t)}))}function O(t,e,n,i){var o="delay"===t;return e.length?(o?Math.min:Math.max).apply(Math,e.map((function(e){return e[t]}))):o?i.delay:n.offset+i.delay+i.duration}function D(t){var e,n=a($,t),i=a(F,t),o=C(t.targets),r=[],s=l(n,i);for(e in t)s.hasOwnProperty(e)||"targets"===e||r.push({name:e,offset:s.offset,tweens:M(t[e],i)});return l(n,{children:[],animatables:o,animations:t=A(o,r),duration:O("duration",t,n,i),delay:O("delay",t,n,i)})}function S(t){function n(){return window.Promise&&new Promise((function(t){return c=t}))}function i(t){return p.reversed?p.duration-t:t}function o(t){for(var n=0,i={},o=p.animations,r=o.length;n<r;){var s=o[n],a=s.animatable,l=(h=s.tweens)[d=h.length-1];d&&(l=e(h,(function(e){return t<e.end}))[0]||l);for(var h=Math.min(Math.max(t-l.start-l.delay,0),l.duration)/l.duration,u=isNaN(h)?1:l.easing(h,l.elasticity),c=(h=l.to.strings,l.round),d=[],f=void 0,g=(f=l.to.numbers.length,0);g<f;g++){var v=void 0,y=(v=l.to.numbers[g],l.from.numbers[g]);v=l.isPath?L(l.value,u*v):y+u*(v-y),c&&(l.isColor&&2<g||(v=Math.round(v*c)/c)),d.push(v)}if(l=h.length)for(f=h[0],u=0;u<l;u++)c=h[u+1],g=d[u],isNaN(g)||(f=c?f+(g+c):f+(g+" "));else f=d[0];N[s.type](a.target,s.property,f,i,a.id),s.currentValue=f,n++}if(n=Object.keys(i).length)for(o=0;o<n;o++)I||(I=m(document.body,"transform")?"transform":"-webkit-transform"),p.animatables[o].target.style[I]=i[o].join(" ");p.currentTime=t,p.progress=t/p.duration*100}function r(t){p[t]&&p[t](p)}function s(){p.remaining&&!0!==p.remaining&&p.remaining--}function a(t){var e=p.duration,a=p.offset,m=a+p.delay,f=p.currentTime,g=p.reversed,v=i(t);if(p.children.length){var y=p.children,w=y.length;if(v>=p.currentTime)for(var b=0;b<w;b++)y[b].seek(v);else for(;w--;)y[w].seek(v)}(v>=m||!e)&&(p.began||(p.began=!0,r("begin")),r("run")),v>a&&v<e?o(v):(v<=a&&0!==f&&(o(0),g&&s()),(v>=e&&f!==e||!e)&&(o(e),g||s())),r("update"),t>=e&&(p.remaining?(h=l,"alternate"===p.direction&&(p.reversed=!p.reversed)):(p.pause(),p.completed||(p.completed=!0,r("complete"),"Promise"in window&&(c(),d=n()))),u=0)}t=void 0===t?{}:t;var l,h,u=0,c=null,d=n(),p=D(t);return p.reset=function(){var t=p.direction,e=p.loop;for(p.currentTime=0,p.progress=0,p.paused=!0,p.began=!1,p.completed=!1,p.reversed="reverse"===t,p.remaining="alternate"===t&&1===e?2:e,o(0),t=p.children.length;t--;)p.children[t].reset()},p.tick=function(t){l=t,h||(h=l),a((u+l-h)*S.speed)},p.seek=function(t){a(i(t))},p.pause=function(){var t=H.indexOf(p);-1<t&&H.splice(t,1),p.paused=!0},p.play=function(){p.paused&&(p.paused=!1,h=0,u=i(p.currentTime),H.push(p),z||j())},p.reverse=function(){p.reversed=!p.reversed,h=0,u=i(p.currentTime)},p.restart=function(){p.pause(),p.reset(),p.play()},p.finished=d,p.reset(),p.autoplay&&p.play(),p}var I,$={update:void 0,begin:void 0,run:void 0,complete:void 0,loop:1,direction:"normal",autoplay:!0,offset:0},F={duration:1e3,delay:0,easing:"easeOutElastic",elasticity:500,round:0},P="translateX translateY translateZ rotate rotateX rotateY rotateZ scale scaleX scaleY scaleZ skewX skewY perspective".split(" "),R={arr:function(t){return Array.isArray(t)},obj:function(t){return-1<Object.prototype.toString.call(t).indexOf("Object")},pth:function(t){return R.obj(t)&&t.hasOwnProperty("totalLength")},svg:function(t){return t instanceof SVGElement},dom:function(t){return t.nodeType||R.svg(t)},str:function(t){return"string"==typeof t},fnc:function(t){return"function"==typeof t},und:function(t){return void 0===t},hex:function(t){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t)},rgb:function(t){return/^rgb/.test(t)},hsl:function(t){return/^hsl/.test(t)},col:function(t){return R.hex(t)||R.rgb(t)||R.hsl(t)}},q=function(){function t(t,e,n){return(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t}return function(e,n,i,o){if(0<=e&&1>=e&&0<=i&&1>=i){var r=new Float32Array(11);if(e!==n||i!==o)for(var s=0;11>s;++s)r[s]=t(.1*s,e,i);return function(s){if(e===n&&i===o)return s;if(0===s)return 0;if(1===s)return 1;for(var a=0,l=1;10!==l&&r[l]<=s;++l)a+=.1;--l,l=a+(s-r[l])/(r[l+1]-r[l])*.1;var h=3*(1-3*i+3*e)*l*l+2*(3*i-6*e)*l+3*e;if(.001<=h){for(a=0;4>a&&0!=(h=3*(1-3*i+3*e)*l*l+2*(3*i-6*e)*l+3*e);++a){var u=t(l,e,i)-s;l-=u/h}s=l}else if(0===h)s=l;else{l=a,a+=.1;var c=0;do{0<(h=t(u=l+(a-l)/2,e,i)-s)?a=u:l=u}while(1e-7<Math.abs(h)&&10>++c);s=u}return t(s,n,o)}}}}(),W=function(){function t(t,e){return 0===t||1===t?t:-Math.pow(2,10*(t-1))*Math.sin(2*(t-1-e/(2*Math.PI)*Math.asin(1))*Math.PI/e)}var e,n="Quad Cubic Quart Quint Sine Expo Circ Back Elastic".split(" "),i={In:[[.55,.085,.68,.53],[.55,.055,.675,.19],[.895,.03,.685,.22],[.755,.05,.855,.06],[.47,0,.745,.715],[.95,.05,.795,.035],[.6,.04,.98,.335],[.6,-.28,.735,.045],t],Out:[[.25,.46,.45,.94],[.215,.61,.355,1],[.165,.84,.44,1],[.23,1,.32,1],[.39,.575,.565,1],[.19,1,.22,1],[.075,.82,.165,1],[.175,.885,.32,1.275],function(e,n){return 1-t(1-e,n)}],InOut:[[.455,.03,.515,.955],[.645,.045,.355,1],[.77,0,.175,1],[.86,0,.07,1],[.445,.05,.55,.95],[1,0,0,1],[.785,.135,.15,.86],[.68,-.55,.265,1.55],function(e,n){return.5>e?t(2*e,n)/2:1-t(-2*e+2,n)/2}]},r={linear:q(.25,.25,.75,.75)},s={};for(e in i)s.type=e,i[s.type].forEach(function(t){return function(e,i){r["ease"+t.type+n[i]]=R.fnc(e)?e:q.apply(o,e)}}(s)),s={type:s.type};return r}(),N={css:function(t,e,n){return t.style[e]=n},attribute:function(t,e,n){return t.setAttribute(e,n)},object:function(t,e,n){return t[e]=n},transform:function(t,e,n,i,o){i[o]||(i[o]=[]),i[o].push(e+"("+n+")")}},H=[],z=0,j=function(){function t(){z=requestAnimationFrame(e)}function e(e){var n=H.length;if(n){for(var i=0;i<n;)H[i]&&H[i].tick(e),i++;t()}else cancelAnimationFrame(z),z=0}return t}();return S.version="2.2.0",S.speed=1,S.running=H,S.remove=function(t){t=E(t);for(var e=H.length;e--;)for(var n=H[e],i=n.animations,o=i.length;o--;)r(t,i[o].animatable.target)&&(i.splice(o,1),i.length||n.pause())},S.getValue=v,S.path=function(e,n){var i=R.str(e)?t(e)[0]:e,o=n||100;return function(t){return{el:i,property:t,totalLength:_(i)*(o/100)}}},S.setDashoffset=function(t){var e=_(t);return t.setAttribute("stroke-dasharray",e),e},S.bezier=q,S.easings=W,S.timeline=function(t){var e=S(t);return e.pause(),e.duration=0,e.add=function(n){return e.children.forEach((function(t){t.began=!0,t.completed=!0})),i(n).forEach((function(n){var i=l(n,a(F,t||{}));i.targets=i.targets||t.targets,n=e.duration;var o=i.offset;i.autoplay=!1,i.direction=e.direction,i.offset=R.und(o)?n:y(o,n),e.began=!0,e.completed=!0,e.seek(i.offset),(i=S(i)).began=!0,i.completed=!0,i.duration>n&&(e.duration=i.duration),e.children.push(i)})),e.seek(0),e.reset(),e.autoplay&&e.restart(),e},e},S.random=function(t,e){return Math.floor(Math.random()*(e-t+1))+t},S}()},321:(t,e,n)=>{var i=n(24);!function(t){"use strict";let e={data:{},limit:1/0,onAutocomplete:null,minLength:1,sortFunction:function(t,e,n){return t.indexOf(n)-e.indexOf(n)}};class n extends i{constructor(e,i){super(n,e,i),this.el.M_Autocomplete=this,this.options=t.extend({},n.defaults,i),this.isOpen=!1,this.count=0,this.activeIndex=-1,this.oldVal,this.$inputField=this.$el.closest(".input-field"),this.$active=t(),this._mousedown=!1,this._setupDropdown(),this._setupEventHandlers()}static get defaults(){return e}static init(t,e){return super.init(this,t,e)}static getInstance(t){return(t.jquery?t[0]:t).M_Autocomplete}destroy(){this._removeEventHandlers(),this._removeDropdown(),this.el.M_Autocomplete=void 0}_setupEventHandlers(){this._handleInputBlurBound=this._handleInputBlur.bind(this),this._handleInputKeyupAndFocusBound=this._handleInputKeyupAndFocus.bind(this),this._handleInputKeydownBound=this._handleInputKeydown.bind(this),this._handleInputClickBound=this._handleInputClick.bind(this),this._handleContainerMousedownAndTouchstartBound=this._handleContainerMousedownAndTouchstart.bind(this),this._handleContainerMouseupAndTouchendBound=this._handleContainerMouseupAndTouchend.bind(this),this.el.addEventListener("blur",this._handleInputBlurBound),this.el.addEventListener("keyup",this._handleInputKeyupAndFocusBound),this.el.addEventListener("focus",this._handleInputKeyupAndFocusBound),this.el.addEventListener("keydown",this._handleInputKeydownBound),this.el.addEventListener("click",this._handleInputClickBound),this.container.addEventListener("mousedown",this._handleContainerMousedownAndTouchstartBound),this.container.addEventListener("mouseup",this._handleContainerMouseupAndTouchendBound),void 0!==window.ontouchstart&&(this.container.addEventListener("touchstart",this._handleContainerMousedownAndTouchstartBound),this.container.addEventListener("touchend",this._handleContainerMouseupAndTouchendBound))}_removeEventHandlers(){this.el.removeEventListener("blur",this._handleInputBlurBound),this.el.removeEventListener("keyup",this._handleInputKeyupAndFocusBound),this.el.removeEventListener("focus",this._handleInputKeyupAndFocusBound),this.el.removeEventListener("keydown",this._handleInputKeydownBound),this.el.removeEventListener("click",this._handleInputClickBound),this.container.removeEventListener("mousedown",this._handleContainerMousedownAndTouchstartBound),this.container.removeEventListener("mouseup",this._handleContainerMouseupAndTouchendBound),void 0!==window.ontouchstart&&(this.container.removeEventListener("touchstart",this._handleContainerMousedownAndTouchstartBound),this.container.removeEventListener("touchend",this._handleContainerMouseupAndTouchendBound))}_setupDropdown(){this.container=document.createElement("ul"),this.container.id=`autocomplete-options-${M.guid()}`,t(this.container).addClass("autocomplete-content dropdown-content"),this.$inputField.append(this.container),this.el.setAttribute("data-target",this.container.id),this.dropdown=M.Dropdown.init(this.el,{autoFocus:!1,closeOnClick:!1,coverTrigger:!1,onItemClick:e=>{this.selectOption(t(e))}}),this.el.removeEventListener("click",this.dropdown._handleClickBound)}_removeDropdown(){this.container.parentNode.removeChild(this.container)}_handleInputBlur(){this._mousedown||(this.close(),this._resetAutocomplete())}_handleInputKeyupAndFocus(t){"keyup"===t.type&&(n._keydown=!1),this.count=0;let e=this.el.value.toLowerCase();13!==t.keyCode&&38!==t.keyCode&&40!==t.keyCode&&(this.oldVal===e||!M.tabPressed&&"focus"===t.type||this.open(),this.oldVal=e)}_handleInputKeydown(e){n._keydown=!0;let i,o=e.keyCode,r=t(this.container).children("li").length;if(o===M.keys.ENTER&&this.activeIndex>=0)return i=t(this.container).children("li").eq(this.activeIndex),void(i.length&&(this.selectOption(i),e.preventDefault()));o!==M.keys.ARROW_UP&&o!==M.keys.ARROW_DOWN||(e.preventDefault(),o===M.keys.ARROW_UP&&this.activeIndex>0&&this.activeIndex--,o===M.keys.ARROW_DOWN&&this.activeIndex<r-1&&this.activeIndex++,this.$active.removeClass("active"),this.activeIndex>=0&&(this.$active=t(this.container).children("li").eq(this.activeIndex),this.$active.addClass("active")))}_handleInputClick(t){this.open()}_handleContainerMousedownAndTouchstart(t){this._mousedown=!0}_handleContainerMouseupAndTouchend(t){this._mousedown=!1}_highlight(t,e){let n=e.find("img"),i=e.text().toLowerCase().indexOf(""+t.toLowerCase()),o=i+t.length-1,r=e.text().slice(0,i),s=e.text().slice(i,o+1),a=e.text().slice(o+1);e.html(`<span>${r}<span class='highlight'>${s}</span>${a}</span>`),n.length&&e.prepend(n)}_resetCurrentElement(){this.activeIndex=-1,this.$active.removeClass("active")}_resetAutocomplete(){t(this.container).empty(),this._resetCurrentElement(),this.oldVal=null,this.isOpen=!1,this._mousedown=!1}selectOption(t){let e=t.text().trim();this.el.value=e,this.$el.trigger("change"),this._resetAutocomplete(),this.close(),"function"==typeof this.options.onAutocomplete&&this.options.onAutocomplete.call(this,e)}_renderDropdown(e,n){this._resetAutocomplete();let i=[];for(let t in e)if(e.hasOwnProperty(t)&&-1!==t.toLowerCase().indexOf(n)){if(this.count>=this.options.limit)break;let n={data:e[t],key:t};i.push(n),this.count++}if(this.options.sortFunction){let t=(t,e)=>this.options.sortFunction(t.key.toLowerCase(),e.key.toLowerCase(),n.toLowerCase());i.sort(t)}for(let e=0;e<i.length;e++){let o=i[e],r=t("<li></li>");o.data?r.append(`<img src="${o.data}" class="right circle"><span>${o.key}</span>`):r.append("<span>"+o.key+"</span>"),t(this.container).append(r),this._highlight(n,r)}}open(){let t=this.el.value.toLowerCase();this._resetAutocomplete(),t.length>=this.options.minLength&&(this.isOpen=!0,this._renderDropdown(this.options.data,t)),this.dropdown.isOpen?this.dropdown.recalculateDimensions():this.dropdown.open()}close(){this.dropdown.close()}updateData(t){let e=this.el.value.toLowerCase();this.options.data=t,this.isOpen&&this._renderDropdown(t,e)}}n._keydown=!1,M.Autocomplete=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"autocomplete","M_Autocomplete")}(cash)},978:(t,e,n)=>{var i=n(24);!function(t,e){"use strict";let n={direction:"top",hoverEnabled:!0,toolbarEnabled:!1};t.fn.reverse=[].reverse;class o extends i{constructor(e,n){super(o,e,n),this.el.M_FloatingActionButton=this,this.options=t.extend({},o.defaults,n),this.isOpen=!1,this.$anchor=this.$el.children("a").first(),this.$menu=this.$el.children("ul").first(),this.$floatingBtns=this.$el.find("ul .btn-floating"),this.$floatingBtnsReverse=this.$el.find("ul .btn-floating").reverse(),this.offsetY=0,this.offsetX=0,this.$el.addClass(`direction-${this.options.direction}`),"top"===this.options.direction?this.offsetY=40:"right"===this.options.direction?this.offsetX=-40:"bottom"===this.options.direction?this.offsetY=-40:this.offsetX=40,this._setupEventHandlers()}static get defaults(){return n}static init(t,e){return super.init(this,t,e)}static getInstance(t){return(t.jquery?t[0]:t).M_FloatingActionButton}destroy(){this._removeEventHandlers(),this.el.M_FloatingActionButton=void 0}_setupEventHandlers(){this._handleFABClickBound=this._handleFABClick.bind(this),this._handleOpenBound=this.open.bind(this),this._handleCloseBound=this.close.bind(this),this.options.hoverEnabled&&!this.options.toolbarEnabled?(this.el.addEventListener("mouseenter",this._handleOpenBound),this.el.addEventListener("mouseleave",this._handleCloseBound)):this.el.addEventListener("click",this._handleFABClickBound)}_removeEventHandlers(){this.options.hoverEnabled&&!this.options.toolbarEnabled?(this.el.removeEventListener("mouseenter",this._handleOpenBound),this.el.removeEventListener("mouseleave",this._handleCloseBound)):this.el.removeEventListener("click",this._handleFABClickBound)}_handleFABClick(){this.isOpen?this.close():this.open()}_handleDocumentClick(e){t(e.target).closest(this.$menu).length||this.close()}open(){this.isOpen||(this.options.toolbarEnabled?this._animateInToolbar():this._animateInFAB(),this.isOpen=!0)}close(){this.isOpen&&(this.options.toolbarEnabled?(window.removeEventListener("scroll",this._handleCloseBound,!0),document.body.removeEventListener("click",this._handleDocumentClickBound,!0),this._animateOutToolbar()):this._animateOutFAB(),this.isOpen=!1)}_animateInFAB(){this.$el.addClass("active");let t=0;this.$floatingBtnsReverse.each((n=>{e({targets:n,opacity:1,scale:[.4,1],translateY:[this.offsetY,0],translateX:[this.offsetX,0],duration:275,delay:t,easing:"easeInOutQuad"}),t+=40}))}_animateOutFAB(){this.$floatingBtnsReverse.each((t=>{e.remove(t),e({targets:t,opacity:0,scale:.4,translateY:this.offsetY,translateX:this.offsetX,duration:175,easing:"easeOutQuad",complete:()=>{this.$el.removeClass("active")}})}))}_animateInToolbar(){let e,n=window.innerWidth,i=window.innerHeight,o=this.el.getBoundingClientRect(),r=t('<div class="fab-backdrop"></div>'),s=this.$anchor.css("background-color");this.$anchor.append(r),this.offsetX=o.left-n/2+o.width/2,this.offsetY=i-o.bottom,e=n/r[0].clientWidth,this.btnBottom=o.bottom,this.btnLeft=o.left,this.btnWidth=o.width,this.$el.addClass("active"),this.$el.css({"text-align":"center",width:"100%",bottom:0,left:0,transform:"translateX("+this.offsetX+"px)",transition:"none"}),this.$anchor.css({transform:"translateY("+-this.offsetY+"px)",transition:"none"}),r.css({"background-color":s}),setTimeout((()=>{this.$el.css({transform:"",transition:"transform .2s cubic-bezier(0.550, 0.085, 0.680, 0.530), background-color 0s linear .2s"}),this.$anchor.css({overflow:"visible",transform:"",transition:"transform .2s"}),setTimeout((()=>{this.$el.css({overflow:"hidden","background-color":s}),r.css({transform:"scale("+e+")",transition:"transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)"}),this.$menu.children("li").children("a").css({opacity:1}),this._handleDocumentClickBound=this._handleDocumentClick.bind(this),window.addEventListener("scroll",this._handleCloseBound,!0),document.body.addEventListener("click",this._handleDocumentClickBound,!0)}),100)}),0)}_animateOutToolbar(){let t=window.innerWidth,e=window.innerHeight,n=this.$el.find(".fab-backdrop"),i=this.$anchor.css("background-color");this.offsetX=this.btnLeft-t/2+this.btnWidth/2,this.offsetY=e-this.btnBottom,this.$el.removeClass("active"),this.$el.css({"background-color":"transparent",transition:"none"}),this.$anchor.css({transition:"none"}),n.css({transform:"scale(0)","background-color":i}),this.$menu.children("li").children("a").css({opacity:""}),setTimeout((()=>{n.remove(),this.$el.css({"text-align":"",width:"",bottom:"",left:"",overflow:"","background-color":"",transform:"translate3d("+-this.offsetX+"px,0,0)"}),this.$anchor.css({overflow:"",transform:"translate3d(0,"+this.offsetY+"px,0)"}),setTimeout((()=>{this.$el.css({transform:"translate3d(0,0,0)",transition:"transform .2s"}),this.$anchor.css({transform:"translate3d(0,0,0)",transition:"transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)"})}),20)}),200)}}M.FloatingActionButton=o,M.jQueryLoaded&&M.initializeJqueryWrapper(o,"floatingActionButton","M_FloatingActionButton")}(cash,M.anime)},683:()=>{window.cash=function(){var t,e=document,n=window,i=Array.prototype,o=i.slice,r=i.filter,s=i.push,a=function(){},l=function(t){return typeof t==typeof a&&t.call},h=function(t){return"string"==typeof t},u=/^#[\w-]*$/,c=/^\.[\w-]*$/,d=/<.+>/,p=/^\w+$/;function m(t,n){return n=n||e,c.test(t)?n.getElementsByClassName(t.slice(1)):p.test(t)?n.getElementsByTagName(t):n.querySelectorAll(t)}function f(n){if(!t){var i=(t=e.implementation.createHTMLDocument(null)).createElement("base");i.href=e.location.href,t.head.appendChild(i)}return t.body.innerHTML=n,t.body.childNodes}function g(t){"loading"!==e.readyState?t():e.addEventListener("DOMContentLoaded",t)}function v(t,i){if(!t)return this;if(t.cash&&t!==n)return t;var o,r=t,s=0;if(h(t))r=u.test(t)?e.getElementById(t.slice(1)):d.test(t)?f(t):m(t,i);else if(l(t))return g(t),this;if(!r)return this;if(r.nodeType||r===n)this[0]=r,this.length=1;else for(o=this.length=r.length;s<o;s++)this[s]=r[s];return this}function y(t,e){return new v(t,e)}var w=y.fn=y.prototype=v.prototype={cash:!0,length:0,push:s,splice:i.splice,map:i.map,init:v};function b(t,e){for(var n=t.length,i=0;i<n&&!1!==e.call(t[i],t[i],i,t);i++);}function _(t,e){var n=t&&(t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector);return!!n&&n.call(t,e)}function L(t){return h(t)?_:t.cash?function(e){return t.is(e)}:function(t,e){return t===e}}function x(t){return y(o.call(t).filter((function(t,e,n){return n.indexOf(t)===e})))}Object.defineProperty(w,"constructor",{value:y}),y.parseHTML=f,y.noop=a,y.isFunction=l,y.isString=h,y.extend=w.extend=function(t){t=t||{};var e=o.call(arguments),n=e.length,i=1;for(1===e.length&&(t=this,i=0);i<n;i++)if(e[i])for(var r in e[i])e[i].hasOwnProperty(r)&&(t[r]=e[i][r]);return t},y.extend({merge:function(t,e){for(var n=+e.length,i=t.length,o=0;o<n;i++,o++)t[i]=e[o];return t.length=i,t},each:b,matches:_,unique:x,isArray:Array.isArray,isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)}});var E=y.uid="_cash"+Date.now();function C(t){return t[E]=t[E]||{}}function M(t,e,n){return C(t)[e]=n}function k(t,e){var n=C(t);return void 0===n[e]&&(n[e]=t.dataset?t.dataset[e]:y(t).attr("data-"+e)),n[e]}function B(t,e){var n=C(t);n?delete n[e]:t.dataset?delete t.dataset[e]:y(t).removeAttr("data-"+name)}w.extend({data:function(t,e){if(h(t))return void 0===e?k(this[0],t):this.each((function(n){return M(n,t,e)}));for(var n in t)this.data(n,t[n]);return this},removeData:function(t){return this.each((function(e){return B(e,t)}))}});var T=/\S+/g;function A(t){return h(t)&&t.match(T)}function O(t,e){return t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className)}function D(t,e,n){t.classList?t.classList.add(e):n.indexOf(" "+e+" ")&&(t.className+=" "+e)}function S(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(e,"")}w.extend({addClass:function(t){var e=A(t);return e?this.each((function(t){var n=" "+t.className+" ";b(e,(function(e){D(t,e,n)}))})):this},attr:function(t,e){if(t){if(h(t))return void 0===e?this[0]?this[0].getAttribute?this[0].getAttribute(t):this[0][t]:void 0:this.each((function(n){n.setAttribute?n.setAttribute(t,e):n[t]=e}));for(var n in t)this.attr(n,t[n]);return this}},hasClass:function(t){var e=!1,n=A(t);return n&&n.length&&this.each((function(t){return!(e=O(t,n[0]))})),e},prop:function(t,e){if(h(t))return void 0===e?this[0][t]:this.each((function(n){n[t]=e}));for(var n in t)this.prop(n,t[n]);return this},removeAttr:function(t){return this.each((function(e){e.removeAttribute?e.removeAttribute(t):delete e[t]}))},removeClass:function(t){if(!arguments.length)return this.attr("class","");var e=A(t);return e?this.each((function(t){b(e,(function(e){S(t,e)}))})):this},removeProp:function(t){return this.each((function(e){delete e[t]}))},toggleClass:function(t,e){if(void 0!==e)return this[e?"addClass":"removeClass"](t);var n=A(t);return n?this.each((function(t){var e=" "+t.className+" ";b(n,(function(n){O(t,n)?S(t,n):D(t,n,e)}))})):this}}),w.extend({add:function(t,e){return x(y.merge(this,y(t,e)))},each:function(t){return b(this,t),this},eq:function(t){return y(this.get(t))},filter:function(t){if(!t)return this;var e=l(t)?t:L(t);return y(r.call(this,(function(n){return e(n,t)})))},first:function(){return this.eq(0)},get:function(t){return void 0===t?o.call(this):t<0?this[t+this.length]:this[t]},index:function(t){var e=t?y(t)[0]:this[0],n=t?this:y(e).parent().children();return o.call(n).indexOf(e)},last:function(){return this.eq(-1)}});var I,$,F,P,R=(F=/(?:^\w|[A-Z]|\b\w)/g,P=/[\s-_]+/g,function(t){return t.replace(F,(function(t,e){return t[0===e?"toLowerCase":"toUpperCase"]()})).replace(P,"")}),q=(I={},$=document.createElement("div").style,function(t){if(t=R(t),I[t])return I[t];var e=t.charAt(0).toUpperCase()+t.slice(1);return b((t+" "+["webkit","moz","ms","o"].join(e+" ")+e).split(" "),(function(e){if(e in $)return I[e]=t=I[t]=e,!1})),I[t]});function W(t,e){return parseInt(n.getComputedStyle(t[0],null)[e],10)||0}function N(t,e,n){var i=k(t,"_cashEvents")||M(t,"_cashEvents",{});i[e]=i[e]||[],i[e].push(n),t.addEventListener(e,n)}function H(t,e,n){var i,o=k(t,"_cashEvents"),r=o&&o[e];r&&(n?(t.removeEventListener(e,n),(i=r.indexOf(n))>=0&&r.splice(i,1)):(b(r,(function(n){t.removeEventListener(e,n)})),r=[]))}function z(t,e){return"&"+encodeURIComponent(t)+"="+encodeURIComponent(e).replace(/%20/g,"+")}function j(t){var e=[];return b(t.options,(function(t){t.selected&&e.push(t.value)})),e.length?e:null}function X(t){var e=t.selectedIndex;return e>=0?t.options[e].value:null}function Y(t){var e=t.type;if(!e)return null;switch(e.toLowerCase()){case"select-one":return X(t);case"select-multiple":return j(t);case"radio":case"checkbox":return t.checked?t.value:null;default:return t.value?t.value:null}}function Q(t,e,n){if(n){var i=t.childNodes[0];t.insertBefore(e,i)}else t.appendChild(e)}function G(t,e,n){var i=h(e);i||!e.length?b(t,i?function(t){return t.insertAdjacentHTML(n?"afterbegin":"beforeend",e)}:function(t,i){return Q(t,0===i?e:e.cloneNode(!0),n)}):b(e,(function(e){return G(t,e,n)}))}y.prefixedProp=q,y.camelCase=R,w.extend({css:function(t,e){if(h(t))return t=q(t),arguments.length>1?this.each((function(n){return n.style[t]=e})):n.getComputedStyle(this[0])[t];for(var i in t)this.css(i,t[i]);return this}}),b(["Width","Height"],(function(t){var e=t.toLowerCase();w[e]=function(){return this[0].getBoundingClientRect()[e]},w["inner"+t]=function(){return this[0]["client"+t]},w["outer"+t]=function(e){return this[0]["offset"+t]+(e?W(this,"margin"+("Width"===t?"Left":"Top"))+W(this,"margin"+("Width"===t?"Right":"Bottom")):0)}})),w.extend({off:function(t,e){return this.each((function(n){return H(n,t,e)}))},on:function(t,e,n,i){var o;if(!h(t)){for(var r in t)this.on(r,e,t[r]);return this}return l(e)&&(n=e,e=null),"ready"===t?(g(n),this):(e&&(o=n,n=function(t){for(var n=t.target;!_(n,e);){if(n===this||null===n)return!1;n=n.parentNode}n&&o.call(n,t)}),this.each((function(e){var o=n;i&&(o=function(){n.apply(this,arguments),H(e,t,o)}),N(e,t,o)})))},one:function(t,e,n){return this.on(t,e,n,!0)},ready:g,trigger:function(t,e){if(document.createEvent){let n=document.createEvent("HTMLEvents");return n.initEvent(t,!0,!1),n=this.extend(n,e),this.each((function(t){return t.dispatchEvent(n)}))}}}),w.extend({serialize:function(){var t="";return b(this[0].elements||this,(function(e){if(!e.disabled&&"FIELDSET"!==e.tagName){var n=e.name;switch(e.type.toLowerCase()){case"file":case"reset":case"submit":case"button":break;case"select-multiple":var i=Y(e);null!==i&&b(i,(function(e){t+=z(n,e)}));break;default:var o=Y(e);null!==o&&(t+=z(n,o))}}})),t.substr(1)},val:function(t){return void 0===t?Y(this[0]):this.each((function(e){return e.value=t}))}}),w.extend({after:function(t){return y(t).insertAfter(this),this},append:function(t){return G(this,t),this},appendTo:function(t){return G(y(t),this),this},before:function(t){return y(t).insertBefore(this),this},clone:function(){return y(this.map((function(t){return t.cloneNode(!0)})))},empty:function(){return this.html(""),this},html:function(t){if(void 0===t)return this[0].innerHTML;var e=t.nodeType?t[0].outerHTML:t;return this.each((function(t){return t.innerHTML=e}))},insertAfter:function(t){var e=this;return y(t).each((function(t,n){var i=t.parentNode,o=t.nextSibling;e.each((function(t){i.insertBefore(0===n?t:t.cloneNode(!0),o)}))})),this},insertBefore:function(t){var e=this;return y(t).each((function(t,n){var i=t.parentNode;e.each((function(e){i.insertBefore(0===n?e:e.cloneNode(!0),t)}))})),this},prepend:function(t){return G(this,t,!0),this},prependTo:function(t){return G(y(t),this,!0),this},remove:function(){return this.each((function(t){if(t.parentNode)return t.parentNode.removeChild(t)}))},text:function(t){return void 0===t?this[0].textContent:this.each((function(e){return e.textContent=t}))}});var U=e.documentElement;return w.extend({position:function(){var t=this[0];return{left:t.offsetLeft,top:t.offsetTop}},offset:function(){var t=this[0].getBoundingClientRect();return{top:t.top+n.pageYOffset-U.clientTop,left:t.left+n.pageXOffset-U.clientLeft}},offsetParent:function(){return y(this[0].offsetParent)}}),w.extend({children:function(t){var e=[];return this.each((function(t){s.apply(e,t.children)})),e=x(e),t?e.filter((function(e){return _(e,t)})):e},closest:function(t){return!t||this.length<1?y():this.is(t)?this.filter(t):this.parent().closest(t)},is:function(t){if(!t)return!1;var e=!1,n=L(t);return this.each((function(i){return!(e=n(i,t))})),e},find:function(t){if(!t||t.nodeType)return y(t&&this.has(t).length?t:null);var e=[];return this.each((function(n){s.apply(e,m(t,n))})),x(e)},has:function(t){var e=h(t)?function(e){return 0!==m(t,e).length}:function(e){return e.contains(t)};return this.filter(e)},next:function(){return y(this[0].nextElementSibling)},not:function(t){if(!t)return this;var e=L(t);return this.filter((function(n){return!e(n,t)}))},parent:function(){var t=[];return this.each((function(e){e&&e.parentNode&&t.push(e.parentNode)})),x(t)},parents:function(t){var n,i=[];return this.each((function(o){for(n=o;n&&n.parentNode&&n!==e.body.parentNode;)n=n.parentNode,(!t||t&&_(n,t))&&i.push(n)})),x(i)},prev:function(){return y(this[0].previousElementSibling)},siblings:function(t){var e=this.parent().children(t),n=this[0];return e.filter((function(t){return t!==n}))}}),y}()},906:(t,e,n)=>{var i=n(24);!function(t,e){"use strict";let n={alignment:"left",autoFocus:!0,constrainWidth:!0,container:null,coverTrigger:!0,closeOnClick:!0,hover:!1,inDuration:150,outDuration:250,onOpenStart:null,onOpenEnd:null,onCloseStart:null,onCloseEnd:null,onItemClick:null};class o extends i{constructor(e,n){super(o,e,n),this.el.M_Dropdown=this,o._dropdowns.push(this),this.id=M.getIdFromTrigger(e),this.dropdownEl=document.getElementById(this.id),this.$dropdownEl=t(this.dropdownEl),this.options=t.extend({},o.defaults,n),this.isOpen=!1,this.isScrollable=!1,this.isTouchMoving=!1,this.focusedIndex=-1,this.filterQuery=[],this.options.container?t(this.options.container).append(this.dropdownEl):this.$el.after(this.dropdownEl),this._makeDropdownFocusable(),this._resetFilterQueryBound=this._resetFilterQuery.bind(this),this._handleDocumentClickBound=this._handleDocumentClick.bind(this),this._handleDocumentTouchmoveBound=this._handleDocumentTouchmove.bind(this),this._handleDropdownClickBound=this._handleDropdownClick.bind(this),this._handleDropdownKeydownBound=this._handleDropdownKeydown.bind(this),this._handleTriggerKeydownBound=this._handleTriggerKeydown.bind(this),this._setupEventHandlers()}static get defaults(){return n}static init(t,e){return super.init(this,t,e)}static getInstance(t){return(t.jquery?t[0]:t).M_Dropdown}destroy(){this._resetDropdownStyles(),this._removeEventHandlers(),o._dropdowns.splice(o._dropdowns.indexOf(this),1),this.el.M_Dropdown=void 0}_setupEventHandlers(){this.el.addEventListener("keydown",this._handleTriggerKeydownBound),this.dropdownEl.addEventListener("click",this._handleDropdownClickBound),this.options.hover?(this._handleMouseEnterBound=this._handleMouseEnter.bind(this),this.el.addEventListener("mouseenter",this._handleMouseEnterBound),this._handleMouseLeaveBound=this._handleMouseLeave.bind(this),this.el.addEventListener("mouseleave",this._handleMouseLeaveBound),this.dropdownEl.addEventListener("mouseleave",this._handleMouseLeaveBound)):(this._handleClickBound=this._handleClick.bind(this),this.el.addEventListener("click",this._handleClickBound))}_removeEventHandlers(){this.el.removeEventListener("keydown",this._handleTriggerKeydownBound),this.dropdownEl.removeEventListener("click",this._handleDropdownClickBound),this.options.hover?(this.el.removeEventListener("mouseenter",this._handleMouseEnterBound),this.el.removeEventListener("mouseleave",this._handleMouseLeaveBound),this.dropdownEl.removeEventListener("mouseleave",this._handleMouseLeaveBound)):this.el.removeEventListener("click",this._handleClickBound)}_setupTemporaryEventHandlers(){document.body.addEventListener("click",this._handleDocumentClickBound,!0),document.body.addEventListener("touchend",this._handleDocumentClickBound),document.body.addEventListener("touchmove",this._handleDocumentTouchmoveBound),this.dropdownEl.addEventListener("keydown",this._handleDropdownKeydownBound)}_removeTemporaryEventHandlers(){document.body.removeEventListener("click",this._handleDocumentClickBound,!0),document.body.removeEventListener("touchend",this._handleDocumentClickBound),document.body.removeEventListener("touchmove",this._handleDocumentTouchmoveBound),this.dropdownEl.removeEventListener("keydown",this._handleDropdownKeydownBound)}_handleClick(t){t.preventDefault(),this.open()}_handleMouseEnter(){this.open()}_handleMouseLeave(e){let n=e.toElement||e.relatedTarget,i=!!t(n).closest(".dropdown-content").length,o=!1,r=t(n).closest(".dropdown-trigger");r.length&&r[0].M_Dropdown&&r[0].M_Dropdown.isOpen&&(o=!0),o||i||this.close()}_handleDocumentClick(e){let n=t(e.target);this.options.closeOnClick&&n.closest(".dropdown-content").length&&!this.isTouchMoving?setTimeout((()=>{this.close()}),0):!n.closest(".dropdown-trigger").length&&n.closest(".dropdown-content").length||setTimeout((()=>{this.close()}),0),this.isTouchMoving=!1}_handleTriggerKeydown(t){t.which!==M.keys.ARROW_DOWN&&t.which!==M.keys.ENTER||this.isOpen||(t.preventDefault(),this.open())}_handleDocumentTouchmove(e){t(e.target).closest(".dropdown-content").length&&(this.isTouchMoving=!0)}_handleDropdownClick(e){if("function"==typeof this.options.onItemClick){let n=t(e.target).closest("li")[0];this.options.onItemClick.call(this,n)}}_handleDropdownKeydown(e){if(e.which===M.keys.TAB)e.preventDefault(),this.close();else if(e.which!==M.keys.ARROW_DOWN&&e.which!==M.keys.ARROW_UP||!this.isOpen)if(e.which===M.keys.ENTER&&this.isOpen){let e=this.dropdownEl.children[this.focusedIndex],n=t(e).find("a, button").first();n.length?n[0].click():e&&e.click()}else e.which===M.keys.ESC&&this.isOpen&&(e.preventDefault(),this.close());else{e.preventDefault();let t=e.which===M.keys.ARROW_DOWN?1:-1,n=this.focusedIndex,i=!1;do{if(n+=t,this.dropdownEl.children[n]&&-1!==this.dropdownEl.children[n].tabIndex){i=!0;break}}while(n<this.dropdownEl.children.length&&n>=0);i&&(this.focusedIndex=n,this._focusFocusedItem())}let n=String.fromCharCode(e.which).toLowerCase();if(n&&-1===[9,13,27,38,40].indexOf(e.which)){this.filterQuery.push(n);let e=this.filterQuery.join(""),i=t(this.dropdownEl).find("li").filter((n=>0===t(n).text().toLowerCase().indexOf(e)))[0];i&&(this.focusedIndex=t(i).index(),this._focusFocusedItem())}this.filterTimeout=setTimeout(this._resetFilterQueryBound,1e3)}_resetFilterQuery(){this.filterQuery=[]}_resetDropdownStyles(){this.$dropdownEl.css({display:"",width:"",height:"",left:"",top:"","transform-origin":"",transform:"",opacity:""})}_makeDropdownFocusable(){this.dropdownEl.tabIndex=0,t(this.dropdownEl).children().each((function(t){t.getAttribute("tabindex")||t.setAttribute("tabindex",0)}))}_focusFocusedItem(){this.focusedIndex>=0&&this.focusedIndex<this.dropdownEl.children.length&&this.options.autoFocus&&this.dropdownEl.children[this.focusedIndex].focus()}_getDropdownPosition(){this.el.offsetParent.getBoundingClientRect();let t=this.el.getBoundingClientRect(),e=this.dropdownEl.getBoundingClientRect(),n=e.height,i=e.width,o=t.left-e.left,r=t.top-e.top,s={left:o,top:r,height:n,width:i},a=this.dropdownEl.offsetParent?this.dropdownEl.offsetParent:this.dropdownEl.parentNode,l=M.checkPossibleAlignments(this.el,a,s,this.options.coverTrigger?0:t.height),h="top",u=this.options.alignment;if(r+=this.options.coverTrigger?0:t.height,this.isScrollable=!1,l.top||(l.bottom?h="bottom":(this.isScrollable=!0,l.spaceOnTop>l.spaceOnBottom?(h="bottom",n+=l.spaceOnTop,r-=l.spaceOnTop):n+=l.spaceOnBottom)),!l[u]){let t="left"===u?"right":"left";l[t]?u=t:l.spaceOnLeft>l.spaceOnRight?(u="right",i+=l.spaceOnLeft,o-=l.spaceOnLeft):(u="left",i+=l.spaceOnRight)}return"bottom"===h&&(r=r-e.height+(this.options.coverTrigger?t.height:0)),"right"===u&&(o=o-e.width+t.width),{x:o,y:r,verticalAlignment:h,horizontalAlignment:u,height:n,width:i}}_animateIn(){e.remove(this.dropdownEl),e({targets:this.dropdownEl,opacity:{value:[0,1],easing:"easeOutQuad"},scaleX:[.3,1],scaleY:[.3,1],duration:this.options.inDuration,easing:"easeOutQuint",complete:t=>{this.options.autoFocus&&this.dropdownEl.focus(),"function"==typeof this.options.onOpenEnd&&this.options.onOpenEnd.call(this,this.el)}})}_animateOut(){e.remove(this.dropdownEl),e({targets:this.dropdownEl,opacity:{value:0,easing:"easeOutQuint"},scaleX:.3,scaleY:.3,duration:this.options.outDuration,easing:"easeOutQuint",complete:t=>{this._resetDropdownStyles(),"function"==typeof this.options.onCloseEnd&&this.options.onCloseEnd.call(this,this.el)}})}_placeDropdown(){let t=this.options.constrainWidth?this.el.getBoundingClientRect().width:this.dropdownEl.getBoundingClientRect().width;this.dropdownEl.style.width=t+"px";let e=this._getDropdownPosition();this.dropdownEl.style.left=e.x+"px",this.dropdownEl.style.top=e.y+"px",this.dropdownEl.style.height=e.height+"px",this.dropdownEl.style.width=e.width+"px",this.dropdownEl.style.transformOrigin=`${"left"===e.horizontalAlignment?"0":"100%"} ${"top"===e.verticalAlignment?"0":"100%"}`}open(){this.isOpen||(this.isOpen=!0,"function"==typeof this.options.onOpenStart&&this.options.onOpenStart.call(this,this.el),this._resetDropdownStyles(),this.dropdownEl.style.display="block",this._placeDropdown(),this._animateIn(),this._setupTemporaryEventHandlers())}close(){this.isOpen&&(this.isOpen=!1,this.focusedIndex=-1,"function"==typeof this.options.onCloseStart&&this.options.onCloseStart.call(this,this.el),this._animateOut(),this._removeTemporaryEventHandlers(),this.options.autoFocus&&this.el.focus())}recalculateDimensions(){this.isOpen&&(this.$dropdownEl.css({width:"",height:"",left:"",top:"","transform-origin":""}),this._placeDropdown())}}o._dropdowns=[],M.Dropdown=o,M.jQueryLoaded&&M.initializeJqueryWrapper(o,"dropdown","M_Dropdown")}(cash,M.anime)},462:()=>{!function(t){M.updateTextFields=function(){t("input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], input[type=date], input[type=time], textarea").each((function(e,n){let i=t(this);e.value.length>0||t(e).is(":focus")||e.autofocus||null!==i.attr("placeholder")?i.siblings("label").addClass("active"):e.validity?i.siblings("label").toggleClass("active",!0===e.validity.badInput):i.siblings("label").removeClass("active")}))},M.validate_field=function(t){let e=null!==t.attr("data-length"),n=parseInt(t.attr("data-length")),i=t[0].value.length;0!==i||!1!==t[0].validity.badInput||t.is(":required")?t.hasClass("validate")&&(t.is(":valid")&&e&&i<=n||t.is(":valid")&&!e?(t.removeClass("invalid"),t.addClass("valid")):(t.removeClass("valid"),t.addClass("invalid"))):t.hasClass("validate")&&(t.removeClass("valid"),t.removeClass("invalid"))},M.textareaAutoResize=function(e){if(e instanceof Element&&(e=t(e)),!e.length)return void console.error("No textarea element found");let n=t(".hiddendiv").first();n.length||(n=t('<div class="hiddendiv common"></div>'),t("body").append(n));let i=e.css("font-family"),o=e.css("font-size"),r=e.css("line-height"),s=e.css("padding-top"),a=e.css("padding-right"),l=e.css("padding-bottom"),h=e.css("padding-left");o&&n.css("font-size",o),i&&n.css("font-family",i),r&&n.css("line-height",r),s&&n.css("padding-top",s),a&&n.css("padding-right",a),l&&n.css("padding-bottom",l),h&&n.css("padding-left",h),e.data("original-height")||e.data("original-height",e.height()),"off"===e.attr("wrap")&&n.css("overflow-wrap","normal").css("white-space","pre"),n.text(e[0].value+"\n");let u=n.html().replace(/\n/g,"<br>");n.html(u),e[0].offsetWidth>0&&e[0].offsetHeight>0?n.css("width",e.width()+"px"):n.css("width",window.innerWidth/2+"px"),e.data("original-height")<=n.innerHeight()?e.css("height",n.innerHeight()+"px"):e[0].value.length<e.data("previous-length")&&e.css("height",e.data("original-height")+"px"),e.data("previous-length",e[0].value.length)},t(document).ready((function(){let e="input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], input[type=date], input[type=time], textarea";t(document).on("change",e,(function(){0===this.value.length&&null===t(this).attr("placeholder")||t(this).siblings("label").addClass("active"),M.validate_field(t(this))})),t(document).ready((function(){M.updateTextFields()})),t(document).on("reset",(function(n){let i=t(n.target);i.is("form")&&(i.find(e).removeClass("valid").removeClass("invalid"),i.find(e).each((function(e){this.value.length&&t(this).siblings("label").removeClass("active")})),setTimeout((function(){i.find("select").each((function(){this.M_FormSelect&&t(this).trigger("change")}))}),0))})),document.addEventListener("focus",(function(n){t(n.target).is(e)&&t(n.target).siblings("label, .prefix").addClass("active")}),!0),document.addEventListener("blur",(function(n){let i=t(n.target);if(i.is(e)){let t=".prefix";0===i[0].value.length&&!0!==i[0].validity.badInput&&null===i.attr("placeholder")&&(t+=", label"),i.siblings(t).removeClass("active"),M.validate_field(i)}}),!0);t(document).on("keyup","input[type=radio], input[type=checkbox]",(function(e){if(e.which===M.keys.TAB){return t(this).addClass("tabbed"),void t(this).one("blur",(function(e){t(this).removeClass("tabbed")}))}}));let n=".materialize-textarea";t(n).each((function(){let e=t(this);e.data("original-height",e.height()),e.data("previous-length",this.value.length),M.textareaAutoResize(e)})),t(document).on("keyup",n,(function(){M.textareaAutoResize(t(this))})),t(document).on("keydown",n,(function(){M.textareaAutoResize(t(this))})),t(document).on("change",'.file-field input[type="file"]',(function(){let e=t(this).closest(".file-field").find("input.file-path"),n=t(this)[0].files,i=[];for(let t=0;t<n.length;t++)i.push(n[t].name);e[0].value=i.join(", "),e.trigger("change")}))}))}(cash)},395:(t,e)=>{var n;!function(t){t.Package?M={}:t.M={},M.jQueryLoaded=!!t.jQuery}(window),void 0===(n=function(){return M}.apply(e,[]))||(t.exports=n),M.version="1.0.0",M.keys={TAB:9,ENTER:13,ESC:27,ARROW_UP:38,ARROW_DOWN:40},M.tabPressed=!1,M.keyDown=!1;document.addEventListener("keydown",(function(t){M.keyDown=!0,t.which!==M.keys.TAB&&t.which!==M.keys.ARROW_DOWN&&t.which!==M.keys.ARROW_UP||(M.tabPressed=!0)}),!0),document.addEventListener("keyup",(function(t){M.keyDown=!1,t.which!==M.keys.TAB&&t.which!==M.keys.ARROW_DOWN&&t.which!==M.keys.ARROW_UP||(M.tabPressed=!1)}),!0),document.addEventListener("focus",(function(t){M.keyDown&&document.body.classList.add("keyboard-focused")}),!0),document.addEventListener("blur",(function(t){document.body.classList.remove("keyboard-focused")}),!0),M.initializeJqueryWrapper=function(t,e,n){jQuery.fn[e]=function(i){if(t.prototype[i]){let t=Array.prototype.slice.call(arguments,1);if("get"===i.slice(0,3)){let e=this.first()[0][n];return e[i].apply(e,t)}return this.each((function(){let e=this[n];e[i].apply(e,t)}))}if("object"==typeof i||!i)return t.init(this,arguments[0]),this;jQuery.error(`Method ${i} does not exist on jQuery.${e}`)}},M.AutoInit=function(t){let e=t||document.body,n={Autocomplete:e.querySelectorAll(".autocomplete:not(.no-autoinit)"),Carousel:e.querySelectorAll(".carousel:not(.no-autoinit)"),Chips:e.querySelectorAll(".chips:not(.no-autoinit)"),Collapsible:e.querySelectorAll(".collapsible:not(.no-autoinit)"),Datepicker:e.querySelectorAll(".datepicker:not(.no-autoinit)"),Dropdown:e.querySelectorAll(".dropdown-trigger:not(.no-autoinit)"),Materialbox:e.querySelectorAll(".materialboxed:not(.no-autoinit)"),Modal:e.querySelectorAll(".modal:not(.no-autoinit)"),Parallax:e.querySelectorAll(".parallax:not(.no-autoinit)"),Pushpin:e.querySelectorAll(".pushpin:not(.no-autoinit)"),ScrollSpy:e.querySelectorAll(".scrollspy:not(.no-autoinit)"),FormSelect:e.querySelectorAll("select:not(.no-autoinit)"),Sidenav:e.querySelectorAll(".sidenav:not(.no-autoinit)"),Tabs:e.querySelectorAll(".tabs:not(.no-autoinit)"),TapTarget:e.querySelectorAll(".tap-target:not(.no-autoinit)"),Timepicker:e.querySelectorAll(".timepicker:not(.no-autoinit)"),Tooltip:e.querySelectorAll(".tooltipped:not(.no-autoinit)"),FloatingActionButton:e.querySelectorAll(".fixed-action-btn:not(.no-autoinit)")};for(let t in n){M[t].init(n[t])}},M.objectSelectorString=function(t){return((t.prop("tagName")||"")+(t.attr("id")||"")+(t.attr("class")||"")).replace(/\s/g,"")},M.guid=function(){function t(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return function(){return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()}}(),M.escapeHash=function(t){return t.replace(/(:|\.|\[|\]|,|=|\/)/g,"\\$1")},M.elementOrParentIsFixed=function(t){let e=$(t),n=e.add(e.parents()),i=!1;return n.each((function(){if("fixed"===$(this).css("position"))return i=!0,!1})),i},M.checkWithinContainer=function(t,e,n){let i={top:!1,right:!1,bottom:!1,left:!1},o=t.getBoundingClientRect(),r=t===document.body?Math.max(o.bottom,window.innerHeight):o.bottom,s=t.scrollLeft,a=t.scrollTop,l=e.left-s,h=e.top-a;return(l<o.left+n||l<n)&&(i.left=!0),(l+e.width>o.right-n||l+e.width>window.innerWidth-n)&&(i.right=!0),(h<o.top+n||h<n)&&(i.top=!0),(h+e.height>r-n||h+e.height>window.innerHeight-n)&&(i.bottom=!0),i},M.checkPossibleAlignments=function(t,e,n,i){let o={top:!0,right:!0,bottom:!0,left:!0,spaceOnTop:null,spaceOnRight:null,spaceOnBottom:null,spaceOnLeft:null},r="visible"===getComputedStyle(e).overflow,s=e.getBoundingClientRect(),a=Math.min(s.height,window.innerHeight),l=Math.min(s.width,window.innerWidth),h=t.getBoundingClientRect(),u=e.scrollLeft,c=e.scrollTop,d=n.left-u,p=n.top-c,m=n.top+h.height-c;return o.spaceOnRight=r?window.innerWidth-(h.left+n.width):l-(d+n.width),o.spaceOnRight<0&&(o.left=!1),o.spaceOnLeft=r?h.right-n.width:d-n.width+h.width,o.spaceOnLeft<0&&(o.right=!1),o.spaceOnBottom=r?window.innerHeight-(h.top+n.height+i):a-(p+n.height+i),o.spaceOnBottom<0&&(o.top=!1),o.spaceOnTop=r?h.bottom-(n.height+i):m-(n.height-i),o.spaceOnTop<0&&(o.bottom=!1),o},M.getOverflowParent=function(t){return null==t?null:t===document.body||"visible"!==getComputedStyle(t).overflow?t:M.getOverflowParent(t.parentElement)},M.getIdFromTrigger=function(t){let e=t.getAttribute("data-target");return e||(e=t.getAttribute("href"),e=e?e.slice(1):""),e},M.getDocumentScrollTop=function(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0},M.getDocumentScrollLeft=function(){return window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0};let i=Date.now||function(){return(new Date).getTime()};M.throttle=function(t,e,n){let o,r,s,a=null,l=0;n||(n={});let h=function(){l=!1===n.leading?0:i(),a=null,s=t.apply(o,r),o=r=null};return function(){let u=i();l||!1!==n.leading||(l=u);let c=e-(u-l);return o=this,r=arguments,c<=0?(clearTimeout(a),a=null,l=u,s=t.apply(o,r),o=r=null):a||!1===n.trailing||(a=setTimeout(h,c)),s}}},874:(t,e,n)=>{var i=n(24);!function(t,e){"use strict";let n={edge:"left",draggable:!0,inDuration:250,outDuration:200,onOpenStart:null,onOpenEnd:null,onCloseStart:null,onCloseEnd:null,preventScrolling:!0};class o extends i{constructor(e,n){super(o,e,n),this.el.M_Sidenav=this,this.id=this.$el.attr("id"),this.options=t.extend({},o.defaults,n),this.isOpen=!1,this.isFixed=this.el.classList.contains("sidenav-fixed"),this.isDragged=!1,this.lastWindowWidth=window.innerWidth,this.lastWindowHeight=window.innerHeight,this._createOverlay(),this._createDragTarget(),this._setupEventHandlers(),this._setupClasses(),this._setupFixed(),o._sidenavs.push(this)}static get defaults(){return n}static init(t,e){return super.init(this,t,e)}static getInstance(t){return(t.jquery?t[0]:t).M_Sidenav}destroy(){this._removeEventHandlers(),this._enableBodyScrolling(),this._overlay.parentNode.removeChild(this._overlay),this.dragTarget.parentNode.removeChild(this.dragTarget),this.el.M_Sidenav=void 0,this.el.style.transform="";let t=o._sidenavs.indexOf(this);t>=0&&o._sidenavs.splice(t,1)}_createOverlay(){let t=document.createElement("div");this._closeBound=this.close.bind(this),t.classList.add("sidenav-overlay"),t.addEventListener("click",this._closeBound),document.body.appendChild(t),this._overlay=t}_setupEventHandlers(){0===o._sidenavs.length&&document.body.addEventListener("click",this._handleTriggerClick),this._handleDragTargetDragBound=this._handleDragTargetDrag.bind(this),this._handleDragTargetReleaseBound=this._handleDragTargetRelease.bind(this),this._handleCloseDragBound=this._handleCloseDrag.bind(this),this._handleCloseReleaseBound=this._handleCloseRelease.bind(this),this._handleCloseTriggerClickBound=this._handleCloseTriggerClick.bind(this),this.dragTarget.addEventListener("touchmove",this._handleDragTargetDragBound),this.dragTarget.addEventListener("touchend",this._handleDragTargetReleaseBound),this._overlay.addEventListener("touchmove",this._handleCloseDragBound),this._overlay.addEventListener("touchend",this._handleCloseReleaseBound),this.el.addEventListener("touchmove",this._handleCloseDragBound),this.el.addEventListener("touchend",this._handleCloseReleaseBound),this.el.addEventListener("click",this._handleCloseTriggerClickBound),this.isFixed&&(this._handleWindowResizeBound=this._handleWindowResize.bind(this),window.addEventListener("resize",this._handleWindowResizeBound))}_removeEventHandlers(){1===o._sidenavs.length&&document.body.removeEventListener("click",this._handleTriggerClick),this.dragTarget.removeEventListener("touchmove",this._handleDragTargetDragBound),this.dragTarget.removeEventListener("touchend",this._handleDragTargetReleaseBound),this._overlay.removeEventListener("touchmove",this._handleCloseDragBound),this._overlay.removeEventListener("touchend",this._handleCloseReleaseBound),this.el.removeEventListener("touchmove",this._handleCloseDragBound),this.el.removeEventListener("touchend",this._handleCloseReleaseBound),this.el.removeEventListener("click",this._handleCloseTriggerClickBound),this.isFixed&&window.removeEventListener("resize",this._handleWindowResizeBound)}_handleTriggerClick(e){let n=t(e.target).closest(".sidenav-trigger");if(e.target&&n.length){let t=M.getIdFromTrigger(n[0]),i=document.getElementById(t).M_Sidenav;i&&i.open(n),e.preventDefault()}}_startDrag(t){let n=t.targetTouches[0].clientX;this.isDragged=!0,this._startingXpos=n,this._xPos=this._startingXpos,this._time=Date.now(),this._width=this.el.getBoundingClientRect().width,this._overlay.style.display="block",this._initialScrollTop=this.isOpen?this.el.scrollTop:M.getDocumentScrollTop(),this._verticallyScrolling=!1,e.remove(this.el),e.remove(this._overlay)}_dragMoveUpdate(t){let e=t.targetTouches[0].clientX,n=this.isOpen?this.el.scrollTop:M.getDocumentScrollTop();this.deltaX=Math.abs(this._xPos-e),this._xPos=e,this.velocityX=this.deltaX/(Date.now()-this._time),this._time=Date.now(),this._initialScrollTop!==n&&(this._verticallyScrolling=!0)}_handleDragTargetDrag(t){if(!this.options.draggable||this._isCurrentlyFixed()||this._verticallyScrolling)return;this.isDragged||this._startDrag(t),this._dragMoveUpdate(t);let e=this._xPos-this._startingXpos,n=e>0?"right":"left";e=Math.min(this._width,Math.abs(e)),this.options.edge===n&&(e=0);let i=e,o="translateX(-100%)";"right"===this.options.edge&&(o="translateX(100%)",i=-i),this.percentOpen=Math.min(1,e/this._width),this.el.style.transform=`${o} translateX(${i}px)`,this._overlay.style.opacity=this.percentOpen}_handleDragTargetRelease(){this.isDragged&&(this.percentOpen>.2?this.open():this._animateOut(),this.isDragged=!1,this._verticallyScrolling=!1)}_handleCloseDrag(t){if(this.isOpen){if(!this.options.draggable||this._isCurrentlyFixed()||this._verticallyScrolling)return;this.isDragged||this._startDrag(t),this._dragMoveUpdate(t);let e=this._xPos-this._startingXpos,n=e>0?"right":"left";e=Math.min(this._width,Math.abs(e)),this.options.edge!==n&&(e=0);let i=-e;"right"===this.options.edge&&(i=-i),this.percentOpen=Math.min(1,1-e/this._width),this.el.style.transform=`translateX(${i}px)`,this._overlay.style.opacity=this.percentOpen}}_handleCloseRelease(){this.isOpen&&this.isDragged&&(this.percentOpen>.8?this._animateIn():this.close(),this.isDragged=!1,this._verticallyScrolling=!1)}_handleCloseTriggerClick(e){t(e.target).closest(".sidenav-close").length&&!this._isCurrentlyFixed()&&this.close()}_handleWindowResize(){this.lastWindowWidth!==window.innerWidth&&(window.innerWidth>992?this.open():this.close()),this.lastWindowWidth=window.innerWidth,this.lastWindowHeight=window.innerHeight}_setupClasses(){"right"===this.options.edge&&(this.el.classList.add("right-aligned"),this.dragTarget.classList.add("right-aligned"))}_removeClasses(){this.el.classList.remove("right-aligned"),this.dragTarget.classList.remove("right-aligned")}_setupFixed(){this._isCurrentlyFixed()&&this.open()}_isCurrentlyFixed(){return this.isFixed&&window.innerWidth>992}_createDragTarget(){let t=document.createElement("div");t.classList.add("drag-target"),document.body.appendChild(t),this.dragTarget=t}_preventBodyScrolling(){document.body.style.overflow="hidden"}_enableBodyScrolling(){document.body.style.overflow=""}open(){!0!==this.isOpen&&(this.isOpen=!0,"function"==typeof this.options.onOpenStart&&this.options.onOpenStart.call(this,this.el),this._isCurrentlyFixed()?(e.remove(this.el),e({targets:this.el,translateX:0,duration:0,easing:"easeOutQuad"}),this._enableBodyScrolling(),this._overlay.style.display="none"):(this.options.preventScrolling&&this._preventBodyScrolling(),this.isDragged&&1==this.percentOpen||this._animateIn()))}close(){if(!1!==this.isOpen)if(this.isOpen=!1,"function"==typeof this.options.onCloseStart&&this.options.onCloseStart.call(this,this.el),this._isCurrentlyFixed()){let t="left"===this.options.edge?"-105%":"105%";this.el.style.transform=`translateX(${t})`}else this._enableBodyScrolling(),this.isDragged&&0==this.percentOpen?this._overlay.style.display="none":this._animateOut()}_animateIn(){this._animateSidenavIn(),this._animateOverlayIn()}_animateSidenavIn(){let t="left"===this.options.edge?-1:1;this.isDragged&&(t="left"===this.options.edge?t+this.percentOpen:t-this.percentOpen),e.remove(this.el),e({targets:this.el,translateX:[100*t+"%",0],duration:this.options.inDuration,easing:"easeOutQuad",complete:()=>{"function"==typeof this.options.onOpenEnd&&this.options.onOpenEnd.call(this,this.el)}})}_animateOverlayIn(){let n=0;this.isDragged?n=this.percentOpen:t(this._overlay).css({display:"block"}),e.remove(this._overlay),e({targets:this._overlay,opacity:[n,1],duration:this.options.inDuration,easing:"easeOutQuad"})}_animateOut(){this._animateSidenavOut(),this._animateOverlayOut()}_animateSidenavOut(){let t="left"===this.options.edge?-1:1,n=0;this.isDragged&&(n="left"===this.options.edge?t+this.percentOpen:t-this.percentOpen),e.remove(this.el),e({targets:this.el,translateX:[100*n+"%",105*t+"%"],duration:this.options.outDuration,easing:"easeOutQuad",complete:()=>{"function"==typeof this.options.onCloseEnd&&this.options.onCloseEnd.call(this,this.el)}})}_animateOverlayOut(){e.remove(this._overlay),e({targets:this._overlay,opacity:0,duration:this.options.outDuration,easing:"easeOutQuad",complete:()=>{t(this._overlay).css("display","none")}})}}o._sidenavs=[],M.Sidenav=o,M.jQueryLoaded&&M.initializeJqueryWrapper(o,"sidenav","M_Sidenav")}(cash,M.anime)},550:(t,e,n)=>{var i=n(24);!function(t,e){"use strict";let n={duration:300,onShow:null,swipeable:!1,responsiveThreshold:1/0};class o extends i{constructor(e,n){super(o,e,n),this.el.M_Tabs=this,this.options=t.extend({},o.defaults,n),this.$tabLinks=this.$el.children("li.tab").children("a"),this.index=0,this._setupActiveTabLink(),this.options.swipeable?this._setupSwipeableTabs():this._setupNormalTabs(),this._setTabsAndTabWidth(),this._createIndicator(),this._setupEventHandlers()}static get defaults(){return n}static init(t,e){return super.init(this,t,e)}static getInstance(t){return(t.jquery?t[0]:t).M_Tabs}destroy(){this._removeEventHandlers(),this._indicator.parentNode.removeChild(this._indicator),this.options.swipeable?this._teardownSwipeableTabs():this._teardownNormalTabs(),this.$el[0].M_Tabs=void 0}_setupEventHandlers(){this._handleWindowResizeBound=this._handleWindowResize.bind(this),window.addEventListener("resize",this._handleWindowResizeBound),this._handleTabClickBound=this._handleTabClick.bind(this),this.el.addEventListener("click",this._handleTabClickBound)}_removeEventHandlers(){window.removeEventListener("resize",this._handleWindowResizeBound),this.el.removeEventListener("click",this._handleTabClickBound)}_handleWindowResize(){this._setTabsAndTabWidth(),0!==this.tabWidth&&0!==this.tabsWidth&&(this._indicator.style.left=this._calcLeftPos(this.$activeTabLink)+"px",this._indicator.style.right=this._calcRightPos(this.$activeTabLink)+"px")}_handleTabClick(e){let n=t(e.target).closest("li.tab"),i=t(e.target).closest("a");if(!i.length||!i.parent().hasClass("tab"))return;if(n.hasClass("disabled"))return void e.preventDefault();if(i.attr("target"))return;this.$activeTabLink.removeClass("active");let o=this.$content;this.$activeTabLink=i,this.$content=t(M.escapeHash(i[0].hash)),this.$tabLinks=this.$el.children("li.tab").children("a"),this.$activeTabLink.addClass("active");let r=this.index;this.index=Math.max(this.$tabLinks.index(i),0),this.options.swipeable?this._tabsCarousel&&this._tabsCarousel.set(this.index,(()=>{"function"==typeof this.options.onShow&&this.options.onShow.call(this,this.$content[0])})):this.$content.length&&(this.$content[0].style.display="block",this.$content.addClass("active"),"function"==typeof this.options.onShow&&this.options.onShow.call(this,this.$content[0]),o.length&&!o.is(this.$content)&&(o[0].style.display="none",o.removeClass("active"))),this._setTabsAndTabWidth(),this._animateIndicator(r),e.preventDefault()}_createIndicator(){let t=document.createElement("li");t.classList.add("indicator"),this.el.appendChild(t),this._indicator=t,setTimeout((()=>{this._indicator.style.left=this._calcLeftPos(this.$activeTabLink)+"px",this._indicator.style.right=this._calcRightPos(this.$activeTabLink)+"px"}),0)}_setupActiveTabLink(){this.$activeTabLink=t(this.$tabLinks.filter('[href="'+location.hash+'"]')),0===this.$activeTabLink.length&&(this.$activeTabLink=this.$el.children("li.tab").children("a.active").first()),0===this.$activeTabLink.length&&(this.$activeTabLink=this.$el.children("li.tab").children("a").first()),this.$tabLinks.removeClass("active"),this.$activeTabLink[0].classList.add("active"),this.index=Math.max(this.$tabLinks.index(this.$activeTabLink),0),this.$activeTabLink.length&&(this.$content=t(M.escapeHash(this.$activeTabLink[0].hash)),this.$content.addClass("active"))}_setupSwipeableTabs(){window.innerWidth>this.options.responsiveThreshold&&(this.options.swipeable=!1);let e=t();this.$tabLinks.each((n=>{let i=t(M.escapeHash(n.hash));i.addClass("carousel-item"),e=e.add(i)}));let n=t('<div class="tabs-content carousel carousel-slider"></div>');e.first().before(n),n.append(e),e[0].style.display="";let i=this.$activeTabLink.closest(".tab").index();this._tabsCarousel=M.Carousel.init(n[0],{fullWidth:!0,noWrap:!0,onCycleTo:e=>{let n=this.index;this.index=t(e).index(),this.$activeTabLink.removeClass("active"),this.$activeTabLink=this.$tabLinks.eq(this.index),this.$activeTabLink.addClass("active"),this._animateIndicator(n),"function"==typeof this.options.onShow&&this.options.onShow.call(this,this.$content[0])}}),this._tabsCarousel.set(i)}_teardownSwipeableTabs(){let t=this._tabsCarousel.$el;this._tabsCarousel.destroy(),t.after(t.children()),t.remove()}_setupNormalTabs(){this.$tabLinks.not(this.$activeTabLink).each((e=>{if(e.hash){let n=t(M.escapeHash(e.hash));n.length&&(n[0].style.display="none")}}))}_teardownNormalTabs(){this.$tabLinks.each((e=>{if(e.hash){let n=t(M.escapeHash(e.hash));n.length&&(n[0].style.display="")}}))}_setTabsAndTabWidth(){this.tabsWidth=this.$el.width(),this.tabWidth=Math.max(this.tabsWidth,this.el.scrollWidth)/this.$tabLinks.length}_calcRightPos(t){return Math.ceil(this.tabsWidth-t.position().left-t[0].getBoundingClientRect().width)}_calcLeftPos(t){return Math.floor(t.position().left)}updateTabIndicator(){this._setTabsAndTabWidth(),this._animateIndicator(this.index)}_animateIndicator(t){let n=0,i=0;this.index-t>=0?n=90:i=90;let o={targets:this._indicator,left:{value:this._calcLeftPos(this.$activeTabLink),delay:n},right:{value:this._calcRightPos(this.$activeTabLink),delay:i},duration:this.options.duration,easing:"easeOutQuad"};e.remove(this._indicator),e(o)}select(t){let e=this.$tabLinks.filter('[href="#'+t+'"]');e.length&&e.trigger("click")}}M.Tabs=o,M.jQueryLoaded&&M.initializeJqueryWrapper(o,"tabs","M_Tabs")}(cash,M.anime)},523:()=>{!function(t,e){"use strict";let n={html:"",displayLength:4e3,inDuration:300,outDuration:375,classes:"",completeCallback:null,activationPercent:.8};class i{constructor(e){this.options=t.extend({},i.defaults,e),this.message=this.options.html,this.panning=!1,this.timeRemaining=this.options.displayLength,0===i._toasts.length&&i._createContainer(),i._toasts.push(this);let n=this._createToast();n.M_Toast=this,this.el=n,this.$el=t(n),this._animateIn(),this._setTimer()}static get defaults(){return n}static getInstance(t){return(t.jquery?t[0]:t).M_Toast}static _createContainer(){let t=document.createElement("div");t.setAttribute("id","toast-container"),t.addEventListener("touchstart",i._onDragStart),t.addEventListener("touchmove",i._onDragMove),t.addEventListener("touchend",i._onDragEnd),t.addEventListener("mousedown",i._onDragStart),document.addEventListener("mousemove",i._onDragMove),document.addEventListener("mouseup",i._onDragEnd),document.body.appendChild(t),i._container=t}static _removeContainer(){document.removeEventListener("mousemove",i._onDragMove),document.removeEventListener("mouseup",i._onDragEnd),t(i._container).remove(),i._container=null}static _onDragStart(e){if(e.target&&t(e.target).closest(".toast").length){let n=t(e.target).closest(".toast")[0].M_Toast;n.panning=!0,i._draggedToast=n,n.el.classList.add("panning"),n.el.style.transition="",n.startingXPos=i._xPos(e),n.time=Date.now(),n.xPos=i._xPos(e)}}static _onDragMove(t){if(i._draggedToast){t.preventDefault();let e=i._draggedToast;e.deltaX=Math.abs(e.xPos-i._xPos(t)),e.xPos=i._xPos(t),e.velocityX=e.deltaX/(Date.now()-e.time),e.time=Date.now();let n=e.xPos-e.startingXPos,o=e.el.offsetWidth*e.options.activationPercent;e.el.style.transform=`translateX(${n}px)`,e.el.style.opacity=1-Math.abs(n/o)}}static _onDragEnd(){if(i._draggedToast){let t=i._draggedToast;t.panning=!1,t.el.classList.remove("panning");let e=t.xPos-t.startingXPos,n=t.el.offsetWidth*t.options.activationPercent;Math.abs(e)>n||t.velocityX>1?(t.wasSwiped=!0,t.dismiss()):(t.el.style.transition="transform .2s, opacity .2s",t.el.style.transform="",t.el.style.opacity=""),i._draggedToast=null}}static _xPos(t){return t.targetTouches&&t.targetTouches.length>=1?t.targetTouches[0].clientX:t.clientX}static dismissAll(){for(let t in i._toasts)i._toasts[t].dismiss()}_createToast(){let e=document.createElement("div");return e.classList.add("toast"),this.options.classes.length&&t(e).addClass(this.options.classes),("object"==typeof HTMLElement?this.message instanceof HTMLElement:this.message&&"object"==typeof this.message&&null!==this.message&&1===this.message.nodeType&&"string"==typeof this.message.nodeName)?e.appendChild(this.message):this.message.jquery?t(e).append(this.message[0]):e.innerHTML=this.message,i._container.appendChild(e),e}_animateIn(){e({targets:this.el,top:0,opacity:1,duration:this.options.inDuration,easing:"easeOutCubic"})}_setTimer(){this.timeRemaining!==1/0&&(this.counterInterval=setInterval((()=>{this.panning||(this.timeRemaining-=20),this.timeRemaining<=0&&this.dismiss()}),20))}dismiss(){window.clearInterval(this.counterInterval);let t=this.el.offsetWidth*this.options.activationPercent;this.wasSwiped&&(this.el.style.transition="transform .05s, opacity .05s",this.el.style.transform=`translateX(${t}px)`,this.el.style.opacity=0),e({targets:this.el,opacity:0,marginTop:-40,duration:this.options.outDuration,easing:"easeOutExpo",complete:()=>{"function"==typeof this.options.completeCallback&&this.options.completeCallback(),this.$el.remove(),i._toasts.splice(i._toasts.indexOf(this),1),0===i._toasts.length&&i._removeContainer()}})}}i._toasts=[],i._container=null,i._draggedToast=null,M.Toast=i,M.toast=function(t){return new i(t)}}(cash,M.anime)},675:(t,e,n)=>{var i=n(24);!function(t,e){"use strict";let n={exitDelay:200,enterDelay:0,html:null,margin:5,inDuration:250,outDuration:200,position:"bottom",transitionMovement:10};class o extends i{constructor(e,n){super(o,e,n),this.el.M_Tooltip=this,this.options=t.extend({},o.defaults,n),this.isOpen=!1,this.isHovered=!1,this.isFocused=!1,this._appendTooltipEl(),this._setupEventHandlers()}static get defaults(){return n}static init(t,e){return super.init(this,t,e)}static getInstance(t){return(t.jquery?t[0]:t).M_Tooltip}destroy(){t(this.tooltipEl).remove(),this._removeEventHandlers(),this.el.M_Tooltip=void 0}_appendTooltipEl(){let t=document.createElement("div");t.classList.add("material-tooltip"),this.tooltipEl=t;let e=document.createElement("div");e.classList.add("tooltip-content"),e.innerHTML=this.options.html,t.appendChild(e),document.body.appendChild(t)}_updateTooltipContent(){this.tooltipEl.querySelector(".tooltip-content").innerHTML=this.options.html}_setupEventHandlers(){this._handleMouseEnterBound=this._handleMouseEnter.bind(this),this._handleMouseLeaveBound=this._handleMouseLeave.bind(this),this._handleFocusBound=this._handleFocus.bind(this),this._handleBlurBound=this._handleBlur.bind(this),this.el.addEventListener("mouseenter",this._handleMouseEnterBound),this.el.addEventListener("mouseleave",this._handleMouseLeaveBound),this.el.addEventListener("focus",this._handleFocusBound,!0),this.el.addEventListener("blur",this._handleBlurBound,!0)}_removeEventHandlers(){this.el.removeEventListener("mouseenter",this._handleMouseEnterBound),this.el.removeEventListener("mouseleave",this._handleMouseLeaveBound),this.el.removeEventListener("focus",this._handleFocusBound,!0),this.el.removeEventListener("blur",this._handleBlurBound,!0)}open(e){this.isOpen||(e=void 0===e||void 0,this.isOpen=!0,this.options=t.extend({},this.options,this._getAttributeOptions()),this._updateTooltipContent(),this._setEnterDelayTimeout(e))}close(){this.isOpen&&(this.isHovered=!1,this.isFocused=!1,this.isOpen=!1,this._setExitDelayTimeout())}_setExitDelayTimeout(){clearTimeout(this._exitDelayTimeout),this._exitDelayTimeout=setTimeout((()=>{this.isHovered||this.isFocused||this._animateOut()}),this.options.exitDelay)}_setEnterDelayTimeout(t){clearTimeout(this._enterDelayTimeout),this._enterDelayTimeout=setTimeout((()=>{(this.isHovered||this.isFocused||t)&&this._animateIn()}),this.options.enterDelay)}_positionTooltip(){let e,n,i,o=this.el,r=this.tooltipEl,s=o.offsetHeight,a=o.offsetWidth,l=r.offsetHeight,h=r.offsetWidth,u=this.options.margin;this.xMovement=0,this.yMovement=0,n=o.getBoundingClientRect().top+M.getDocumentScrollTop(),i=o.getBoundingClientRect().left+M.getDocumentScrollLeft(),"top"===this.options.position?(n+=-l-u,i+=a/2-h/2,this.yMovement=-this.options.transitionMovement):"right"===this.options.position?(n+=s/2-l/2,i+=a+u,this.xMovement=this.options.transitionMovement):"left"===this.options.position?(n+=s/2-l/2,i+=-h-u,this.xMovement=-this.options.transitionMovement):(n+=s+u,i+=a/2-h/2,this.yMovement=this.options.transitionMovement),e=this._repositionWithinScreen(i,n,h,l),t(r).css({top:e.y+"px",left:e.x+"px"})}_repositionWithinScreen(t,e,n,i){let o=M.getDocumentScrollLeft(),r=M.getDocumentScrollTop(),s=t-o,a=e-r,l={left:s,top:a,width:n,height:i},h=this.options.margin+this.options.transitionMovement,u=M.checkWithinContainer(document.body,l,h);return u.left?s=h:u.right&&(s-=s+n-window.innerWidth),u.top?a=h:u.bottom&&(a-=a+i-window.innerHeight),{x:s+o,y:a+r}}_animateIn(){this._positionTooltip(),this.tooltipEl.style.visibility="visible",e.remove(this.tooltipEl),e({targets:this.tooltipEl,opacity:1,translateX:this.xMovement,translateY:this.yMovement,duration:this.options.inDuration,easing:"easeOutCubic"})}_animateOut(){e.remove(this.tooltipEl),e({targets:this.tooltipEl,opacity:0,translateX:0,translateY:0,duration:this.options.outDuration,easing:"easeOutCubic"})}_handleMouseEnter(){this.isHovered=!0,this.isFocused=!1,this.open(!1)}_handleMouseLeave(){this.isHovered=!1,this.isFocused=!1,this.close()}_handleFocus(){M.tabPressed&&(this.isFocused=!0,this.open(!1))}_handleBlur(){this.isFocused=!1,this.close()}_getAttributeOptions(){let t={},e=this.el.getAttribute("data-tooltip"),n=this.el.getAttribute("data-position");return e&&(t.html=e),n&&(t.position=n),t}}M.Tooltip=o,M.jQueryLoaded&&M.initializeJqueryWrapper(o,"tooltip","M_Tooltip")}(cash,M.anime)},940:()=>{!function(t){"use strict";var e=e||{},n=document.querySelectorAll.bind(document);function i(t){var e="";for(var n in t)t.hasOwnProperty(n)&&(e+=n+":"+t[n]+";");return e}var o={duration:750,show:function(t,e){if(2===t.button)return!1;var n=e||this,r=document.createElement("div");r.className="waves-ripple",n.appendChild(r);var s,a,l,h,u,c=(h={top:0,left:0},u=(s=n)&&s.ownerDocument,a=u.documentElement,void 0!==s.getBoundingClientRect&&(h=s.getBoundingClientRect()),l=function(t){return null!==(e=t)&&e===e.window?t:9===t.nodeType&&t.defaultView;var e}(u),{top:h.top+l.pageYOffset-a.clientTop,left:h.left+l.pageXOffset-a.clientLeft}),d=t.pageY-c.top,p=t.pageX-c.left,m="scale("+n.clientWidth/100*10+")";"touches"in t&&(d=t.touches[0].pageY-c.top,p=t.touches[0].pageX-c.left),r.setAttribute("data-hold",Date.now()),r.setAttribute("data-scale",m),r.setAttribute("data-x",p),r.setAttribute("data-y",d);var f={top:d+"px",left:p+"px"};r.className=r.className+" waves-notransition",r.setAttribute("style",i(f)),r.className=r.className.replace("waves-notransition",""),f["-webkit-transform"]=m,f["-moz-transform"]=m,f["-ms-transform"]=m,f["-o-transform"]=m,f.transform=m,f.opacity="1",f["-webkit-transition-duration"]=o.duration+"ms",f["-moz-transition-duration"]=o.duration+"ms",f["-o-transition-duration"]=o.duration+"ms",f["transition-duration"]=o.duration+"ms",f["-webkit-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",f["-moz-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",f["-o-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",f["transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",r.setAttribute("style",i(f))},hide:function(t){r.touchup(t);var e=this,n=(e.clientWidth,null),s=e.getElementsByClassName("waves-ripple");if(!(s.length>0))return!1;var a=(n=s[s.length-1]).getAttribute("data-x"),l=n.getAttribute("data-y"),h=n.getAttribute("data-scale"),u=350-(Date.now()-Number(n.getAttribute("data-hold")));u<0&&(u=0),setTimeout((function(){var t={top:l+"px",left:a+"px",opacity:"0","-webkit-transition-duration":o.duration+"ms","-moz-transition-duration":o.duration+"ms","-o-transition-duration":o.duration+"ms","transition-duration":o.duration+"ms","-webkit-transform":h,"-moz-transform":h,"-ms-transform":h,"-o-transform":h,transform:h};n.setAttribute("style",i(t)),setTimeout((function(){try{e.removeChild(n)}catch(t){return!1}}),o.duration)}),u)},wrapInput:function(t){for(var e=0;e<t.length;e++){var n=t[e];if("input"===n.tagName.toLowerCase()){var i=n.parentNode;if("i"===i.tagName.toLowerCase()&&-1!==i.className.indexOf("waves-effect"))continue;var o=document.createElement("i");o.className=n.className+" waves-input-wrapper";var r=n.getAttribute("style");r||(r=""),o.setAttribute("style",r),n.className="waves-button-input",n.removeAttribute("style"),i.replaceChild(o,n),o.appendChild(n)}}}},r={touches:0,allowEvent:function(t){var e=!0;return"touchstart"===t.type?r.touches+=1:"touchend"===t.type||"touchcancel"===t.type?setTimeout((function(){r.touches>0&&(r.touches-=1)}),500):"mousedown"===t.type&&r.touches>0&&(e=!1),e},touchup:function(t){r.allowEvent(t)}};function s(e){var n=function(t){if(!1===r.allowEvent(t))return null;for(var e=null,n=t.target||t.srcElement;null!==n.parentNode;){if(!(n instanceof SVGElement)&&-1!==n.className.indexOf("waves-effect")){e=n;break}n=n.parentNode}return e}(e);null!==n&&(o.show(e,n),"ontouchstart"in t&&(n.addEventListener("touchend",o.hide,!1),n.addEventListener("touchcancel",o.hide,!1)),n.addEventListener("mouseup",o.hide,!1),n.addEventListener("mouseleave",o.hide,!1),n.addEventListener("dragend",o.hide,!1))}e.displayEffect=function(e){"duration"in(e=e||{})&&(o.duration=e.duration),o.wrapInput(n(".waves-effect")),"ontouchstart"in t&&document.body.addEventListener("touchstart",s,!1),document.body.addEventListener("mousedown",s,!1)},e.attach=function(e){"input"===e.tagName.toLowerCase()&&(o.wrapInput([e]),e=e.parentNode),"ontouchstart"in t&&e.addEventListener("touchstart",s,!1),e.addEventListener("mousedown",s,!1)},t.Waves=e,document.addEventListener("DOMContentLoaded",(function(){e.displayEffect()}),!1)}(window)},377:(t,e,n)=>{var i=n(832),o=n(652),r=n(801),s=n(30),a=n(618),l=n(49),h=n(971);h.alea=i,h.xor128=o,h.xorwow=r,h.xorshift7=s,h.xor4096=a,h.tychei=l,t.exports=h},832:function(t,e,n){var i;!function(t,o,r){function s(t){var e,n=this,i=(e=4022871197,function(t){t=String(t);for(var n=0;n<t.length;n++){var i=.02519603282416938*(e+=t.charCodeAt(n));i-=e=i>>>0,e=(i*=e)>>>0,e+=4294967296*(i-=e)}return 2.3283064365386963e-10*(e>>>0)});n.next=function(){var t=2091639*n.s0+2.3283064365386963e-10*n.c;return n.s0=n.s1,n.s1=n.s2,n.s2=t-(n.c=0|t)},n.c=1,n.s0=i(" "),n.s1=i(" "),n.s2=i(" "),n.s0-=i(t),n.s0<0&&(n.s0+=1),n.s1-=i(t),n.s1<0&&(n.s1+=1),n.s2-=i(t),n.s2<0&&(n.s2+=1),i=null}function a(t,e){return e.c=t.c,e.s0=t.s0,e.s1=t.s1,e.s2=t.s2,e}function l(t,e){var n=new s(t),i=e&&e.state,o=n.next;return o.int32=function(){return 4294967296*n.next()|0},o.double=function(){return o()+11102230246251565e-32*(2097152*o()|0)},o.quick=o,i&&("object"==typeof i&&a(i,n),o.state=function(){return a(n,{})}),o}o&&o.exports?o.exports=l:n.amdD&&n.amdO?void 0===(i=function(){return l}.call(e,n,e,o))||(o.exports=i):this.alea=l}(0,t=n.nmd(t),n.amdD)},49:function(t,e,n){var i;!function(t,o,r){function s(t){var e=this,n="";e.next=function(){var t=e.b,n=e.c,i=e.d,o=e.a;return t=t<<25^t>>>7^n,n=n-i|0,i=i<<24^i>>>8^o,o=o-t|0,e.b=t=t<<20^t>>>12^n,e.c=n=n-i|0,e.d=i<<16^n>>>16^o,e.a=o-t|0},e.a=0,e.b=0,e.c=-1640531527,e.d=1367130551,t===Math.floor(t)?(e.a=t/4294967296|0,e.b=0|t):n+=t;for(var i=0;i<n.length+20;i++)e.b^=0|n.charCodeAt(i),e.next()}function a(t,e){return e.a=t.a,e.b=t.b,e.c=t.c,e.d=t.d,e}function l(t,e){var n=new s(t),i=e&&e.state,o=function(){return(n.next()>>>0)/4294967296};return o.double=function(){do{var t=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},o.int32=n.next,o.quick=o,i&&("object"==typeof i&&a(i,n),o.state=function(){return a(n,{})}),o}o&&o.exports?o.exports=l:n.amdD&&n.amdO?void 0===(i=function(){return l}.call(e,n,e,o))||(o.exports=i):this.tychei=l}(0,t=n.nmd(t),n.amdD)},652:function(t,e,n){var i;!function(t,o,r){function s(t){var e=this,n="";e.x=0,e.y=0,e.z=0,e.w=0,e.next=function(){var t=e.x^e.x<<11;return e.x=e.y,e.y=e.z,e.z=e.w,e.w^=e.w>>>19^t^t>>>8},t===(0|t)?e.x=t:n+=t;for(var i=0;i<n.length+64;i++)e.x^=0|n.charCodeAt(i),e.next()}function a(t,e){return e.x=t.x,e.y=t.y,e.z=t.z,e.w=t.w,e}function l(t,e){var n=new s(t),i=e&&e.state,o=function(){return(n.next()>>>0)/4294967296};return o.double=function(){do{var t=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},o.int32=n.next,o.quick=o,i&&("object"==typeof i&&a(i,n),o.state=function(){return a(n,{})}),o}o&&o.exports?o.exports=l:n.amdD&&n.amdO?void 0===(i=function(){return l}.call(e,n,e,o))||(o.exports=i):this.xor128=l}(0,t=n.nmd(t),n.amdD)},618:function(t,e,n){var i;!function(t,o,r){function s(t){var e=this;e.next=function(){var t,n,i=e.w,o=e.X,r=e.i;return e.w=i=i+1640531527|0,n=o[r+34&127],t=o[r=r+1&127],n^=n<<13,t^=t<<17,n^=n>>>15,t^=t>>>12,n=o[r]=n^t,e.i=r,n+(i^i>>>16)|0},function(t,e){var n,i,o,r,s,a=[],l=128;for(e===(0|e)?(i=e,e=null):(e+="\0",i=0,l=Math.max(l,e.length)),o=0,r=-32;r<l;++r)e&&(i^=e.charCodeAt((r+32)%e.length)),0===r&&(s=i),i^=i<<10,i^=i>>>15,i^=i<<4,i^=i>>>13,r>=0&&(s=s+1640531527|0,o=0==(n=a[127&r]^=i+s)?o+1:0);for(o>=128&&(a[127&(e&&e.length||0)]=-1),o=127,r=512;r>0;--r)i=a[o+34&127],n=a[o=o+1&127],i^=i<<13,n^=n<<17,i^=i>>>15,n^=n>>>12,a[o]=i^n;t.w=s,t.X=a,t.i=o}(e,t)}function a(t,e){return e.i=t.i,e.w=t.w,e.X=t.X.slice(),e}function l(t,e){null==t&&(t=+new Date);var n=new s(t),i=e&&e.state,o=function(){return(n.next()>>>0)/4294967296};return o.double=function(){do{var t=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},o.int32=n.next,o.quick=o,i&&(i.X&&a(i,n),o.state=function(){return a(n,{})}),o}o&&o.exports?o.exports=l:n.amdD&&n.amdO?void 0===(i=function(){return l}.call(e,n,e,o))||(o.exports=i):this.xor4096=l}(0,t=n.nmd(t),n.amdD)},30:function(t,e,n){var i;!function(t,o,r){function s(t){var e=this;e.next=function(){var t,n,i=e.x,o=e.i;return t=i[o],n=(t^=t>>>7)^t<<24,n^=(t=i[o+1&7])^t>>>10,n^=(t=i[o+3&7])^t>>>3,n^=(t=i[o+4&7])^t<<7,t=i[o+7&7],n^=(t^=t<<13)^t<<9,i[o]=n,e.i=o+1&7,n},function(t,e){var n,i=[];if(e===(0|e))i[0]=e;else for(e=""+e,n=0;n<e.length;++n)i[7&n]=i[7&n]<<15^e.charCodeAt(n)+i[n+1&7]<<13;for(;i.length<8;)i.push(0);for(n=0;n<8&&0===i[n];++n);for(8==n?i[7]=-1:i[n],t.x=i,t.i=0,n=256;n>0;--n)t.next()}(e,t)}function a(t,e){return e.x=t.x.slice(),e.i=t.i,e}function l(t,e){null==t&&(t=+new Date);var n=new s(t),i=e&&e.state,o=function(){return(n.next()>>>0)/4294967296};return o.double=function(){do{var t=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},o.int32=n.next,o.quick=o,i&&(i.x&&a(i,n),o.state=function(){return a(n,{})}),o}o&&o.exports?o.exports=l:n.amdD&&n.amdO?void 0===(i=function(){return l}.call(e,n,e,o))||(o.exports=i):this.xorshift7=l}(0,t=n.nmd(t),n.amdD)},801:function(t,e,n){var i;!function(t,o,r){function s(t){var e=this,n="";e.next=function(){var t=e.x^e.x>>>2;return e.x=e.y,e.y=e.z,e.z=e.w,e.w=e.v,(e.d=e.d+362437|0)+(e.v=e.v^e.v<<4^t^t<<1)|0},e.x=0,e.y=0,e.z=0,e.w=0,e.v=0,t===(0|t)?e.x=t:n+=t;for(var i=0;i<n.length+64;i++)e.x^=0|n.charCodeAt(i),i==n.length&&(e.d=e.x<<10^e.x>>>4),e.next()}function a(t,e){return e.x=t.x,e.y=t.y,e.z=t.z,e.w=t.w,e.v=t.v,e.d=t.d,e}function l(t,e){var n=new s(t),i=e&&e.state,o=function(){return(n.next()>>>0)/4294967296};return o.double=function(){do{var t=((n.next()>>>11)+(n.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},o.int32=n.next,o.quick=o,i&&("object"==typeof i&&a(i,n),o.state=function(){return a(n,{})}),o}o&&o.exports?o.exports=l:n.amdD&&n.amdO?void 0===(i=function(){return l}.call(e,n,e,o))||(o.exports=i):this.xorwow=l}(0,t=n.nmd(t),n.amdD)},971:function(t,e,n){var i;!function(o,r,s){var a,l=256,h=s.pow(l,6),u=s.pow(2,52),c=2*u,d=255;function p(t,e,n){var i=[],d=v(g((e=1==e?{entropy:!0}:e||{}).entropy?[t,y(r)]:null==t?function(){try{var t;return a&&(t=a.randomBytes)?t=t(l):(t=new Uint8Array(l),(o.crypto||o.msCrypto).getRandomValues(t)),y(t)}catch(t){var e=o.navigator,n=e&&e.plugins;return[+new Date,o,n,o.screen,y(r)]}}():t,3),i),p=new m(i),w=function(){for(var t=p.g(6),e=h,n=0;t<u;)t=(t+n)*l,e*=l,n=p.g(1);for(;t>=c;)t/=2,e/=2,n>>>=1;return(t+n)/e};return w.int32=function(){return 0|p.g(4)},w.quick=function(){return p.g(4)/4294967296},w.double=w,v(y(p.S),r),(e.pass||n||function(t,e,n,i){return i&&(i.S&&f(i,p),t.state=function(){return f(p,{})}),n?(s.random=t,e):t})(w,d,"global"in e?e.global:this==s,e.state)}function m(t){var e,n=t.length,i=this,o=0,r=i.i=i.j=0,s=i.S=[];for(n||(t=[n++]);o<l;)s[o]=o++;for(o=0;o<l;o++)s[o]=s[r=d&r+t[o%n]+(e=s[o])],s[r]=e;(i.g=function(t){for(var e,n=0,o=i.i,r=i.j,s=i.S;t--;)e=s[o=d&o+1],n=n*l+s[d&(s[o]=s[r=d&r+e])+(s[r]=e)];return i.i=o,i.j=r,n})(l)}function f(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function g(t,e){var n,i=[],o=typeof t;if(e&&"object"==o)for(n in t)try{i.push(g(t[n],e-1))}catch(t){}return i.length?i:"string"==o?t:t+"\0"}function v(t,e){for(var n,i=t+"",o=0;o<i.length;)e[d&o]=d&(n^=19*e[d&o])+i.charCodeAt(o++);return y(e)}function y(t){return String.fromCharCode.apply(0,t)}if(v(s.random(),r),t.exports){t.exports=p;try{a=n(234)}catch(t){}}else void 0===(i=function(){return p}.call(e,n,e,t))||(t.exports=i)}("undefined"!=typeof self?self:this,[],Math)},234:()=>{}},e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={id:i,loaded:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.amdD=function(){throw new Error("define cannot be used indirect")},n.amdO={},n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),(()=>{"use strict";var t=n(713),e=n.n(t),i=n(8),o=n.n(i),r=n(683),s=n.n(r),a=n(395),l=n.n(a),h=n(667),u=n.n(h),c=n(675),d=n.n(c),p=n(462),m=n.n(p),f=n(321),g=n.n(f),v=n(550),y=n.n(v),w=n(874),b=n.n(w),_=n(523),L=n.n(_),x=n(978),E=n.n(x),C=n(906),k=n.n(C),B=n(940),T=n.n(B);Math.seedrandom=n(377);var A=n(513);function O(t){return t&&"object"===o()(t)&&!Array.isArray(t)}function D(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];if(!i.length)return t;var r=i.shift();if(O(t)&&O(r))for(var s in r)O(r[s])?(t[s]||Object.assign(t,e()({},s,{})),D(t[s],r[s])):Object.assign(t,e()({},s,r[s]));return D.apply(void 0,[t].concat(i))}var S=D(n(344),A.siteData),I=n(730),$=n(573),F={},defaultMinLength=4,defaultMaxLength=512,minLength=defaultMinLength,maxLength=defaultMaxLength,P="Vanilla",R="localhost"===location.hostname||"127.0.0.1"===location.hostname?".html":"",q,W=16,N=!1,H,z,j={password:X("password"),length:X("length"),lang:X("lang"),theme:X("theme"),mode:X("mode"),store:X("store"),redirected:null!==X("redirected")&&X("redirected")};function X(t){var e=localStorage.getItem(t);return console.debug('attempted to get stored "'.concat(t,'" returned "').concat(e,'"')),e}function Y(t,e){localStorage.setItem(t,e),console.debug('attempted to get set "'.concat(t,'" to "').concat(e,'"')),j[t]=e}function Q(){var t={},e=function(t){return decodeURIComponent(t.replace(/\+/g," "))};return location.search.substring(1).split("&").forEach((function(n){var i=n.split("=");i.length>1&&(t[e(i[0])]=e(i[1]))})),t}function G(t){var e;switch(o()(S[t].mini)){case"string":e=S[t].mini;break;case"boolean":e=S[t].mini?"logos/".concat(t,"-MINI.svg"):S[t].logo?S[t].logo:"logos/".concat(t,".svg");break;case"undefined":e=S[t].logo?S[t].logo:"logos/".concat(t,".svg");break;default:throw new Error('Invalid mini value "'.concat(o()(S[t].mini),'" for ').concat(S[t]," preset"))}document.getElementById("logoContainer").style.display="flex",document.getElementById("logo").src=e,document.getElementById("logo").alt=t,document.getElementById("logo").title=t}function U(){if(document.getElementById("pass").value){Math.seedrandom(document.getElementById("pass").value);var t="HSL(".concat(window.getRandomArbitrary(0,360),", ").concat(window.getRandomArbitrary(60,100),"%, ").concat(window.getRandomArbitrary(45,80),"%)");document.getElementById("pass").style.setProperty("--accentColor",t)}else document.getElementById("pass").removeAttribute("style")}window.generate=function(){document.getElementById("result").value=A.process(document.getElementById("app").value.trim(),document.getElementById("pass").value,Math.trunc(document.getElementById("length").value),N,q)},window.changeTheme=function(t){I[t]||(console.error('Invalid theme "'.concat(t,'", defaulting to ').concat(P)),t=P),Y("theme",t),document.documentElement.style.setProperty("--accentColor",I[t].accent),document.documentElement.style.setProperty("--lightAccent",I[t].lightAccent),document.documentElement.style.setProperty("--textColor",I[t].text),document.documentElement.style.setProperty("--backgroundColor",I[t].background),document.documentElement.style.setProperty("--internalColor",I[t].internal),document.documentElement.style.setProperty("--incorrectColor",I[t].incorrect),document.documentElement.style.setProperty("--correctColor",I[t].correct),document.documentElement.style.setProperty("--inputColor",I[t].inputColor),document.documentElement.style.setProperty("--linkColor",I[t].linkColor),document.documentElement.style.setProperty("--highlightColor",I[t].highlightColor)},window.changeTheme(j.theme?j.theme:P),window.passwordToggle=function(){document.getElementById("passwordToggle").checked?document.getElementById("pass").type="password":document.getElementById("pass").type="text"},window.copy=function(){var t=document.getElementById("result").value;if(""===t)M.toast({html:"You have no password to copy.",classes:"warning"});else{var e=document.createElement("input");e.setAttribute("type","text"),e.setAttribute("value",t),(e=document.body.appendChild(e)).select(),document.execCommand("copy"),e.remove(),M.toast({html:"Successfully copied!",displayLength:4e3,classes:"success"})}},window.resultToggle=function(){document.getElementById("resultToggle").checked?document.getElementById("result").type="password":document.getElementById("result").type="text"},window.getRandomArbitrary=function(t,e){return Math.trunc(Math.random()*(e-t)+t)},window.changeLang=function(t,e,n){if(!$[t])throw new Error('Invalid language "'.concat(t,'"'));e&&Y("lang",t);var i="en-GB"===t?"/":"/"+t+R;window.location.pathname.toLowerCase()!==i.toLowerCase()&&(window.location.pathname=i)},window.setMode=function(t){q=t,Y("mode",t),window.generate()},window.fixLength=function(){var t=document.getElementById("length").value;minLength<=t&&t<=maxLength||(t>maxLength?document.getElementById("length").value=maxLength:t<minLength&&(document.getElementById("length").value=minLength))},window.onload=function(){for(var t in $){var e=document.createElement("option");e.innerHTML=$[t].native,e.dataset.short=t,document.querySelector("#lang").appendChild(e)}if(null!==j.lang)document.getElementById("lang").value=$[j.lang].native,z=j.lang;else{var n=(navigator.language||navigator.userLanguage).split("-")[0],i=Object.keys($).filter((function(t){return t.startsWith(n)}));0!==i.length?(document.getElementById("lang").value=$[i[0]].native,Y("lang",i[0]),z=i[0]):(document.getElementById("lang").value="English",Y("lang","en-GB"),z="en-GB")}for(var o in"true"!==j.redirected?window.changeLang(z,!1,!1):Y("redirected",!1),I){var r=document.createElement("option");r.id=o,r.innerHTML=o,document.querySelector("#theme").appendChild(r)}document.getElementById("theme").value=j.theme?j.theme:P,M.Tooltip.init(document.querySelectorAll(".tooltipped"));var s=M.Tabs.init(document.querySelectorAll(".tabs"))[0];for(var a in M.Sidenav.init(document.querySelectorAll(".sidenav"),{edge:"left"})[0],window.side=M.Sidenav.getInstance(document.getElementById("slide-out")),q=null===j.mode?"new":j.mode,s.select(q),"false"!==j.store&&(j.store&&(document.getElementById("pass").value=j.password,document.querySelector("label[for='pass']").classList.add("active")),document.getElementById("session-toggle").click()),j.length&&(W=j.length,document.getElementById("length-pref").value=W,document.getElementById("length").value=W),S)S[a].logo?F[a]=S[a].logo:F[a]="logos/".concat(a,".svg");M.Autocomplete.init(document.getElementById("app"),{data:F,onAutocomplete:function(t){G(t);var e=W;S[t].alias&&(t=S[t].alias,console.debug("Using alias: ".concat(t))),minLength=S[t].minLength?S[t].minLength:defaultMinLength,document.getElementById("length").min=minLength,maxLength=S[t].maxLength?S[t].maxLength:defaultMaxLength,document.getElementById("length").max=maxLength,minLength<=e&&e<=maxLength||(e=maxLength),document.getElementById("length").max=maxLength,window.fixLength(),N=!0,window.generate()},minLength:0,sortFunction:function(t,e,n){if(n){if(t.startsWith(n)&&!e.startsWith(n))return-1;if(!t.startsWith(n)&&e.startsWith(n))return 1}return t<e?-1:t>e?1:0}}),document.getElementById("app").focus(),document.querySelector("label[for='app']").classList.add("active");var l=Q();if(l.app){var h=String(l.app);document.getElementById("app").value=h,S[h]&&(document.getElementById("app").click(),document.querySelector(".autocomplete-content.dropdown-content :first-child").click()),window.generate(),document.getElementById("pass").focus(),document.querySelector("label[for='pass']").classList.add("active")}switch(document.body.addEventListener("keydown",(function(t){(t.ctrlKey||t.metaKey)&&"KeyC"===t.code&&""===window.getSelection().toString()&&window.copy()})),location.hostname){case"dev.cloverleaf.app":document.title+=" - Dev Build";var u=document.createElement("link");u.rel="shortcut icon",u.href="dev.ico",document.head.appendChild(u);break;case"cloverleaf.app":break;default:document.title+=" - localhost"}},window.appInput=function(){N=!1,document.getElementById("logoContainer").style.display="none",document.getElementById("logo").removeAttribute("src"),document.getElementById("logo").removeAttribute("alt"),document.getElementById("logo").removeAttribute("title"),minLength=defaultMinLength,maxLength=defaultMaxLength,document.getElementById("length").max=maxLength,document.getElementById("length").min=minLength,document.getElementById("length").value=W,window.generate()},window.passwordUp=function(){U(),"true"===j.store&&(document.getElementById("pass").value?Y("password",document.getElementById("pass").value):localStorage.removeItem("password")),window.generate()},window.addEventListener("beforeinstallprompt",(function(t){H=t,t.preventDefault(),document.getElementById("install").style=""})),window.appDown=function(t){("Enter"===t.key||"Enter"===t.code||13===t.keyCode)&&document.querySelector(".autocomplete-content.dropdown-content").offsetHeight>0&&null===document.querySelector(".autocomplete-content.dropdown-content .active")&&document.querySelector(".autocomplete-content.dropdown-content :first-child").click()},window.sessionToggle=function(){document.getElementById("session-toggle").checked?(Y("store",!0),document.getElementById("pass").value?Y("password",document.getElementById("pass").value):localStorage.removeItem("password")):(Y("store",!1),localStorage.removeItem("password"))},window.getVar=function(t){return eval(t)},window.lengthPref=function(t){defaultMinLength<=t&&t<=defaultMaxLength||(t>defaultMaxLength?t=defaultMaxLength:t<defaultMinLength&&(t=defaultMinLength),document.getElementById("length-pref").value=t),W=t,Y("length",t),document.getElementById("length").value=t,window.generate()},window.presetScroll=function(){var t=document.querySelector(".autocomplete-content.dropdown-content .active");t&&t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})},window.install=function(){try{H.prompt()}catch(t){M.toast({html:"Failed to install app.",displayLength:4e3,classes:"warning"})}}})()})();