vendor: 5,066 bytes, lines 1-2
1/*! For license information please see app.08da0b57.js.LICENSE.txt */ 2(()=>{var __webpack_modules__={8950:(e,t,n)=>{var r={"./feature-calendar.png":4984,"./feature-dashboard.png":5060,"./feature-forum.png":4799,"./feature-games.png":4953,"./feature-messages.png":4026,"./feature-more.png":7329,"./feature-profile.png":79,"./feature-search.png":7202};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=8950},587:e=>{window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=6)}([function(e,t,n){var r=n(1);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(3)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(2)(!1)).push([e.i,".cdx-checklist__item {\n display: flex;\n box-sizing: content-box;\n }\n\n .cdx-checklist__item-text {\n outline: none;\n flex-grow: 1;\n padding: 5px 0;\n }\n\n .cdx-checklist__item-checkbox {\n display: inline-block;\n flex-shrink: 0;\n position: relative;\n width: 20px;\n height: 20px;\n margin: 5px;\n margin-left: 0;\n margin-right: 7px;\n border-radius: 50%;\n border: 1px solid #d0d0d0;\n background: #fff;\n cursor: pointer;\n user-select: none;\n }\n\n .cdx-checklist__item-checkbox:hover {\n border-color: #b5b5b5;\n }\n\n .cdx-checklist__item-checkbox::after {\n position: absolute;\n top: 6px;\n left: 5px;\n width: 9px;\n height: 4px;\n border: 2px solid #fff;\n border-top: none;\n border-right: none;\n background: transparent;\n content: '';\n opacity: 0;\n transform: rotate(-45deg);\n }\n\n .cdx-checklist__item--checked .cdx-checklist__item-checkbox {\n background: #388ae5;\n border-color: #388ae5;\n }\n\n .cdx-checklist__item--checked .cdx-checklist__item-checkbox:hover {\n background: #307cd1;\n }\n\n .cdx-checklist__item--checked .cdx-checklist__item-checkbox::after {\n opacity: 1;\n }\n",""])},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r=e[1]||"",o=e[3];if(!o)return r;if(t&&"function"==typeof btoa){var i=(n=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),a=o.sources.map((function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"}));return[r].concat(a).concat([i]).join("\n")}return[r].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){var r,o,i={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),s=function(e){return document.querySelector(e)},l=function(){var e={};return function(t){if("function"==typeof t)return t();if(void 0===e[t]){var n=s.call(this,t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}}(),c=null,u=0,d=[],f=n(4);function p(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=i[r.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(;a<r.parts.length;a++)o.parts.push(b(r.parts[a],t))}else{var s=[];for(a=0;a<r.parts.length;a++)s.push(b(r.parts[a],t));i[r.id]={id:r.id,refs:1,parts:s}}}}function h(e,t){for(var n=[],r={},o=0;o<e.length;
2o++){var i=e[o],a=t.base?i[0]+t.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function m(e,t){var n=l(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=d[d.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),d.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=l(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,o)}}function v(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=d.indexOf(e);t>=0&&d.splice(t,1)}function g(e){var t=document.createElement("style");return void 0===e.attrs.type&&(e.attrs.type="text/css"),y(t,e.attrs),m(e,t),t}function y(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function b(e,t){var n,r,o,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}if(t.singleton){var a=u++;n=c||(c=g(t)),r=k.bind(null,n,a,!1),o=k.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",y(t,e.attrs),m(e,t),t}(t),r=C.bind(null,n,t),o=function(){v(n),n.href&&URL.revokeObjectURL(n.href)}):(n=g(t),r=x.bind(null,n),o=function(){v(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=h(e,t);return p(n,t),function(e){for(var r=[],o=0;o<n.length;o++){var a=n[o];(s=i[a.id]).refs--,r.push(s)}for(e&&p(h(e,t),t),o=0;o<r.length;o++){var s;if(0===(s=r[o]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete i[s.id]}}}};var _,w=(_=[],function(e,t){return _[e]=t,_.filter(Boolean).join("\n")});function k(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=w(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function x(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function C(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=f(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}},function(e,t,n){"use strict";Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null})},function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(){var e=document.activeElement,t=window.getSelection().getRangeAt(0),n=t.cloneRange();return n.selectNodeContents(e),n.setStart(t.endContainer,t.endOffset),n.extractContents()}function a(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=document.createElement(e);for(var a in Array.isArray(n)?(t=i.classList).add.apply(t,r(n)):n&&i.classList.add(n),o)i[a]=o[a];return i}function s(e){return e.innerHTML.replace("<br>"," ").trim()}function l(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=document.createRange(),o=window.getSelection();r.selectNodeContents(e),void 0!==n&&(r.setStart(e,n),r.setEnd(e,n)),r.collapse(t),o.removeAllRanges(),o.addRange(r)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}n.r(t),n.d(t,"default",(function(){return d})),n(0),n(5);var d=function(){function e(t){var n=t.data,r=(t.config,t.api),o=t.readOnly;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._elements={wrapper:null,items:[]},this.readOnly=o,this.api=r,this.data=n||{}}return u(e,null,[{key:"isReadOnlySupported",get:function(){return!0}},{key:"enableLineBreaks",get:function(){return!0}},{key:"toolbox",get:function(){return{icon:'<svg width="15" height="15" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg"><path d="M7.5 15a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15zm0-2.394a5.106 5.106 0 1 0 0-10.212 5.106 5.106 0 0 0 0 10.212zm-.675-4.665l2.708-2.708 1.392 1.392-2.708 2.708-1.392 1.391-2.971-2.971L5.245 6.36l1.58 1.58z"/></svg>',title:"Checklist"}}},{key:"conversionConfig",get:function(){return{export:function(e){return e.items.map((function(e){return e.text})).join(". ")},import:function(e){return{items:[{text:e,checked:!1}
2]}}}}}]),u(e,[{key:"render",value:function(){var e=this;return this._elements.wrapper=a("div",[this.CSS.baseBlock,this.CSS.wrapper]),this.data.items||(this.data.items=[{text:"",checked:!1}]),this.data.items.forEach((function(t){var n=e.createChecklistItem(t);e._elements.wrapper.appendChild(n)})),this.readOnly||(this._elements.wrapper.addEventListener("keydown",(function(t){switch(t.keyCode){case 13:e.enterPressed(t);break;case 8:e.backspace(t)}}),!1),this._elements.wrapper.addEventListener("click",(function(t){e.toggleCheckbox(t)}))),this._elements.wrapper}},{key:"save",value:function(){var e=this,t=this.items.map((function(t){return{text:s(e.getItemInput(t)),checked:t.classList.contains(e.CSS.itemChecked)}}));return{items:t=t.filter((function(e){return 0!==e.text.trim().length}))}}},{key:"validate",value:function(e){return!!e.items.length}},{key:"toggleCheckbox",value:function(e){var t=e.target.closest(".".concat(this.CSS.item));t.querySelector(".".concat(this.CSS.checkbox)).contains(e.target)&&t.classList.toggle(this.CSS.itemChecked)}},{key:"createChecklistItem",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=a("div",this.CSS.item),n=a("span",this.CSS.checkbox),r=a("div",this.CSS.textField,{innerHTML:e.text?e.text:"",contentEditable:!this.readOnly});return e.checked&&t.classList.add(this.CSS.itemChecked),t.appendChild(n),t.appendChild(r),t}},{key:"enterPressed",value:function(e){e.preventDefault();var t=this.items,n=document.activeElement.closest(".".concat(this.CSS.item));if(t.indexOf(n)===t.length-1&&0===s(this.getItemInput(n)).length){var r=this.api.blocks.getCurrentBlockIndex();return n.remove(),this.api.blocks.insert(),void this.api.caret.setToBlock(r+1)}var o,a,c=(o=i(),(a=document.createElement("div")).appendChild(o),a.innerHTML),u=this.createChecklistItem({text:c,checked:!1});this._elements.wrapper.insertBefore(u,n.nextSibling),l(this.getItemInput(u),!0)}},{key:"backspace",value:function(e){var t=e.target.closest(".".concat(this.CSS.item)),n=this.items.indexOf(t),r=this.items[n-1];if(r&&0===window.getSelection().focusOffset){e.preventDefault();var o=i(),a=this.getItemInput(r),s=a.childNodes.length;a.appendChild(o),l(a,void 0,s),t.remove()}}},{key:"getItemInput",value:function(e){return e.querySelector(".".concat(this.CSS.textField))}},{key:"CSS",get:function(){return{baseBlock:this.api.styles.block,wrapper:"cdx-checklist",item:"cdx-checklist__item",itemChecked:"cdx-checklist__item--checked",checkbox:"cdx-checklist__item-checkbox",textField:"cdx-checklist__item-text"}}},{key:"items",get:function(){return Array.from(this._elements.wrapper.querySelectorAll(".".concat(this.CSS.item)))}}]),e}()}]).default},7546:e=>{window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=0)}([function(e,t,n){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n(1).toString();var i=function(){function e(t){var n=t.data,r=(t.config,t.api);!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.api=r,this._CSS={block:this.api.styles.block,wrapper:"ce-delimiter"},this._data={},this._element=this.drawView(),this.data=n}return o(e,null,[{key:"isReadOnlySupported",get:function(){return!0}},{key:"contentless",get:function(){return!0}}]),o(e,[{key:"drawView",value:function(){var e=document.createElement("DIV");return e.classList.add(this._CSS.wrapper,this._CSS.block),e}},{key:"render",value:function(){return this._element}},{key:"save",value:function(e){return{}}}],[{key:"toolbox",get:function(){return{icon:'<svg width="19" height="4" viewBox="0 0 19 4" xmlns="http://www.w3.org/2000/svg"><path d="M1.25 0H7a1.25 1.25 0 1 1 0 2.5H1.25a1.25 1.25 0 1 1 0-2.5zM11 0h5.75a1.25 1.25 0 0 1 0 2.5H11A1.25 1.25 0 0 1 11 0z"/></svg>',title:"Delimiter"}}}]),e}();e.exports=i},function(e,t,n){var r=n(2);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(4)(r,o),r.locals&&(e.exports=r.locals)}
vendor: 5,101 bytes, line 2
2,function(e,t,n){(e.exports=n(3)(!1)).push([e.i,'.ce-delimiter {\n line-height: 1.6em;\n width: 100%;\n text-align: center;\n}\n\n.ce-delimiter:before {\n display: inline-block;\n content: "***";\n font-size: 30px;\n line-height: 65px;\n height: 30px;\n letter-spacing: 0.2em;\n}',""])},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r=e[1]||"",o=e[3];if(!o)return r;if(t&&"function"==typeof btoa){var i=(n=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),a=o.sources.map((function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"}));return[r].concat(a).concat([i]).join("\n")}return[r].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){var r,o,i={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),s=function(){var e={};return function(t){if("function"==typeof t)return t();if(void 0===e[t]){var n=function(e){return document.querySelector(e)}.call(this,t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}}(),l=null,c=0,u=[],d=n(5);function f(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=i[r.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(;a<r.parts.length;a++)o.parts.push(y(r.parts[a],t))}else{var s=[];for(a=0;a<r.parts.length;a++)s.push(y(r.parts[a],t));i[r.id]={id:r.id,refs:1,parts:s}}}}function p(e,t){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=t.base?i[0]+t.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function h(e,t){var n=s(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=u[u.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),u.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=s(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,o)}}function m(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=u.indexOf(e);t>=0&&u.splice(t,1)}function v(e){var t=document.createElement("style");return void 0===e.attrs.type&&(e.attrs.type="text/css"),g(t,e.attrs),h(e,t),t}function g(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function y(e,t){var n,r,o,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}if(t.singleton){var a=c++;n=l||(l=v(t)),r=w.bind(null,n,a,!1),o=w.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",g(t,e.attrs),h(e,t),t}(t),r=function(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=d(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,t),o=function(){m(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(t),r=function(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),o=function(){m(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=p(e,t);return f(n,t),function(e){for(var r=[],o=0;o<n.length;o++){var a=n[o];(s=i[a.id]).refs--,r.push(s)}for(e&&f(p(e,t),t),o=0;o<r.length;o++){var s;if(0===(s=r[o]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete i[s.id]}}}};var b,_=(b=[],function(e,t){return b[e]=t,b.filter(Boolean).join("\n")});function w(e,t,n,r){var o=n?"":r.css;
2if(e.styleSheet)e.styleSheet.cssText=_(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}}])},304:e=>{window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=186)}([function(e,t,n){var r=n(10),o=n(17),i=n(27),a=n(21),s=n(31),l=function(e,t,n){var c,u,d,f,p=e&l.F,h=e&l.G,m=e&l.S,v=e&l.P,g=e&l.B,y=h?r:m?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),_=b.prototype||(b.prototype={});for(c in h&&(n=t),n)d=((u=!p&&y&&void 0!==y[c])?y:n)[c],f=g&&u?s(d,r):v&&"function"==typeof d?s(Function.call,d):d,y&&a(y,c,d,e&l.U),b[c]!=d&&i(b,c,f),v&&_[c]!=d&&(_[c]=d)};r.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){var r=n(110);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(80),o=n(149);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(23),n(370),n(24),n(398),n(15)],void 0===(i="function"==typeof(r=function(e,t,r,o,i,a){"use strict";var s,l=n(1);function c(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"log",r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"color: inherit";if("console"in window&&window.console[n]){var i=["info","log","warn","error"].includes(n),a=[];switch(c.logLevel){case s.ERROR:if("error"!==n)return;break;case s.WARN:if(!["error","warn"].includes(n))return;break;case s.INFO:if(!i||e)return}r&&a.push(r);var l="Editor.js ".concat("2.22.2"),u="line-height: 1em;\n color: #006FEA;\n display: inline-block;\n font-size: 11px;\n line-height: 1em;\n background-color: #fff;\n padding: 4px 9px;\n border-radius: 30px;\n border: 1px solid rgba(56, 138, 229, 0.16);\n margin: 4px 5px 4px 0;";e&&(i?(a.unshift(u,o),t="%c".concat(l,"%c ").concat(t)):t="( ".concat(l," )").concat(t));try{if(i)if(r){var d;(d=console)[n].apply(d,["".concat(t," %o")].concat(a))}else{var f;(f=console)[n].apply(f,[t].concat(a))}else console[n](t)}catch(e){}}}
2Object.defineProperty(e,"__esModule",{value:!0}),e.setLogLevel=function(e){c.logLevel=e},e.typeOf=f,e.isFunction=p,e.isObject=h,e.isString=function(e){return"string"===f(e)},e.isBoolean=function(e){return"boolean"===f(e)},e.isNumber=function(e){return"number"===f(e)},e.isUndefined=m,e.isClass=function(e){return p(e)&&/^\s*class\s+/.test(e.toString())},e.isEmpty=function(e){return!e||0===Object.keys(e).length&&e.constructor===Object},e.isPromise=function(e){return Promise.resolve(e)===e},e.isPrintableKey=function(e){return e>47&&e<58||32===e||13===e||229===e||e>64&&e<91||e>95&&e<112||e>185&&e<193||e>218&&e<223},e.sequence=function(e){return v.apply(this,arguments)},e.array=function(e){return Array.prototype.slice.call(e)},e.delay=function(e,t){return function(){var n=this,r=arguments;window.setTimeout((function(){return e.apply(n,r)}),t)}},e.getFileExtension=function(e){return e.name.split(".").pop()},e.isValidMimeType=function(e){return/^[-\w]+\/([-+\w]+|\*)$/.test(e)},e.debounce=function(e,t,n){var r,o=this;return function(){for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];var l=o,c=function(){r=null,n||e.apply(l,a)},u=n&&!r;window.clearTimeout(r),r=window.setTimeout(c,t),u&&e.apply(l,a)}},e.copyTextToClipboard=function(e){var t=a.default.make("div","codex-editor-clipboard",{innerHTML:e});document.body.appendChild(t);var n=window.getSelection(),r=document.createRange();r.selectNode(t),window.getSelection().removeAllRanges(),n.addRange(r),document.execCommand("copy"),document.body.removeChild(t)},e.getUserOS=g,e.capitalize=function(e){return e[0].toUpperCase()+e.slice(1)},e.deepMerge=function e(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];if(!o.length)return t;var a=o.shift();if(h(t)&&h(a))for(var s in a)h(a[s])?(t[s]||Object.assign(t,(0,r.default)({},s,{})),e(t[s],a[s])):Object.assign(t,(0,r.default)({},s,a[s]));return e.apply(void 0,[t].concat(o))},e.beautifyShortcut=function(e){var t=g();return e=e.replace(/shift/gi,"â§").replace(/backspace/gi,"â«").replace(/enter/gi,"â").replace(/up/gi,"â").replace(/left/gi,"â").replace(/down/gi,"â").replace(/right/gi,"â").replace(/escape/gi,"â").replace(/insert/gi,"Ins").replace(/delete/gi,"â¡").replace(/\+/gi," + "),t.mac?e.replace(/ctrl|cmd/gi,"â").replace(/alt/gi,"â¥"):e.replace(/cmd/gi,"Ctrl").replace(/windows/gi,"WIN")},e.getValidUrl=function(e){try{return new URL(e).href}catch(e){}return"//"===e.substring(0,2)?window.location.protocol+e:window.location.origin+e},e.generateBlockId=function(){return(0,i.nanoid)(10)},e.openTab=function(e){window.open(e,"_blank")},e.generateId=function(){return"".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").concat(Math.floor(1e8*Math.random()).toString(16))},e.deprecationAssert=function(e,t,n){var r="«".concat(t,"» is deprecated and will be removed in the next major release. Please use the «").concat(n,"» instead.");e&&d(r,"warn")},e.cacheable=function(e,t,n){var r=n.value?"value":"get",o=n[r],i="#".concat(t,"Cache");if(n[r]=function(){if(void 0===this[i]){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this[i]=o.apply.apply(o,[this].concat(t))}return this[i]},"get"===r&&n.set){var a=n.set;n.set=function(t){delete e[i],a.apply(this,t)}}return n},e.isTouchSupported=e.logLabeled=e.log=e.mouseButtons=e.keyCodes=e.LogLevels=void 0,t=l(t),r=l(r),o=l(o),a=l(a),e.LogLevels=s,function(e){e.VERBOSE="VERBOSE",e.INFO="INFO",e.WARN="WARN",e.ERROR="ERROR"}(s||(e.LogLevels=s={})),e.keyCodes={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,LEFT:37,UP:38,DOWN:40,RIGHT:39,DELETE:46,META:91},e.mouseButtons={LEFT:0,WHEEL:1,RIGHT:2,BACKWARD:3,FORWARD:4},c.logLevel=s.VERBOSE;var u=c.bind(window,!1);e.log=u;var d=c.bind(window,!0);function f(e){return Object.prototype.toString.call(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function p(e){return"function"===f(e)}function h(e){return"object"===f(e)}function m(e){return"undefined"===f(e)}function v(){return(v=(0,o.default)(t.default.mark((function e(n){var r,i,a,s,l=arguments;return t.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s=function(){return(s=(0,o.default)(t.default.mark((function e(n,r,o){return t.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,n.function(n.data);case 3:return e.next=5,r(m(n.data)?{}:n.data);case 5:e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),o(m(n.data)?{}:n.data);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})))).apply(this,arguments)},a=function(e,t,n){return s.apply(this,arguments)},r=l.length>1&&void 0!==l[1]?l[1]:function(){},i=l.length>2&&void 0!==l[2]?l[2]:function(){},e.abrupt("return",n.reduce(function(){var e=(0,o.default)(t.default.mark((function e(n,o){return t.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n;case 2:return e.abrupt("return",a(o,r,i));case 3:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Promise.resolve()));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}
2function g(){var e={win:!1,mac:!1,x11:!1,linux:!1},t=Object.keys(e).find((function(e){return-1!==navigator.appVersion.toLowerCase().indexOf(e)}));return t?(e[t]=!0,e):e}e.logLabeled=d;var y="ontouchstart"in document.documentElement;e.isTouchSupported=y})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r=n(80);function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}e.exports=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(375)],void 0===(i="function"==typeof(r=function(r,o,i,a){"use strict";var s=n(1);function l(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,i=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return i=e.done,e},e:function(e){a=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(a)throw o}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=s(o),i=s(i),a=s(a);var u=function(){function e(t){var n=this,r=t.config,i=t.eventsDispatcher;if((0,o.default)(this,e),this.nodes={},this.listeners=new a.default,this.readOnlyMutableListeners={on:function(e,t,r){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];n.mutableListenerIds.push(n.listeners.on(e,t,r,o))},clearAll:function(){var e,t=l(n.mutableListenerIds);try{for(t.s();!(e=t.n()).done;){var r=e.value;n.listeners.offById(r)}}catch(e){t.e(e)}finally{t.f()}n.mutableListenerIds=[]}},this.mutableListenerIds=[],(this instanceof e?this.constructor:void 0)===e)throw new TypeError("Constructors for abstract class Module are not allowed.");this.config=r,this.eventsDispatcher=i}return(0,i.default)(e,[{key:"removeAllNodes",value:function(){for(var e in this.nodes){var t=this.nodes[e];t instanceof HTMLElement&&t.remove()}}},{key:"state",set:function(e){this.Editor=e}},{key:"isRtl",get:function(){return"rtl"===this.config.i18n.direction}}]),e}();r.default=u,u.displayName="Module",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(13);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(68)("wks"),o=n(44),i=n(10).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(42),n(2),n(3),n(7)],void 0===(i="function"==typeof(r=function(r,o,i,a,s){"use strict";var l=n(8),c=n(1);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=c(o),i=c(i),a=c(a),s=l(s);var u=function(){function e(){(0,i.default)(this,e)}return(0,a.default)(e,null,[{key:"isSingleTag",value:function(e){return e.tagName&&["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"].includes(e.tagName)}},{key:"isLineBreakTag",value:function(e){return e&&e.tagName&&["BR","WBR"].includes(e.tagName)}},{key:"make",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=document.createElement(e);for(var a in Array.isArray(n)?(t=i.classList).add.apply(t,(0,o.default)(n)):n&&i.classList.add(n),r)Object.prototype.hasOwnProperty.call(r,a)&&(i[a]=r[a]);return i}},{key:"text",value:function(e){return document.createTextNode(e)}},{key:"svg",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:14,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:14,r=document.createElementNS("http://www.w3.org/2000/svg","svg");return r.classList.add("icon","icon--"+e),r.setAttribute("width",t+"px"),r.setAttribute("height",n+"px"),r.innerHTML='<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#'.concat(e,'"></use>'),r}},{key:"append",value:function(e,t){Array.isArray(t)?t.forEach((function(t){return e.appendChild(t)})):e.appendChild(t)}},{key:"prepend",value:function(e,t){Array.isArray(t)?(t=t.reverse()).forEac
2h((function(t){return e.prepend(t)})):e.prepend(t)}},{key:"swap",value:function(e,t){var n=document.createElement("div"),r=e.parentNode;r.insertBefore(n,e),r.insertBefore(e,t),r.insertBefore(t,n),r.removeChild(n)}},{key:"find",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=arguments.length>1?arguments[1]:void 0;return e.querySelector(t)}},{key:"get",value:function(e){return document.getElementById(e)}},{key:"findAll",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=arguments.length>1?arguments[1]:void 0;return e.querySelectorAll(t)}},{key:"findAllInputs",value:function(t){return s.array(t.querySelectorAll(e.allInputsSelector)).reduce((function(t,n){return e.isNativeInput(n)||e.containsOnlyInlineElements(n)?[].concat((0,o.default)(t),[n]):[].concat((0,o.default)(t),(0,o.default)(e.getDeepestBlockElements(n)))}),[])}},{key:"getDeepestNode",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=n?"lastChild":"firstChild",o=n?"previousSibling":"nextSibling";if(t&&t.nodeType===Node.ELEMENT_NODE&&t[r]){var i=t[r];if(e.isSingleTag(i)&&!e.isNativeInput(i)&&!e.isLineBreakTag(i))if(i[o])i=i[o];else{if(!i.parentNode[o])return i.parentNode;i=i.parentNode[o]}return this.getDeepestNode(i,n)}return t}},{key:"isElement",value:function(e){return!s.isNumber(e)&&e&&e.nodeType&&e.nodeType===Node.ELEMENT_NODE}},{key:"isFragment",value:function(e){return!s.isNumber(e)&&e&&e.nodeType&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE}},{key:"isContentEditable",value:function(e){return"true"===e.contentEditable}},{key:"isNativeInput",value:function(e){return!(!e||!e.tagName)&&["INPUT","TEXTAREA"].includes(e.tagName)}},{key:"canSetCaret",value:function(t){var n=!0;if(e.isNativeInput(t))switch(t.type){case"file":case"checkbox":case"radio":case"hidden":case"submit":case"button":case"image":case"reset":n=!1}else n=e.isContentEditable(t);return n}},{key:"isNodeEmpty",value:function(e){return!(this.isSingleTag(e)&&!this.isLineBreakTag(e))&&0===(this.isElement(e)&&this.isNativeInput(e)?e.value:e.textContent.replace("â","")).trim().length}},{key:"isLeaf",value:function(e){return!!e&&0===e.childNodes.length}},{key:"isEmpty",value:function(e){e.normalize();for(var t=[e];t.length>0;)if(e=t.shift()){if(this.isLeaf(e)&&!this.isNodeEmpty(e))return!1;e.childNodes&&t.push.apply(t,(0,o.default)(Array.from(e.childNodes)))}return!0}},{key:"isHTMLString",value:function(t){var n=e.make("div");return n.innerHTML=t,n.childElementCount>0}},{key:"getContentLength",value:function(t){return e.isNativeInput(t)?t.value.length:t.nodeType===Node.TEXT_NODE?t.length:t.textContent.length}},{key:"containsOnlyInlineElements",value:function(t){var n;return s.isString(t)?(n=document.createElement("div")).innerHTML=t:n=t,Array.from(n.children).every((function t(n){return!e.blockElements.includes(n.tagName.toLowerCase())&&Array.from(n.children).every(t)}))}},{key:"getDeepestBlockElements",value:function(t){return e.containsOnlyInlineElements(t)?[t]:Array.from(t.children).reduce((function(t,n){return[].concat((0,o.default)(t),(0,o.default)(e.getDeepestBlockElements(n)))}),[])}},{key:"getHolder",value:function(e){return s.isString(e)?document.getElementById(e):e}},{key:"isExtensionNode",value:function(e){return e&&["GRAMMARLY-EXTENSION"].includes(e.nodeName)}},{key:"isAnchor",value:function(e){return"a"===e.tagName.toLowerCase()}},{key:"allInputsSelector",get:function(){return"[contenteditable=true], textarea, input:not([type]), "+["text","password","email","number","search","tel","url"].map((function(e){return'input[type="'.concat(e,'"]')})).join(", ")}},{key:"blockElements",get:function(){return["address","article","aside","blockquote","canvas","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","li","main","nav","noscript","ol","output","p","pre","ruby","section","table","tr","tfoot","ul","video"]}}]),e}();r.default=u,u.displayName="Dom",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r=n(33),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){var n=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(e,t,n){e.exports=!n(11)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(12),o=n(113),i=n(40),a=Object.defineProperty;t.f=n(18)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(38);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(10),o=n(27),i=n(26),a=n(44)("src"),s=n(191),l=(""+s).split("toString");n(17).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var c="function"==typeof n;c&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(c&&(i(n,a)||o(n,a,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:o(e,t,n
2):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||s.call(this)}))},function(e,t,n){var r=n(0),o=n(11),i=n(38),a=/"/g,s=function(e,t,n,r){var o=String(i(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,""")+'"'),s+">"+o+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*o((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})),"String",n)}},function(e,t,n){e.exports=n(144)},function(e,t){function n(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function s(e){n(a,o,i,s,l,"next",e)}function l(e){n(a,o,i,s,l,"throw",e)}s(void 0)}))}}},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(7),n(15)],void 0===(i="function"==typeof(r=function(r,o,i,a,s){"use strict";var l=n(8),c=n(1);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=c(o),i=c(i),a=l(a),s=c(s);var u=function(){function e(){(0,o.default)(this,e),this.instance=null,this.selection=null,this.savedSelectionRange=null,this.isFakeBackgroundEnabled=!1,this.commandBackground="backColor",this.commandRemoveFormat="removeFormat"}return(0,i.default)(e,[{key:"removeFakeBackground",value:function(){this.isFakeBackgroundEnabled&&(this.isFakeBackgroundEnabled=!1,document.execCommand(this.commandRemoveFormat))}},{key:"setFakeBackground",value:function(){document.execCommand(this.commandBackground,!1,"#a8d6ff"),this.isFakeBackgroundEnabled=!0}},{key:"save",value:function(){this.savedSelectionRange=e.range}},{key:"restore",value:function(){if(this.savedSelectionRange){var e=window.getSelection();e.removeAllRanges(),e.addRange(this.savedSelectionRange)}}},{key:"clearSaved",value:function(){this.savedSelectionRange=null}},{key:"collapseToEnd",value:function(){var e=window.getSelection(),t=document.createRange();t.selectNodeContents(e.focusNode),t.collapse(!1),e.removeAllRanges(),e.addRange(t)}
2},{key:"findParentTag",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,r=window.getSelection(),o=null;return r&&r.anchorNode&&r.focusNode?([r.anchorNode,r.focusNode].forEach((function(r){for(var i=n;i>0&&r.parentNode&&(r.tagName!==e||(o=r,t&&r.classList&&!r.classList.contains(t)&&(o=null),!o));)r=r.parentNode,i--})),o):null}},{key:"expandToTag",value:function(e){var t=window.getSelection();t.removeAllRanges();var n=document.createRange();n.selectNodeContents(e),t.addRange(n)}}],[{key:"isSelectionAtEditor",value:function(t){if(!t)return!1;var n=t.anchorNode||t.focusNode;n&&n.nodeType===Node.TEXT_NODE&&(n=n.parentNode);var r=null;return n&&n instanceof Element&&(r=n.closest(".".concat(e.CSS.editorZone))),!!r&&r.nodeType===Node.ELEMENT_NODE}},{key:"isRangeAtEditor",value:function(t){if(t){var n=t.startContainer;n&&n.nodeType===Node.TEXT_NODE&&(n=n.parentNode);var r=null;return n&&n instanceof Element&&(r=n.closest(".".concat(e.CSS.editorZone))),!!r&&r.nodeType===Node.ELEMENT_NODE}}},{key:"getRangeFromSelection",value:function(e){return e&&e.rangeCount?e.getRangeAt(0):null}},{key:"get",value:function(){return window.getSelection()}},{key:"setCursor",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=document.createRange(),r=window.getSelection();if(s.default.isNativeInput(e)){if(!s.default.canSetCaret(e))return;return e.focus(),e.selectionStart=e.selectionEnd=t,e.getBoundingClientRect()}return n.setStart(e,t),n.setEnd(e,t),r.removeAllRanges(),r.addRange(n),n.getBoundingClientRect()}},{key:"addFakeCursor",value:function(t){var n=e.range,r=s.default.make("span","codex-editor__fake-cursor");r.dataset.mutationFree="true",!n||t&&!t.contains(n.startContainer)||(n.collapse(),n.insertNode(r))}},{key:"removeFakeCursor",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body,t=s.default.find(e,".codex-editor__fake-cursor");t&&t.remove()}},{key:"CSS",get:function(){return{editorWrapper:"codex-editor",editorZone:"codex-editor__redactor"}}},{key:"anchorNode",get:function(){var e=window.getSelection();return e?e.anchorNode:null}},{key:"anchorElement",get:function(){var e=window.getSelection();if(!e)return null;var t=e.anchorNode;return t?s.default.isElement(t)?t:t.parentElement:null}},{key:"anchorOffset",get:function(){var e=window.getSelection();return e?e.anchorOffset:null}},{key:"isCollapsed",get:function(){var e=window.getSelection();return e?e.isCollapsed:null}},{key:"isAtEditor",get:function(){return this.isSelectionAtEditor(e.get())}},{key:"isSelectionExists",get:function(){return!!e.get().anchorNode}},{key:"range",get:function(){return this.getRangeFromSelection(this.get())}},{key:"rect",get:function(){var e,t=document.selection,n={x:0,y:0,width:0,height:0};if(t&&"Control"!==t.type)return e=t.createRange(),n.x=e.boundingLeft,n.y=e.boundingTop,n.width=e.boundingWidth,n.height=e.boundingHeight,n;if(!window.getSelection)return a.log("Method window.getSelection is not supported","warn"),n;if(null===(t=window.getSelection()).rangeCount||isNaN(t.rangeCount))return a.log("Method SelectionUtils.rangeCount is not supported","warn"),n;if(0===t.rangeCount)return n;if((e=t.getRangeAt(0).cloneRange()).getBoundingClientRect&&(n=e.getBoundingClientRect()),0===n.x&&0===n.y){var r=document.createElement("span");if(r.getBoundingClientRect){r.appendChild(document.createTextNode("â")),e.insertNode(r),n=r.getBoundingClientRect();var o=r.parentNode;o.removeChild(r),o.normalize()}}return n}},{key:"text",get:function(){return window.getSelection?window.getSelection().toString():""}}]),e}();r.default=u,u.displayName="SelectionUtils",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(19),o=n(43);e.exports=n(18)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(61),o=n(38);e.exports=function(e){return r(o(e))}},function(e,t,n){"use strict";var r=n(11);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){var r=n(360),o=n(361),i=n(145),a=n(362);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()}},function(e,t,n){var r=n(32);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(62),o=n(43),i=n(28),a=n(40),s=n(26),l=n(113),c=Object.getOwnPropertyDescriptor;t.f=n(18)?c:function(e,t){if(e=i(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(0),o=n(17),i=n(11);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i((function(){n(1)})),"Object",a)}},function(e,t,n){var r=n(31),o=n(61),i=n(20),a=n(16),s=n(129);e.exports=function(e,t){var n=1==e,l=2==e,c=3==e,u=4==e,d=6==e,f=5==e||d,p=t||s;return function(t,s,h){for(var m,v,g=i(t),y=o(g),b=r(s,h,3),_=a(y.length),w=0,k=n?p(t,_):l?p(t,0):void 0;_>w;w++)if((f||w in y)&&(v=b(m=y[w],w,g),e))if(n)k[w]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:k.push(m)}else if(u)return!1;return d?-1:c||u?u:k}}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";if(n(18)){var r=n(45),o=n(10),i=n(11),a=n(0),s=n(79),l=n(109),c=n(31),u=n(57),d=n(43),f=n(27),p=n(58),h=n(33),m=n(16),v=n(140),g=n(47),y=n(40),b=n(26),_=n(63),w=n(13),k=n(20),x=n(101),C=n(48),S=n(50),E=n(49).f,T=n(103),O=n(44),I=n(14),A=n(36),D=n(69),P=n(64),M=n(105),$=n(55),N=n(72),R=n(56),L=n(104),j=n(131),F=n(19),B=n(34),q=F.f,H=B.f,z=o.RangeError,U=o.TypeError,V=o.Uint8Array,G=Array.prototype,W=l.ArrayBuffer,Y=l.DataView,K=A(0),Q=A(2),J=A(3),Z=A(4),X=A(5),ee=A(6),te=D(!0),ne=D(!1),re=M.values,oe=M.keys,ie=M.entries,ae=G.lastIndexOf,se=G.reduce,le=G.reduceRight,ce=G.join,ue=G.sort,de=G.slice,fe=G.toString,pe=G.toLocaleStr
vendor: 5,608 bytes, line 2
2ing,he=I("iterator"),me=I("toStringTag"),ve=O("typed_constructor"),ge=O("def_constructor"),ye=s.CONSTR,be=s.TYPED,_e=s.VIEW,we=A(1,(function(e,t){return Ee(P(e,e[ge]),t)})),ke=i((function(){return 1===new V(new Uint16Array([1]).buffer)[0]})),xe=!!V&&!!V.prototype.set&&i((function(){new V(1).set({})})),Ce=function(e,t){var n=h(e);if(n<0||n%t)throw z("Wrong offset!");return n},Se=function(e){if(w(e)&&be in e)return e;throw U(e+" is not a typed array!")},Ee=function(e,t){if(!w(e)||!(ve in e))throw U("It is not a typed array constructor!");return new e(t)},Te=function(e,t){return Oe(P(e,e[ge]),t)},Oe=function(e,t){for(var n=0,r=t.length,o=Ee(e,r);r>n;)o[n]=t[n++];return o},Ie=function(e,t,n){q(e,t,{get:function(){return this._d[n]}})},Ae=function(e){var t,n,r,o,i,a,s=k(e),l=arguments.length,u=l>1?arguments[1]:void 0,d=void 0!==u,f=T(s);if(null!=f&&!x(f)){for(a=f.call(s),r=[],t=0;!(i=a.next()).done;t++)r.push(i.value);s=r}for(d&&l>2&&(u=c(u,arguments[2],2)),t=0,n=m(s.length),o=Ee(this,n);n>t;t++)o[t]=d?u(s[t],t):s[t];return o},De=function(){for(var e=0,t=arguments.length,n=Ee(this,t);t>e;)n[e]=arguments[e++];return n},Pe=!!V&&i((function(){pe.call(new V(1))})),Me=function(){return pe.apply(Pe?de.call(Se(this)):Se(this),arguments)},$e={copyWithin:function(e,t){return j.call(Se(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return Z(Se(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return L.apply(Se(this),arguments)},filter:function(e){return Te(this,Q(Se(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return X(Se(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ee(Se(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){K(Se(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ne(Se(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return te(Se(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return ce.apply(Se(this),arguments)},lastIndexOf:function(e){return ae.apply(Se(this),arguments)},map:function(e){return we(Se(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return se.apply(Se(this),arguments)},reduceRight:function(e){return le.apply(Se(this),arguments)},reverse:function(){for(var e,t=Se(this).length,n=Math.floor(t/2),r=0;r<n;)e=this[r],this[r++]=this[--t],this[t]=e;return this},some:function(e){return J(Se(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return ue.call(Se(this),e)},subarray:function(e,t){var n=Se(this),r=n.length,o=g(e,r);return new(P(n,n[ge]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,m((void 0===t?r:g(t,r))-o))}},Ne=function(e,t){return Te(this,de.call(Se(this),e,t))},Re=function(e){Se(this);var t=Ce(arguments[1],1),n=this.length,r=k(e),o=m(r.length),i=0;if(o+t>n)throw z("Wrong length!");for(;i<o;)this[t+i]=r[i++]},Le={entries:function(){return ie.call(Se(this))},keys:function(){return oe.call(Se(this))},values:function(){return re.call(Se(this))}},je=function(e,t){return w(e)&&e[be]&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Fe=function(e,t){return je(e,t=y(t,!0))?d(2,e[t]):H(e,t)},Be=function(e,t,n){return!(je(e,t=y(t,!0))&&w(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?q(e,t,n):(e[t]=n.value,e)};ye||(B.f=Fe,F.f=Be),a(a.S+a.F*!ye,"Object",{getOwnPropertyDescriptor:Fe,defineProperty:Be}),i((function(){fe.call({})}))&&(fe=pe=function(){return ce.call(this)});var qe=p({},$e);p(qe,Le),f(qe,he,Le.values),p(qe,{slice:Ne,set:Re,constructor:function(){},toString:fe,toLocaleString:Me}),Ie(qe,"buffer","b"),Ie(qe,"byteOffset","o"),Ie(qe,"byteLength","l"),Ie(qe,"length","e"),q(qe,me,{get:function(){return this[be]}}),e.exports=function(e,t,n,l){var c=e+((l=!!l)?"Clamped":"")+"Array",d="get"+e,p="set"+e,h=o[c],g=h||{},y=h&&S(h),b=!h||!s.ABV,k={},x=h&&h.prototype,T=function(e,n){q(e,n,{get:function(){return function(e,n){var r=e._d;return r.v[d](n*t+r.o,ke)}(this,n)},set:function(e){return function(e,n,r){var o=e._d;l&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),o.v[p](n*t+o.o,r,ke)}(this,n,e)},enumerable:!0})};b?(h=n((function(e,n,r,o){u(e,h,c,"_d");var i,a,s,l,d=0,p=0;if(w(n)){if(!(n instanceof W||"ArrayBuffer"==(l=_(n))||"SharedArrayBuffer"==l))return be in n?Oe(h,n):Ae.call(h,n);i=n,p=Ce(r,t);var g=n.byteLength;if(void 0===o){if(g%t)throw z("Wrong length!");if((a=g-p)<0)throw z("Wrong length!")}else if((a=m(o)*t)+p>g)throw z("Wrong length!");s=a/t}else s=v(n),i=new W(a=s*t);for(f(e,"_d",{b:i,o:p,l:a,e:s,v:new Y(i)});d<s;)T(e,d++)})),x=h.prototype=C(qe),f(x,"constructor",h)):i((function(){h(1)}))&&i((function(){new h(-1)}))&&N((function(e){new h,new h(null),new h(1.5),new h(e)}),!0)||(h=n((function(e,n,r,o){var i;return u(e,h,c),w(n)?n instanceof W||"ArrayBuffer"==(i=_(n))||"SharedArrayBuffer"==i?void 0!==o?new g(n,Ce(r,t),o):void 0!==r?new g(n,Ce(r,t)):new g(n):be in n?Oe(h,n):Ae.call(h,n):new g(v(n))})),K(y!==Function.prototype?E(g).concat(E(y)):E(g),(function(e){e in h||f(h,e,g[e])})),h.prototype=x,r||(x.constructor=h));var O=x[he],I=!!O&&("values"==O.name||null==O.name),A=Le.values;f(h,ve,!0),f(x,be,c),f(x,_e,!0),f(x,ge,h),(l?new h(1)[me]==c:me in x)||q(x,me,{get:function(){return c}}),k[c]=h,a(a.G+a.W+a.F*(h!=g),k),a(a.S,c,{BYTES_PER_ELEMENT:t}),a(a.S+a.F*i((function(){g.of.call(h,1)})),c,{from:Ae,of:De}),"BYTES_PER_ELEMENT"in x||f(x,"BYTES_PER_ELEMENT",t),a(a.P,c,$e),R(c),a(a.P+a.F*xe,c,{set:Re}),a(a.P+a.F*!I,c,Le),r||x.toString==fe||(x.toString=fe),a(a.P+a.F*i((function(){new h(1).slice()})),c,{slice:Ne}
2),a(a.P+a.F*(i((function(){return[1,2].toLocaleString()!=new h([1,2]).toLocaleString()}))||!i((function(){x.toLocaleString.call([1,2])}))),c,{toLocaleString:Me}),$[c]=I?O:A,r||I||f(x,he,A)}}else e.exports=function(){}},function(e,t,n){var r=n(13);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(44)("meta"),o=n(13),i=n(26),a=n(19).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(11)((function(){return l(Object.preventExtensions({}))})),u=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[r].w},onFreeze:function(e){return c&&d.NEED&&l(e)&&!i(e,r)&&u(e),e}}},function(e,t,n){var r=n(367),o=n(368),i=n(145),a=n(369);e.exports=function(e){return r(e)||o(e)||i(e)||a()}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports=!1},function(e,t,n){var r=n(115),o=n(88);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(33),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(12),o=n(116),i=n(88),a=n(87)("IE_PROTO"),s=function(){},l=function(){var e,t=n(85)("iframe"),r=i.length;for(t.style.display="none",n(89).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[i[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(115),o=n(88).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(26),o=n(20),i=n(87)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(14)("unscopables"),o=Array.prototype;null==o[r]&&n(27)(o,r,{}),e.exports=function(e){o[r][e]=!0}},function(e,t,n){var r=n(13);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){var r=n(19).f,o=n(26),i=n(14)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(0),o=n(38),i=n(11),a=n(91),s="["+a+"]",l=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),u=function(e,t,n){var o={},s=i((function(){return!!a[e]()||"âÂ
"!="âÂ
"[e]()})),l=o[e]=s?t(d):a[e];n&&(o[n]=l),r(r.P+r.F*s,"String",o)},d=u.trim=function(e,t){return e=String(o(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(c,"")),e};e.exports=u},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(10),o=n(19),i=n(18),a=n(14)("species");e.exports=function(e){var t=r[e];i&&t&&!t[a]&&o.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(21);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(147)],void 0===(i="function"==typeof(r=function(r,o,i,a){"use strict";var s=n(1);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=s(o),i=s(i),a=s(a);var l=function(){function e(){(0,o.default)(this,e)}return(0,i.default)(e,null,[{key:"ui",value:function(t,n){return e._t(t,n)}},{key:"t",value:function(t,n){return e._t(t,n)}},{key:"setDictionary",value:function(t){e.currentDictionary=t}},{key:"_t",value:function(t,n){var r=e.getNamespace(t);return r&&r[n]?r[n]:n}},{key:"getNamespace",value:function(t){return t.split(".").reduce((function(e,t){return e&&Object.keys(e).length?e[t]:{}}),e.currentDictionary)}}]),e}();r.default=l,l.displayName="I18n",l.currentDictionary=a.default,e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(380),n(7)],void 0===(i="function"==typeof(r=function(r,o,i,a,s){"use strict";var l=n(8),c=n(1);
2Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=c(o),i=c(i),a=c(a),s=l(s);var u=function(){function e(t){var n=this;(0,o.default)(this,e),this.iterator=null,this.activated=!1,this.allowArrows=!0,this.onKeyDown=function(t){if(n.isEventReadyForHandling(t))switch(e.usedKeys.includes(t.keyCode)&&t.preventDefault(),t.keyCode){case s.keyCodes.TAB:n.handleTabPress(t);break;case s.keyCodes.LEFT:case s.keyCodes.UP:n.flipLeft();break;case s.keyCodes.RIGHT:case s.keyCodes.DOWN:n.flipRight();break;case s.keyCodes.ENTER:n.handleEnterPress(t)}},this.allowArrows=!s.isBoolean(t.allowArrows)||t.allowArrows,this.iterator=new a.default(t.items,t.focusedItemClass),this.activateCallback=t.activateCallback}return(0,i.default)(e,[{key:"activate",value:function(e){this.activated=!0,e&&this.iterator.setItems(e),document.addEventListener("keydown",this.onKeyDown)}},{key:"deactivate",value:function(){this.activated=!1,this.dropCursor(),document.removeEventListener("keydown",this.onKeyDown)}},{key:"focusFirst",value:function(){this.dropCursor(),this.flipRight()}},{key:"flipLeft",value:function(){this.iterator.previous()}},{key:"flipRight",value:function(){this.iterator.next()}},{key:"dropCursor",value:function(){this.iterator.dropCursor()}},{key:"isEventReadyForHandling",value:function(e){var t=[s.keyCodes.TAB,s.keyCodes.ENTER],n=this.iterator.currentItem==document.activeElement;return this.allowArrows&&!n&&t.push(s.keyCodes.LEFT,s.keyCodes.RIGHT,s.keyCodes.UP,s.keyCodes.DOWN),this.activated&&-1!==t.indexOf(e.keyCode)}},{key:"handleTabPress",value:function(e){switch(e.shiftKey?a.default.directions.LEFT:a.default.directions.RIGHT){case a.default.directions.RIGHT:this.flipRight();break;case a.default.directions.LEFT:this.flipLeft()}}},{key:"handleEnterPress",value:function(e){this.activated&&(this.iterator.currentItem&&this.iterator.currentItem.click(),s.isFunction(this.activateCallback)&&this.activateCallback(this.iterator.currentItem),e.preventDefault(),e.stopPropagation())}},{key:"currentItem",get:function(){return this.iterator.currentItem}}],[{key:"usedKeys",get:function(){return[s.keyCodes.TAB,s.keyCodes.LEFT,s.keyCodes.RIGHT,s.keyCodes.ENTER,s.keyCodes.UP,s.keyCodes.DOWN]}}]),e}();r.default=u,u.displayName="Flipper",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r=n(37);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(37),o=n(14)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var r=n(12),o=n(32),i=n(14)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(7),n(378)],void 0===(i="function"==typeof(r=function(e,t,r){"use strict";var o=n(1),i=n(8);function a(e){var t={tags:arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}};return new r.default(t).clean(e)}function s(e,n){return Array.isArray(e)?(i=n,e.map((function(e){return s(e,i)}))):t.isObject(e)?function(e,n){var r,o={};for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=e[i],l=(r=n[i],t.isObject(r)||t.isBoolean(r)||t.isFunction(r)?n[i]:n);o[i]=s(a,l)}return o}(e,n):t.isString(e)?(r=e,o=n,t.isObject(o)?a(r,o):!1===o?a(r,{}):r):e;var r,o,i}Object.defineProperty(e,"__esModule",{value:!0}),e.sanitizeBlocks=function(e,n){return e.map((function(e){var r=t.isFunction(n)?n(e.tool):n;return t.isEmpty(r)||(e.data=s(e.data,r)),e}))},e.clean=a,t=i(t),r=o(r)})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(30),n(23),n(24),n(42),n(2),n(3),n(149),n(168),n(5),n(6),n(4),n(15),n(7),n(111),n(25),n(151)],void 0===(i="function"==typeof(r=function(e,t,r,o,i,a,s,l,c,u,d,f,p,h,m,v,g){"use strict";var y,b=n(8),_=n(1);function w(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}
2Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockToolAPI=void 0,t=_(t),r=_(r),o=_(o),i=_(i),a=_(a),s=_(s),l=_(l),c=_(c),u=_(u),d=_(d),f=_(f),p=_(p),h=b(h),m=_(m),v=_(v),g=_(g),e.BlockToolAPI=y,function(e){e.APPEND_CALLBACK="appendCallback",e.RENDERED="rendered",e.MOVED="moved",e.UPDATED="updated",e.REMOVED="removed",e.ON_PASTE="onPaste"}(y||(e.BlockToolAPI=y={}));var k=function(e){(0,u.default)(x,e);var n,g,b,_,k=(n=x,function(){var e,t=(0,f.default)(n);if(w()){var r=(0,f.default)(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return(0,d.default)(this,e)});function x(e){var t,n=e.id,r=void 0===n?h.generateBlockId():n,o=e.data,s=e.tool,c=e.api,u=e.readOnly,d=e.tunesData;return(0,a.default)(this,x),(t=k.call(this)).cachedInputs=[],t.tunesInstances=new Map,t.defaultTunesInstances=new Map,t.unavailableTunesData={},t.inputIndex=0,t.modificationDebounceTimer=450,t.didMutated=h.debounce((function(e){!e.some((function(e){var t=e.addedNodes,n=void 0===t?[]:t,r=e.removedNodes;return[].concat((0,i.default)(Array.from(n)),(0,i.default)(Array.from(r))).some((function(e){return p.default.isElement(e)&&"true"===e.dataset.mutationFree}))}))&&(t.cachedInputs=[],t.updateCurrentInput(),t.call(y.UPDATED),t.emit("didMutated",(0,l.default)(t)))}),t.modificationDebounceTimer),t.handleFocus=function(){t.cachedInputs=[],t.updateCurrentInput()},t.name=s.name,t.id=r,t.settings=s.settings,t.config=s.settings.config||{},t.api=c,t.blockAPI=new m.default((0,l.default)(t)),t.mutationObserver=new MutationObserver(t.didMutated),t.tool=s,t.toolInstance=s.create(o,t.blockAPI,u),t.tunes=s.tunes,t.composeTunes(d),t.holder=t.compose(),t}return(0,s.default)(x,[{key:"call",value:function(e,t){if(h.isFunction(this.toolInstance[e])){e===y.APPEND_CALLBACK&&h.log("`appendCallback` hook is deprecated and will be removed in the next major release. Use `rendered` hook instead","warn");try{this.toolInstance[e].call(this.toolInstance,t)}catch(t){h.log("Error during '".concat(e,"' call: ").concat(t.message),"error")}}}},{key:"mergeWith",value:(_=(0,o.default)(r.default.mark((function e(t){return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.toolInstance.merge(t);case 2:case"end":return e.stop()}}),e,this)}))),function(e){return _.apply(this,arguments)})},{key:"save",value:(b=(0,o.default)(r.default.mark((function e(){var n,o,a,s,l=this;return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.toolInstance.save(this.pluginsContent);case 2:return n=e.sent,o=this.unavailableTunesData,[].concat((0,i.default)(this.tunesInstances.entries()),(0,i.default)(this.defaultTunesInstances.entries())).forEach((function(e){var n=(0,t.default)(e,2),r=n[0],i=n[1];if(h.isFunction(i.save))try{o[r]=i.save()}catch(e){h.log("Tune ".concat(i.constructor.name," save method throws an Error %o"),"warn",e)}})),a=window.performance.now(),e.abrupt("return",Promise.resolve(n).then((function(e){return s=window.performance.now(),{id:l.id,tool:l.name,data:e,tunes:o,time:s-a}})).catch((function(e){h.log("Saving proccess for ".concat(l.name," tool failed due to the ").concat(e),"log","red")})));case 7:case"end":return e.stop()}}),e,this)}))),function(){return b.apply(this,arguments)})},{key:"validate",value:(g=(0,o.default)(r.default.mark((function e(t){var n;return r.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=!0,!(this.toolInstance.validate instanceof Function)){e.next=5;break}return e.next=4,this.toolInstance.validate(t);case 4:n=e.sent;case 5:return e.abrupt("return",n);case 6:case"end":return e.stop()}}),e,this)}))),function(e){return g.apply(this,arguments)})},{key:"renderTunes",value:function(){var e=document.createDocumentFragment(),t=document.createDocumentFragment();return this.tunesInstances.forEach((function(t){p.default.append(e,t.render())})),this.defaultTunesInstances.forEach((function(e){p.default.append(t,e.render())})),[e,t]}},{key:"updateCurrentInput",value:function(){this.currentInput=p.default.isNativeInput(document.activeElement)||!v.default.anchorNode?document.activeElement:v.default.anchorNode}},{key:"willSelect",value:function(){this.mutationObserver.observe(this.holder.firstElementChild,{childList:!0,subtree:!0,characterData:!0,attributes:!0}),this.addInputEvents()}},{key:"willUnselect",value:function(){this.mutationObserver.disconnect(),this.removeInputEvents()}},{key:"destroy",value:function(){(0,c.default)((0,f.default)(x.prototype),"destroy",this).call(this),h.isFunction(this.toolInstance.destroy)&&this.toolInstance.destroy()}},{key:"renderSettings",value:function(){if(h.isFunction(this.toolInstance.renderSettings))return this.toolInstance.renderSettings()}},{key:"compose",value:function(){var e=p.default.make("div",x.CSS.wrapper),t=p.default.make("div",x.CSS.content),n=this.toolInstance.render();t.appendChild(n);var r=t;return[].concat((0,i.default)(this.tunesInstances.values()),(0,i.default)(this.defaultTunesInstances.values())
2).forEach((function(e){if(h.isFunction(e.wrap))try{r=e.wrap(r)}catch(t){h.log("Tune ".concat(e.constructor.name," wrap method throws an Error %o"),"warn",t)}})),e.appendChild(r),e}},{key:"composeTunes",value:function(e){var n=this;Array.from(this.tunes.values()).forEach((function(t){(t.isInternal?n.defaultTunesInstances:n.tunesInstances).set(t.name,t.create(e[t.name],n.blockAPI))})),Object.entries(e).forEach((function(e){var r=(0,t.default)(e,2),o=r[0],i=r[1];n.tunesInstances.has(o)||(n.unavailableTunesData[o]=i)}))}},{key:"addInputEvents",value:function(){var e=this;this.inputs.forEach((function(t){t.addEventListener("focus",e.handleFocus),p.default.isNativeInput(t)&&t.addEventListener("input",e.didMutated)}))}},{key:"removeInputEvents",value:function(){var e=this;this.inputs.forEach((function(t){t.removeEventListener("focus",e.handleFocus),p.default.isNativeInput(t)&&t.removeEventListener("input",e.didMutated)}))}},{key:"inputs",get:function(){if(0!==this.cachedInputs.length)return this.cachedInputs;var e=p.default.findAllInputs(this.holder);return this.inputIndex>e.length-1&&(this.inputIndex=e.length-1),this.cachedInputs=e,e}},{key:"currentInput",get:function(){return this.inputs[this.inputIndex]},set:function(e){var t=this.inputs.findIndex((function(t){return t===e||t.contains(e)}));-1!==t&&(this.inputIndex=t)}},{key:"firstInput",get:function(){return this.inputs[0]}},{key:"lastInput",get:function(){var e=this.inputs;return e[e.length-1]}},{key:"nextInput",get:function(){return this.inputs[this.inputIndex+1]}},{key:"previousInput",get:function(){return this.inputs[this.inputIndex-1]}},{key:"data",get:function(){return this.save().then((function(e){return e&&!h.isEmpty(e.data)?e.data:{}}))}},{key:"sanitize",get:function(){return this.tool.sanitizeConfig}},{key:"mergeable",get:function(){return h.isFunction(this.toolInstance.merge)}},{key:"isEmpty",get:function(){var e=p.default.isEmpty(this.pluginsContent),t=!this.hasMedia;return e&&t}},{key:"hasMedia",get:function(){return!!this.holder.querySelector(["img","iframe","video","audio","source","input","textarea","twitterwidget"].join(","))}},{key:"focused",set:function(e){this.holder.classList.toggle(x.CSS.focused,e)}
2,get:function(){return this.holder.classList.contains(x.CSS.focused)}},{key:"selected",set:function(e){e?(this.holder.classList.add(x.CSS.selected),v.default.addFakeCursor(this.holder)):(this.holder.classList.remove(x.CSS.selected),v.default.removeFakeCursor(this.holder))},get:function(){return this.holder.classList.contains(x.CSS.selected)}},{key:"stretched",set:function(e){this.holder.classList.toggle(x.CSS.wrapperStretched,e)},get:function(){return this.holder.classList.contains(x.CSS.wrapperStretched)}},{key:"dropTarget",set:function(e){this.holder.classList.toggle(x.CSS.dropTarget,e)}},{key:"pluginsContent",get:function(){var e=this.holder.querySelector(".".concat(x.CSS.content));if(e&&e.childNodes.length)for(var t=e.childNodes.length-1;t>=0;t--){var n=e.childNodes[t];if(!p.default.isExtensionNode(n))return n}return null}}],[{key:"CSS",get:function(){return{wrapper:"ce-block",wrapperStretched:"ce-block--stretched",content:"ce-block__content",focused:"ce-block--focused",selected:"ce-block--selected",dropTarget:"ce-block--drop-target"}}}]),x}(g.default);e.default=k,k.displayName="Block"})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(7)],void 0===(i="function"==typeof(r=function(e,t,r,o){"use strict";var i,a,s,l,c,u,d=n(8),f=n(1);Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.InternalTuneSettings=e.InternalInlineToolSettings=e.InternalBlockToolSettings=e.CommonInternalSettings=e.UserSettings=e.ToolType=void 0,t=f(t),r=f(r),o=d(o),e.ToolType=i,function(e){e[e.Block=0]="Block",e[e.Inline=1]="Inline",e[e.Tune=2]="Tune"}(i||(e.ToolType=i={})),e.UserSettings=a,function(e){e.Shortcut="shortcut",e.Toolbox="toolbox",e.EnabledInlineTools="inlineToolbar",e.EnabledBlockTunes="tunes",e.Config="config"}(a||(e.UserSettings=a={})),e.CommonInternalSettings=s,function(e){e.Shortcut="shortcut",e.SanitizeConfig="sanitize"}(s||(e.CommonInternalSettings=s={})),e.InternalBlockToolSettings=l,function(e){e.IsEnabledLineBreaks="enableLineBreaks",e.Toolbox="toolbox",e.ConversionConfig="conversionConfig",e.IsReadOnlySupported="isReadOnlySupported",e.PasteConfig="pasteConfig"}(l||(e.InternalBlockToolSettings=l={}
2)),e.InternalInlineToolSettings=c,function(e){e.IsInline="isInline",e.Title="title"}(c||(e.InternalInlineToolSettings=c={})),e.InternalTuneSettings=u,function(e){e.IsTune="isTune"}(u||(e.InternalTuneSettings=u={}));var p=function(){function e(n){var r=n.name,o=n.constructable,i=n.config,a=n.api,s=n.isDefault,l=n.isInternal,c=void 0!==l&&l,u=n.defaultPlaceholder;(0,t.default)(this,e),this.api=a,this.name=r,this.constructable=o,this.config=i,this.isDefault=s,this.isInternal=c,this.defaultPlaceholder=u}return(0,r.default)(e,[{key:"reset",value:function(){if(o.isFunction(this.constructable.reset))return this.constructable.reset()}},{key:"prepare",value:function(){if(o.isFunction(this.constructable.prepare))return this.constructable.prepare({toolName:this.name,config:this.settings})}},{key:"isInline",value:function(){return this.type===i.Inline}},{key:"isBlock",value:function(){return this.type===i.Block}},{key:"isTune",value:function(){return this.type===i.Tune}},{key:"settings",get:function(){var e=this.config[a.Config]||{};return this.isDefault&&!("placeholder"in e)&&this.defaultPlaceholder&&(e.placeholder=this.defaultPlaceholder),e}},{key:"shortcut",get:function(){var e=this.constructable[s.Shortcut];return this.config[a.Shortcut]||e}},{key:"sanitizeConfig",get:function(){return this.constructable[s.SanitizeConfig]||{}}}]),e}();e.default=p,p.displayName="BaseTool"})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r=n(17),o=n(10),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(45)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(28),o=n(16),i=n(47);e.exports=function(e){return function(t,n,a){var s,l=r(t),c=o(l.length),u=i(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(37);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(14)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(12);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var r=n(63),o=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},function(e,t,n){"use strict";n(133);var r=n(21),o=n(27),i=n(11),a=n(38),s=n(14),l=n(106),c=s("species"),u=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var f=s(e),p=!i((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),h=p?!i((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[c]=function(){return n}),n[f](""),!t})):void 0;if(!p||!h||"replace"===e&&!u||"split"===e&&!d){var m=/./[f],v=n(a,f,""[e],(function(e,t,n,r,o){return t.exec===l?p&&!o?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),g=v[0],y=v[1];r(String.prototype,e,g),o(RegExp.prototype,f,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)})}}},function(e,t,n){var r=n(31),o=n(128),i=n(101),a=n(12),s=n(16),l=n(103),c={},u={};(t=e.exports=function(e,t,n,d,f){var p,h,m,v,g=f?function(){return e}:l(e),y=r(n,d,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(i(g)){for(p=s(e.length);p>b;b++)if((v=t?y(a(h=e[b])[0],h[1]):y(e[b]))===c||v===u)return v}else for(m=g.call(e);!(h=m.next()).done;)if((v=o(m,y,h.value,t))===c||v===u)return v}).BREAK=c,t.RETURN=u},function(e,t,n){var r=n(10).navigator;e.exports=r&&r.userAgent||""},function(e,t,n){"use strict";var r=n(10),o=n(0),i=n(21),a=n(58),s=n(41),l=n(76),c=n(57),u=n(13),d=n(11),f=n(72),p=n(53),h=n(92);e.exports=function(e,t,n,m,v,g){var y=r[e],b=y,_=v?"set":"add",w=b&&b.prototype,k={},x=function(e){var t=w[e];i(w,e,"delete"==e||"has"==e?function(e){return!(g&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!u(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};
2if("function"==typeof b&&(g||w.forEach&&!d((function(){(new b).entries().next()})))){var C=new b,S=C[_](g?{}:-0,1)!=C,E=d((function(){C.has(1)})),T=f((function(e){new b(e)})),O=!g&&d((function(){for(var e=new b,t=5;t--;)e[_](t,t);return!e.has(-0)}));T||((b=t((function(t,n){c(t,b,e);var r=h(new y,t,b);return null!=n&&l(n,v,r[_],r),r}))).prototype=w,w.constructor=b),(E||O)&&(x("delete"),x("has"),v&&x("get")),(O||S)&&x(_),g&&w.clear&&delete w.clear}else b=m.getConstructor(t,e,v,_),a(b.prototype,n),s.NEED=!0;return p(b,e),k[e]=b,o(o.G+o.W+o.F*(b!=y),k),g||m.setStrong(b,e,v),b}},function(e,t,n){for(var r,o=n(10),i=n(27),a=n(44),s=a("typed_array"),l=a("view"),c=!(!o.ArrayBuffer||!o.DataView),u=c,d=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");d<9;)(r=o[f[d++]])?(i(r.prototype,s,!0),i(r.prototype,l,!0)):u=!1;e.exports={ABV:c,CONSTR:u,TYPED:s,VIEW:l}},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(5),n(6),n(4),n(9)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c){"use strict";var u=n(1);function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}
2),r.default=void 0,o=u(o),i=u(i),a=u(a),s=u(s),l=u(l);var f=function(e){(0,a.default)(r,e);var t,n=(t=r,function(){var e,n=(0,l.default)(t);if(d()){var r=(0,l.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function r(){return(0,o.default)(this,r),n.apply(this,arguments)}return(0,i.default)(r,[{key:"getMethodsForTool",value:function(e){return Object.assign(this.methods,{i18n:this.Editor.I18nAPI.getMethodsForTool(e)})}},{key:"methods",get:function(){return{blocks:this.Editor.BlocksAPI.methods,caret:this.Editor.CaretAPI.methods,events:this.Editor.EventsAPI.methods,listeners:this.Editor.ListenersAPI.methods,notifier:this.Editor.NotifierAPI.methods,sanitizer:this.Editor.SanitizerAPI.methods,saver:this.Editor.SaverAPI.methods,selection:this.Editor.SelectionAPI.methods,styles:this.Editor.StylesAPI.classes,toolbar:this.Editor.ToolbarAPI.methods,inlineToolbar:this.Editor.InlineToolbarAPI.methods,tooltip:this.Editor.TooltipAPI.methods,i18n:this.Editor.I18nAPI.methods,readOnly:this.Editor.ReadOnlyAPI.methods}}}]),r}((c=u(c)).default);r.default=f,f.displayName="API",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(379)],void 0===(i="function"==typeof(r=function(r,o,i,a){"use strict";var s=n(1);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=s(o),i=s(i),a=s(a);var l=function(){function e(){(0,o.default)(this,e),this.lib=new a.default}return(0,i.default)(e,[{key:"destroy",value:function(){this.lib.destroy()}},{key:"show",value:function(e,t,n){this.lib.show(e,t,n)}},{key:"hide",value:function(){this.lib.hide()}},{key:"onHover",value:function(e,t,n){this.lib.onHover(e,t,n)}}]),e}();r.default=l,l.displayName="Tooltip",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(5),n(6),n(4),n(9),n(15),n(7),n(59),n(84),n(82)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u,d,f,p,h){"use strict";var m=n(8),v=n(1);function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=v(o),i=v(i),a=v(a),s=v(s),l=v(l),c=v(c),u=v(u),d=m(d),f=v(f),h=v(h);var y=function(e){(0,a.default)(r,e);var t,n=(t=r,function(){var e,n=(0,l.default)(t);if(g()){var r=(0,l.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function r(e){var t,i=e.config,a=e.eventsDispatcher;return(0,o.default)(this,r),(t=n.call(this,{config:i,eventsDispatcher:a})).tooltip=new h.default,t}return(0,i.default)(r,[{key:"toggleReadOnly",value:function(e){e?(this.destroy(),this.Editor.Toolbox.destroy(),this.Editor.BlockSettings.destroy(),this.disableModuleBindings()):(this.drawUI(),this.enableModuleBindings())}},{key:"move",value:function(){(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&(this.Editor.Toolbox.close(),this.Editor.BlockSettings.close());var e=this.Editor.BlockManager.currentBlock.holder;if(e){var t=this.Editor.UI.isMobile,n=e.offsetHeight,r=e.offsetTop;if(t)r+=n;else{var o=Math.floor(n/2);this.nodes.plusButton.style.transform="translate3d(0, calc(".concat(o,"px - 50%), 0)"),this.Editor.Toolbox.nodes.toolbox.style.transform="translate3d(0, calc(".concat(o,"px - 50%), 0)")}this.nodes.wrapper.style.transform="translate3D(0, ".concat(Math.floor(r),"px, 0)")}}},{key:"open",value:function(){var e=this,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];d.delay((function(){e.move(n),e.nodes.wrapper.classList.add(e.CSS.toolbarOpened),t?e.blockActions.show():e.blockActions.hide()}),50)()}},{key:"close",value:function(){this.nodes.wrapper.classList.remove(this.CSS.toolbarOpened),this.blockActions.hide(),this.Editor.Toolbox.close(),this.Editor.BlockSettings.close()}},{key:"make",value:function(){var e=this;this.nodes.wrapper=u.default.make("div",this.CSS.toolbar),["content","actions"].forEach((function(t){e.nodes[t]=u.default.make("div",e.CSS[t])})),u.default.append(this.nodes.wrapper,this.nodes.content),u.default.append(this.nodes.content,this.nodes.actions),this.nodes.plusButton=u.default.make("div",this.CSS.plusButton),u.default.append(this.nodes.plusButton,u.default.svg("plus",14,14)),u.default.append(this.nodes.content,this.nodes.plusButton),this.readOnlyMutableListeners.on(this.nodes.plusButton,"click",(function(){e.plusButtonClicked()}),!1);var t=u.default.make("div");t.appendChild(document.createTextNode(f.default.ui(p.I18nInternalNS.ui.toolbar.toolbox,"Add"))),t.appendChild(u.default.make("div",this.CSS.plusButtonShortcut,{textContent:"⥠Tab"})),this.tooltip.onHover(this.nodes.plusButton,t),this.nodes.blockActionsButtons=u.default.make("div",this.CSS.blockActionsButtons),this.nodes.settingsToggler=u.default.make("span",this.CSS.settingsToggler);var n=u.default.svg("dots",8,8);u.default.append(this.nodes.settingsToggler,n),u.default.append(this.nodes.blockActionsButtons,this.nodes.settingsToggler),u.default.append(this.nodes.actions,this.nodes.blockActionsButtons),this.tooltip.onHover(this.nodes.settingsToggler,f.default.ui(p.I18nInternalNS.ui.blockTunes.toggler,"Click to tune"),{placement:"top"}),u.default.append(this.nodes.content,this.Editor.Toolbox.nodes.toolbox),u.default.append(this.nodes.actions,this.Editor.BlockSettings.nodes.wrapper),u.default.append(this.Editor.UI.nodes.wrapper,this.nodes.wrapper)}},{key:"plusButtonClicked",value:function(){this.Editor.Toolbox.toggle()}},{key:"enableModuleBindings",value:function(){var e=this;this.readOnlyMutableListeners.on(this.nodes.settingsToggler,"mousedown",(function(t){t.stopPropagation(),e.settingsTogglerClicked()}),!0)}},{key:"disableModuleBindings",value:function(){this.readOnlyMutableListeners.clearAll()}},{key:"settingsTogglerClicked",value:function(){this.Editor.BlockSettings.opened?this.Editor.BlockSettings.close():this.Editor.BlockSettings.open()}},{key:"drawUI",value:function(){this.Editor.BlockSettings.make(),this.Editor.Toolbox.make(),this.make()}},{key:"destroy",value:function(){this.removeAllNodes(),this.tooltip.destroy()}},{key:"CSS",get:function(){return{toolbar:"ce-toolbar",content:"ce-toolbar__content",actions:"ce-toolbar__actions",actionsOpened:"ce-toolbar__actions--opened",toolbarOpened:"ce-toolbar--opened",plusButton:"ce-toolbar__plus",plusButtonShortcut:"ce-toolbar__plus-shortcut",plusButtonHidden:"ce-toolbar__plus--hidden",blockActionsButtons:"ce-toolbar__actions-buttons",settingsToggler:"ce-toolbar__settings-btn"}}},{key:"opened",get:function(){return this.nodes.wrapper.classList.contains(this.CSS.toolbarOpened)}},{key:"plusButton",get:function(){var e=this;
2return{hide:function(){return e.nodes.plusButton.classList.add(e.CSS.plusButtonHidden)},show:function(){e.Editor.Toolbox.isEmpty||e.nodes.plusButton.classList.remove(e.CSS.plusButtonHidden)}}}},{key:"blockActions",get:function(){var e=this;return{hide:function(){e.nodes.actions.classList.remove(e.CSS.actionsOpened)},show:function(){e.nodes.actions.classList.add(e.CSS.actionsOpened)}}}}]),r}(c.default);r.default=y,y.displayName="Toolbar",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(30),n(147),n(7)],void 0===(i="function"==typeof(r=function(e,t,r,o){"use strict";var i=n(1);Object.defineProperty(e,"__esModule",{value:!0}),e.I18nInternalNS=void 0,t=i(t);var a=function e(n,r){var i={};return Object.entries(n).forEach((function(n){var a=(0,t.default)(n,2),s=a[0],l=a[1];if((0,o.isObject)(l)){var c=r?"".concat(r,".").concat(s):s,u=Object.values(l).every((function(e){return(0,o.isString)(e)}));i[s]=u?c:e(l,c)}else i[s]=l})),i}((r=i(r)).default);e.I18nInternalNS=a})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r=n(13),o=n(10).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){t.f=n(14)},function(e,t,n){var r=n(68)("keys"),o=n(44);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(10).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(13),o=n(12),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(31)(Function.call,n(34).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t){e.exports="\t\n\v\f\r  áá ââââââ
ââââââ¯âã\u2028\u2029\ufeff"},function(e,t,n){var r=n(13),o=n(90).set;e.exports=function(e,t,n){var i,a=t.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(e,i),e}},function(e,t,n){"use strict";var r=n(33),o=n(38);e.exports=function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t,n){var r=n(33),o=n(38);e.exports=function(e){return function(t,n){var i,a,s=String(o(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):a-56320+(i-55296<<10)+65536}}},function(e,t,n){"use strict";var r=n(45),o=n(0),i=n(21),a=n(27),s=n(55),l=n(127),c=n(53),u=n(50),d=n(14)("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,h,m,v,g){l(n,t,h);var y,b,_,w=function(e){if(!f&&e in S)return S[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},k=t+" Iterator",x="values"==m,C=!1,S=e.prototype,E=S[d]||S["@@iterator"]||m&&S[m],T=E||w(m),O=m?x?w("entries"):T:void 0,I="Array"==t&&S.entries||E;if(I&&(_=u(I.call(new e)))!==Object.prototype&&_.next&&(c(_,k,!0),r||"function"==typeof _[d]||a(_,d,p)),x&&E&&"values"!==E.name&&(C=!0,T=function(){return E.call(this)}),r&&!g||!f&&!C&&S[d]||a(S,d,T),s[t]=T,s[k]=p,m)if(y={values:x?T:w("values"),keys:v?T:w("keys"),entries:O},g)for(b in y)b in S||i(S,b,y[b]);else o(o.P+o.F*(f||C),t,y);return y}},function(e,t,n){var r=n(99),o=n(38);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},function(e,t,n){var r=n(13),o=n(37),i=n(14)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){var r=n(14)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){var r=n(55),o=n(14)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){"use strict";var r=n(19),o=n(43);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){var r=n(63),o=n(14)("iterator"),i=n(55);e.exports=n(17).getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){"use strict";var r=n(20),o=n(47),i=n(16);e.exports=function(e){for(var t=r(this),n=i(t.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),l=a>
vendor: 5,531 bytes, line 2
22?arguments[2]:void 0,c=void 0===l?n:o(l,n);c>s;)t[s++]=e;return t}},function(e,t,n){"use strict";var r=n(51),o=n(132),i=n(55),a=n(28);e.exports=n(97)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";var r,o,i=n(73),a=RegExp.prototype.exec,s=String.prototype.replace,l=a,c=(r=/a/,o=/b*/g,a.call(r,"a"),a.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),u=void 0!==/()??/.exec("")[1];(c||u)&&(l=function(e){var t,n,r,o,l=this;return u&&(n=new RegExp("^"+l.source+"$(?!\\s)",i.call(l))),c&&(t=l.lastIndex),r=a.call(l,e),c&&r&&(l.lastIndex=l.global?r.index+r[0].length:t),u&&r&&r.length>1&&s.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),e.exports=l},function(e,t,n){"use strict";var r=n(96)(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r,o,i,a=n(31),s=n(121),l=n(89),c=n(85),u=n(10),d=u.process,f=u.setImmediate,p=u.clearImmediate,h=u.MessageChannel,m=u.Dispatch,v=0,g={},y=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},b=function(e){y.call(e.data)};f&&p||(f=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++v]=function(){s("function"==typeof e?e:Function(e),t)},r(v),v},p=function(e){delete g[e]},"process"==n(37)(d)?r=function(e){d.nextTick(a(y,e,1))}:m&&m.now?r=function(e){m.now(a(y,e,1))}:h?(i=(o=new h).port2,o.port1.onmessage=b,r=a(i.postMessage,i,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(e){u.postMessage(e+"","*")},u.addEventListener("message",b,!1)):r="onreadystatechange"in c("script")?function(e){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),y.call(e)}}:function(e){setTimeout(a(y,e,1),0)}),e.exports={set:f,clear:p}},function(e,t,n){"use strict";var r=n(10),o=n(18),i=n(45),a=n(79),s=n(27),l=n(58),c=n(11),u=n(57),d=n(33),f=n(16),p=n(140),h=n(49).f,m=n(19).f,v=n(104),g=n(53),y=r.ArrayBuffer,b=r.DataView,_=r.Math,w=r.RangeError,k=r.Infinity,x=y,C=_.abs,S=_.pow,E=_.floor,T=_.log,O=_.LN2,I=o?"_b":"buffer",A=o?"_l":"byteLength",D=o?"_o":"byteOffset";function P(e,t,n){var r,o,i,a=new Array(n),s=8*n-t-1,l=(1<<s)-1,c=l>>1,u=23===t?S(2,-24)-S(2,-77):0,d=0,f=e<0||0===e&&1/e<0?1:0;for((e=C(e))!=e||e===k?(o=e!=e?1:0,r=l):(r=E(T(e)/O),e*(i=S(2,-r))<1&&(r--,i*=2),(e+=r+c>=1?u/i:u*S(2,1-c))*i>=2&&(r++,i/=2),r+c>=l?(o=0,r=l):r+c>=1?(o=(e*i-1)*S(2,t),r+=c):(o=e*S(2,c-1)*S(2,t),r=0));t>=8;a[d++]=255&o,o/=256,t-=8);for(r=r<<t|o,s+=t;s>0;a[d++]=255&r,r/=256,s-=8);return a[--d]|=128*f,a}function M(e,t,n){var r,o=8*n-t-1,i=(1<<o)-1,a=i>>1,s=o-7,l=n-1,c=e[l--],u=127&c;for(c>>=7;s>0;u=256*u+e[l],l--,s-=8);for(r=u&(1<<-s)-1,u>>=-s,s+=t;s>0;r=256*r+e[l],l--,s-=8);if(0===u)u=1-a;else{if(u===i)return r?NaN:c?-k:k;r+=S(2,t),u-=a}return(c?-1:1)*r*S(2,u-t)}function $(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function N(e){return[255&e]}function R(e){return[255&e,e>>8&255]}function L(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function j(e){return P(e,52,8)}function F(e){return P(e,23,4)}function B(e,t,n){m(e.prototype,t,{get:function(){return this[n]}})}function q(e,t,n,r){var o=p(+n);if(o+t>e[A])throw w("Wrong index!");var i=e[I]._b,a=o+e[D],s=i.slice(a,a+t);return r?s:s.reverse()}function H(e,t,n,r,o,i){var a=p(+n);if(a+t>e[A])throw w("Wrong index!");for(var s=e[I]._b,l=a+e[D],c=r(+o),u=0;u<t;u++)s[l+u]=c[i?u:t-u-1]}if(a.ABV){if(!c((function(){y(1)}))||!c((function(){new y(-1)}))||c((function(){return new y,new y(1.5),new y(NaN),"ArrayBuffer"!=y.name}))){for(var z,U=(y=function(e){return u(this,y),new x(p(e))}).prototype=x.prototype,V=h(x),G=0;V.length>G;)(z=V[G++])in y||s(y,z,x[z]);i||(U.constructor=y)}var W=new b(new y(2)),Y=b.prototype.setInt8;W.setInt8(0,2147483648),W.setInt8(1,2147483649),!W.getInt8(0)&&W.getInt8(1)||l(b.prototype,{setInt8:function(e,t){Y.call(this,e,t<<24>>24)},setUint8:function(e,t){Y.call(this,e,t<<24>>24)}},!0)}else y=function(e){u(this,y,"ArrayBuffer");var t=p(e);this._b=v.call(new Array(t),0),this[A]=t},b=function(e,t,n){u(this,b,"DataView"),u(e,y,"DataView");var r=e[A],o=d(t);if(o<0||o>r)throw w("Wrong offset!");if(o+(n=void 0===n?r-o:f(n))>r)throw w("Wrong length!");this[I]=e,this[D]=o,this[A]=n},o&&(B(y,"byteLength","_l"),B(b,"buffer","_b"),B(b,"byteLength","_l"),B(b,"byteOffset","_o")),l(b.prototype,{getInt8:function(e){return q(this,1,e)[0]<<24>>24},getUint8:function(e){return q(this,1,e)[0]},getInt16:function(e){var t=q(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=q(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return $(q(this,4,e,arguments[1]))},getUint32:function(e){return $(q(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return M(q(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return M(q(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){H(this,1,e,N,t)},setUint8:function(e,t){H(this,1,e,N,t)},setInt16:function(e,t){H(this,2,e,R,t,arguments[2])},setUint16:function(e,t){H(this,2,e,R,t,arguments[2])},setInt32:function(e,t){H(this,4,e,L,t,arguments[2])},setUint32:function(e,t){H(this,4,e,L,t,arguments[2])},setFloat32:function(e,t){H(this,4,e,F,t,arguments[2])},setFloat64:function(e,t){H(this,8,e,j,t,arguments[2])}});g(y,"ArrayBuffer"),g(b,"DataView"),s(b.prototype,a.VIEW,!0),t.ArrayBuffer=y,t.DataView=b}
2,function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t],void 0===(i="function"==typeof(r=function(n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=function(e){var t={get id(){return e.id},get name(){return e.name},get config(){return e.config},get holder(){return e.holder},get isEmpty(){return e.isEmpty},get selected(){return e.selected},set stretched(t){e.stretched=t},get stretched(){return e.stretched},call:function(t,n){return e.call(t,n)},save:function(){return e.save()},validate:function(t){return e.validate(t)}};Object.setPrototypeOf(this,t)};n.default=r,e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(42),n(2),n(3),n(383)],void 0===(i="function"==typeof(r=function(r,o,i,a,s){"use strict";var l=n(1);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=l(o),i=l(i),a=l(a),s=l(s);var c=function(){function e(){(0,i.default)(this,e),this.registeredShortcuts=new Map}return(0,a.default)(e,[{key:"add",value:function(e){if(this.findShortcut(e.on,e.name))throw Error("Shortcut ".concat(e.name," is already registered for ").concat(e.on,". Please remove it before add a new handler."));var t=new s.default({name:e.name,on:e.on,callback:e.handler}),n=this.registeredShortcuts.get(e.on)||[];this.registeredShortcuts.set(e.on,[].concat((0,o.default)(n),[t]))}},{key:"remove",value:function(e,t){var n=this.findShortcut(e,t);if(n){n.remove();var r=this.registeredShortcuts.get(e);this.registeredShortcuts.set(e,r.filter((function(e){return e!==n})))}}},{key:"findShortcut",value:function(e,t){return(this.registeredShortcuts.get(e)||[]).find((function(e){return e.name===t}))}}]),e}();c.displayName="Shortcuts";var u=new c;r.default=u,e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){e.exports=!n(18)&&!n(11)((function(){return 7!=Object.defineProperty(n(85)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(10),o=n(17),i=n(45),a=n(86),s=n(19).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){var r=n(26),o=n(28),i=n(69)(!1),a=n(87)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){var r=n(19),o=n(12),i=n(46);e.exports=n(18)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(28),o=n(49).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){"use strict";var r=n(18),o=n(46),i=n(70),a=n(62),s=n(20),l=n(61),c=Object.assign;e.exports=!c||n(11)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r}))?function(e,t){for(var n=s(e),c=arguments.length,u=1,d=i.f,f=a.f;c>u;)for(var p,h=l(arguments[u++]),m=d?o(h).concat(d(h)):o(h),v=m.length,g=0;v>g;)p=m[g++],r&&!f.call(h,p)||(n[p]=h[p]);return n}:c},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){"use strict";var r=n(32),o=n(13),i=n(121),a=[].slice,s={},l=function(e,t,n){if(!(t in s)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";s[t]=Function("F,a","return new F("+r.join(",")+")")}return s[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=a.call(arguments,1),s=function(){var r=n.concat(a.call(arguments));return this instanceof s?l(t,r.length,r):i(t,r,e)};return o(t.prototype)&&(s.prototype=t.prototype),s}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(10).parseInt,o=n(54).trim,i=n(91),a=/^[-+]?0[xX]/;e.exports=8!==r(i+"08")||22!==r(i+"0x16")?function(e,t){var n=o(String(e),3);return r(n,t>>>0||(a.test(n)?16:10))}:r}
vendor: 10,657 bytes, line 2
2,function(e,t,n){var r=n(10).parseFloat,o=n(54).trim;e.exports=1/r(n(91)+"-0")!=-1/0?function(e){var t=o(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(37);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){var r=n(13),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){"use strict";var r=n(48),o=n(43),i=n(53),a={};n(27)(a,n(14)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(12);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(281);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(32),o=n(20),i=n(61),a=n(16);e.exports=function(e,t,n,s,l){r(t);var c=o(e),u=i(c),d=a(c.length),f=l?d-1:0,p=l?-1:1;if(n<2)for(;;){if(f in u){s=u[f],f+=p;break}if(f+=p,l?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;l?f>=0:d>f;f+=p)f in u&&(s=t(s,u[f],f,c));return s}},function(e,t,n){"use strict";var r=n(20),o=n(47),i=n(16);e.exports=[].copyWithin||function(e,t){var n=r(this),a=i(n.length),s=o(e,a),l=o(t,a),c=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===c?a:o(c,a))-l,a-s),d=1;for(l<s&&s<l+u&&(d=-1,l+=u-1,s+=u-1);u-- >0;)l in n?n[s]=n[l]:delete n[s],s+=d,l+=d;return n}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r=n(106);n(0)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(e,t,n){n(18)&&"g"!=/./g.flags&&n(19).f(RegExp.prototype,"flags",{configurable:!0,get:n(73)})},function(e,t,n){"use strict";var r,o,i,a,s=n(45),l=n(10),c=n(31),u=n(63),d=n(0),f=n(13),p=n(32),h=n(57),m=n(76),v=n(64),g=n(108).set,y=n(301)(),b=n(136),_=n(302),w=n(77),k=n(137),x=l.TypeError,C=l.process,S=C&&C.versions,E=S&&S.v8||"",T=l.Promise,O="process"==u(C),I=function(){},A=o=b.f,D=!!function(){try{var e=T.resolve(1),t=(e.constructor={})[n(14)("species")]=function(e){e(I,I)};return(O||"function"==typeof PromiseRejectionEvent)&&e.then(I)instanceof t&&0!==E.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(e){}}(),P=function(e){var t;return!(!f(e)||"function"!=typeof(t=e.then))&&t},M=function(e,t){if(!e._n){e._n=!0;var n=e._c;y((function(){for(var r=e._v,o=1==e._s,i=0,a=function(t){var n,i,a,s=o?t.ok:t.fail,l=t.resolve,c=t.reject,u=t.domain;try{s?(o||(2==e._h&&R(e),e._h=1),!0===s?n=r:(u&&u.enter(),n=s(r),u&&(u.exit(),a=!0)),n===t.promise?c(x("Promise-chain cycle")):(i=P(n))?i.call(n,l,c):l(n)):c(r)}catch(e){u&&!a&&u.exit(),c(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&$(e)}))}},$=function(e){g.call(l,(function(){var t,n,r,o=e._v,i=N(e);if(i&&(t=_((function(){O?C.emit("unhandledRejection",o,e):(n=l.onunhandledrejection)?n({promise:e,reason:o}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",o)})),e._h=O||N(e)?2:1),e._a=void 0,i&&t.e)throw t.v}))},N=function(e){return 1!==e._h&&0===(e._a||e._c).length},R=function(e){g.call(l,(function(){var t;O?C.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})}))},L=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),M(t,!0))},j=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw x("Promise can't be resolved itself");(t=P(e))?y((function(){var r={_w:n,_d:!1};try{t.call(e,c(j,r,1),c(L,r,1))}catch(e){L.call(r,e)}})):(n._v=e,n._s=1,M(n,!1))}catch(e){L.call({_w:n,_d:!1},e)}}};D||(T=function(e){h(this,T,"Promise","_h"),p(e),r.call(this);try{e(c(j,this,1),c(L,this,1))}catch(e){L.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(58)(T.prototype,{then:function(e,t){var n=A(v(this,T));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=O?C.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&M(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=c(j,e,1),this.reject=c(L,e,1)},b.f=A=function(e){return e===T||e===a?new i(e):o(e)}),d(d.G+d.W+d.F*!D,{Promise:T}),n(53)(T,"Promise"),n(56)("Promise"),a=n(17).Promise,d(d.S+d.F*!D,"Promise",{reject:function(e){var t=A(this);return(0,t.reject)(e),t.promise}}),d(d.S+d.F*(s||!D),"Promise",{resolve:function(e){return k(s&&this===a?T:this,e)}}),d(d.S+d.F*!(D&&n(72)((function(e){T.all(e).catch(I)}))),"Promise",{all:function(e){var t=this,n=A(t),r=n.resolve,o=n.reject,i=_((function(){var n=[],i=0,a=1;m(e,!1,(function(e){var s=i++,l=!1;n.push(void 0),a++,t.resolve(e).then((function(e){l||(l=!0,n[s]=e,--a||r(n))}),o)})),--a||r(n)}));return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=A(t),r=n.reject,o=_((function(){m(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},function(e,t,n){"use strict";var r=n(32);function o(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new o(e)}},function(e,t,n){var r=n(12),o=n(13),i=n(136);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(19).f,o=n(48),i=n(58),a=n(31),s=n(57),l=n(76),c=n(97),u=n(132),d=n(56),f=n(18),p=n(41).fastKey,h=n(52),m=f?"_s":"size",v=function(e,t){var n,r=p(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,c){var u=e((function(e,r){s(e,u,t,"_i"),e._t=t,e._i=o(null),e._f=void 0,e._l=void 0,e[m]=0,null!=r&&l(r,n,e[c],e)}));return i(u.prototype,{clear:function(){for(var e=h(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=h(this,t),r=v(n,e);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[m]--}return!!r},forEach:function(e){h(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!v(h(this,t),e)}}),f&&r(u.prototype,"size",{get:function(){return h(this,t)[m]}}),u},def:function(e,t,n){var r,o,i=v(e,t);return i?i.v=n:(e._l=i={i:o=p(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[m]++,"F"!==o&&(e._i[o]=i)),e},getEntry:v,setStrong:function(e,t,n){c(e,t,(function(e,n){this._t=h(e,t),this._k=n,this._l=void 0}),(function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?u(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,u(1))}),n?"entries":"values",!n,!0),d(t)}}},function(e,t,n){"use strict";var r=n(58),o=n(41).getWeak,i=n(12),a=n(13),s=n(57),l=n(76),c=n(36),u=n(26),d=n(52),f=c(5),p=c(6),h=0,m=function(e){return e._l||(e._l=new v)},v=function(){this.a=[]},g=function(e,t){return f(e.a,(function(e){return e[0]===t}))};v.prototype={get:function(e){var t=g(this,e);if(t)return t[1]},has:function(e){return!!g(this,e)},set:function(e,t){var n=g(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=p(this.a,(function(t){return t[0]===e}));return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,i){var c=e((function(e,r){s(e,c,t,"_i"),e._t=t,e._i=h++,e._l=void 0,null!=r&&l(r,n,e[i],e)}));return r(c.prototype,{delete:function(e){if(!a(e))return!1;var n=o(e);return!0===n?m(d(this,t)).delete(e):n&&u(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=o(e);return!0===n?m(d(this,t)).has(e):n&&u(n,this._i)}}),c},def:function(e,t,n){var r=o(i(t),!0);return!0===r?m(e).set(t,n):r[e._i]=n,e},ufstore:m}},function(e,t,n){var r=n(33),o=n(16);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length!");return n}},function(e,t,n){var r=n(49),o=n(70),i=n(12),a=n(10).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(16),o=n(93),i=n(38);e.exports=function(e,t,n,a){var s=String(i(e)),l=s.length,c=void 0===n?" ":String(n),u=r(t);if(u<=l||""==c)return s;var d=u-l,f=o.call(c,Math.ceil(d/c.length));return f.length>d&&(f=f.slice(0,d)),a?f+s:s+f}},function(e,t,n){var r=n(18),o=n(46),i=n(28),a=n(62).f;e.exports=function(e){return function(t){for(var n,s=i(t),l=o(s),c=l.length,u=0,d=[];c>u;)n=l[u++],r&&!a.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}}},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(e,t,n,r){var o=t&&t.prototype instanceof u?t:u,i=Object.create(o.prototype),a=new k(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=b(a,n);if(s){if(s===c)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=l(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===c)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var c={};function u(){}function d(){}function f(){}var p={};p[o]=function(){return this};var h=Object.getPrototypeOf,m=h&&h(h(x([])));m&&m!==t&&n.call(m,o)&&(p=m);var v=f.prototype=u.prototype=Object.create(p);function g(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function y(e,t){var r;this._invoke=function(o,i){function a(){return new t((function(r,a){!function r(o,i,a,s){var c=l(e[o],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function b(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&
vendor: 4,834 bytes, line 2
2(t.method="return",t.arg=void 0,b(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var r=l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,c;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function x(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:C}}function C(){return{value:void 0,done:!0}}return d.prototype=v.constructor=f,f.constructor=d,f[a]=d.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},g(y.prototype),y.prototype[i]=function(){return this},e.AsyncIterator=y,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new y(s(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(v),v[a]="Generator",v[o]=function(){return this},v.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=x,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,c):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;w(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){var r=n(146);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e){e.exports=JSON.parse('{"ui":{"blockTunes":{"toggler"
2:{"Click to tune":"","or drag to move":""}},"inlineToolbar":{"converter":{"Convert to":""}},"toolbar":{"toolbox":{"Add":""}}},"toolNames":{"Text":"","Link":"","Bold":"","Italic":""},"tools":{"link":{"Add a link":""},"stub":{"The block can not be displayed correctly.":""}},"blockTunes":{"delete":{"Delete":""},"moveUp":{"Move up":""},"moveDown":{"Move down":""}}}')},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(5),n(6),n(4),n(150)],void 0===(i="function"==typeof(r=function(e,t,r,o,i,a){"use strict";var s=n(1);function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(e,"__esModule",{value:!0}),e.CriticalError=void 0,t=s(t),r=s(r),o=s(o),i=s(i);var c=function(e){(0,r.default)(s,e);var n,a=(n=s,function(){var e,t=(0,i.default)(n);if(l()){var r=(0,i.default)(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return(0,o.default)(this,e)});function s(){return(0,t.default)(this,s),a.apply(this,arguments)}return s}((0,(a=s(a)).default)(Error));e.CriticalError=c,c.displayName="CriticalError"})?r.apply(t,o):r)||(e.exports=i)},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,n){var r=n(4),o=n(110),i=n(371),a=n(372);function s(t){var n="function"==typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!i(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),o(t,e)},s(t)}e.exports=s},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(7)],void 0===(i="function"==typeof(r=function(r,o,i,a){"use strict";var s=n(1);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=s(o),i=s(i);var l=function(){function e(){(0,o.default)(this,e),this.subscribers={}}return(0,i.default)(e,[{key:"on",value:function(e,t){e in this.subscribers||(this.subscribers[e]=[]),this.subscribers[e].push(t)}},{key:"once",value:function(e,t){var n=this;e in this.subscribers||(this.subscribers[e]=[]),this.subscribers[e].push((function r(o){var i=t(o),a=n.subscribers[e].indexOf(r);return-1!==a&&n.subscribers[e].splice(a,1),i}))}},{key:"emit",value:function(e,t){!(0,a.isEmpty)(this.subscribers)&&this.subscribers[e]&&this.subscribers[e].reduce((function(e,t){return t(e)||e}),t)}},{key:"off",value:function(e,t){for(var n=0;n<this.subscribers[e].length;n++)if(this.subscribers[e][n]===t){delete this.subscribers[e][n];break}}},{key:"destroy",value:function(){this.subscribers=null}}]),e}();r.default=l,l.displayName="EventsDispatcher",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(5),n(6),n(4),n(7),n(111),n(9)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u,d){"use strict";var f=n(8),p=n(1);function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=p(o),i=p(i),a=p(a),s=p(s),l=p(l),c=f(c),u=p(u);var m=function(e){(0,a.default)(r,e);var t,n=(t=r,function(){var e,n=(0,l.default)(t);if(h()){var r=(0,l.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function r(){var e;return(0,o.default)(this,r),(e=n.apply(this,arguments)).insert=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.config.defaultBlock,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;e.Editor.BlockManager.insert({tool:t,data:n,index:r,needToFocus:o})},e.update=function(t,n){var r=e.Editor.BlockManager,o=r.getBlockById(t);if(o){var i=r.getBlockIndex(o);r.insert({id:o.id,tool:o.name,data:n,index:i,replace:!0,tunes:o.tunes})}
2else c.log("blocks.update(): Block with passed id was not found","warn")},e}return(0,i.default)(r,[{key:"getBlocksCount",value:function(){return this.Editor.BlockManager.blocks.length}},{key:"getCurrentBlockIndex",value:function(){return this.Editor.BlockManager.currentBlockIndex}},{key:"getBlockByIndex",value:function(e){var t=this.Editor.BlockManager.getBlockByIndex(e);if(void 0!==t)return new u.default(t);c.logLabeled("There is no block at index `"+e+"`","warn")}},{key:"getById",value:function(e){var t=this.Editor.BlockManager.getBlockById(e);return void 0===t?(c.logLabeled("There is no block with id `"+e+"`","warn"),null):new u.default(t)}},{key:"swap",value:function(e,t){c.log("`blocks.swap()` method is deprecated and will be removed in the next major release. Use `block.move()` method instead","info"),this.Editor.BlockManager.swap(e,t),this.Editor.Toolbar.move(!1)}},{key:"move",value:function(e,t){this.Editor.BlockManager.move(e,t),this.Editor.Toolbar.move(!1)}},{key:"delete",value:function(e){try{this.Editor.BlockManager.removeBlock(e)}catch(e){return void c.logLabeled(e,"warn")}0===this.Editor.BlockManager.blocks.length&&this.Editor.BlockManager.insert(),this.Editor.BlockManager.currentBlock&&this.Editor.Caret.setToBlock(this.Editor.BlockManager.currentBlock,this.Editor.Caret.positions.END),this.Editor.Toolbar.close()}},{key:"clear",value:function(){this.Editor.BlockManager.clear(!0),this.Editor.InlineToolbar.close()}},{key:"render",value:function(e){return this.Editor.BlockManager.clear(),this.Editor.Renderer.render(e.blocks)}},{key:"renderFromHTML",value:function(e){return this.Editor.BlockManager.clear(),this.Editor.Paste.processText(e,!0)}},{key:"stretchBlock",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];c.deprecationAssert(!0,"blocks.stretchBlock()","BlockAPI");var n=this.Editor.BlockManager.getBlockByIndex(e);n&&(n.stretched=t)}},{key:"insertNewBlock",value:function(){c.log("Method blocks.insertNewBlock() is deprecated and it will be removed in the next major release. Use blocks.insert() instead.","warn"),this.insert()}},{key:"methods",get:function(){var e=this;return{clear:function(){return e.clear()},render:function(t){return e.render(t)},renderFromHTML:function(t){return e.renderFromHTML(t)},delete:function(t){return e.delete(t)},swap:function(t,n){return e.swap(t,n)},move:function(t,n){return e.move(t,n)},getBlockByIndex:function(t){return e.getBlockByIndex(t)},getById:function(t){return e.getById(t)},getCurrentBlockIndex:function(){return e.getCurrentBlockIndex()},getBlocksCount:function(){return e.getBlocksCount()},stretchBlock:function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.stretchBlock(t,n)},insertNewBlock:function(){return e.insertNewBlock()},insert:this.insert,update:this.update}}}]),r}((d=p(d)).default);r.default=m,m.displayName="BlocksAPI",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(5),n(6),n(4),n(9)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c){"use strict";var u=n(1);function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}
2),r.default=void 0,o=u(o),i=u(i),a=u(a),s=u(s),l=u(l);var f=function(e){(0,a.default)(r,e);var t,n=(t=r,function(){var e,n=(0,l.default)(t);if(d()){var r=(0,l.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function r(){var e;return(0,o.default)(this,r),(e=n.apply(this,arguments)).setToFirstBlock=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.Editor.Caret.positions.DEFAULT,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return!!e.Editor.BlockManager.firstBlock&&(e.Editor.Caret.setToBlock(e.Editor.BlockManager.firstBlock,t,n),!0)},e.setToLastBlock=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.Editor.Caret.positions.DEFAULT,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return!!e.Editor.BlockManager.lastBlock&&(e.Editor.Caret.setToBlock(e.Editor.BlockManager.lastBlock,t,n),!0)},e.setToPreviousBlock=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.Editor.Caret.positions.DEFAULT,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return!!e.Editor.BlockManager.previousBlock&&(e.Editor.Caret.setToBlock(e.Editor.BlockManager.previousBlock,t,n),!0)},e.setToNextBlock=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.Editor.Caret.positions.DEFAULT,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return!!e.Editor.BlockManager.nextBlock&&(e.Editor.Caret.setToBlock(e.Editor.BlockManager.nextBlock,t,n),!0)},e.setToBlock=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.Editor.Caret.positions.DEFAULT,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return!!e.Editor.BlockManager.blocks[t]&&(e.Editor.Caret.setToBlock(e.Editor.BlockManager.blocks[t],n,r),!0)},e.focus=function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]?e.setToLastBlock(e.Editor.Caret.positions.END):e.setToFirstBlock(e.Editor.Caret.positions.START)},e}return(0,i.default)(r,[{key:"methods",get:function(){return{setToFirstBlock:this.setToFirstBlock,setToLastBlock:this.setToLastBlock,setToPreviousBlock:this.setToPreviousBlock,setToNextBlock:this.setToNextBlock,setToBlock:this.setToBlock,focus:this.focus}}}]),r}((c=u(c)).default);r.default=f,f.displayName="CaretAPI",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(5),n(6),n(4),n(9)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c){"use strict";var u=n(1);function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}
2),r.default=void 0,o=u(o),i=u(i),a=u(a),s=u(s),l=u(l);var f=function(e){(0,a.default)(r,e);var t,n=(t=r,function(){var e,n=(0,l.default)(t);if(d()){var r=(0,l.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function r(){return(0,o.default)(this,r),n.apply(this,arguments)}return(0,i.default)(r,[{key:"on",value:function(e,t){this.eventsDispatcher.on(e,t)}},{key:"emit",value:function(e,t){this.eventsDispatcher.emit(e,t)}},{key:"off",value:function(e,t){this.eventsDispatcher.off(e,t)}},{key:"methods",get:function(){var e=this;return{emit:function(t,n){return e.emit(t,n)},off:function(t,n){return e.off(t,n)},on:function(t,n){return e.on(t,n)}}}}]),r}((c=u(c)).default);r.default=f,f.displayName="EventsAPI",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(5),n(6),n(4),n(59),n(7),n(9)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u,d){"use strict";var f=n(1);function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=f(o),i=f(i),a=f(a),s=f(s),l=f(l),c=f(c);var h=function(e){(0,a.default)(r,e);var t,n=(t=r,function(){var e,n=(0,l.default)(t);if(p()){var r=(0,l.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function r(){return(0,o.default)(this,r),n.apply(this,arguments)}return(0,i.default)(r,[{key:"getMethodsForTool",value:function(e){return Object.assign(this.methods,{t:function(t){return c.default.t(r.getNamespace(e),t)}})}},{key:"methods",get:function(){return{t:function(){(0,u.logLabeled)("I18n.t() method can be accessed only from Tools","warn")}}}}],[{key:"getNamespace",value:function(e){return e.isTune()?"blockTunes.".concat(e.name):"tools.".concat(e.name)}}]),r}((d=f(d)).default);r.default=h,h.displayName="I18nAPI",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(5),n(6),n(4),n(9)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c){"use strict";var u=n(1);function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}
2),r.default=void 0,o=u(o),i=u(i),a=u(a),s=u(s),l=u(l);var f=function(e){(0,a.default)(r,e);var t,n=(t=r,function(){var e,n=(0,l.default)(t);if(d()){var r=(0,l.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function r(){return(0,o.default)(this,r),n.apply(this,arguments)}return(0,i.default)(r,[{key:"open",value:function(){this.Editor.InlineToolbar.tryToShow()}},{key:"close",value:function(){this.Editor.InlineToolbar.close()}},{key:"methods",get:function(){var e=this;return{close:function(){return e.close()},open:function(){return e.open()}}}}]),r}((c=u(c)).default);r.default=f,f.displayName="InlineToolbarAPI",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(5),n(6),n(4),n(9)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c){"use strict";var u=n(1);function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}
2),r.default=void 0,o=u(o),i=u(i),a=u(a),s=u(s),l=u(l);var f=function(e){(0,a.default)(r,e);var t,n=(t=r,function(){var e,n=(0,l.default)(t);if(d()){var r=(0,l.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function r(){return(0,o.default)(this,r),n.apply(this,arguments)}return(0,i.default)(r,[{key:"on",value:function(e,t,n,r){this.listeners.on(e,t,n,r)}},{key:"off",value:function(e,t,n,r){this.listeners.off(e,t,n,r)}},{key:"methods",get:function(){var e=this;return{on:function(t,n,r,o){return e.on(t,n,r,o)},off:function(t,n,r,o){return e.off(t,n,r,o)}}}}]),r}((c=u(c)).default);r.default=f,f.displayName="ListenersAPI",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(5),n(6),n(4),n(376),n(9)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u){"use strict";var d=n(1);function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=d(o),i=d(i),a=d(a),s=d(s),l=d(l),c=d(c);var p=function(e){(0,a.default)(r,e);var t,n=(t=r,function(){var e,n=(0,l.default)(t);if(f()){var r=(0,l.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function r(e){var t,i=e.config,a=e.eventsDispatcher;return(0,o.default)(this,r),(t=n.call(this,{config:i,eventsDispatcher:a})).notifier=new c.default,t}return(0,i.default)(r,[{key:"show",value:function(e){return this.notifier.show(e)}},{key:"methods",get:function(){var e=this;return{show:function(t){return e.show(t)}}}}]),r}((u=d(u)).default);r.default=p,p.displayName="NotifierAPI",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(5),n(6),n(4),n(9)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c){"use strict";var u=n(1);function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}
2),r.default=void 0,o=u(o),i=u(i),a=u(a),s=u(s),l=u(l);var f=function(e){(0,a.default)(r,e);var t,n=(t=r,function(){var e,n=(0,l.default)(t);if(d()){var r=(0,l.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function r(){return(0,o.default)(this,r),n.apply(this,arguments)}return(0,i.default)(r,[{key:"toggle",value:function(e){return this.Editor.ReadOnly.toggle(e)}},{key:"methods",get:function(){var e=this;return{toggle:function(t){return e.toggle(t)},isEnabled:this.isEnabled}}},{key:"isEnabled",get:function(){return this.Editor.ReadOnly.isEnabled}}]),r}((c=u(c)).default);r.default=f,f.displayName="ReadOnlyAPI",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(5),n(6),n(4),n(9),n(65)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u){"use strict";var d=n(1);function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=d(o),i=d(i),a=d(a),s=d(s),l=d(l);var p=function(e){(0,a.default)(r,e);var t,n=(t=r,function(){var e,n=(0,l.default)(t);if(f()){var r=(0,l.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function r(){return(0,o.default)(this,r),n.apply(this,arguments)}return(0,i.default)(r,[{key:"clean",value:function(e,t){return(0,u.clean)(e,t)}},{key:"methods",get:function(){var e=this;return{clean:function(t,n){return e.clean(t,n)}}}}]),r}((c=d(c)).default);r.default=p,p.displayName="SanitizerAPI",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(5),n(6),n(4),n(7),n(9)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u){"use strict";var d=n(8),f=n(1);function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=f(o),i=f(i),a=f(a),s=f(s),l=f(l),c=d(c);var h=function(e){(0,a.default)(r,e);var t,n=(t=r,function(){var e,n=(0,l.default)(t);if(p()){var r=(0,l.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function r(){return(0,o.default)(this,r),n.apply(this,arguments)}return(0,i.default)(r,[{key:"save",value:function(){var e="Editor's content can not be saved in read-only mode";return this.Editor.ReadOnly.isEnabled?(c.logLabeled(e,"warn"),Promise.reject(new Error(e))):this.Editor.Saver.save()}},{key:"methods",get:function(){var e=this;return{save:function(){return e.save()}}}}]),r}((u=f(u)).default);r.default=h,h.displayName="SaverAPI",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(5),n(6),n(4),n(25),n(9)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u){"use strict";var d=n(1);function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=d(o),i=d(i),a=d(a),s=d(s),l=d(l),c=d(c);var p=function(e){(0,a.default)(r,e);var t,n=(t=r,function(){var e,n=(0,l.default)(t);if(f()){var r=(0,l.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function r(){return(0,o.default)(this,r),n.apply(this,arguments)}return(0,i.default)(r,[{key:"findParentTag",value:function(e,t){return(new c.default).findParentTag(e,t)}},{key:"expandToTag",value:function(e){(new c.default).expandToTag(e)}},{key:"methods",get:function(){var e=this;return{findParentTag:function(t,n){return e.findParentTag(t,n)},expandToTag:function(t){return e.expandToTag(t)}}}}]),r}((u=d(u)).default);r.default=p,p.displayName="SelectionAPI",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(5),n(6),n(4),n(9)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c){"use strict";var u=n(1);function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}
2Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=u(o),i=u(i),a=u(a),s=u(s),l=u(l);var f=function(e){(0,a.default)(r,e);var t,n=(t=r,function(){var e,n=(0,l.default)(t);if(d()){var r=(0,l.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function r(){return(0,o.default)(this,r),n.apply(this,arguments)}return(0,i.default)(r,[{key:"classes",get:function(){return{block:"cdx-block",inlineToolButton:"ce-inline-tool",inlineToolButtonActive:"ce-inline-tool--active",input:"cdx-input",loader:"cdx-loader",button:"cdx-button",settingsButton:"cdx-settings-button",settingsButtonActive:"cdx-settings-button--active"}}}]),r}((c=u(c)).default);r.default=f,f.displayName="StylesAPI",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(5),n(6),n(4),n(9),n(7)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u){"use strict";var d=n(8),f=n(1);function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=f(o),i=f(i),a=f(a),s=f(s),l=f(l),c=f(c),u=d(u);var h=function(e){(0,a.default)(r,e);var t,n=(t=r,function(){var e,n=(0,l.default)(t);if(p()){var r=(0,l.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function r(){return(0,o.default)(this,r),n.apply(this,arguments)}return(0,i.default)(r,[{key:"open",value:function(){this.Editor.Toolbar.open()}},{key:"close",value:function(){this.Editor.Toolbar.close()}},{key:"toggleBlockSettings",value:function(e){if(-1!==this.Editor.BlockManager.currentBlockIndex){var t=null!=e?e:!this.Editor.BlockSettings.opened;e!==this.Editor.BlockSettings.opened&&(t?(this.Editor.Toolbar.opened||(this.Editor.Toolbar.open(!0,!1),this.Editor.Toolbar.plusButton.hide()),this.Editor.BlockSettings.open()):this.Editor.BlockSettings.close())}else u.logLabeled("Could't toggle the Toolbar because there is no block selected ","warn")}},{key:"methods",get:function(){var e=this;return{close:function(){return e.close()},open:function(){return e.open()},toggleBlockSettings:function(t){return e.toggleBlockSettings(t)}}}}]),r}(c.default);r.default=h,h.displayName="ToolbarAPI",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(5),n(6),n(4),n(9),n(82)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u){"use strict";var d=n(1);function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=d(o),i=d(i),a=d(a),s=d(s),l=d(l),c=d(c),u=d(u);var p=function(e){(0,a.default)(r,e);var t,n=(t=r,function(){var e,n=(0,l.default)(t);if(f()){var r=(0,l.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function r(e){var t,i=e.config,a=e.eventsDispatcher;return(0,o.default)(this,r),(t=n.call(this,{config:i,eventsDispatcher:a})).tooltip=new u.default,t}return(0,i.default)(r,[{key:"destroy",value:function(){this.tooltip.destroy()}},{key:"show",value:function(e,t,n){this.tooltip.show(e,t,n)}},{key:"hide",value:function(){this.tooltip.hide()}},{key:"onHover",value:function(e,t,n){this.tooltip.onHover(e,t,n)}},{key:"methods",get:function(){var e=this;return{show:function(t,n,r){return e.show(t,n,r)},hide:function(){return e.hide()},onHover:function(t,n,r){return e.onHover(t,n,r)}}}}]),r}(c.default);r.default=p,p.displayName="TooltipAPI",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(5),n(6),n(4),n(9),n(7),n(25),n(60)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u,d,f){"use strict";var p=n(8),h=n(1);function m(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}
2Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=h(o),i=h(i),a=h(a),s=h(s),l=h(l),c=h(c),u=p(u),d=h(d),f=h(f);var v=function(e){(0,a.default)(r,e);var t,n=(t=r,function(){var e,n=(0,l.default)(t);if(m()){var r=(0,l.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function r(){return(0,o.default)(this,r),n.apply(this,arguments)}return(0,i.default)(r,[{key:"keydown",value:function(e){switch(this.beforeKeydownProcessing(e),e.keyCode){case u.keyCodes.BACKSPACE:this.backspace(e);break;case u.keyCodes.ENTER:this.enter(e);break;case u.keyCodes.DOWN:case u.keyCodes.RIGHT:this.arrowRightAndDown(e);break;case u.keyCodes.UP:case u.keyCodes.LEFT:this.arrowLeftAndUp(e);break;case u.keyCodes.TAB:this.tabPressed(e)}}},{key:"beforeKeydownProcessing",value:function(e){this.needToolbarClosing(e)&&u.isPrintableKey(e.keyCode)&&(this.Editor.Toolbar.close(),this.Editor.ConversionToolbar.close(),e.ctrlKey||e.metaKey||e.altKey||e.shiftKey||(this.Editor.BlockManager.clearFocused(),this.Editor.BlockSelection.clearSelection(e)))}},{key:"keyup",value:function(e){e.shiftKey||this.Editor.UI.checkEmptiness()}},{key:"tabPressed",value:function(e){this.Editor.BlockSelection.clearSelection(e);var t=this.Editor,n=t.BlockManager,r=t.InlineToolbar,o=t.ConversionToolbar,i=n.currentBlock;if(i){var a=i.tool.isDefault&&i.isEmpty,s=!i.isEmpty&&o.opened,l=!i.isEmpty&&!d.default.isCollapsed&&r.opened;a?this.activateToolbox():s||l||this.activateBlockSettings()}}},{key:"dragOver",value:function(e){this.Editor.BlockManager.getBlockByChildNode(e.target).dropTarget=!0}},{key:"dragLeave",value:function(e){this.Editor.BlockManager.getBlockByChildNode(e.target).dropTarget=!1}},{key:"handleCommandC",value:function(e){var t=this.Editor.BlockSelection;t.anyBlockSelected&&t.copySelectedBlocks(e)}},{key:"handleCommandX",value:function(e){var t=this.Editor,n=t.BlockSelection,r=t.BlockManager,o=t.Caret;n.anyBlockSelected&&n.copySelectedBlocks(e).then((function(){var t=r.removeSelectedBlocks(),i=r.insertDefaultBlockAtIndex(t,!0);o.setToBlock(i,o.positions.START),n.clearSelection(e)}))}},{key:"enter",value:function(e){var t=this.Editor,n=t.BlockManager,r=t.UI;if(!n.currentBlock.tool.isLineBreaksEnabled&&!(r.someToolbarOpened&&r.someFlipperButtonFocused||e.shiftKey)){var o=this.Editor.BlockManager.currentBlock;this.Editor.Caret.isAtStart&&!this.Editor.BlockManager.currentBlock.hasMedia?this.Editor.BlockManager.insertDefaultBlockAtIndex(this.Editor.BlockManager.currentBlockIndex):o=this.Editor.BlockManager.split(),this.Editor.Caret.setToBlock(o),o.tool.isDefault&&o.isEmpty&&(this.Editor.Toolbar.open(!1),this.Editor.Toolbar.plusButton.show()),e.preventDefault()}}},{key:"backspace",value:function(e){var t=this.Editor,n=t.BlockManager,r=t.BlockSelection,o=t.Caret,i=n.currentBlock,a=i.tool;if(i.selected||i.isEmpty&&i.currentInput===i.firstInput){e.preventDefault();var s=n.currentBlockIndex;return n.previousBlock&&0===n.previousBlock.inputs.length?n.removeBlock(s-1):n.removeBlock(),o.setToBlock(n.currentBlock,s?o.positions.END:o.positions.START),this.Editor.Toolbar.close(),void r.clearSelection(e)}if(!a.isLineBreaksEnabled||o.isAtStart){var l=0===n.currentBlockIndex;o.isAtStart&&d.default.isCollapsed&&i.currentInput===i.firstInput&&!l&&(e.preventDefault(),this.mergeBlocks())}}},{key:"mergeBlocks",value:function(){var e=this.Editor,t=e.BlockManager,n=e.Caret,r=e.Toolbar,o=t.previousBlock,i=t.currentBlock;if(i.name!==o.name||!o.mergeable)return 0===o.inputs.length||o.isEmpty?(t.removeBlock(t.currentBlockIndex-1),n.setToBlock(t.currentBlock),void r.close()):void(n.navigatePrevious()&&r.close());n.createShadow(o.pluginsContent),t.mergeBlocks(o,i).then((function(){n.restoreCaret(o.pluginsContent),o.pluginsContent.normalize(),r.close()}))}},{key:"arrowRightAndDown",value:function(e){var t=this,n=f.default.usedKeys.includes(e.keyCode)&&(!e.shiftKey||e.keyCode===u.keyCodes.TAB);if(!this.Editor.UI.someToolbarOpened||!n){this.Editor.BlockManager.clearFocused(),this.Editor.Toolbar.close();var r=this.Editor.Caret.isAtEnd||this.Editor.BlockSelection.anyBlockSelected;e.shiftKey&&e.keyCode===u.keyCodes.DOWN&&r?this.Editor.CrossBlockSelection.toggleBlockSelectedState():((e.keyCode===u.keyCodes.DOWN||e.keyCode===u.keyCodes.RIGHT&&!this.isRtl?this.Editor.Caret.navigateNext():this.Editor.Caret.navigatePrevious())?e.preventDefault():u.delay((function(){t.Editor.BlockManager.currentBlock&&t.Editor.BlockManager.currentBlock.updateCurrentInput()}),20)(),this.Editor.BlockSelection.clearSelection(e))}}},{key:"arrowLeftAndUp",value:function(e){var t=this;if(this.Editor.UI.someToolbarOpened){if(f.default.usedKeys.includes(e.ke
2yCode)&&(!e.shiftKey||e.keyCode===u.keyCodes.TAB))return;this.Editor.UI.closeAllToolbars()}this.Editor.BlockManager.clearFocused(),this.Editor.Toolbar.close();var n=this.Editor.Caret.isAtStart||this.Editor.BlockSelection.anyBlockSelected;e.shiftKey&&e.keyCode===u.keyCodes.UP&&n?this.Editor.CrossBlockSelection.toggleBlockSelectedState(!1):((e.keyCode===u.keyCodes.UP||e.keyCode===u.keyCodes.LEFT&&!this.isRtl?this.Editor.Caret.navigatePrevious():this.Editor.Caret.navigateNext())?e.preventDefault():u.delay((function(){t.Editor.BlockManager.currentBlock&&t.Editor.BlockManager.currentBlock.updateCurrentInput()}),20)(),this.Editor.BlockSelection.clearSelection(e))}},{key:"needToolbarClosing",value:function(e){var t=e.keyCode===u.keyCodes.ENTER&&this.Editor.Toolbox.opened,n=e.keyCode===u.keyCodes.ENTER&&this.Editor.BlockSettings.opened,r=e.keyCode===u.keyCodes.ENTER&&this.Editor.InlineToolbar.opened,o=e.keyCode===u.keyCodes.ENTER&&this.Editor.ConversionToolbar.opened,i=e.keyCode===u.keyCodes.TAB;return!(e.shiftKey||i||t||n||r||o)}},{key:"activateToolbox",value:function(){this.Editor.Toolbar.opened||(this.Editor.Toolbar.open(!1,!1),this.Editor.Toolbar.plusButton.show()),this.Editor.Toolbox.open()}},{key:"activateBlockSettings",value:function(){this.Editor.Toolbar.opened||(this.Editor.BlockManager.currentBlock.focused=!0,this.Editor.Toolbar.open(!0,!1),this.Editor.Toolbar.plusButton.hide()),this.Editor.BlockSettings.opened||this.Editor.BlockSettings.open()}}]),r}(c.default);r.default=v,v.displayName="BlockEvents",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(23),n(24),n(2),n(3),n(5),n(6),n(4),n(66),n(9),n(15),n(7),n(382),n(111)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u,d,f,p,h,m,v){"use strict";var g=n(8),y=n(1);function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=y(o),i=y(i),a=y(a),s=y(s),l=y(l),c=y(c),u=y(u),d=g(d),f=y(f),p=y(p),h=g(h),m=y(m),v=y(v);var _=function(e){(0,l.default)(g,e);var t,n,r,f=(t=g,function(){var e,n=(0,u.default)(t);if(b()){var r=(0,u.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,c.default)(this,e)});function g(){var e;return(0,a.default)(this,g),(e=f.apply(this,arguments))._currentBlockIndex=-1,e._blocks=null,e}return(0,s.default)(g,[{key:"prepare",value:function(){var e=this,t=new m.default(this.Editor.UI.nodes.redactor);this._blocks=new Proxy(t,{set:m.default.set,get:m.default.get}),this.listeners.on(document,"copy",(function(t){return e.Editor.BlockEvents.handleCommandC(t)}))}},{key:"toggleReadOnly",value:function(e){e?this.disableModuleBindings():this.enableModuleBindings()}},{key:"composeBlock",value:function(e){var t=e.tool,n=e.data,r=void 0===n?{}:n,o=e.id,i=void 0===o?void 0:o,a=e.tunes,s=void 0===a?{}:a,l=this.Editor.ReadOnly.isEnabled,c=this.Editor.Tools.blockTools.get(t),u=new d.default({id:i,data:r,tool:c,api:this.Editor.API,readOnly:l,tunesData:s});return l||this.bindBlockEvents(u),u}},{key:"insert",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.id,n=void 0===t?void 0:t,r=e.tool,o=void 0===r?this.config.defaultBlock:r,i=e.data,a=void 0===i?{}:i,s=e.index,l=e.needToFocus,c=void 0===l||l,u=e.replace,d=void 0!==u&&u,f=e.tunes,p=void 0===f?{}:f,h=s;void 0===h&&(h=this.currentBlockIndex+(d?0:1));var m=this.composeBlock({id:n,tool:o,data:a,tunes:p});return this._blocks.insert(h,m,d),this.blockDidMutated(m),c?this.currentBlockIndex=h:h<=this.currentBlockIndex&&this.currentBlockIndex++,m}},{key:"replace",value:function(e){var t=e.tool,n=void 0===t?this.config.defaultBlock:t,r=e.data,o=void 0===r?{}:r;return this.insert({tool:n,data:o,index:this.currentBlockIndex,replace:!0})}},{key:"paste",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=this.insert({tool:e,replace:n});try{r.call(d.BlockToolAPI.ON_PASTE,t)}catch(t){h.log("".concat(e,": onPaste callback call is failed"),"error",t)}return r}},{key:"insertDefaultBlockAtIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.composeBlock({tool:this.config.defaultBlock});return this._blocks[e]=n,this.blockDidMutated(n),t?this.currentBlockIndex=e:e<=this.currentBlockIndex&&this.currentBlockIndex++,n}},{key:"insertAtEnd",value:function(){return this.currentBlockIndex=this.blocks.length-1,this.insert()}},{key:"mergeBlocks",value:(r=(0,i.default)(o.default.mark((function e(t,n){var r,i;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this._blocks.indexOf(n),!n.isEmpty){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,n.data;case 5:if(i=e.sent,h.isEmpty(i)){e.next=9;break}return e.next=9,t.mergeWith(i);case 9:this.removeBlock(r),this.currentBlockIndex=this._blocks.indexOf(t);case 11:case"end":return e.stop()}}),e,this)}))),function(e,t){return r.apply(this,arguments)})},{key:"removeBlock",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.currentBlockIndex;if(!this.validateIndex(e))throw new Error("Can't find a Block to remove");var t=this._blocks[e];t.destroy(),this._blocks.remove(e),this.blockDidMutated(t),this.currentBlockIndex>=e&&this.currentBlockIndex--,this.blocks.length?0===e&&(this.currentBlockIndex=0):(this.currentBlockIndex=-1,this.insert()
2)}},{key:"removeSelectedBlocks",value:function(){for(var e,t=this.blocks.length-1;t>=0;t--)this.blocks[t].selected&&(this.removeBlock(t),e=t);return e}},{key:"removeAllBlocks",value:function(){for(var e=this.blocks.length-1;e>=0;e--)this._blocks.remove(e);this.currentBlockIndex=-1,this.insert(),this.currentBlock.firstInput.focus()}},{key:"split",value:function(){var e=this.Editor.Caret.extractFragmentFromCaretPosition(),t=p.default.make("div");t.appendChild(e);var n={text:p.default.isEmpty(t)?"":t.innerHTML};return this.insert({data:n})}},{key:"getBlockByIndex",value:function(e){return this._blocks[e]}},{key:"getBlockIndex",value:function(e){return this._blocks.indexOf(e)}},{key:"getBlockById",value:function(e){return this._blocks.array.find((function(t){return t.id===e}))}},{key:"getBlock",value:function(e){p.default.isElement(e)||(e=e.parentNode);var t=this._blocks.nodes,n=e.closest(".".concat(d.default.CSS.wrapper)),r=t.indexOf(n);if(r>=0)return this._blocks[r]}},{key:"highlightCurrentNode",value:function(){this.clearFocused(),this.currentBlock.focused=!0}},{key:"clearFocused",value:function(){this.blocks.forEach((function(e){e.focused=!1}))}},{key:"setCurrentBlockByChildNode",value:function(e){p.default.isElement(e)||(e=e.parentNode);var t=e.closest(".".concat(d.default.CSS.wrapper));if(t){var n=t.closest(".".concat(this.Editor.UI.CSS.editorWrapper));if(null==n?void 0:n.isEqualNode(this.Editor.UI.nodes.wrapper))return this.currentBlockIndex=this._blocks.nodes.indexOf(t),this.currentBlock.updateCurrentInput(),this.currentBlock}}},{key:"getBlockByChildNode",value:function(e){p.default.isElement(e)||(e=e.parentNode);var t=e.closest(".".concat(d.default.CSS.wrapper));return this.blocks.find((function(e){return e.holder===t}))}},{key:"swap",value:function(e,t){this._blocks.swap(e,t),this.currentBlockIndex=t}},{key:"move",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.currentBlockIndex;isNaN(e)||isNaN(t)?h.log("Warning during 'move' call: incorrect indices provided.","warn"):this.validateIndex(e)&&this.validateIndex(t)?(this._blocks.move(e,t),this.currentBlockIndex=e,this.blockDidMutated(this.currentBlock)):h.log("Warning during 'move' call: indices cannot be lower than 0 or greater than the amount of blocks.","warn")}},{key:"dropPointer",value:function(){this.currentBlockIndex=-1,this.clearFocused()}},{key:"clear",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._blocks.removeAll(),this.dropPointer(),e&&this.insert(),this.Editor.UI.checkEmptiness()}},{key:"destroy",value:(n=(0,i.default)(o.default.mark((function e(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(this.blocks.map((function(e){return e.destroy()})));case 2:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"bindBlockEvents",value:function(e){var t=this,n=this.Editor.BlockEvents;this.readOnlyMutableListeners.on(e.holder,"keydown",(function(e){n.keydown(e)})),this.readOnlyMutableListeners.on(e.holder,"keyup",(function(e){n.keyup(e)})),this.readOnlyMutableListeners.on(e.holder,"dragover",(function(e){n.dragOver(e)})),this.readOnlyMutableListeners.on(e.holder,"dragleave",(function(e){n.dragLeave(e)})),e.on("didMutated",(function(e){return t.blockDidMutated(e)}))}},{key:"disableModuleBindings",value:function(){this.readOnlyMutableListeners.clearAll()}},{key:"enableModuleBindings",value:function(){var e=this;this.readOnlyMutableListeners.on(document,"cut",(function(t){return e.Editor.BlockEvents.handleCommandX(t)})),this.blocks.forEach((function(t){e.bindBlockEvents(t)}))}},{key:"validateIndex",value:function(e){return!(e<0||e>=this._blocks.length)}},{key:"blockDidMutated",value:function(e){return this.Editor.ModificationsObserver.onChange(new v.default(e)),e}},{key:"currentBlockIndex",get:function(){return this._currentBlockIndex},set:function(e){this._blocks[this._currentBlockIndex]&&this._blocks[this._currentBlockIndex].willUnselect(),this._blocks[e]&&this._blocks[e].willSelect(),this._currentBlockIndex=e}},{key:"firstBlock",get:function(){return this._blocks[0]}},{key:"lastBlock",get:function(){return this._blocks[this._blocks.length-1]}},{key:"currentBlock",get:function(){return this._blocks[this.currentBlockIndex]}},{key:"nextBlock",get:function(){return this.currentBlockIndex===this._blocks.length-1?null:this._blocks[this.currentBlockIndex+1]}},{key:"nextContentfulBlock",get:function(){return this.blocks.slice(this.currentBlockIndex+1).find((function(e){return!!e.inputs.length}))}},{key:"previousContentfulBlock",get:function(){return this.blocks.slice(0,this.currentBlockIndex).reverse().find((function(e){return!!e.inputs.length}))}},{key:"previousBlock",get:function(){return 0===this.currentBlockIndex?null:this._blocks[this.currentBlockIndex-1]}},{key:"blocks",get:function(){return this._blocks.array}},{key:"isEditorEmpty",get:function(){return this.blocks.every((function(e){return e.isEmpty}))}}]),g}(f.default);r.default=_,_.displayName="BlockManager",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r=n(381);function o(t,n,i){return"undefined"!=typeof Reflect&&Reflect.get?e.exports=o=Reflect.get:e.exports=o=function(e,t,n){var o=r(e,t);if(o){var i=Object.getOwnPropertyDescriptor(o,t);return i.get?i.get.call(n):i.value}},o(t,n,i||t)}e.exports=o},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(5),n(6),n(4),n(9),n(7),n(15),n(112),n(25),n(65)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u,d,f,p,h){"use strict";var m=n(8),v=n(1);function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}
2Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=v(o),i=v(i),a=v(a),s=v(s),l=v(l),c=v(c),u=m(u),d=v(d),f=v(f),p=v(p);var y=function(e){(0,a.default)(r,e);var t,n=(t=r,function(){var e,n=(0,l.default)(t);if(g()){var r=(0,l.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function r(){var e;return(0,o.default)(this,r),(e=n.apply(this,arguments)).anyBlockSelectedCache=null,e.needToSelectAll=!1,e.nativeInputSelected=!1,e.readyToBlockSelection=!1,e}return(0,i.default)(r,[{key:"prepare",value:function(){var e=this;this.selection=new p.default,f.default.add({name:"CMD+A",handler:function(t){var n=e.Editor,r=n.BlockManager;if(n.ReadOnly.isEnabled)return t.preventDefault(),void e.selectAllBlocks();r.currentBlock&&e.handleCommandA(t)},on:this.Editor.UI.nodes.redactor})}},{key:"toggleReadOnly",value:function(e){p.default.get().removeAllRanges(),this.allBlocksSelected=!1}},{key:"unSelectBlockByIndex",value:function(e){var t=this.Editor.BlockManager;(isNaN(e)?t.currentBlock:t.getBlockByIndex(e)).selected=!1,this.clearCache()}},{key:"clearSelection",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.Editor,r=n.BlockManager,o=n.Caret,i=n.RectangleSelection;this.needToSelectAll=!1,this.nativeInputSelected=!1,this.readyToBlockSelection=!1;var a=e&&e instanceof KeyboardEvent,s=a&&u.isPrintableKey(e.keyCode);if(this.anyBlockSelected&&a&&s&&!p.default.isSelectionExists){var l=r.removeSelectedBlocks();r.insertDefaultBlockAtIndex(l,!0),o.setToBlock(r.currentBlock),u.delay((function(){var t=e.key;o.insertContentAtCaretPosition(t.length>1?"":t)}),20)()}this.Editor.CrossBlockSelection.clear(e),this.anyBlockSelected&&!i.isRectActivated()?(t&&this.selection.restore(),this.allBlocksSelected=!1):this.Editor.RectangleSelection.clearSelection()}},{key:"copySelectedBlocks",value:function(e){var t=this;e.preventDefault();var n=d.default.make("div");this.selectedBlocks.forEach((function(e){var r=(0,h.clean)(e.holder.innerHTML,t.sanitizerConfig),o=d.default.make("p");o.innerHTML=r,n.appendChild(o)}));var r=Array.from(n.childNodes).map((function(e){return e.textContent})).join("\n\n"),o=n.innerHTML;return e.clipboardData.setData("text/plain",r),e.clipboardData.setData("text/html",o),Promise.all(this.selectedBlocks.map((function(e){return e.save()}))).then((function(n){try{e.clipboardData.setData(t.Editor.Paste.MIME_TYPE,JSON.stringify(n))}catch(e){}}))}},{key:"selectBlockByIndex",value:function(e){var t,n=this.Editor.BlockManager;n.clearFocused(),t=isNaN(e)?n.currentBlock:n.getBlockByIndex(e),this.selection.save(),p.default.get().removeAllRanges(),t.selected=!0,this.clearCache(),this.Editor.InlineToolbar.close()}},{key:"clearCache",value:function(){this.anyBlockSelectedCache=null}},{key:"destroy",value:function(){f.default.remove(this.Editor.UI.nodes.redactor,"CMD+A")}},{key:"handleCommandA",value:function(e){if(this.Editor.RectangleSelection.clearSelection(),!d.default.isNativeInput(e.target)||this.readyToBlockSelection){var t=this.Editor.BlockManager.getBlock(e.target).inputs;t.length>1&&!this.readyToBlockSelection?this.readyToBlockSelection=!0:1!==t.length||this.needToSelectAll?this.needToSelectAll?(e.preventDefault(),this.selectAllBlocks(),this.needToSelectAll=!1,this.readyToBlockSelection=!1,this.Editor.ConversionToolbar.close()):this.readyToBlockSelection&&(e.preventDefault(),this.selectBlockByIndex(),this.needToSelectAll=!0):this.needToSelectAll=!0}else this.readyToBlockSelection=!0}},{key:"selectAllBlocks",value:function(){this.selection.save(),p.default.get().removeAllRanges(),this.allBlocksSelected=!0,this.Editor.InlineToolbar.close()}},{key:"sanitizerConfig",get:function(){return{p:{},h1:{},h2:{},h3:{},h4:{},h5:{},h6:{},ol:{},ul:{},li:{},br:!0,img:{src:!0,width:!0,height:!0},a:{href:!0},b:{},i:{},u:{}}}},{key:"allBlocksSelected",get:function(){return this.Editor.BlockManager.blocks.every((function(e){return!0===e.selected}))},set:function(e){this.Editor.BlockManager.blocks.forEach((function(t){t.selected=e})),this.clearCache()}},{key:"anyBlockSelected",get:function(){var e=this.Editor.BlockManager;return null===this.anyBlockSelectedCache&&(this.anyBlockSelectedCache=e.blocks.some((function(e){return!0===e.selected}))),this.anyBlockSelectedCache}},{key:"selectedBlocks",get:function(){return this.Editor.BlockManager.blocks.filter((function(e){return e.selected}))}}]),r}(c.default);r.default=y,y.displayName="BlockSelection",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(5),n(6),n(4),n(25),n(9),n(1
25),n(7)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u,d,f){"use strict";var p=n(8),h=n(1);function m(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=h(o),i=h(i),a=h(a),s=h(s),l=h(l),c=h(c),u=h(u),d=h(d),f=p(f);var v=function(e){(0,a.default)(r,e);var t,n=(t=r,function(){var e,n=(0,l.default)(t);if(m()){var r=(0,l.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function r(){return(0,o.default)(this,r),n.apply(this,arguments)}return(0,i.default)(r,[{key:"setToBlock",value:function(e){var t,n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.positions.DEFAULT,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=this.Editor.BlockManager;switch(r){case this.positions.START:t=e.firstInput;break;case this.positions.END:t=e.lastInput;break;default:t=e.currentInput}if(t){var a=d.default.getDeepestNode(t,r===this.positions.END),s=d.default.getContentLength(a);switch(!0){case r===this.positions.START:o=0;break;case r===this.positions.END:case o>s:o=s}f.delay((function(){n.set(a,o)}),20)(),i.setCurrentBlockByChildNode(e.holder),i.currentBlock.currentInput=t}}},{key:"setToInput",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.positions.DEFAULT,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=this.Editor.BlockManager.currentBlock,o=d.default.getDeepestNode(e);switch(t){case this.positions.START:this.set(o,0);break;case this.positions.END:this.set(o,d.default.getContentLength(o));break;default:n&&this.set(o,n)}r.currentInput=e}},{key:"set",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=c.default.setCursor(e,t),r=n.top,o=n.bottom,i=window.innerHeight;r<0&&window.scrollBy(0,r),o>i&&window.scrollBy(0,o-i)}},{key:"setToTheLastBlock",value:function(){var e=this.Editor.BlockManager.lastBlock;if(e)if(e.tool.isDefault&&e.isEmpty)this.setToBlock(e);else{var t=this.Editor.BlockManager.insertAtEnd();this.setToBlock(t)}}},{key:"extractFragmentFromCaretPosition",value:function(){var e=c.default.get();if(e.rangeCount){var t=e.getRangeAt(0),n=this.Editor.BlockManager.currentBlock.currentInput;if(t.deleteContents(),n){if(d.default.isNativeInput(n)){var r=n,o=document.createDocumentFragment(),i=r.value.substring(0,r.selectionStart),a=r.value.substring(r.selectionStart);return o.textContent=a,r.value=i,o}var s=t.cloneRange();return s.selectNodeContents(n),s.setStart(t.endContainer,t.endOffset),s.extractContents()}}}},{key:"navigateNext",value:function(){var e=this.Editor.BlockManager,t=e.currentBlock,n=e.nextContentfulBlock,r=t.nextInput,o=this.isAtEnd,i=n;if(!i&&!r){if(t.tool.isDefault||!o)return!1;i=e.insertAtEnd()}return!!o&&(r?this.setToInput(r,this.positions.START):this.setToBlock(i,this.positions.START),!0)}},{key:"navigatePrevious",value:function(){var e=this.Editor.BlockManager,t=e.currentBlock,n=e.previousContentfulBlock;if(!t)return!1;var r=t.previousInput;return!(!n&&!r||!this.isAtStart||(r?this.setToInput(r,this.positions.END):this.setToBlock(n,this.positions.END),0))}},{key:"createShadow",value:function(e){var t=document.createElement("span");t.classList.add(r.CSS.shadowCaret),e.insertAdjacentElement("beforeend",t)}},{key:"restoreCaret",value:function(e){var t=e.querySelector(".".concat(r.CSS.shadowCaret));t&&((new c.default).expandToTag(t),setTimeout((function(){var e=document.createRange();e.selectNode(t),e.extractContents()}),50))}},{key:"insertContentAtCaretPosition",value:function(e){var t=document.createDocumentFragment(),n=document.createElement("div"),r=c.default.get(),o=c.default.range;n.innerHTML=e,Array.from(n.childNodes).forEach((function(e){return t.appendChild(e)})),0===t.childNodes.length&&t.appendChild(new Text);var i=t.lastChild;o.deleteContents(),o.insertNode(t);var a=document.createRange();a.setStart(i,i.textContent.length),r.removeAllRanges(),r.addRange(a)}},{key:"getHigherLevelSiblings",value:function(e,t){for(var n=e,r=[];n.parentNode&&"true"!==n.parentNode.contentEditable;)n=n.parentNode;for(var o="left"===t?"previousSibling":"nextSibling";n[o];)n=n[o],r.push(n);return r}},{key:"positions",get:function(){return{START:"start",END:"end",DEFAULT:"default"}}},{key:"isAtStart",get:function(){var e=c.default.get(),t=d.default.getDeepestNode(this.Editor.BlockManager.currentBlock.currentInput),n=e.focusNode;if(d.default.isNativeInput(t))return 0===t.selectionEnd;if(!e.anchorNode)return!1;var r=n.textContent.search(/\S/);-1===r&&(r=0);var o=e.focusOffset;return n.nodeType!==Node.TEXT_NODE&&n.childNodes.length&&(n.childNodes[o]?(n=n.childNodes[o],o=0):o=(n=n.childNodes[o-1]).textContent.length),!(!d.default.isLineBreakTag(t)&&!d.default.isEmpty(t)||!this.getHigherLevelSiblings(n,"left").every((function(e){var t=d.default.isLineBreakTag(e),n=1===e.children.length&&d.default.isLineBreakTag(e.children[0]),r=t||n;return d.default.isEmpty(e)&&!r}))||o!==r)||null===t||n===t&&o<=r}},{key:"isAtEnd",get:function(){var e=c.default.get(),t=e.focusNode,n=d.default.getDeepestNode(this.Editor.BlockManager.currentBlock.currentInput,!0);if(d.default.isNativeInput(n))return n.selectionEnd===n.value.length;if(!e.focusNode)return!1;var r=e.focusOffset;if(t.nodeType!==Node.TEXT_NODE&&t.childNodes.length&&(t.childNodes[r-1]?r=(t=t.childNodes[r-1]).textContent.length:(t=t.childNodes[0],r=0)),d.default.isLineBreakTag(n)||d.default.isEmpty(n)){var o=this.getHigherLevelSiblings(t,"right");if(o.every((function(e,t){return t===o.length-1&&d.default.isLineBreakTag(e)||d.default.isEmpty(e)&&!
2d.default.isLineBreakTag(e)}))&&r===t.textContent.length)return!0}var i=n.textContent.replace(/\s+$/,"");return t===n&&r>=i.length}}],[{key:"CSS",get:function(){return{shadowCaret:"cdx-shadow-caret"}}}]),r}(u.default);r.default=v,v.displayName="Caret",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(23),n(24),n(2),n(3),n(5),n(6),n(4),n(9),n(25),n(7)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u,d,f,p){"use strict";var h=n(8),m=n(1);function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=m(o),i=m(i),a=m(a),s=m(s),l=m(l),c=m(c),u=m(u),d=m(d),f=m(f),p=h(p);var g=function(e){(0,l.default)(d,e);var t,n,r=(t=d,function(){var e,n=(0,u.default)(t);if(v()){var r=(0,u.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,c.default)(this,e)});function d(){var e;return(0,a.default)(this,d),(e=r.apply(this,arguments)).onMouseUp=function(){e.listeners.off(document,"mouseover",e.onMouseOver),e.listeners.off(document,"mouseup",e.onMouseUp)},e.onMouseOver=function(t){var n=e.Editor,r=n.BlockManager,o=n.BlockSelection,i=r.getBlockByChildNode(t.relatedTarget)||e.lastSelectedBlock,a=r.getBlockByChildNode(t.target);if(i&&a&&a!==i){if(i===e.firstSelectedBlock)return f.default.get().removeAllRanges(),i.selected=!0,a.selected=!0,void o.clearCache();if(a===e.firstSelectedBlock)return i.selected=!1,a.selected=!1,void o.clearCache();e.Editor.InlineToolbar.close(),e.toggleBlocksSelectedState(i,a),e.lastSelectedBlock=a}},e}return(0,s.default)(d,[{key:"prepare",value:(n=(0,i.default)(o.default.mark((function e(){var t=this;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.listeners.on(document,"mousedown",(function(e){t.enableCrossBlockSelection(e)}));case 1:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"watchSelection",value:function(e){if(e.button===p.mouseButtons.LEFT){var t=this.Editor.BlockManager;this.firstSelectedBlock=t.getBlock(e.target),this.lastSelectedBlock=this.firstSelectedBlock,this.listeners.on(document,"mouseover",this.onMouseOver),this.listeners.on(document,"mouseup",this.onMouseUp)}}},{key:"toggleBlockSelectedState",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.Editor,n=t.BlockManager,r=t.BlockSelection;this.lastSelectedBlock||(this.lastSelectedBlock=this.firstSelectedBlock=n.currentBlock),this.firstSelectedBlock===this.lastSelectedBlock&&(this.firstSelectedBlock.selected=!0,r.clearCache(),f.default.get().removeAllRanges());var o=n.blocks.indexOf(this.lastSelectedBlock)+(e?1:-1),i=n.blocks[o];i&&(this.lastSelectedBlock.selected!==i.selected?(i.selected=!0,r.clearCache()):(this.lastSelectedBlock.selected=!1,r.clearCache()),this.lastSelectedBlock=i,this.Editor.InlineToolbar.close(),i.holder.scrollIntoView({block:"nearest"}))}},{key:"clear",value:function(e){var t=this.Editor,n=t.BlockManager,r=t.BlockSelection,o=t.Caret,i=n.blocks.indexOf(this.firstSelectedBlock),a=n.blocks.indexOf(this.lastSelectedBlock);if(r.anyBlockSelected&&i>-1&&a>-1)if(e&&e instanceof KeyboardEvent)switch(e.keyCode){case p.keyCodes.DOWN:case p.keyCodes.RIGHT:o.setToBlock(n.blocks[Math.max(i,a)],o.positions.END);break;case p.keyCodes.UP:case p.keyCodes.LEFT:o.setToBlock(n.blocks[Math.min(i,a)],o.positions.START);break;default:o.setToBlock(n.blocks[Math.max(i,a)],o.positions.END)}else o.setToBlock(n.blocks[Math.max(i,a)],o.positions.END);this.firstSelectedBlock=this.lastSelectedBlock=null}},{key:"enableCrossBlockSelection",value:function(e){var t=this.Editor.UI;f.default.isCollapsed||this.Editor.BlockSelection.clearSelection(e),t.nodes.redactor.contains(e.target)?this.watchSelection(e):this.Editor.BlockSelection.clearSelection(e)}},{key:"toggleBlocksSelectedState",value:function(e,t){for(var n=this.Editor,r=n.BlockManager,o=n.BlockSelection,i=r.blocks.indexOf(e),a=r.blocks.indexOf(t),s=e.selected!==t.selected,l=Math.min(i,a);l<=Math.max(i,a);l++){var c=r.blocks[l];c!==this.firstSelectedBlock&&c!==(s?e:t)&&(r.blocks[l].selected=!r.blocks[l].selected,o.clearCache())}}},{key:"isCrossBlockSelectionStarted",get:function(){return!!this.firstSelectedBlock&&!!this.lastSelectedBlock}}]),d}(d.default);r.default=g,g.displayName="CrossBlockSelection",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(23),n(24),n(2),n(3),n(5),n(6),n(4),n(25),n(9)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u,d,f){"use strict";var p=n(1);function h(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}
2Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=p(o),i=p(i),a=p(a),s=p(s),l=p(l),c=p(c),u=p(u),d=p(d);var m=function(e){(0,l.default)(f,e);var t,n,r=(t=f,function(){var e,n=(0,u.default)(t);if(h()){var r=(0,u.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,c.default)(this,e)});function f(){var e;return(0,a.default)(this,f),(e=r.apply(this,arguments)).isStartedAtEditor=!1,e}return(0,s.default)(f,[{key:"toggleReadOnly",value:function(e){e?this.disableModuleBindings():this.enableModuleBindings()}},{key:"enableModuleBindings",value:function(){var e=this,t=this.Editor.UI;this.readOnlyMutableListeners.on(t.nodes.holder,"drop",function(){var t=(0,i.default)(o.default.mark((function t(n){return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.processDrop(n);case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),!0),this.readOnlyMutableListeners.on(t.nodes.holder,"dragstart",(function(){e.processDragStart()})),this.readOnlyMutableListeners.on(t.nodes.holder,"dragover",(function(t){e.processDragOver(t)}),!0)}},{key:"disableModuleBindings",value:function(){this.readOnlyMutableListeners.clearAll()}},{key:"processDrop",value:(n=(0,i.default)(o.default.mark((function e(t){var n,r,i,a,s,l;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.Editor,r=n.BlockManager,i=n.Caret,a=n.Paste,t.preventDefault(),r.blocks.forEach((function(e){e.dropTarget=!1})),d.default.isAtEditor&&!d.default.isCollapsed&&this.isStartedAtEditor&&document.execCommand("delete"),this.isStartedAtEditor=!1,(s=r.setCurrentBlockByChildNode(t.target))?this.Editor.Caret.setToBlock(s,i.positions.END):(l=r.setCurrentBlockByChildNode(r.lastBlock.holder),this.Editor.Caret.setToBlock(l,i.positions.END)),e.next=9,a.processDataTransfer(t.dataTransfer,!0);case 9:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"processDragStart",value:function(){d.default.isAtEditor&&!d.default.isCollapsed&&(this.isStartedAtEditor=!0),this.Editor.InlineToolbar.close()}},{key:"processDragOver",value:function(e){e.preventDefault()}}]),f}((f=p(f)).default);r.default=m,m.displayName="DragNDrop",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(5),n(6),n(4),n(9),n(7)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u){"use strict";var d=n(8),f=n(1);function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=f(o),i=f(i),a=f(a),s=f(s),l=f(l),c=f(c),u=d(u);var h=function(e){(0,a.default)(r,e);var t,n=(t=r,function(){var e,n=(0,l.default)(t);if(p()){var r=(0,l.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function r(){var e;return(0,o.default)(this,r),(e=n.apply(this,arguments)).disabled=!1,e}return(0,i.default)(r,[{key:"enable",value:function(){this.disabled=!1}},{key:"disable",value:function(){this.disabled=!0}},{key:"onChange",value:function(e){!this.disabled&&u.isFunction(this.config.onChange)&&this.config.onChange(this.Editor.API.methods,e)}}]),r}(c.default);r.default=h,h.displayName="ModificationsObserver",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(42),n(30),n(23),n(24),n(2),n(3),n(5),n(6),n(4),n(9),n(15),n(7),n(65)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u,d,f,p,h,m,v){"use strict";var g=n(8),y=n(1);function b(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}
2Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=y(o),i=y(i),a=y(a),s=y(s),l=y(l),c=y(c),u=y(u),d=y(d),f=y(f),p=y(p),h=y(h),m=g(m);var _=function(e){(0,u.default)(C,e);var t,n,r,p,g,y,_,w,k,x=(t=C,function(){var e,n=(0,f.default)(t);if(b()){var r=(0,f.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,d.default)(this,e)});function C(){var e;return(0,l.default)(this,C),(e=x.apply(this,arguments)).MIME_TYPE="application/x-editor-js",e.toolsTags={},e.tagsByTool={},e.toolsPatterns=[],e.toolsFiles={},e.exceptionList=[],e.processTool=function(t){try{var n=t.create({},{},!1);if(!1===t.pasteConfig)return void e.exceptionList.push(t.name);if(!m.isFunction(n.onPaste))return;e.getTagsConfig(t),e.getFilesConfig(t),e.getPatternsConfig(t)}catch(e){m.log("Paste handling for «".concat(t.name,"» Tool hasn't been set up because of the error"),"warn",e)}},e.handlePasteEvent=function(){var t=(0,s.default)(a.default.mark((function t(n){var r,o,i;return a.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.Editor,o=r.BlockManager,i=r.Toolbar,o.currentBlock&&(!e.isNativeBehaviour(n.target)||n.clipboardData.types.includes("Files"))){t.next=3;break}return t.abrupt("return");case 3:if(!o.currentBlock||!e.exceptionList.includes(o.currentBlock.name)){t.next=5;break}return t.abrupt("return");case 5:n.preventDefault(),e.processDataTransfer(n.clipboardData),o.clearFocused(),i.close();case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),e}return(0,c.default)(C,[{key:"prepare",value:(k=(0,s.default)(a.default.mark((function e(){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.processTools();case 1:case"end":return e.stop()}}),e,this)}))),function(){return k.apply(this,arguments)})},{key:"toggleReadOnly",value:function(e){e?this.unsetCallback():this.setCallback()}},{key:"processDataTransfer",value:(w=(0,s.default)(a.default.mark((function e(t){var n,r,o,i,s,l,c,u,d,f=arguments;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=f.length>1&&void 0!==f[1]&&f[1],r=this.Editor.Tools,!((o=t.types).includes?o.includes("Files"):o.contains("Files"))){e.next=8;break}return e.next=7,this.processFiles(t.files);case 7:return e.abrupt("return");case 8:if(i=t.getData(this.MIME_TYPE),s=t.getData("text/plain"),l=t.getData("text/html"),!i){e.next=19;break}return e.prev=12,this.insertEditorJSData(JSON.parse(i)),e.abrupt("return");case 17:e.prev=17,e.t0=e.catch(12);case 19:if(n&&s.trim()&&l.trim()&&(l="<p>"+(l.trim()?l:s)+"</p>"),c=Object.keys(this.toolsTags).reduce((function(e,t){return e[t.toLowerCase()]=!0,e}),{}),u=Object.assign({},c,r.getAllInlineToolsSanitizeConfig(),{br:{}}),(d=(0,v.clean)(l,u)).trim()&&d.trim()!==s&&h.default.isHTMLString(d)){e.next=28;break}return e.next=26,this.processText(s);case 26:e.next=30;break;case 28:return e.next=30,this.processText(d,!0);case 30:case"end":return e.stop()}}),e,this,[[12,17]])}))),function(e){return w.apply(this,arguments)})},{key:"processText",value:(_=(0,s.default)(a.default.mark((function e(t){var n,r,o,i,l,c,u,d=this,f=arguments;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=f.length>1&&void 0!==f[1]&&f[1],r=this.Editor,o=r.Caret,i=r.BlockManager,(l=n?this.processHTML(t):this.processPlain(t)).length){e.next=5;break}return e.abrupt("return");case 5:if(1!==l.length){e.next=8;break}return l[0].isBlock?this.processSingleBlock(l.pop()):this.processInlinePaste(l.pop()),e.abrupt("return");case 8:c=i.currentBlock&&i.currentBlock.tool.isDefault,u=c&&i.currentBlock.isEmpty,l.map(function(){var e=(0,s.default)(a.default.mark((function e(t,n){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",d.insertBlock(t,0===n&&u));case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),i.currentBlock&&o.setToBlock(i.currentBlock,o.positions.END);case 12:case"end":return e.stop()}}),e,this)}))),function(e){return _.apply(this,arguments)})},{key:"setCallback",value:function(){this.listeners.on(this.Editor.UI.nodes.holder,"paste",this.handlePasteEvent)}},{key:"unsetCallback",value:function(){this.listeners.off(this.Editor.UI.nodes.holder,"paste",this.handlePasteEvent)}},{key:"processTools",value:function(){var e=this.Editor.Tools.blockTools;
2Array.from(e.values()).forEach(this.processTool)}},{key:"getTagsConfig",value:function(e){var t=this,n=e.pasteConfig.tags||[];n.forEach((function(n){Object.prototype.hasOwnProperty.call(t.toolsTags,n)?m.log("Paste handler for «".concat(e.name,"» Tool on «").concat(n,"» tag is skipped ")+"because it is already used by «".concat(t.toolsTags[n].tool.name,"» Tool."),"warn"):t.toolsTags[n.toUpperCase()]={tool:e}})),this.tagsByTool[e.name]=n.map((function(e){return e.toUpperCase()}))}},{key:"getFilesConfig",value:function(e){var t=e.pasteConfig.files,n=void 0===t?{}:t,r=n.extensions,o=n.mimeTypes;(r||o)&&(r&&!Array.isArray(r)&&(m.log("«extensions» property of the onDrop config for «".concat(e.name,"» Tool should be an array")),r=[]),o&&!Array.isArray(o)&&(m.log("«mimeTypes» property of the onDrop config for «".concat(e.name,"» Tool should be an array")),o=[]),o&&(o=o.filter((function(t){return!!m.isValidMimeType(t)||(m.log("MIME type value «".concat(t,"» for the «").concat(e.name,"» Tool is not a valid MIME type"),"warn"),!1)}))),this.toolsFiles[e.name]={extensions:r||[],mimeTypes:o||[]})}},{key:"getPatternsConfig",value:function(e){var t=this;e.pasteConfig.patterns&&!m.isEmpty(e.pasteConfig.patterns)&&Object.entries(e.pasteConfig.patterns).forEach((function(n){var r=(0,i.default)(n,2),o=r[0],a=r[1];a instanceof RegExp||m.log("Pattern ".concat(a," for «").concat(e.name,"» Tool is skipped because it should be a Regexp instance."),"warn"),t.toolsPatterns.push({key:o,pattern:a,tool:e})}))}},{key:"isNativeBehaviour",value:function(e){return h.default.isNativeInput(e)}},{key:"processFiles",value:(y=(0,s.default)(a.default.mark((function e(t){var n,r,o,i,s=this;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.Editor.BlockManager,e.next=3,Promise.all(Array.from(t).map((function(e){return s.processFile(e)})));case 3:r=(r=e.sent).filter((function(e){return!!e})),o=n.currentBlock.tool.isDefault,i=o&&n.currentBlock.isEmpty,r.forEach((function(e,t){n.paste(e.type,e.event,0===t&&i)}));case 8:case"end":return e.stop()}}),e,this)}))),function(e){return y.apply(this,arguments)})},{key:"processFile",value:(g=(0,s.default)(a.default.mark((function e(t){var n,r,o,s,l;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=m.getFileExtension(t),r=Object.entries(this.toolsFiles).find((function(e){var r=(0,i.default)(e,2),o=(r[0],r[1]),a=o.mimeTypes,s=o.extensions,l=t.type.split("/"),c=(0,i.default)(l,2),u=c[0],d=c[1],f=s.find((function(e){return e.toLowerCase()===n.toLowerCase()})),p=a.find((function(e){var t=e.split("/"),n=(0,i.default)(t,2),r=n[0],o=n[1];return r===u&&(o===d||"*"===o)}));return!!f||!!p}))){e.next=4;break}return e.abrupt("return");case 4:return o=(0,i.default)(r,1),s=o[0],l=this.composePasteEvent("file",{file:t}),e.abrupt("return",{event:l,type:s});case 7:case"end":return e.stop()}}),e,this)}))),function(e){return g.apply(this,arguments)})},{key:"processHTML",value:function(e){var t=this,n=this.Editor.Tools,r=h.default.make("DIV");return r.innerHTML=e,this.getNodes(r).map((function(e){var r,o=n.defaultTool,i=!1;switch(e.nodeType){case Node.DOCUMENT_FRAGMENT_NODE:(r=h.default.make("div")).appendChild(e);break;case Node.ELEMENT_NODE:r=e,i=!0,t.toolsTags[r.tagName]&&(o=t.toolsTags[r.tagName].tool)}var a=o.pasteConfig.tags.reduce((function(e,t){return e[t.toLowerCase()]={},e}),{}),s=Object.assign({},a,o.baseSanitizeConfig);r.innerHTML=(0,v.clean)(r.innerHTML,s);var l=t.composePasteEvent("tag",{data:r});return{content:r,isBlock:i,tool:o.name,event:l}})).filter((function(e){return!h.default.isNodeEmpty(e.content)||h.default.isSingleTag(e.content)}))}},{key:"processPlain",value:function(e){var t=this,n=this.config.defaultBlock;if(!e)return[];var r=n;return e.split(/\r?\n/).filter((function(e){return e.trim()})).map((function(e){var n=h.default.make("div");n.textContent=e;var o=t.composePasteEvent("tag",{data:n});return{content:n,tool:r,isBlock:!1,event:o}}))}},{key:"processSingleBlock",value:(p=(0,s.default)(a.default.mark((function e(t){var n,r,o,i;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.Editor,r=n.Caret,o=n.BlockManager,(i=o.currentBlock)&&t.tool===i.name&&h.default.containsOnlyInlineElements(t.content.innerHTML)){e.next=5;break}return this.insertBlock(t,(null==i?void 0:i.tool.isDefault)&&i.isEmpty),e.abrupt("return");case 5:r.insertContentAtCaretPosition(t.content.innerHTML);case 6:case"end":return e.stop()}}),e,this)}))),function(e){return p.apply(this,arguments)})},{key:"processInlinePaste",value:(r=(0,s.default)(a.default.mark((function e(t){var n,r,o,i,s,l,c,u;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.Editor,r=n.BlockManager,o=n.Caret,i=t.content,!(r.currentBlock&&r.currentBlock.tool.isDefault&&i.textContent.length<C.PATTERN_PROCESSING_MAX_LENGTH)){e.next=12;break}return e.next=6,this.processPattern(i.textContent);case 6:if(!(s=e.sent)){e.next=12;break}return l=r.currentBlock&&r.currentBlock.tool.isDefault&&r.currentBlock.isEmpty,c=r.paste(s.tool,s.event,l),o.setToBlock(c,o.positions.END),e.abrupt("return");case 12:r.currentBlock&&r.currentBlock.currentInput?(u=r.currentBlock.tool.sanitizeConfig,document.execCommand("insertHTML",!1,(0,v.clean)(i.innerHTML,u))):this.insertBlock(t);case 13:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"processPattern",value:(n=(0,s.default)(a.default.mark((function e(t){var n,r;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.toolsPatterns.find((function(e){var n=e.pattern.exec(t);return!!n&&t===n.shift()}))){e.next=3;break}return e.abrupt("return");
2case 3:return r=this.composePasteEvent("pattern",{key:n.key,data:t}),e.abrupt("return",{event:r,tool:n.tool.name});case 5:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"insertBlock",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.Editor,o=r.BlockManager,i=r.Caret,a=o.currentBlock;if(n&&a&&a.isEmpty)return t=o.paste(e.tool,e.event,!0),void i.setToBlock(t,i.positions.END);t=o.paste(e.tool,e.event),i.setToBlock(t,i.positions.END)}},{key:"insertEditorJSData",value:function(e){var t=this.Editor,n=t.BlockManager,r=t.Caret,o=t.Tools;(0,v.sanitizeBlocks)(e,(function(e){return o.blockTools.get(e).sanitizeConfig})).forEach((function(e,t){var o=e.tool,i=e.data,a=!1;0===t&&(a=n.currentBlock&&n.currentBlock.tool.isDefault&&n.currentBlock.isEmpty);var s=n.insert({tool:o,data:i,replace:a});r.setToBlock(s,r.positions.END)}))}},{key:"processElementNode",value:function(e,t,n){var r=Object.keys(this.toolsTags),i=e,a=(this.toolsTags[i.tagName]||{}).tool,s=this.tagsByTool[null==a?void 0:a.name]||[],l=r.includes(i.tagName),c=h.default.blockElements.includes(i.tagName.toLowerCase()),u=Array.from(i.children).some((function(e){var t=e.tagName;return r.includes(t)&&!s.includes(t)})),d=Array.from(i.children).some((function(e){var t=e.tagName;return h.default.blockElements.includes(t.toLowerCase())}));return c||l||u?l&&!u||c&&!d&&!u?[].concat((0,o.default)(t),[n,i]):void 0:(n.appendChild(i),[].concat((0,o.default)(t),[n]))}},{key:"getNodes",value:function(e){var t,n=this;return Array.from(e.childNodes).reduce((function e(r,i){if(h.default.isEmpty(i)&&!h.default.isSingleTag(i))return r;var a=r[r.length-1],s=new DocumentFragment;switch(a&&h.default.isFragment(a)&&(s=r.pop()),i.nodeType){case Node.ELEMENT_NODE:if(t=n.processElementNode(i,r,s))return t;break;case Node.TEXT_NODE:return s.appendChild(i),[].concat((0,o.default)(r),[s]);default:return[].concat((0,o.default)(r),[s])}return[].concat((0,o.default)(r),(0,o.default)(Array.from(i.childNodes).reduce(e,[])))}),[])}},{key:"composePasteEvent",value:function(e,t){return new CustomEvent(e,{detail:t})}}]),C}(p.default);r.default=_,_.displayName="Paste",_.PATTERN_PROCESSING_MAX_LENGTH=450,e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(23),n(30),n(24),n(2),n(3),n(5),n(6),n(4),n(9),n(148)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u,d,f,p){"use strict";var h=n(1);function m(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=h(o),i=h(i),a=h(a),s=h(s),l=h(l),c=h(c),u=h(u),d=h(d);var v=function(e){(0,c.default)(h,e);var t,n,r,f=(t=h,function(){var e,n=(0,d.default)(t);if(m()){var r=(0,d.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,u.default)(this,e)});function h(){var e;return(0,s.default)(this,h),(e=f.apply(this,arguments)).toolsDontSupportReadOnly=[],e.readOnlyEnabled=!1,e}return(0,l.default)(h,[{key:"prepare",value:(r=(0,a.default)(o.default.mark((function e(){var t,n,r;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=this.Editor.Tools,n=t.blockTools,r=[],Array.from(n.entries()).forEach((function(e){var t=(0,i.default)(e,2),n=t[0];t[1].isReadOnlySupported||r.push(n)})),this.toolsDontSupportReadOnly=r,this.config.readOnly&&r.length>0&&this.throwCriticalError(),this.toggle(this.config.readOnly);case 7:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"toggle",value:(n=(0,a.default)(o.default.mark((function e(){var t,n,r,i,a=arguments;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(t=a.length>0&&void 0!==a[0]?a[0]:!this.readOnlyEnabled)&&this.toolsDontSupportReadOnly.length>0&&this.throwCriticalError(),n=this.readOnlyEnabled,this.readOnlyEnabled=t,e.t0=o.default.keys(this.Editor);case 5:if((e.t1=e.t0()).done){e.next=12;break}if(r=e.t1.value,this.Editor[r].toggleReadOnly){e.next=9;break}return e.abrupt("continue",5);case 9:this.Editor[r].toggleReadOnly(t),e.next=5;break;case 12:if(n!==t){e.next=14;break}return e.abrupt("return",this.readOnlyEnabled);case 14:return e.next=16,this.Editor.Saver.save();case 16:return i=e.sent,e.next=19,this.Editor.BlockManager.clear();case 19:return e.next=21,this.Editor.Renderer.render(i.blocks);case 21:return e.abrupt("return",this.readOnlyEnabled);case 22:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"throwCriticalError",value:function(){throw new p.CriticalError("To enable read-only mode all connected tools should support it. Tools ".concat(this.toolsDontSupportReadOnly.join(", ")," don't support read-only mode."))}},{key:"isEnabled",get:function(){return this.readOnlyEnabled}}]),h}((f=h(f)).default);r.default=v,v.displayName="ReadOnly",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(5),n(6),n(4),n(9),n(1
25),n(25),n(66)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u,d,f){"use strict";var p=n(1);function h(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,i=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return i=e.done,e},e:function(e){a=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(a)throw o}}}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=p(o),i=p(i),a=p(a),s=p(s),l=p(l),c=p(c),u=p(u),d=p(d),f=p(f);var g=function(e){(0,a.default)(r,e);var t,n=(t=r,function(){var e,n=(0,l.default)(t);if(v()){var r=(0,l.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function r(){var e;return(0,o.default)(this,r),(e=n.apply(this,arguments)).isRectSelectionActivated=!1,e.SCROLL_SPEED=3,e.HEIGHT_OF_SCROLL_ZONE=40,e.BOTTOM_SCROLL_ZONE=1,e.TOP_SCROLL_ZONE=2,e.MAIN_MOUSE_BUTTON=0,e.mousedown=!1,e.isScrolling=!1,e.inScrollZone=null,e.startX=0,e.startY=0,e.mouseX=0,e.mouseY=0,e.stackOfSelected=[],e.listenerIds=[],e}return(0,i.default)(r,[{key:"prepare",value:function(){this.enableModuleBindings()}},{key:"startSelection",value:function(e,t){var n=document.elementFromPoint(e-window.pageXOffset,t-window.pageYOffset);n.closest(".".concat(this.Editor.Toolbar.CSS.toolbar))||(this.Editor.BlockSelection.allBlocksSelected=!1,this.clearSelection(),this.stackOfSelected=[]);var r=[".".concat(f.default.CSS.content),".".concat(this.Editor.Toolbar.CSS.toolbar),".".concat(this.Editor.InlineToolbar.CSS.inlineToolbar)],o=n.closest("."+this.Editor.UI.CSS.editorWrapper),i=r.some((function(e){return!!n.closest(e)}));o&&!i&&(this.mousedown=!0,this.startX=e,this.startY=t)}},{key:"endSelection",value:function(){this.mousedown=!1,this.startX=0,this.startY=0,this.overlayRectangle.style.display="none"}},{key:"isRectActivated",value:function(){return this.isRectSelectionActivated}},{key:"clearSelection",value:function(){this.isRectSelectionActivated=!1}},{key:"enableModuleBindings",value:function(){var e=this,t=this.genHTML().container;this.listeners.on(t,"mousedown",(function(t){e.processMouseDown(t)}),!1),this.listeners.on(document.body,"mousemove",(function(t){e.processMouseMove(t)}),!1),this.listeners.on(document.body,"mouseleave",(function(){e.processMouseLeave()})),this.listeners.on(window,"scroll",(function(t){e.processScroll(t)}),!1),this.listeners.on(document.body,"mouseup",(function(){e.processMouseUp()}),!1)}},{key:"processMouseDown",value:function(e){e.button===this.MAIN_MOUSE_BUTTON&&(null!==e.target.closest(u.default.allInputsSelector)||this.startSelection(e.pageX,e.pageY))}},{key:"processMouseMove",value:function(e){this.changingRectangle(e),this.scrollByZones(e.clientY)}},{key:"processMouseLeave",value:function(){this.clearSelection(),this.endSelection()}},{key:"processScroll",value:function(e){this.changingRectangle(e)}},{key:"processMouseUp",value:function(){this.endSelection()}},{key:"scrollByZones",value:function(e){this.inScrollZone=null,e<=this.HEIGHT_OF_SCROLL_ZONE&&(this.inScrollZone=this.TOP_SCROLL_ZONE),document.documentElement.clientHeight-e<=this.HEIGHT_OF_SCROLL_ZONE&&(this.inScrollZone=this.BOTTOM_SCROLL_ZONE),this.inScrollZone?this.isScrolling||(this.scrollVertical(this.inScrollZone===this.TOP_SCROLL_ZONE?-this.SCROLL_SPEED:this.SCROLL_SPEED),this.isScrolling=!0):this.isScrolling=!1}},{key:"genHTML",value:function(){var e=this.Editor.UI,t=e.nodes.holder.querySelector("."+e.CSS.editorWrapper),n=u.default.make("div",r.CSS.overlay,{}),o=u.default.make("div",r.CSS.overlayContainer,{}),i=u.default.make("div",r.CSS.rect,{});return o.appendChild(i),n.appendChild(o),t.appendChild(n),this.overlayRectangle=i,{container:t,overlay:n}}},{key:"scrollVertical",value:function(e){var t=this;if(this.inScrollZone&&this.mousedown){var n=window.pageYOffset;window.scrollBy(0,e),this.mouseY+=window.pageYOffset-n,setTimeout((function(){t.scrollVertical(e)}),0)}}},{key:"changingRectangle",value:function(e){if(this.mousedown){void 0!==e.pageY&&(this.mouseX=e.pageX,this.mouseY=e.pageY);var t=this.genInfoForMouseSelection(),n=t.rightPos,r=t.leftPos,o=t.index,i=this.startX>n&&this.mouseX>n,a=this.startX<r&&this.mouseX<r;this.rectCrossesBlocks=!(i||a),this.isRectSelectionActivated||(this.rectCrossesBlocks=!1,this.isRectSelectionActivated=!0,this.shrinkRectangleToPoint(),this.overlayRectangle.style.display="block"),this.updateRectangleSize(),void 0!==o&&(this.trySelectNextBlock(o),this.inverseSelection(),d.default.get().removeAllRanges(),e.preventDefault())}}},{key:"shrinkRectangleToPoint",value:function(){this.overlayRectangle.style.left="".concat(this.startX-window.pageXOffset,"px"),this.overlayRectangle.style.top="".concat(this.startY-window.pageYOffset,"px"),this.overlayRectangle.style.bottom="calc(100% - ".concat(this.startY-window.pageYOffset,"px"),this.overlayRectangle.style.right="calc(100% - ".concat(this.startX-window.pageXOffset,"px")}},{key:"inverseSelection",value:function(){var e=this.Editor.BlockManager.getBlockByIndex(this.stackOfSelected[0]).selected;if(this.rectCrossesBlocks&&!e){var t,n=h(this.stackOfSelected);try{for(n.s();!(t=n.n()).done;){var r=t.value;this.Editor.BlockSelection.selectBlockByIndex(r)}}catch(e){n.e(e)}finally{n.f()}}if(!this.rectCrossesBlocks&&e){var o,i=h(this.stackOfSelected);try{for(i.s();!(o=i.n()).done;){var a=o.value;this.Editor.BlockSelection.unSelectBlockByIndex(a)}}catch(e){i.e(e)}finally{i.f()}}}},{key:"updateRectangleSize",value:function(){this.mouseY>=this.startY?(this.overlayRectangle.style.top="".concat(this.startY-window.pageYOffset,"px"),this.overlayRectangle.style.bottom="calc(100% - ".concat(this.mouseY-window.pageYOffset,"px")):(this.overlayRectangle.style.bottom="calc(100% - ".concat(this.startY-window.pageYOffset,"px"),this.overlayRectangle.style.top="".concat(this.mouseY-window.pageYOffset,"px")),this.mouseX>=this.startX?(this.overlayRectangle.style.left="".concat(this.startX-window.pageXOffset,"px"),this.overlayRectangle.style.right="calc(100% - ".concat(this.mouseX-window.pageXOffset,"px")):(this.overlayRectangle.style.right="calc(100% - ".concat(this.startX-window.pageXOffset,"px"),this.overlayRectangle.style.left="".concat(this.mouseX-window.pageXOffset,"px"))}},{key:"genInfoForMouseSelection",value:function(){var e,t=document.body.offsetWidth/2,n=this.mouseY-window.pageYOffset,r=document.elementFromPoint(t,n),o=this.Editor.BlockManager.getBlockByChildNode(r);void 0!==o&&(e=this.Editor.BlockManager.blocks.findIndex((function(e){return e.holder===o.holder})));var i=this.Editor.BlockManager.lastBlock.holder.querySelector("."+f.default.CSS.content),a=Number.parseInt(window.getComputedStyle(i).width,10)/2;return{index:e,leftPos:t-a,rightPos:t+a}}},{key:"addBlockInSelection",value:function(e){this.rectCrossesBlocks&&this.Editor.BlockSelection.selectBlockByIndex(e),this.stackOfSelected.push(e)}},{key:"trySelectNextBlock",value:function(e){var t=this,n=this.stackOfSelected[this.stackOfSelected.length-1]===e,r=this.stackOfSelected.length;if(!n){var o=this.stackOfSelected[r-1]-this.stackOfSelected[r-2]>0,i=0;r>1&&(i=o?1:-1);var a=e>this.stackOfSelected[r-1]&&1===i,s=e<this.stackOfSelected[r-1]&&-1===i,l=!(a||s||0===i);if(l||!(e>this.stackOfSelected[r-1]||void 0===this.stackOfSelected[r-1])){if(!l&&e<this.stackOfSelected[r-1])for(var c=this.stackOfSelected[r-1]-1;c>=e;c--)this.addBlockInSelection(c);else if(l){var u,d=r-1;for(u=e>this.stackOfSelected[r-1]?function(){return e>t.stackOfSelected[d]}:function(){return e<t.stackOfSelected[d]};u();)this.rectCrossesBlocks&&this.Editor.BlockSelection.unSelectBlockByIndex(this.stackOfSelected[d]),this.stackOfSelected.pop(),d--}}else for(var f=this.stackOfSelected[r-1]+1||e;f<=e;f++)this.addBlockInSelection(f)}}}],[{key:"CSS",get:function(){return{overlay:"codex-editor-overlay",overlayContainer:"codex-editor-overlay__container",rect:"codex-editor-overlay__rectangle",topScrollZone:"codex-editor-overlay__scroll-zone--top",bottomScrollZone:"codex-editor-overlay__scroll-zone--bottom"}}}]),r}(c.default);r.default=g,g.displayName="RectangleSelection",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(23),n(24),n(2),n(3),n(5),n(6),n(4),n(9),n(7)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u,d,f){"use strict";var p=n(8),h=n(1);function m(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}
2Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=h(o),i=h(i),a=h(a),s=h(s),l=h(l),c=h(c),u=h(u),d=h(d),f=p(f);var v=function(e){(0,l.default)(p,e);var t,n,r,d=(t=p,function(){var e,n=(0,u.default)(t);if(m()){var r=(0,u.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,c.default)(this,e)});function p(){return(0,a.default)(this,p),d.apply(this,arguments)}return(0,s.default)(p,[{key:"render",value:(r=(0,i.default)(o.default.mark((function e(t){var n,r,i=this;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.map((function(e){return{function:function(){return i.insertBlock(e)}}})),this.Editor.ModificationsObserver.disable(),e.next=4,f.sequence(n);case 4:return r=e.sent,this.Editor.ModificationsObserver.enable(),this.Editor.UI.checkEmptiness(),e.abrupt("return",r);case 8:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"insertBlock",value:(n=(0,i.default)(o.default.mark((function e(t){var n,r,i,a,s,l,c,u,d;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this.Editor,r=n.Tools,i=n.BlockManager,a=t.type,s=t.data,l=t.tunes,c=t.id,!r.available.has(a)){e.next=13;break}e.prev=3,i.insert({id:c,tool:a,data:s,tunes:l}),e.next=11;break;case 7:throw e.prev=7,e.t0=e.catch(3),f.log("Block «".concat(a,"» skipped because of plugins error"),"warn",s),Error(e.t0);case 11:e.next=18;break;case 13:u={savedData:{id:c,type:a,data:s},title:a},r.unavailable.has(a)&&(d=r.unavailable.get(a).toolbox,u.title=(null==d?void 0:d.title)||u.title),i.insert({id:c,tool:r.stubTool,data:u}).stretched=!0,f.log("Tool «".concat(a,"» is not found. Check 'tools' property at your initial Editor.js config."),"warn");case 18:case"end":return e.stop()}}),e,this,[[3,7]])}))),function(e){return n.apply(this,arguments)})}]),p}(d.default);r.default=v,v.displayName="Renderer",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(23),n(24),n(2),n(3),n(5),n(6),n(4),n(9),n(7),n(65)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u,d,f,p){"use strict";var h=n(8),m=n(1);function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=m(o),i=m(i),a=m(a),s=m(s),l=m(l),c=m(c),u=m(u),d=m(d),f=h(f);var g=function(e){(0,l.default)(h,e);var t,n,r,d=(t=h,function(){var e,n=(0,u.default)(t);if(v()){var r=(0,u.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,c.default)(this,e)});function h(){return(0,a.default)(this,h),d.apply(this,arguments)}return(0,s.default)(h,[{key:"save",value:(r=(0,i.default)(o.default.mark((function e(){var t,n,r,i,a,s,l,c,u=this;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.Editor,n=t.BlockManager,r=t.Tools,i=t.ModificationsObserver,a=n.blocks,s=[],e.prev=2,i.disable(),a.forEach((function(e){s.push(u.getSavedData(e))})),e.next=7,Promise.all(s);case 7:return l=e.sent,e.next=10,(0,p.sanitizeBlocks)(l,(function(e){return r.blockTools.get(e).sanitizeConfig}));case 10:return c=e.sent,e.abrupt("return",this.makeOutput(c));case 14:e.prev=14,e.t0=e.catch(2),f.logLabeled("Saving failed due to the Error %o","error",e.t0);case 17:return e.prev=17,i.enable(),e.finish(17);case 20:case"end":return e.stop()}}),e,this,[[2,14,17,20]])}))),function(){return r.apply(this,arguments)})},{key:"getSavedData",value:(n=(0,i.default)(o.default.mark((function e(t){var n,r;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.save();case 2:if(n=e.sent,e.t0=n,!e.t0){e.next=8;break}return e.next=7,t.validate(n.data);case 7:e.t0=e.sent;case 8:return r=e.t0,e.abrupt("return",Object.assign(Object.assign({},n),{isValid:r}));case 10:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)})},{key:"makeOutput",value:function(e){var t=this,n=0,r=[];return f.log("[Editor.js saving]:","groupCollapsed"),e.forEach((function(e){var o=e.id,i=e.tool,a=e.data,s=e.tunes,l=e.time,c=e.isValid;if(n+=l,f.log("".concat(i.charAt(0).toUpperCase()+i.slice(1)),"group"),!c)return f.log("Block «".concat(i,"» skipped because saved data is invali
2d")),void f.log(void 0,"groupEnd");if(f.log(a),f.log(void 0,"groupEnd"),i!==t.Editor.Tools.stubTool){var u=Object.assign({id:o,type:i,data:a},!f.isEmpty(s)&&{tunes:s});r.push(u)}else r.push(a)})),f.log("Total","log",n),f.log(void 0,"groupEnd"),{time:+new Date,blocks:r,version:"2.22.2"}}}]),h}(d.default);r.default=g,g.displayName="Saver",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(30),n(2),n(3),n(5),n(6),n(4),n(9),n(15),n(60),n(7),n(25)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u,d,f,p,h){"use strict";var m=n(8),v=n(1);function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=v(o),i=v(i),a=v(a),s=v(s),l=v(l),c=v(c),u=v(u),d=v(d),f=v(f),p=m(p),h=v(h);var y=function(e){(0,s.default)(r,e);var t,n=(t=r,function(){var e,n=(0,c.default)(t);if(g()){var r=(0,c.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,l.default)(this,e)});function r(){var e;return(0,i.default)(this,r),(e=n.apply(this,arguments)).buttons=[],e.flipper=null,e.selection=new h.default,e}return(0,a.default)(r,[{key:"make",value:function(){this.nodes.wrapper=d.default.make("div",this.CSS.wrapper),this.nodes.toolSettings=d.default.make("div",this.CSS.toolSettings),this.nodes.defaultSettings=d.default.make("div",this.CSS.defaultSettings),d.default.append(this.nodes.wrapper,[this.nodes.toolSettings,this.nodes.defaultSettings]),this.enableFlipper()}},{key:"destroy",value:function(){this.flipper&&(this.flipper.deactivate(),this.flipper=null),this.removeAllNodes()}},{key:"open",value:function(){this.nodes.wrapper.classList.add(this.CSS.wrapperOpened),this.selection.save(),this.Editor.BlockManager.currentBlock.selected=!0,this.Editor.BlockSelection.clearCache(),this.addToolSettings(),this.addTunes(),this.eventsDispatcher.emit(this.events.opened),this.flipper.activate(this.blockTunesButtons)}},{key:"close",value:function(){this.nodes.wrapper.classList.remove(this.CSS.wrapperOpened),h.default.isAtEditor||this.selection.restore(),this.selection.clearSaved(),!this.Editor.CrossBlockSelection.isCrossBlockSelectionStarted&&this.Editor.BlockManager.currentBlock&&(this.Editor.BlockManager.currentBlock.selected=!1),this.nodes.toolSettings.innerHTML="",this.nodes.defaultSettings.innerHTML="",this.eventsDispatcher.emit(this.events.closed),this.buttons=[],this.flipper.deactivate()}},{key:"addToolSettings",value:function(){var e=this.Editor.BlockManager.currentBlock.renderSettings();e&&d.default.append(this.nodes.toolSettings,e)}},{key:"addTunes",value:function(){var e=this.Editor.BlockManager.currentBlock.renderTunes(),t=(0,o.default)(e,2),n=t[0],r=t[1];d.default.append(this.nodes.toolSettings,n),d.default.append(this.nodes.defaultSettings,r)}},{key:"enableFlipper",value:function(){var e=this;this.flipper=new f.default({focusedItemClass:this.CSS.focusedButton,activateCallback:function(t){t&&d.default.canSetCaret(t)?e.close():p.delay((function(){e.Editor.Caret.setToBlock(e.Editor.BlockManager.currentBlock)}),50)()}})}},{key:"events",get:function(){return{opened:"block-settings-opened",closed:"block-settings-closed"}}},{key:"CSS",get:function(){return{wrapper:"ce-settings",wrapperOpened:"ce-settings--opened",toolSettings:"ce-settings__plugin-zone",defaultSettings:"ce-settings__default-zone",button:"ce-settings__button",focusedButton:"ce-settings__button--focused",focusedButtonAnimated:"ce-settings__button--focused-animated"}}},{key:"opened",get:function(){return this.nodes.wrapper.classList.contains(this.CSS.wrapperOpened)}},{key:"blockTunesButtons",get:function(){var e=this,t=this.Editor.StylesAPI;if(0!==this.buttons.length)return this.buttons;var n=this.nodes.toolSettings.querySelectorAll(".".concat(t.classes.settingsButton,", ").concat(d.default.allInputsSelector)),r=this.nodes.defaultSettings.querySelectorAll(".".concat(this.CSS.button));
2return n.forEach((function(t){e.buttons.push(t)})),r.forEach((function(t){e.buttons.push(t)})),this.buttons}}]),r}(u.default);r.default=y,y.displayName="BlockSettings",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(30),n(23),n(24),n(42),n(2),n(3),n(5),n(6),n(4),n(9),n(15),n(7),n(60),n(59),n(84),n(65)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u,d,f,p,h,m,v,g,y,b){"use strict";var _=n(8),w=n(1);function k(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=w(o),i=w(i),a=w(a),s=w(s),l=w(l),c=w(c),u=w(u),d=w(d),f=w(f),p=w(p),h=w(h),m=_(m),v=w(v),g=w(g);var x=function(e){(0,u.default)(p,e);var t,n,r=(t=p,function(){var e,n=(0,f.default)(t);if(k()){var r=(0,f.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,d.default)(this,e)});function p(){var e;return(0,l.default)(this,p),(e=r.apply(this,arguments)).opened=!1,e.tools={},e.flipper=null,e.togglingCallback=null,e}return(0,c.default)(p,[{key:"make",value:function(){this.nodes.wrapper=h.default.make("div",[p.CSS.conversionToolbarWrapper].concat((0,s.default)(this.isRtl?[this.Editor.UI.CSS.editorRtlFix]:[]))),this.nodes.tools=h.default.make("div",p.CSS.conversionToolbarTools);var e=h.default.make("div",p.CSS.conversionToolbarLabel,{textContent:g.default.ui(y.I18nInternalNS.ui.inlineToolbar.converter,"Convert to")});return this.addTools(),this.enableFlipper(),h.default.append(this.nodes.wrapper,e),h.default.append(this.nodes.wrapper,this.nodes.tools),this.nodes.wrapper}},{key:"destroy",value:function(){this.flipper&&(this.flipper.deactivate(),this.flipper=null),this.removeAllNodes()}},{key:"toggle",value:function(e){this.opened?this.close():this.open(),m.isFunction(e)&&(this.togglingCallback=e)}},{key:"open",value:function(){var e=this;this.filterTools(),this.opened=!0,this.nodes.wrapper.classList.add(p.CSS.conversionToolbarShowed),setTimeout((function(){e.flipper.activate(Object.values(e.tools).filter((function(e){return!e.classList.contains(p.CSS.conversionToolHidden)}))),e.flipper.focusFirst(),m.isFunction(e.togglingCallback)&&e.togglingCallback(!0)}),50)}},{key:"close",value:function(){this.opened=!1,this.flipper.deactivate(),this.nodes.wrapper.classList.remove(p.CSS.conversionToolbarShowed),m.isFunction(this.togglingCallback)&&this.togglingCallback(!1)}},{key:"hasTools",value:function(){var e=Object.keys(this.tools);return!(1===e.length&&e.shift()===this.config.defaultBlock)}},{key:"replaceWithBlock",value:(n=(0,a.default)(i.default.mark((function e(t){var n,r,o,a,s,l,c,u,d,f,p=this;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.Editor.BlockManager.currentBlock.tool,r=this.Editor.BlockManager.currentBlock.name,e.next=4,this.Editor.BlockManager.currentBlock.save();case 4:if(o=e.sent,a=o.data,r===t&&(t=this.config.defaultBlock),s=this.Editor.Tools.blockTools.get(t),l="",c=n.conversionConfig.export,!m.isFunction(c)){e.next=14;break}l=c(a),e.next=20;break;case 14:if(!m.isString(c)){e.next=18;break}l=a[c],e.next=20;break;case 18:return m.log("Conversion «export» property must be a string or function. String means key of saved data object to export. Function should export processed string to export."),e.abrupt("return");case 20:if(u=(0,b.clean)(l,s.sanitizeConfig),d={},f=s.conversionConfig.import,!m.isFunction(f)){e.next=27;break}d=f(u),e.next=33;break;case 27:if(!m.isString(f)){e.next=31;break}d[f]=u,e.next=33;break;case 31:return m.log("Conversion «import» property must be a string or function. String means key of tool data to import. Function accepts a imported string and return composed tool data."),e.abrupt("return");case 33:this.Editor.BlockManager.replace({tool:t,data:d}),this.Editor.BlockSelection.clearSelection(),this.close(),this.Editor.InlineToolbar.close(),m.delay((function(){p.Editor.Caret.setToBlock(p.Editor.BlockManager.currentBlock)}),10)();case 38:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"addTools",value:function(){var e=this,t=this.Editor.Tools.blockTools;
2Array.from(t.entries()).forEach((function(t){var n=(0,o.default)(t,2),r=n[0],i=n[1],a=i.toolbox,s=i.conversionConfig;!m.isEmpty(a)&&a.icon&&s&&s.import&&e.addTool(r,a.icon,a.title)}))}},{key:"addTool",value:function(e,t,n){var r=this,o=h.default.make("div",[p.CSS.conversionTool]),s=h.default.make("div",[p.CSS.conversionToolIcon]);o.dataset.tool=e,s.innerHTML=t,h.default.append(o,s),h.default.append(o,h.default.text(g.default.t(y.I18nInternalNS.toolNames,n||m.capitalize(e)))),h.default.append(this.nodes.tools,o),this.tools[e]=o,this.listeners.on(o,"click",(0,a.default)(i.default.mark((function t(){return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.replaceWithBlock(e);case 2:case"end":return t.stop()}}),t)}))))}},{key:"filterTools",value:function(){var e=this.Editor.BlockManager.currentBlock;Object.entries(this.tools).forEach((function(t){var n=(0,o.default)(t,2),r=n[0],i=n[1];i.hidden=!1,i.classList.toggle(p.CSS.conversionToolHidden,r===e.name)}))}},{key:"enableFlipper",value:function(){this.flipper=new v.default({focusedItemClass:p.CSS.conversionToolFocused})}}],[{key:"CSS",get:function(){return{conversionToolbarWrapper:"ce-conversion-toolbar",conversionToolbarShowed:"ce-conversion-toolbar--showed",conversionToolbarTools:"ce-conversion-toolbar__tools",conversionToolbarLabel:"ce-conversion-toolbar__label",conversionTool:"ce-conversion-tool",conversionToolHidden:"ce-conversion-tool--hidden",conversionToolIcon:"ce-conversion-tool__icon",conversionToolFocused:"ce-conversion-tool--focused",conversionToolActive:"ce-conversion-tool--active"}}}]),p}(p.default);r.default=x,x.displayName="ConversionToolbar",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(42),n(30),n(2),n(3),n(5),n(6),n(4),n(9),n(15),n(25),n(7),n(60),n(59),n(84),n(112),n(82),n(67)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u,d,f,p,h,m,v,g,y,b,_){"use strict";var w=n(8),k=n(1);function x(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=k(o),i=k(i),a=k(a),s=k(s),l=k(l),c=k(c),u=k(u),d=k(d),f=k(f),p=k(p),h=w(h),m=k(m),v=k(v),y=k(y),b=k(b);var C=function(e){(0,l.default)(r,e);var t,n=(t=r,function(){var e,n=(0,u.default)(t);if(x()){var r=(0,u.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,c.default)(this,e)});function r(e){var t,o=e.config,i=e.eventsDispatcher;return(0,a.default)(this,r),(t=n.call(this,{config:o,eventsDispatcher:i})).CSS={inlineToolbar:"ce-inline-toolbar",inlineToolbarShowed:"ce-inline-toolbar--showed",inlineToolbarLeftOriented:"ce-inline-toolbar--left-oriented",inlineToolbarRightOriented:"ce-inline-toolbar--right-oriented",inlineToolbarShortcut:"ce-inline-toolbar__shortcut",buttonsWrapper:"ce-inline-toolbar__buttons",actionsWrapper:"ce-inline-toolbar__actions",inlineToolButton:"ce-inline-tool",inputField:"cdx-input",focusedButton:"ce-inline-tool--focused",conversionToggler:"ce-inline-toolbar__dropdown",conversionTogglerHidden:"ce-inline-toolbar__dropdown--hidden",conversionTogglerContent:"ce-inline-toolbar__dropdown-content",togglerAndButtonsWrapper:"ce-inline-toolbar__toggler-and-button-wrapper"},t.opened=!1,t.toolbarVerticalMargin=5,t.buttonsList=null,t.width=0,t.flipper=null,t.tooltip=new b.default,t}return(0,s.default)(r,[{key:"toggleReadOnly",value:function(e){e?(this.destroy(),this.Editor.ConversionToolbar.destroy()):this.make()}},{key:"tryToShow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.allowedToShow()?(this.move(),this.open(t),this.Editor.Toolbar.close()):e&&this.close()}},{key:"move",value:function(){var e=p.default.rect,t=this.Editor.UI.nodes.wrapper.getBoundingClientRect(),n={x:e.x-t.left,y:e.y+e.height-t.top+this.toolbarVerticalMargin};e.width&&(n.x+=Math.floor(e.width/2));var r=n.x-this.width/2,o=n.x+this.width/2;
2this.nodes.wrapper.classList.toggle(this.CSS.inlineToolbarLeftOriented,r<this.Editor.UI.contentRect.left),this.nodes.wrapper.classList.toggle(this.CSS.inlineToolbarRightOriented,o>this.Editor.UI.contentRect.right),this.nodes.wrapper.style.left=Math.floor(n.x)+"px",this.nodes.wrapper.style.top=Math.floor(n.y)+"px"}},{key:"close",value:function(){var e=this;this.opened&&(this.Editor.ReadOnly.isEnabled||(this.nodes.wrapper.classList.remove(this.CSS.inlineToolbarShowed),Array.from(this.toolsInstances.entries()).forEach((function(t){var n=(0,i.default)(t,2),r=n[0],o=n[1],a=e.getToolShortcut(r);a&&y.default.remove(e.Editor.UI.nodes.redactor,a),h.isFunction(o.clear)&&o.clear()})),this.opened=!1,this.flipper.deactivate(),this.Editor.ConversionToolbar.close()))}},{key:"open",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(!this.opened){this.addToolsFiltered(),this.nodes.wrapper.classList.add(this.CSS.inlineToolbarShowed),this.buttonsList=this.nodes.buttons.querySelectorAll(".".concat(this.CSS.inlineToolButton)),this.opened=!0,e&&this.Editor.ConversionToolbar.hasTools()?this.setConversionTogglerContent():this.nodes.conversionToggler.hidden=!0;var t=Array.from(this.buttonsList);t.unshift(this.nodes.conversionToggler),t=t.filter((function(e){return!e.hidden})),this.flipper.activate(t)}}},{key:"containsNode",value:function(e){return this.nodes.wrapper.contains(e)}},{key:"destroy",value:function(){this.flipper&&(this.flipper.deactivate(),this.flipper=null),this.removeAllNodes(),this.tooltip.destroy()}},{key:"make",value:function(){var e=this;this.nodes.wrapper=f.default.make("div",[this.CSS.inlineToolbar].concat((0,o.default)(this.isRtl?[this.Editor.UI.CSS.editorRtlFix]:[]))),this.nodes.togglerAndButtonsWrapper=f.default.make("div",this.CSS.togglerAndButtonsWrapper),this.nodes.buttons=f.default.make("div",this.CSS.buttonsWrapper),this.nodes.actions=f.default.make("div",this.CSS.actionsWrapper),this.listeners.on(this.nodes.wrapper,"mousedown",(function(t){t.target.closest(".".concat(e.CSS.actionsWrapper))||t.preventDefault()})),f.default.append(this.nodes.wrapper,[this.nodes.togglerAndButtonsWrapper,this.nodes.actions]),f.default.append(this.Editor.UI.nodes.wrapper,this.nodes.wrapper),this.addConversionToggler(),f.default.append(this.nodes.togglerAndButtonsWrapper,this.nodes.buttons),this.prepareConversionToolbar(),this.recalculateWidth(),this.enableFlipper()}},{key:"allowedToShow",value:function(){var e=p.default.get(),t=p.default.text;if(!e||!e.anchorNode)return!1;if(e.isCollapsed||t.length<1)return!1;var n=f.default.isElement(e.anchorNode)?e.anchorNode:e.anchorNode.parentElement;if(e&&["IMG","INPUT"].includes(n.tagName))return!1;if(null===n.closest('[contenteditable="true"]'))return!1;var r=this.Editor.BlockManager.getBlock(e.anchorNode);return!!r&&0!==r.tool.inlineTools.size}},{key:"recalculateWidth",value:function(){this.width=this.nodes.wrapper.offsetWidth}},{key:"addConversionToggler",value:function(){var e=this;this.nodes.conversionToggler=f.default.make("div",this.CSS.conversionToggler),this.nodes.conversionTogglerContent=f.default.make("div",this.CSS.conversionTogglerContent);var t=f.default.svg("toggler-down",13,13);this.nodes.conversionToggler.appendChild(this.nodes.conversionTogglerContent),this.nodes.conversionToggler.appendChild(t),this.nodes.togglerAndButtonsWrapper.appendChild(this.nodes.conversionToggler),this.listeners.on(this.nodes.conversionToggler,"click",(function(){e.Editor.ConversionToolbar.toggle((function(t){!t&&e.opened?e.flipper.activate():e.opened&&e.flipper.deactivate()}))})),this.tooltip.onHover(this.nodes.conversionToggler,v.default.ui(g.I18nInternalNS.ui.inlineToolbar.converter,"Convert to"),{placement:"top",hidingDelay:100})}},{key:"setConversionTogglerContent",value:function(){var e=this.Editor.BlockManager.currentBlock,t=e.name,n=e.tool.conversionConfig,r=n&&n.export;this.nodes.conversionToggler.hidden=!r,this.nodes.conversionToggler.classList.toggle(this.CSS.conversionTogglerHidden,!r);var o=e.tool.toolbox||{};this.nodes.conversionTogglerContent.innerHTML=o.icon||o.title||h.capitalize(t)}},{key:"prepareConversionToolbar",value:function(){var e=this.Editor.ConversionToolbar.make();f.default.append(this.nodes.wrapper,e)}},{key:"addToolsFiltered",value:function(){var e=this,t=p.default.get(),n=this.Editor.BlockManager.getBlock(t.anchorNode);this.nodes.buttons.innerHTML="",this.nodes.actions.innerHTML="",this.toolsInstances=new Map,Array.from(n.tool.inlineTools.values()).forEac
2h((function(t){e.addTool(t)})),this.recalculateWidth()}},{key:"addTool",value:function(e){var t=this,n=e.create(),r=n.render();if(r){if(r.dataset.tool=e.name,this.nodes.buttons.appendChild(r),this.toolsInstances.set(e.name,n),h.isFunction(n.renderActions)){var o=n.renderActions();this.nodes.actions.appendChild(o)}this.listeners.on(r,"click",(function(e){t.toolClicked(n),e.preventDefault()}));var i=this.getToolShortcut(e.name);if(i)try{this.enableShortcuts(n,i)}catch(e){}var a=f.default.make("div"),s=v.default.t(g.I18nInternalNS.toolNames,e.title||h.capitalize(e.name));a.appendChild(f.default.text(s)),i&&a.appendChild(f.default.make("div",this.CSS.inlineToolbarShortcut,{textContent:h.beautifyShortcut(i)})),this.tooltip.onHover(r,a,{placement:"top",hidingDelay:100}),n.checkState(p.default.get())}else h.log("Render method must return an instance of Node","warn",e.name)}},{key:"getToolShortcut",value:function(e){var t=this.Editor.Tools,n=t.inlineTools.get(e),r=t.internal.inlineTools;return Array.from(r.keys()).includes(e)?this.inlineTools[e][_.CommonInternalSettings.Shortcut]:n.shortcut}},{key:"enableShortcuts",value:function(e,t){var n=this;y.default.add({name:t,handler:function(t){var r=n.Editor.BlockManager.currentBlock;r&&r.tool.enabledInlineTools&&(t.preventDefault(),n.toolClicked(e))},on:this.Editor.UI.nodes.redactor})}},{key:"toolClicked",value:function(e){var t=p.default.range;e.surround(t),this.checkToolsState()}},{key:"checkToolsState",value:function(){this.toolsInstances.forEach((function(e){e.checkState(p.default.get())}))}},{key:"enableFlipper",value:function(){this.flipper=new m.default({focusedItemClass:this.CSS.focusedButton,allowArrows:!1})}},{key:"inlineTools",get:function(){var e={};return Array.from(this.Editor.Tools.inlineTools.entries()).forEach((function(t){var n=(0,i.default)(t,2),r=n[0],o=n[1];e[r]=o.create()})),e}}]),r}(d.default);r.default=C,C.displayName="InlineToolbar",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(5),n(6),n(4),n(9),n(15),n(7),n(60),n(66),n(59),n(84),n(112),n(82)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u,d,f,p,h,m,v,g){"use strict";var y=n(8),b=n(1);function _(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=b(o),i=b(i),a=b(a),s=b(s),l=b(l),c=b(c),u=b(u),d=y(d),f=b(f),h=b(h),v=b(v),g=b(g);var w=function(e){(0,a.default)(r,e);var t,n=(t=r,function(){var e,n=(0,l.default)(t);if(_()){var r=(0,l.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function r(e){var t,i=e.config,a=e.eventsDispatcher;return(0,o.default)(this,r),(t=n.call(this,{config:i,eventsDispatcher:a})).nodes={toolbox:null,buttons:[]},t.opened=!1,t.displayedToolsCount=0,t.flipper=null,t.tooltip=new g.default,t}return(0,i.default)(r,[{key:"make",value:function(){this.nodes.toolbox=u.default.make("div",this.CSS.toolbox),this.addTools(),this.enableFlipper()}},{key:"destroy",value:function(){this.flipper&&(this.flipper.deactivate(),this.flipper=null),this.removeAllNodes(),this.removeAllShortcuts(),this.tooltip.destroy()}},{key:"toolButtonActivate",value:function(e,t){this.insertNewBlock(t)}},{key:"open",value:function(){this.isEmpty||(this.Editor.UI.nodes.wrapper.classList.add(this.CSS.openedToolbarHolderModifier),this.nodes.toolbox.classList.add(this.CSS.toolboxOpened),this.opened=!0,this.flipper.activate())}},{key:"close",value:function(){this.nodes.toolbox.classList.remove(this.CSS.toolboxOpened),this.Editor.UI.nodes.wrapper.classList.remove(this.CSS.openedToolbarHolderModifier),this.opened=!1,this.flipper.deactivate()}},{key:"toggle",value:function(){this.opened?this.close():this.open()}},{key:"addTools",value:function(){var e=this,t=this.Editor.Tools.blockTools;
2Array.from(t.values()).forEach((function(t){return e.addTool(t)}))}},{key:"addTool",value:function(e){var t=this,n=e.toolbox;if(n)if(!n||n.icon){var r=u.default.make("li",[this.CSS.toolboxButton]);r.dataset.tool=e.name,r.innerHTML=n.icon,u.default.append(this.nodes.toolbox,r),this.nodes.toolbox.appendChild(r),this.nodes.buttons.push(r),this.listeners.on(r,"click",(function(n){t.toolButtonActivate(n,e.name)}));var o=this.drawTooltip(e);this.tooltip.onHover(r,o,{placement:"bottom",hidingDelay:200});var i=e.shortcut;i&&this.enableShortcut(e.name,i),this.displayedToolsCount++}else d.log("Toolbar icon is missed. Tool %o skipped","warn",e.name)}},{key:"drawTooltip",value:function(e){var t=e.toolbox||{},n=h.default.t(m.I18nInternalNS.toolNames,t.title||e.name),r=e.shortcut,o=u.default.make("div",this.CSS.buttonTooltip),i=document.createTextNode(d.capitalize(n));return o.appendChild(i),r&&(r=d.beautifyShortcut(r),o.appendChild(u.default.make("div",this.CSS.buttonShortcut,{textContent:r}))),o}},{key:"enableShortcut",value:function(e,t){var n=this;v.default.add({name:t,handler:function(t){t.preventDefault(),n.insertNewBlock(e)},on:this.Editor.UI.nodes.redactor})}},{key:"removeAllShortcuts",value:function(){var e=this,t=this.Editor.Tools.blockTools;Array.from(t.values()).forEach((function(t){var n=t.shortcut;n&&v.default.remove(e.Editor.UI.nodes.redactor,n)}))}},{key:"enableFlipper",value:function(){var e=Array.from(this.nodes.toolbox.childNodes);this.flipper=new f.default({items:e,focusedItemClass:this.CSS.toolboxButtonActive})}},{key:"insertNewBlock",value:function(e){var t=this.Editor,n=t.BlockManager,r=t.Caret,o=n.currentBlock,i=n.insert({tool:e,replace:o.isEmpty});i.call(p.BlockToolAPI.APPEND_CALLBACK),this.Editor.Caret.setToBlock(i),0===i.inputs.length&&(i===n.lastBlock?(n.insertAtEnd(),r.setToBlock(n.lastBlock)):r.setToBlock(n.nextBlock)),this.Editor.Toolbar.close()}},{key:"CSS",get:function(){return{toolbox:"ce-toolbox",toolboxButton:"ce-toolbox__button",toolboxButtonActive:"ce-toolbox__button--active",toolboxOpened:"ce-toolbox--opened",openedToolbarHolderModifier:"codex-editor--toolbox-opened",buttonTooltip:"ce-toolbox-button-tooltip",buttonShortcut:"ce-toolbox-button-tooltip__shortcut"}}},{key:"isEmpty",get:function(){return 0===this.displayedToolsCount}}]),r}(c.default);r.default=w,w.displayName="Toolbox",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(42),n(30),n(23),n(24),n(2),n(3),n(5),n(6),n(4),n(80),n(384),n(9),n(7),n(385),n(386),n(387),n(388),n(389),n(393),n(394),n(395),n(184)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u,d,f,p,h,m,v,g,y,b,_,w,k,x,C,S){"use strict";var E=n(8),T=n(1);function O(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=T(o),i=T(i),a=T(a),s=T(s),l=T(l),c=T(c),u=T(u),d=T(d),f=T(f),p=T(p),h=T(h),m=T(m),v=E(v),g=T(g),y=T(y),b=T(b),_=T(_),w=T(w),k=T(k),x=T(x),C=T(C),S=T(S);var I=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,p.default)(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},A=function(e){(0,u.default)(p,e);var t,n,r=(t=p,function(){var e,n=(0,f.default)(t);if(O()){var r=(0,f.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,d.default)(this,e)});function p(){var e;return(0,l.default)(this,p),(e=r.apply(this,arguments)).stubTool="stub",e.toolsAvailable=new S.default,e.toolsUnavailable=new S.default,e}return(0,c.default)(p,[{key:"prepare",value:(n=(0,s.default)(a.default.mark((function e(){var t,n,r=this;return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.validateTools(),this.config.tools=v.deepMerge({},this.internalTools,this.config.tools),Object.prototype.hasOwnProperty.call(this.config,"tools")&&0!==Object.keys(this.config.tools).length){e.next=4;break}throw Error("Can't start without tools");case 4:if(t=this.prepareConfig(),this.factory=new w.default(t,this.config,this.Editor.API),0!==(n=this.getListOfPrepareFunctions(t)).length){e.next=9;break}return e.abrupt("return",Promise.resolve());case 9:return e.next=11,v.sequence(n,(function(e){r.toolPrepareMethodSuccess(e)}),(function(e){r.toolPrepareMethodFallback(e)}));case 11:this.prepareBlockTools();case 12:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"getAllInlineToolsSanitizeConfig",value:function(){var e={};
2return Array.from(this.inlineTools.values()).forEach((function(t){Object.assign(e,t.sanitizeConfig)})),e}},{key:"destroy",value:function(){Object.values(this.available).forEach(function(){var e=(0,s.default)(a.default.mark((function e(t){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!v.isFunction(t.reset)){e.next=3;break}return e.next=3,t.reset();case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}},{key:"toolPrepareMethodSuccess",value:function(e){var t=this.factory.get(e.toolName);if(t.isInline()){var n=["render","surround","checkState"].filter((function(e){return!t.create()[e]}));if(n.length)return v.log("Incorrect Inline Tool: ".concat(t.name,". Some of required methods is not implemented %o"),"warn",n),void this.toolsUnavailable.set(t.name,t)}this.toolsAvailable.set(t.name,t)}},{key:"toolPrepareMethodFallback",value:function(e){this.toolsUnavailable.set(e.toolName,this.factory.get(e.toolName))}},{key:"getListOfPrepareFunctions",value:function(e){var t=[];return Object.entries(e).forEach((function(e){var n=(0,i.default)(e,2),r=n[0],o=n[1];t.push({function:v.isFunction(o.class.prepare)?o.class.prepare:function(){},data:{toolName:r}})})),t}},{key:"prepareBlockTools",value:function(){var e=this;Array.from(this.blockTools.values()).forEach((function(t){e.assignInlineToolsToBlockTool(t),e.assignBlockTunesToBlockTool(t)}))}},{key:"assignInlineToolsToBlockTool",value:function(e){var t=this;!1!==this.config.inlineToolbar&&(!0!==e.enabledInlineTools?Array.isArray(e.enabledInlineTools)&&(e.inlineTools=new S.default(e.enabledInlineTools.map((function(e){return[e,t.inlineTools.get(e)]})))):e.inlineTools=new S.default(Array.isArray(this.config.inlineToolbar)?this.config.inlineToolbar.map((function(e){return[e,t.inlineTools.get(e)]})):Array.from(this.inlineTools.entries())))}},{key:"assignBlockTunesToBlockTool",value:function(e){var t=this;if(!1!==e.enabledBlockTunes)if(Array.isArray(e.enabledBlockTunes)){var n=new S.default(e.enabledBlockTunes.map((function(e){return[e,t.blockTunes.get(e)]})));e.tunes=new S.default([].concat((0,o.default)(n),(0,o.default)(this.blockTunes.internalTools)))}else if(Array.isArray(this.config.tunes)){var r=new S.default(this.config.tunes.map((function(e){return[e,t.blockTunes.get(e)]})));e.tunes=new S.default([].concat((0,o.default)(r),(0,o.default)(this.blockTunes.internalTools)))}else e.tunes=this.blockTunes.internalTools}},{key:"validateTools",value:function(){for(var e in this.config.tools)if(Object.prototype.hasOwnProperty.call(this.config.tools,e)){if(e in this.internalTools)return;var t=this.config.tools[e];if(!v.isFunction(t)&&!v.isFunction(t.class))throw Error("Tool «".concat(e,"» must be a constructor function or an object with function in the «class» property"))}}},{key:"prepareConfig",value:function(){var e={};for(var t in this.config.tools)v.isObject(this.config.tools[t])?e[t]=this.config.tools[t]:e[t]={class:this.config.tools[t]};return e}},{key:"available",get:function(){return this.toolsAvailable}},{key:"unavailable",get:function(){return this.toolsUnavailable}},{key:"inlineTools",get:function(){return this.available.inlineTools}},{key:"blockTools",get:function(){return this.available.blockTools}},{key:"blockTunes",get:function(){return this.available.blockTunes}},{key:"defaultTool",get:function(){return this.blockTools.get(this.config.defaultBlock)}},{key:"internal",get:function(){return this.available.internalTools}},{key:"internalTools",get:function(){return{bold:{class:g.default,isInternal:!0},italic:{class:y.default,isInternal:!0},link:{class:b.default,isInternal:!0},paragraph:{class:h.default,inlineToolbar:!0,isInternal:!0},stub:{class:_.default,isInternal:!0},moveUp:{class:C.default,isInternal:!0},delete:{class:x.default,isInternal:!0},moveDown:{class:k.default,isInternal:!0}}}}]),p}(m.default);r.default=A,A.displayName="Tools",I([v.cacheable],A.prototype,"getAllInlineToolsSanitizeConfig",null),e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(30),n(2),n(3),n(5),n(6),n(4),n(150)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u){"use strict";var d=n(1);function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}
2Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=d(o),i=d(i),a=d(a),s=d(s),l=d(l),c=d(c);var p=function(e){(0,s.default)(r,e);var t,n=(t=r,function(){var e,n=(0,c.default)(t);if(f()){var r=(0,c.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,l.default)(this,e)});function r(){return(0,i.default)(this,r),n.apply(this,arguments)}return(0,a.default)(r,[{key:"blockTools",get:function(){return new r(Array.from(this.entries()).filter((function(e){return(0,o.default)(e,2)[1].isBlock()})))}},{key:"inlineTools",get:function(){return new r(Array.from(this.entries()).filter((function(e){return(0,o.default)(e,2)[1].isInline()})))}},{key:"blockTunes",get:function(){return new r(Array.from(this.entries()).filter((function(e){return(0,o.default)(e,2)[1].isTune()})))}},{key:"internalTools",get:function(){return new r(Array.from(this.entries()).filter((function(e){return(0,o.default)(e,2)[1].isInternal})))}},{key:"externalTools",get:function(){return new r(Array.from(this.entries()).filter((function(e){return!(0,o.default)(e,2)[1].isInternal})))}}]),r}((0,(u=d(u)).default)(Map));r.default=p,p.displayName="ToolsCollection",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(30),n(42),n(23),n(24),n(2),n(3),n(5),n(6),n(4),n(396),n(9),n(15),n(7),n(25),n(66),n(60)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u,d,f,p,h,m,v,g,y,b){"use strict";var _=n(8),w=n(1);function k(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=w(o),i=w(i),a=w(a),s=w(s),l=w(l),c=w(c),u=w(u),d=w(d),f=w(f),p=w(p),h=w(h),m=w(m),v=_(v),g=w(g),y=w(y),b=w(b);var x=function(e){(0,u.default)(_,e);var t,r,h=(t=_,function(){var e,n=(0,f.default)(t);if(k()){var r=(0,f.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,d.default)(this,e)});function _(){var e;return(0,l.default)(this,_),(e=h.apply(this,arguments)).isMobile=!1,e.contentRectCache=void 0,e.resizeDebouncer=v.debounce((function(){e.windowResize()}),200),e}return(0,c.default)(_,[{key:"addLoader",value:function(){this.nodes.loader=m.default.make("div",this.CSS.editorLoader),this.nodes.wrapper.prepend(this.nodes.loader),this.nodes.redactor.classList.add(this.CSS.editorZoneHidden)}},{key:"removeLoader",value:function(){this.nodes.loader.remove(),this.nodes.redactor.classList.remove(this.CSS.editorZoneHidden)}},{key:"prepare",value:(r=(0,s.default)(a.default.mark((function e(){return a.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.checkIsMobile(),this.make(),this.addLoader(),this.appendSVGSprite(),this.loadStyles();case 5:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"toggleReadOnly",value:function(e){e?this.disableModuleBindings():this.enableModuleBindings()}},{key:"checkEmptiness",value:function(){var e=this.Editor.BlockManager;this.nodes.wrapper.classList.toggle(this.CSS.editorEmpty,e.isEditorEmpty)}},{key:"destroy",value:function(){this.nodes.holder.innerHTML=""}},{key:"closeAllToolbars",value:function(){var e=this.Editor,t=e.Toolbox,n=e.BlockSettings,r=e.InlineToolbar,o=e.ConversionToolbar;n.close(),r.close(),o.close(),t.close()}},{key:"checkIsMobile",value:function(){this.isMobile=window.innerWidth<650}},{key:"make",value:function(){this.nodes.holder=m.default.getHolder(this.config.holder),this.nodes.wrapper=m.default.make("div",[this.CSS.editorWrapper].concat((0,i.default)(this.isRtl?[this.CSS.editorRtlFix]:[]))),this.nodes.redactor=m.default.make("div",this.CSS.editorZone),this.nodes.holder.offsetWidth<this.contentRect.width&&this.nodes.wrapper.classList.add(this.CSS.editorWrapperNarrow),this.nodes.redactor.style.paddingBottom=this.config.minHeight+"px",this.nodes.wrapper.appendChild(this.nodes.redactor),this.nodes.holder.appendChild(this.nodes.wrapper)}},{key:"loadStyles",value:function(){var e=n(397);if(!m.default.get("editor-js-styles")){var t=m.default.make("style",null,{id:"editor-js-styles",textContent:e.toString()});m.default.prepend(document.head,t)}}},{key:"enableModuleBindings",value:function(){var e=this;this.readOnlyMutableListeners.on(this.nodes.redactor,"click",(function(t){e.redactorClicked(t)}),!1),this.readOnlyMutableListeners.on(this.nodes.redactor,"mousedown",(function(t){e.documentTouched(t)}),!0),this.readOnlyMutableListeners.on(this.nodes.redactor,"touchstart",(function(t){e.documentTouched(t)}),!0),this.readOnlyMutableListeners.on(document,"keydown",(function(t){e.documentKeydown(t)}),!0),this.readOnlyMutableListeners.on(document,"mousedown",(function(t){e.documentClicked(t)}),!0),this.readOnlyMutableListeners.on(document,"selectionchange",(function(t){e.selectionChanged(t)}),!0),this.readOnlyMutableListeners.on(window,"resize",(function(){e.resizeDebouncer()}),{passive:!0})}},{key:"disableModuleBindings",value:function(){this.readOnlyMutableListeners.clearAll()}},{key:"windowResize",value:function(){this.contentRectCache=null,this.checkIsMobile()}},{key:"documentKeydown",value:function(e){switch(e.keyCode){case v.keyCodes.ENTE
2R:this.enterPressed(e);break;case v.keyCodes.BACKSPACE:this.backspacePressed(e);break;case v.keyCodes.ESC:this.escapePressed(e);break;default:this.defaultBehaviour(e)}}},{key:"defaultBehaviour",value:function(e){var t=this.Editor.BlockManager.currentBlock,n=e.target.closest(".".concat(this.CSS.editorWrapper)),r=e.altKey||e.ctrlKey||e.metaKey||e.shiftKey;void 0===t||null!==n?n||t&&r||(this.Editor.BlockManager.dropPointer(),this.Editor.Toolbar.close()):this.Editor.BlockEvents.keydown(e)}},{key:"backspacePressed",value:function(e){var t=this.Editor,n=t.BlockManager,r=t.BlockSelection,o=t.Caret;if(r.anyBlockSelected&&!g.default.isSelectionExists){var i=n.removeSelectedBlocks();o.setToBlock(n.insertDefaultBlockAtIndex(i,!0),o.positions.START),r.clearSelection(e),e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()}}},{key:"escapePressed",value:function(e){this.Editor.BlockSelection.clearSelection(e),this.Editor.Toolbox.opened?this.Editor.Toolbox.close():this.Editor.BlockSettings.opened?this.Editor.BlockSettings.close():this.Editor.ConversionToolbar.opened?this.Editor.ConversionToolbar.close():this.Editor.InlineToolbar.opened?this.Editor.InlineToolbar.close():this.Editor.Toolbar.close()}},{key:"enterPressed",value:function(e){var t=this.Editor,n=t.BlockManager,r=t.BlockSelection,o=n.currentBlockIndex>=0;if(r.anyBlockSelected&&!g.default.isSelectionExists)return r.clearSelection(e),e.preventDefault(),e.stopImmediatePropagation(),void e.stopPropagation();if(!this.someToolbarOpened&&o&&"BODY"===e.target.tagName){var i=this.Editor.BlockManager.insert();this.Editor.Caret.setToBlock(i),this.Editor.BlockManager.highlightCurrentNode(),this.Editor.Toolbar.move(),this.Editor.Toolbar.plusButton.show()}this.Editor.BlockSelection.clearSelection(e)}},{key:"documentClicked",value:function(e){if(e.isTrusted){var t=e.target;this.nodes.holder.contains(t)||g.default.isAtEditor||(this.Editor.BlockManager.dropPointer(),this.Editor.InlineToolbar.close(),this.Editor.Toolbar.close(),this.Editor.ConversionToolbar.close()),this.Editor.BlockSelection.clearSelection(e)}}},{key:"documentTouched",value:function(e){var t=e.target;if(t===this.nodes.redactor){var n=e instanceof MouseEvent?e.clientX:e.touches[0].clientX,r=e instanceof MouseEvent?e.clientY:e.touches[0].clientY;t=document.elementFromPoint(n,r)}try{this.Editor.BlockManager.setCurrentBlockByChildNode(t),this.Editor.BlockManager.highlightCurrentNode()}catch(e){this.Editor.RectangleSelection.isRectActivated()||this.Editor.Caret.setToTheLastBlock()}this.Editor.Toolbar.open(),this.Editor.Toolbar.plusButton.hide()}},{key:"redactorClicked",value:function(e){var t=this.Editor.BlockSelection;if(g.default.isCollapsed){var n=function(){e.stopImmediatePropagation(),e.stopPropagation()},r=e.target,o=e.metaKey||e.ctrlKey;if(m.default.isAnchor(r)&&o){n();var i=r.getAttribute("href"),a=v.getValidUrl(i);v.openTab(a)}else{if(e.target instanceof Element&&e.target.isEqualNode(this.nodes.redactor)&&!t.anyBlockSelected){n();var s=this.Editor,l=s.BlockManager,c=s.Caret,u=s.Toolbar;l.lastBlock.tool.isDefault&&l.lastBlock.isEmpty||l.insertAtEnd(),c.setToTheLastBlock(),u.move()}this.Editor.BlockManager.currentBlock.tool.isDefault&&(n(),this.Editor.BlockManager.currentBlock.isEmpty&&this.Editor.Toolbar.plusButton.show())}}}},{key:"selectionChanged",value:function(e){var t=this.Editor,n=t.CrossBlockSelection,r=t.BlockSelection,o=g.default.anchorElement;if(n.isCrossBlockSelectionStarted&&r.anyBlockSelected&&g.default.get().removeAllRanges(),o){var i=null===o.closest(".".concat(y.default.CSS.content));if(i&&(this.Editor.InlineToolbar.containsNode(o)||this.Editor.InlineToolbar.close(),"true"!==o.dataset.inlineToolbar))return;this.Editor.BlockManager.currentBlock||this.Editor.BlockManager.setCurrentBlockByChildNode(o);var a=!0!==i;this.Editor.InlineToolbar.tryToShow(!0,a)}else g.default.range||this.Editor.InlineToolbar.close()}},{key:"appendSVGSprite",value:function(){var e=m.default.make("div");e.hidden=!0,e.style.display="none",e.innerHTML=p.default,m.default.append(this.nodes.wrapper,e)}},{key:"CSS",get:function(){return{editorWrapper:"codex-editor",editorWrapperNarrow:"codex-editor--narrow",editorZone:"codex-editor__redactor",editorZoneHidden:"codex-editor__redactor--hidden",editorLoader:"codex-editor__loader",editorEmpty:"codex-editor--empty",editorRtlFix:"codex-editor--rtl"}}},{key:"contentRect",get:function(){if(this.contentRectCache)return this.contentRectCache;var e=this.nodes.wrapper.querySelector(".".concat(y.default.CSS.content));return e?(this.contentRectCache=e.getBoundingClientRect(),this.contentRectCache):{width:650,left:0,right:0}}},{key:"someToolbarOpened",get:function(){var e=this.Editor,t=e.Toolbox,n=e.BlockSettings,r=e.InlineToolbar,o=e.ConversionToolbar;return n.opened||r.opened||o.opened||t.opened}}
vendor: 38,822 bytes, line 2
2,{key:"someFlipperButtonFocused",get:function(){return Object.entries(this.Editor).filter((function(e){var t=(0,o.default)(e,2);return t[0],t[1].flipper instanceof b.default})).some((function(e){var t=(0,o.default)(e,2);return t[0],t[1].flipper.currentItem}))}}]),_}(h.default);r.default=x,x.displayName="UI",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){n(187),e.exports=n(359)},function(e,t,n){n(188)},function(e,t,n){"use strict";n(189),n(332),n(334),n(337),n(339),n(341),n(343),n(345),n(347),n(349),n(351),n(353),n(355),n(144)},function(e,t,n){n(190),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(220),n(221),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(236),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(244),n(245),n(246),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(254),n(255),n(256),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(271),n(272),n(274),n(275),n(276),n(277),n(278),n(279),n(280),n(282),n(283),n(284),n(285),n(286),n(287),n(288),n(289),n(290),n(291),n(292),n(293),n(294),n(105),n(295),n(133),n(296),n(134),n(297),n(298),n(299),n(300),n(135),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(318),n(319),n(320),n(321),n(322),n(323),n(324),n(325),n(326),n(327),n(328),n(329),n(330),n(331),e.exports=n(17)},function(e,t,n){"use strict";var r=n(10),o=n(26),i=n(18),a=n(0),s=n(21),l=n(41).KEY,c=n(11),u=n(68),d=n(53),f=n(44),p=n(14),h=n(86),m=n(114),v=n(192),g=n(71),y=n(12),b=n(13),_=n(20),w=n(28),k=n(40),x=n(43),C=n(48),S=n(117),E=n(34),T=n(70),O=n(19),I=n(46),A=E.f,D=O.f,P=S.f,M=r.Symbol,$=r.JSON,N=$&&$.stringify,R=p("_hidden"),L=p("toPrimitive"),j={}.propertyIsEnumerable,F=u("symbol-registry"),B=u("symbols"),q=u("op-symbols"),H=Object.prototype,z="function"==typeof M&&!!T.f,U=r.QObject,V=!U||!U.prototype||!U.prototype.findChild,G=i&&c((function(){return 7!=C(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=A(H,t);r&&delete H[t],D(e,t,n),r&&e!==H&&D(H,t,r)}:D,W=function(e){var t=B[e]=C(M.prototype);return t._k=e,t},Y=z&&"symbol"==typeof M.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof M},K=function(e,t,n){return e===H&&K(q,t,n),y(e),t=k(t,!0),y(n),o(B,t)?(n.enumerable?(o(e,R)&&e[R][t]&&(e[R][t]=!1),n=C(n,{enumerable:x(0,!1)})):(o(e,R)||D(e,R,x(1,{})),e[R][t]=!0),G(e,t,n)):D(e,t,n)},Q=function(e,t){y(e);for(var n,r=v(t=w(t)),o=0,i=r.length;i>o;)K(e,n=r[o++],t[n]);return e},J=function(e){var t=j.call(this,e=k(e,!0));return!(this===H&&o(B,e)&&!o(q,e))&&(!(t||!o(this,e)||!o(B,e)||o(this,R)&&this[R][e])||t)},Z=function(e,t){if(e=w(e),t=k(t,!0),e!==H||!o(B,t)||o(q,t)){var n=A(e,t);return!n||!o(B,t)||o(e,R)&&e[R][t]||(n.enumerable=!0),n}},X=function(e){for(var t,n=P(w(e)),r=[],i=0;n.length>i;)o(B,t=n[i++])||t==R||t==l||r.push(t);return r},ee=function(e){for(var t,n=e===H,r=P(n?q:w(e)),i=[],a=0;r.length>a;)!o(B,t=r[a++])||n&&!o(H,t)||i.push(B[t]);return i};z||(s((M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===H&&t.call(q,n),o(this,R)&&o(this[R],e)&&(this[R][e]=!1),G(this,e,x(1,n))};return i&&V&&G(H,e,{configurable:!0,set:t}),W(e)}).prototype,"toString",(function(){return this._k})),E.f=Z,O.f=K,n(49).f=S.f=X,n(62).f=J,T.f=ee,i&&!n(45)&&s(H,"propertyIsEnumerable",J,!0),h.f=function(e){return W(p(e))}),a(a.G+a.W+a.F*!z,{Symbol:M});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)p(te[ne++]);for(var re=I(p.store),oe=0;re.length>oe;)m(re[oe++]);a(a.S+a.F*!z,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=M(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){V=!0},useSimple:function(){V=!1}}),a(a.S+a.F*!z,"Object",{create:function(e,t){return void 0===t?C(e):Q(C(e),t)},defineProperty:K,defineProperties:Q,getOwnPropertyDescriptor:Z,getOwnPropertyNames:X,getOwnPropertySymbols:ee});var ie=c((function(){T.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return T.f(_(e))}}),$&&a(a.S+a.F*(!z||c((function(){var e=M();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!Y(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Y(t))return t}),r[1]=t,N.apply($,r)}}),M.prototype[L]||n(27)(M.prototype,L,M.prototype.valueOf),d(M,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){e.exports=n(68)("native-function-to-string",Function.toString)},function(e,t,n){var r=n(46),o=n(70),i=n(62);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,s=n(e),l=i.f,c=0;s.length>c;)l.call(e,a=s[c++])&&t.push(a);return t}},function(e,t,n){var r=n(0);r(r.S,"Object",{create:n(48)})},function(e,t,n){var r=n(0);r(r.S+r.F*!n(18),"Object",{defineProperty:n(19).f})},function(e,t,n){var r=n(0);r(r.S+r.F*!n(18),"Object",{defineProperties:n(116)})},function(e,t,n){var r=n(28),o=n(34).f;n(35)("getOwnPropertyDescriptor",(function(){return function(e,t){return o(r(e),t)}}))},function(e,t,n){var r=n(20),o=n(50);n(35)("getPrototypeOf",(function(){return function(e){return o(r(e))}}))},function(e,t,n){var r=n(20),o=n(46);n(35)("keys",(function(){return function(e){return o(r(e))}}))},function(e,t,n){n(35)("getOwnPropertyNames",(function(){return n(117).f}))},function(e,t,n){var r=n(13),o=n(41).onFreeze;n(35)("freeze",(function(e){return function(t){return e&&r(t)?e(o(t)):t}}))},function(e,t,n){var r=n(13),o=n(41).onFreeze;n(35)("seal",(function(e){return function(t){return e&&r(t)?e(o(t)):t}}))},function(e,t,n){var r=n(13),o=n(41).onFreeze;n(35)("preventExtensions",(function(e){return function(t){return e&&r(t)?e(o(t)):t}}))},function(e,t,n){var r=n(13);n(35)("isFrozen",(function(e){return function(t){return!r(t)||!!e&&e(t)}}))},function(e,t,n){var r=n(13);n(35)("isSealed",(function(e){return function(t){return!r(t)||!!e&&e(t)}}))},function(e,t,n){var r=n(13);n(35)("isExtensible",(function(e){return function(t){return!!r(t)&&(!e||e(t))}}))},function(e,t,n){var r=n(0);r(r.S+r.F,"Object",{assign:n(118)})},function(e,t,n){var r=n(0);r(r.S,"Object",{is:n(119)})},function(e,t,n){var r=n(0);r(r.S,"Object",{setPrototypeOf:n(90).set})},function(e,t,n){"use strict";var r=n(63),o={};o[n(14)("toStringTag")]="z",o+""!="[object z]"&&n(21)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},function(e,t,n){var r=n(0);r(r.P,"Function",{bind:n(120)})},function(e,t,n){var r=n(19).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(18)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(13),o=n(50),i=n(14)("hasInstance"),a=Function.prototype;i in a||n(19).f(a,i,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=o(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var r=n(0),o=n(122);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(e,t,n){var r=n(0),o=n(123);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(e,t,n){"use strict";var r=n(10),o=n(26),i=n(37),a=n(92),s=n(40),l=n(11),c=n(49).f,u=n(34).f,d=n(19).f,f=n(54).trim,p=r.Number,h=p,m=p.prototype,v="Number"==i(n(48)(m)),g="trim"in String.prototype,y=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){var n,r,o,i=(t=g?t.trim():f(t,3)).charCodeAt(0);if(43===i||45===i){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(t.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+t}for(var a,l=t.slice(2),c=0,u=l.length;c<u;c++)if((a=l.charCodeAt(c))<48||a>o)return NaN;return parseInt(l,r)}}return+t};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof p&&(v?l((function(){m.valueOf.call(n)})):"Number"!=i(n))?a(new h(y(t)),n,p):y(t)};for(var b,_=n(18)?c(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;_.length>w;w++)o(h,b=_[w])&&!o(p,b)&&d(p,b,u(h,b));p.prototype=m,m.constructor=p,n(21)(r,"Number",p)}},function(e,t,n){"use strict";var r=n(0),o=n(33),i=n(124),a=n(93),s=1..toFixed,l=Math.floor,c=[0,0,0,0,0,0],u="Number.toFixed: incorrect invocation!",d=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*c[n],c[n]=r%1e7,r=l(r/1e7)},f=function(e){for(var t=6,n=0;--t>=0;)n+=c[t],c[t]=l(n/e),n=n%e*1e7},p=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==c[e]){var n=String(c[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t},h=function(e,t,n){return 0===t?n:t%2==1?h(e,t-1,n*e):h(e*e,t/2,n)};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(11)((function(){s.call({})}))),"Number",{toFixed:function(e){var t,n,r,s,l=i(this,u),c=o(e),m="",v="0";if(c<0||c>20)throw RangeError(u);if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(m="-",l=-l),l>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(l*h(2,69,1))-69)<0?l*h(2,-t,1):l/h(2,t,1),n*=4503599627370496,(t=52-t)>0){for(d(0,n),r=c;r>=7;)d(1e7,0),r-=7;for(d(h(10,r,1),0),r=t-1;r>=23;)f(1<<23),r-=23;f(1<<r),d(1,1),f(2),v=p()}else d(0,n),d(1<<-t,0),v=p()+a.call("0",c);return c>0?m+((s=v.length)<=c?"0."+a.call("0",c-s)+v:v.slice(0,s-c)+"."+v.slice(s-c)):m+v}})},function(e,t,n){"use strict";var r=n(0),o=n(11),i=n(124),a=1..toPrecision;r(r.P+r.F*(o((function(){return"1"!==a.call(1,void 0)}))||!o((function(){a.call({})}))),"Number",{toPrecision:function(e){var t=i(this,"Number#toPrecision: incorrect invocation!");return void 0===e?a.call(t):a.call(t,e)}})},function(e,t,n){var r=n(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(e,t,n){var r=n(0),o=n(10).isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&o(e)}})},function(e,t,n){var r=n(0);r(r.S,"Number",{isInteger:n(125)})},function(e,t,n){var r=n(0);r(r.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(0),o=n(125),i=Math.abs;r(r.S,"Number",{isSafeInteger:function(e){return o(e)&&i(e)<=9007199254740991}})},function(e,t,n){var r=n(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){var r=n(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(0),o=n(123);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(e,t,n){var r=n(0),o=n(122);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(e,t,n){var r=n(0),o=n(126),i=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:o(e-1+i(e-1)*i(e+1))}})},function(e,t,n){var r=n(0),o=Math.asinh;r(r.S+r.F*!(o&&1/o(0)>0),"Math",{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):Math.log(t+Math.sqrt(t*t+1)):t}})},function(e,t,n){var r=n(0),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){var r=n(0),o=n(94);r(r.S,"Math",{cbrt:function(e){return o(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){var r=n(0);r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){var r=n(0),o=Math.exp;r(r.S,"Math",{cosh:function(e){return(o(e=+e)+o(-e))/2}})},function(e,t,n){var r=n(0),o=n(95);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},function(e,t,n){var r=n(0);r(r.S,"Math",{fround:n(235)})},function(e,t,n){var r=n(94),o=Math.pow,i=o(2,-52),a=o(2,-23),s=o(2,127)*(2-a),l=o(2,-126);e.exports=Math.fround||function(e){var t,n,o=Math.abs(e),c=r(e);return o<l?c*(o/l/a+1/i-1/i)*l*a:(n=(t=(1+a/i)*o)-(t-o))>s||n!=n?c*(1/0):c*n}},function(e,t,n){var r=n(0),o=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var n,r,i=0,a=0,s=arguments.length,l=0;a<s;)l<(n=o(arguments[a++]))?(i=i*(r=l/n)*r+1,l=n):i+=n>0?(r=n/l)*r:n;return l===1/0?1/0:l*Math.sqrt(i)}})},function(e,t,n){var r=n(0),o=Math.imul;r(r.S+r.F*n(11)((function(){return-5!=o(4294967295,5)||2!=o.length})),"Math",{imul:function(e,t){var n=+e,r=+t,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},function(e,t,n){var r=n(0);r(r.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},function(e,t,n){var r=n(0);r(r.S,"Math",{log1p:n(126)})},function(e,t,n){var r=n(0);r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var r=n(0);r(r.S,"Math",{sign:n(94)})},function(e,t,n){var r=n(0),o=n(95),i=Math.exp;r(r.S+r.F*n(11)((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(o(e)-o(-e))/2:(i(e-1)-i(-e-1))*(Math.E/2)}})},function(e,t,n){var r=n(0),o=n(95),i=Math.exp;r(r.S,"Math",{tanh:function(e){var t=o(e=+e),n=o(-e);return t==1/0?1:n==1/0?-1:(t-n)/(i(e)+i(-e))}})},function(e,t,n){var r=n(0);r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){var r=n(0),o=n(47),i=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],o(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){var r=n(0),o=n(28),i=n(16);r(r.S,"String",{raw:function(e){for(var t=o(e.raw),n=i(t.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(t[s++])),s<r&&a.push(String(arguments[s]));return a.join("")}})},function(e,t,n){"use strict";n(54)("trim",(function(e){return function(){return e(this,3)}}))},function(e,t,n){"use strict";var r=n(96)(!0);n(97)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){"use strict";var r=n(0),o=n(96)(!1);r(r.P,"String",{codePointAt:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(0),o=n(16),i=n(98),a="".endsWith;r(r.P+r.F*n(100)("endsWith"),"String",{endsWith:function(e){var t=i(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=o(t.length),s=void 0===n?r:Math.min(o(n),r),l=String(e);return a?a.call(t,l,s):t.slice(s-l.length,s)===l}})},function(e,t,n){"use strict";var r=n(0),o=n(98);r(r.P+r.F*n(100)("includes"),"String",{includes:function(e){return!!~o(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(0);r(r.P,"String",{repeat:n(93)})},function(e,t,n){"use strict";var r=n(0),o=n(16),i=n(98),a="".startsWith;r(r.P+r.F*n(100)("startsWith"),"String",{startsWith:function(e){var t=i(this,e,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return a?a.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";n(22)("anchor",(function(e){return function(t){return e(this,"a","name",t)}}))},function(e,t,n){"use strict";n(22)("big",(function(e){return function(){return e(this,"big","","")}}))},function(e,t,n){"use strict";n(22)("blink",(function(e){return function(){return e(this,"blink","","")}}))},function(e,t,n){"use strict";n(22)("bold",(function(e){return function(){return e(this,"b","","")}}))},function(e,t,n){"use strict";n(22)("fixed",(function(e){return function(){return e(this,"tt","","")}}))},function(e,t,n){"use strict";n(22)("fontcolor",(function(e){return function(t){return e(this,"font","color",t)}}))},function(e,t,n){"use strict";n(22)("fontsize",(function(e){return function(t){return e(this,"font","size",t)}}))},function(e,t,n){"use strict";n(22)("italics",(function(e){return function(){return e(this,"i","","")}}))},function(e,t,n){"use strict";n(22)("link",(function(e){return function(t){return e(this,"a","href",t)}}))},function(e,t,n){"use strict";n(22)("small",(function(e){return function(){return e(this,"small","","")}}))},function(e,t,n){"use strict";n(22)("strike",(function(e){return function(){return e(this,"strike","","")}}))},function(e,t,n){"use strict";n(22)("sub",(function(e){return function(){return e(this,"sub","","")}}))},function(e,t,n){"use strict";n(22)("sup",(function(e){return function(){return e(this,"sup","","")}}))},function(e,t,n){var r=n(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";var r=n(0),o=n(20),i=n(40);r(r.P+r.F*n(11)((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(e){var t=o(this),n=i(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(0),o=n(270);r(r.P+r.F*(Date.prototype.toISOString!==o),"Date",{toISOString:o})},function(e,t,n){"use strict";var r=n(11),o=Date.prototype.getTime,i=Date.prototype.toISOString,a=function(e){return e>9?e:"0"+e};e.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=i.call(new Date(-50000000000001))}))||!r((function(){i.call(new Date(NaN))}))?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+a(e.getUTCMonth()+1)+"-"+a(e.getUTCDate())+"T"+a(e.getUTCHours())+":"+a(e.getUTCMinutes())+":"+a(e.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:i},function(e,t,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(21)(r,"toString",(function(){var e=i.call(this);return e==e?o.call(this):"Invalid Date"}))},function(e,t,n){var r=n(14)("toPrimitive"),o=Date.prototype;r in o||n(27)(o,r,n(273))},function(e,t,n){"use strict";var r=n(12),o=n(40);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return o(r(this),"number"!=e)}},function(e,t,n){var r=n(0);r(r.S,"Array",{isArray:n(71)})},function(e,t,n){"use strict";var r=n(31),o=n(0),i=n(20),a=n(128),s=n(101),l=n(16),c=n(102),u=n(103);o(o.S+o.F*!n(72)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,d,f=i(e),p="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,v=void 0!==m,g=0,y=u(f);if(v&&(m=r(m,h>2?arguments[2]:void 0,2)),null==y||p==Array&&s(y))for(n=new p(t=l(f.length));t>g;g++)c(n,g,v?m(f[g],g):f[g]);else for(d=y.call(f),n=new p;!(o=d.next()).done;g++)c(n,g,v?a(d,m,[o.value,g],!0):o.value);return n.length=g,n}})},function(e,t,n){"use strict";var r=n(0),o=n(102);r(r.S+r.F*n(11)((function(){function e(){}return!(Array.of.call(e)instanceof e)})),"Array",{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)o(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(0),o=n(28),i=[].join;r(r.P+r.F*(n(61)!=Object||!n(29)(i)),"Array",{join:function(e){return i.call(o(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var r=n(0),o=n(89),i=n(37),a=n(47),s=n(16),l=[].slice;r(r.P+r.F*n(11)((function(){o&&l.call(o)})),"Array",{slice:function(e,t){var n=s(this.length),r=i(this);if(t=void 0===t?n:t,"Array"==r)return l.call(this,e,t);for(var o=a(e,n),c=a(t,n),u=s(c-o),d=new Array(u),f=0;f<u;f++)d[f]="String"==r?this.charAt(o+f):this[o+f];return d}})},function(e,t,n){"use strict";var r=n(0),o=n(32),i=n(20),a=n(11),s=[].sort,l=[1,2,3];r(r.P+r.F*(a((function(){l.sort(void 0)}))||!a((function(){l.sort(null)}))||!n(29)(s)),"Array",{sort:function(e){return void 0===e?s.call(i(this)):s.call(i(this),o(e))}})},function(e,t,n){"use strict";var r=n(0),o=n(36)(0),i=n(29)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(13),o=n(71),i=n(14)("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){"use strict";var r=n(0),o=n(36)(1);r(r.P+r.F*!n(29)([].map,!0),"Array",{map:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(0),o=n(36)(2);r(r.P+r.F*!n(29)([].filter,!0),"Array",{filter:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(0),o=n(36)(3);r(r.P+r.F*!n(29)([].some,!0),"Array",{some:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(0),o=n(36)(4);r(r.P+r.F*!n(29)([].every,!0),"Array",{every:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(0),o=n(130);r(r.P+r.F*!n(29)([].reduce,!0),"Array",{reduce:function(e){return o(this,e,arguments.length,arguments[1],!1)}})},function(e,t,n){"use strict";var r=n(0),o=n(130);r(r.P+r.F*!n(29)([].reduceRight,!0),"Array",{reduceRight:function(e){return o(this,e,arguments.length,arguments[1],!0)}})},function(e,t,n){"use strict";var r=n(0),o=n(69)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(29)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(0),o=n(28),i=n(33),a=n(16),s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(l||!n(29)(s)),"Array",{lastIndexOf:function(e){if(l)return s.apply(this,arguments)||0;var t=o(this),n=a(t.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,i(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}})},function(e,t,n){var r=n(0);r(r.P,"Array",{copyWithin:n(131)}),n(51)("copyWithin")},function(e,t,n){var r=n(0);r(r.P,"Array",{fill:n(104)}),n(51)("fill")},function(e,t,n){"use strict";var r=n(0),o=n(36)(5),i=!0;"find"in[]&&Array(1).find((function(){i=!1})),r(r.P+r.F*i,"Array",{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(51)("find")},function(e,t,n){"use strict";var r=n(0),o=n(36)(6),i="findIndex",a=!0;i in[]&&Array(1)[i]((function(){a=!1})),r(r.P+r.F*a,"Array",{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(51)(i)},function(e,t,n){n(56)("Array")},function(e,t,n){var r=n(10),o=n(92),i=n(19).f,a=n(49).f,s=n(99),l=n(73),c=r.RegExp,u=c,d=c.prototype,f=/a/g,p=/a/g,h=new c(f)!==f;if(n(18)&&(!h||n(11)((function(){return p[n(14)("match")]=!1,c(f)!=f||c(p)==p||"/a/i"!=c(f,"i")})))){c=function(e,t){var n=this instanceof c,r=s(e),i=void 0===t;return!n&&r&&e.constructor===c&&i?e:o(h?new u(r&&!i?e.source:e,t):u((r=e instanceof c)?e.source:e,r&&i?l.call(e):t),n?this:d,c)};for(var m=function(e){e in c||i(c,e,{configurable:!0,get:function(){return u[e]},set:function(t){u[e]=t}})},v=a(u),g=0;v.length>g;)m(v[g++]);d.constructor=c,c.prototype=d,n(21)(r,"RegExp",c)}n(56)("RegExp")},function(e,t,n){"use strict";n(134);var r=n(12),o=n(73),i=n(18),a=/./.toString,s=function(e){n(21)(RegExp.prototype,"toString",e,!0)};n(11)((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?s((function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)})):"toString"!=a.name&&s((function(){return a.call(this)}))},function(e,t,n){"use strict";var r=n(12),o=n(16),i=n(107),a=n(74);n(75)("match",1,(function(e,t,n,s){return[function(n){var r=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=s(n,e,this);if(t.done)return t.value;var l=r(e),c=String(this);if(!l.global)return a(l,c);var u=l.unicode;l.lastIndex=0;for(var d,f=[],p=0;null!==(d=a(l,c));){var h=String(d[0]);f[p]=h,""===h&&(l.lastIndex=i(c,o(l.lastIndex),u)),p++}return 0===p?null:f}]}))},function(e,t,n){"use strict";var r=n(12),o=n(20),i=n(16),a=n(33),s=n(107),l=n(74),c=Math.max,u=Math.min,d=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;n(75)("replace",2,(function(e,t,n,h){return[function(r,o){var i=e(this),a=null==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=h(n,e,this,t);if(o.done)return o.value;var d=r(e),f=String(this),p="function"==typeof t;p||(t=String(t));var v=d.global;if(v){var g=d.unicode;d.lastIndex=0}for(var y=[];;){var b=l(d,f);if(null===b)break;if(y.push(b),!v)break;""===String(b[0])&&(d.lastIndex=s(f,i(d.lastIndex),g))}for(var _,w="",k=0,x=0;x<y.length;x++){b=y[x];for(var C=String(b[0]),S=c(u(a(b.index),f.length),0),E=[],T=1;T<b.length;T++)E.push(void 0===(_=b[T])?_:String(_));var O=b.groups;if(p){var I=[C].concat(E,S,f);void 0!==O&&I.push(O);var A=String(t.apply(void 0,I))}else A=m(C,f,S,E,O,t);S>=k&&(w+=f.slice(k,S)+A,k=S+C.length)}return w+f.slice(k)}];function m(e,t,r,i,a,s){var l=r+e.length,c=i.length,u=p;return void 0!==a&&(a=o(a),u=f),n.call(s,u,(function(n,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(l);case"<":s=a[o.slice(1,-1)];break;default:var u=+o;if(0===u)return n;if(u>c){var f=d(u/10);return 0===f?n:f<=c?void 0===i[f-1]?o.charAt(1):i[f-1]+o.charAt(1):n}s=i[u-1]}return void 0===s?"":s}))}}))},function(e,t,n){"use strict";var r=n(12),o=n(119),i=n(74);n(75)("search",1,(function(e,t,n,a){return[function(n){var r=e(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=a(n,e,this);if(t.done)return t.value;var s=r(e),l=String(this),c=s.lastIndex;o(c,0)||(s.lastIndex=0);var u=i(s,l);return o(s.lastIndex,c)||(s.lastIndex=c),null===u?-1:u.index}]}))},function(e,t,n){"use strict";var r=n(99),o=n(12),i=n(64),a=n(107),s=n(16),l=n(74),c=n(106),u=n(11),d=Math.min,f=[].push,p="length",h=!u((function(){RegExp(4294967295,"y")}));n(75)("split",2,(function(e,t,n,u){var m;return m="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[p]||2!="ab".split(/(?:ab)*/)[p]||4!=".".split(/(.?)(.?)/)[p]||".".split(/()()/)[p]>1||"".split(/.?/)[p]?function(e,t){var o=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(o,e,t);for(var i,a,s,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,h=void 0===t?4294967295:t>>>0,m=new RegExp(e.source,u+"g");(i=c.call(m,o))&&!((a=m.lastIndex)>d&&(l.push(o.slice(d,i.index)),i[p]>1&&i.index<o[p]&&f.apply(l,i.slice(1)),s=i[0][p],d=a,l[p]>=h));)m.lastIndex===i.index&&m.lastIndex++;return d===o[p]?!s&&m.test("")||l.push(""):l.push(o.slice(d)),l[p]>h?l.slice(0,h):l}:"0".split(void 0,0)[p]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,r){var o=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):m.call(String(o),n,r)},function(e,t){var r=u(m,e,this,t,m!==n);if(r.done)return r.value;var c=o(e),f=String(this),p=i(c,RegExp),v=c.unicode,g=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(h?"y":"g"),y=new p(h?c:"^(?:"+c.source+")",g),b=void 0===t?4294967295:t>>>0;if(0===b)return[];if(0===f.length)return null===l(y,f)?[f]:[];for(var _=0,w=0,k=[];w<f.length;){y.lastIndex=h?w:0;var x,C=l(y,h?f:f.slice(w));if(null===C||(x=d(s(y.lastIndex+(h?0:w)),f.length))===_)w=a(f,w,v);else{if(k.push(f.slice(_,w)),k.length===b)return k;for(var S=1;S<=C.length-1;S++)if(k.push(C[S]),k.length===b)return k;w=_=x}}return k.push(f.slice(_)),k}]}))},function(e,t,n){var r=n(10),o=n(108).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==n(37)(a);e.exports=function(){var e,t,n,c=function(){var r,o;for(l&&(r=a.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(l)n=function(){a.nextTick(c)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var u=s.resolve(void 0);n=function(){u.then(c)}}else n=function(){o.call(r,c)};else{var d=!0,f=document.createTextNode("");new i(c).observe(f,{characterData:!0}),n=function(){f.data=d=!d}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){"use strict";var r=n(138),o=n(52);e.exports=n(78)("Map",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(e){var t=r.getEntry(o(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(o(this,"Map"),0===e?0:e,t)}},r,!0)},function(e,t,n){"use strict";var r=n(138),o=n(52);e.exports=n(78)("Set",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(e){return r.def(o(this,"Set"),e=0===e?0:e,e)}},r)},function(e,t,n){"use strict";var r,o=n(10),i=n(36)(0),a=n(21),s=n(41),l=n(118),c=n(139),u=n(13),d=n(52),f=n(52),p=!o.ActiveXObject&&"ActiveXObject"in o,h=s.getWeak,m=Object.isExtensible,v=c.ufstore,g=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},y={get:function(e){if(u(e)){var t=h(e);return!0===t?v(d(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return c.def(d(this,"WeakMap"),e,t)}},b=e.exports=n(78)("WeakMap",g,y,c,!0,!0);f&&p&&(l((r=c.getConstructor(g,"WeakMap")).prototype,y),s.NEED=!0,i(["delete","has","get","set"],(function(e){var t=b.prototype,n=t[e];a(t,e,(function(t,o){if(u(t)&&!m(t)){this._f||(this._f=new r);var i=this._f[e](t,o);return"set"==e?this:i}return n.call(this,t,o)}))})))},function(e,t,n){"use strict";var r=n(139),o=n(52);n(78)("WeakSet",(function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(e){return r.def(o(this,"WeakSet"),e,!0)}},r,!1,!0)},function(e,t,n){"use strict";var r=n(0),o=n(79),i=n(109),a=n(12),s=n(47),l=n(16),c=n(13),u=n(10).ArrayBuffer,d=n(64),f=i.ArrayBuffer,p=i.DataView,h=o.ABV&&u.isView,m=f.prototype.slice,v=o.VIEW;r(r.G+r.W+r.F*(u!==f),{ArrayBuffer:f}),r(r.S+r.F*!o.CONSTR,"ArrayBuffer",{isView:function(e){return h&&h(e)||c(e)&&v in e}}),r(r.P+r.U+r.F*n(11)((function(){return!new f(2).slice(1,void 0).byteLength})),"ArrayBuffer",{slice:function(e,t){if(void 0!==m&&void 0===t)return m.call(a(this),e);for(var n=a(this).byteLength,r=s(e,n),o=s(void 0===t?n:t,n),i=new(d(this,f))(l(o-r)),c=new p(this),u=new p(i),h=0;r<o;)u.setUint8(h++,c.getUint8(r++));return i}}),n(56)("ArrayBuffer")},function(e,t,n){var r=n(0);r(r.G+r.W+r.F*!n(79).ABV,{DataView:n(109).DataView})},function(e,t,n){n(39)("Int8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(39)("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(39)("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},function(e,t,n){n(39)("Int16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(39)("Uint16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(39)("Int32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(39)("Uint32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(39)("Float32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(39)("Float64",8,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){var r=n(0),o=n(32),i=n(12),a=(n(10).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n(11)((function(){a((function(){}))})),"Reflect",{apply:function(e,t,n){var r=o(e),l=i(n);return a?a(r,t,l):s.call(r,t,l)}})},function(e,t,n){var r=n(0),o=n(48),i=n(32),a=n(12),s=n(13),l=n(11),c=n(120),u=(n(10).Reflect||{}).construct,d=l((function(){function e(){}return!(u((function(){}),[],e)instanceof e)})),f=!l((function(){u((function(){}))}));r(r.S+r.F*(d||f),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(f&&!d)return u(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(c.apply(e,r))}var l=n.prototype,p=o(s(l)?l:Object.prototype),h=Function.apply.call(e,p,t);return s(h)?h:p}})},function(e,t,n){var r=n(19),o=n(0),i=n(12),a=n(40);o(o.S+o.F*n(11)((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(e,t,n){i(e),t=a(t,!0),i(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},function(e,t,n){var r=n(0),o=n(34).f,i=n(12);r(r.S,"Reflect",{deleteProperty:function(e,t){var n=o(i(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){"use strict";var r=n(0),o=n(12),i=function(e){this._t=o(e),this._i=0;var t,n=this._k=[];for(t in e)n.push(t)};n(127)(i,"Object",(function(){var e,t=this._k;do{if(this._i>=t.length)return{value:void 0,done:!0}}while(!((e=t[this._i++])in this._t));return{value:e,done:!1}})),r(r.S,"Reflect",{enumerate:function(e){return new i(e)}})},function(e,t,n){var r=n(34),o=n(50),i=n(26),a=n(0),s=n(13),l=n(12);a(a.S,"Reflect",{get:function e(t,n){var a,c,u=arguments.length<3?t:arguments[2];return l(t)===u?t[n]:(a=r.f(t,n))?i(a,"value")?a.value:void 0!==a.get?a.get.call(u):void 0:s(c=o(t))?e(c,n,u):void 0}})},function(e,t,n){var r=n(34),o=n(0),i=n(12);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.f(i(e),t)}})},function(e,t,n){var r=n(0),o=n(50),i=n(12);r(r.S,"Reflect",{getPrototypeOf:function(e){return o(i(e))}})},function(e,t,n){var r=n(0);r(r.S,"Reflect",{has:function(e,t){return t in e}})},function(e,t,n){var r=n(0),o=n(12),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return o(e),!i||i(e)}})},function(e,t,n){var r=n(0);r(r.S,"Reflect",{ownKeys:n(141)})},function(e,t,n){var r=n(0),o=n(12),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){o(e);try{return i&&i(e),!0}catch(e){return!1}}})},function(e,t,n){var r=n(19),o=n(34),i=n(50),a=n(26),s=n(0),l=n(43),c=n(12),u=n(13);s(s.S,"Reflect",{set:function e(t,n,s){var d,f,p=arguments.length<4?t:arguments[3],h=o.f(c(t),n);if(!h){if(u(f=i(t)))return e(f,n,s,p);h=l(0)}if(a(h,"value")){if(!1===h.writable||!u(p))return!1;if(d=o.f(p,n)){if(d.get||d.set||!1===d.writable)return!1;d.value=s,r.f(p,n,d)}else r.f(p,n,l(0,s));return!0}return void 0!==h.set&&(h.set.call(p,s),!0)}})},function(e,t,n){var r=n(0),o=n(90);o&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){o.check(e,t);try{return o.set(e,t),!0}catch(e){return!1}}})},function(e,t,n){n(333),e.exports=n(17).Array.includes},function(e,t,n){"use strict";var r=n(0),o=n(69)(!0);r(r.P,"Array",{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(51)("includes")},function(e,t,n){n(335),e.exports=n(17).Array.flatMap},function(e,t,n){"use strict";var r=n(0),o=n(336),i=n(20),a=n(16),s=n(32),l=n(129);r(r.P,"Array",{flatMap:function(e){var t,n,r=i(this);return s(e),t=a(r.length),n=l(r,0),o(n,r,r,t,0,1,e,arguments[1]),n}}),n(51)("flatMap")},function(e,t,n){"use strict";var r=n(71),o=n(13),i=n(16),a=n(31),s=n(14)("isConcatSpreadable");e.exports=function e(t,n,l,c,u,d,f,p){for(var h,m,v=u,g=0,y=!!f&&a(f,p,3);g<c;){if(g in l){if(h=y?y(l[g],g,n):l[g],m=!1,o(h)&&(m=void 0!==(m=h[s])?!!m:r(h)),m&&d>0)v=e(t,n,h,i(h.length),v,d-1)-1;else{if(v>=9007199254740991)throw TypeError();t[v]=h}v++}g++}return v}},function(e,t,n){n(338),e.exports=n(17).String.padStart},function(e,t,n){"use strict";var r=n(0),o=n(142),i=n(77),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*a,"String",{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){n(340),e.exports=n(17).String.padEnd},function(e,t,n){"use strict";var r=n(0),o=n(142),i=n(77),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*a,"String",{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,n){n(342),e.exports=n(17).String.trimLeft},function(e,t,n){"use strict";n(54)("trimLeft",(function(e){return function(){return e(this,1)}}),"trimStart")},function(e,t,n){n(344),e.exports=n(17).String.trimRight},function(e,t,n){"use strict";n(54)("trimRight",(function(e){return function(){return e(this,2)}}),"trimEnd")},function(e,t,n){n(346),e.exports=n(86).f("asyncIterator")},function(e,t,n){n(114)("asyncIterator")},function(e,t,n){n(348),e.exports=n(17).Object.getOwnPropertyDescriptors},function(e,t,n){var r=n(0),o=n(141),i=n(28),a=n(34),s=n(102);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),l=a.f,c=o(r),u={},d=0;c.length>d;)void 0!==(n=l(r,t=c[d++]))&&s(u,t,n);return u}})},function(e,t,n){n(350),e.exports=n(17).Object.values},function(e,t,n){var r=n(0),o=n(143)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){n(352),e.exports=n(17).Object.entries},function(e,t,n){var r=n(0),o=n(143)(!0);r(r.S,"Object",{entries:function(e){return o(e)}})},function(e,t,n){"use strict";n(135),n(354),e.exports=n(17).Promise.finally},function(e,t,n){"use strict";var r=n(0),o=n(17),i=n(10),a=n(64),s=n(137);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then((function(){return n}))}:e,n?function(n){return s(t,e()).then((function(){throw n}))}:e)}})},function(e,t,n){n(356),n(357),n(358),e.exports=n(17)},function(e,t,n){var r=n(10),o=n(0),i=n(77),a=[].slice,s=/MSIE .\./.test(i),l=function(e){return function(t,n){var r=arguments.length>2,o=!!r&&a.call(arguments,2);return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,o)}:t,n)}};o(o.G+o.B+o.F*s,{setTimeout:l(r.setTimeout),setInterval:l(r.setInterval)})},function(e,t,n){var r=n(0),o=n(108);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(e,t,n){for(var r=n(105),o=n(46),i=n(21),a=n(10),s=n(27),l=n(55),c=n(14),u=c("iterator"),d=c("toStringTag"),f=l.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(p),m=0;m<h.length;m++){var v,g=h[m],y=p[g],b=a[g],_=b&&b.prototype;if(_&&(_[u]||s(_,u,f),_[d]||s(_,d,g),l[g]=f,y))for(v in r)_[v]||i(_,v,r[v],!0)}},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(30),n(2),n(3),n(363),n(365),n(366),n(7)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u){"use strict";var d=n(8),f=n(1);
2Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=f(o),i=f(i),a=f(a),c=f(c),u=d(u);var p=function(){function e(t){var n=this;(0,i.default)(this,e);var r=function(){};u.isObject(t)&&u.isFunction(t.onReady)&&(r=t.onReady);var o=new c.default(t);this.isReady=o.isReady.then((function(){n.exportAPI(o),r()}))}return(0,a.default)(e,[{key:"exportAPI",value:function(e){var t=this;["configuration"].forEach((function(n){t[n]=e[n]})),this.destroy=function(){for(var n in Object.values(e.moduleInstances).forEach((function(e){u.isFunction(e.destroy)&&e.destroy(),e.listeners.removeAll()})),e=null,t)Object.prototype.hasOwnProperty.call(t,n)&&delete t[n];Object.setPrototypeOf(t,null)},Object.setPrototypeOf(this,e.moduleInstances.API.methods),delete this.exportAPI,Object.entries({blocks:{clear:"clear",render:"render"},caret:{focus:"focus"},events:{on:"on",off:"off",emit:"emit"},saver:{save:"save"}}).forEach((function(n){var r=(0,o.default)(n,2),i=r[0],a=r[1];Object.entries(a).forEach((function(n){var r=(0,o.default)(n,2),a=r[0],s=r[1];t[s]=e.moduleInstances.API.methods[i][a]}))}))}}],[{key:"version",get:function(){return"2.22.2"}}]),e}();r.default=p,p.displayName="EditorJS",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){(t=e.exports=function(...e){return o(...e)}).__esModule=!0;const r=n(364),o=r.default;Object.assign(t,r)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){},t.revert=function(){}},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[],void 0===(i="function"==typeof(r=function(){"use strict";Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length;--n>=0&&t.item(n)!==this;);return n>-1}),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t);return null}),Element.prototype.prepend||(Element.prototype.prepend=function(e){var t=document.createDocumentFragment();Array.isArray(e)||(e=[e]),e.forEach((function(e){var n=e instanceof Node;t.appendChild(n?e:document.createTextNode(e))})),this.insertBefore(t,this.firstChild)})})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(23),n(24),n(2),n(3),n(15),n(7),n(59),n(148),n(151)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u,d,f){"use strict";var p=n(8),h=n(1);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=h(o),i=h(i),a=h(a),s=h(s),l=h(l),c=p(c),u=h(u),f=h(f);var m=n(374),v=[];m.keys().forEach((function(e){e.match(/^\.\/[^_][\w/]*\.([tj])s$/)&&v.push(m(e))}));var g=function(){function e(t){var n,r,s=this;(0,a.default)(this,e),this.moduleInstances={},this.eventsDispatcher=new f.default,this.isReady=new Promise((function(e,t){n=e,r=t})),Promise.resolve().then((0,i.default)(o.default.mark((function e(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s.configuration=t,e.next=3,s.validate();case 3:return e.next=5,s.init();case 5:return e.next=7,s.start();case 7:c.logLabeled("I'm ready! (ï¾âã®â)ï¾*:ï½¥ï¾â§","log","","color: #E24A75"),setTimeout((0,i.default)(o.default.mark((function e(){var t,r,i;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.render();case 2:s.configuration.autofocus&&(t=s.moduleInstances,r=t.BlockManager,(i=t.Caret).setToBlock(r.blocks[0],i.positions.START),r.highlightCurrentNode()),s.moduleInstances.UI.removeLoader(),n();case 5:case"end":return e.stop()}}),e)}))),500);case 9:case"end":return e.stop()}}),e)})))).catch((function(e){c.log("Editor.js is not ready because of ".concat(e),"error"),r(e)}))}var t,n;return(0,s.default)(e,[{key:"validate",value:(n=(0,i.default)(o.default.mark((function e(){var t,n,r;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.config,n=t.holderId,r=t.holder,!n||!r){e.next=3;break}throw Error("«holderId» and «holder» param can't assign at the same time.");case 3:if(!c.isString(r)||l.default.get(r)){e.next=5;break}throw Error("element with ID «".concat(r,"» is missing. Pass correct holder's ID."));case 5:if(!r||!c.isObject(r)||l.default.isElement(r)){e.next=7;break}throw Error("«holder» value must be an Element node");case 7:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"init",value:function(){this.constructModules(),this.configureModules()}},{key:"start",value:(t=(0,i.default)(o.default.mark((function e(){var t,n=this;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=["Tools","UI","BlockManager","Paste","BlockSelection","RectangleSelection","CrossBlockSelection","ReadOnly"],e.next=3,t.reduce((function(e,t){return e.then((0,i.default)(o.default.mark((function e(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,n.moduleInstances[t].prepare();case 3:e.next=10;break;case 5:if(e.prev=5,e.t0=e.catch(0),!(e.t0 instanceof d.CriticalError)){e.next=9;break}throw new Error(e.t0.message);case 9:c.log("Module ".concat(t," was skipped because of %o"),"warn",e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,5]])}))))}),Promise.resolve());case 3:case"end":return e.stop()}}),e)}))),function(){return t.apply(this,arguments)})},{key:"render",value:function(){return this.moduleInstances.Renderer.render(this.config.data.blocks)}},{key:"constructModules",value:function(){var e=this;v.forEach((function(t){var n=c.isFunction(t)?t:t.default;try{e.moduleInstances[n.displayName]=new n({config:e.configuration,eventsDispat
2cher:e.eventsDispatcher})}catch(e){c.log("Module ".concat(n.displayName," skipped because"),"warn",e)}}))}},{key:"configureModules",value:function(){for(var e in this.moduleInstances)Object.prototype.hasOwnProperty.call(this.moduleInstances,e)&&(this.moduleInstances[e].state=this.getModulesDiff(e))}},{key:"getModulesDiff",value:function(e){var t={};for(var n in this.moduleInstances)n!==e&&(t[n]=this.moduleInstances[n]);return t}},{key:"configuration",set:function(e){var t,n;c.isObject(e)?this.config=Object.assign({},e):this.config={holder:e},c.deprecationAssert(!!this.config.holderId,"config.holderId","config.holder"),this.config.holderId&&!this.config.holder&&(this.config.holder=this.config.holderId,this.config.holderId=null),null==this.config.holder&&(this.config.holder="editorjs"),this.config.logLevel||(this.config.logLevel=c.LogLevels.VERBOSE),c.setLogLevel(this.config.logLevel),c.deprecationAssert(Boolean(this.config.initialBlock),"config.initialBlock","config.defaultBlock"),this.config.defaultBlock=this.config.defaultBlock||this.config.initialBlock||"paragraph",this.config.minHeight=void 0!==this.config.minHeight?this.config.minHeight:300;var r={type:this.config.defaultBlock,data:{}};this.config.placeholder=this.config.placeholder||!1,this.config.sanitizer=this.config.sanitizer||{p:!0,b:!0,a:!0},this.config.hideToolbar=!!this.config.hideToolbar&&this.config.hideToolbar,this.config.tools=this.config.tools||{},this.config.i18n=this.config.i18n||{},this.config.data=this.config.data||{blocks:[]},this.config.onReady=this.config.onReady||function(){},this.config.onChange=this.config.onChange||function(){},this.config.inlineToolbar=void 0===this.config.inlineToolbar||this.config.inlineToolbar,!c.isEmpty(this.config.data)&&this.config.data.blocks&&0!==this.config.data.blocks.length||(this.config.data={blocks:[r]}),this.config.readOnly=this.config.readOnly||!1,(null===(t=this.config.i18n)||void 0===t?void 0:t.messages)&&u.default.setDictionary(this.config.i18n.messages),this.config.i18n.direction=(null===(n=this.config.i18n)||void 0===n?void 0:n.direction)||"ltr"},get:function(){return this.config}}]),e}();r.default=g,g.displayName="Core",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r=n(146);e.exports=function(e){if(Array.isArray(e))return r(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}},function(e,t,n){var r=n(110),o=n(373);function i(t,n,a){return o()?e.exports=i=Reflect.construct:e.exports=i=function(e,t,n){var o=[null];o.push.apply(o,t);var i=new(Function.bind.apply(e,o));return n&&r(i,n.prototype),i},i.apply(null,arguments)}e.exports=i},function(e,t){e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}},function(e,t,n){var r={"./api":81,"./api/":81,"./api/blocks":152,"./api/blocks.ts":152,"./api/caret":153,"./api/caret.ts":153,"./api/events":154,"./api/events.ts":154,"./api/i18n":155,"./api/i18n.ts":155,"./api/index":81,"./api/index.ts":81,"./api/inlineToolbar":156,"./api/inlineToolbar.ts":156,"./api/listeners":157,"./api/listeners.ts":157,"./api/notifier":158,"./api/notifier.ts":158,"./api/readonly":159,"./api/readonly.ts":159,"./api/sanitizer":160,"./api/sanitizer.ts":160,"./api/saver":161,"./api/saver.ts":161,"./api/selection":162,"./api/selection.ts":162,"./api/styles":163,"./api/styles.ts":163,"./api/toolbar":164,"./api/toolbar.ts":164,"./api/tooltip":165,"./api/tooltip.ts":165,"./blockEvents":166,"./blockEvents.ts":166,"./blockManager":167,"./blockManager.ts":167,"./blockSelection":169,"./blockSelection.ts":169,"./caret":170,"./caret.ts":170,"./crossBlockSelection":171,"./crossBlockSelection.ts":171,"./dragNDrop":172,"./dragNDrop.ts":172,"./modificationsObserver"
2:173,"./modificationsObserver.ts":173,"./paste":174,"./paste.ts":174,"./readonly":175,"./readonly.ts":175,"./rectangleSelection":176,"./rectangleSelection.ts":176,"./renderer":177,"./renderer.ts":177,"./saver":178,"./saver.ts":178,"./toolbar":83,"./toolbar/":83,"./toolbar/blockSettings":179,"./toolbar/blockSettings.ts":179,"./toolbar/conversion":180,"./toolbar/conversion.ts":180,"./toolbar/index":83,"./toolbar/index.ts":83,"./toolbar/inline":181,"./toolbar/inline.ts":181,"./toolbar/toolbox":182,"./toolbar/toolbox.ts":182,"./tools":183,"./tools.ts":183,"./ui":185,"./ui.ts":185};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=374},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(7)],void 0===(i="function"==typeof(r=function(r,o,i,a){"use strict";var s=n(8),l=n(1);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=l(o),i=l(i),a=s(a);var c=function(){function e(){(0,o.default)(this,e),this.allListeners=[]}return(0,i.default)(e,[{key:"on",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=a.generateId("l"),i={id:o,element:e,eventType:t,handler:n,options:r};if(!this.findOne(e,t,n))return this.allListeners.push(i),e.addEventListener(t,n,r),o}},{key:"off",value:function(e,t,n,r){var o=this,i=this.findAll(e,t,n);i.forEach((function(e,t){var n=o.allListeners.indexOf(i[t]);n>-1&&(o.allListeners.splice(n,1),e.element.removeEventListener(e.eventType,e.handler,e.options))}))}},{key:"offById",value:function(e){var t=this.findById(e);t&&t.element.removeEventListener(t.eventType,t.handler,t.options)}},{key:"findOne",value:function(e,t,n){var r=this.findAll(e,t,n);return r.length>0?r[0]:null}},{key:"findAll",value:function(e,t,n){var r=e?this.findByEventTarget(e):[];return e&&t&&n?r.filter((function(e){return e.eventType===t&&e.handler===n})):e&&t?r.filter((function(e){return e.eventType===t})):r}},{key:"removeAll",value:function(){this.allListeners.map((function(e){e.element.removeEventListener(e.eventType,e.handler,e.options)})),this.allListeners=[]}},{key:"destroy",value:function(){this.removeAll()}},{key:"findByEventTarget",value:function(e){return this.allListeners.filter((function(t){if(t.element===e)return t}))}},{key:"findByType",value:function(e){return this.allListeners.filter((function(t){if(t.eventType===e)return t}))}},{key:"findByHandler",value:function(e){return this.allListeners.filter((function(t){if(t.handler===e)return t}))}},{key:"findById",value:function(e){return this.allListeners.find((function(t){return t.id===e}))}}]),e}();r.default=c,c.displayName="Listeners",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(377)],void 0===(i="function"==typeof(r=function(r,o,i,a){"use strict";var s=n(1);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=s(o),i=s(i),a=s(a);var l=function(){function e(){(0,o.default)(this,e)}return(0,i.default)(e,[{key:"show",value:function(e){a.default.show(e)}}]),e}();r.default=l,l.displayName="Notifier",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r}
vendor: 10,807 bytes, line 2
2,n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=0)}([function(e,t,n){"use strict";n(1),e.exports=function(){var e=n(6),t=null;return{show:function(n){if(n.message){!function(){if(t)return!0;t=e.getWrapper(),document.body.appendChild(t)}();var r=null,o=n.time||8e3;switch(n.type){case"confirm":r=e.confirm(n);break;case"prompt":r=e.prompt(n);break;default:r=e.alert(n),window.setTimeout((function(){r.remove()}),o)}t.appendChild(r),r.classList.add("cdx-notify--bounce-in")}}}}()},function(e,t,n){var r=n(2);"string"==typeof r&&(r=[[e.i,r,""]]),n(4)(r,{hmr:!0,transform:void 0,insertInto:void 0}),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(3)(!1)).push([e.i,'.cdx-notify--error{background:#fffbfb!important}.cdx-notify--error::before{background:#fb5d5d!important}.cdx-notify__input{max-width:130px;padding:5px 10px;background:#f7f7f7;border:0;border-radius:3px;font-size:13px;color:#656b7c;outline:0}.cdx-notify__input:-ms-input-placeholder{color:#656b7c}.cdx-notify__input::placeholder{color:#656b7c}.cdx-notify__input:focus:-ms-input-placeholder{color:rgba(101,107,124,.3)}.cdx-notify__input:focus::placeholder{color:rgba(101,107,124,.3)}.cdx-notify__button{border:none;border-radius:3px;font-size:13px;padding:5px 10px;cursor:pointer}.cdx-notify__button:last-child{margin-left:10px}.cdx-notify__button--cancel{background:#f2f5f7;box-shadow:0 2px 1px 0 rgba(16,19,29,0);color:#656b7c}.cdx-notify__button--cancel:hover{background:#eee}.cdx-notify__button--confirm{background:#34c992;box-shadow:0 1px 1px 0 rgba(18,49,35,.05);color:#fff}.cdx-notify__button--confirm:hover{background:#33b082}.cdx-notify__btns-wrapper{display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap;margin-top:5px}.cdx-notify__cross{position:absolute;top:5px;right:5px;width:10px;height:10px;padding:5px;opacity:.54;cursor:pointer}.cdx-notify__cross::after,.cdx-notify__cross::before{content:\'\';position:absolute;left:9px;top:5px;height:12px;width:2px;background:#575d67}.cdx-notify__cross::before{transform:rotate(-45deg)}.cdx-notify__cross::after{transform:rotate(45deg)}.cdx-notify__cross:hover{opacity:1}.cdx-notifies{position:fixed;z-index:2;bottom:20px;left:20px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif}.cdx-notify{position:relative;width:220px;margin-top:15px;padding:13px 16px;background:#fff;box-shadow:0 11px 17px 0 rgba(23,32,61,.13);border-radius:5px;font-size:14px;line-height:1.4em;word-wrap:break-word}.cdx-notify::before{content:\'\';position:absolute;display:block;top:0;left:0;width:3px;height:calc(100% - 6px);margin:3px;border-radius:5px;background:0 0}@keyframes bounceIn{0%{opacity:0;transform:scale(.3)}50%{opacity:1;transform:scale(1.05)}70%{transform:scale(.9)}100%{transform:scale(1)}}.cdx-notify--bounce-in{animation-name:bounceIn;animation-duration:.6s;animation-iteration-count:1}.cdx-notify--success{background:#fafffe!important}.cdx-notify--success::before{background:#41ffb1!important}',""])},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r=e[1]||"",o=e[3];if(!o)return r;if(t&&"function"==typeof btoa){var i=(n=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),a=o.sources.map((function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"}));return[r].concat(a).concat([i]).join("\n")}return[r].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){var r,o,i={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),s=function(){var e={};return function(t){if("function"==typeof t)return t();if(void 0===e[t]){var n=function(e){return document.querySelector(e)}.call(this,t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}}(),l=null,c=0,u=[],d=n(5);function f(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=i[r.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(;a<r.parts.length;a++)o.parts.push(y(r.parts[a],t))}else{var s=[];for(a=0;a<r.parts.length;a++)s.push(y(r.parts[a],t));i[r.id]={id:r.id,refs:1,parts:s}}}}function p(e,t){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=t.base?i[0]+t.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function h(e,t){var n=s(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=u[u.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),u.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=s(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,o)}}function m(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=u.indexOf(e);t>=0&&u.splice(t,1)}function v(e){var t=document.createElement("style");return void 0===e.attrs.type&&(e.attrs.type="text/css"),g(t,e.attrs),h(e,t),t}function g(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function y(e,t){var n,r,o,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}if(t.singleton){var a=c++;n=l||(l=v(t)),r=w.bind(null,n,a,!1),o=w.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",g(t,e.attrs),h(e,t),t}(t),r=function(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=d(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,t),o=function(){m(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(t),r=function(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),o=function(){m(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=p(e,t);return f(n,t),function(e){for(var r=[],o=0;o<n.length;o++){var a=n[o];(s=i[a.id]).refs--,r.push(s)}for(e&&f(p(e,t),t),o=0;o<r.length;o++){var s;if(0===(s=r[o]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete i[s.id]}}}};var b,_=(b=[],function(e,t){return b[e]=t,b.filter(Boolean).join("\n")});function w(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=_(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}},function(e,t,n){"use strict";var r,o,i,a,s,l;e.exports=(r="cdx-notify",o="cdx-notify__cross",i="cdx-notify__button--confirm",a="cdx-notify__button",s="cdx-notify__btns-wrapper",{alert:l=function(e){var t=document.createElement("DIV"),n=document.createElement("DIV"),i=e.message,a=e.style;return t.classList.add(r),a&&t.classList.add(r+"--"+a),t.innerHTML=i,n.classList.add(o),n.addEventListener("click",t.remove.bind(t)),t.appendChild(n),t},confirm:function(e){var t=l(e),n=document.createElement("div"),r=document.createElement("button"),c=document.createElement("button"),u=t.querySelector("."+o),d=e.cancelHandler,f=e.okHandler;return n.classList.add(s),r.innerHTML=e.okText||"Confirm",c.innerHTML=e.cancelText||"Cancel",r.classList.add(a),c.classList.add(a),r.classList.add(i),c.classList.add("cdx-notify__button--cancel"),d&&"function"==typeof d&&(c.addEventListener("click",d),u.addEventListener("click",d)),f&&"function"==typeof f&&r.addEventListener("click",f),r.addEventListener("click",t.remove.bind(t)),c.addEventListener("click",t.remove.bind(t)),n.appendChild(r),n.appendChild(c),t.appendChild(n),t},prompt:function(e){var t=l(e),n=document.createElement("div"),r=document.createElement("button"),c=document.createElement("input"),u=t.querySelector("."+o),d=e.cancelHandler,f=e.okHandler;return n.classList.add(s),r.innerHTML=e.okText||"Ok",r.classList.add(a),r.classList.add(i),c.classList.add("cdx-notify__input"),e.placeholder&&c.setAttribute("placeholder",e.placeholder),e.default&&(c.value=e.default),e.inputType&&(c.type=e.inputType),d&&"function"==typeof d&&u.addEventListener("click",d),f&&"function"==typeof f&&r.addEventListener("click",(function(){f(c.value)})),r.addEventListener("click",t.remove.bind(t)),n.appendChild(c),n.appendChild(r),t.appendChild(n),t},getWrapper:function(){var e=document.createElement("DIV");return e.classList.add("cdx-notifies"),e}})}])},function(e,t,n){var r,o;void 0===(o="function"==typeof(r=function(){function e(e){var t=e.tags;if(!Object.keys(t).map((function(e){return typeof t[e]}
2)).every((function(e){return"object"===e||"boolean"===e||"function"===e})))throw new Error("The configuration was invalid");this.config=e}var t=["P","LI","TD","TH","DIV","H1","H2","H3","H4","H5","H6","PRE"];function n(e){return-1!==t.indexOf(e.nodeName)}var r=["A","B","STRONG","I","EM","SUB","SUP","U","STRIKE"];function o(e){return-1!==r.indexOf(e.nodeName)}function i(e,t,n){return"function"==typeof e.tags[t]?e.tags[t](n):e.tags[t]}function a(e,t){return void 0===t||"boolean"==typeof t&&!t}function s(e,t,n){var r=e.name.toLowerCase();return!0!==t&&("function"==typeof t[r]?!t[r](e.value,n):void 0===t[r]||!1===t[r]||"string"==typeof t[r]&&t[r]!==e.value)}return e.prototype.clean=function(e){const t=document.implementation.createHTMLDocument(),n=t.createElement("div");return n.innerHTML=e,this._sanitize(t,n),n.innerHTML},e.prototype._sanitize=function(e,t){var r=function(e,t){return e.createTreeWalker(t,NodeFilter.SHOW_TEXT|NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_COMMENT,null,!1)}(e,t),l=r.firstChild();if(l)do{if(l.nodeType!==Node.TEXT_NODE){if(l.nodeType===Node.COMMENT_NODE){t.removeChild(l),this._sanitize(e,t);break}var c,u=o(l);u&&(c=Array.prototype.some.call(l.childNodes,n));var d=!!t.parentNode,f=n(t)&&n(l)&&d,p=l.nodeName.toLowerCase(),h=i(this.config,p,l);if(u&&c||a(0,h)||!this.config.keepNestedBlockElements&&f){if("SCRIPT"!==l.nodeName&&"STYLE"!==l.nodeName)for(;l.childNodes.length>0;)t.insertBefore(l.childNodes[0],l);t.removeChild(l),this._sanitize(e,t);break}for(var m=0;m<l.attributes.length;m+=1){var v=l.attributes[m];s(v,h,l)&&(l.removeAttribute(v.name),m-=1)}this._sanitize(e,l)}else if(""===l.data.trim()&&(l.previousElementSibling&&n(l.previousElementSibling)||l.nextElementSibling&&n(l.nextElementSibling))){t.removeChild(l),this._sanitize(e,t);break}}while(l=r.nextSibling())},e})?r.call(t,n,t,e):r)||(e.exports=o)},function(e,t,n){window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return r}));class r{constructor(){this.nodes={wrapper:null,content:null},this.showed=!1,this.offsetTop=10,this.offsetLeft=10,this.offsetRight=10,this.hidingDelay=0,this.handleWindowScroll=()=>{this.showed&&this.hide(!0)},this.loadStyles(),this.prepare(),window.addEventListener("scroll",this.handleWindowScroll,{passive:!0})}get CSS(){return{tooltip:"ct",tooltipContent:"ct__content",tooltipShown:"ct--shown",placement:{left:"ct--left",bottom:"ct--bottom",right:"ct--right",top:"ct--top"}}}show(e,t,n){this.nodes.wrapper||this.prepare(),this.hidingTimeout&&clearTimeout(this.hidingTimeout);const r=Object.assign({placement:"bottom",marginTop:0,marginLeft:0,marginRight:0,marginBottom:0,delay:70,hidingDelay:0},n);if(r.hidingDelay&&(this.hidingDelay=r.hidingDelay),this.nodes.content.innerHTML="","string"==typeof t)this.nodes.content.appendChild(document.createTextNode(t));else{if(!(t instanceof Node))throw Error("[CodeX Tooltip] Wrong type of «content» passed. It should be an instance of Node or String. But "+typeof t+" given.");this.nodes.content.appendChild(t)}switch(this.nodes.wrapper.classList.remove(...Object.values(this.CSS.placement)),r.placement){case"top":this.placeTop(e,r);break;case"left":this.placeLeft(e,r);break;case"right":this.placeRight(e,r);break;default:this.placeBottom(e,r)}r&&r.delay?this.showingTimeout=setTimeout((()=>{this.nodes.wrapper.classList.add(this.CSS.tooltipShown),this.showed=!0}),r.delay):(this.nodes.wrapper.classList.add(this.CSS.tooltipShown),this.showed=!0)}hide(e=!1){if(this.hidingDelay&&!e)return this.hidingTimeout&&clearTimeout(this.hidingTimeout),void(this.hidingTimeout=setTimeout((()=>{this.hide(!0)}),this.hidingDelay));this.nodes.wrapper.classList.remove(this.CSS.tooltipShown),this.showed=!1,this.showingTimeout&&clearTimeout(this.showingTimeout)}onHover(e,t,n){e.addEventListener("mouseenter",(()=>{this.show(e,t,n)})),e.addEventListener("mouseleave",(()=>{this.hide()}))}destroy(){this.nodes.wrapper.remove(),window.removeEventListener("scroll",this.handleWindowScroll)}prepare(){this.nodes.wrapper=this.make("div",this.CSS.tooltip),this.nodes.content=this.make("div",this.CSS.tooltipContent),this.append(this.nodes.wrapper,this.nodes.content),this.append(document.body,this.nodes.wrapper)}
2loadStyles(){const e="codex-tooltips-style";if(document.getElementById(e))return;const t=n(2),r=this.make("style",null,{textContent:t.toString(),id:e});this.prepend(document.head,r)}placeBottom(e,t){const n=e.getBoundingClientRect(),r=n.left+e.clientWidth/2-this.nodes.wrapper.offsetWidth/2,o=n.bottom+window.pageYOffset+this.offsetTop+t.marginTop;this.applyPlacement("bottom",r,o)}placeTop(e,t){const n=e.getBoundingClientRect(),r=n.left+e.clientWidth/2-this.nodes.wrapper.offsetWidth/2,o=n.top+window.pageYOffset-this.nodes.wrapper.clientHeight-this.offsetTop;this.applyPlacement("top",r,o)}placeLeft(e,t){const n=e.getBoundingClientRect(),r=n.left-this.nodes.wrapper.offsetWidth-this.offsetLeft-t.marginLeft,o=n.top+window.pageYOffset+e.clientHeight/2-this.nodes.wrapper.offsetHeight/2;this.applyPlacement("left",r,o)}placeRight(e,t){const n=e.getBoundingClientRect(),r=n.right+this.offsetRight+t.marginRight,o=n.top+window.pageYOffset+e.clientHeight/2-this.nodes.wrapper.offsetHeight/2;this.applyPlacement("right",r,o)}applyPlacement(e,t,n){this.nodes.wrapper.classList.add(this.CSS.placement[e]),this.nodes.wrapper.style.left=t+"px",this.nodes.wrapper.style.top=n+"px"}make(e,t=null,n={}){const r=document.createElement(e);Array.isArray(t)?r.classList.add(...t):t&&r.classList.add(t);for(const e in n)n.hasOwnProperty(e)&&(r[e]=n[e]);return r}append(e,t){Array.isArray(t)?t.forEach((t=>e.appendChild(t))):e.appendChild(t)}prepend(e,t){Array.isArray(t)?(t=t.reverse()).forEach((t=>e.prepend(t))):e.prepend(t)}}},function(e,t){e.exports='.ct{z-index:999;opacity:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;-webkit-transition:opacity 50ms ease-in,-webkit-transform 70ms cubic-bezier(.215,.61,.355,1);transition:opacity 50ms ease-in,-webkit-transform 70ms cubic-bezier(.215,.61,.355,1);transition:opacity 50ms ease-in,transform 70ms cubic-bezier(.215,.61,.355,1);transition:opacity 50ms ease-in,transform 70ms cubic-bezier(.215,.61,.355,1),-webkit-transform 70ms cubic-bezier(.215,.61,.355,1);will-change:opacity,top,left;-webkit-box-shadow:0 8px 12px 0 rgba(29,32,43,.17),0 4px 5px -3px rgba(5,6,12,.49);box-shadow:0 8px 12px 0 rgba(29,32,43,.17),0 4px 5px -3px rgba(5,6,12,.49);border-radius:9px}.ct,.ct:before{position:absolute;top:0;left:0}.ct:before{content:"";bottom:0;right:0;background-color:#1d202b;z-index:-1;border-radius:4px}@supports(-webkit-mask-box-image:url("")){.ct:before{border-radius:0;-webkit-mask-box-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path d="M10.71 0h2.58c3.02 0 4.64.42 6.1 1.2a8.18 8.18 0 013.4 3.4C23.6 6.07 24 7.7 24 10.71v2.58c0 3.02-.42 4.64-1.2 6.1a8.18 8.18 0 01-3.4 3.4c-1.47.8-3.1 1.21-6.11 1.21H10.7c-3.02 0-4.64-.42-6.1-1.2a8.18 8.18 0 01-3.4-3.4C.4 17.93 0 16.3 0 13.29V10.7c0-3.02.42-4.64 1.2-6.1a8.18 8.18 0 013.4-3.4C6.07.4 7.7 0 10.71 0z"/></svg>\') 48% 41% 37.9% 53.3%}}@media (--mobile){.ct{display:none}}.ct__content{padding:6px 10px;color:#cdd1e0;font-size:12px;text-align:center;letter-spacing:.02em;line-height:1em}.ct:after{content:"";width:8px;height:8px;position:absolute;background-color:#1d202b;z-index:-1}.ct--bottom{-webkit-transform:translateY(5px);transform:translateY(5px)}.ct--bottom:after{top:-3px;left:50%;-webkit-transform:translateX(-50%) rotate(-45deg);transform:translateX(-50%) rotate(-45deg)}.ct--top{-webkit-transform:translateY(-5px);transform:translateY(-5px)}.ct--top:after{top:auto;bottom:-3px;left:50%;-webkit-transform:translateX(-50%) rotate(-45deg);transform:translateX(-50%) rotate(-45deg)}.ct--left{-webkit-transform:translateX(-5px);transform:translateX(-5px)}.ct--left:after{top:50%;left:auto;right:0;-webkit-transform:translate(41.6%,-50%) rotate(-45deg);transform:translate(41.6%,-50%) rotate(-45deg)}.ct--right{-webkit-transform:translateX(5px);transform:translateX(5px)}.ct--right:after{top:50%;left:0;-webkit-transform:translate(-41.6%,-50%) rotate(-45deg);transform:translate(-41.6%,-50%) rotate(-45deg)}.ct--shown{opacity:1;-webkit-transform:none;transform:none}'}]).default},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(15),n(7),n(25)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l){"use strict";var c=n(8),u=n(1);
2Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=u(o),i=u(i),a=u(a),s=c(s),l=u(l);var d=function(){function e(t,n){(0,o.default)(this,e),this.cursor=-1,this.items=[],this.items=t||[],this.focusedCssClass=n}return(0,i.default)(e,[{key:"setItems",value:function(e){this.items=e}},{key:"next",value:function(){this.cursor=this.leafNodesAndReturnIndex(e.directions.RIGHT)}},{key:"previous",value:function(){this.cursor=this.leafNodesAndReturnIndex(e.directions.LEFT)}},{key:"dropCursor",value:function(){-1!==this.cursor&&(this.items[this.cursor].classList.remove(this.focusedCssClass),this.cursor=-1)}},{key:"leafNodesAndReturnIndex",value:function(t){var n=this;if(0===this.items.length)return this.cursor;var r=this.cursor;return-1===r?r=t===e.directions.RIGHT?-1:0:this.items[r].classList.remove(this.focusedCssClass),r=t===e.directions.RIGHT?(r+1)%this.items.length:(this.items.length+r-1)%this.items.length,a.default.canSetCaret(this.items[r])&&s.delay((function(){return l.default.setCursor(n.items[r])}),50)(),this.items[r].classList.add(this.focusedCssClass),r}},{key:"currentItem",get:function(){return-1===this.cursor?null:this.items[this.cursor]}}]),e}();r.default=d,d.displayName="DomIterator",d.directions={RIGHT:"right",LEFT:"left"},e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r=n(4);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e}},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(7),n(15),n(66)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l){"use strict";var c=n(8),u=n(1);Object.defineProperty(r,"__esModule",{value:!0}
2),r.default=void 0,o=u(o),i=u(i),a=c(a),s=u(s);var d=function(){function e(t){(0,o.default)(this,e),this.blocks=[],this.workingArea=t}return(0,i.default)(e,[{key:"push",value:function(e){this.blocks.push(e),this.insertToDOM(e)}},{key:"swap",value:function(e,t){var n=this.blocks[t];s.default.swap(this.blocks[e].holder,n.holder),this.blocks[t]=this.blocks[e],this.blocks[e]=n}},{key:"move",value:function(e,t){var n=this.blocks.splice(t,1)[0],r=e-1,o=Math.max(0,r),i=this.blocks[o];e>0?this.insertToDOM(n,"afterend",i):this.insertToDOM(n,"beforebegin",i),this.blocks.splice(e,0,n);var a=this.composeBlockEvent("move",{fromIndex:t,toIndex:e});n.call(l.BlockToolAPI.MOVED,a)}},{key:"insert",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.length){e>this.length&&(e=this.length),n&&(this.blocks[e].holder.remove(),this.blocks[e].call(l.BlockToolAPI.REMOVED));var r=n?1:0;if(this.blocks.splice(e,r,t),e>0){var o=this.blocks[e-1];this.insertToDOM(t,"afterend",o)}else{var i=this.blocks[e+1];i?this.insertToDOM(t,"beforebegin",i):this.insertToDOM(t)}}else this.push(t)}},{key:"remove",value:function(e){isNaN(e)&&(e=this.length-1),this.blocks[e].holder.remove(),this.blocks[e].call(l.BlockToolAPI.REMOVED),this.blocks.splice(e,1)}},{key:"removeAll",value:function(){this.workingArea.innerHTML="",this.blocks.forEach((function(e){return e.call(l.BlockToolAPI.REMOVED)})),this.blocks.length=0}},{key:"insertAfter",value:function(e,t){var n=this.blocks.indexOf(e);this.insert(n+1,t)}},{key:"get",value:function(e){return this.blocks[e]}},{key:"indexOf",value:function(e){return this.blocks.indexOf(e)}},{key:"insertToDOM",value:function(e,t,n){t?n.holder.insertAdjacentElement(t,e.holder):this.workingArea.appendChild(e.holder),e.call(l.BlockToolAPI.RENDERED)}},{key:"composeBlockEvent",value:function(e,t){return new CustomEvent(e,{detail:t})}},{key:"length",get:function(){return this.blocks.length}},{key:"array",get:function(){return this.blocks}},{key:"nodes",get:function(){return a.array(this.workingArea.children)}}],[{key:"set",value:function(e,t,n){return isNaN(Number(t))?(Reflect.set(e,t,n),!0):(e.insert(+t,n),!0)}},{key:"get",value:function(e,t){return isNaN(Number(t))?Reflect.get(e,t):e.get(+t)}}]),e}();r.default=d,d.displayName="Blocks",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.r(t);var i=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.commands={},this.keys={},this.name=t.name,this.parseShortcutName(t.name),this.element=t.on,this.callback=t.callback,this.executeShortcut=function(e){n.execute(e)},this.element.addEventListener("keydown",this.executeShortcut,!1)}return o(e,null,[{key:"supportedCommands",get:function(){return{SHIFT:["SHIFT"],CMD:["CMD","CONTROL","COMMAND","WINDOWS","CTRL"],ALT:["ALT","OPTION"]}}},{key:"keyCodes",get:function(){return{0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,BACKSPACE:8,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,INSERT:45,DELETE:46}}}]),o(e,[{key:"parseShortcutName",value:function(t){t=t.split("+");for(var n=0;n<t.length;n++){t[n]=t[n].toUpperCase();var r=!1;for(var o in e.supportedCommands)if(e.supportedCommands[o].includes(t[n])){r=this.commands[o]=!0;break}r||(this.keys[t[n]]=!0)}for(var i in e.supportedCommands)this.commands[i]||(this.commands[i]=!1)}},{key:"execute",value:function(t){var n,r={CMD:t.ctrlKey||t.metaKey,SHIFT:t.shiftKey,ALT:t.altKey},o=!0;for(n in this.commands)this.commands[n]!==r[n]&&(o=!1);var i,a=!0;for(i in this.keys)a=a&&t.keyCode===e.keyCodes[i];o&&a&&this.callback(t)}},{key:"remove",value:function(){this.element.removeEventListener("keydown",this.executeShortcut)}}]),e}();t.default=i}]).default},function(e,t,n){window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
2),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=0)}([function(e,t,n){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n(1).toString();var i=function(){function e(t){var n=t.data,r=t.config,o=t.api,i=t.readOnly;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.api=o,this.readOnly=i,this._CSS={block:this.api.styles.block,wrapper:"ce-paragraph"},this.readOnly||(this.onKeyUp=this.onKeyUp.bind(this)),this._placeholder=r.placeholder?r.placeholder:e.DEFAULT_PLACEHOLDER,this._data={},this._element=this.drawView(),this._preserveBlank=void 0!==r.preserveBlank&&r.preserveBlank,this.data=n}return o(e,null,[{key:"DEFAULT_PLACEHOLDER",get:function(){return""}}]),o(e,[{key:"onKeyUp",value:function(e){"Backspace"!==e.code&&"Delete"!==e.code||""===this._element.textContent&&(this._element.innerHTML="")}},{key:"drawView",value:function(){var e=document.createElement("DIV");return e.classList.add(this._CSS.wrapper,this._CSS.block),e.contentEditable=!1,e.dataset.placeholder=this.api.i18n.t(this._placeholder),this.readOnly||(e.contentEditable=!0,e.addEventListener("keyup",this.onKeyUp)),e}},{key:"render",value:function(){return this._element}},{key:"merge",value:function(e){var t={text:this.data.text+e.text};this.data=t}},{key:"validate",value:function(e){return!(""===e.text.trim()&&!this._preserveBlank)}},{key:"save",value:function(e){return{text:e.innerHTML}}},{key:"onPaste",value:function(e){var t={text:e.detail.data.innerHTML};this.data=t}},{key:"data",get:function(){var e=this._element.innerHTML;return this._data.text=e,this._data},set:function(e){this._data=e||{},this._element.innerHTML=this._data.text||""}}],[{key:"conversionConfig",get:function(){return{export:"text",import:"text"}}},{key:"sanitize",get:function(){return{text:{br:!0}}}},{key:"isReadOnlySupported",get:function(){return!0}},{key:"pasteConfig",get:function(){return{tags:["P"]}}},{key:"toolbox",get:function(){return{icon:n(5).default,title:"Text"}}}]),e}();e.exports=i},function(e,t,n){var r=n(2),o=n(3);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]),r(o,{insert:"head",singleton:!1}),e.exports=o.locals||{}},function(e,t,n){"use strict";var r,o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),i=[];function a(e){for(var t=-1,n=0;n<i.length;n++)if(i[n].identifier===e){t=n;break}return t}function s(e,t){for(var n={},r=[],o=0;o<e.length;o++){var s=e[o],l=t.base?s[0]+t.base:s[0],c=n[l]||0,u="".concat(l," ").concat(c);n[l]=c+1;var d=a(u),f={css:s[1],media:s[2],sourceMap:s[3]};-1!==d?(i[d].references++,i[d].updater(f)):i.push({identifier:u,updater:m(f,t),references:1}),r.push(u)}return r}function l(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=o(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var c,u=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join("\n")});function d(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=u(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function f(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var p=null,h=0;function m(e,t){var n,r,o;
2if(t.singleton){var i=h++;n=p||(p=l(t)),r=d.bind(null,n,i,!1),o=d.bind(null,n,i,!0)}else n=l(t),r=f.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=(void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r));var n=s(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=a(n[r]);i[o].references--}for(var l=s(e,t),c=0;c<n.length;c++){var u=a(n[c]);0===i[u].references&&(i[u].updater(),i.splice(u,1))}n=l}}}},function(e,t,n){(t=n(4)(!1)).push([e.i,".ce-paragraph {\n line-height: 1.6em;\n outline: none;\n}\n\n.ce-paragraph[data-placeholder]:empty::before{\n content: attr(data-placeholder);\n color: #707684;\n font-weight: normal;\n opacity: 0;\n}\n\n/** Show placeholder at the first paragraph if Editor is empty */\n.codex-editor--empty .ce-block:first-child .ce-paragraph[data-placeholder]:empty::before {\n opacity: 1;\n}\n\n.codex-editor--toolbox-opened .ce-block:first-child .ce-paragraph[data-placeholder]:empty::before,\n.codex-editor--empty .ce-block:first-child .ce-paragraph[data-placeholder]:empty:focus::before {\n opacity: 0;\n}\n\n.ce-paragraph p:first-of-type{\n margin-top: 0;\n}\n\n.ce-paragraph p:last-of-type{\n margin-bottom: 0;\n}\n",""]),e.exports=t},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r,o,i=e[1]||"",a=e[3];if(!a)return i;if(t&&"function"==typeof btoa){var s=(n=a,r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),"/*# ".concat(o," */")),l=a.sources.map((function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")}));return[i].concat(l).concat([s]).join("\n")}return[i].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);r&&o[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},function(e,t,n){"use strict";n.r(t),t.default='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0.2 -0.3 9 11.4" width="12" height="14">\n <path d="M0 2.77V.92A1 1 0 01.2.28C.35.1.56 0 .83 0h7.66c.28.01.48.1.63.28.14.17.21.38.21.64v1.85c0 .26-.08.48-.23.66-.15.17-.37.26-.66.26-.28 0-.5-.09-.64-.26a1 1 0 01-.21-.66V1.69H5.6v7.58h.5c.25 0 .45.08.6.23.17.16.25.35.25.6s-.08.45-.24.6a.87.87 0 01-.62.22H3.21a.87.87 0 01-.61-.22.78.78 0 01-.24-.6c0-.25.08-.44.24-.6a.85.85 0 01.61-.23h.5V1.7H1.73v1.08c0 .26-.08.48-.23.66-.15.17-.37.26-.66.26-.28 0-.5-.09-.64-.26A1 1 0 010 2.77z"/>\n</svg>\n'}])},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(15)],void 0===(i="function"==typeof(r=function(r,o,i,a){"use strict";var s=n(1);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=s(o),i=s(i),a=s(a);var l=function(){function e(){(0,o.default)(this,e),this.commandName="bold",this.CSS={button:"ce-inline-tool",buttonActive:"ce-inline-tool--active",buttonModifier:"ce-inline-tool--bold"},this.nodes={button:void 0}}return(0,i.default)(e,[{key:"render",value:function(){return this.nodes.button=document.createElement("button"),this.nodes.button.type="button",this.nodes.button.classList.add(this.CSS.button,this.CSS.buttonModifier),this.nodes.button.appendChild(a.default.svg("bold",12,14)),this.nodes.button}},{key:"surround",value:function(e){document.execCommand(this.commandName)}},{key:"checkState",value:function(e){var t=document.queryCommandState(this.commandName);return this.nodes.button.classList.toggle(this.CSS.buttonActive,t),t}},{key:"shortcut",get:function(){return"CMD+B"}}],[{key:"sanitize",get:function(){return{b:{}}}}]),e}();r.default=l,l.displayName="BoldInlineTool",l.isInline=!0,l.title="Bold",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(15)],void 0===(i="function"==typeof(r=function(r,o,i,a){"use strict";var s=n(1);
2Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=s(o),i=s(i),a=s(a);var l=function(){function e(){(0,o.default)(this,e),this.commandName="italic",this.CSS={button:"ce-inline-tool",buttonActive:"ce-inline-tool--active",buttonModifier:"ce-inline-tool--italic"},this.nodes={button:null}}return(0,i.default)(e,[{key:"render",value:function(){return this.nodes.button=document.createElement("button"),this.nodes.button.type="button",this.nodes.button.classList.add(this.CSS.button,this.CSS.buttonModifier),this.nodes.button.appendChild(a.default.svg("italic",4,11)),this.nodes.button}},{key:"surround",value:function(e){document.execCommand(this.commandName)}},{key:"checkState",value:function(e){var t=document.queryCommandState(this.commandName);return this.nodes.button.classList.toggle(this.CSS.buttonActive,t),t}},{key:"shortcut",get:function(){return"CMD+I"}}],[{key:"sanitize",get:function(){return{i:{}}}}]),e}();r.default=l,l.displayName="ItalicInlineTool",l.isInline=!0,l.title="Italic",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(25),n(15),n(7)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l){"use strict";var c=n(8),u=n(1);Object.defineProperty(r,"__esModule",{value:!0}
2),r.default=void 0,o=u(o),i=u(i),a=u(a),s=u(s),l=c(l);var d=function(){function e(t){var n=t.api;(0,o.default)(this,e),this.commandLink="createLink",this.commandUnlink="unlink",this.ENTER_KEY=13,this.CSS={button:"ce-inline-tool",buttonActive:"ce-inline-tool--active",buttonModifier:"ce-inline-tool--link",buttonUnlink:"ce-inline-tool--unlink",input:"ce-inline-tool-input",inputShowed:"ce-inline-tool-input--showed"},this.nodes={button:null,input:null},this.inputOpened=!1,this.toolbar=n.toolbar,this.inlineToolbar=n.inlineToolbar,this.notifier=n.notifier,this.i18n=n.i18n,this.selection=new a.default}return(0,i.default)(e,[{key:"render",value:function(){return this.nodes.button=document.createElement("button"),this.nodes.button.type="button",this.nodes.button.classList.add(this.CSS.button,this.CSS.buttonModifier),this.nodes.button.appendChild(s.default.svg("link",14,10)),this.nodes.button.appendChild(s.default.svg("unlink",15,11)),this.nodes.button}},{key:"renderActions",value:function(){var e=this;return this.nodes.input=document.createElement("input"),this.nodes.input.placeholder=this.i18n.t("Add a link"),this.nodes.input.classList.add(this.CSS.input),this.nodes.input.addEventListener("keydown",(function(t){t.keyCode===e.ENTER_KEY&&e.enterPressed(t)})),this.nodes.input}},{key:"surround",value:function(e){if(e){this.inputOpened?(this.selection.restore(),this.selection.removeFakeBackground()):(this.selection.setFakeBackground(),this.selection.save());var t=this.selection.findParentTag("A");if(t)return this.selection.expandToTag(t),this.unlink(),this.closeActions(),this.checkState(),void this.toolbar.close()}this.toggleActions()}},{key:"checkState",value:function(e){var t=this.selection.findParentTag("A");if(t){this.nodes.button.classList.add(this.CSS.buttonUnlink),this.nodes.button.classList.add(this.CSS.buttonActive),this.openActions();var n=t.getAttribute("href");this.nodes.input.value="null"!==n?n:"",this.selection.save()}else this.nodes.button.classList.remove(this.CSS.buttonUnlink),this.nodes.button.classList.remove(this.CSS.buttonActive);return!!t}},{key:"clear",value:function(){this.closeActions()}},{key:"toggleActions",value:function(){this.inputOpened?this.closeActions(!1):this.openActions(!0)}},{key:"openActions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.nodes.input.classList.add(this.CSS.inputShowed),e&&this.nodes.input.focus(),this.inputOpened=!0}},{key:"closeActions",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.selection.isFakeBackgroundEnabled){var t=new a.default;t.save(),this.selection.restore(),this.selection.removeFakeBackground(),t.restore()}this.nodes.input.classList.remove(this.CSS.inputShowed),this.nodes.input.value="",e&&this.selection.clearSaved(),this.inputOpened=!1}},{key:"enterPressed",value:function(e){var t=this.nodes.input.value||"";return t.trim()?this.validateURL(t)?(t=this.prepareLink(t),this.selection.restore(),this.selection.removeFakeBackground(),this.insertLink(t),e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation(),this.selection.collapseToEnd(),void this.inlineToolbar.close()):(this.notifier.show({message:"Pasted link is not valid.",style:"error"}),void l.log("Incorrect Link pasted","warn",t)):(this.selection.restore(),this.unlink(),e.preventDefault(),void this.closeActions())}},{key:"validateURL",value:function(e){return!/\s/.test(e)}},{key:"prepareLink",value:function(e){return e=e.trim(),this.addProtocol(e)}},{key:"addProtocol",value:function(e){if(/^(\w+):(\/\/)?/.test(e))return e;var t=/^\/[^/\s]/.test(e),n="#"===e.substring(0,1),r=/^\/\/[^/\s]/.test(e);return t||n||r||(e="http://"+e),e}},{key:"insertLink",value:function(e){var t=this.selection.findParentTag("A");t&&this.selection.expandToTag(t),document.execCommand(this.commandLink,!1,e)}},{key:"unlink",value:function(){document.execCommand(this.commandUnlink)}},{key:"shortcut",get:function(){return"CMD+K"}}],[{key:"sanitize",get:function(){return{a:{href:!0,target:"_blank",rel:"nofollow"}}}}]),e}();r.default=d,d.displayName="LinkInlineTool",d.isInline=!0,d.title="Link",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(15)],void 0===(i="function"==typeof(r=function(r,o,i,a){"use strict";var s=n(1);
2Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=s(o),i=s(i),a=s(a);var l=function(){function e(t){var n=t.data,r=t.api;(0,o.default)(this,e),this.CSS={wrapper:"ce-stub",info:"ce-stub__info",title:"ce-stub__title",subtitle:"ce-stub__subtitle"},this.api=r,this.title=n.title||this.api.i18n.t("Error"),this.subtitle=this.api.i18n.t("The block can not be displayed correctly."),this.savedData=n.savedData,this.wrapper=this.make()}return(0,i.default)(e,[{key:"render",value:function(){return this.wrapper}},{key:"save",value:function(){return this.savedData}},{key:"make",value:function(){var e=a.default.make("div",this.CSS.wrapper),t=a.default.svg("sad-face",52,52),n=a.default.make("div",this.CSS.info),r=a.default.make("div",this.CSS.title,{textContent:this.title}),o=a.default.make("div",this.CSS.subtitle,{textContent:this.subtitle});return e.appendChild(t),n.appendChild(r),n.appendChild(o),e.appendChild(n),e}}]),e}();r.default=l,l.displayName="Stub",l.isReadOnlySupported=!0,e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(67),n(390),n(391),n(392)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c){"use strict";var u=n(1);Object.defineProperty(r,"__esModule",{value:!0}
2),r.default=void 0,o=u(o),i=u(i),s=u(s),l=u(l),c=u(c);var d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},f=function(){function e(t,n,r){(0,o.default)(this,e),this.api=r,this.config=t,this.editorConfig=n}return(0,i.default)(e,[{key:"get",value:function(e){var t=this.config[e],n=t.class,r=t.isInternal,o=void 0!==r&&r,i=d(t,["class","isInternal"]);return new(this.getConstructor(n))({name:e,constructable:n,config:i,api:this.api,isDefault:e===this.editorConfig.defaultBlock,defaultPlaceholder:this.editorConfig.placeholder,isInternal:o})}},{key:"getConstructor",value:function(e){switch(!0){case e[a.InternalInlineToolSettings.IsInline]:return s.default;case e[a.InternalTuneSettings.IsTune]:return l.default;default:return c.default}}}]),e}();r.default=f,f.displayName="ToolsFactory",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(5),n(6),n(4),n(67)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c){"use strict";var u=n(8),d=n(1);function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=d(o),i=d(i),a=d(a),s=d(s),l=d(l);var p=function(e){(0,a.default)(r,e);var t,n=(t=r,function(){var e,n=(0,l.default)(t);if(f()){var r=(0,l.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function r(){var e;return(0,o.default)(this,r),(e=n.apply(this,arguments)).type=c.ToolType.Inline,e}return(0,i.default)(r,[{key:"create",value:function(){return new this.constructable({api:this.api.getMethodsForTool(this),config:this.settings})}},{key:"title",get:function(){return this.constructable[c.InternalInlineToolSettings.Title]}}]),r}((c=u(c)).default);r.default=p,p.displayName="InlineTool",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(5),n(6),n(4),n(67)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c){"use strict";var u=n(8),d=n(1);function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=d(o),i=d(i),a=d(a),s=d(s),l=d(l);var p=function(e){(0,a.default)(r,e);var t,n=(t=r,function(){var e,n=(0,l.default)(t);if(f()){var r=(0,l.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function r(){var e;return(0,o.default)(this,r),(e=n.apply(this,arguments)).type=c.ToolType.Tune,e}return(0,i.default)(r,[{key:"create",value:function(e,t){return new this.constructable({api:this.api.getMethodsForTool(this),config:this.settings,block:t,data:e})}}]),r}((c=u(c)).default);r.default=p,p.displayName="BlockTune",e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(168),n(5),n(6),n(4),n(80),n(67),n(7),n(184)],void 0===(i="function"==typeof(r=function(r,o,i,a,s,l,c,u,d,f,p){"use strict";var h=n(8),m=n(1);function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}
2Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=m(o),i=m(i),a=m(a),s=m(s),l=m(l),c=m(c),u=m(u),d=h(d),f=h(f),p=m(p);var g=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"===("undefined"==typeof Reflect?"undefined":(0,u.default)(Reflect))&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},y=function(e){(0,s.default)(r,e);var t,n=(t=r,function(){var e,n=(0,c.default)(t);if(v()){var r=(0,c.default)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,l.default)(this,e)});function r(){var e;return(0,o.default)(this,r),(e=n.apply(this,arguments)).type=d.ToolType.Block,e.inlineTools=new p.default,e.tunes=new p.default,e}return(0,i.default)(r,[{key:"create",value:function(e,t,n){return new this.constructable({data:e,block:t,readOnly:n,api:this.api.getMethodsForTool(this),config:this.settings})}},{key:"isReadOnlySupported",get:function(){return!0===this.constructable[d.InternalBlockToolSettings.IsReadOnlySupported]}},{key:"isLineBreaksEnabled",get:function(){return this.constructable[d.InternalBlockToolSettings.IsEnabledLineBreaks]}},{key:"toolbox",get:function(){var e=this.constructable[d.InternalBlockToolSettings.Toolbox],t=this.config[d.UserSettings.Toolbox];if(!f.isEmpty(e)&&!1!==(null!=t?t:e))return Object.assign({},e,t)}},{key:"conversionConfig",get:function(){return this.constructable[d.InternalBlockToolSettings.ConversionConfig]}},{key:"enabledInlineTools",get:function(){return this.config[d.UserSettings.EnabledInlineTools]||!1}},{key:"enabledBlockTunes",get:function(){return this.config[d.UserSettings.EnabledBlockTunes]}},{key:"pasteConfig",get:function(){return this.constructable[d.InternalBlockToolSettings.PasteConfig]||{}}},{key:"sanitizeConfig",get:function(){var e=(0,a.default)((0,c.default)(r.prototype),"sanitizeConfig",this),t=this.baseSanitizeConfig;if(f.isEmpty(e))return t;var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=e[o];f.isObject(i)?n[o]=Object.assign({},t,i):n[o]=i}return n}},{key:"baseSanitizeConfig",get:function(){var e={};return Array.from(this.inlineTools.values()).forEach((function(t){return Object.assign(e,t.sanitizeConfig)})),Array.from(this.tunes.values()).forEach((function(t){return Object.assign(e,t.sanitizeConfig)})),e}}]),r}(d.default);r.default=y,y.displayName="BlockTool",g([f.cacheable],y.prototype,"sanitizeConfig",null),g([f.cacheable],y.prototype,"baseSanitizeConfig",null),e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(15)],void 0===(i="function"==typeof(r=function(r,o,i,a){"use strict";var s=n(1);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=s(o),i=s(i),a=s(a);var l=function(){function e(t){var n=t.api;(0,o.default)(this,e),this.CSS={button:"ce-settings__button",wrapper:"ce-tune-move-down",animation:"wobble"},this.api=n}return(0,i.default)(e,[{key:"render",value:function(){var e=this,t=a.default.make("div",[this.CSS.button,this.CSS.wrapper],{});return t.appendChild(a.default.svg("arrow-down",14,14)),this.api.listeners.on(t,"click",(function(n){return e.handleClick(n,t)}),!1),this.api.tooltip.onHover(t,this.api.i18n.t("Move down"),{hidingDelay:300}),t}},{key:"handleClick",value:function(e,t){var n=this,r=this.api.blocks.getCurrentBlockIndex(),o=this.api.blocks.getBlockByIndex(r+1);if(!o)return t.classList.add(this.CSS.animation),void window.setTimeout((function(){t.classList.remove(n.CSS.animation)}),500);var i=o.holder,a=i.getBoundingClientRect(),s=Math.abs(window.innerHeight-i.offsetHeight);a.top<window.innerHeight&&(s=window.scrollY+i.offsetHeight),window.scrollTo(0,s),this.api.blocks.move(r+1),this.api.tooltip.hide()}}]),e}();r.default=l,l.displayName="MoveDownTune",l.isTune=!0,e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(15)],void 0===(i="function"==typeof(r=function(r,o,i,a){"use strict";var s=n(1);
2Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=s(o),i=s(i),a=s(a);var l=function(){function e(t){var n=this,r=t.api;(0,o.default)(this,e),this.CSS={button:"ce-settings__button",buttonDelete:"ce-settings__button--delete",buttonConfirm:"ce-settings__button--confirm"},this.nodes={button:null},this.api=r,this.resetConfirmation=function(){n.setConfirmation(!1)}}return(0,i.default)(e,[{key:"render",value:function(){var e=this;return this.nodes.button=a.default.make("div",[this.CSS.button,this.CSS.buttonDelete],{}),this.nodes.button.appendChild(a.default.svg("cross",12,12)),this.api.listeners.on(this.nodes.button,"click",(function(t){return e.handleClick(t)}),!1),this.api.tooltip.onHover(this.nodes.button,this.api.i18n.t("Delete"),{hidingDelay:300}),this.nodes.button}},{key:"handleClick",value:function(e){this.needConfirmation?(this.api.events.off("block-settings-closed",this.resetConfirmation),this.api.blocks.delete(),this.api.toolbar.close(),this.api.tooltip.hide(),e.stopPropagation()):(this.setConfirmation(!0),this.api.events.on("block-settings-closed",this.resetConfirmation))}},{key:"setConfirmation",value:function(e){this.needConfirmation=e,this.nodes.button.classList.add(this.CSS.buttonConfirm)}}]),e}();r.default=l,l.displayName="DeleteTune",l.isTune=!0,e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){var r,o,i;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self&&self,o=[t,n(2),n(3),n(15)],void 0===(i="function"==typeof(r=function(r,o,i,a){"use strict";var s=n(1);Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0,o=s(o),i=s(i),a=s(a);var l=function(){function e(t){var n=t.api;(0,o.default)(this,e),this.CSS={button:"ce-settings__button",wrapper:"ce-tune-move-up",animation:"wobble"},this.api=n}return(0,i.default)(e,[{key:"render",value:function(){var e=this,t=a.default.make("div",[this.CSS.button,this.CSS.wrapper],{});return t.appendChild(a.default.svg("arrow-up",14,14)),this.api.listeners.on(t,"click",(function(n){return e.handleClick(n,t)}),!1),this.api.tooltip.onHover(t,this.api.i18n.t("Move up"),{hidingDelay:300}),t}},{key:"handleClick",value:function(e,t){var n=this,r=this.api.blocks.getCurrentBlockIndex(),o=this.api.blocks.getBlockByIndex(r),i=this.api.blocks.getBlockByIndex(r-1);if(0===r||!o||!i)return t.classList.add(this.CSS.animation),void window.setTimeout((function(){t.classList.remove(n.CSS.animation)}),500);var a,s=o.holder,l=i.holder,c=s.getBoundingClientRect(),u=l.getBoundingClientRect();a=u.top>0?Math.abs(c.top)-Math.abs(u.top):window.innerHeight-Math.abs(c.top)+Math.abs(u.top),window.scrollBy(0,-1*a),this.api.blocks.move(r-1),this.api.tooltip.hide()}}]),e}();r.default=l,l.displayName="MoveUpTune",l.isTune=!0,e.exports=t.default})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){"use strict";n.r(t),t.default='<?xml version="1.0" encoding="utf-8"?>\n<svg xmlns="http://www.w3.org/2000/svg">\n<symbol id="arrow-down" viewBox="0 0 14 14">\n <path transform="matrix(1 0 0 -1 0 14)" d="M8.024 4.1v8.6a1.125 1.125 0 0 1-2.25 0V4.1L2.18 7.695A1.125 1.125 0 1 1 .59 6.104L6.103.588c.44-.439 1.151-.439 1.59 0l5.516 5.516a1.125 1.125 0 0 1-1.59 1.59L8.023 4.1z"/>\n\n</symbol>\n<symbol id="arrow-up" viewBox="0 0 14 14">\n <path d="M8.024 4.1v8.6a1.125 1.125 0 0 1-2.25 0V4.1L2.18 7.695A1.125 1.125 0 1 1 .59 6.104L6.103.588c.44-.439 1.151-.439 1.59 0l5.516 5.516a1.125 1.125 0 0 1-1.59 1.59L8.023 4.1z"/>\n\n</symbol>\n<symbol id="bold" viewBox="0 0 12 14"><path d="M5.997 14H1.72c-.618 0-1.058-.138-1.323-.415C.132 13.308 0 12.867 0 12.262V1.738C0 1.121.135.676.406.406.676.136 1.114 0 1.719 0h4.536c.669 0 1.248.041 1.738.124.49.083.93.242 1.318.478a3.458 3.458 0 0 1 1.461 1.752c.134.366.2.753.2 1.16 0 1.401-.7 2.426-2.1 3.075 1.84.586 2.76 1.726 2.76 3.42 0 .782-.2 1.487-.602 2.114a3.61 3.61 0 0 1-1.623 1.39 5.772 5.772 0 0 1-1.471.377c-.554.073-1.2.11-1.939.11zm-.21-6.217h-2.95v4.087h3.046c1.916 0 2.874-.69 2.874-2.072 0-.707-.248-1.22-.745-1.537-.496-.319-1.238-.478-2.225-.478zM2.837 2.13v3.619h2.597c.707 0 1.252-.067 1.638-.2.385-.134.68-.389.883-.765.16-.267.239-.566.239-.897 0-.707-.252-1.176-.755-1.409-.503-.232-1.27-.348-2.301-.348H2.836z"/>\n</symbol>
2\n<symbol id="cross" viewBox="0 0 237 237">\n <path transform="rotate(45 280.675 51.325)" d="M191 191V73c0-5.523 4.477-10 10-10h25c5.523 0 10 4.477 10 10v118h118c5.523 0 10 4.477 10 10v25c0 5.523-4.477 10-10 10H236v118c0 5.523-4.477 10-10 10h-25c-5.523 0-10-4.477-10-10V236H73c-5.523 0-10-4.477-10-10v-25c0-5.523 4.477-10 10-10h118z"/>\n\n</symbol>\n<symbol id="dots" viewBox="0 0 8 8">\n <circle cx="6.5" cy="1.5" r="1.5"/>\n <circle cx="6.5" cy="6.5" r="1.5"/>\n <circle cx="1.5" cy="1.5" r="1.5"/>\n <circle cx="1.5" cy="6.5" r="1.5"/>\n\n</symbol>\n<symbol id="italic" viewBox="0 0 4 11">\n <path d="M3.289 4.17L2.164 9.713c-.078.384-.238.674-.48.87-.243.198-.52.296-.831.296-.312 0-.545-.1-.699-.302-.153-.202-.192-.49-.116-.864L1.15 4.225c.077-.38.232-.665.466-.857a1.25 1.25 0 01.818-.288c.312 0 .55.096.713.288.163.192.21.46.141.801zm-.667-2.09c-.295 0-.53-.09-.706-.273-.176-.181-.233-.439-.173-.77.055-.302.207-.55.457-.745C2.45.097 2.716 0 3 0c.273 0 .5.088.68.265.179.176.238.434.177.771-.06.327-.21.583-.45.767-.24.185-.502.277-.785.277z"/>\n\n</symbol>\n<symbol id="link" viewBox="0 0 14 10">\n <path d="M6 0v2H5a3 3 0 000 6h1v2H5A5 5 0 115 0h1zm2 0h1a5 5 0 110 10H8V8h1a3 3 0 000-6H8V0zM5 4h4a1 1 0 110 2H5a1 1 0 110-2z"/>\n\n</symbol>\n<symbol id="plus" viewBox="0 0 14 14">\n <path d="M8.05 5.8h4.625a1.125 1.125 0 0 1 0 2.25H8.05v4.625a1.125 1.125 0 0 1-2.25 0V8.05H1.125a1.125 1.125 0 0 1 0-2.25H5.8V1.125a1.125 1.125 0 0 1 2.25 0V5.8z"/>\n\n</symbol>\n<symbol id="sad-face" viewBox="0 0 52 52">\n <path fill="#D76B6B" fill-rule="nonzero" d="M26 52C11.64 52 0 40.36 0 26S11.64 0 26 0s26 11.64 26 26-11.64 26-26 26zm0-3.25c12.564 0 22.75-10.186 22.75-22.75S38.564 3.25 26 3.25 3.25 13.436 3.25 26 13.436 48.75 26 48.75zM15.708 33.042a2.167 2.167 0 1 1 0-4.334 2.167 2.167 0 0 1 0 4.334zm23.834 0a2.167 2.167 0 1 1 0-4.334 2.167 2.167 0 0 1 0 4.334zm-15.875 5.452a1.083 1.083 0 1 1-1.834-1.155c1.331-2.114 3.49-3.179 6.334-3.179 2.844 0 5.002 1.065 6.333 3.18a1.083 1.083 0 1 1-1.833 1.154c-.913-1.45-2.366-2.167-4.5-2.167s-3.587.717-4.5 2.167z"/>\n\n</symbol>\n<symbol id="toggler-down">\n <path d="M6.5 9.294a.792.792 0 01-.562-.232L2.233 5.356a.794.794 0 011.123-1.123L6.5 7.377l3.144-3.144a.794.794 0 011.123 1.123L7.062 9.062a.792.792 0 01-.562.232z"/>\n\n</symbol>\n<symbol id="unlink" viewBox="0 0 15 11">\n <path d="M13.073 2.099l-1.448 1.448A3 3 0 009 2H8V0h1c1.68 0 3.166.828 4.073 2.099zM6.929 4l-.879.879L7.172 6H5a1 1 0 110-2h1.929zM6 0v2H5a3 3 0 100 6h1v2H5A5 5 0 115 0h1zm6.414 7l2.122 2.121-1.415 1.415L11 8.414l-2.121 2.122L7.464 9.12 9.586 7 7.464 4.879 8.88 3.464 11 5.586l2.121-2.122 1.415 1.415L12.414 7z"/>\n\n</symbol></svg>'},function(e,t){e.exports='.codex-editor{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:1}.codex-editor .hide,.codex-editor__redactor--hidden{display:none}.codex-editor__redactor [contenteditable]:empty:after{content:"\\feff "}@media (min-width:651px){.codex-editor--narrow .codex-editor__redactor{margin-right:50px}}@media (min-width:651px){.codex-editor--narrow.codex-editor--rtl .codex-editor__redactor{margin-left:50px;margin-right:0}}@media (min-width:651px){.codex-editor--narrow .ce-toolbar__actions{right:-5px}}.codex-editor__loader{position:relative;height:30vh}.codex-editor__loader:before{content:"";position:absolute;left:50%;top:50%;width:30px;height:30px;margin-top:-15px;margin-left:-15px;border-radius:50%;border:2px solid rgba(201,201,204,.48);border-top-color:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-animation:editor-loader-spin .8s linear infinite;animation:editor-loader-spin .8s linear infinite;will-change:transform}.codex-editor-copyable{position:absolute;height:1px;width:1px;top:-400%;opacity:.001}.codex-editor-overlay{position:fixed;top:0;left:0;right:0;bottom:0;z-index:999;pointer-events:none;overflow:hidden}.codex-editor-overlay__container{position:relative;pointer-events:auto;z-index:0}.codex-editor-overlay__rectangle{position:absolute;pointer-events:none;background-color:rgba(46,170,220,.2);border:1px solid transparent}.codex-editor svg{fill:currentColor;vertical-align:middle;max-height:100%}::-moz-selection{background-color:#d4ecff}::selection{background-color:#d4ecff}.codex-editor--toolbox-opened [contentEditable=true][data-placeholder]:focus:before{opacity:0!important}@-webkit-keyframes editor-loader-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes editor-loader-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.ce-toolbar{position:absolute;
2left:0;right:0;top:0;-webkit-transition:opacity .1s ease;transition:opacity .1s ease;will-change:opacity,transform;display:none}@media (max-width:650px){.ce-toolbar{position:absolute;background-color:#fff;border:1px solid #eaeaea;-webkit-box-shadow:0 3px 15px -3px rgba(13,20,33,.13);box-shadow:0 3px 15px -3px rgba(13,20,33,.13);border-radius:4px;z-index:2}}@media (max-width:650px) and (max-width:650px){.ce-toolbar{-webkit-box-shadow:0 13px 7px -5px rgba(26,38,49,.09),6px 15px 34px -6px rgba(33,48,73,.29);box-shadow:0 13px 7px -5px rgba(26,38,49,.09),6px 15px 34px -6px rgba(33,48,73,.29);border-bottom-color:#d5d7db}}@media (max-width:650px){.ce-toolbar{padding:3px;margin-top:5px}.ce-toolbar--left-oriented:before{left:15px;margin-left:0}.ce-toolbar--right-oriented:before{left:auto;right:15px;margin-left:0}}.ce-toolbar--opened{display:block}@media (max-width:650px){.ce-toolbar--opened{display:-webkit-box;display:-ms-flexbox;display:flex}}.ce-toolbar__content{max-width:650px;margin:0 auto;position:relative}@media (max-width:650px){.ce-toolbar__content{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-line-pack:center;align-content:center;margin:0;max-width:calc(100% - 35px)}}.ce-toolbar__plus{color:#707684;cursor:pointer;width:34px;height:34px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;left:-34px;-ms-flex-negative:0;flex-shrink:0}.ce-toolbar__plus--active,.ce-toolbar__plus:hover{color:#388ae5}.ce-toolbar__plus--active{-webkit-animation:bounceIn .75s 1;animation:bounceIn .75s 1;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.ce-toolbar__plus-shortcut{opacity:.6;word-spacing:-2px;margin-top:5px}.ce-toolbar__plus--hidden{display:none}@media (max-width:650px){.ce-toolbar__plus{display:-webkit-inline-box!important;display:-ms-inline-flexbox!important;display:inline-flex!important;position:static;-webkit-transform:none!important;transform:none!important}}.ce-toolbar .ce-toolbox,.ce-toolbar__plus{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.ce-toolbar__actions{position:absolute;right:-30px;top:5px;opacity:0}@media (max-width:650px){.ce-toolbar__actions{position:absolute;right:-28px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}}.ce-toolbar__actions--opened{opacity:1}.ce-toolbar__actions-buttons{text-align:right}.ce-toolbar__settings-btn{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:18px;height:18px;color:#707684;cursor:pointer;background:#eff2f5;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ce-toolbar__settings-btn:hover{color:#1d202b}@media (max-width:650px){.ce-toolbar__settings-btn{background:transparent}}@media (min-width:651px){.codex-editor--narrow .ce-toolbar__plus{left:5px}}.ce-toolbox{position:absolute;visibility:hidden;-webkit-transition:opacity .1s ease;transition:opacity .1s ease;will-change:opacity;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}@media (max-width:650px){.ce-toolbox{position:static;-webkit-transform:none!important;transform:none!important;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow-x:auto}}.ce-toolbox--opened{opacity:1;visibility:visible}.ce-toolbox__button{color:#707684;cursor:pointer;width:34px;height:34px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0}.ce-toolbox__button--active,.ce-toolbox__button:hover{color:#388ae5}.ce-toolbox__button--active{-webkit-animation:bounceIn .75s 1;animation:bounceIn .75s 1;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.ce-toolbox-button-tooltip__shortcut{opacity:.6;word-spacing:-3px;margin-top:3px}@media (min-width:651px){.codex-editor--narrow .ce-toolbox{background:#fff;z-index:2}}
2.ce-inline-toolbar{position:absolute;background-color:#fff;border:1px solid #eaeaea;-webkit-box-shadow:0 3px 15px -3px rgba(13,20,33,.13);box-shadow:0 3px 15px -3px rgba(13,20,33,.13);border-radius:4px;z-index:2}@media (max-width:650px){.ce-inline-toolbar{-webkit-box-shadow:0 13px 7px -5px rgba(26,38,49,.09),6px 15px 34px -6px rgba(33,48,73,.29);box-shadow:0 13px 7px -5px rgba(26,38,49,.09),6px 15px 34px -6px rgba(33,48,73,.29);border-bottom-color:#d5d7db}}.ce-inline-toolbar{-webkit-transform:translateX(-50%) translateY(8px) scale(.9);transform:translateX(-50%) translateY(8px) scale(.9);opacity:0;visibility:hidden;-webkit-transition:opacity .25s ease,-webkit-transform .15s ease;transition:opacity .25s ease,-webkit-transform .15s ease;transition:transform .15s ease,opacity .25s ease;transition:transform .15s ease,opacity .25s ease,-webkit-transform .15s ease;will-change:transform,opacity;top:0;left:0;z-index:3}.ce-inline-toolbar--left-oriented:before{left:15px;margin-left:0}.ce-inline-toolbar--right-oriented:before{left:auto;right:15px;margin-left:0}.ce-inline-toolbar--showed{opacity:1;visibility:visible;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.ce-inline-toolbar--left-oriented{-webkit-transform:translateX(-23px) translateY(8px) scale(.9);transform:translateX(-23px) translateY(8px) scale(.9)}.ce-inline-toolbar--left-oriented.ce-inline-toolbar--showed{-webkit-transform:translateX(-23px);transform:translateX(-23px)}.ce-inline-toolbar--right-oriented{-webkit-transform:translateX(-100%) translateY(8px) scale(.9);transform:translateX(-100%) translateY(8px) scale(.9);margin-left:23px}.ce-inline-toolbar--right-oriented.ce-inline-toolbar--showed{-webkit-transform:translateX(-100%);transform:translateX(-100%)}.ce-inline-toolbar [hidden]{display:none!important}.ce-inline-toolbar__toggler-and-button-wrapper{width:100%;padding:0 6px}.ce-inline-toolbar__buttons,.ce-inline-toolbar__toggler-and-button-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex}.ce-inline-toolbar__dropdown{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:34px;padding:0 9px 0 10px;margin:0 6px 0 -6px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;border-right:1px solid rgba(201,201,204,.48)}.ce-inline-toolbar__dropdown:hover{background:#eff2f5}.ce-inline-toolbar__dropdown--hidden{display:none}.ce-inline-toolbar__dropdown-content{display:-webkit-box;display:-ms-flexbox;display:flex;font-weight:500;font-size:14px}.ce-inline-toolbar__dropdown-content svg{height:12px}.ce-inline-toolbar__dropdown .icon--toggler-down{margin-left:4px}.ce-inline-toolbar__shortcut{opacity:.6;word-spacing:-3px;margin-top:3px}.ce-inline-tool{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:34px;height:34px;line-height:34px;padding:0!important;text-align:center;border-radius:3px;cursor:pointer;border:0;outline:none;background-color:transparent;vertical-align:bottom;color:#000;margin:0}.ce-inline-tool:hover{background-color:#eff2f5}.ce-inline-tool{border-radius:0;line-height:normal;width:auto;padding:0 5px!important;min-width:24px}.ce-inline-tool--active{color:#388ae5}.ce-inline-tool--focused{-webkit-box-shadow:inset 0 0 0 1px rgba(7,161,227,.08);box-shadow:inset 0 0 0 1px rgba(7,161,227,.08);background:rgba(34,186,255,.08)!important}.ce-inline-tool--focused-animated{-webkit-animation-name:buttonClicked;animation-name:buttonClicked;-webkit-animation-duration:.25s;animation-duration:.25s}.ce-inline-tool:not(:last-of-type){margin-right:2px}.ce-inline-tool .icon{height:12px}.ce-inline-tool--link .icon--unlink,.ce-inline-tool--unlink .icon--link{display:none}.ce-inline-tool--unlink .icon--unlink{display:inline-block;margin-bottom:-1px}.ce-inline-tool-input{outline:none;border:0;border-radius:0 0 4px 4px;margin:0;font-size:13px;padding:10px;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;display:none;font-weight:500;border-top:1px solid rgba(201,201,204,.48)}.ce-inline-tool-input::-webkit-input-placeholder{color:#707684}.ce-inline-tool-input::-moz-placeholder{color:#707684}.ce-inline-tool-input:-ms-input-placeholder{color:#707684}.ce-inline-tool-input::-ms-input-placeholder{color:#707684}.ce-inline-tool-input::placeholder{color:#707684}.ce-inline-tool-input--showed{display:block}.ce-conversion-toolbar{position:absolute;background-color:#fff;border:1px solid #eaeaea;-webkit-box-shadow:0 3px 15px -3px rgba(13,20,33,.13);box-shadow:0 3px 15px -3px rgba(13,20,33,.13);border-radius:4px;z-index:2}@media (max-width:650px){.ce-conversion-toolbar{-webkit-box-shadow:0 13px 7px -5px rgba(26,38,49,.09),6px 15px 34px -6px rgba(33,48,73,.29);box-shadow:0 13px 7px -5px rgba(26,38,49,.09),6px 15px 34px -6px rgba(33,48,73,.29);border-bottom-color:#d5d7db}}.ce-conversion-toolbar{opacity:0;visibility:hidden;will-change:transform,opacity;
2-webkit-transition:opacity .1s ease,-webkit-transform .1s ease;transition:opacity .1s ease,-webkit-transform .1s ease;transition:transform .1s ease,opacity .1s ease;transition:transform .1s ease,opacity .1s ease,-webkit-transform .1s ease;-webkit-transform:translateY(-8px);transform:translateY(-8px);left:-1px;width:150px;margin-top:5px;-webkit-box-sizing:content-box;box-sizing:content-box}.ce-conversion-toolbar--left-oriented:before{left:15px;margin-left:0}.ce-conversion-toolbar--right-oriented:before{left:auto;right:15px;margin-left:0}.ce-conversion-toolbar--showed{opacity:1;visibility:visible;-webkit-transform:none;transform:none}.ce-conversion-toolbar [hidden]{display:none!important}.ce-conversion-toolbar__buttons{display:-webkit-box;display:-ms-flexbox;display:flex}.ce-conversion-toolbar__label{color:#707684;font-size:11px;font-weight:500;letter-spacing:.33px;padding:10px 10px 5px;text-transform:uppercase}.ce-conversion-tool{display:-webkit-box;display:-ms-flexbox;display:flex;padding:5px 10px;font-size:14px;line-height:20px;font-weight:500;cursor:pointer;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ce-conversion-tool--hidden{display:none}.ce-conversion-tool--focused{-webkit-box-shadow:inset 0 0 0 1px rgba(7,161,227,.08);box-shadow:inset 0 0 0 1px rgba(7,161,227,.08);background:rgba(34,186,255,.08)!important}.ce-conversion-tool--focused-animated{-webkit-animation-name:buttonClicked;animation-name:buttonClicked;-webkit-animation-duration:.25s;animation-duration:.25s}.ce-conversion-tool:hover{background:#eff2f5}.ce-conversion-tool__icon{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:20px;height:20px;border:1px solid rgba(201,201,204,.48);border-radius:3px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-right:10px;background:#fff}.ce-conversion-tool__icon svg{width:11px;height:11px}.ce-conversion-tool--last{margin-right:0!important}.ce-conversion-tool--active{color:#388ae5!important;-webkit-animation:bounceIn .75s 1;animation:bounceIn .75s 1;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.ce-settings{position:absolute;background-color:#fff;border:1px solid #eaeaea;-webkit-box-shadow:0 3px 15px -3px rgba(13,20,33,.13);box-shadow:0 3px 15px -3px rgba(13,20,33,.13);border-radius:4px;z-index:2}@media (max-width:650px){.ce-settings{-webkit-box-shadow:0 13px 7px -5px rgba(26,38,49,.09),6px 15px 34px -6px rgba(33,48,73,.29);box-shadow:0 13px 7px -5px rgba(26,38,49,.09),6px 15px 34px -6px rgba(33,48,73,.29);border-bottom-color:#d5d7db}}.ce-settings{right:-1px;top:30px;min-width:114px;-webkit-box-sizing:content-box;box-sizing:content-box}.ce-settings--left-oriented:before{left:15px;margin-left:0}.ce-settings--right-oriented:before{left:auto;right:15px;margin-left:0}@media (max-width:650px){.ce-settings{bottom:40px;right:-11px;top:auto}}.ce-settings:before{left:auto;right:12px}@media (max-width:650px){.ce-settings:before{bottom:-5px;top:auto}}.ce-settings{display:none}.ce-settings--opened{display:block;-webkit-animation-duration:.1s;animation-duration:.1s;-webkit-animation-name:panelShowing;animation-name:panelShowing}.ce-settings__plugin-zone:not(:empty){padding:3px 3px 0}.ce-settings__default-zone:not(:empty){padding:3px}.ce-settings__button{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:34px;height:34px;line-height:34px;padding:0!important;text-align:center;border-radius:3px;cursor:pointer;border:0;outline:none;background-color:transparent;vertical-align:bottom;color:#000;margin:0}.ce-settings__button:hover{background-color:#eff2f5}.ce-settings__button--active{color:#388ae5}.ce-settings__button--focused{-webkit-box-shadow:inset 0 0 0 1px rgba(7,161,227,.08);box-shadow:inset 0 0 0 1px rgba(7,161,227,.08);background:rgba(34,186,255,.08)!important}.ce-settings__button--focused-animated{-webkit-animation-name:buttonClicked;animation-name:buttonClicked;-webkit-animation-duration:.25s;animation-duration:.25s}
2.ce-settings__button:not(:nth-child(3n+3)){margin-right:3px}.ce-settings__button:nth-child(n+4){margin-top:3px}.ce-settings__button{line-height:32px}.ce-settings__button--disabled{cursor:not-allowed!important;opacity:.3}.ce-settings__button--selected{color:#388ae5}.ce-settings__button--delete{-webkit-transition:background-color .3s ease;transition:background-color .3s ease;will-change:background-color}.ce-settings__button--delete .icon{-webkit-transition:-webkit-transform .2s ease-out;transition:-webkit-transform .2s ease-out;transition:transform .2s ease-out;transition:transform .2s ease-out,-webkit-transform .2s ease-out;will-change:transform}.ce-settings__button--confirm{background-color:#e24a4a!important;color:#fff}.ce-settings__button--confirm:hover{background-color:#d54a4a!important}.ce-settings__button--confirm .icon{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.ce-block:first-of-type{margin-top:0}.ce-block--selected .ce-block__content{background:#e1f2ff}.ce-block--selected .ce-block__content [contenteditable]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ce-block--selected .ce-block__content .ce-stub,.ce-block--selected .ce-block__content img{opacity:.55}.ce-block--stretched .ce-block__content{max-width:none}.ce-block__content{position:relative;max-width:650px;margin:0 auto;-webkit-transition:background-color .15s ease;transition:background-color .15s ease}.ce-block--drop-target .ce-block__content:before{content:"";position:absolute;top:100%;left:-20px;margin-top:-1px;height:8px;width:8px;border:solid #388ae5;border-width:1px 1px 0 0;-webkit-transform-origin:right;transform-origin:right;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.ce-block--drop-target .ce-block__content:after{content:"";position:absolute;top:100%;height:1px;width:100%;color:#388ae5;background:repeating-linear-gradient(90deg,#388ae5,#388ae5 1px,#fff 0,#fff 6px)}.ce-block a{cursor:pointer;text-decoration:underline}.ce-block b{font-weight:700}.ce-block i{font-style:italic}@media (min-width:651px){.codex-editor--narrow .ce-block--focused{margin-right:-50px;padding-right:50px}}.wobble{-webkit-animation-name:wobble;animation-name:wobble;-webkit-animation-duration:.4s;animation-duration:.4s}@-webkit-keyframes wobble{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-5%,0,0) rotate(-5deg);transform:translate3d(-5%,0,0) rotate(-5deg)}30%{-webkit-transform:translate3d(2%,0,0) rotate(3deg);transform:translate3d(2%,0,0) rotate(3deg)}45%{-webkit-transform:translate3d(-3%,0,0) rotate(-3deg);transform:translate3d(-3%,0,0) rotate(-3deg)}60%{-webkit-transform:translate3d(2%,0,0) rotate(2deg);transform:translate3d(2%,0,0) rotate(2deg)}75%{-webkit-transform:translate3d(-1%,0,0) rotate(-1deg);transform:translate3d(-1%,0,0) rotate(-1deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes wobble{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-5%,0,0) rotate(-5deg);transform:translate3d(-5%,0,0) rotate(-5deg)}30%{-webkit-transform:translate3d(2%,0,0) rotate(3deg);transform:translate3d(2%,0,0) rotate(3deg)}45%{-webkit-transform:translate3d(-3%,0,0) rotate(-3deg);transform:translate3d(-3%,0,0) rotate(-3deg)}60%{-webkit-transform:translate3d(2%,0,0) rotate(2deg);transform:translate3d(2%,0,0) rotate(2deg)}75%{-webkit-transform:translate3d(-1%,0,0) rotate(-1deg);transform:translate3d(-1%,0,0) rotate(-1deg)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}20%{-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}60%{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}20%{-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}
260%{-webkit-transform:scaleX(1);transform:scaleX(1)}}@-webkit-keyframes selectionBounce{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}50%{-webkit-transform:scale3d(1.01,1.01,1.01);transform:scale3d(1.01,1.01,1.01)}70%{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes selectionBounce{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}50%{-webkit-transform:scale3d(1.01,1.01,1.01);transform:scale3d(1.01,1.01,1.01)}70%{-webkit-transform:scaleX(1);transform:scaleX(1)}}@-webkit-keyframes buttonClicked{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:scale3d(.95,.95,.95);transform:scale3d(.95,.95,.95)}60%{-webkit-transform:scale3d(1.02,1.02,1.02);transform:scale3d(1.02,1.02,1.02)}80%{-webkit-transform:scaleX(1);transform:scaleX(1)}}@keyframes buttonClicked{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:scale3d(.95,.95,.95);transform:scale3d(.95,.95,.95)}60%{-webkit-transform:scale3d(1.02,1.02,1.02);transform:scale3d(1.02,1.02,1.02)}80%{-webkit-transform:scaleX(1);transform:scaleX(1)}}@-webkit-keyframes panelShowing{0%{opacity:0;-webkit-transform:translateY(-8px) scale(.9);transform:translateY(-8px) scale(.9)}70%{opacity:1;-webkit-transform:translateY(2px);transform:translateY(2px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes panelShowing{0%{opacity:0;-webkit-transform:translateY(-8px) scale(.9);transform:translateY(-8px) scale(.9)}70%{opacity:1;-webkit-transform:translateY(2px);transform:translateY(2px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}.cdx-block{padding:.4em 0}.cdx-input{border:1px solid rgba(201,201,204,.48);-webkit-box-shadow:inset 0 1px 2px 0 rgba(35,44,72,.06);box-shadow:inset 0 1px 2px 0 rgba(35,44,72,.06);border-radius:3px;padding:10px 12px;outline:none;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.cdx-input[data-placeholder]:before{position:static!important;display:inline-block;width:0;white-space:nowrap;pointer-events:none}.cdx-settings-button{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:34px;height:34px;line-height:34px;padding:0!important;text-align:center;border-radius:3px;cursor:pointer;border:0;outline:none;background-color:transparent;vertical-align:bottom;color:#000;margin:0}.cdx-settings-button:hover{background-color:#eff2f5}.cdx-settings-button--focused{-webkit-box-shadow:inset 0 0 0 1px rgba(7,161,227,.08);box-shadow:inset 0 0 0 1px rgba(7,161,227,.08);background:rgba(34,186,255,.08)!important}.cdx-settings-button--focused-animated{-webkit-animation-name:buttonClicked;animation-name:buttonClicked;-webkit-animation-duration:.25s;animation-duration:.25s}.cdx-settings-button:not(:nth-child(3n+3)){margin-right:3px}.cdx-settings-button:nth-child(n+4){margin-top:3px}.cdx-settings-button--active{color:#388ae5}.cdx-loader{position:relative;border:1px solid rgba(201,201,204,.48)}.cdx-loader:before{content:"";position:absolute;left:50%;top:50%;width:18px;height:18px;margin:-11px 0 0 -11px;border:2px solid rgba(201,201,204,.48);border-left-color:#388ae5;border-radius:50%;-webkit-animation:cdxRotation 1.2s linear infinite;animation:cdxRotation 1.2s linear infinite}@-webkit-keyframes cdxRotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes cdxRotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.cdx-button{padding:13px;border-radius:3px;border:1px solid rgba(201,201,204,.48);font-size:14.9px;background:#fff;-webkit-box-shadow:0 2px 2px 0 rgba(18,30,57,.04);box-shadow:0 2px 2px 0 rgba(18,30,57,.04);color:#707684;text-align:center;cursor:pointer}.cdx-button:hover{background:#fbfcfe;-webkit-box-shadow:0 1px 3px 0 rgba(18,30,57,.08);box-shadow:0 1px 3px 0 rgba(18,30,57,.08)}.cdx-button svg{height:20px;margin-right:.2em;margin-top:-2px}.ce-stub{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;padding:3.5em 0;margin:17px 0;border-radius:3px;background:#fcf7f7;color:#b46262}.ce-stub__info{margin-left:20px}.ce-stub__title{margin-bottom:3px;font-weight:600;font-size:18px;text-transform:capitalize}.ce-stub__subtitle{font-size:16px}.codex-editor.codex-editor--rtl{direction:rtl}
2.codex-editor.codex-editor--rtl .cdx-list{padding-left:0;padding-right:40px}.codex-editor.codex-editor--rtl .ce-toolbar__plus{right:-34px;left:auto}.codex-editor.codex-editor--rtl .ce-toolbar__actions{right:auto;left:-34px}@media (max-width:650px){.codex-editor.codex-editor--rtl .ce-toolbar__actions{margin-left:0;margin-right:auto;padding-right:0;padding-left:10px}}.codex-editor.codex-editor--rtl .ce-settings{left:5px;right:auto}.codex-editor.codex-editor--rtl .ce-settings:before{right:auto;left:25px}.codex-editor.codex-editor--rtl .ce-settings__button:not(:nth-child(3n+3)){margin-left:3px;margin-right:0}.codex-editor.codex-editor--rtl .ce-conversion-tool__icon{margin-right:0;margin-left:10px}.codex-editor.codex-editor--rtl .ce-inline-toolbar__dropdown{border-right:0 solid transparent;border-left:1px solid rgba(201,201,204,.48);margin:0 -6px 0 6px}.codex-editor.codex-editor--rtl .ce-inline-toolbar__dropdown .icon--toggler-down{margin-left:0;margin-right:4px}@media (min-width:651px){.codex-editor--narrow.codex-editor--rtl .ce-toolbar__plus{left:0;right:5px}}@media (min-width:651px){.codex-editor--narrow.codex-editor--rtl .ce-toolbar__actions{left:-5px}}'},function(e,t,n){"use strict";n.r(t),n.d(t,"nanoid",(function(){return s})),n.d(t,"customAlphabet",(function(){return a})),n.d(t,"customRandom",(function(){return i})),n.d(t,"urlAlphabet",(function(){return r})),n.d(t,"random",(function(){return o}));let r="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",o=e=>crypto.getRandomValues(new Uint8Array(e)),i=(e,t,n)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,o=-~(1.6*r*t/e.length);return()=>{let i="";for(;;){let a=n(o),s=o;for(;s--;)if(i+=e[a[s]&r]||"",i.length===t)return i}}},a=(e,t)=>i(e,t,o),s=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=63&n[e];t+=r<36?r.toString(36):r<62?(r-26).toString(36).toUpperCase():r<63?"_":"-"}return t}}])},2854:e=>{window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=14)}([function(e,t,n){var r=n(5),o=n(6),i=n(7),a=n(9);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()}},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){function n(e,t,n){var r,o,i,a,s;function l(){var c=Date.now()-a;c<t&&c>=0?r=setTimeout(l,t-c):(r=null,n||(s=e.apply(i,o),i=o=null))}null==t&&(t=100);var c=function(){i=this,o=arguments,a=Date.now();var c=n&&!r;return r||(r=setTimeout(l,t)),c&&(s=e.apply(i,o),i=o=null),s};return c.clear=function(){r&&(clearTimeout(r),r=null)},c.flush=function(){r&&(s=e.apply(i,o),i=o=null,clearTimeout(r),r=null)},c}n.debounce=n,e.exports=n},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}},function(e,t,n){var r=n(8);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to de
2structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){var r=n(11),o=n(12);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]),r(o,{insert:"head",singleton:!1}),e.exports=o.locals||{}},function(e,t,n){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function l(e,t){for(var n={},r=[],o=0;o<e.length;o++){var i=e[o],l=t.base?i[0]+t.base:i[0],c=n[l]||0,u="".concat(l," ").concat(c);n[l]=c+1;var d=s(u),f={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?(a[d].references++,a[d].updater(f)):a.push({identifier:u,updater:v(f,t),references:1}),r.push(u)}return r}function c(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var u,d=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function f(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=d(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,m=0;function v(e,t){var n,r,o;if(t.singleton){var i=m++;n=h||(h=c(t)),r=f.bind(null,n,i,!1),o=f.bind(null,n,i,!0)}else n=c(t),r=p.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=s(n[r]);a[o].references--}for(var i=l(e,t),c=0;c<n.length;c++){var u=s(n[c]);0===a[u].references&&(a[u].updater(),a.splice(u,1))}n=i}}}},function(e,t,n){(t=n(13)(!1)).push([e.i,".embed-tool--loading .embed-tool__caption {\n display: none;\n }\n\n .embed-tool--loading .embed-tool__preloader {\n display: block;\n }\n\n .embed-tool--loading .embed-tool__content {\n display: none;\n }\n .embed-tool__preloader {\n display: none;\n position: relative;\n height: 200px;\n box-sizing: border-box;\n border-radius: 5px;\n border: 1px solid #e6e9eb;\n }\n .embed-tool__preloader::before {\n content: '';\n position: absolute;\n z-index: 3;\n left: 50%;\n top: 50%;\n width: 30px;\n height: 30px;\n margin-top: -25px;\n margin-left: -15px;\n border-radius: 50%;\n border: 2px solid #cdd1e0;\n border-top-color: #388ae5;\n box-sizing: border-box;\n animation: embed-preloader-spin 2s infinite linear;\n }\n .embed-tool__url {\n position: absolute;\n bottom: 20px;\n left: 50%;\n transform: translateX(-50%);\n max-width: 250px;\n color: #7b7e89;\n font-size: 11px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n .embed-tool__content {\n width: 100%;\n }\n .embed-tool__caption {\n margin-top: 7px;\n }\n .embed-tool__caption[contentEditable=true][data-placeholder]::before{\n position: absolute;\n content: attr(data-placeholder);\n color: #707684;\n font-weight: normal;\n opacity: 0;\n }\n .embed-tool__caption[contentEditable=true][data-placeholder]:empty::before {\n opacity: 1;\n }\n .embed-tool__caption[contentEditable=true][data-placeholder]:empty:focus::before {\n opacity: 0;\n }\n\n@keyframes embed-preloader-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n",""]),e.exports=t},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r,o,i=e[1]||"",a=e[3];
2if(!a)return i;if(t&&"function"==typeof btoa){var s=(n=a,r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),"/*# ".concat(o," */")),l=a.sources.map((function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")}));return[i].concat(l).concat([s]).join("\n")}return[i].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);r&&o[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return p}));var r=n(1),o=n.n(r),i=n(0),a=n.n(i),s=n(2),l=n.n(s),c=n(3),u=n.n(c),d={vimeo:{regex:/(?:http[s]?:\/\/)?(?:www.)?(?:player.)?vimeo\.co(?:.+\/([^\/]\d+)(?:#t=[\d]+)?s?$)/,embedUrl:"https://player.vimeo.com/video/<%= remote_id %>?title=0&byline=0",html:'<iframe style="width:100%;" height="320" frameborder="0"></iframe>',height:320,width:580},youtube:{regex:/(?:https?:\/\/)?(?:www\.)?(?:(?:youtu\.be\/)|(?:youtube\.com)\/(?:v\/|u\/\w\/|embed\/|watch))(?:(?:\?v=)?([^#&?=]*))?((?:[?&]\w*=\w*)*)/,embedUrl:"https://www.youtube.com/embed/<%= remote_id %>",html:'<iframe style="width:100%;" height="320" frameborder="0" allowfullscreen></iframe>',height:320,width:580,id:function(e){var t=a()(e,2),n=t[0],r=t[1];if(!r&&n)return n;var o={start:"start",end:"end",t:"start",time_continue:"start",list:"list"};return r=r.slice(1).split("&").map((function(e){var t=e.split("="),r=a()(t,2),i=r[0],s=r[1];return n||"v"!==i?o[i]?"".concat(o[i],"=").concat(s):null:(n=s,null)})).filter((function(e){return!!e})),n+"?"+r.join("&")}},coub:{regex:/https?:\/\/coub\.com\/view\/([^\/\?\&]+)/,embedUrl:"https://coub.com/embed/<%= remote_id %>",html:'<iframe style="width:100%;" height="320" frameborder="0" allowfullscreen></iframe>',height:320,width:580},vine:{regex:/https?:\/\/vine\.co\/v\/([^\/\?\&]+)/,embedUrl:"https://vine.co/v/<%= remote_id %>/embed/simple/",html:'<iframe style="width:100%;" height="320" frameborder="0" allowfullscreen></iframe>',height:320,width:580},imgur:{regex:/https?:\/\/(?:i\.)?imgur\.com.*\/([a-zA-Z0-9]+)(?:\.gifv)?/,embedUrl:"http://imgur.com/<%= remote_id %>/embed",html:'<iframe allowfullscreen="true" scrolling="no" id="imgur-embed-iframe-pub-<%= remote_id %>" class="imgur-embed-iframe-pub" style="height: 500px; width: 100%; border: 1px solid #000"></iframe>',height:500,width:540},gfycat:{regex:/https?:\/\/gfycat\.com(?:\/detail)?\/([a-zA-Z]+)/,embedUrl:"https://gfycat.com/ifr/<%= remote_id %>",html:"<iframe frameborder='0' scrolling='no' style=\"width:100%;\" height='436' allowfullscreen ></iframe>",height:436,width:580},"twitch-channel":{regex:/https?:\/\/www\.twitch\.tv\/([^\/\?\&]*)\/?$/,embedUrl:"https://player.twitch.tv/?channel=<%= remote_id %>",html:'<iframe frameborder="0" allowfullscreen="true" scrolling="no" height="366" style="width:100%;"></iframe>',height:366,width:600},"twitch-video":{regex:/https?:\/\/www\.twitch\.tv\/(?:[^\/\?\&]*\/v|videos)\/([0-9]*)/,embedUrl:"https://player.twitch.tv/?video=v<%= remote_id %>",html:'<iframe frameborder="0" allowfullscreen="true" scrolling="no" height="366" style="width:100%;"></iframe>',height:366,width:600},"yandex-music-album":{regex:/https?:\/\/music\.yandex\.ru\/album\/([0-9]*)\/?$/,embedUrl:"https://music.yandex.ru/iframe/#album/<%= remote_id %>/",html:'<iframe frameborder="0" style="border:none;width:540px;height:400px;" style="width:100%;" height="400"></iframe>',height:400,width:540},"yandex-music-track":{regex:/https?:\/\/music\.yandex\.ru\/album\/([0-9]*)\/track\/([0-9]*)/,embedUrl:"https://music.yandex.ru/iframe/#track/<%= remote_id %>/",html:'<iframe frameborder="0" style="border:none;width:540px;height:100px;" style="width:100%;" height="100"></iframe>',height:100,width:540,id:function(e){return e.join("/")}},"yandex-music-playlist":{regex:/https?:\/\/music\.yandex\.ru\/users\/([^\/\?\&]*)\/playlists\/([0-9]*)/,embedUrl:"https://music.yandex.ru/iframe/#playlist/<%= remote_id %>/show/cover/description/",html:'<iframe frameborder="0" style="border:none;width:540px;height:400px;" width="540" height="400"></iframe>',height:400,width:540,id:function(e){return e.join("/")}},codepen:{regex:/https?:\/\/codepen\.io\/([^\/\?\&]*)\/pen\/([^\/\?\&]*)/,embedUrl:"https://codepen.io/<%= remote_id %>?height=300&theme-id=0&default-tab=css,result&embed-version=2",html:"<iframe height='300' scrolling='no' frameborder='no' allowtransparency='true' allowfullscreen='true' style='width: 100%;'></iframe>",height:300,width:600,id:function(e){return e.join("/embed/")}},instagram:{regex:/https?:\/\/www\.instagram\.com\/p\/([^\/\?\&]+)\/?/,embedUrl:"https://www.instagram.com/p/<%= remote_id %>/embed",html:'<iframe width="400" height="505" style="margin: 0 auto;" frameborder="0" scrolling="no" allowtransparency="true"></iframe>',height:505,width:400},twitter:{regex:/^https?:\/\/twitter\.com\/(?:#!\/)?(\w+)\/status(?:es)?\/(\d+)(?:\/.*)?$/,embedUrl:"https://twitframe.com/show?url=https://twitter.com/<%= remote_id %>",html:'<iframe width="600" height="600" style="margin: 0 auto;" frameborder="0" scrolling="no" allowtransparency="true"></iframe>',height:300,width:600,id:function(e){return e.join("/status/")}},pinterest:{regex:/https?:\/\/([^\/\?\&]*).pinterest.com\/pin\/([^\/\?\&]*)\/?$/,embedUrl:"https://assets.pinterest.com/ext/embed.html?id=<%= remote_id %>",html:"<iframe scrolling='no' frameborder='no' allowtransparency='true' allowfullscreen='true' style='width: 100%; min-height: 400px; max-height: 1000px;'></iframe>",id:function(e){return e[1]}},facebook:{regex:/https?:\/\/www.facebook.com\/([^\/\?\&]*)\/(.*)/,embedUrl:"https://www.facebook.com/plugins/post.php?href=https://www.facebook.com/<%= remote_id %>&width=500",html:"<iframe scrolling='no' frameborder='no' allowtransparency='true' allowfullscreen='true' style='width: 100%; min-height: 500px; max-height: 1000px;'></iframe>",id:function(e){return e.join("/")}},aparat:{regex:/(?:http[s]?:\/\/)?(?:www.)?aparat\.com\/v\/([^\/\?\&]+)\/?/,embedUrl:"https://www.aparat.com/video/video/embed/videohash/<%= remote_id %>/vt/frame",html:'<iframe width="600" height="300" style="margin: 0 auto;" frameborder="0" scrolling="no" allowtransparency="true"></iframe>',height:300,width:600}},f=(n(10),n(4)),p=function(){function e(t){var n=t.data,r=t.api,o=t.readOnly;l()(this,e),this.api=r,this._data={},this.element=null,this.readOnly=o,this.data=n}return u()(e,[{key:"render",value:function(){var t=this;if(!this.data.service){var n=document.createElement("div");return this.element=n,n}
2var r=e.services[this.data.service].html,o=document.createElement("div"),i=document.createElement("div"),a=document.createElement("template"),s=this.createPreloader();o.classList.add(this.CSS.baseClass,this.CSS.container,this.CSS.containerLoading),i.classList.add(this.CSS.input,this.CSS.caption),o.appendChild(s),i.contentEditable=!this.readOnly,i.dataset.placeholder="Enter a caption",i.innerHTML=this.data.caption||"",a.innerHTML=r,a.content.firstChild.setAttribute("src",this.data.embed),a.content.firstChild.classList.add(this.CSS.content);var l=this.embedIsReady(o);return o.appendChild(a.content.firstChild),o.appendChild(i),l.then((function(){o.classList.remove(t.CSS.containerLoading)})),this.element=o,o}},{key:"createPreloader",value:function(){var e=document.createElement("preloader"),t=document.createElement("div");return t.textContent=this.data.source,e.classList.add(this.CSS.preloader),t.classList.add(this.CSS.url),e.appendChild(t),e}},{key:"save",value:function(){return this.data}},{key:"onPaste",value:function(t){var n=t.detail,r=n.key,o=n.data,i=e.services[r],a=i.regex,s=i.embedUrl,l=i.width,c=i.height,u=i.id,d=void 0===u?function(e){return e.shift()}:u,f=a.exec(o).slice(1),p=s.replace(/<%= remote_id %>/g,d(f));this.data={service:r,source:o,embed:p,width:l,height:c}}},{key:"embedIsReady",value:function(e){var t=null;return new Promise((function(n,r){(t=new MutationObserver(Object(f.debounce)(n,450))).observe(e,{childList:!0,subtree:!0})})).then((function(){t.disconnect()}))}},{key:"data",set:function(e){if(!(e instanceof Object))throw Error("Embed Tool data should be object");var t=e.service,n=e.source,r=e.embed,o=e.width,i=e.height,a=e.caption,s=void 0===a?"":a;this._data={service:t||this.data.service,source:n||this.data.source,embed:r||this.data.embed,width:o||this.data.width,height:i||this.data.height,caption:s||this.data.caption||""};var l=this.element;l&&l.parentNode.replaceChild(this.render(),l)},get:function(){if(this.element){var e=this.element.querySelector(".".concat(this.api.styles.input));this._data.caption=e?e.innerHTML:""}return this._data}},{key:"CSS",get:function(){return{baseClass:this.api.styles.block,input:this.api.styles.input,container:"embed-tool",containerLoading:"embed-tool--loading",preloader:"embed-tool__preloader",caption:"embed-tool__caption",url:"embed-tool__url",content:"embed-tool__content"}}}],[{key:"prepare",value:function(t){var n=t.config,r=(void 0===n?{}:n).services,i=void 0===r?{}:r,s=Object.entries(d),l=Object.entries(i).filter((function(e){var t=a()(e,2),n=(t[0],t[1]);return"boolean"==typeof n&&!0===n})).map((function(e){return a()(e,1)[0]})),c=Object.entries(i).filter((function(e){var t=a()(e,2),n=(t[0],t[1]);return"object"===o()(n)})).filter((function(t){var n=a()(t,2),r=(n[0],n[1]);return e.checkServiceConfig(r)})).map((function(e){var t=a()(e,2),n=t[0],r=t[1];return[n,{regex:r.regex,embedUrl:r.embedUrl,html:r.html,height:r.height,width:r.width,id:r.id}]}));l.length&&(s=s.filter((function(e){var t=a()(e,1)[0];return l.includes(t)}))),s=s.concat(c),e.services=s.reduce((function(e,t){var n=a()(t,2),r=n[0],o=n[1];return r in e?(e[r]=Object.assign({},e[r],o),e):(e[r]=o,e)}),{}),e.patterns=s.reduce((function(e,t){var n=a()(t,2),r=n[0],o=n[1];return e[r]=o.regex,e}),{})}},{key:"checkServiceConfig",value:function(e){var t=e.regex,n=e.embedUrl,r=e.html,o=e.height,i=e.width,a=e.id,s=t&&t instanceof RegExp&&n&&"string"==typeof n&&r&&"string"==typeof r;return(s=(s=s&&(void 0===a||a instanceof Function))&&(void 0===o||Number.isFinite(o)))&&(void 0===i||Number.isFinite(i))}},{key:"pasteConfig",get:function(){return{patterns:e.patterns}}},{key:"isReadOnlySupported",get:function(){return!0}}]),e}()}]).default},3538:e=>{window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
2),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=0)}([function(e,t,n){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n(1).toString();var i=function(){function e(t){var n=t.data,r=t.config,o=t.api,i=t.readOnly;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.api=o,this.readOnly=i,this._CSS={block:this.api.styles.block,settingsButton:this.api.styles.settingsButton,settingsButtonActive:this.api.styles.settingsButtonActive,wrapper:"ce-header"},this._settings=r,this._data=this.normalizeData(n),this.settingsButtons=[],this._element=this.getTag()}var t,i,a;return t=e,a=[{key:"conversionConfig",get:function(){return{export:"text",import:"text"}}},{key:"sanitize",get:function(){return{level:!1,text:{}}}},{key:"isReadOnlySupported",get:function(){return!0}},{key:"pasteConfig",get:function(){return{tags:["H1","H2","H3","H4","H5","H6"]}}},{key:"toolbox",get:function(){return{icon:n(6).default,title:"Heading"}}}],(i=[{key:"normalizeData",value:function(e){var t={};return"object"!==r(e)&&(e={}),t.text=e.text||"",t.level=parseInt(e.level)||this.defaultLevel.number,t}},{key:"render",value:function(){return this._element}},{key:"renderSettings",value:function(){var e=this,t=document.createElement("DIV");return this.levels.length<=1||this.levels.forEach((function(n){var r=document.createElement("SPAN");r.classList.add(e._CSS.settingsButton),e.currentLevel.number===n.number&&r.classList.add(e._CSS.settingsButtonActive),r.innerHTML=n.svg,r.dataset.level=n.number,r.addEventListener("click",(function(){e.setLevel(n.number)})),t.appendChild(r),e.settingsButtons.push(r)})),t}},{key:"setLevel",value:function(e){var t=this;this.data={level:e,text:this.data.text},this.settingsButtons.forEach((function(n){n.classList.toggle(t._CSS.settingsButtonActive,parseInt(n.dataset.level)===e)}))}},{key:"merge",value:function(e){var t={text:this.data.text+e.text,level:this.data.level};this.data=t}},{key:"validate",value:function(e){return""!==e.text.trim()}},{key:"save",value:function(e){return{text:e.innerHTML,level:this.currentLevel.number}}},{key:"getTag",value:function(){var e=document.createElement(this.currentLevel.tag);return e.innerHTML=this._data.text||"",e.classList.add(this._CSS.wrapper),e.contentEditable=this.readOnly?"false":"true",e.dataset.placeholder=this.api.i18n.t(this._settings.placeholder||""),e}},{key:"onPaste",value:function(e){var t=e.detail.data,n=this.defaultLevel.number;switch(t.tagName){case"H1":n=1;break;case"H2":n=2;break;case"H3":n=3;break;case"H4":n=4;break;case"H5":n=5;break;case"H6":n=6}this._settings.levels&&(n=this._settings.levels.reduce((function(e,t){return Math.abs(t-n)<Math.abs(e-n)?t:e}))),this.data={level:n,text:t.innerHTML}}},{key:"data",get:function(){return this._data.text=this._element.innerHTML,this._data.level=this.currentLevel.number,this._data},set:function(e){if(this._data=this.normalizeData(e),void 0!==e.level&&this._element.parentNode){var t=this.getTag();t.innerHTML=this._element.innerHTML,this._element.parentNode.replaceChild(t,this._element),this._element=t}void 0!==e.text&&(this._element.innerHTML=this._data.text||"")}},{key:"currentLevel",get:function(){var e=this,t=this.levels.find((function(t){return t.number===e._data.level}));return t||(t=this.defaultLevel),t}},{key:"defaultLevel",get:function(){var e=this;if(this._settings.defaultLevel){var t=this.levels.find((function(t){return t.number===e._settings.defaultLevel}));if(t)return t;console.warn("(à¸'Ì-'Ì)ภHeading Tool: the default level specified was not found in available levels")}return this.levels[1]}},{key:"levels",get:function(){var e=this,t=[{number:1,tag:"H1",svg:'<svg width="16" height="14" xmlns="http://www.w3.org/2000/svg"><path d="M2.14 1.494V4.98h4.62V1.494c0-.498.098-.871.293-1.12A.927.927 0 0 1 7.82 0c.322 0 .583.123.782.37.2.246.3.62.3 1.124v9.588c0 .503-.101.88-.303 1.128a.957.957 0 0 1-.779.374.921.921 0 0 1-.77-.378c-.193-.251-.29-.626-.29-1.124V6.989H2.14v4.093c0 .503-.1.88-.302 1.128a.957.957 0 0 1-.778.374.921.921 0 0 1-.772-.378C.096 11.955 0 11.58 0 11.082V1.494C0 .996.095.623.285.374A.922.922 0 0 1 1.06 0c.321 0 .582.123.782.37.199.246.299.62.299 1.124zm11.653 9.985V5.27c-1.279.887-2.14 1.33-2.583 1.33a.802.802 0 0 1-.563-.228.703.703 0 0 1-.245-.529c0-.232.08-.402.241-.511.161-.11.446-.25.854-.424.61-.259 1.096-.532 1.462-.818a5.84 5.84 0 0 0 .97-.962c.282-.355.466-.573.552-.655.085-.082.246-.123.483-.123.267 0 .481.093.642.28.161.186.242.443.242.77v7.813c0 .914-.345 1.371-1.035 1.371-.307 0-.554-.093-.74-.28-.187-.186-.28-.461-.28-.825z"/></svg>'},{number:2,tag:"H2",svg:'<svg width="18" height="14" xmlns="http://www.w3.org/2000/svg"><path d="M2.152 1.494V4.98h4.646V1.494c0-.498.097-.871.293-1.12A.934.934 0 0 1 7.863 0c.324 0 .586.123.786.37.2.246.301.62.301 1.124v9.588c0 .503-.101.88-.304 1.128a.964.964 0 0 1-.783.374.928.928 0 0 1-.775-.378c-.194-.251-.29-.626-.29-1.124V6.989H2.152v4.093c0 .503-.101.88-.304 1.128a.964.964 0 0 1-.783.374.928.928 0 0 1-.775-.378C.097 11.955 0 11.58 0 11.082V1.494C0 .996.095.623.286.374A.929.929 0 0 1 1.066 0c.323 0 .585.123.786.37.2.246.3.62.3 1.124zm10.99 9.288h3.527c.351 0 .62.072.804.216.185.144.277.34.277.588 0 .22-.073.408-.22.56-.146.154-.368.23-.665.23h-4.972c-.338 0-.601-.093-.79-.28a.896.896 0 0 1-.284-.659c0-.162.06-.377.182-.645s.255-.478.399-.631a38.617 38.617 0 0 1 1.621-1.598c.482-.444.827-.735 1.034-.875.369-.261.676-.523.922-.787.245-.263.432-.534.56-.81.129-.278.193-.549.193-.815 0-.288-.069-.546-.206-.773a1.428 1.428 0 0 0-.56-.53 1.618 1.618 0 0 0-.774-.19c-.59 0-1.054.26-1.392.777-.045.068-.12.252-.226.554-.106.302-.225.534-.358.696-.133.162-.328.243-.585.243a.76.76 0 0 1-.56-.223c-.149-.148-.223-.351-.223-.608 0-.31.07-.635.21-.972.139-.338.347-.645.624-.92a3.093 3.093 0 0 1 1.054-.665c.426-.169.924-.253 1.496-.253.69 0 1.277.108 1.764.324.315.144.592.343.83.595.24.252.425.544.558.875.133.33.2.674.2 1.03 0 .558-.14 1.066-.416 1.523-.277.457-.56.815-.848 1.074-.288.26-.771.666-1.45 1.22-.677.554-1.142.984-1.394 1.29a3.836 3.836 0 0 0-.331.44z"/></svg>'},{number:3,tag:"H3",svg:'<svg width="18" height="14" xmlns="http://www.w3.org/2000/svg"><path d="M2.152 1.494V4.98h4.646V1.494c0-.498.097-.871.293-1.12A.934.934 0 0 1 7.863 0c.324 0 .586.123.786.37.2.246.301.62.301 1.124v9.588c0 .503-.101.88-.304 1.128a.964.964 0 0 1-.783.374.928.928 0 0 1-.775-.378c-.194-.251-.29-.626-.29-1.124V6.989H2.152v4.093c0 .503-.101.88-.304 1.128a.964.964 0 0 1-.783.374.928.928 0 0 1-.775-.378C.097 11.955 0 11.58 0 11.082V1.494C0 .996.095.623.286.374A.929.929 0 0 1 1.066 0c.323 0 .585.123.786.37.2.246.3.62.3 1.124zm11.61 4.919c.418 0 .778-.123 1.08-.368.301-.245.452-.597.452-1.055 0-.35-.12-.65-.36-.902-.241-.252-.566-.378-.974-.378-.277 0-.505.038-.684.116a1.
21 1.1 0 0 0-.426.306 2.31 2.31 0 0 0-.296.49c-.093.2-.178.388-.255.565a.479.479 0 0 1-.245.225.965.965 0 0 1-.409.081.706.706 0 0 1-.5-.22c-.152-.148-.228-.345-.228-.59 0-.236.071-.484.214-.745a2.72 2.72 0 0 1 .627-.746 3.149 3.149 0 0 1 1.024-.568 4.122 4.122 0 0 1 1.368-.214c.44 0 .842.06 1.205.18.364.12.679.294.947.52.267.228.47.49.606.79.136.3.204.622.204.967 0 .454-.099.843-.296 1.168-.198.324-.48.64-.848.95.354.19.653.408.895.653.243.245.426.516.548.813.123.298.184.619.184.964 0 .413-.083.812-.248 1.198-.166.386-.41.73-.732 1.031a3.49 3.49 0 0 1-1.147.708c-.443.17-.932.256-1.467.256a3.512 3.512 0 0 1-1.464-.293 3.332 3.332 0 0 1-1.699-1.64c-.142-.314-.214-.573-.214-.777 0-.263.085-.475.255-.636a.89.89 0 0 1 .637-.242c.127 0 .25.037.367.112a.53.53 0 0 1 .232.27c.236.63.489 1.099.759 1.405.27.306.65.46 1.14.46a1.714 1.714 0 0 0 1.46-.824c.17-.273.256-.588.256-.947 0-.53-.145-.947-.436-1.249-.29-.302-.694-.453-1.212-.453-.09 0-.231.01-.422.028-.19.018-.313.027-.367.027-.25 0-.443-.062-.579-.187-.136-.125-.204-.299-.204-.521 0-.218.081-.394.245-.528.163-.134.406-.2.728-.2h.28z"/></svg>'},{number:4,tag:"H4",svg:'<svg width="20" height="14" xmlns="http://www.w3.org/2000/svg"><path d="M2.152 1.494V4.98h4.646V1.494c0-.498.097-.871.293-1.12A.934.934 0 0 1 7.863 0c.324 0 .586.123.786.37.2.246.301.62.301 1.124v9.588c0 .503-.101.88-.304 1.128a.964.964 0 0 1-.783.374.928.928 0 0 1-.775-.378c-.194-.251-.29-.626-.29-1.124V6.989H2.152v4.093c0 .503-.101.88-.304 1.128a.964.964 0 0 1-.783.374.928.928 0 0 1-.775-.378C.097 11.955 0 11.58 0 11.082V1.494C0 .996.095.623.286.374A.929.929 0 0 1 1.066 0c.323 0 .585.123.786.37.2.246.3.62.3 1.124zm13.003 10.09v-1.252h-3.38c-.427 0-.746-.097-.96-.29-.213-.193-.32-.456-.32-.788 0-.085.016-.171.048-.259.031-.088.078-.18.141-.276.063-.097.128-.19.195-.28.068-.09.15-.2.25-.33l3.568-4.774a5.44 5.44 0 0 1 .576-.683.763.763 0 0 1 .542-.212c.682 0 1.023.39 1.023 1.171v5.212h.29c.346 0 .623.047.832.142.208.094.313.3.313.62 0 .26-.086.45-.256.568-.17.12-.427.179-.768.179h-.41v1.252c0 .346-.077.603-.23.771-.152.168-.356.253-.612.253a.78.78 0 0 1-.61-.26c-.154-.173-.232-.427-.232-.764zm-2.895-2.76h2.895V4.91L12.26 8.823z"/></svg>'},{number:5,tag:"H5",svg:'<svg width="18" height="14" xmlns="http://www.w3.org/2000/svg"><path d="M2.152 1.494V4.98h4.646V1.494c0-.498.097-.871.293-1.12A.934.934 0 0 1 7.863 0c.324 0 .586.123.786.37.2.246.301.62.301 1.124v9.588c0 .503-.101.88-.304 1.128a.964.964 0 0 1-.783.374.928.928 0 0 1-.775-.378c-.194-.251-.29-.626-.29-1.124V6.989H2.152v4.093c0 .503-.101.88-.304 1.128a.964.964 0 0 1-.783.374.928.928 0 0 1-.775-.378C.097 11.955 0 11.58 0 11.082V1.494C0 .996.095.623.286.374A.929.929 0 0 1 1.066 0c.323 0 .585.123.786.37.2.246.3.62.3 1.124zm14.16 2.645h-3.234l-.388 2.205c.644-.344 1.239-.517 1.783-.517.436 0 .843.082 1.222.245.38.164.712.39.998.677.286.289.51.63.674 1.025.163.395.245.82.245 1.273 0 .658-.148 1.257-.443 1.797-.295.54-.72.97-1.276 1.287-.556.318-1.197.477-1.923.477-.813 0-1.472-.15-1.978-.45-.506-.3-.865-.643-1.076-1.031-.21-.388-.316-.727-.316-1.018 0-.177.073-.345.22-.504a.725.725 0 0 1 .556-.238c.381 0 .665.22.85.66.182.404.427.719.736.943.309.225.654.337 1.035.337.35 0 .656-.09.919-.272.263-.182.466-.431.61-.749.142-.318.214-.678.214-1.082 0-.436-.078-.808-.232-1.117a1.607 1.607 0 0 0-.62-.69 1.674 1.674 0 0 0-.864-.229c-.39 0-.67.048-.837.143-.168.095-.41.262-.725.5-.316.239-.576.358-.78.358a.843.843 0 0 1-.592-.242c-.173-.16-.259-.344-.259-.548 0-.022.025-.177.075-.463l.572-3.26c.063-.39.181-.675.354-.852.172-.177.454-.265.844-.265h3.595c.708 0 1.062.27 1.062.81a.711.711 0 0 1-.26.572c-.172.145-.426.218-.762.218z"/></svg>'},{number:6,tag:"H6",svg:'<svg width="18" height="14" xmlns="http://www.w3.org/2000/svg"><path d="M2.152 1.494V4.98h4.646V1.494c0-.498.097-.871.293-1.12A.934.934 0 0 1 7.863 0c.324 0 .586.123.786.37.2.246.301.62.301 1.124v9.588c0 .503-.101.88-.304 1.128a.964.964 0 0 1-.783.374.928.928 0 0 1-.775-.378c-.194-.251-.29-.626-.29-1.124V6.989H2.152v4.093c0 .503-.101.88-.304 1.128a.964.964 0 0 1-.783.374.928.928 0 0 1-.775-.378C.097 11.955 0 11.58 0 11.082V1.494C0 .996.095.623.286.374A.929.929 0 0 1 1.066 0c.323 0 .585.123.786.37.2.246.3.62.3 1.124zM12.53 7.058a3.093 3.093 0 0 1 1.004-.814 2.734 2.734 0 0 1 1.214-.264c.43 0 .827.08 1.19.24.365.161.684.39.957.686.274.296.485.645.635 1.048a3.6 3.6 0 0 1 .223 1.262c0 .637-.145 1.216-.437 1.736-.292.52-.699.926-1.221 1.218-.522.292-1.114.438-1.774.438-.76 0-1.416-.186-1.967-.557-.552-.37-.974-.919-1.265-1.645-.292
2-.726-.438-1.613-.438-2.662 0-.855.088-1.62.265-2.293.176-.674.43-1.233.76-1.676.33-.443.73-.778 1.2-1.004.47-.226 1.006-.339 1.608-.339.579 0 1.089.113 1.53.34.44.225.773.506.997.84.224.335.335.656.335.964 0 .185-.07.354-.21.505a.698.698 0 0 1-.536.227.874.874 0 0 1-.529-.18 1.039 1.039 0 0 1-.36-.498 1.42 1.42 0 0 0-.495-.655 1.3 1.3 0 0 0-.786-.247c-.24 0-.479.069-.716.207a1.863 1.863 0 0 0-.6.56c-.33.479-.525 1.333-.584 2.563zm1.832 4.213c.456 0 .834-.186 1.133-.56.298-.373.447-.862.447-1.468 0-.412-.07-.766-.21-1.062a1.584 1.584 0 0 0-.577-.678 1.47 1.47 0 0 0-.807-.234c-.28 0-.548.074-.804.224-.255.149-.461.365-.617.647a2.024 2.024 0 0 0-.234.994c0 .61.158 1.12.475 1.527.316.407.714.61 1.194.61z"/></svg>'}];return this._settings.levels?t.filter((function(t){return e._settings.levels.includes(t.number)})):t}}])&&o(t.prototype,i),a&&o(t,a),e}();e.exports=i},function(e,t,n){var r=n(2);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(4)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(3)(!1)).push([e.i,"/**\n * Plugin styles\n */\n.ce-header {\n padding: 1em 0;\n margin: 0;\n margin-bottom: -0.9em;\n line-height: 1.5em;\n outline: none;\n}\n\n.ce-header p,\n.ce-header div{\n padding: 0 !important;\n margin: 0 !important;\n}\n\n/**\n * Styles for Plugin icon in Toolbar\n */\n.ce-header__icon {}\n\n.ce-header[contentEditable=true][data-placeholder]::before{\n position: absolute;\n content: attr(data-placeholder);\n color: #707684;\n font-weight: normal;\n display: none;\n cursor: text;\n}\n\n.ce-header[contentEditable=true][data-placeholder]:empty::before {\n display: block;\n}\n\n.ce-header[contentEditable=true][data-placeholder]:empty:focus::before {\n display: none;\n}\n",""])},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r=e[1]||"",o=e[3];if(!o)return r;if(t&&"function"==typeof btoa){var i=(n=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),a=o.sources.map((function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"}));return[r].concat(a).concat([i]).join("\n")}return[r].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){var r,o,i={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),s=function(e){return document.querySelector(e)},l=function(){var e={};return function(t){if("function"==typeof t)return t();if(void 0===e[t]){var n=s.call(this,t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}}(),c=null,u=0,d=[],f=n(5);function p(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=i[r.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(;a<r.parts.length;a++)o.parts.push(b(r.parts[a],t))}else{var s=[];for(a=0;a<r.parts.length;a++)s.push(b(r.parts[a],t));i[r.id]={id:r.id,refs:1,parts:s}}}}function h(e,t){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=t.base?i[0]+t.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function m(e,t){var n=l(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=d[d.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),d.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=l(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,o)}}function v(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=d.indexOf(e);t>=0&&d.splice(t,1)}function g(e){var t=document.createElement("style");return void 0===e.attrs.type&&(e.attrs.type="text/css"),y(t,e.attrs),m(e,t),t}
vendor: 4,321 bytes, line 2
2function y(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function b(e,t){var n,r,o,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}if(t.singleton){var a=u++;n=c||(c=g(t)),r=k.bind(null,n,a,!1),o=k.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",y(t,e.attrs),m(e,t),t}(t),r=C.bind(null,n,t),o=function(){v(n),n.href&&URL.revokeObjectURL(n.href)}):(n=g(t),r=x.bind(null,n),o=function(){v(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=h(e,t);return p(n,t),function(e){for(var r=[],o=0;o<n.length;o++){var a=n[o];(s=i[a.id]).refs--,r.push(s)}for(e&&p(h(e,t),t),o=0;o<r.length;o++){var s;if(0===(s=r[o]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete i[s.id]}}}};var _,w=(_=[],function(e,t){return _[e]=t,_.filter(Boolean).join("\n")});function k(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=w(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function x(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function C(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=f(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}},function(e,t,n){"use strict";n.r(t),t.default='<svg width="10" height="14" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 14">\n <path d="M7.6 8.15H2.25v4.525a1.125 1.125 0 0 1-2.25 0V1.125a1.125 1.125 0 1 1 2.25 0V5.9H7.6V1.125a1.125 1.125 0 0 1 2.25 0v11.55a1.125 1.125 0 0 1-2.25 0V8.15z"/>\n</svg>\n'}])},9398:e=>{window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=25)}([function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}
vendor: 4,681 bytes, line 2
2e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";(function(e){var r=n(2),o=setTimeout;function i(){}function a(e){if(!(this instanceof a))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],f(e,this)}function s(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,a._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value)}catch(e){return void c(t.promise,e)}l(t.promise,r)}else(1===e._state?l:c)(t.promise,e._value)}))):e._deferreds.push(t)}function l(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof a)return e._state=3,e._value=t,void u(e);if("function"==typeof n)return void f((r=n,o=t,function(){r.apply(o,arguments)}),e)}e._state=1,e._value=t,u(e)}catch(t){c(e,t)}var r,o}function c(e,t){e._state=2,e._value=t,u(e)}function u(e){2===e._state&&0===e._deferreds.length&&a._immediateFn((function(){e._handled||a._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t<n;t++)s(e,e._deferreds[t]);e._deferreds=null}function d(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function f(e,t){var n=!1;try{e((function(e){n||(n=!0,l(t,e))}),(function(e){n||(n=!0,c(t,e))}))}catch(e){if(n)return;n=!0,c(t,e)}}a.prototype.catch=function(e){return this.then(null,e)},a.prototype.then=function(e,t){var n=new this.constructor(i);return s(this,new d(e,t,n)),n},a.prototype.finally=r.a,a.all=function(e){return new a((function(t,n){if(!e||void 0===e.length)throw new TypeError("Promise.all accepts an array");var r=Array.prototype.slice.call(e);if(0===r.length)return t([]);var o=r.length;function i(e,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,(function(t){i(e,t)}),n)}r[e]=a,0==--o&&t(r)}catch(e){n(e)}}for(var a=0;a<r.length;a++)i(a,r[a])}))},a.resolve=function(e){return e&&"object"==typeof e&&e.constructor===a?e:new a((function(t){t(e)}))},a.reject=function(e){return new a((function(t,n){n(e)}))},a.race=function(e){return new a((function(t,n){for(var r=0,o=e.length;r<o;r++)e[r].then(t,n)}))},a._immediateFn="function"==typeof e&&function(t){e(t)}||function(e){o(e,0)},a._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},t.a=a}).call(this,n(5).setImmediate)},function(e,t,n){"use strict";t.a=function(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(4);var o,i,a,s,l,c,u,d=n(8),f=(i=function(e){return new Promise((function(t,n){e=s(e),(e=l(e)).beforeSend&&e.beforeSend();var r=window.XMLHttpRequest?new window.XMLHttpRequest:new window.ActiveXObject("Microsoft.XMLHTTP");r.open(e.method,e.url),r.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(e.headers).forEac
vendor: 11,794 bytes, line 2
2h((function(t){var n=e.headers[t];r.setRequestHeader(t,n)}));var o=e.ratio;r.upload.addEventListener("progress",(function(t){var n=Math.round(t.loaded/t.total*100),r=Math.ceil(n*o/100);e.progress(Math.min(r,100))}),!1),r.addEventListener("progress",(function(t){var n=Math.round(t.loaded/t.total*100),r=Math.ceil(n*(100-o)/100)+o;e.progress(Math.min(r,100))}),!1),r.onreadystatechange=function(){if(4===r.readyState){var e=r.response;try{e=JSON.parse(e)}catch(e){}var o=d.parseHeaders(r.getAllResponseHeaders()),i={body:e,code:r.status,headers:o};u(r.status)?t(i):n(i)}},r.send(e.data)}))},a=function(e){return e.method="POST",i(e)},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.url&&"string"!=typeof e.url)throw new Error("Url must be a string");if(e.url=e.url||"",e.method&&"string"!=typeof e.method)throw new Error("`method` must be a string or null");if(e.method=e.method?e.method.toUpperCase():"GET",e.headers&&"object"!==r(e.headers))throw new Error("`headers` must be an object or null");if(e.headers=e.headers||{},e.type&&("string"!=typeof e.type||!Object.values(o).includes(e.type)))throw new Error("`type` must be taken from module's «contentType» library");if(e.progress&&"function"!=typeof e.progress)throw new Error("`progress` must be a function or null");if(e.progress=e.progress||function(e){},e.beforeSend=e.beforeSend||function(e){},e.ratio&&"number"!=typeof e.ratio)throw new Error("`ratio` must be a number");if(e.ratio<0||e.ratio>100)throw new Error("`ratio` must be in a 0-100 interval");if(e.ratio=e.ratio||90,e.accept&&"string"!=typeof e.accept)throw new Error("`accept` must be a string with a list of allowed mime-types");if(e.accept=e.accept||"*/*",e.multiple&&"boolean"!=typeof e.multiple)throw new Error("`multiple` must be a true or false");if(e.multiple=e.multiple||!1,e.fieldName&&"string"!=typeof e.fieldName)throw new Error("`fieldName` must be a string");return e.fieldName=e.fieldName||"files",e},l=function(e){switch(e.method){case"GET":var t=c(e.data,o.URLENCODED);delete e.data,e.url=/\?/.test(e.url)?e.url+"&"+t:e.url+"?"+t;break;case"POST":case"PUT":case"DELETE":case"UPDATE":var n=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).type||o.JSON}(e);(d.isFormData(e.data)||d.isFormElement(e.data))&&(n=o.FORM),e.data=c(e.data,n),n!==f.contentType.FORM&&(e.headers["content-type"]=n)}return e},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};switch(arguments.length>1?arguments[1]:void 0){case o.URLENCODED:return d.urlEncode(e);case o.JSON:return d.jsonEncode(e);case o.FORM:return d.formEncode(e);default:return e}},u=function(e){return e>=200&&e<300},{contentType:o={URLENCODED:"application/x-www-form-urlencoded; charset=utf-8",FORM:"multipart/form-data",JSON:"application/json; charset=utf-8"},request:i,get:function(e){return e.method="GET",i(e)},post:a,transport:function(e){return e=s(e),d.selectFiles(e).then((function(t){for(var n=new FormData,r=0;r<t.length;r++)n.append(e.fieldName,t[r],t[r].name);d.isObject(e.data)&&Object.keys(e.data).forEach((function(t){var r=e.data[t];n.append(t,r)}));var o=e.beforeSend;return e.beforeSend=function(){return o(t)},e.data=n,a(e)}))},selectFiles:function(e){return delete(e=s(e)).beforeSend,d.selectFiles(e)}});e.exports=f},function(e,t,n){"use strict";n.r(t);var r=n(1);window.Promise=window.Promise||r.a},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(6),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(0))},function(e,t,n){(function(e,t){!function(e){"use strict";if(!e.setImmediate){var n,r,o,i,a,s=1,l={},c=!1,u=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick((function(){p(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(i="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&p(+t.data.slice(i.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),n=function(t){e.postMessage(i+t,"*")}):e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){p(e.data)},n=function(e){o.port2.postMessage(e)}):u&&"onreadystatechange"in u.createElement("script")?(r=u.documentElement,n=function(e){var t=u.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):n=function(e){setTimeout(p,0,e)},d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var o={callback:e,args:t};return l[s]=o,n(s),s++},d.clearImmediate=f}function f(e){delete l[e]}function p(e){if(c)setTimeout(p,0,e);else{var t=l[e];if(t){c=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{f(e),c=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(0),n(7))},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,c=[],u=!1,d=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!u){var e=s(f);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||u||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var o=n(9);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t;return(t=[{key:"urlEncode",value:function(e){return o(e)}},{key:"jsonEncode",value:function(e){return JSON.stringify(e)}},{key:"formEncode",value:function(e){if(this.isFormData(e))return e;if(this.isFormElement(e))return new FormData(e);if(this.isObject(e)){var t=new FormData;return Object.keys(e).forEach((function(n){var r=e[n];t.append(n,r)})),t}throw new Error("`data` must be an instance of Object, FormData or <FORM> HTMLElement")}},{key:"isObject",value:function(e){return"[object Object]"===Object.prototype.toString.call(e)}},{key:"isFormData",value:function(e){return e instanceof FormData}},{key:"isFormElement",value:function(e){return e instanceof HTMLFormElement}},{key:"selectFiles",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise((function(t,n){var r=document.createElement("INPUT");r.type="file",e.multiple&&r.setAttribute("multiple","multiple"),e.accept&&r.setAttribute("accept",e.accept),r.style.display="none",document.body.appendChild(r),r.addEventListener("change",(function(e){var n=e.target.files;t(n),document.body.removeChild(r)}),!1),r.click()}))}},{key:"parseHeaders",value:function(e){var t=e.trim().split(/[\r\n]+/),n={};return t.forEach((function(e){var t=e.split(": "),r=t.shift(),o=t.join(": ");r&&(n[r]=o)})),n}}])&&r(e,t),e}()},function(e,t){var n=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,escape).replace(/%20/g,"+")},r=function(e,t,o,i){return t=t||null,o=o||"&",i=i||null,e?function(e){for(var t=new Array,n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t}(Object.keys(e).map((function(a){var s,l,c=a;if(i&&(c=i+"["+c+"]"),"object"==typeof e[a]&&null!==e[a])s=r(e[a],null,o,c);else{t&&(l=c,c=!isNaN(parseFloat(l))&&isFinite(l)?t+Number(c):c);var u=e[a];u=(u=0===(u=!1===(u=!0===u?"1":u)?"0":u)?"0":u)||"",s=n(c)+"="+n(u)}return s}))).join(o).replace(/[!'()*]/g,""):""};e.exports=r}])},function(e,t,n){e.exports=n(14)},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t,n){var r=n(4);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){function n(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function s(e){n(a,o,i,s,l,"next",e)}function l(e){n(a,o,i,s,l,"throw",e)}s(void 0)}))}}},function(e,t,n){var r=n(19),o=n(20),i=n(5),a=n(21);e.exports=function(e){return r(e)||o(e)||i(e)||a()}},function(e,t){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3.15 13.628A7.749 7.749 0 0 0 10 17.75a7.74 7.74 0 0 0 6.305-3.242l-2.387-2.127-2.765 2.244-4.389-4.496-3.614 3.5zm-.787-2.303l4.446-4.371 4.52 4.63 2.534-2.057 3.533 2.797c.23-.734.354-1.514.354-2.324a7.75 7.75 0 1 0-15.387 1.325zM10 20C4.477 20 0 15.523 0 10S4.477 0 10 0s10 4.477 10 10-4.477 10-10 10z"></path></svg>'},function(e,t){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.043 8.265l3.183-3.183h-2.924L4.75 10.636v2.923l4.15-4.15v2.351l-2.158 2.159H8.9v2.137H4.7c-1.215 0-2.2-.936-2.2-2.09v-8.93c0-1.154.985-2.09 2.2-2.09h10.663l.033-.033.034.034c1.178.04 2.12.96 2.12 2.089v3.23H15.3V5.359l-2.906 2.906h-2.35zM7.951 5.082H4.75v3.201l3.201-3.2zm5.099 7.
2078v3.04h4.15v-3.04h-4.15zm-1.1-2.137h6.35c.635 0 1.15.489 1.15 1.092v5.13c0 .603-.515 1.092-1.15 1.092h-6.35c-.635 0-1.15-.489-1.15-1.092v-5.13c0-.603.515-1.092 1.15-1.092z"></path></svg>'},function(e,t){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.8 10.592v2.043h2.35v2.138H15.8v2.232h-2.25v-2.232h-2.4v-2.138h2.4v-2.28h2.25v.237h1.15-1.15zM1.9 8.455v-3.42c0-1.154.985-2.09 2.2-2.09h4.2v2.137H4.15v3.373H1.9zm0 2.137h2.25v3.325H8.3v2.138H4.1c-1.215 0-2.2-.936-2.2-2.09v-3.373zm15.05-2.137H14.7V5.082h-4.15V2.945h4.2c1.215 0 2.2.936 2.2 2.09v3.42z"></path></svg>'},function(e,t){e.exports='<svg width="17" height="10" viewBox="0 0 17 10" xmlns="http://www.w3.org/2000/svg"><path d="M13.568 5.925H4.056l1.703 1.703a1.125 1.125 0 0 1-1.59 1.591L.962 6.014A1.069 1.069 0 0 1 .588 4.26L4.38.469a1.069 1.069 0 0 1 1.512 1.511L4.084 3.787h9.606l-1.85-1.85a1.069 1.069 0 1 1 1.512-1.51l3.792 3.791a1.069 1.069 0 0 1-.475 1.788L13.514 9.16a1.125 1.125 0 0 1-1.59-1.591l1.644-1.644z"></path></svg>'},function(e,t){e.exports='<svg width="17" height="15" viewBox="0 0 336 276" xmlns="http://www.w3.org/2000/svg"><path d="M291 150.242V79c0-18.778-15.222-34-34-34H79c-18.778 0-34 15.222-34 34v42.264l67.179-44.192 80.398 71.614 56.686-29.14L291 150.242zm-.345 51.622l-42.3-30.246-56.3 29.884-80.773-66.925L45 174.187V197c0 18.778 15.222 34 34 34h178c17.126 0 31.295-12.663 33.655-29.136zM79 0h178c43.63 0 79 35.37 79 79v118c0 43.63-35.37 79-79 79H79c-43.63 0-79-35.37-79-79V79C0 35.37 35.37 0 79 0z"></path></svg>'},function(e,t,n){var r=n(22),o=n(23),i=n(5),a=n(24);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()}},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(e,t,n,r){var o=t&&t.prototype instanceof u?t:u,i=Object.create(o.prototype),a=new k(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=b(a,n);if(s){if(s===c)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=l(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===c)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var c={};function u(){}function d(){}function f(){}var p={};p[o]=function(){return this};var h=Object.getPrototypeOf,m=h&&h(h(x([])));m&&m!==t&&n.call(m,o)&&(p=m);var v=f.prototype=u.prototype=Object.create(p);function g(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function y(e,t){var r;this._invoke=function(o,i){function a(){return new t((function(r,a){!function r(o,i,a,s){var c=l(e[o],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function b(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,b(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}
vendor: 4,187 bytes, line 2
2var r=l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,c;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function x(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:C}}function C(){return{value:void 0,done:!0}}return d.prototype=v.constructor=f,f.constructor=d,f[a]=d.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},g(y.prototype),y.prototype[i]=function(){return this},e.AsyncIterator=y,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new y(s(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(v),v[a]="Generator",v[o]=function(){return this},v.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=x,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,c):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;w(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){var r=n(16),o=n(17);
vendor: 5,181 bytes, line 2
2"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]);var i=(r(o,{insert:"head",singleton:!1}),o.locals?o.locals:{});e.exports=i},function(e,t,n){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function l(e,t){for(var n={},r=[],o=0;o<e.length;o++){var i=e[o],l=t.base?i[0]+t.base:i[0],c=n[l]||0,u="".concat(l," ").concat(c);n[l]=c+1;var d=s(u),f={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?(a[d].references++,a[d].updater(f)):a.push({identifier:u,updater:v(f,t),references:1}),r.push(u)}return r}function c(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var u,d=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function f(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=d(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,m=0;function v(e,t){var n,r,o;if(t.singleton){var i=m++;n=h||(h=c(t)),r=f.bind(null,n,i,!1),o=f.bind(null,n,i,!0)}else n=c(t),r=p.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=s(n[r]);a[o].references--}for(var i=l(e,t),c=0;c<n.length;c++){var u=s(n[c]);0===a[u].references&&(a[u].updater(),a.splice(u,1))}n=i}}}},function(e,t,n){(t=n(18)(!1)).push([e.i,'.image-tool {\n --bg-color: #cdd1e0;\n --front-color: #388ae5;\n --border-color: #e8e8eb;\n}\n\n .image-tool__image {\n border-radius: 3px;\n overflow: hidden;\n margin-bottom: 10px;\n }\n\n .image-tool__image-picture {\n max-width: 100%;\n vertical-align: bottom;\n display: block;\n }\n\n .image-tool__image-preloader {\n width: 50px;\n height: 50px;\n border-radius: 50%;\n background-size: cover;\n margin: auto;\n position: relative;\n background-color: var(--bg-color);\n background-position: center center;\n }\n\n .image-tool__image-preloader::after {\n content: "";\n position: absolute;\n z-index: 3;\n width: 60px;\n height: 60px;\n border-radius: 50%;\n border: 2px solid var(--bg-color);\n border-top-color: var(--front-color);\n left: 50%;\n top: 50%;\n margin-top: -30px;\n margin-left: -30px;\n animation: image-preloader-spin 2s infinite linear;\n box-sizing: border-box;\n }\n\n .image-tool__caption[contentEditable="true"][data-placeholder]::before {\n position: absolute !important;\n content: attr(data-placeholder);\n color: #707684;\n font-weight: normal;\n display: none;\n }\n\n .image-tool__caption[contentEditable="true"][data-placeholder]:empty::before {\n display: block;\n }\n\n .image-tool__caption[contentEditable="true"][data-placeholder]:empty:focus::before {\n display: none;\n }\n\n .image-tool--empty .image-tool__image {\n display: none;\n }\n\n .image-tool--empty .image-tool__caption, .image-tool--loading .image-tool__caption {\n display: none;\n }\n\n .image-tool--filled .cdx-button {\n display: none;\n }\n\n .image-tool--filled .image-tool__image-preloader {\n display: none;\n }\n\n .image-tool--loading .image-tool__image {\n min-height: 200px;\n display: flex;\n border: 1px solid var(--border-color);\n background-color: #fff;\n }\n\n .image-tool--loading .image-tool__image-picture {\n display: none;\n }\n\n .image-tool--loading .cdx-button {\n display: none;\n }\n\n /**\n * Tunes\n * ----------------\n */\n\n .image-tool--withBorder .image-tool__image {\n border: 1px solid var(--border-color);\n }
2\n\n .image-tool--withBackground .image-tool__image {\n padding: 15px;\n background: var(--bg-color);\n }\n\n .image-tool--withBackground .image-tool__image-picture {\n max-width: 60%;\n margin: 0 auto;\n }\n\n .image-tool--stretched .image-tool__image-picture {\n width: 100%;\n }\n\n@keyframes image-preloader-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n',""]),e.exports=t},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r,o,i=e[1]||"",a=e[3];if(!a)return i;if(t&&"function"==typeof btoa){var s=(n=a,r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),"/*# ".concat(o," */")),l=a.sources.map((function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")}));return[i].concat(l).concat([s]).join("\n")}return[i].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);r&&o[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},function(e,t,n){var r=n(4);e.exports=function(e){if(Array.isArray(e))return r(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return P}));var r=n(3),o=n.n(r),i=n(6),a=n.n(i),s=n(1),l=n.n(s),c=n(0),u=n.n(c),d=(n(15),n(7)),f=n.n(d),p=n(8),h=n.n(p),m=function(){function e(t){var n=t.api,r=t.config,o=t.onSelectFile,i=t.readOnly;l()(this,e),this.api=n,this.config=r,this.onSelectFile=o,this.readOnly=i,this.nodes={wrapper:v("div",[this.CSS.baseClass,this.CSS.wrapper]),imageContainer:v("div",[this.CSS.imageContainer]),fileButton:this.createFileButton(),imageEl:void 0,imagePreloader:v("div",this.CSS.imagePreloader),caption:v("div",[this.CSS.input,this.CSS.caption],{contentEditable:!this.readOnly})},this.nodes.caption.dataset.placeholder=this.config.captionPlaceholder,this.nodes.imageContainer.appendChild(this.nodes.imagePreloader),this.nodes.wrapper.appendChild(this.nodes.imageContainer),this.nodes.wrapper.appendChild(this.nodes.caption),this.nodes.wrapper.appendChild(this.nodes.fileButton)}return u()(e,[{key:"render",value:function(t){return t.file&&0!==Object.keys(t.file).length?this.toggleStatus(e.status.UPLOADING):this.toggleStatus(e.status.EMPTY),this.nodes.wrapper}},{key:"createFileButton",value:function(){var e=this,t=v("div",[this.CSS.button]);return t.innerHTML=this.config.buttonContent||"".concat(h.a," ").concat(this.api.i18n.t("Select an Image")),t.addEventListener("click",(function(){e.onSelectFile()})),t}},{key:"showPreloader",value:function(t){this.nodes.imagePreloader.style.backgroundImage="url(".concat(t,")"),this.toggleStatus(e.status.UPLOADING)}},{key:"hidePreloader",value:function(){this.nodes.imagePreloader.style.backgroundImage="",this.toggleStatus(e.status.EMPTY)}},{key:"fillImage",value:function(t){var n=this,r=/\.mp4$/.test(t)?"VIDEO":"IMG",o={src:t},i="load";"VIDEO"===r&&(o.autoplay=!0,o.loop=!0,o.muted=!0,o.playsinline=!0,i="loadeddata"),this.nodes.imageEl=v(r,this.CSS.imageEl,o),this.nodes.imageEl.addEventListener(i,(function(){n.toggleStatus(e.status.FILLED),n.nodes.imagePreloader&&(n.nodes.imagePreloader.style.backgroundImage="")})),this.nodes.imageContainer.appendChild(this.nodes.imageEl)}},{key:"fillCaption",value:function(e){this.nodes.caption&&(this.nodes.caption.innerHTML=e)}},{key:"toggleStatus",value:function(t){for(var n in e.status)Object.prototype.hasOwnProperty.call(e.status,n)&&this.nodes.wrapper.classList.toggle("".concat(this.CSS.wrapper,"--").concat(e.status[n]),t===e.status[n])}},{key:"applyTune",value:function(e,t){this.nodes.wrapper.classList.toggle("".concat(this.CSS.wrapper,"--").concat(e),t)}},{key:"CSS",get:function(){return{baseClass:this.api.styles.block,loading:this.api.styles.loader,input:this.api.styles.input,button:this.api.styles.button,wrapper:"image-tool",imageContainer:"image-tool__image",imagePreloader:"image-tool__image-preloader",imageEl:"image-tool__image-picture",caption:"image-tool__caption"}}}],[{key:"status",get:function(){return{EMPTY:"empty",UPLOADING:"loading",FILLED:"filled"}}}]),e}(),v=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=document.createElement(e);for(var i in Array.isArray(n)?(t=o.classList).add.apply(t,f()(n)):n&&o.classList.add(n),r)o[i]=r[i];return o},g=n(9),y=n.n(g),b=n(10),_=n.n(b),w=n(11),k=n.n(w),x=function(){function e(t){var n=t.api,r=t.actions,o=t.onChange;l()(this,e),this.api=n,this.actions=r,this.onChange=o,this.buttons=[]}return u()(e,[{key:"render",value:function(t){var n=this,r=v("div",this.CSS.wrapper);
2return this.buttons=[],e.tunes.concat(this.actions).forEach((function(e){var o=n.api.i18n.t(e.title),i=v("div",[n.CSS.buttonBase,n.CSS.button],{innerHTML:e.icon,title:o});i.addEventListener("click",(function(){n.tuneClicked(e.name,e.action)})),i.dataset.tune=e.name,i.classList.toggle(n.CSS.buttonActive,t[e.name]),n.buttons.push(i),n.api.tooltip.onHover(i,o,{placement:"top"}),r.appendChild(i)})),r}},{key:"tuneClicked",value:function(e,t){if("function"==typeof t&&!t(e))return!1;var n=this.buttons.find((function(t){return t.dataset.tune===e}));n.classList.toggle(this.CSS.buttonActive,!n.classList.contains(this.CSS.buttonActive)),this.onChange(e)}},{key:"CSS",get:function(){return{wrapper:"",buttonBase:this.api.styles.settingsButton,button:"image-tool__tune",buttonActive:this.api.styles.settingsButtonActive}}}],[{key:"tunes",get:function(){return[{name:"withBorder",icon:_.a,title:"With border"},{name:"stretched",icon:k.a,title:"Stretch image"},{name:"withBackground",icon:y.a,title:"With background"}]}}]),e}(),C=n(12),S=n.n(C),E=n(13),T=n.n(E),O=n(2),I=n.n(O),A=function(){function e(t){var n=t.config,r=t.onUpload,o=t.onError;l()(this,e),this.config=n,this.onUpload=r,this.onError=o}return u()(e,[{key:"uploadSelectedFile",value:function(e){var t=this,n=e.onPreview,r=function(e){var t=new FileReader;t.readAsDataURL(e),t.onload=function(e){n(e.target.result)}};(this.config.uploader&&"function"==typeof this.config.uploader.uploadByFile?I.a.selectFiles({accept:this.config.types}).then((function(e){r(e[0]);var n=t.config.uploader.uploadByFile(e[0]);return D(n)||console.warn("Custom uploader method uploadByFile should return a Promise"),n})):I.a.transport({url:this.config.endpoints.byFile,data:this.config.additionalRequestData,accept:this.config.types,headers:this.config.additionalRequestHeaders,beforeSend:function(e){r(e[0])},fieldName:this.config.field}).then((function(e){return e.body}))).then((function(e){t.onUpload(e)})).catch((function(e){t.onError(e)}))}},{key:"uploadByUrl",value:function(e){var t,n=this;this.config.uploader&&"function"==typeof this.config.uploader.uploadByUrl?D(t=this.config.uploader.uploadByUrl(e))||console.warn("Custom uploader method uploadByUrl should return a Promise"):t=I.a.post({url:this.config.endpoints.byUrl,data:Object.assign({url:e},this.config.additionalRequestData),type:I.a.contentType.JSON,headers:this.config.additionalRequestHeaders}).then((function(e){return e.body})),t.then((function(e){n.onUpload(e)})).catch((function(e){n.onError(e)}))}},{key:"uploadByFile",value:function(e,t){var n,r=this,o=t.onPreview,i=new FileReader;if(i.readAsDataURL(e),i.onload=function(e){o(e.target.result)},this.config.uploader&&"function"==typeof this.config.uploader.uploadByFile)D(n=this.config.uploader.uploadByFile(e))||console.warn("Custom uploader method uploadByFile should return a Promise");else{var a=new FormData;a.append(this.config.field,e),this.config.additionalRequestData&&Object.keys(this.config.additionalRequestData).length&&Object.entries(this.config.additionalRequestData).forEach((function(e){var t=T()(e,2),n=t[0],r=t[1];a.append(n,r)})),n=I.a.post({url:this.config.endpoints.byFile,data:a,type:I.a.contentType.JSON,headers:this.config.additionalRequestHeaders}).then((function(e){return e.body}))}n.then((function(e){r.onUpload(e)})).catch((function(e){r.onError(e)}))}}]),e}();function D(e){return e&&"function"==typeof e.then}var P=function(){function e(t){var n=this,r=t.data,o=t.config,i=t.api,a=t.readOnly;l()(this,e),this.api=i,this.readOnly=a,this.config={endpoints:o.endpoints||"",additionalRequestData:o.additionalRequestData||{},additionalRequestHeaders:o.additionalRequestHeaders||{},field:o.field||"image",types:o.types||"image/*",captionPlaceholder:this.api.i18n.t(o.captionPlaceholder||"Caption"),buttonContent:o.buttonContent||"",uploader:o.uploader||void 0,actions:o.actions||[]},this.uploader=new A({config:this.config,onUpload:function(e){return n.onUpload(e)},onError:function(e){return n.uploadingFailed(e)}}),this.ui=new m({api:i,config:this.config,onSelectFile:function(){n.uploader.uploadSelectedFile({onPreview:function(e){n.ui.showPreloader(e)}})},readOnly:a}),this.tunes=new x({api:i,actions:this.config.actions,onChange:function(e){return n.tuneToggled(e)}}),this._data={},this.data=r}var t;return u()(e,null,[{key:"isReadOnlySupported",get:function(){return!0}},{key:"toolbox",get:function(){return{icon:S.a,title:"Image"}}}
vendor: 4,185 bytes, line 2
2]),u()(e,[{key:"render",value:function(){return this.ui.render(this.data)}},{key:"save",value:function(){var e=this.ui.nodes.caption;return this._data.caption=e.innerHTML,this.data}},{key:"renderSettings",value:function(){return this.tunes.render(this.data)}},{key:"appendCallback",value:function(){this.ui.nodes.fileButton.click()}},{key:"onPaste",value:(t=a()(o.a.mark((function e(t){var n,r,i,a,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.t0=t.type,e.next="tag"===e.t0?3:"pattern"===e.t0?15:"file"===e.t0?18:21;break;case 3:if(n=t.detail.data,!/^blob:/.test(n.src)){e.next=13;break}return e.next=7,fetch(n.src);case 7:return r=e.sent,e.next=10,r.blob();case 10:return i=e.sent,this.uploadFile(i),e.abrupt("break",21);case 13:return this.uploadUrl(n.src),e.abrupt("break",21);case 15:return a=t.detail.data,this.uploadUrl(a),e.abrupt("break",21);case 18:return s=t.detail.file,this.uploadFile(s),e.abrupt("break",21);case 21:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"onUpload",value:function(e){e.success&&e.file?this.image=e.file:this.uploadingFailed("incorrect response: "+JSON.stringify(e))}},{key:"uploadingFailed",value:function(e){console.log("Image Tool: uploading failed because of",e),this.api.notifier.show({message:this.api.i18n.t("Couldnât upload image. Please try another."),style:"error"}),this.ui.hidePreloader()}},{key:"tuneToggled",value:function(e){this.setTune(e,!this._data[e])}},{key:"setTune",value:function(e,t){var n=this;this._data[e]=t,this.ui.applyTune(e,t),"stretched"===e&&Promise.resolve().then((function(){var e=n.api.blocks.getCurrentBlockIndex();n.api.blocks.stretchBlock(e,t)})).catch((function(e){console.error(e)}))}},{key:"uploadFile",value:function(e){var t=this;this.uploader.uploadByFile(e,{onPreview:function(e){t.ui.showPreloader(e)}})}},{key:"uploadUrl",value:function(e){this.ui.showPreloader(e),this.uploader.uploadByUrl(e)}},{key:"data",set:function(e){var t=this;this.image=e.file,this._data.caption=e.caption||"",this.ui.fillCaption(this._data.caption),x.tunes.forEach((function(n){var r=n.name,o=void 0!==e[r]&&(!0===e[r]||"true"===e[r]);t.setTune(r,o)}))},get:function(){return this._data}},{key:"image",set:function(e){this._data.file=e||{},e&&e.url&&this.ui.fillImage(e.url)}}],[{key:"pasteConfig",get:function(){return{tags:["img"],patterns:{image:/https?:\/\/\S+\.(gif|jpe?g|tiff|png)$/i},files:{mimeTypes:["image/*"]}}}}]),e}()}]).default},7831:e=>{window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=8)}([function(e,t,n){e.exports=n(13)},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t,n){var r=n(9),o=n(10),i=n(11),a=n(12);e.exports=function(e){return r(e)||o(e)||i(e)||a()}},function(e,t){function n(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);
vendor: 5,275 bytes, line 2
2function s(e){n(a,o,i,s,l,"next",e)}function l(e){n(a,o,i,s,l,"throw",e)}s(void 0)}))}}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){e.exports='<svg width="13" height="14" xmlns="http://www.w3.org/2000/svg"><path d="M8.567 13.629c.728.464 1.581.65 2.41.558l-.873.873A3.722 3.722 0 1 1 4.84 9.794L6.694 7.94a3.722 3.722 0 0 1 5.256-.008L10.484 9.4a5.209 5.209 0 0 1-.017.016 1.625 1.625 0 0 0-2.29.009l-1.854 1.854a1.626 1.626 0 0 0 2.244 2.35zm2.766-7.358a3.722 3.722 0 0 0-2.41-.558l.873-.873a3.722 3.722 0 1 1 5.264 5.266l-1.854 1.854a3.722 3.722 0 0 1-5.256.008L9.416 10.5a5.2 5.2 0 0 1 .017-.016 1.625 1.625 0 0 0 2.29-.009l1.854-1.854a1.626 1.626 0 0 0-2.244-2.35z" transform="translate(-3.667 -2.7)"></path></svg>'},function(e,t,n){window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";(function(e){var r=n(2),o=setTimeout;function i(){}function a(e){if(!(this instanceof a))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],f(e,this)}function s(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,a._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value)}catch(e){return void c(t.promise,e)}l(t.promise,r)}else(1===e._state?l:c)(t.promise,e._value)}))):e._deferreds.push(t)}function l(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof a)return e._state=3,e._value=t,void u(e);if("function"==typeof n)return void f((r=n,o=t,function(){r.apply(o,arguments)}),e)}e._state=1,e._value=t,u(e)}catch(t){c(e,t)}var r,o}function c(e,t){e._state=2,e._value=t,u(e)}function u(e){2===e._state&&0===e._deferreds.length&&a._immediateFn((function(){e._handled||a._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t<n;t++)s(e,e._deferreds[t]);e._deferreds=null}function d(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function f(e,t){var n=!1;try{e((function(e){n||(n=!0,l(t,e))}),(function(e){n||(n=!0,c(t,e))}))}catch(e){if(n)return;n=!0,c(t,e)}}a.prototype.catch=function(e){return this.then(null,e)},a.prototype.then=function(e,t){var n=new this.constructor(i);return s(this,new d(e,t,n)),n},a.prototype.finally=r.a,a.all=function(e){return new a((function(t,n){if(!e||void 0===e.length)throw new TypeError("Promise.all accepts an array");var r=Array.prototype.slice.call(e);if(0===r.length)return t([]);var o=r.length;function i(e,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,(function(t){i(e,t)}),n)}r[e]=a,0==--o&&t(r)}catch(e){n(e)}}for(var a=0;a<r.length;a++)i(a,r[a])}))},a.resolve=function(e){return e&&"object"==typeof e&&e.constructor===a?e:new a((function(t){t(e)}))},a.reject=function(e){return new a((function(t,n){n(e)}))},a.race=function(e){return new a((function(t,n){for(var r=0,o=e.length;r<o;r++)e[r].then(t,n)}))},a._immediateFn="function"==typeof e&&function(t){e(t)}||function(e){o(e,0)},a._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},t.a=a}).call(this,n(5).setImmediate)},function(e,t,n){"use strict";t.a=function(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n(4);var o,i,a,s,l,c,u=n(8),d=(i=function(e){return new Promise((function(t,n){e=s(e),e=l(e);var r=window.XMLHttpRequest?new window.XMLHttpRequest:new window.ActiveXObject("Microsoft.XMLHTTP");r.open(e.method,e.url),r.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(e.headers).forEac
vendor: 6,819 bytes, line 2
2h((function(t){var n=e.headers[t];r.setRequestHeader(t,n)}));var o=e.ratio;r.upload.addEventListener("progress",(function(t){var n=Math.round(t.loaded/t.total*100),r=Math.ceil(n*o/100);e.progress(r)}),!1),r.addEventListener("progress",(function(t){var n=Math.round(t.loaded/t.total*100),r=Math.ceil(n*(100-o)/100)+o;e.progress(r)}),!1),r.onreadystatechange=function(){if(4===r.readyState){var e=r.response;try{e=JSON.parse(e)}catch(e){}var o=u.parseHeaders(r.getAllResponseHeaders()),i={body:e,code:r.status,headers:o};200===r.status?t(i):n(i)}},r.send(e.data)}))},a=function(e){return e.method="POST",i(e)},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.url&&"string"!=typeof e.url)throw new Error("Url must be a string");if(e.url=e.url||"",e.method&&"string"!=typeof e.method)throw new Error("`method` must be a string or null");if(e.method=e.method?e.method.toUpperCase():"GET",e.headers&&"object"!==r(e.headers))throw new Error("`headers` must be an object or null");if(e.headers=e.headers||{},e.type&&("string"!=typeof e.type||!Object.values(o).includes(e.type)))throw new Error("`type` must be taken from module's «contentType» library");if(e.progress&&"function"!=typeof e.progress)throw new Error("`progress` must be a function or null");if(e.progress=e.progress||function(e){},e.beforeSend=e.beforeSend||function(e){},e.ratio&&"number"!=typeof e.ratio)throw new Error("`ratio` must be a number");if(e.ratio<0||e.ratio>100)throw new Error("`ratio` must be in a 0-100 interval");if(e.ratio=e.ratio||90,e.accept&&"string"!=typeof e.accept)throw new Error("`accept` must be a string with a list of allowed mime-types");if(e.accept=e.accept||"*/*",e.multiple&&"boolean"!=typeof e.multiple)throw new Error("`multiple` must be a true or false");if(e.multiple=e.multiple||!1,e.fieldName&&"string"!=typeof e.fieldName)throw new Error("`fieldName` must be a string");return e.fieldName=e.fieldName||"files",e},l=function(e){switch(e.method){case"GET":var t=c(e.data,o.URLENCODED);delete e.data,e.url=/\?/.test(e.url)?e.url+"&"+t:e.url+"?"+t;break;case"POST":case"PUT":case"DELETE":case"UPDATE":var n=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).type||o.JSON}(e);(u.isFormData(e.data)||u.isFormElement(e.data))&&(n=o.FORM),e.data=c(e.data,n),n!==d.contentType.FORM&&(e.headers["content-type"]=n)}return e},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};switch(arguments.length>1?arguments[1]:void 0){case o.URLENCODED:return u.urlEncode(e);case o.JSON:return u.jsonEncode(e);case o.FORM:return u.formEncode(e);default:return e}},{contentType:o={URLENCODED:"application/x-www-form-urlencoded; charset=utf-8",FORM:"multipart/form-data",JSON:"application/json; charset=utf-8"},request:i,get:function(e){return e.method="GET",i(e)},post:a,transport:function(e){return e=s(e),u.selectFiles(e).then((function(t){for(var n=new FormData,r=0;r<t.length;r++)n.append(e.fieldName,t[r],t[r].name);return u.isObject(e.data)&&Object.keys(e.data).forEach((function(t){var r=e.data[t];n.append(t,r)})),e.beforeSend&&e.beforeSend(t),e.data=n,a(e)}))},selectFiles:function(e){return delete(e=s(e)).beforeSend,u.selectFiles(e)}});e.exports=d},function(e,t,n){"use strict";n.r(t);var r=n(1);window.Promise=window.Promise||r.a},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(6),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(0))},function(e,t,n){(function(e,t){!function(e){"use strict";if(!e.setImmediate){var n,r,o,i,a,s=1,l={},c=!1,u=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick((function(){p(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(i="setImmediate$"+Math.random()+"$",a=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&p(+t.data.slice(i.length))},e.addEventListener?e.addEventListener("message",a,!1):e.attachEvent("onmessage",a),n=function(t){e.postMessage(i+t,"*")}):e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){p(e.data)},n=function(e){o.port2.postMessage(e)}):u&&"onreadystatechange"in u.createElement("script")?(r=u.documentElement,n=function(e){var t=u.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):n=function(e){setTimeout(p,0,e)},d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var o={callback:e,args:t};return l[s]=o,n(s),s++},d.clearImmediate=f}function f(e){delete l[e]}function p(e){if(c)setTimeout(p,0,e);else{var t=l[e];if(t){c=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{f(e),c=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,n(0),n(7))},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,c=[],u=!1,d=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!u){var e=s(f);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);
2if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new h(e,t)),1!==c.length||u||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var o=n(9);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t;return(t=[{key:"urlEncode",value:function(e){return o(e)}},{key:"jsonEncode",value:function(e){return JSON.stringify(e)}},{key:"formEncode",value:function(e){if(this.isFormData(e))return e;if(this.isFormElement(e))return new FormData(e);if(this.isObject(e)){var t=new FormData;return Object.keys(e).forEach((function(n){var r=e[n];t.append(n,r)})),t}throw new Error("`data` must be an instance of Object, FormData or <FORM> HTMLElement")}},{key:"isObject",value:function(e){return"[object Object]"===Object.prototype.toString.call(e)}},{key:"isFormData",value:function(e){return e instanceof FormData}},{key:"isFormElement",value:function(e){return e instanceof HTMLFormElement}},{key:"selectFiles",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise((function(t,n){var r=document.createElement("INPUT");r.type="file",e.multiple&&r.setAttribute("multiple","multiple"),e.accept&&r.setAttribute("accept",e.accept),r.style.display="none",document.body.appendChild(r),r.addEventListener("change",(function(e){var n=e.target.files;t(n),document.body.removeChild(r)}),!1),r.click()}))}},{key:"parseHeaders",value:function(e){var t=e.trim().split(/[\r\n]+/),n={};return t.forEach((function(e){var t=e.split(": "),r=t.shift(),o=t.join(": ");r&&(n[r]=o)})),n}}])&&r(e,t),e}()},function(e,t){var n=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,escape).replace(/%20/g,"+")},r=function(e,t,o,i){return t=t||null,o=o||"&",i=i||null,e?function(e){for(var t=new Array,n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t}(Object.keys(e).map((function(a){var s,l,c=a;if(i&&(c=i+"["+c+"]"),"object"==typeof e[a]&&null!==e[a])s=r(e[a],null,o,c);else{t&&(l=c,c=!isNaN(parseFloat(l))&&isFinite(l)?t+Number(c):c);var u=e[a];u=(u=0===(u=!1===(u=!0===u?"1":u)?"0":u)?"0":u)||"",s=n(c)+"="+n(u)}return s}))).join(o).replace(/[!'()*]/g,""):""};e.exports=r}])},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return g}));var r=n(3),o=n.n(r),i=n(0),a=n.n(i),s=n(4),l=n.n(s),c=n(5),u=n.n(c),d=n(1),f=n.n(d),p=(n(14),n(6)),h=n.n(p),m=n(7),v=n.n(m),g=(n(18),function(){function e(t){var n=t.data,r=t.config,o=t.api,i=t.readOnly;u()(this,e),this.api=o,this.readOnly=i,this.config={endpoint:r.endpoint||""},this.nodes={wrapper:null,container:null,progress:null,input:null,inputHolder:null,linkContent:null,linkImage:null,linkTitle:null,linkDescription:null,linkText:null},this._data={link:"",meta:{}},this.data=n}var t;return f()(e,null,[{key:"isReadOnlySupported",get:function(){return!0}},{key:"toolbox",get:function(){return{icon:h.a,title:"Link"}}},{key:"enableLineBreaks",get:function(){return!0}}]),f()(e,[{key:"render",value:function(){return this.nodes.wrapper=this.make("div",this.CSS.baseClass),this.nodes.container=this.make("div",this.CSS.container),this.nodes.inputHolder=this.makeInputHolder(),this.nodes.linkContent=this.prepareLinkPreview(),Object.keys(this.data.meta).length?(this.nodes.container.appendChild(this.nodes.linkContent),this.showLinkPreview(this.data.meta)):this.nodes.container.appendChild(this.nodes.inputHolder),this.nodes.wrapper.appendChild(this.nodes.container),this.nodes.wrapper}},{key:"save",value:function(){return this.data}},{key:"validate",value:function(){return""!==this.data.link.trim()}},{key:"makeInputHolder",value:function(){var e=this,t=this.make("div",this.CSS.inputHolder);return this.nodes.progress=this.make("label",this.CSS.progress),this.nodes.input=this.make("div",[this.CSS.input,this.CSS.inputEl],{contentEditable:!this.readOnly}),this.nodes.input.dataset.placeholder=this.api.i18n.t("Link"),this.readOnly||(this.nodes.input.addEventListener("paste",(function(t){e.startFetching(t)})),this.nodes.input.addEventListener("keydown",(function(t){var n=t.ctrlKey||t.metaKey;switch(t.keyCode){case 13:t.preventDefault(),t.stopPropagation(),e.startFetching(t);break;case 65:n&&e.selectLinkUrl(t)}}))),t.appendChild(this.nodes.progress),t.appendChild(this.nodes.input),t}},{key:"startFetching",value:function(e){var t=this.nodes.input.textContent;"paste"===e.type&&(t=(e.clipboardData||window.clipboardData).getData("text")),this.removeErrorStyle(),this.fetchLinkData(t)}},{key:"removeErrorStyle",value:function(){this.nodes.inputHolder.classList.remove(this.CSS.inputError),this.nodes.inputHolder.insertBefore(this.nodes.progress,this.nodes.input)}},{key:"selectLinkUrl",value:function(e){e.preventDefault(),e.stopPropagation();var t=window.getSelection(),n=new Range,r=t.anchorNode.parentNode.closest(".".concat(this.CSS.inputHolder)).querySelector(".".concat(this.CSS.inputEl));n.selectNodeContents(r),t.removeAllRanges(),t.addRange(n)}},{key:"prepareLinkPreview",value:function(){var e=this.make("a",this.CSS.linkContent,{target:"_blank",rel:"nofollow noindex noreferrer"});return this.nodes.linkImage=this.make("div",this.CSS.linkImage),this.nodes.linkTitle=this.make("div",this.CSS.linkTitle),this.nodes.linkDescription=this.make("p",this.CSS.linkDescription),this.nodes.linkText=this.make("span",this.CSS.linkText),e}},{key:"showLinkPreview",value:function(e){var t=e.image,n=e.title,r=e.description;this.nodes.container.appendChild(this.nodes.linkContent),t&&t.url&&(this.nodes.linkImage.style.backgroundImage="url("+t.url+")",this.nodes.linkContent.appendChild(this.nodes.linkImage)),n&&(this.nodes.linkTitle.textContent=n,this.nodes.linkContent.appendChild(this.nodes.linkTitle)),r&&(this.nodes.linkDescription.textContent=r,this.nodes.linkContent.appendChild(this.nodes.linkDescription)),this.nodes.linkContent.classList.add(this.CSS.linkContentRendered),this.nodes.linkContent.setAttribute("href",this.data.link),this.nodes.linkContent.appendChild(this.nodes.linkText);try{this.nodes.linkText.textContent=new URL(this.data.link).hostname}catch(e){this.nodes.linkText.textContent=this.data.link}}},{key:"showProgress",value:function(){this.nodes.progress.classList.add(this.CSS.progressLoading)}},{key:"hideProgress",value:function(){var e=this;return new Promise((function(t){e.nodes.progress.classList.remove(e.CSS.progressLoading),e.nodes.progress.classList.add(e.CSS.progressLoaded),setTimeout(t,500)}))}},{key:"applyErrorStyle",value:function(){this.nodes.inputHolder.classList.add(this.CSS.inputError),this.nodes.progress.remove()}},{key:"fetchLinkData",value:(t=l()(a.a.mark((function e(t){var n,r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.showProgress(),this.data={link:t},e.prev=2,e.next=5,v.a.get({url:this.config.endpoint,data:{url:t}});case 5:n=e.sent,r=n.body,this.onFetch(r),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(2),this.fetchingFailed(this.api.i18n.t("Couldn't fetch the link data"));case 13:case"end":return e.stop()}}
2),e,this,[[2,10]])}))),function(e){return t.apply(this,arguments)})},{key:"onFetch",value:function(e){var t=this;if(e&&e.success){var n=e.meta;this.data={meta:n},n?this.hideProgress().then((function(){t.nodes.inputHolder.remove(),t.showLinkPreview(n)})):this.fetchingFailed(this.api.i18n.t("Wrong response format from the server"))}else this.fetchingFailed(this.api.i18n.t("Couldn't get this link data, try the other one"))}},{key:"fetchingFailed",value:function(e){this.api.notifier.show({message:e,style:"error"}),this.applyErrorStyle()}},{key:"make",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=document.createElement(e);for(var a in Array.isArray(n)?(t=i.classList).add.apply(t,o()(n)):n&&i.classList.add(n),r)i[a]=r[a];return i}},{key:"data",set:function(e){this._data=Object.assign({},{link:e.link||this._data.link,meta:e.meta||this._data.meta})},get:function(){return this._data}},{key:"CSS",get:function(){return{baseClass:this.api.styles.block,input:this.api.styles.input,container:"link-tool",inputEl:"link-tool__input",inputHolder:"link-tool__input-holder",inputError:"link-tool__input-holder--error",linkContent:"link-tool__content",linkContentRendered:"link-tool__content--rendered",linkImage:"link-tool__image",linkTitle:"link-tool__title",linkDescription:"link-tool__description",linkText:"link-tool__anchor",progress:"link-tool__progress",progressLoading:"link-tool__progress--loading",progressLoaded:"link-tool__progress--loaded"}}}]),e}())},function(e,t,n){var r=n(2);e.exports=function(e){if(Array.isArray(e))return r(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t,n){var r=n(2);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(e,t,n,r){var o=t&&t.prototype instanceof u?t:u,i=Object.create(o.prototype),a=new k(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=b(a,n);if(s){if(s===c)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=l(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===c)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,a),i}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var c={};function u(){}function d(){}function f(){}var p={};p[o]=function(){return this};var h=Object.getPrototypeOf,m=h&&h(h(x([])));m&&m!==t&&n.call(m,o)&&(p=m);var v=f.prototype=u.prototype=Object.create(p);function g(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function y(e,t){var r;this._invoke=function(o,i){function a(){return new t((function(r,a){!function r(o,i,a,s){var c=l(e[o],e,i);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function b(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&
vendor: 4,351 bytes, line 2
2(t.method="return",t.arg=void 0,b(e,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var r=l(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,c;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,c):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function x(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:C}}function C(){return{value:void 0,done:!0}}return d.prototype=v.constructor=f,f.constructor=d,f[a]=d.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,a in e||(e[a]="GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},g(y.prototype),y.prototype[i]=function(){return this},e.AsyncIterator=y,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new y(s(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},g(v),v[a]="Generator",v[o]=function(){return this},v.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=x,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,c):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),c},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),c}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;w(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),c}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){var r=n(15),o=n(16);
vendor: 7,487 bytes, line 2
2"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]),r(o,{insert:"head",singleton:!1}),e.exports=o.locals||{}},function(e,t,n){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function l(e,t){for(var n={},r=[],o=0;o<e.length;o++){var i=e[o],l=t.base?i[0]+t.base:i[0],c=n[l]||0,u="".concat(l," ").concat(c);n[l]=c+1;var d=s(u),f={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?(a[d].references++,a[d].updater(f)):a.push({identifier:u,updater:v(f,t),references:1}),r.push(u)}return r}function c(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var u,d=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function f(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=d(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,m=0;function v(e,t){var n,r,o;if(t.singleton){var i=m++;n=h||(h=c(t)),r=f.bind(null,n,i,!1),o=f.bind(null,n,i,!0)}else n=c(t),r=p.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=s(n[r]);a[o].references--}for(var i=l(e,t),c=0;c<n.length;c++){var u=s(n[c]);0===a[u].references&&(a[u].updater(),a.splice(u,1))}n=i}}}},function(e,t,n){(t=n(17)(!1)).push([e.i,".link-tool {\n position: relative;\n}\n\n .link-tool__input {\n padding-left: 38px;\n background-image: url(\"data:image/svg+xml,%3Csvg width='13' height='14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.567 13.629c.728.464 1.581.65 2.41.558l-.873.873A3.722 3.722 0 1 1 4.84 9.794L6.694 7.94a3.722 3.722 0 0 1 5.256-.008L10.484 9.4a5.209 5.209 0 0 1-.017.016 1.625 1.625 0 0 0-2.29.009l-1.854 1.854a1.626 1.626 0 0 0 2.244 2.35zm2.766-7.358a3.722 3.722 0 0 0-2.41-.558l.873-.873a3.722 3.722 0 1 1 5.264 5.266l-1.854 1.854a3.722 3.722 0 0 1-5.256.008L9.416 10.5a5.2 5.2 0 0 1 .017-.016 1.625 1.625 0 0 0 2.29-.009l1.854-1.854a1.626 1.626 0 0 0-2.244-2.35z' fill='rgba(0, 0, 0, 0.6)' transform='translate(-3.667 -2.7)'/%3E%3C/svg%3E%0A\");\n background-repeat: no-repeat;\n background-position: 15px;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n\n .link-tool__input-holder {\n position: relative;\n }\n\n .link-tool__input-holder--error .link-tool__input {\n background-image: url(\"data:image/svg+xml,%3Csvg width='13' height='14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.567 13.629c.728.464 1.581.65 2.41.558l-.873.873A3.722 3.722 0 1 1 4.84 9.794L6.694 7.94a3.722 3.722 0 0 1 5.256-.008L10.484 9.4a5.209 5.209 0 0 1-.017.016 1.625 1.625 0 0 0-2.29.009l-1.854 1.854a1.626 1.626 0 0 0 2.244 2.35zm2.766-7.358a3.722 3.722 0 0 0-2.41-.558l.873-.873a3.722 3.722 0 1 1 5.264 5.266l-1.854 1.854a3.722 3.722 0 0 1-5.256.008L9.416 10.5a5.2 5.2 0 0 1 .017-.016 1.625 1.625 0 0 0 2.29-.009l1.854-1.854a1.626 1.626 0 0 0-2.244-2.35z' fill='rgb(224, 147, 147)' transform='translate(-3.667 -2.7)'/%3E%3C/svg%3E%0A\");\n background-color: #fff3f6;\n border-color: #f3e0e0;\n color: #a95a5a;\n box-shadow: inset 0 1px 3px 0 rgba(146, 62, 62, .05);\n }\n\n .link-tool__input[contentEditable=true][data-placeholder]::before{\n position: absolute;\n content: attr(data-placeholder);\n color: #707684;\n font-weight: normal;\n opacity: 0;\n }\n\n .link-tool__input[contentEditable=true][data-placeholder]:empty::before {\n opacity: 1;\n }\n\n .link-tool__input[contentEditable=true][data-placeholder]:empty:focus::before {\n opacity: 0;\n }\n\n .link-tool__progress {\n position: absolute;\n box-shadow: inset 0 1px 3px 0 rgba(102, 85, 107, 0.04);\n height: 100%;\n width: 0;\n background-color: #f4f5f7;\n z-index: -1;\n }\n\n .link-tool__progress--loading {\n -webkit-animation: progress 500ms ease-in;\n -webkit-animation-fill-mode: forwards;\n }\n\n .link-tool__progress--loaded {\n width: 100%;\n }\n\n .link-tool__content {\n display: block;\n padding: 25px;\n border-radius: 2px;\n box-shadow: 0 0 0 2px #fff;\n color: initial !important;\n text-decoration: none !important;\n }\n\n .link-tool__content::after {\n content: \"\";\n clear: both;\n display: table;\n }\n\n .link-tool__content--rendered {\n background: #fff;\n border: 1px solid rgba(201, 201, 204, 0.48);\n box-shadow: 0 1px 3px rgba(0,0,0, .1);\n border-radius: 6px;\n will-change: filter;\n animation: link-in 450ms 1 cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n\n .link-tool__content--rendered:hover {\n box-shadow: 0 0 3px rgba(0,0,0, .16);\n }\n\n .link-tool__image {\n background-position: center center;\n background-repeat: no-repeat;\n background-size: cover;\n margin: 0 0 0 30px;\n width: 65px;\n height: 65px;\n border-radius: 3px;\n float: right;\n }\n\n .link-tool__title {\n font-size: 17px;\n font-weight: 600;\n line-height: 1.5em;\n margin: 0 0 10px 0;\n }\n\n .link-tool__title + .link-tool__anchor {\n margin-top: 25px;\n }\n\n .link-tool__description {\n margin: 0 0 20px 0;\n font-size: 15px;\n line-height: 1.55em;\n display: -webkit-box;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n overflow: hidden;\n }\n\n .link-tool__anchor {\n display: block;\n font-size: 15px;\n line-height: 1em;\n color: #888 !important;\n border: 0 !important;\n padding: 0 !important;\n }\n\n@keyframes link-in {\n from {\n filter: blur(5px);\n }\n\n to {\n filter: none;\n }\n}\n\n.codex-editor--narrow .link-tool__image {\n display: none;\n}\n\n@-webkit-keyframes progress {\n 0% {\n width: 0;\n }\n 100% {\n width: 85%;\n }\n}\n",""]),e.exports=t},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r,o,i=e[1]||"",a=e[3];
vendor: 4,858 bytes, line 2
2if(!a)return i;if(t&&"function"==typeof btoa){var s=(n=a,r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),"/*# ".concat(o," */")),l=a.sources.map((function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")}));return[i].concat(l).concat([s]).join("\n")}return[i].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);r&&o[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},function(e,t,n){(function(e){!function(e){var t=function(){try{return!!Symbol.iterator}catch(e){return!1}}(),n=function(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return t&&(n[Symbol.iterator]=function(){return n}),n},r=function(e){return encodeURIComponent(e).replace(/%20/g,"+")},o=function(e){return decodeURIComponent(String(e).replace(/\+/g," "))};(function(){try{var t=e.URLSearchParams;return"a=1"===new t("?a=1").toString()&&"function"==typeof t.prototype.set}catch(e){return!1}})()||function(){var o=function(e){Object.defineProperty(this,"_entries",{writable:!0,value:{}});var t=typeof e;if("undefined"===t);else if("string"===t)""!==e&&this._fromString(e);else if(e instanceof o){var n=this;e.forEach((function(e,t){n.append(t,e)}))}else{if(null===e||"object"!==t)throw new TypeError("Unsupported input's type for URLSearchParams");if("[object Array]"===Object.prototype.toString.call(e))for(var r=0;r<e.length;r++){var i=e[r];if("[object Array]"!==Object.prototype.toString.call(i)&&2===i.length)throw new TypeError("Expected [string, any] as entry at index "+r+" of URLSearchParams's input");this.append(i[0],i[1])}else for(var a in e)e.hasOwnProperty(a)&&this.append(a,e[a])}},i=o.prototype;i.append=function(e,t){e in this._entries?this._entries[e].push(String(t)):this._entries[e]=[String(t)]},i.delete=function(e){delete this._entries[e]},i.get=function(e){return e in this._entries?this._entries[e][0]:null},i.getAll=function(e){return e in this._entries?this._entries[e].slice(0):[]},i.has=function(e){return e in this._entries},i.set=function(e,t){this._entries[e]=[String(t)]},i.forEach=function(e,t){var n;for(var r in this._entries)if(this._entries.hasOwnProperty(r)){n=this._entries[r];for(var o=0;o<n.length;o++)e.call(t,n[o],r,this)}},i.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),n(e)},i.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),n(e)},i.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),n(e)},t&&(i[Symbol.iterator]=i.entries),i.toString=function(){var e=[];return this.forEach((function(t,n){e.push(r(n)+"="+r(t))})),e.join("&")},e.URLSearchParams=o}();var i=e.URLSearchParams.prototype;"function"!=typeof i.sort&&(i.sort=function(){var e=this,t=[];this.forEach((function(n,r){t.push([r,n]),e._entries||e.delete(r)})),t.sort((function(e,t){return e[0]<t[0]?-1:e[0]>t[0]?1:0})),e._entries&&(e._entries={});for(var n=0;n<t.length;n++)this.append(t[n][0],t[n][1])}),"function"!=typeof i._fromString&&Object.defineProperty(i,"_fromString",{enumerable:!1,configurable:!1,writable:!1,value:function(e){if(this._entries)this._entries={};else{var t=[];this.forEach((function(e,n){t.push(n)}));for(var n=0;n<t.length;n++)this.delete(t[n])}var r,i=(e=e.replace(/^\?/,"")).split("&");for(n=0;n<i.length;n++)r=i[n].split("="),this.append(o(r[0]),r.length>1?o(r[1]):"")}})}(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),function(e){if(function(){try{var t=new e.URL("b","http://a");return t.pathname="c d","http://a/c%20d"===t.href&&t.searchParams}catch(e){return!1}}()||function(){var t=e.URL,n=function(t,n){"string"!=typeof t&&(t=String(t));var r,o=document;if(n&&(void 0===e.location||n!==e.location.href)){(r=(o=document.implementation.createHTMLDocument("")).createElement("base")).href=n,o.head.appendChild(r);try{if(0!==r.href.indexOf(n))throw new Error(r.href)}catch(e){throw new Error("URL unable to set base "+n+" due to "+e)}}var i=o.createElement("a");i.href=t,r&&(o.body.appendChild(i),i.href=i.href);var a=o.createElement("input");if(a.type="url",a.value=t,":"===i.protocol||!/:/.test(i.href)||!a.checkValidity()&&!n)throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:i});var s=new e.URLSearchParams(this.search),l=!0,c=!0,u=this;["append","delete","set"].forEach((function(e){var t=s[e];s[e]=function(){t.apply(s,arguments),l&&(c=!1,u.search=s.toString(),c=!0)}})),Object.defineProperty(this,"searchParams",{value:s,enumerable:!0});var d=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:!1,
vendor: 1,751 bytes, line 2
2configurable:!1,writable:!1,value:function(){this.search!==d&&(d=this.search,c&&(l=!1,this.searchParams._fromString(this.search),l=!0))}})},r=n.prototype;["hash","host","hostname","port","protocol"].forEach((function(e){!function(e){Object.defineProperty(r,e,{get:function(){return this._anchorElement[e]},set:function(t){this._anchorElement[e]=t},enumerable:!0})}(e)})),Object.defineProperty(r,"search",{get:function(){return this._anchorElement.search},set:function(e){this._anchorElement.search=e,this._updateSearchParams()},enumerable:!0}),Object.defineProperties(r,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e,this._updateSearchParams()},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],t=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0}}),n.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)},n.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)},e.URL=n}(),void 0!==e.location&&!("origin"in e.location)){var t=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:t,enumerable:!0})}
2catch(n){setInterval((function(){e.location.origin=t()}),100)}}}(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this)}).call(this,n(19))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n}]).default},2859:e=>{window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=0)}([function(e,t,n){function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}n(1).toString();var s=function(){function e(t){var n=t.data,r=(t.config,t.api),o=t.readOnly;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._elements={wrapper:null},this.api=r,this.readOnly=o,this.settings=[{name:"unordered",title:this.api.i18n.t("Unordered"),icon:'<svg width="17" height="13" viewBox="0 0 17 13" xmlns="http://www.w3.org/2000/svg"> <path d="M5.625 4.85h9.25a1.125 1.125 0 0 1 0 2.25h-9.25a1.125 1.125 0 0 1 0-2.25zm0-4.85h9.25a1.125 1.125 0 0 1 0 2.25h-9.25a1.125 1.125 0 0 1 0-2.25zm0 9.85h9.25a1.125 1.125 0 0 1 0 2.25h-9.25a1.125 1.125 0 0 1 0-2.25zm-4.5-5a1.125 1.125 0 1 1 0 2.25 1.125 1.125 0 0 1 0-2.25zm0-4.85a1.125 1.125 0 1 1 0 2.25 1.125 1.125 0 0 1 0-2.25zm0 9.85a1.125 1.125 0 1 1 0 2.25 1.125 1.125 0 0 1 0-2.25z"/></svg>',default:!1},{name:"ordered",title:this.api.i18n.t("Ordered"),icon:'<svg width="17" height="13" viewBox="0 0 17 13" xmlns="http://www.w3.org/2000/svg"><path d="M5.819 4.607h9.362a1.069 1.069 0 0 1 0 2.138H5.82a1.069 1.069 0 1 1 0-2.138zm0-4.607h9.362a1.069 1.069 0 0 1 0 2.138H5.82a1.069 1.069 0 1 1 0-2.138zm0 9.357h9.362a1.069 1.069 0 0 1 0 2.138H5.82a1.069 1.069 0 0 1 0-2.137zM1.468 4.155V1.33c-.554.404-.926.606-1.118.606a.338.338 0 0 1-.244-.104A.327.327 0 0 1 0 1.59c0-.107.035-.184.105-.234.07-.05.192-.114.369-.192.264-.118.475-.243.633-.373.158-.13.298-.276.42-.438a3.94 3.94 0 0 1 .238-.298C1.802.019 1.872 0 1.975 0c.115 0 .208.042.277.127.07.085.105.202.105.351v3.556c0 .416-.15.624-.448.624a.421.421 0 0 1-.32-.127c-.08-.085-.121-.21-.121-.376zm-.283 6.664h1.572c.156 0 .275.03.358.091a.294.294 0 0 1 .123.25.323.323 0 0 1-.098.238c-.065.065-.164.097-.296.097H.629a.494.494 0 0 1-.353-.119.372.372 0 0 1-.126-.28c0-.068.027-.16.081-.273a.977.977 0 0 1 .178-.268c.267-.264.507-.49.722-.678.215-.188.368-.312.46-.371.165-.11.302-.222.412-.334.109-.112.192-.226.25-.344a.786.786 0 0 0 .085-.345.6.6 0 0 0-.341-.553.75.75 0 0 0-.345-.08c-.263 0-.47.11-.62.329-.02.029-.054.107-.101.235a.966.966 0 0 1-.16.295c-.059.069
2-.145.103-.26.103a.348.348 0 0 1-.25-.094.34.34 0 0 1-.099-.258c0-.132.031-.27.093-.413.063-.143.155-.273.279-.39.123-.116.28-.21.47-.282.189-.072.411-.107.666-.107.307 0 .569.045.786.137a1.182 1.182 0 0 1 .618.623 1.18 1.18 0 0 1-.096 1.083 2.03 2.03 0 0 1-.378.457c-.128.11-.344.282-.646.517-.302.235-.509.417-.621.547a1.637 1.637 0 0 0-.148.187z"/></svg>',default:!0}],this._data={style:this.settings.find((function(e){return!0===e.default})).name,items:[]},this.data=n}return a(e,null,[{key:"isReadOnlySupported",get:function(){return!0}},{key:"enableLineBreaks",get:function(){return!0}},{key:"toolbox",get:function(){return{icon:'<svg width="17" height="13" viewBox="0 0 17 13" xmlns="http://www.w3.org/2000/svg"> <path d="M5.625 4.85h9.25a1.125 1.125 0 0 1 0 2.25h-9.25a1.125 1.125 0 0 1 0-2.25zm0-4.85h9.25a1.125 1.125 0 0 1 0 2.25h-9.25a1.125 1.125 0 0 1 0-2.25zm0 9.85h9.25a1.125 1.125 0 0 1 0 2.25h-9.25a1.125 1.125 0 0 1 0-2.25zm-4.5-5a1.125 1.125 0 1 1 0 2.25 1.125 1.125 0 0 1 0-2.25zm0-4.85a1.125 1.125 0 1 1 0 2.25 1.125 1.125 0 0 1 0-2.25zm0 9.85a1.125 1.125 0 1 1 0 2.25 1.125 1.125 0 0 1 0-2.25z"/></svg>',title:"List"}}}]),a(e,[{key:"render",value:function(){var e=this;return this._elements.wrapper=this.makeMainTag(this._data.style),this._data.items.length?this._data.items.forEach((function(t){e._elements.wrapper.appendChild(e._make("li",e.CSS.item,{innerHTML:t}))})):this._elements.wrapper.appendChild(this._make("li",this.CSS.item)),this.readOnly||this._elements.wrapper.addEventListener("keydown",(function(t){switch(t.keyCode){case 13:e.getOutofList(t);break;case 8:e.backspace(t)}}),!1),this._elements.wrapper}},{key:"save",value:function(){return this.data}},{key:"renderSettings",value:function(){var e=this,t=this._make("div",[this.CSS.settingsWrapper],{});return this.settings.forEach((function(n){var r=e._make("div",e.CSS.settingsButton,{innerHTML:n.icon});r.addEventListener("click",(function(){e.toggleTune(n.name);var t=r.parentNode.querySelectorAll("."+e.CSS.settingsButton);Array.from(t).forEach((function(t){return t.classList.remove(e.CSS.settingsButtonActive)})),r.classList.toggle(e.CSS.settingsButtonActive)})),e.api.tooltip.onHover(r,n.title,{placement:"top",hidingDelay:500}),e._data.style===n.name&&r.classList.add(e.CSS.settingsButtonActive),t.appendChild(r)})),t}},{key:"onPaste",value:function(e){var t=e.detail.data;this.data=this.pasteHandler(t)}},{key:"makeMainTag",value:function(e){var t="ordered"===e?this.CSS.wrapperOrdered:this.CSS.wrapperUnordered,n="ordered"===e?"ol":"ul";return this._make(n,[this.CSS.baseBlock,this.CSS.wrapper,t],{contentEditable:!this.readOnly})}},{key:"toggleTune",value:function(e){for(var t=this.makeMainTag(e);this._elements.wrapper.hasChildNodes();)t.appendChild(this._elements.wrapper.firstChild);this._elements.wrapper.replaceWith(t),this._elements.wrapper=t,this._data.style=e}},{key:"_make",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=document.createElement(e);for(var a in Array.isArray(n)?(t=i.classList).add.apply(t,r(n)):n&&i.classList.add(n),o)i[a]=o[a];return i}},{key:"getOutofList",value:function(e){var t=this._elements.wrapper.querySelectorAll("."+this.CSS.item);if(!(t.length<2)){var n=t[t.length-1],r=this.currentItem;r!==n||n.textContent.trim().length||(r.parentElement.removeChild(r),this.api.blocks.insert(),this.api.caret.setToBlock(this.api.blocks.getCurrentBlockIndex()),e.preventDefault(),e.stopPropagation())}}},{key:"backspace",value:function(e){var t=this._elements.wrapper.querySelectorAll("."+this.CSS.item),n=t[0];n&&t.length<2&&!n.innerHTML.replace("<br>"," ").trim()&&e.preventDefault()}},{key:"selectItem",value:function(e){e.preventDefault();var t=window.getSelection(),n=t.anchorNode.parentNode.closest("."+this.CSS.item),r=new Range;r.selectNodeContents(n),t.removeAllRanges(),t.addRange(r)}},{key:"pasteHandler",value:function(e){var t,n=e.tagName;switch(n){case"OL":t="ordered";break;case"UL":case"LI":t="unordered"}var r={style:t,items:[]};if("LI"===n)r.items=[e.innerHTML];else{var o=Array.from(e.querySelectorAll("LI"));r.items=o.map((function(e){return e.innerHTML})).filter((function(e){return!!e.trim()}))}return r}},{key:"CSS",get:function(){return{baseBlock:this.api.styles.block,wrapper:"cdx-list",wrapperOrdered:"cdx-list--ordered",wrapperUnordered:"cdx-list--unordered",item:"cdx-list__item",settingsWrapper:"cdx-list-settings",settingsButton:this.api.styles.settingsButton,settingsButtonActive:this.api.styles.settingsButtonActive}}},{key:"data",set:function(e){e||(e={}),this._data.style=e.style||this.settings.find((function(e){return!0===e.default})).name,this._data.items=e.items||[];var t=this._elements.wrapper;t&&t.parentNode.replaceChild(this.render(),t)},get:function(){this._data.items=[];for(var e=this._elements.wrapper.querySelectorAll(".".concat(this.CSS.item)),t=0;t<e.length;t++)e[t].innerHTML.replace("<br>"," ").trim()&&this._data.items.push(e[t].innerHTML);return this._data}},{key:"currentItem",get:function(){var e=window.getSelection().anchorNode;
vendor: 4,966 bytes, line 2
2return e.nodeType!==Node.ELEMENT_NODE&&(e=e.parentNode),e.closest(".".concat(this.CSS.item))}}],[{key:"conversionConfig",get:function(){return{export:function(e){return e.items.join(". ")},import:function(e){return{items:[e],style:"unordered"}}}}},{key:"sanitize",get:function(){return{style:{},items:{br:!0}}}},{key:"pasteConfig",get:function(){return{tags:["OL","UL","LI"]}}}]),e}();e.exports=s},function(e,t,n){var r=n(2),o=n(3);"string"==typeof(o=o.__esModule?o.default:o)&&(o=[[e.i,o,""]]),r(o,{insert:"head",singleton:!1}),e.exports=o.locals||{}},function(e,t,n){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function l(e,t){for(var n={},r=[],o=0;o<e.length;o++){var i=e[o],l=t.base?i[0]+t.base:i[0],c=n[l]||0,u="".concat(l," ").concat(c);n[l]=c+1;var d=s(u),f={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?(a[d].references++,a[d].updater(f)):a.push({identifier:u,updater:v(f,t),references:1}),r.push(u)}return r}function c(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var u,d=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function f(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=d(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,m=0;function v(e,t){var n,r,o;if(t.singleton){var i=m++;n=h||(h=c(t)),r=f.bind(null,n,i,!1),o=f.bind(null,n,i,!0)}else n=c(t),r=p.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=s(n[r]);a[o].references--}for(var i=l(e,t),c=0;c<n.length;c++){var u=s(n[c]);0===a[u].references&&(a[u].updater(),a.splice(u,1))}n=i}}}},function(e,t,n){(t=n(4)(!1)).push([e.i,".cdx-list {\n margin: 0;\n padding-left: 40px;\n outline: none;\n}\n\n .cdx-list__item {\n padding: 5.5px 0 5.5px 3px;\n line-height: 1.6em;\n }\n\n .cdx-list--unordered {\n list-style: disc;\n }\n\n .cdx-list--ordered {\n list-style: decimal;\n }\n\n .cdx-list-settings {\n display: flex;\n }\n\n .cdx-list-settings .cdx-settings-button {\n width: 50%;\n }\n",""]),e.exports=t},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r,o,i=e[1]||"",a=e[3];if(!a)return i;if(t&&"function"==typeof btoa){var s=(n=a,r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),"/*# ".concat(o," */")),l=a.sources.map((function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")}));return[i].concat(l).concat([s]).join("\n")}return[i].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);r&&o[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}}])},2173:e=>{window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
2),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=0)}([function(e,t,n){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n(1).toString();var i=function(){function e(t){var n=t.api;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.api=n,this.button=null,this.tag="MARK",this.iconClasses={base:this.api.styles.inlineToolButton,active:this.api.styles.inlineToolButtonActive}}return o(e,null,[{key:"CSS",get:function(){return"cdx-marker"}}]),o(e,[{key:"render",value:function(){return this.button=document.createElement("button"),this.button.type="button",this.button.classList.add(this.iconClasses.base),this.button.innerHTML=this.toolboxIcon,this.button}},{key:"surround",value:function(t){if(t){var n=this.api.selection.findParentTag(this.tag,e.CSS);n?this.unwrap(n):this.wrap(t)}}},{key:"wrap",value:function(t){var n=document.createElement(this.tag);n.classList.add(e.CSS),n.appendChild(t.extractContents()),t.insertNode(n),this.api.selection.expandToTag(n)}},{key:"unwrap",value:function(e){this.api.selection.expandToTag(e);var t=window.getSelection(),n=t.getRangeAt(0),r=n.extractContents();e.parentNode.removeChild(e),n.insertNode(r),t.removeAllRanges(),t.addRange(n)}},{key:"checkState",value:function(){var t=this.api.selection.findParentTag(this.tag,e.CSS);this.button.classList.toggle(this.iconClasses.active,!!t)}},{key:"toolboxIcon",get:function(){return n(6).default}}],[{key:"isInline",get:function(){return!0}},{key:"sanitize",get:function(){return{mark:{class:e.CSS}}}}]),e}();e.exports=i},function(e,t,n){var r=n(2);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(4)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(3)(!1)).push([e.i,".cdx-marker {\n background: rgba(245,235,111,0.29);\n padding: 3px 0;\n}",""])},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r=e[1]||"",o=e[3];if(!o)return r;if(t&&"function"==typeof btoa){var i=(n=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),a=o.sources.map((function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"}));return[r].concat(a).concat([i]).join("\n")}return[r].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){var r,o,i={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),s=function(){var e={};return function(t){if("function"==typeof t)return t();if(void 0===e[t]){var n=function(e){return document.querySelector(e)}.call(this,t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}}(),l=null,c=0,u=[],d=n(5);function f(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=i[r.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(;a<r.parts.length;a++)o.parts.push(y(r.parts[a],t))}else{var s=[];for(a=0;a<r.parts.length;a++)s.push(y(r.parts[a],t));i[r.id]={id:r.id,refs:1,parts:s}}}}function p(e,t){for(var n=[],r={},o=0;o<e.length;
vendor: 4,773 bytes, line 2
2o++){var i=e[o],a=t.base?i[0]+t.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function h(e,t){var n=s(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=u[u.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),u.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=s(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,o)}}function m(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=u.indexOf(e);t>=0&&u.splice(t,1)}function v(e){var t=document.createElement("style");return void 0===e.attrs.type&&(e.attrs.type="text/css"),g(t,e.attrs),h(e,t),t}function g(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function y(e,t){var n,r,o,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}if(t.singleton){var a=c++;n=l||(l=v(t)),r=w.bind(null,n,a,!1),o=w.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",g(t,e.attrs),h(e,t),t}(t),r=function(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=d(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,t),o=function(){m(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(t),r=function(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),o=function(){m(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=p(e,t);return f(n,t),function(e){for(var r=[],o=0;o<n.length;o++){var a=n[o];(s=i[a.id]).refs--,r.push(s)}for(e&&f(p(e,t),t),o=0;o<r.length;o++){var s;if(0===(s=r[o]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete i[s.id]}}}};var b,_=(b=[],function(e,t){return b[e]=t,b.filter(Boolean).join("\n")});function w(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=_(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}},function(e,t,n){"use strict";n.r(t),t.default='<svg xmlns="http://www.w3.org/2000/svg" viewBox="1 2 13 12" width="13" height="12"><path d="M8.367 9.633L10.7 10.98l-.624 1.135-.787-.025-.78 1.35H6.94l1.193-2.066-.407-.62.642-1.121zm.436-.763l2.899-5.061a1.278 1.278 0 011.746-.472c.617.355.835 1.138.492 1.76l-2.815 5.114-2.322-1.34zM2.62 11.644H5.39a.899.899 0 110 1.798H2.619a.899.899 0 010-1.798z"/></svg>\n'}])},8643:e=>{window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
2),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=0)}([function(e,t,n){function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}n(1).toString();var a=function(){function e(t){var n=t.data,r=t.config,o=t.api,i=t.readOnly;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var a=e.ALIGNMENTS,s=e.DEFAULT_ALIGNMENT;this.api=o,this.readOnly=i,this.quotePlaceholder=r.quotePlaceholder||e.DEFAULT_QUOTE_PLACEHOLDER,this.captionPlaceholder=r.captionPlaceholder||e.DEFAULT_CAPTION_PLACEHOLDER,this.data={text:n.text||"",caption:n.caption||"",alignment:Object.values(a).includes(n.alignment)&&n.alignment||r.defaultAlignment||s}}return i(e,[{key:"CSS",get:function(){return{baseClass:this.api.styles.block,wrapper:"cdx-quote",text:"cdx-quote__text",input:this.api.styles.input,caption:"cdx-quote__caption",settingsWrapper:"cdx-quote-settings",settingsButton:this.api.styles.settingsButton,settingsButtonActive:this.api.styles.settingsButtonActive}}},{key:"settings",get:function(){return[{name:"left",icon:'<svg width="16" height="11" viewB
2ox="0 0 16 11" xmlns="http://www.w3.org/2000/svg" ><path d="M1.069 0H13.33a1.069 1.069 0 0 1 0 2.138H1.07a1.069 1.069 0 1 1 0-2.138zm0 4.275H9.03a1.069 1.069 0 1 1 0 2.137H1.07a1.069 1.069 0 1 1 0-2.137zm0 4.275h9.812a1.069 1.069 0 0 1 0 2.137H1.07a1.069 1.069 0 0 1 0-2.137z" /></svg>'},{name:"center",icon:'<svg width="16" height="11" viewBox="0 0 16 11" xmlns="http://www.w3.org/2000/svg" ><path d="M1.069 0H13.33a1.069 1.069 0 0 1 0 2.138H1.07a1.069 1.069 0 1 1 0-2.138zm3.15 4.275h5.962a1.069 1.069 0 0 1 0 2.137H4.22a1.069 1.069 0 1 1 0-2.137zM1.069 8.55H13.33a1.069 1.069 0 0 1 0 2.137H1.07a1.069 1.069 0 0 1 0-2.137z"/></svg>'}]}}],[{key:"isReadOnlySupported",get:function(){return!0}},{key:"toolbox",get:function(){return{icon:'<svg width="15" height="14" viewBox="0 0 15 14" xmlns="http://www.w3.org/2000/svg"><path d="M13.53 6.185l.027.025a1.109 1.109 0 0 1 0 1.568l-5.644 5.644a1.109 1.109 0 1 1-1.569-1.568l4.838-4.837L6.396 2.23A1.125 1.125 0 1 1 7.986.64l5.52 5.518.025.027zm-5.815 0l.026.025a1.109 1.109 0 0 1 0 1.568l-5.644 5.644a1.109 1.109 0 1 1-1.568-1.568l4.837-4.837L.58 2.23A1.125 1.125 0 0 1 2.171.64L7.69 6.158l.025.027z" /></svg>',title:"Quote"}}},{key:"contentless",get:function(){return!0}},{key:"enableLineBreaks",get:function(){return!0}},{key:"DEFAULT_QUOTE_PLACEHOLDER",get:function(){return"Enter a quote"}},{key:"DEFAULT_CAPTION_PLACEHOLDER",get:function(){return"Enter a caption"}},{key:"ALIGNMENTS",get:function(){return{left:"left",center:"center"}}},{key:"DEFAULT_ALIGNMENT",get:function(){return e.ALIGNMENTS.left}},{key:"conversionConfig",get:function(){return{import:"text",export:function(e){return e.caption?"".concat(e.text," â ").concat(e.caption):e.text}}}}]),i(e,[{key:"render",value:function(){var e=this._make("blockquote",[this.CSS.baseClass,this.CSS.wrapper]),t=this._make("div",[this.CSS.input,this.CSS.text],{contentEditable:!this.readOnly,innerHTML:this.data.text}),n=this._make("div",[this.CSS.input,this.CSS.caption],{contentEditable:!this.readOnly,innerHTML:this.data.caption});return t.dataset.placeholder=this.quotePlaceholder,n.dataset.placeholder=this.captionPlaceholder,e.appendChild(t),e.appendChild(n),e}},{key:"save",value:function(e){var t=e.querySelector(".".concat(this.CSS.text)),n=e.querySelector(".".concat(this.CSS.caption));return Object.assign(this.data,{text:t.innerHTML,caption:n.innerHTML})}},{key:"renderSettings",value:function(){var e=this,t=this._make("div",[this.CSS.settingsWrapper],{});return this.settings.map((function(n){var r,o=e._make("div",e.CSS.settingsButton,{innerHTML:n.icon,title:"".concat((r=n.name,r[0].toUpperCase()+r.substr(1))," alignment")});return o.classList.toggle(e.CSS.settingsButtonActive,n.name===e.data.alignment),t.appendChild(o),o})).forEach((function(t,n,r){t.addEventListener("click",(function(){e._toggleTune(e.settings[n].name),r.forEach((function(t,n){var r=e.settings[n].name;t.classList.toggle(e.CSS.settingsButtonActive,r===e.data.alignment)}))}
vendor: 4,055 bytes, line 2
2))})),t}},{key:"_toggleTune",value:function(e){this.data.alignment=e}},{key:"_make",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=document.createElement(e);for(var a in Array.isArray(n)?(t=i.classList).add.apply(t,r(n)):n&&i.classList.add(n),o)i[a]=o[a];return i}}],[{key:"sanitize",get:function(){return{text:{br:!0},caption:{br:!0},alignment:{}}}}]),e}();e.exports=a},function(e,t,n){var r=n(2);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(4)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(3)(!1)).push([e.i,".cdx-quote-icon svg {\n transform: rotate(180deg);\n}\n\n.cdx-quote {\n margin: 0;\n}\n\n.cdx-quote__text {\n min-height: 158px;\n margin-bottom: 10px;\n}\n\n.cdx-quote__caption {}\n\n.cdx-quote [contentEditable=true][data-placeholder]::before{\n position: absolute;\n content: attr(data-placeholder);\n color: #707684;\n font-weight: normal;\n opacity: 0;\n}\n\n.cdx-quote [contentEditable=true][data-placeholder]:empty::before {\n opacity: 1;\n}\n\n.cdx-quote [contentEditable=true][data-placeholder]:empty:focus::before {\n opacity: 0;\n}\n\n\n.cdx-quote-settings {\n display: flex;\n}\n\n.cdx-quote-settings .cdx-settings-button {\n width: 50%;\n}\n",""])},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r=e[1]||"",o=e[3];if(!o)return r;if(t&&"function"==typeof btoa){var i=(n=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),a=o.sources.map((function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"}));return[r].concat(a).concat([i]).join("\n")}return[r].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){var r,o,i={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),s=function(){var e={};return function(t){if("function"==typeof t)return t();if(void 0===e[t]){var n=function(e){return document.querySelector(e)}.call(this,t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}}(),l=null,c=0,u=[],d=n(5);function f(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=i[r.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(;a<r.parts.length;a++)o.parts.push(y(r.parts[a],t))}else{var s=[];for(a=0;a<r.parts.length;a++)s.push(y(r.parts[a],t));i[r.id]={id:r.id,refs:1,parts:s}}}}function p(e,t){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=t.base?i[0]+t.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function h(e,t){var n=s(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=u[u.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),u.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=s(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,o)}}function m(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=u.indexOf(e);t>=0&&u.splice(t,1)}function v(e){var t=document.createElement("style");return void 0===e.attrs.type&&(e.attrs.type="text/css"),g(t,e.attrs),h(e,t),t}
vendor: 4,969 bytes, line 2
2function g(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function y(e,t){var n,r,o,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}if(t.singleton){var a=c++;n=l||(l=v(t)),r=w.bind(null,n,a,!1),o=w.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",g(t,e.attrs),h(e,t),t}(t),r=function(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=d(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,t),o=function(){m(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(t),r=function(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),o=function(){m(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=p(e,t);return f(n,t),function(e){for(var r=[],o=0;o<n.length;o++){var a=n[o];(s=i[a.id]).refs--,r.push(s)}for(e&&f(p(e,t),t),o=0;o<r.length;o++){var s;if(0===(s=r[o]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete i[s.id]}}}};var b,_=(b=[],function(e,t){return b[e]=t,b.filter(Boolean).join("\n")});function w(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=_(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}}])},8311:e=>{window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=15)}([function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path d="M8.02 2.48a.9.9 0 01.9.9l-.001 3.74h3.701a.9.9 0 010 1.8l-3.701-.001.001 3.701a.9.9 0 01-1.8 0V8.919l-3.74.001a.9.9 0 010-1.8h3.74V3.38a.9.9 0 01.9-.9z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path d="M12.277 3.763a.9.9 0 010 1.273L9.293 8.018l2.984 2.986a.9.9 0 01-1.273 1.272L8.02 9.291l-2.984 2.985a.9.9 0 01-1.273-1.272l2.984-2.986-2.984-2.982a.9.9 0 011.273-1.273L8.02 6.745l2.984-2.982a.9.9 0 011.273 0z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"><rect width="18" height="18" fill="#F4F5F7" rx="2"></rect><circle cx="11.5" cy="6.5" r="1.5"></circle><circle cx="11.5" cy="11.5" r="1.5"></circle><circle cx="6.5" cy="6.5" r="1.5"></circle><circle cx="6.5" cy="11.5" r="1.5"></circle></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16"><path transform="matrix(0 1 1 0 2.514 2.046)" d="M8.728-.038l.01.012 2.52 3.503a.895.895 0 01.
2169.568v.067a.894.894 0 01-.249.632l-.01.012-3.064 3.093a.9.9 0 01-1.29-1.254l.011-.012 1.877-1.896c-1.824-.204-3.232.063-4.242.767-1.279.892-2.035 2.571-2.222 5.112a.901.901 0 01-1.796-.132C.666 7.399 1.647 5.222 3.43 3.978c1.342-.936 3.072-1.296 5.173-1.11L7.276 1.027A.9.9 0 018.719-.05l.01.012z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path fill="#1D202B" d="M13.552 10.774l-.012.01-3.503 2.52a.895.895 0 01-.568.169h-.067a.894.894 0 01-.632-.249l-.012-.01-3.093-3.064a.9.9 0 011.254-1.29l.012.011 1.896 1.877c.204-1.824-.063-3.232-.767-4.242-.892-1.279-2.571-2.035-5.112-2.222a.901.901 0 01.132-1.796c3.035.224 5.212 1.205 6.456 2.988.936 1.342 1.296 3.072 1.11 5.173l1.841-1.327a.9.9 0 011.077 1.443l-.012.01z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path fill="#1D202B" d="M10.808 2.442l.01.012 2.52 3.503a.895.895 0 01.169.568v.067a.894.894 0 01-.249.632l-.01.012-3.064 3.093a.9.9 0 01-1.29-1.254l.011-.012 1.877-1.896c-1.824-.204-3.232.063-4.242.767-1.279.892-2.035 2.571-2.222 5.112a.901.901 0 01-1.796-.132c.224-3.035 1.205-5.212 2.988-6.456 1.342-.936 3.072-1.296 5.173-1.11L9.356 3.507a.9.9 0 011.443-1.076l.01.012z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path fill="#1D202B" d="M10.808 13.518l.01-.012 2.52-3.503a.895.895 0 00.169-.568v-.067a.894.894 0 00-.249-.632l-.01-.012-3.064-3.093a.9.9 0 00-1.29 1.254l.011.012 1.877 1.896c-1.824.204-3.232-.063-4.242-.767-1.279-.892-2.035-2.571-2.222-5.112a.901.901 0 00-1.796.132c.224 3.035 1.205 5.212 2.988 6.456 1.342.936 3.072 1.296 5.173 1.11l-1.327 1.841a.9.9 0 001.443 1.076l.01-.012z"></path></svg>'},function(e,t){e.exports='<svg width="18" height="14"><path d="M2.833 8v1.95a1.7 1.7 0 0 0 1.7 1.7h3.45V8h-5.15zm0-2h5.15V2.35h-3.45a1.7 1.7 0 0 0-1.7 1.7V6zm12.3 2h-5.15v3.65h3.45a1.7 1.7 0 0 0 1.7-1.7V8zm0-2V4.05a1.7 1.7 0 0 0-1.7-1.7h-3.45V6h5.15zM4.533.1h8.9a3.95 3.95 0 0 1 3.95 3.95v5.9a3.95 3.95 0 0 1-3.95 3.95h-8.9a3.95 3.95 0 0 1-3.95-3.95v-5.9A3.95 3.95 0 0 1 4.533.1z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="13"><path d="M14.74 10.175a1.1 1.1 0 110 2.2H1.1a1.1 1.1 0 110-2.2h13.64zm0-4.235a1.1 1.1 0 110 2.2H1.1a1.1 1.1 0 110-2.2h13.64zM13.887 0a1.952 1.952 0 110 3.905H1.954A1.953 1.953 0 111.952 0h11.935z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" width="15" height="13"><path d="M14.602 9.9a1.237 1.237 0 110 2.475H1.238a1.238 1.238 0 110-2.475h13.364zm0-4.95a1.237 1.237 0 110 2.475H1.238a1.237 1.237 0 110-2.475h13.364zm0-4.95a1.238 1.238 0 110 2.475H1.238a1.238 1.238 0 110-2.475h13.364z"></path></svg>'},function(e,t,n){var r=n(11);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(13)(r,o),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(12)(!1)).push([e.i,'.tc-wrap{--color-background:#f9f9fb;--color-text-secondary:#7b7e89;--color-border:#e8e8eb;--cell-size:34px;--toolbox-icon-size:18px;--toolbox-padding:6px;--toolbox-aiming-field-size:calc(var(--toolbox-icon-size) + 2*var(--toolbox-padding));border-left:0;position:relative;height:100%;width:100%;margin-top:var(--toolbox-icon-size);box-sizing:border-box;display:grid;grid-template-columns:calc(100% - var(--cell-size)) var(--cell-size);}.tc-wrap--readonly{grid-template-columns:100% var(--cell-size)}.tc-wrap svg{vertical-align:top;fill:currentColor}.tc-table{position:relative;width:100%;height:100%;display:grid;font-size:14px;border-top:1px solid var(--color-border);line-height:1.4;}.tc-table:after{width:var(--cell-size);height:100%;left:calc(-1*var(--cell-size));top:0}.tc-table:after,.tc-table:before{position:absolute;content:""}.tc-table:before{width:100%;height:var(--toolbox-aiming-field-size);top:calc(-1*var(--toolbox-aiming-field-size));left:0}.tc-table--heading .tc-row:first-child{font-weight:600;border-bottom:2px solid var(--color-border);}.tc-table--heading .tc-row:first-child [contenteditable]:empty:before{content:attr(heading);color:var(--color-text-secondary)}.tc-table--heading .tc-row:first-child:after{bottom:-2px;border-bottom:2px solid var(--color-border)}.tc-add-column,.tc-add-row{display:flex;color:var(--color-text-secondary)}.tc-add-column{padding:9px 0;justify-content:center;border-top:1px solid var(--color-border)}.tc-add-row{height:var(--cell-size);align-items:center;padding-left:12px;position:relative;}.tc-add-row:before{content:"";position:absolute;right:calc(-1*var(--cell-size));width:var(--cell-size);height:100%}.tc-add-column,.tc-add-row{transition:0s;cursor:pointer;will-change:background-color;}
2.tc-add-column:hover,.tc-add-row:hover{transition:background-color .1s ease;background-color:var(--color-background)}.tc-add-row{margin-top:1px;}.tc-add-row:hover:before{transition:.1s;background-color:var(--color-background)}.tc-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(10px,1fr));position:relative;border-bottom:1px solid var(--color-border);}.tc-row:after{content:"";pointer-events:none;position:absolute;width:var(--cell-size);height:100%;bottom:-1px;right:calc(-1*var(--cell-size));border-bottom:1px solid var(--color-border)}.tc-row--selected{background:var(--color-background)}.tc-row--selected:after{background:var(--color-background)}.tc-cell{border-right:1px solid var(--color-border);padding:6px 12px;overflow:hidden;outline:none;line-break:normal;}.tc-cell--selected{background:var(--color-background)}.tc-wrap--readonly .tc-row:after{display:none}.tc-toolbox{--toolbox-padding:6px;--popover-margin:30px;--toggler-click-zone-size:30px;--toggler-dots-color:#7b7e89;--toggler-dots-color-hovered:#1d202b;position:absolute;cursor:pointer;z-index:1;opacity:0;transition:opacity .1s;will-change:left,opacity;}.tc-toolbox--column{top:calc(-1*var(--toggler-click-zone-size));-webkit-transform:translateX(calc(-1*var(--toggler-click-zone-size)/2));transform:translateX(calc(-1*var(--toggler-click-zone-size)/2));will-change:left,opacity}.tc-toolbox--row{left:calc(-1*var(--popover-margin));-webkit-transform:translateY(calc(-1*var(--toggler-click-zone-size)/2));transform:translateY(calc(-1*var(--toggler-click-zone-size)/2));margin-top:-1px;will-change:top,opacity}.tc-toolbox--showed{opacity:1}.tc-toolbox .tc-popover{position:absolute;top:0;left:var(--popover-margin)}.tc-toolbox__toggler{display:flex;align-items:center;justify-content:center;width:var(--toggler-click-zone-size);height:var(--toggler-click-zone-size);color:var(--toggler-dots-color);opacity:0;transition:opacity .15s ease;will-change:opacity;}.tc-toolbox__toggler:hover{color:var(--toggler-dots-color-hovered)}.tc-wrap:hover .tc-toolbox__toggler{opacity:1}.tc-settings .cdx-settings-button{width:50%;margin:0}.tc-popover{--color-border:#eaeaea;--color-background:#fff;--color-background-hover:rgba(232,232,235,0.49);--color-background-confirm:#e24a4a;--color-background-confirm-hover:#d54040;--color-text-confirm:#fff;background:var(--color-background);border:1px solid var(--color-border);box-shadow:0 3px 15px -3px rgba(13,20,33,.13);border-radius:6px;padding:6px;display:none;will-change:opacity,transform;}.tc-popover--opened{display:block;-webkit-animation:menuShowing .1s cubic-bezier(.215,.61,.355,1) forwards;animation:menuShowing .1s cubic-bezier(.215,.61,.355,1) forwards}.tc-popover__item{display:flex;align-items:center;padding:2px 14px 2px 2px;border-radius:5px;cursor:pointer;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.tc-popover__item:hover{background:var(--color-background-hover)}.tc-popover__item:not(:last-of-type){margin-bottom:2px}.tc-popover__item-icon{display:inline-flex;width:26px;height:26px;align-items:center;justify-content:center;background:var(--color-background);border-radius:5px;border:1px solid var(--color-border);margin-right:8px}.tc-popover__item-label{line-height:22px;font-size:14px;font-weight:500}.tc-popover__item--confirm{background:var(--color-background-confirm);color:var(--color-text-confirm);}.tc-popover__item--confirm:hover{background-color:var(--color-background-confirm-hover)}.tc-popover__item--confirm .tc-popover__item-icon{background:var(--color-background-confirm);border-color:rgba(0,0,0,.1);}.tc-popover__item--confirm .tc-popover__item-icon svg{transition:-webkit-transform .2s ease-in;transition:transform .2s ease-in;transition:transform .2s ease-in,-webkit-transform .2s ease-in;-webkit-transform:rotate(90deg) scale(1.2);transform:rotate(90deg) scale(1.2)}.tc-popover__item--hidden{display:none}@-webkit-keyframes menuShowing{0%{opacity:0;-webkit-transform:translateY(-8px) scale(.9);transform:translateY(-8px) scale(.9)}70%{opacity:1;-webkit-transform:translateY(2px);transform:translateY(2px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes menuShowing{0%{opacity:0;-webkit-transform:translateY(-8px) scale(.9);transform:translateY(-8px) scale(.9)}70%{opacity:1;-webkit-transform:translateY(2px);transform:translateY(2px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}',""])},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r=e[1]||"",o=e[3];
vendor: 4,770 bytes, line 2
2if(!o)return r;if(t&&"function"==typeof btoa){var i=(n=o,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),a=o.sources.map((function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"}));return[r].concat(a).concat([i]).join("\n")}return[r].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){var r,o,i={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),s=function(){var e={};return function(t,n){if("function"==typeof t)return t();if(void 0===e[t]){var r=function(e,t){return t?t.querySelector(e):document.querySelector(e)}.call(this,t,n);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}}(),l=null,c=0,u=[],d=n(14);function f(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=i[r.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(;a<r.parts.length;a++)o.parts.push(y(r.parts[a],t))}else{var s=[];for(a=0;a<r.parts.length;a++)s.push(y(r.parts[a],t));i[r.id]={id:r.id,refs:1,parts:s}}}}function p(e,t){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=t.base?i[0]+t.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function h(e,t){var n=s(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=u[u.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),u.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=s(e.insertAt.before,n);n.insertBefore(t,o)}}function m(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=u.indexOf(e);t>=0&&u.splice(t,1)}function v(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var r=n.nc;r&&(e.attrs.nonce=r)}return g(t,e.attrs),h(e,t),t}function g(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function y(e,t){var n,r,o,i;if(t.transform&&e.css){if(!(i="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=i}if(t.singleton){var a=c++;n=l||(l=v(t)),r=w.bind(null,n,a,!1),o=w.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",g(t,e.attrs),h(e,t),t}(t),r=function(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=d(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,t),o=function(){m(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(t),r=function(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),o=function(){m(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=p(e,t);return f(n,t),function(e){for(var r=[],o=0;o<n.length;o++){var a=n[o];(s=i[a.id]).refs--,r.push(s)}for(e&&f(p(e,t),t),o=0;o<r.length;o++){var s;if(0===(s=r[o]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete i[s.id]}}}};var b,_=(b=[],function(e,t){return b[e]=t,b.filter(Boolean).join("\n")});function w(e,t,n,r){var o=n?"":r.css;
2if(e.styleSheet)e.styleSheet.cssText=_(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),i=n(2),a=n.n(i);function s(e,t,n={}){const r=document.createElement(e);Array.isArray(t)?r.classList.add(...t):t&&r.classList.add(t);for(const e in n)Object.prototype.hasOwnProperty.call(n,e)&&(r[e]=n[e]);return r}function l(e){const t=e.getBoundingClientRect();return{y1:Math.floor(t.top+window.pageYOffset),x1:Math.floor(t.left+window.pageXOffset),x2:Math.floor(t.right+window.pageXOffset),y2:Math.floor(t.bottom+window.pageYOffset)}}function c(e,t){const n=l(e),r=l(t);return{fromTopBorder:r.y1-n.y1,fromLeftBorder:r.x1-n.x1,fromRightBorder:n.x2-r.x2,fromBottomBorder:n.y2-r.y2}}function u(e,t){return t.parentNode.insertBefore(e,t)}function d(e,t=!0){const n=document.createRange(),r=window.getSelection();n.selectNodeContents(e),n.collapse(t),r.removeAllRanges(),r.addRange(n)}class f{constructor({items:e}){this.items=e,this.wrapper=void 0,this.itemEls=[]}static get CSS(){return{popover:"tc-popover",popoverOpened:"tc-popover--opened",item:"tc-popover__item",itemHidden:"tc-popover__item--hidden",itemConfirmState:"tc-popover__item--confirm",itemIcon:"tc-popover__item-icon",itemLabel:"tc-popover__item-label"}}render(){return this.wrapper=s("div",f.CSS.popover),this.items.forEach(((e,t)=>{const n=s("div",f.CSS.item),r=s("div",f.CSS.itemIcon,{innerHTML:e.icon}),o=s("div",f.CSS.itemLabel,{textContent:e.label});n.dataset.index=t,n.appendChild(r),n.appendChild(o),this.wrapper.appendChild(n),this.itemEls.push(n)})),this.wrapper.addEventListener("click",(e=>{this.popoverClicked(e)})),this.wrapper}popoverClicked(e){const t=e.target.closest(`.${f.CSS.item}`);if(!t)return;const n=t.dataset.index,r=this.items[n];!r.confirmationRequired||this.hasConfirmationState(t)?r.onClick():this.setConfirmationState(t)}setConfirmationState(e){e.classList.add(f.CSS.itemConfirmState)}clearConfirmationState(e){e.classList.remove(f.CSS.itemConfirmState)}hasConfirmationState(e){return e.classList.contains(f.CSS.itemConfirmState)}get opened(){return this.wrapper.classList.contains(f.CSS.popoverOpened)}open(){this.items.forEach(((e,t)=>{"function"==typeof e.hideIf&&this.itemEls[t].classList.toggle(f.CSS.itemHidden,e.hideIf())})),this.wrapper.classList.add(f.CSS.popoverOpened)}close(){this.wrapper.classList.remove(f.CSS.popoverOpened),this.itemEls.forEach((e=>{this.clearConfirmationState(e)}))}}class p{constructor({api:e,items:t,onOpen:n,onClose:r,cssModifier:o=""}){this.api=e,this.items=t,this.onOpen=n,this.onClose=r,this.cssModifier=o,this.popover=null,this.wrapper=this.createToolbox()}static get CSS(){return{toolbox:"tc-toolbox",toolboxShowed:"tc-toolbox--showed",toggler:"tc-toolbox__toggler"}}get element(){return this.wrapper}createToolbox(){const e=s("div",[p.CSS.toolbox,this.cssModifier?`${p.CSS.toolbox}--${this.cssModifier}`:""]),t=this.createPopover(),n=this.createToggler();return e.appendChild(n),e.appendChild(t),e}createToggler(){const e=s("div",p.CSS.toggler,{innerHTML:a.a});return e.addEventListener("click",(()=>{this.togglerClicked()})),e}createPopover(){return this.popover=new f({items:this.items}),this.popover.render()}togglerClicked(){this.popover.opened?(this.popover.close(),this.onClose()):(this.popover.open(),this.onOpen())}show(e){const t=e();Object.entries(t).forEach((([e,t])=>{this.wrapper.style[e]=t})),this.wrapper.classList.add(p.CSS.toolboxShowed)}hide(){this.popover.close(),this.wrapper.classList.remove(p.CSS.toolboxShowed)}}var h=n(3),m=n.n(h),v=n(4),g=n.n(v),y=n(5),b=n.n(y),_=n(6),w=n.n(_),k=n(1),x=n.n(k);const C={wrapper:"tc-wrap",wrapperReadOnly:"tc-wrap--readonly",table:"tc-table",row:"tc-row",withHeadings:"tc-table--heading",rowSelected:"tc-row--selected",cell:"tc-cell",cellSelected:"tc-cell--selected",addRow:"tc-add-row",addColumn:"tc-add-column"};class S{constructor(e,t,n,r){this.readOnly=e,this.api=t,this.data=n,this.config=r,this.wrapper=null,this.table=null,this.toolboxColumn=this.createColumnToolbox(),this.toolboxRow=this.createRowToolbox(),this.createTableWrapper(),this.hoveredRow=0,this.hoveredColumn=0,this.selectedRow=0,this.selectedColumn=0,this.tunes={withHeadings:!1},this.resize(),this.fill(),this.focusedCell={row:0,column:0},this.documentClicked=e=>{const t=null!==e.target.closest(`.${C.table}`),n=null===e.target.closest(`.${C.wrapper}`);(t||n)&&this.hideToolboxes();const r=e.target.closest(`.${C.addRow}`),o=e.target.closest(`.${C.addColumn}`);r&&r.parentNode===this.wrapper?(this.addRow(void 0,!0),this.hideToolboxes()):o&&o.parentNode===this.wrapper&&(this.addColumn(void 0,!0),this.hideToolboxes())},this.readOnly||this.bindEvents()}getWrapper(){return this.wrapper}bindEvents(){document.addEventListener("click",this.documentClicked),this.table.addEventListener("mousemove",function(e,t){let n=0;return function(...r){const o=(new Date).getTime();if(!(o-n<e))return n=o,t(...r)}}(150,(e=>this.onMouseMoveInTable(e))),{passive:!0}),this.table.onkeypress=e=>this.onKeyPressListener(e),this.table.addEventListener("keydown",(e=>this.onKeyDownListener(e))),this.table.addEventListener("focusin",(e=>this.focusInTableListener(e)))}createColumnToolbox(){return new p({api:this.api,cssModifier:"column",items:[{label:this.api.i18n.t("Add column to left"),icon:m.a,onClick:()=>{this.addColumn(this.selectedColumn,!0),this.hideToolboxes()}},{label:this.api.i18n.t("Add column to right"),icon:g.a,onClick:()=>{this.addColumn(this.selectedColumn+1,!0),this.hideToolboxes()}},{label:this.api.i18n.t("Delete column"),icon:x.a,hideIf:()=>1===this.numberOfColumns,confirmationRequired:!0,onClick:()=>{this.deleteColumn(this.selectedColumn),this.hideToolboxes()}}],onOpen:()=>{this.selectColumn(this.hoveredColumn),this.hideRowToolbox()},onClose:()=>{this.unselectColumn()}})}createRowToolbox(){return new p({api:this.api,cssModifier:"row",items:[{label:this.api.i18n.t("Add row above"),icon:b.a,onClick:()=>{this.addRow(this.selectedRow,!0),this.hideToolboxes()}},{label:this.api.i18n.t("Add row below"),icon:w.a,onClick:()=>{this.addRow(this.selectedRow+1,!0),this.hideToolboxes()}},{label:this.api.i18n.t("Delete row"),icon:x.a,hideIf:()=>1===this.numberOfRows,confirmationRequired:!0,onClick:()=>{this.deleteRow(this.selectedRow),this.hideToolboxes()}}],onOpen:()=>{this.selectRow(this.hoveredRow),this.hideColumnToolbox()},onClose:()=>{this.unselectRow()}})}moveCursorToNextRow(){this.focusedCell.row!==this.numberOfRows?(this.focusedCell.row+=1,this.focusCell(this.focusedCell)):(this.addRow(),this.focusedCell.row+=1,this.focusCell(this.focusedCell),this.updateToolboxesPosition(0,0))}getCell(e,t){return this.table.querySelector(`.${C.row}:nth-child(${e}) .${C.cell}:nth-child(${t})`)}getRow(e){return this.table.querySelector(`.${C.row}:nth-child(${e})`)}getRowByCell(e){return e.parentElement}getRowFirstCell(e){return e.querySelector(`.${C.cell}:first-child`)}setCellContent(e,t,n){this.getCell(e,t).innerHTML=n}addColumn(e=-1,t=!1){let n=this.numberOfColumns;for(let r=1;r<=this.numberOfRows;r++){let o;const i=this.createCell();if(e>0&&e<=n?u(i,o=this.getCell(r,e)):o=this.getRow(r).appendChild(i),1===r){const o=this.getCell(r,e>0?e:n+1);o&&t&&d(o)}}this.addHeadingAttrToFirstRow()}addRow(e=-1,t=!1){let n,r=s("div",C.row);this.tunes.withHeadings&&this.removeHeadingAttrFromFirstRow();let o=this.numberOfColumns;n=e>0&&e<=this.numberOfRows?u(r,this.getRow(e)):this.table.appendChild(r),this.fillRow(n,o),this.tunes.withHeadings&&this.addHeadingAttrToFirstRow();const i=this.getRowFirstCell(n);return i&&t&&d(i),n}deleteColumn(e){for(let t=1;t<=this.numberOfRows;t++){const n=this.getCell(t,e);if(!n)return;n.remove()}}deleteRow(e){this.getRow(e).remove(),this.addHeadingAttrToFirstRow()}
2createTableWrapper(){if(this.wrapper=s("div",C.wrapper),this.table=s("div",C.table),this.readOnly&&this.wrapper.classList.add(C.wrapperReadOnly),this.wrapper.appendChild(this.toolboxRow.element),this.wrapper.appendChild(this.toolboxColumn.element),this.wrapper.appendChild(this.table),!this.readOnly){const e=s("div",C.addColumn,{innerHTML:o.a}),t=s("div",C.addRow,{innerHTML:o.a});this.wrapper.appendChild(e),this.wrapper.appendChild(t)}}computeInitialSize(){const e=this.data&&this.data.content,t=Array.isArray(e),n=!!t&&e.length,r=t?e.length:void 0,o=n?e[0].length:void 0,i=Number.parseInt(this.config&&this.config.rows),a=Number.parseInt(this.config&&this.config.cols),s=!isNaN(i)&&i>0?i:void 0,l=!isNaN(a)&&a>0?a:void 0;return{rows:r||s||2,cols:o||l||2}}resize(){const{rows:e,cols:t}=this.computeInitialSize();for(let t=0;t<e;t++)this.addRow();for(let e=0;e<t;e++)this.addColumn()}fill(){const e=this.data;if(e&&e.content)for(let t=0;t<e.content.length;t++)for(let n=0;n<e.content[t].length;n++)this.setCellContent(t+1,n+1,e.content[t][n])}fillRow(e,t){for(let n=1;n<=t;n++){const t=this.createCell();e.appendChild(t)}}createCell(){return s("div",C.cell,{contentEditable:!this.readOnly})}get numberOfRows(){return this.table.childElementCount}get numberOfColumns(){return this.numberOfRows?this.table.querySelector(`.${C.row}:first-child`).childElementCount:0}get isColumnMenuShowing(){return 0!==this.selectedColumn}get isRowMenuShowing(){return 0!==this.selectedRow}onMouseMoveInTable(e){const{row:t,column:n}=this.getHoveredCell(e);this.hoveredColumn=n,this.hoveredRow=t,this.updateToolboxesPosition()}onKeyPressListener(e){if("Enter"===e.key){if(e.shiftKey)return!0;this.moveCursorToNextRow()}return"Enter"!==e.key}onKeyDownListener(e){"Tab"===e.key&&e.stopPropagation()}focusInTableListener(e){const t=e.target,n=this.getRowByCell(t);this.focusedCell={row:Array.from(this.table.querySelectorAll(`.${C.row}`)).indexOf(n)+1,column:Array.from(n.querySelectorAll(`.${C.cell}`)).indexOf(t)+1}}hideToolboxes(){this.hideRowToolbox(),this.hideColumnToolbox(),this.updateToolboxesPosition()}hideRowToolbox(){this.unselectRow(),this.toolboxRow.hide()}hideColumnToolbox(){this.unselectColumn(),this.toolboxColumn.hide()}focusCell(){this.focusedCellElem.focus()}get focusedCellElem(){const{row:e,column:t}=this.focusedCell;return this.getCell(e,t)}updateToolboxesPosition(e=this.hoveredRow,t=this.hoveredColumn){this.isColumnMenuShowing||t>0&&t<=this.numberOfColumns&&this.toolboxColumn.show((()=>({left:`calc((100% - var(--cell-size)) / (${this.numberOfColumns} * 2) * (1 + (${t} - 1) * 2))`}))),this.isRowMenuShowing||e>0&&t<=this.numberOfColumns&&this.toolboxRow.show((()=>{const t=this.getRow(e),{fromTopBorder:n}=c(this.table,t),{height:r}=t.getBoundingClientRect();return{top:`${Math.ceil(n+r/2)}px`}}))}setHeadingsSetting(e){this.tunes.withHeadings=e,e?(this.table.classList.add(C.withHeadings),this.addHeadingAttrToFirstRow()):(this.table.classList.remove(C.withHeadings),this.removeHeadingAttrFromFirstRow())}addHeadingAttrToFirstRow(){for(let e=1;e<=this.numberOfColumns;e++){let t=this.getCell(1,e);t&&t.setAttribute("heading",this.api.i18n.t("Heading"))}}removeHeadingAttrFromFirstRow(){for(let e=1;e<=this.numberOfColumns;e++){let t=this.getCell(1,e);t&&t.removeAttribute("heading")}}selectRow(e){const t=this.getRow(e);t&&(this.selectedRow=e,t.classList.add(C.rowSelected))}unselectRow(){if(this.selectedRow<=0)return;const e=this.table.querySelector(`.${C.rowSelected}`);e&&e.classList.remove(C.rowSelected),this.selectedRow=0}selectColumn(e){for(let t=1;t<=this.numberOfRows;t++){const n=this.getCell(t,e);n&&n.classList.add(C.cellSelected)}this.selectedColumn=e}unselectColumn(){if(this.selectedColumn<=0)return;let e=this.table.querySelectorAll(`.${C.cellSelected}`);Array.from(e).forEach((e=>{e.classList.remove(C.cellSelected)})),this.selectedColumn=0}getHoveredCell(e){let t=this.hoveredRow,n=this.hoveredColumn;const{width:r,height:o,x:i,y:a}=function(e,t){const n=e.getBoundingClientRect(),{width:r,height:o,x:i,y:a}=n,{clientX:s,clientY:l}=t;return{width:r,height:o,x:s-i,y:l-a}}(this.table,e);return i>=0&&(n=this.binSearch(this.numberOfColumns,(e=>this.getCell(1,e)),(({fromLeftBorder:e})=>i<e),(({fromRightBorder:e})=>i>r-e))),a>=0&&(t=this.binSearch(this.numberOfRows,(e=>this.getCell(e,1)),(({fromTopBorder:e})=>a<e),(({fromBottomBorder:e})=>a>o-e))),{row:t||this.hoveredRow,column:n||this.hoveredColumn}}binSearch(e,t,n,r){let o,i=0,a=e+1,s=0;for(;i<a-1&&s<10;){const e=t(o=Math.ceil((i+a)/2)),l=c(this.table,e);if(n(l))a=o;else{if(!r(l))break;i=o}s++}return o}getData(){const e=[];for(let t=1;t<=this.numberOfRows;t++){const n=this.table.querySelector(`.${C.row}:nth-child(${t})`),r=Array.from(n.querySelectorAll(`.${C.cell}`));r.every((e=>!e.textContent.trim()))||e.push(r.map((e=>e.innerHTML)))}return e}destroy(){document.removeEventListener("click",this.documentClicked)}}var E=n(7),T=n.n(E),O=n(8),I=n.n(O),A=n(9),D=n.n(A);class P{static get isReadOnlySupported(){return!0}static get enableLineBreaks(){return!0}constructor({data:e,config:t,api:n,readOnly:r}){this.api=n,this.readOnly=r,this.data={withHeadings:!(!e||!e.withHeadings)&&e.withHeadings,content:e&&e.content?e.content:[]},this.config=t,this.table=null}static get toolbox(){return{icon:T.a,title:"Table"}}static get CSS(){return{settingsWrapper:"tc-settings"}}render(){return this.table=new S(this.readOnly,this.api,this.data,this.config),this.container=s("div",this.api.styles.block),this.container.appendChild(this.table.getWrapper()),this.table.setHeadingsSetting(this.data.withHeadings),this.container}renderSettings(){const e=s("div",P.CSS.settingsWrapper);return[{name:this.api.i18n.t("With headings"),icon:I.a,isActive:this.data.withHeadings,setTune:()=>{this.data.withHeadings=!0}},{name:this.api.i18n.t("Without headings"),icon:D.a,isActive:!this.data.withHeadings,setTune:()=>{this.data.withHeadings=!1}}
2].forEach((t=>{let n=s("div",this.api.styles.settingsButton);t.isActive&&n.classList.add(this.api.styles.settingsButtonActive),n.innerHTML=t.icon,n.addEventListener("click",(()=>this.toggleTune(t,n))),this.api.tooltip.onHover(n,t.name,{placement:"top",hidingDelay:500}),e.append(n)})),e}save(){const e=this.table.getData();return{withHeadings:this.data.withHeadings,content:e}}toggleTune(e,t){const n=t.parentNode.querySelectorAll("."+this.api.styles.settingsButton);Array.from(n).forEach((e=>e.classList.remove(this.api.styles.settingsButtonActive))),t.classList.toggle(this.api.styles.settingsButtonActive),e.setTune(),this.table.setHeadingsSetting(this.data.withHeadings)}destroy(){this.table.destroy()}}n(10),t.default=P}]).default},4123:function(e,t,n){!function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=r(t),i=r(n);function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function c(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var u="transitionend",d=1e6,f=1e3;function p(e){return null==e?""+e:{}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase()}function h(){return{bindType:u,delegateType:u,handle:function(e){if(o.default(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}}function m(e){var t=this,n=!1;return o.default(this).one(g.TRANSITION_END,(function(){n=!0})),setTimeout((function(){n||g.triggerTransitionEnd(t)}),e),this}function v(){o.default.fn.emulateTransitionEnd=m,o.default.event.special[g.TRANSITION_END]=h()}var g={TRANSITION_END:"bsTransitionEnd",getUID:function(e){do{e+=~~(Math.random()*d)}while(document.getElementById(e));return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");if(!t||"#"===t){var n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var t=o.default(e).css("transition-duration"),n=o.default(e).css("transition-delay"),r=parseFloat(t),i=parseFloat(n);return r||i?(t=t.split(",")[0],n=n.split(",")[0],(parseFloat(t)+parseFloat(n))*f):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){o.default(e).trigger(u)},supportsTransitionEnd:function(){return Boolean(u)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var o=n[r],i=t[r],a=i&&g.isElement(i)?"element":p(i);if(!new RegExp(o).test(a))throw new Error(e.toUpperCase()+': Option "'+r+'" provided type "'+a+'" but expected type "'+o+'".')}},findShadowRoot:function(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){var t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?g.findShadowRoot(e.parentNode):null},jQueryDetection:function(){if(void 0===o.default)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=o.default.fn.jquery.split(" ")[0].split("."),t=1,n=2,r=9,i=1,a=4;if(e[0]<n&&e[1]<r||e[0]===t&&e[1]===r&&e[2]<i||e[0]>=a)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};g.jQueryDetection(),v();var y="alert",b="4.6.0",_="bs.alert",w="."+_,k=".data-api",x=o.default.fn[y],C='[data-dismiss="alert"]',S="close"+w,E="closed"+w,T="click"+w+k,O="alert",I="fade",A="show",D=function(){function e(e){this._element=e}var t=e.prototype;return t.close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},t.dispose=function(){o.default.removeData(this._element,_),this._element=null},t._getRootElement=function(e){var t=g.getSelectorFromElement(e),n=!1;return t&&(n=document.querySelector(t)),n||(n=o.default(e).closest("."+O)[0]),n},t._triggerCloseEvent=function(e){var t=o.default.Event(S);return o.default(e).trigger(t),t},t._removeElement=function(e){var t=this;if(o.default(e).removeClass(A),o.default(e).hasClass(I)){var n=g.getTransitionDurationFromElement(e);o.default(e).one(g.TRANSITION_END,(function(n){return t._destroyElement(e,n)})).emulateTransitionEnd(n)}else this._destroyElement(e)},t._destroyElement=function(e){o.default(e).detach().trigger(E).remove()},e._jQueryInterface=function(t){return this.each((function(){var n=o.default(this),r=n.data(_);r||(r=new e(this),n.data(_,r)),"close"===t&&r[t](this)}))},e._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},s(e,null,[{key:"VERSION",get:function(){return b}}]),e}();o.default(document).on(T,C,D._handleDismiss(new D)),o.default.fn[y]=D._jQueryInterface,o.default.fn[y].Constructor=D,o.default.fn[y].noConflict=function(){return o.default.fn[y]=x,D._jQueryInterface};var P="button",M="4.6.0",$="bs.button",N="."+$,R=".data-api",L=o.default.fn[P],j="active",F="btn",B="focus",q='[data-toggle^="button"]',H='[data-toggle="buttons"]',z='[data-toggle="button"]',U='[data-toggle="buttons"] .btn',V='input:not([type="hidden"])',G=".active",W=".btn",Y="click"+N+R,K="focus"+N+R+" blur"+N+R,Q="load"+N+R,J=function(){function e(e){this._element=e,this.shouldAvoidTriggerChange=!1}var t=e.prototype;return t.toggle=function(){var e=!0,t=!0,n=o.default(this._element).closest(H)[0];if(n){var r=this._element.querySelector(V);if(r){if("radio"===r.type)if(r.checked&&this._element.classList.contains(j))e=!1;else{var i=n.querySelector(G);i&&o.default(i).removeClass(j)}e&&("checkbox"!==r.type&&"radio"!==r.type||(r.checked=!this._element.classList.contains(j)),this.shouldAvoidTriggerChange||o.default(r).trigger("change")),r.focus(),t=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(t&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(j)),e&&o.default(this._element).toggleClass(j))},t.dispose=function(){o.default.removeData(this._element,$),this._element=null},e._jQueryInterface=function(t,n){return this.each((function(){var r=o.default(this),i=r.data($);
vendor: 9,726 bytes, line 2
2i||(i=new e(this),r.data($,i)),i.shouldAvoidTriggerChange=n,"toggle"===t&&i[t]()}))},s(e,null,[{key:"VERSION",get:function(){return M}}]),e}();o.default(document).on(Y,q,(function(e){var t=e.target,n=t;if(o.default(t).hasClass(F)||(t=o.default(t).closest(W)[0]),!t||t.hasAttribute("disabled")||t.classList.contains("disabled"))e.preventDefault();else{var r=t.querySelector(V);if(r&&(r.hasAttribute("disabled")||r.classList.contains("disabled")))return void e.preventDefault();"INPUT"!==n.tagName&&"LABEL"===t.tagName||J._jQueryInterface.call(o.default(t),"toggle","INPUT"===n.tagName)}})).on(K,q,(function(e){var t=o.default(e.target).closest(W)[0];o.default(t).toggleClass(B,/^focus(in)?$/.test(e.type))})),o.default(window).on(Q,(function(){for(var e=[].slice.call(document.querySelectorAll(U)),t=0,n=e.length;t<n;t++){var r=e[t],o=r.querySelector(V);o.checked||o.hasAttribute("checked")?r.classList.add(j):r.classList.remove(j)}for(var i=0,a=(e=[].slice.call(document.querySelectorAll(z))).length;i<a;i++){var s=e[i];"true"===s.getAttribute("aria-pressed")?s.classList.add(j):s.classList.remove(j)}})),o.default.fn[P]=J._jQueryInterface,o.default.fn[P].Constructor=J,o.default.fn[P].noConflict=function(){return o.default.fn[P]=L,J._jQueryInterface};var Z="carousel",X="4.6.0",ee="bs.carousel",te="."+ee,ne=".data-api",re=o.default.fn[Z],oe=37,ie=39,ae=500,se=40,le={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},ce={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},ue="next",de="prev",fe="left",pe="right",he="slide"+te,me="slid"+te,ve="keydown"+te,ge="mouseenter"+te,ye="mouseleave"+te,be="touchstart"+te,_e="touchmove"+te,we="touchend"+te,ke="pointerdown"+te,xe="pointerup"+te,Ce="dragstart"+te,Se="load"+te+ne,Ee="click"+te+ne,Te="carousel",Oe="active",Ie="slide",Ae="carousel-item-right",De="carousel-item-left",Pe="carousel-item-next",Me="carousel-item-prev",$e="pointer-event",Ne=".active",Re=".active.carousel-item",Le=".carousel-item",je=".carousel-item img",Fe=".carousel-item-next, .carousel-item-prev",Be=".carousel-indicators",qe="[data-slide], [data-slide-to]",He='[data-ride="carousel"]',ze={TOUCH:"touch",PEN:"pen"},Ue=function(){function e(e,t){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._element=e,this._indicatorsElement=this._element.querySelector(Be),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var t=e.prototype;return t.next=function(){this._isSliding||this._slide(ue)},t.nextWhenVisible=function(){var e=o.default(this._element);!document.hidden&&e.is(":visible")&&"hidden"!==e.css("visibility")&&this.next()},t.prev=function(){this._isSliding||this._slide(de)},t.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(Fe)&&(g.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.cycle=function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},t.to=function(e){var t=this;this._activeElement=this._element.querySelector(Re);var n=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)o.default(this._element).one(me,(function(){return t.to(e)}));else{if(n===e)return this.pause(),void this.cycle();var r=e>n?ue:de;this._slide(r,this._items[e])}},t.dispose=function(){o.default(this._element).off(te),o.default.removeData(this._element,ee),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},t._getConfig=function(e){return e=l({},le,e),g.typeCheckConfig(Z,e,ce),e},t._handleSwipe=function(){var e=Math.abs(this.touchDeltaX);if(!(e<=se)){var t=e/this.touchDeltaX;this.touchDeltaX=0,t>0&&this.prev(),t<0&&this.next()}},t._addEventListeners=function(){var e=this;this._config.keyboard&&o.default(this._element).on(ve,(function(t){return e._keydown(t)})),"hover"===this._config.pause&&o.default(this._element).on(ge,(function(t){return e.pause(t)})).on(ye,(function(t){return e.cycle(t)})),this._config.touch&&this._addTouchEventListeners()},t._addTouchEventListeners=function(){var e=this;if(this._touchSupported){var t=function(t){e._pointerEvent&&ze[t.originalEvent.pointerType.toUpperCase()]?e.touchStartX=t.originalEvent.clientX:e._pointerEvent||(e.touchStartX=t.originalEvent.touches[0].clientX)},n=function(t){t.originalEvent.touches&&t.originalEvent.touches.length>1?e.touchDeltaX=0:e.touchDeltaX=t.originalEvent.touches[0].clientX-e.touchStartX},r=function(t){e._pointerEvent&&ze[t.originalEvent.pointerType.toUpperCase()]&&(e.touchDeltaX=t.originalEvent.clientX-e.touchStartX),e._handleSwipe(),"hover"===e._config.pause&&(e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout((function(t){return e.cycle(t)}),ae+e._config.interval))};o.default(this._element.querySelectorAll(je)).on(Ce,(function(e){return e.preventDefault()})),this._pointerEvent?(o.default(this._element).on(ke,(function(e){return t(e)})),o.default(this._element).on(xe,(function(e){return r(e)})),this._element.classList.add($e)):(o.default(this._element).on(be,(function(e){return t(e)})),o.default(this._element).on(_e,(function(e){return n(e)})),o.default(this._element).on(we,(function(e){return r(e)})))}},t._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case oe:e.preventDefault(),this.prev();break;case ie:e.preventDefault(),this.next()}},t._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(Le)):[],this._items.indexOf(e)},t._getItemByDirection=function(e,t){var n=e===ue,r=e===de,o=this._getItemIndex(t),i=this._items.length-1;if((r&&0===o||n&&o===i)&&!this._config.wrap)return t;var a=(o+(e===de?-1:1))%this._items.length;return-1===a?this._items[this._items.length-1]:this._items[a]},t._triggerSlideEvent=function(e,t){var n=this._getItemIndex(e),r=this._getItemIndex(this._element.querySelector(Re)),i=o.default.Event(he,{relatedTarget:e,direction:t,from:r,to:n});return o.default(this._element).trigger(i),i},t._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var t=[].slice.call(this._indicatorsElement.querySelectorAll(Ne));o.default(t).removeClass(Oe);var n=this._indicatorsElement.children[this._getItemIndex(e)];n&&o.default(n).addClass(Oe)}},t._updateInterval=function(){var e=this._activeElement||this._element.querySelector(Re);if(e){var t=parseInt(e.getAttribute("data-interval"),10);t?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=t):this._config.interval=this._config.defaultInterval||this._config.interval}},t._slide=function(e,t){var n,r,i,a=this,s=this._element.querySelector(Re),l=this._getItemIndex(s),c=t||s&&this._getItemByDirection(e,s),u=this._getItemIndex(c),d=Boolean(this._interval);if(e===ue?(n=De,r=Pe,i=fe):(n=Ae,r=Me,i=pe),c&&o.default(c).hasClass(Oe))this._isSliding=!1;else if(!this._triggerSlideEvent(c,i).isDefaultPrevented()&&s&&c){this._isSliding=!0,d&&this.pause(),this._setActiveIndicatorElement(c),this._activeElement=c;var f=o.default.Event(me,{relatedTarget:c,direction:i,from:l,to:u});if(o.default(this._element).hasClass(Ie)){o.default(c).addClass(r),g.reflow(c),o.default(s).addClass(n),o.default(c).addClass(n);var p=g.getTransitionDurationFromElement(s);o.default(s).one(g.TRANSITION_END,(function(){o.default(c).removeClass(n+" "+r).addClass(Oe),o.default(s).removeClass(Oe+" "+r+" "+n),a._isSliding=!1,setTimeout((function(){return o.default(a._element).trigger(f)}),0)})).emulateTransitionEnd(p)}else o.default(s).removeClass(Oe),o.default(c).addClass(Oe),this._isSliding=!1,o.default(this._element).trigger(f);d&&this.cycle()}},e._jQueryInterface=function(t){return this.each((function(){var n=o.default(this).data(ee),r=l({},le,o.default(this).data());"object"==typeof t&&(r=l({},r,t));var i="string"==typeof t?t:r.slide;if(n||(n=new e(this,r),o.default(this).data(ee,n)),"number"==typeof t)n.to(t);else if("string"==typeof i){if(void 0===n[i])throw new TypeError('No method named "'+i+'"');n[i]()}else r.interval&&r.ride&&(n.pause(),n.cycle())}))},e._dataApiClickHandler=function(t){var n=g.getSelectorFromElement(this);if(n){var r=o.default(n)[0];if(r&&o.default(r).hasClass(Te)){var i=l({},o.default(r).data(),o.default(this).data()),a=this.getAttribute("data-slide-to");a&&(i.interval=!1),e._jQueryInterface.call(o.default(r),i),a&&o.default(r).data(ee).to(a),t.preventDefault()}}},s(e,null,[{key:"VERSION",get:function(){return X}},{key:"Default",get:function(){return le}}]),e}();o.default(document).on(Ee,qe,Ue._dataApiClickHandler),o.default(window).on(Se,(function(){for(var e=[].slice.call(document.querySelectorAll(He)),t=0,n=e.length;t<n;t++){var r=o.default(e[t]);Ue._jQueryInterface.call(r,r.data())}})),o.default.fn[Z]=Ue._jQueryInterface,o.default.fn[Z].Constructor=Ue,o.default.fn[Z].noConflict=function(){return o.default.fn[Z]=re,Ue._jQueryInterface};var Ve="collapse",Ge="4.6.0",We="bs.collapse",Ye="."+We,Ke=".data-api",Qe=o.default.fn[Ve],Je={toggle:!0,parent:""},Ze={toggle:"boolean",parent:"(string|element)"},Xe="show"+Ye,et="shown"+Ye,tt="hide"+Ye,nt="hidden"+Ye,rt="click"+Ye+Ke,ot="show",it="
2collapse",at="collapsing",st="collapsed",lt="width",ct="height",ut=".show, .collapsing",dt='[data-toggle="collapse"]',ft=function(){function e(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(dt)),r=0,o=n.length;r<o;r++){var i=n[r],a=g.getSelectorFromElement(i),s=[].slice.call(document.querySelectorAll(a)).filter((function(t){return t===e}));null!==a&&s.length>0&&(this._selector=a,this._triggerArray.push(i))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t=e.prototype;return t.toggle=function(){o.default(this._element).hasClass(ot)?this.hide():this.show()},t.show=function(){var t,n,r=this;if(!(this._isTransitioning||o.default(this._element).hasClass(ot)||(this._parent&&0===(t=[].slice.call(this._parent.querySelectorAll(ut)).filter((function(e){return"string"==typeof r._config.parent?e.getAttribute("data-parent")===r._config.parent:e.classList.contains(it)}))).length&&(t=null),t&&(n=o.default(t).not(this._selector).data(We))&&n._isTransitioning))){var i=o.default.Event(Xe);if(o.default(this._element).trigger(i),!i.isDefaultPrevented()){t&&(e._jQueryInterface.call(o.default(t).not(this._selector),"hide"),n||o.default(t).data(We,null));var a=this._getDimension();o.default(this._element).removeClass(it).addClass(at),this._element.style[a]=0,this._triggerArray.length&&o.default(this._triggerArray).removeClass(st).attr("aria-expanded",!0),this.setTransitioning(!0);var s=function(){o.default(r._element).removeClass(at).addClass(it+" "+ot),r._element.style[a]="",r.setTransitioning(!1),o.default(r._element).trigger(et)},l="scroll"+(a[0].toUpperCase()+a.slice(1)),c=g.getTransitionDurationFromElement(this._element);o.default(this._element).one(g.TRANSITION_END,s).emulateTransitionEnd(c),this._element.style[a]=this._element[l]+"px"}}},t.hide=function(){var e=this;if(!this._isTransitioning&&o.default(this._element).hasClass(ot)){var t=o.default.Event(tt);if(o.default(this._element).trigger(t),!t.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",g.reflow(this._element),o.default(this._element).addClass(at).removeClass(it+" "+ot);var r=this._triggerArray.length;if(r>0)for(var i=0;i<r;i++){var a=this._triggerArray[i],s=g.getSelectorFromElement(a);null!==s&&(o.default([].slice.call(document.querySelectorAll(s))).hasClass(ot)||o.default(a).addClass(st).attr("aria-expanded",!1))}this.setTransitioning(!0);var l=function(){e.setTransitioning(!1),o.default(e._element).removeClass(at).addClass(it).trigger(nt)};this._element.style[n]="";var c=g.getTransitionDurationFromElement(this._element);o.default(this._element).one(g.TRANSITION_END,l).emulateTransitionEnd(c)}}},t.setTransitioning=function(e){this._isTransitioning=e},t.dispose=function(){o.default.removeData(this._element,We),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},t._getConfig=function(e){return(e=l({},Je,e)).toggle=Boolean(e.toggle),g.typeCheckConfig(Ve,e,Ze),e},t._getDimension=function(){return o.default(this._element).hasClass(lt)?lt:ct},t._getParent=function(){var t,n=this;g.isElement(this._config.parent)?(t=this._config.parent,void 0!==this._config.parent.jquery&&(t=this._config.parent[0])):t=document.querySelector(this._config.parent);var r='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',i=[].slice.call(t.querySelectorAll(r));return o.default(i).each((function(t,r){n._addAriaAndCollapsedClass(e._getTargetFromElement(r),[r])})),t},t._addAriaAndCollapsedClass=function(e,t){var n=o.default(e).hasClass(ot);t.length&&o.default(t).toggleClass(st,!n).attr("aria-expanded",n)},e._getTargetFromElement=function(e){var t=g.getSelectorFromElement(e);return t?document.querySelector(t):null},e._jQueryInterface=function(t){return this.each((function(){var n=o.default(this),r=n.data(We),i=l({},Je,n.data(),"object"==typeof t&&t?t:{});if(!r&&i.toggle&&"string"==typeof t&&/show|hide/.test(t)&&(i.toggle=!1),r||(r=new e(this,i),n.data(We,r)),"string"==typeof t){if(void 0===r[t])throw new TypeError('No method n
2amed "'+t+'"');r[t]()}}))},s(e,null,[{key:"VERSION",get:function(){return Ge}},{key:"Default",get:function(){return Je}}]),e}();o.default(document).on(rt,dt,(function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var t=o.default(this),n=g.getSelectorFromElement(this),r=[].slice.call(document.querySelectorAll(n));o.default(r).each((function(){var e=o.default(this),n=e.data(We)?"toggle":t.data();ft._jQueryInterface.call(e,n)}))})),o.default.fn[Ve]=ft._jQueryInterface,o.default.fn[Ve].Constructor=ft,o.default.fn[Ve].noConflict=function(){return o.default.fn[Ve]=Qe,ft._jQueryInterface};var pt="dropdown",ht="4.6.0",mt="bs.dropdown",vt="."+mt,gt=".data-api",yt=o.default.fn[pt],bt=27,_t=32,wt=9,kt=38,xt=40,Ct=3,St=new RegExp(kt+"|"+xt+"|"+bt),Et="hide"+vt,Tt="hidden"+vt,Ot="show"+vt,It="shown"+vt,At="click"+vt,Dt="click"+vt+gt,Pt="keydown"+vt+gt,Mt="keyup"+vt+gt,$t="disabled",Nt="show",Rt="dropup",Lt="dropright",jt="dropleft",Ft="dropdown-menu-right",Bt="position-static",qt='[data-toggle="dropdown"]',Ht=".dropdown form",zt=".dropdown-menu",Ut=".navbar-nav",Vt=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Gt="top-start",Wt="top-end",Yt="bottom-start",Kt="bottom-end",Qt="right-start",Jt="left-start",Zt={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},Xt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},en=function(){function e(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var t=e.prototype;return t.toggle=function(){if(!this._element.disabled&&!o.default(this._element).hasClass($t)){var t=o.default(this._menu).hasClass(Nt);e._clearMenus(),t||this.show(!0)}},t.show=function(t){if(void 0===t&&(t=!1),!(this._element.disabled||o.default(this._element).hasClass($t)||o.default(this._menu).hasClass(Nt))){var n={relatedTarget:this._element},r=o.default.Event(Ot,n),a=e._getParentFromElement(this._element);if(o.default(a).trigger(r),!r.isDefaultPrevented()){if(!this._inNavbar&&t){if(void 0===i.default)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");var s=this._element;"parent"===this._config.reference?s=a:g.isElement(this._config.reference)&&(s=this._config.reference,void 0!==this._config.reference.jquery&&(s=this._config.reference[0])),"scrollParent"!==this._config.boundary&&o.default(a).addClass(Bt),this._popper=new i.default(s,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===o.default(a).closest(Ut).length&&o.default(document.body).children().on("mouseover",null,o.default.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),o.default(this._menu).toggleClass(Nt),o.default(a).toggleClass(Nt).trigger(o.default.Event(It,n))}}},t.hide=function(){if(!this._element.disabled&&!o.default(this._element).hasClass($t)&&o.default(this._menu).hasClass(Nt)){var t={relatedTarget:this._element},n=o.default.Event(Et,t),r=e._getParentFromElement(this._element);o.default(r).trigger(n),n.isDefaultPrevented()||(this._popper&&this._popper.destroy(),o.default(this._menu).toggleClass(Nt),o.default(r).toggleClass(Nt).trigger(o.default.Event(Tt,t)))}},t.dispose=function(){o.default.removeData(this._element,mt),o.default(this._element).off(vt),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},t.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},t._addEventListeners=function(){var e=this;o.default(this._element).on(At,(function(t){t.preventDefault(),t.stopPropagation(),e.toggle()}))},t._getConfig=function(e){return e=l({},this.constructor.Default,o.default(this._element).data(),e),g.typeCheckConfig(pt,e,this.constructor.DefaultType),e},t._getMenuElement=function(){if(!this._menu){var t=e._getParentFromElement(this._element);t&&(this._menu=t.querySelector(zt))}return this._menu},t._getPlacement=function(){var e=o.default(this._element.parentNode),t=Yt;return e.hasClass(Rt)?t=o.default(this._menu).hasClass(Ft)?Wt:Gt:e.hasClass(Lt)?t=Qt:e.hasClass(jt)?t=Jt:o.default(this._menu).hasClass(Ft)&&(t=Kt),t},t._detectNavbar=function(){return o.default(this._element).closest(".
2navbar").length>0},t._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,e._config.offset(t.offsets,e._element)||{}),t}:t.offset=this._config.offset,t},t._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),l({},e,this._config.popperConfig)},e._jQueryInterface=function(t){return this.each((function(){var n=o.default(this).data(mt);if(n||(n=new e(this,"object"==typeof t?t:null),o.default(this).data(mt,n)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},e._clearMenus=function(t){if(!t||t.which!==Ct&&("keyup"!==t.type||t.which===wt))for(var n=[].slice.call(document.querySelectorAll(qt)),r=0,i=n.length;r<i;r++){var a=e._getParentFromElement(n[r]),s=o.default(n[r]).data(mt),l={relatedTarget:n[r]};if(t&&"click"===t.type&&(l.clickEvent=t),s){var c=s._menu;if(o.default(a).hasClass(Nt)&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&t.which===wt)&&o.default.contains(a,t.target))){var u=o.default.Event(Et,l);o.default(a).trigger(u),u.isDefaultPrevented()||("ontouchstart"in document.documentElement&&o.default(document.body).children().off("mouseover",null,o.default.noop),n[r].setAttribute("aria-expanded","false"),s._popper&&s._popper.destroy(),o.default(c).removeClass(Nt),o.default(a).removeClass(Nt).trigger(o.default.Event(Tt,l)))}}}},e._getParentFromElement=function(e){var t,n=g.getSelectorFromElement(e);return n&&(t=document.querySelector(n)),t||e.parentNode},e._dataApiKeydownHandler=function(t){if(!(/input|textarea/i.test(t.target.tagName)?t.which===_t||t.which!==bt&&(t.which!==xt&&t.which!==kt||o.default(t.target).closest(zt).length):!St.test(t.which))&&!this.disabled&&!o.default(this).hasClass($t)){var n=e._getParentFromElement(this),r=o.default(n).hasClass(Nt);if(r||t.which!==bt){if(t.preventDefault(),t.stopPropagation(),!r||t.which===bt||t.which===_t)return t.which===bt&&o.default(n.querySelector(qt)).trigger("focus"),void o.default(this).trigger("click");var i=[].slice.call(n.querySelectorAll(Vt)).filter((function(e){return o.default(e).is(":visible")}));if(0!==i.length){var a=i.indexOf(t.target);t.which===kt&&a>0&&a--,t.which===xt&&a<i.length-1&&a++,a<0&&(a=0),i[a].focus()}}}},s(e,null,[{key:"VERSION",get:function(){return ht}},{key:"Default",get:function(){return Zt}},{key:"DefaultType",get:function(){return Xt}}]),e}();o.default(document).on(Pt,qt,en._dataApiKeydownHandler).on(Pt,zt,en._dataApiKeydownHandler).on(Dt+" "+Mt,en._clearMenus).on(Dt,qt,(function(e){e.preventDefault(),e.stopPropagation(),en._jQueryInterface.call(o.default(this),"toggle")})).on(Dt,Ht,(function(e){e.stopPropagation()})),o.default.fn[pt]=en._jQueryInterface,o.default.fn[pt].Constructor=en,o.default.fn[pt].noConflict=function(){return o.default.fn[pt]=yt,en._jQueryInterface};var tn="modal",nn="4.6.0",rn="bs.modal",on="."+rn,an=".data-api",sn=o.default.fn[tn],ln=27,cn={backdrop:!0,keyboard:!0,focus:!0,show:!0},un={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},dn="hide"+on,fn="hidePrevented"+on,pn="hidden"+on,hn="show"+on,mn="shown"+on,vn="focusin"+on,gn="resize"+on,yn="click.dismiss"+on,bn="keydown.dismiss"+on,_n="mouseup.dismiss"+on,wn="mousedown.dismiss"+on,kn="click"+on+an,xn="modal-dialog-scrollable",Cn="modal-scrollbar-measure",Sn="modal-backdrop",En="modal-open",Tn="fade",On="show",In="modal-static",An=".modal-dialog",Dn=".modal-body",Pn='[data-toggle="modal"]',Mn='[data-dismiss="modal"]',$n=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Nn=".sticky-top",Rn=function(){function e(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(An),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var t=e.prototype;return t.toggle=function(e){return this._isShown?this.hide():this.show(e)},t.show=function(e){var t=this;if(!this._isShown&&!this._isTransitioning){o.default(this._element).hasClass(Tn)&&
vendor: 7,826 bytes, line 2
2(this._isTransitioning=!0);var n=o.default.Event(hn,{relatedTarget:e});o.default(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),o.default(this._element).on(yn,Mn,(function(e){return t.hide(e)})),o.default(this._dialog).on(wn,(function(){o.default(t._element).one(_n,(function(e){o.default(e.target).is(t._element)&&(t._ignoreBackdropClick=!0)}))})),this._showBackdrop((function(){return t._showElement(e)})))}},t.hide=function(e){var t=this;if(e&&e.preventDefault(),this._isShown&&!this._isTransitioning){var n=o.default.Event(dn);if(o.default(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var r=o.default(this._element).hasClass(Tn);if(r&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),o.default(document).off(vn),o.default(this._element).removeClass(On),o.default(this._element).off(yn),o.default(this._dialog).off(wn),r){var i=g.getTransitionDurationFromElement(this._element);o.default(this._element).one(g.TRANSITION_END,(function(e){return t._hideModal(e)})).emulateTransitionEnd(i)}else this._hideModal()}}},t.dispose=function(){[window,this._element,this._dialog].forEach((function(e){return o.default(e).off(on)})),o.default(document).off(vn),o.default.removeData(this._element,rn),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},t.handleUpdate=function(){this._adjustDialog()},t._getConfig=function(e){return e=l({},cn,e),g.typeCheckConfig(tn,e,un),e},t._triggerBackdropTransition=function(){var e=this,t=o.default.Event(fn);if(o.default(this._element).trigger(t),!t.isDefaultPrevented()){var n=this._element.scrollHeight>document.documentElement.clientHeight;n||(this._element.style.overflowY="hidden"),this._element.classList.add(In);var r=g.getTransitionDurationFromElement(this._dialog);o.default(this._element).off(g.TRANSITION_END),o.default(this._element).one(g.TRANSITION_END,(function(){e._element.classList.remove(In),n||o.default(e._element).one(g.TRANSITION_END,(function(){e._element.style.overflowY=""})).emulateTransitionEnd(e._element,r)})).emulateTransitionEnd(r),this._element.focus()}},t._showElement=function(e){var t=this,n=o.default(this._element).hasClass(Tn),r=this._dialog?this._dialog.querySelector(Dn):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),o.default(this._dialog).hasClass(xn)&&r?r.scrollTop=0:this._element.scrollTop=0,n&&g.reflow(this._element),o.default(this._element).addClass(On),this._config.focus&&this._enforceFocus();var i=o.default.Event(mn,{relatedTarget:e}),a=function(){t._config.focus&&t._element.focus(),t._isTransitioning=!1,o.default(t._element).trigger(i)};if(n){var s=g.getTransitionDurationFromElement(this._dialog);o.default(this._dialog).one(g.TRANSITION_END,a).emulateTransitionEnd(s)}else a()},t._enforceFocus=function(){var e=this;o.default(document).off(vn).on(vn,(function(t){document!==t.target&&e._element!==t.target&&0===o.default(e._element).has(t.target).length&&e._element.focus()}))},t._setEscapeEvent=function(){var e=this;this._isShown?o.default(this._element).on(bn,(function(t){e._config.keyboard&&t.which===ln?(t.preventDefault(),e.hide()):e._config.keyboard||t.which!==ln||e._triggerBackdropTransition()})):this._isShown||o.default(this._element).off(bn)},t._setResizeEvent=function(){var e=this;this._isShown?o.default(window).on(gn,(function(t){return e.handleUpdate(t)})):o.default(window).off(gn)},t._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop((function(){o.default(document.body).removeClass(En),e._resetAdjustments(),e._resetScrollbar(),o.default(e._element).trigger(pn)}))},t._removeBackdrop=function(){this._backdrop&&(o.default(this._backdrop).remove(),this._backdrop=null)},t._showBackdrop=function(e){var t=this,n=o.default(this._element).hasClass(Tn)?Tn:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=Sn,n&&this._backdrop.classList.add(n),o.default(this._backdrop).appendTo(document.body),o.default(this._element).on(yn,(function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===t._config.backdrop?t._triggerBackdropTransition():t.hide())})),n&&g.reflow(this._backdrop),o.default(this._backdrop).addClass(On),!e)return;if(!n)return void e();var r=g.getTransitionDurationFromElement(this._backdrop);o.default(this._backdrop).one(g.TRANSITION_END,e).emulateTransitionEnd(r)}else if(!this._isShown&&this._backdrop){o.default(this._backdrop).removeClass(On);var i=function(){t._removeBackdrop(),e&&e()};if(o.default(this._element).hasClass(Tn)){var a=g.getTransitionDurationFromElement(this._backdrop);o.default(this._backdrop).one(g.TRANSITION_END,i).emulateTransitionEnd(a)}else i()}else e&&e()},t._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(e.left+e.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},t._setScrollbar=function(){var e=this;if(this._isBodyOverflowing){var t=[].slice.call(document.querySelectorAll($n)),n=[].slice.call(document.querySelectorAll(Nn));o.default(t).each((function(t,n){var r=n.style.paddingRight,i=o.default(n).css("padding-right");o.default(n).data("padding-right",r).css("padding-right",parseFloat(i)+e._scrollbarWidth+"px")})),o.default(n).each((function(t,n){var r=n.style.marginRight,i=o.default(n).css("margin-right");o.default(n).data("margin-right",r).css("margin-right",parseFloat(i)-e._scrollbarWidth+"px")}));var r=document.body.style.paddingRight,i=o.default(document.body).css("padding-right");o.default(document.body).data("padding-right",r).css("padding-right",parseFloat(i)+this._scrollbarWidth+"px")}o.default(document.body).addClass(En)},t._resetScrollbar=function(){var e=[].slice.call(document.querySelectorAll($n));o.default(e).each((function(e,t){var n=o.default(t).data("padding-right");o.default(t).removeData("padding-right"),t.style.paddingRight=n||""}));var t=[].slice.call(document.querySelectorAll(""+Nn));o.default(t).each((function(e,t){var n=o.default(t).data("margin-right");void 0!==n&&o.default(t).css("margin-right",n).removeData("margin-right")}));var n=o.default(document.body).data("padding-right");o.default(document.body).removeData("padding-right"),document.body.style.paddingRight=n||""},t._getScrollbarWidth=function(){var e=document.createElement("div");e.className=Cn,document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},e._jQueryInterface=function(t,n){return this.each((function(){var r=o.default(this).data(rn),i=l({},cn,o.default(this).data(),"object"==typeof t&&t?t:{});if(r||(r=new e(this,i),o.default(this).data(rn,r)),"string"==typeof t){if(void 0===r[t])throw new TypeError('No method n
2amed "'+t+'"');r[t](n)}else i.show&&r.show(n)}))},s(e,null,[{key:"VERSION",get:function(){return nn}},{key:"Default",get:function(){return cn}}]),e}();o.default(document).on(kn,Pn,(function(e){var t,n=this,r=g.getSelectorFromElement(this);r&&(t=document.querySelector(r));var i=o.default(t).data(rn)?"toggle":l({},o.default(t).data(),o.default(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var a=o.default(t).one(hn,(function(e){e.isDefaultPrevented()||a.one(pn,(function(){o.default(n).is(":visible")&&n.focus()}))}));Rn._jQueryInterface.call(o.default(t),i,this)})),o.default.fn[tn]=Rn._jQueryInterface,o.default.fn[tn].Constructor=Rn,o.default.fn[tn].noConflict=function(){return o.default.fn[tn]=sn,Rn._jQueryInterface};var Ln=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],jn={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Fn=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/gi,Bn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function qn(e,t){var n=e.nodeName.toLowerCase();if(-1!==t.indexOf(n))return-1===Ln.indexOf(n)||Boolean(e.nodeValue.match(Fn)||e.nodeValue.match(Bn));for(var r=t.filter((function(e){return e instanceof RegExp})),o=0,i=r.length;o<i;o++)if(n.match(r[o]))return!0;return!1}function Hn(e,t,n){if(0===e.length)return e;if(n&&"function"==typeof n)return n(e);for(var r=(new window.DOMParser).parseFromString(e,"text/html"),o=Object.keys(t),i=[].slice.call(r.body.querySelectorAll("*")),a=function(e,n){var r=i[e],a=r.nodeName.toLowerCase();if(-1===o.indexOf(r.nodeName.toLowerCase()))return r.parentNode.removeChild(r),"continue";var s=[].slice.call(r.attributes),l=[].concat(t["*"]||[],t[a]||[]);s.forEach((function(e){qn(e,l)||r.removeAttribute(e.nodeName)}))},s=0,l=i.length;s<l;s++)a(s);return r.body.innerHTML}var zn="tooltip",Un="4.6.0",Vn="bs.tooltip",Gn="."+Vn,Wn=o.default.fn[zn],Yn="bs-tooltip",Kn=new RegExp("(^|\\s)"+Yn+"\\S+","g"),Qn=["sanitize","whiteList","sanitizeFn"],Jn={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},Zn={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Xn={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:jn,popperConfig:null},er="show",tr="out",nr={HIDE:"hide"+Gn,HIDDEN:"hidden"+Gn,SHOW:"show"+Gn,SHOWN:"shown"+Gn,INSERTED:"inserted"+Gn,CLICK:"click"+Gn,FOCUSIN:"focusin"+Gn,FOCUSOUT:"focusout"+Gn,MOUSEENTER:"mouseenter"+Gn,MOUSELEAVE:"mouseleave"+Gn},rr="fade",or="show",ir=".tooltip-inner",ar=".arrow",sr="hover",lr="focus",cr="click",ur="manual",dr=function(){function e(e,t){if(void 0===i.default)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var t=e.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(e){if(this._isEnabled)if(e){var t=this.constructor.DATA_KEY,n=o.default(e.currentTarget).data(t);n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),o.default(e.currentTarget).data(t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(o.default(this.getTipElement()).hasClass(or))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function(){clearTimeout(this._timeout),o.default.removeData(this.element,this.constructor.DATA_KEY),o.default(this.element).off(this.constructor.EVENT_KEY),o.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&o.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},t.show=function(){var e=this;if("none"===o.default(this.element).css("display"))throw new Error("Please use show on visible elements");var t=o.default.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){o.default(this.element).trigger(t);var n=g.findShadowRoot(this.element),r=o.default.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!r)return;var a=this.getTipElement(),s=g.getUID(this.constructor.NAME);a.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&o.default(a).addClass(rr);var l="function"==typeof this.config.placement?this.config.placement.call(this,a,this.element):this.config.placement,c=this._getAttachment(l);this.addAttachmentClass(c);var u=this._getContainer();o.default(a).data(this.constructor.DATA_KEY,this),o.default.contains(this.element.ownerDocument.documentElement,this.tip)||o.default(a).appendTo(u),o.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new i.default(this.element,a,this._getPopperConfig(c)),o.default(a).addClass(or),o.default(a).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&o.default(document.body).children().on("mouseover",null,o.default.noop);var d=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,o.default(e.element).trigger(e.constructor.Event.SHOWN),t===tr&&e._leave(null,e)};if(o.default(this.tip).hasClass(rr)){var f=g.getTransitionDurationFromElement(this.tip);o.default(this.tip).one(g.TRANSITION_END,d).emulateTransitionEnd(f)}else d()}},t.hide=function(e){var t=this,n=this.getTipElement(),r=o.default.Event(this.constructor.Event.HIDE),i=function(){t._hoverState!==er&&n.parentNode&&n.parentNode.removeChild(n),t._cleanTipClass(),t.element.removeAttribute("aria-describedby"),o.default(t.element).trigger(t.constructor.Event.HIDDEN),null!==t._popper&&t._popper.destroy(),e&&e()};if(o.default(this.element).trigger(r),!r.isDefaultPrevented()){if
vendor: 18,208 bytes, line 2
2(o.default(n).removeClass(or),"ontouchstart"in document.documentElement&&o.default(document.body).children().off("mouseover",null,o.default.noop),this._activeTrigger[cr]=!1,this._activeTrigger[lr]=!1,this._activeTrigger[sr]=!1,o.default(this.tip).hasClass(rr)){var a=g.getTransitionDurationFromElement(n);o.default(n).one(g.TRANSITION_END,i).emulateTransitionEnd(a)}else i();this._hoverState=""}},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(e){o.default(this.getTipElement()).addClass(Yn+"-"+e)},t.getTipElement=function(){return this.tip=this.tip||o.default(this.config.template)[0],this.tip},t.setContent=function(){var e=this.getTipElement();this.setElementContent(o.default(e.querySelectorAll(ir)),this.getTitle()),o.default(e).removeClass(rr+" "+or)},t.setElementContent=function(e,t){"object"!=typeof t||!t.nodeType&&!t.jquery?this.config.html?(this.config.sanitize&&(t=Hn(t,this.config.whiteList,this.config.sanitizeFn)),e.html(t)):e.text(t):this.config.html?o.default(t).parent().is(e)||e.empty().append(t):e.text(o.default(t).text())},t.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),e},t._getPopperConfig=function(e){var t=this;return l({},{placement:e,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:ar},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}},this.config.popperConfig)},t._getOffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,e.config.offset(t.offsets,e.element)||{}),t}:t.offset=this.config.offset,t},t._getContainer=function(){return!1===this.config.container?document.body:g.isElement(this.config.container)?o.default(this.config.container):o.default(document).find(this.config.container)},t._getAttachment=function(e){return Zn[e.toUpperCase()]},t._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach((function(t){if("click"===t)o.default(e.element).on(e.constructor.Event.CLICK,e.config.selector,(function(t){return e.toggle(t)}));else if(t!==ur){var n=t===sr?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,r=t===sr?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;o.default(e.element).on(n,e.config.selector,(function(t){return e._enter(t)})).on(r,e.config.selector,(function(t){return e._leave(t)}))}})),this._hideModalHandler=function(){e.element&&e.hide()},o.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=l({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},t._enter=function(e,t){var n=this.constructor.DATA_KEY;(t=t||o.default(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),o.default(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusin"===e.type?lr:sr]=!0),o.default(t.getTipElement()).hasClass(or)||t._hoverState===er?t._hoverState=er:(clearTimeout(t._timeout),t._hoverState=er,t.config.delay&&t.config.delay.show?t._timeout=setTimeout((function(){t._hoverState===er&&t.show()}),t.config.delay.show):t.show())},t._leave=function(e,t){var n=this.constructor.DATA_KEY;(t=t||o.default(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),o.default(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusout"===e.type?lr:sr]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=tr,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout((function(){t._hoverState===tr&&t.hide()}),t.config.delay.hide):t.hide())},t._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},t._getConfig=function(e){var t=o.default(this.element).data();return Object.keys(t).forEach((function(e){-1!==Qn.indexOf(e)&&delete t[e]})),"number"==typeof(e=l({},this.constructor.Default,t,"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),g.typeCheckConfig(zn,e,this.constructor.DefaultType),e.sanitize&&(e.template=Hn(e.template,e.whiteList,e.sanitizeFn)),e},t._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},t._cleanTipClass=function(){var e=o.default(this.getTipElement()),t=e.attr("class").match(Kn);null!==t&&t.length&&e.removeClass(t.join(""))},t._handlePopperPlacementChange=function(e){this.tip=e.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},t._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(o.default(e).removeClass(rr),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},e._jQueryInterface=function(t){return this.each((function(){var n=o.default(this),r=n.data(Vn),i="object"==typeof t&&t;if((r||!/dispose|hide/.test(t))&&(r||(r=new e(this,i),n.data(Vn,r)),"string"==typeof t)){if(void 0===r[t])throw new TypeError('No method named "'+t+'"');r[t]()}}))},s(e,null,[{key:"VERSION",get:function(){return Un}},{key:"Default",get:function(){return Xn}},{key:"NAME",get:function(){return zn}},{key:"DATA_KEY",get:function(){return Vn}},{key:"Event",get:function(){return nr}},{key:"EVENT_KEY",get:function(){return Gn}},{key:"DefaultType",get:function(){return Jn}}]),e}();o.default.fn[zn]=dr._jQueryInterface,o.default.fn[zn].Constructor=dr,o.default.fn[zn].noConflict=function(){return o.default.fn[zn]=Wn,dr._jQueryInterface};var fr="popover",pr="4.6.0",hr="bs.popover",mr="."+hr,vr=o.default.fn[fr],gr="bs-popover",yr=new RegExp("(^|\\s)"+gr+"\\S+","g"),br=l({},dr.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),_r=l({},dr.DefaultType,{content:"(string|element|function)"}),wr="fade",kr="show",xr=".popover-header",Cr=".popover-body",Sr={HIDE:"hide"+mr,HIDDEN:"hidden"+mr,SHOW:"show"+mr,SHOWN:"shown"+mr,INSERTED:"inserted"+mr,CLICK:"click"+mr,FOCUSIN:"focusin"+mr,FOCUSOUT:"focusout"+mr,MOUSEENTER:"mouseenter"+mr,MOUSELEAVE:"mouseleave"+mr},Er=function(e){function t(){return e.apply(this,arguments)||this}c(t,e);var n=t.prototype;return n.isWithContent=function(){return this.getTitle()||this._getContent()},n.addAttachmentClass=function(e){o.default(this.getTipElement()).addClass(gr+"-"+e)},n.getTipElement=function(){return this.tip=this.tip||o.default(this.config.template)[0],this.tip},n.setContent=function(){var e=o.default(this.getTipElement());this.setElementContent(e.find(xr),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(Cr),t),e.removeClass(wr+" "+kr)},n._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},n._cleanTipClass=function(){var e=o.default(this.getTipElement()),t=e.attr("class").match(yr);null!==t&&t.length>0&&e.removeClass(t.join(""))},t._jQueryInterface=function(e){return this.each((function(){var n=o.default(this).data(hr),r="object"==typeof e?e:null;if((n||!/dispose|hide/.test(e))&&(n||(n=new t(this,r),o.default(this).data(hr,n)),"string"==typeof e)){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},s(t,null,[{key:"VERSION",get:function(){return pr}},{key:"Default",get:function(){return br}},{key:"NAME",get:function(){return fr}},{key:"DATA_KEY",get:function(){return hr}},{key:"Event",get:function(){return Sr}},{key:"EVENT_KEY",get:function(){return mr}},{key:"DefaultType",get:function(){return _r}}]),t}(dr);o.default.fn[fr]=Er._jQueryInterface,o.default.fn[fr].Constructor=Er,o.default.fn[fr].noConflict=function(){return o.default.fn[fr]=vr,Er._jQueryInterface};var Tr="scrollspy",Or="4.6.0",Ir="bs.scrollspy",Ar="."+Ir,Dr=".data-api",Pr=o.default.fn[Tr],Mr={offset:10,method:"auto",target:""},$r={offset:"number",method:"string",target:"(string|element)"},Nr="activate"+Ar,Rr="scroll"+Ar,Lr="load"+Ar+Dr,jr="dropdown-item",Fr="active",Br='[data-spy="scroll"]',qr=".nav, .list-group",Hr=".nav-link",zr=".nav-item",Ur=".list-group-item",Vr=".dropdown",Gr=".dropdown-item",Wr=".dropdown-toggle",Yr="offset",Kr="position",Qr=function(){function e(e,t){var n=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(t),this._selector=this._config.target+" "+Hr+","+this._config.target+" "+Ur+","+this._config.target+" "+Gr,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,o.default(this._scrollElement).on(Rr,(function(e){return n._process(e)})),this.refresh(),this._process()}var t=e.prototype;return t.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?Yr:Kr,n="auto"===this._config.method?t:this._config.method,r=n===Kr?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(e){var t,i=g.getSelectorFromElement(e);if(i&&(t=document.querySelector(i)),t){var a=t.getBoundingClientRect();if(a.width||a.height)return[o.default(t)[n]().top+r,i]}return null})).filter((function(e){return e})).sort((function(e,t){return e[0]-t[0]})).forEach((function(t){e._offsets.push(t[0]),e._targets.push(t[1])}))},t.dispose=function(){o.default.removeData(this._element,Ir),o.default(this._scrollElement).off(Ar),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},t._getConfig=function(e){if("string"!=typeof(e=l({},Mr,"object"==typeof e&&e?e:{})).target&&g.isElement(e.target)){var t=o.default(e.target).attr("id");t||(t=g.getUID(Tr),o.default(e.target).attr("id",t)),e.target="#"+t}return g.typeCheckConfig(Tr,e,$r),e},t._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},t._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},t._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},t._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){var r=this._targets[this._targets.length-1];this._activeTarget!==r&&this._activate(r)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;)this._activeTarget!==this._targets[o]&&e>=this._offsets[o]&&(void 0===this._offsets[o+1]||e<this._offsets[o+1])&&this._activate(this._targets[o])}},t._activate=function(e){this._activeTarget=e,this._clear();var t=this._selector.split(",").map((function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'})),n=o.default([].slice.call(document.querySelectorAll(t.join(","))));n.hasClass(jr)?(n.closest(Vr).find(Wr).addClass(Fr),n.addClass(Fr)):(n.addClass(Fr),n.parents(qr).prev(Hr+", "+Ur).addClass(Fr),n.parents(qr).prev(zr).children(Hr).addClass(Fr)),o.default(this._scrollElement).trigger(Nr,{relatedTarget:e})},t._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter((function(e){return e.classList.contains(Fr)})).forEach((function(e){return e.classList.remove(Fr)}))},e._jQueryInterface=function(t){return this.each((function(){var n=o.default(this).data(Ir);if(n||(n=new e(this,"object"==typeof t&&t),o.default(this).data(Ir,n)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},s(e,null,[{key:"VERSION",get:function(){return Or}},{key:"Default",get:function(){return Mr}}]),e}();o.default(window).on(Lr,(function(){for(var e=[].slice.call(document.querySelectorAll(Br)),t=e.length;t--;){var n=o.default(e[t]);Qr._jQueryInterface.call(n,n.data())}})),o.default.fn[Tr]=Qr._jQueryInterface,o.default.fn[Tr].Constructor=Qr,o.default.fn[Tr].noConflict=function(){return o.default.fn[Tr]=Pr,Qr._jQueryInterface};var Jr="tab",Zr="4.6.0",Xr="bs.tab",eo="."+Xr,to=".data-api",no=o.default.fn[Jr],ro="hide"+eo,oo="hidden"+eo,io="show"+eo,ao="shown"+eo,so="click"+eo+to,lo="dropdown-menu",co="active",uo="disabled",fo="fade",po="show",ho=".dropdown",mo=".nav, .list-group",vo=".active",go="> li > .active",yo='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',bo=".dropdown-toggle",_o="> .dropdown-menu .active",wo=function(){function e(e){this._element=e}var t=e.prototype;return t.show=function(){var e=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&o.default(this._element).hasClass(co)||o.default(this._element).hasClass(uo))){var t,n,r=o.default(this._element).closest(mo)[0],i=g.getSelectorFromElement(this._element);if(r){var a="UL"===r.nodeName||"OL"===r.nodeName?go:vo;n=(n=o.default.makeArray(o.default(r).find(a)))[n.length-1]}var s=o.default.Event(ro,{relatedTarget:this._element}),l=o.default.Event(io,{relatedTarget:n});if(n&&o.default(n).trigger(s),o.default(this._element).trigger(l),!l.isDefaultPrevented()&&!s.isDefaultPrevented()){i&&(t=document.querySelector(i)),this._activate(this._element,r);var c=function(){var t=o.default.Event(oo,{relatedTarget:e._element}),r=o.default.Event(ao,{relatedTarget:n});o.default(n).trigger(t),o.default(e._element).trigger(r)};t?this._activate(t,t.parentNode,c):c()}}},t.dispose=function(){o.default.removeData(this._element,Xr),this._element=null},t._activate=function(e,t,n){var r=this,i=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?o.default(t).children(vo):o.default(t).find(go))[0],a=n&&i&&o.default(i).hasClass(fo),s=function(){return r._transitionComplete(e,i,n)};if(i&&a){var l=g.getTransitionDurationFromElement(i);o.default(i).removeClass(po).one(g.TRANSITION_END,s).emulateTransitionEnd(l)}else s()},t._transitionComplete=function(e,t,n){if(t){o.default(t).removeClass(co);var r=o.default(t.parentNode).find(_o)[0];r&&o.default(r).removeClass(co),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}if(o.default(e).addClass(co),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),g.reflow(e),e.classList.contains(fo)&&e.classList.add(po),e.parentNode&&o.default(e.parentNode).hasClass(lo)){var i=o.default(e).closest(ho)[0];if(i){var a=[].slice.call(i.querySelectorAll(bo));o.default(a).addClass(co)}e.setAttribute("aria-expanded",!0)}n&&n()},e._jQueryInterface=function(t){return this.each((function(){var n=o.default(this),r=n.data(Xr);if(r||(r=new e(this),n.data(Xr,r)),"string"==typeof t){if(void 0===r[t])throw new TypeError('No method named "'+t+'"');r[t]()}}))},s(e,null,[{key:"VERSION",get:function(){return Zr}}]),e}();o.default(document).on(so,yo,(function(e){e.preventDefault(),wo._jQueryInterface.call(o.default(this),"show")})),o.default.fn[Jr]=wo._jQueryInterface,o.default.fn[Jr].Constructor=wo,o.default.fn[Jr].noConflict=function(){return o.default.fn[Jr]=no,wo._jQueryInterface};var ko="toast",xo="4.6.0",Co="bs.toast",So="."+Co,Eo=o.default.fn[ko],To="click.dismiss"+So,Oo="hide"+So,Io="hidden"+So,Ao="show"+So,Do="shown"+So,Po="fade",Mo="hide",$o="show",No="showing",Ro={animation:"boolean",autohide:"boolean",delay:"number"},Lo={animation:!0,autohide:!0,delay:500},jo='[data-dismiss="toast"]',Fo=function(){function e(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}var t=e.prototype;return t.show=function(){var e=this,t=o.default.Event(Ao);if(o.default(this._element).trigger(t),!t.isDefaultPrevented()){this._clearTimeout(),this._config.animation&&this._element.classList.add(Po);var n=function(){e._element.classList.remove(No),e._element.classList.add($o),o.default(e._element).trigger(Do),e._config.autohide&&(e._timeout=setTimeout((function(){e.hide()}),e._config.delay))};if(this._element.classList.remove(Mo),g.reflow(this._element),this._element.classList.add(No),this._config.animation){var r=g.getTransitionDurationFromElement(this._element);o.default(this._element).one(g.TRANSITION_END,n).emulateTransitionEnd(r)}else n()}},t.hide=function(){if(this._element.classList.contains($o)){var e=o.default.Event(Oo);o.default(this._element).trigger(e),e.isDefaultPrevented()||this._close()}},t.dispose=function(){this._clearTimeout(),this._element.classList.contains($o)&&this._element.classList.remove($o),o.default(this._element).off(To),o.default.removeData(this._element,Co),this._element=null,this._config=null},t._getConfig=function(e){return e=l({},Lo,o.default(this._element).data(),"object"==typeof e&&e?e:{}),g.typeCheckConfig(ko,e,this.constructor.DefaultType),e},t._setListeners=function(){var e=this;o.default(this._element).on(To,jo,(function(){return e.hide()}))},t._close=function(){var e=this,t=function(){e._element.classList.add(Mo),o.default(e._element).trigger(Io)};if(this._element.classList.remove($o),this._config.animation){var n=g.getTransitionDurationFromElement(this._element);o.default(this._element).one(g.TRANSITION_END,t).emulateTransitionEnd(n)}else t()},t._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},e._jQueryInterface=function(t){return this.each((function(){var n=o.default(this),r=n.data(Co);if(r||(r=new e(this,"object"==typeof t&&t),n.data(Co,r)),"string"==typeof t){if(void 0===r[t])throw new TypeError('No method n
2amed "'+t+'"');r[t](this)}}))},s(e,null,[{key:"VERSION",get:function(){return xo}},{key:"DefaultType",get:function(){return Ro}},{key:"Default",get:function(){return Lo}}]),e}();o.default.fn[ko]=Fo._jQueryInterface,o.default.fn[ko].Constructor=Fo,o.default.fn[ko].noConflict=function(){return o.default.fn[ko]=Eo,Fo._jQueryInterface},e.Alert=D,e.Button=J,e.Carousel=Ue,e.Collapse=ft,e.Dropdown=en,e.Modal=Rn,e.Popover=Er,e.Scrollspy=Qr,e.Tab=wo,e.Toast=Fo,e.Tooltip=dr,e.Util=g,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(4692),n(8851))},969:e=>{function t(){}e.exports=function(e,n,r){var o=!1;return r=r||t,i.count=e,0===e?n():i;function i(e,t){if(i.count<=0)throw new Error("after called too many times");--i.count,e?(o=!0,n(e),n=r):0!==i.count||o||n(null,t)}}},3344:e=>{e.exports=function(e,t,n){var r=e.byteLength;if(t=t||0,n=n||r,e.slice)return e.slice(t,n);if(t<0&&(t+=r),n<0&&(n+=r),n>r&&(n=r),t>=r||t>=n||0===r)return new ArrayBuffer(0);for(var o=new Uint8Array(e),i=new Uint8Array(n-t),a=t,s=0;a<n;a++,s++)i[s]=o[a];return i.buffer}},228:e=>{e.exports=class{constructor(e){this.$container=e,this.timer=null}layout(){const e=this._countColumns(),t={};let n=0;return this.$container.childNodes.forEach((r=>{const o=this._getStyle(r);if(!o)return;const i=parseInt(o.marginBottom.slice(0,-2),10)+parseInt(o.paddingBottom.slice(0,-2),10)+parseInt(o.borderBottomWidth.slice(0,-2),10);t[n]=Math.max(0,r.offsetHeight-this._findMainChild(r).offsetHeight-i),void 0!==t[n-e]&&(r.style.marginTop=`-${t[n-e]}px`),n++})),this}_countColumns(){const e=this._getColumnWidth();return e?Math.floor(this.$container.offsetWidth/e):1}_getColumnWidth(){for(let e of this.$container.childNodes)if(this._getStyle(e))return e.offsetWidth-1;return null}_getStyle(e){if(!(e instanceof Element))return null;const t=e.currentStyle||window.getComputedStyle(e);return"none"===t.display?null:t}_findMainChild(e){for(let t of e.childNodes)if(t instanceof Element)return t}start(e=300){return this.timer=setInterval((()=>this.layout()),e),this}destroy(){return this.timer&&(clearInterval(this.timer),this.timer=null),this.$container.childNodes.forEach(((e,t)=>{this._getStyle(e)&&(e.style.marginTop=null)})),this}}},5394:(e,t,n)=>{var r=n.g.location||{},o=function(){"use strict";var e={base:"https://cdn.jsdelivr.net/gh/jdecked/[email protected]/assets/",ext:".png",size:"72x72",className:"emoji",convert:{fromCodePoint:function(e){var t="string"==typeof e?parseInt(e,16):e;if(t<65536)return s(t);return s(55296+((t-=65536)>>10),56320+(1023&t))},toCodePoint:g},onerror:function(){this.parentNode&&this.parentNode.replaceChild(l(this.alt,!1),this)},parse:function(t,n){n&&"function"!=typeof n||(n={callback:n});return("string"==typeof t?p:f)(t,{callback:n.callback||c,attributes:"function"==typeof n.attributes?n.attributes:m,base:"string"==typeof n.base?n.base:e.base,ext:n.ext||e.ext,size:n.folder||(r=n.size||e.size,"number"==typeof r?r+"x"+r:r),className:n.className||e.className,onerror:n.onerror||e.onerror});var r},replace:v,test:function(e){n.lastIndex=0;var t=n.test(e);return n.lastIndex=0,t}},t={"&":"&","<":"<",">":">","'":"'",'"':"""},n=/(?:\ud83d\udc68\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffc-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb\udffd-\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb\udffc\udffe\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb-\udffd\udfff]|\ud83e\uddd1\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb-\udffe]|\ud83d\udc68\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc68\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd\udfff]|\ud83d\udc68\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd\udfff]|\ud83d\udc69\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb-\udffd\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb-\udffe]|\ud83e\uddd1\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffc-\udfff]|\ud83e\uddd1\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb\udffd-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb\udffc\udffe\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb-\udffd\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb-\udffe]|\ud83e\uddd1\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d[\udc68\udc69]|\ud83e\udef1\ud83c\udffb\u200d\ud83e\udef2\ud83c[\udffc-\udfff]|\ud83e\udef1\ud83c\udffc\u200d\ud83e\udef2\ud83c[\udffb\udffd-\udfff]|\ud83e\udef1\ud83c\udffd\u200d\ud83e\udef2\ud83c[\udffb\udffc\udffe\udfff]|\ud83e\udef1\ud83c\udffe\u200d\ud83e\udef2\ud83c[\udffb-\udffd\udfff]|\ud83e\udef1\ud83c\udfff\u200d\ud83e\udef2\ud83c[\udffb-\udffe]|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d[\udc68\udc69]|\ud83e\uddd1\u200d\ud83e\udd1d\u200d\ud83e\uddd1|\ud83d\udc6b\ud83c[\udffb-\udfff]|\ud83d\udc6c\ud83c[\udffb-\udfff]|\ud83d\udc6d\ud83c[\udffb-\udfff]|\ud83d\udc8f\ud83c[\udffb-\udfff]|\ud83d\udc91\ud83c[\udffb-\udfff]|\ud83e\udd1d\ud83c[\udffb-\udfff]|\ud83d[\udc6b-\udc6d\udc8f\udc91]|\ud83e\udd1d)|(?:\ud83d[\udc68\udc69]|\ud83e\uddd1)(?:\ud83c[\udffb-\udfff])?\u200d(?:\u2695\ufe0f|\u2696\ufe0f|\u2708\ufe0f|\ud83c[\udf3e\udf73\udf7c\udf84\udf93\udfa4\udfa8\udfeb\udfed]|\ud83d[\udcbb\udcbc\udd27\udd2c\ude80\ude92]|\ud83e[\uddaf-\uddb3\uddbc\uddbd])|(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75]|\u26f9)((?:\ud83c[\udffb-\udfff]|\ufe0f)\u200d[\u2640\u2642]\ufe0f)|(?:\ud83c[\udfc3\udfc4\udfca]|\ud83d[\udc6e\udc70\udc71\udc73\udc77\udc81\udc82\udc86\udc87\ude45-\ude47\ude4b\ude4d\ude4e\udea3\udeb4-\udeb6]|\ud83e[\udd26\udd35\udd37-\udd39\udd3d\udd3e\uddb8\uddb9\uddcd-\uddcf\uddd4\uddd6-\udddd])(?:\ud83c[\udffb-\udfff])?\u200d[\u2640\u2642]\ufe0f|(?:\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f|\ud83c\udff3\ufe0f\u200d\ud83c\udf08|\ud83d\ude36\u200d\ud83c\udf2b\ufe0f|\u2764\ufe0f\u200d\ud83d\udd25|\u2764\ufe0f\u200d\ud83e\ude79|\ud83c\udff4\u200d\u2620\ufe0f|\ud83d\udc15\u200d\ud83e\uddba|\ud83d\udc3b\u200d\u2744\ufe0f|\ud83d\udc41\u200d\ud83d\udde8|\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc6f\u200d\u2640\ufe0f|\ud83d\udc6f\u200d\u2642\ufe0f|\ud83d\ude2e\u200d\ud83d\udca8|\ud83d\ude35\u200d\ud83d\udcab|\ud83e\udd3c\u200d\u2640\ufe0f|\ud83e\udd3c\u200d\u2642\ufe0f|\ud83e\uddde\u200d\u2640\ufe0f|\ud83e\uddde\u200d\u2642\ufe0f|\ud83e\udddf\u200d\u2640\ufe0f|\ud83e\udddf\u200d\u2642\ufe0f|\ud83d\udc08\u200d\u2b1b|\ud83d\udc26\u200d\u2b1b)|[#*0-9]\ufe0f?\u20e3|(?:[©®\u2122\u265f]\ufe0f)|(?:\ud83c[\udc04\udd70\udd71\udd7e\udd7f\ude02\ude1a\ude2f\ude37\udf21\udf24-\udf2c\udf36\udf7d\udf96\udf97\udf99-\udf9b\udf9e\udf9f\udfcd\udfce\udfd4-\udfdf\udff3\udff5\udff7]|\ud83d[\udc3f\udc41\udcfd\udd49\udd4a\udd6f\udd70\udd73\udd76-\udd79\udd87\udd8a-\udd8d\udda5\udda8\uddb1\uddb2\uddbc\uddc2-\uddc4\uddd1-\uddd3\udddc-\uddde\udde1\udde3\udde8\uddef\uddf3\uddfa\udecb\udecd-\udecf\udee0-\udee5\udee9\udef0\udef3]|[\u203c\u2049\u2139\u2194-\u2199\u21a9\u21aa\u23
21a\u231b\u2328\u23cf\u23ed-\u23ef\u23f1\u23f2\u23f8-\u23fa\u24c2\u25aa\u25ab\u25b6\u25c0\u25fb-\u25fe\u2600-\u2604\u260e\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262a\u262e\u262f\u2638-\u263a\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267b\u267f\u2692-\u2697\u2699\u269b\u269c\u26a0\u26a1\u26a7\u26aa\u26ab\u26b0\u26b1\u26bd\u26be\u26c4\u26c5\u26c8\u26cf\u26d1\u26d3\u26d4\u26e9\u26ea\u26f0-\u26f5\u26f8\u26fa\u26fd\u2702\u2708\u2709\u270f\u2712\u2714\u2716\u271d\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u2764\u27a1\u2934\u2935\u2b05-\u2b07\u2b1b\u2b1c\u2b50\u2b55\u3030\u303d\u3297\u3299])(?:\ufe0f|(?!\ufe0e))|(?:(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75\udd90]|\ud83e\udef0|[\u261d\u26f7\u26f9\u270c\u270d])(?:\ufe0f|(?!\ufe0e))|(?:\ud83c[\udf85\udfc2-\udfc4\udfc7\udfca]|\ud83d[\udc42\udc43\udc46-\udc50\udc66-\udc69\udc6e\udc70-\udc78\udc7c\udc81-\udc83\udc85-\udc87\udcaa\udd7a\udd95\udd96\ude45-\ude47\ude4b-\ude4f\udea3\udeb4-\udeb6\udec0\udecc]|\ud83e[\udd0c\udd0f\udd18-\udd1c\udd1e\udd1f\udd26\udd30-\udd39\udd3d\udd3e\udd77\uddb5\uddb6\uddb8\uddb9\uddbb\uddcd-\uddcf\uddd1-\udddd\udec3-\udec5\udef1-\udef8]|[\u270a\u270b]))(?:\ud83c[\udffb-\udfff])?|(?:\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc73\udb40\udc63\udb40\udc74\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc77\udb40\udc6c\udb40\udc73\udb40\udc7f|\ud83c\udde6\ud83c[\udde8-\uddec\uddee\uddf1\uddf2\uddf4\uddf6-\uddfa\uddfc\uddfd\uddff]|\ud83c\udde7\ud83c[\udde6\udde7\udde9-\uddef\uddf1-\uddf4\uddf6-\uddf9\uddfb\uddfc\uddfe\uddff]|\ud83c\udde8\ud83c[\udde6\udde8\udde9\uddeb-\uddee\uddf0-\uddf5\uddf7\uddfa-\uddff]|\ud83c\udde9\ud83c[\uddea\uddec\uddef\uddf0\uddf2\uddf4\uddff]|\ud83c\uddea\ud83c[\udde6\udde8\uddea\uddec\udded\uddf7-\uddfa]|\ud83c\uddeb\ud83c[\uddee-\uddf0\uddf2\uddf4\uddf7]|\ud83c\uddec\ud83c[\udde6\udde7\udde9-\uddee\uddf1-\uddf3\uddf5-\uddfa\uddfc\uddfe]|\ud83c\udded\ud83c[\uddf0\uddf2\uddf3\uddf7\uddf9\uddfa]|\ud83c\uddee\ud83c[\udde8-\uddea\uddf1-\uddf4\uddf6-\uddf9]|\ud83c\uddef\ud83c[\uddea\uddf2\uddf4\uddf5]|\ud83c\uddf0\ud83c[\uddea\uddec-\uddee\uddf2\uddf3\uddf5\uddf7\uddfc\uddfe\uddff]|\ud83c\uddf1\ud83c[\udde6-\udde8\uddee\uddf0\uddf7-\uddfb\uddfe]|\ud83c\uddf2\ud83c[\udde6\udde8-\udded\uddf0-\uddff]|\ud83c\uddf3\ud83c[\udde6\udde8\uddea-\uddec\uddee\uddf1\uddf4\uddf5\uddf7\uddfa\uddff]|\ud83c\uddf4\ud83c\uddf2|\ud83c\uddf5\ud83c[\udde6\uddea-\udded\uddf0-\uddf3\uddf7-\uddf9\uddfc\uddfe]|\ud83c\uddf6\ud83c\udde6|\ud83c\uddf7\ud83c[\uddea\uddf4\uddf8\uddfa\uddfc]|\ud83c\uddf8\ud83c[\udde6-\uddea\uddec-\uddf4\uddf7-\uddf9\uddfb\uddfd-\uddff]|\ud83c\uddf9\ud83c[\udde6\udde8\udde9\uddeb-\udded\uddef-\uddf4\uddf7\uddf9\uddfb\uddfc\uddff]|\ud83c\uddfa\ud83c[\udde6\uddec\uddf2\uddf3\uddf8\uddfe\uddff]|\ud83c\uddfb\ud83c[\udde6\udde8\uddea\uddec\uddee\uddf3\uddfa]|\ud83c\uddfc\ud83c[\uddeb\uddf8]|\ud83c\uddfd\ud83c\uddf0|\ud83c\uddfe\ud83c[\uddea\uddf9]|\ud83c\uddff\ud83c[\udde6\uddf2\uddfc]|\ud83c[\udccf\udd8e\udd91-\udd9a\udde6-\uddff\ude01\ude32-\ude36\ude38-\ude3a\ude50\ude51\udf00-\udf20\udf2d-\udf35\udf37-\udf7c\udf7e-\udf84\udf86-\udf93\udfa0-\udfc1\udfc5\udfc6\udfc8\udfc9\udfcf-\udfd3\udfe0-\udff0\udff4\udff8-\udfff]|\ud83d[\udc00-\udc3e\udc40\udc44\udc45\udc51-\udc65\udc6a\udc6f\udc79-\udc7b\udc7d-\udc80\udc84\udc88-\udc8e\udc90\udc92-\udca9\udcab-\udcfc\udcff-\udd3d\udd4b-\udd4e\udd50-\udd67\udda4\uddfb-\ude44\ude48-\ude4a\ude80-\udea2\udea4-\udeb3\udeb7-\udebf\udec1-\udec5\uded0-\uded2\uded5-\uded7\udedc-\udedf\udeeb\udeec\udef4-\udefc\udfe0-\udfeb\udff0]|\ud83e[\udd0d\udd0e\udd10-\udd17\udd20-\udd25\udd27-\udd2f\udd3a\udd3c\udd3f-\udd45\udd47-\udd76\udd78-\uddb4\uddb7\uddba\uddbc-\uddcc\uddd0\uddde-\uddff\ude70-\ude7c\ude80-\ude88\ude90-\udebd\udebf-\udec2\udece-\udedb\udee0-\udee8]|[\u23e9-\u23ec\u23f0\u23f3\u267e\u26ce\u2705\u2728\u274c\u274e\u2753-\u2755\u2795-\u2797\u27b0\u27bf\ue50a])|\ufe0f/g,r=/\uFE0F/g,o=String.fromCharCode(8205),i=/[&<>'"]/g,a=/^(?:iframe|noframes|noscript|script|select|style|textarea)$/,s=String.fromCharCode;return e;function l(e,t){return document.createTextNode(t?e.replace(r,""):e)}function c(e,t){return"".concat(t.base,t.size,"/",e,t.ext)}function u(e,t){for(var n,r,o=e.childNodes,i=o.length;i--;)3===(r=(n=o[i]).nodeType)?t.push(n):1!==r||"ownerSVGElement"in n||a.test(n.nodeName.toLowerCase())||u(n,t);return t}function d(e){return g(e.indexOf(o)<0?e.replace(r,""):e)}function f(e,t){for(var r,o,i,a,s,c,f,p,h,m,v,g,y,b=u(e,[]),_=b.length;_--;){for(i=!1,a=document.createDocumentFragment(),c=(s=b[_]).nodeValue,p=0;f=n.exec(c);){if((h=f.index)!==p&&a.appendChild(l(c.slice(p,h),!0)),g=d(v=f[0]),p=h+v.length,y=t.callback(g,t),g&&y){for(o in(m=new Image).onerror=t.onerror,m.setAttribute("draggable","false"),r=t.attributes(v,g))r.hasOwnProperty(o)&&0!==o.indexOf("on")&&!m.hasAttribute(o)&&m.setAttribute(o,r[o]);m.className=t.className,m.alt=v,m.src=y,i=!0,a.appendChild(m)}m||a.appendChild(l(v,!1)),m=null}i&&(p<c.length&&a.appendChild(l(c.slice(p),!0)),s.parentNode.replaceChild(a,s))}return e}function p(e,t){return v(e,(function(e){var n,r,o=e,a=d(e),s=t.callback(a,t);
2if(a&&s){for(r in o="<img ".concat('class="',t.className,'" ','draggable="false" ','alt="',e,'"',' src="',s,'"'),n=t.attributes(e,a))n.hasOwnProperty(r)&&0!==r.indexOf("on")&&-1===o.indexOf(" "+r+"=")&&(o=o.concat(" ",r,'="',n[r].replace(i,h),'"'));o=o.concat("/>")}return o}))}function h(e){return t[e]}function m(){return null}function v(e,t){return String(e).replace(n,t)}function g(e,t){for(var n=[],r=0,o=0,i=0;i<e.length;)r=e.charCodeAt(i++),o?(n.push((65536+(o-55296<<10)+(r-56320)).toString(16)),o=0):55296<=r&&r<=56319?o=r:n.push(r.toString(16));return n.join(t||"-")}}();r.protocol||(o.base=o.base.replace(/^http:/,"")),e.exports=o},8471:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={props:{value:{},options:{},eval:{type:Boolean}},methods:{getValue:function getValue(v){return this.eval?eval(v):v}}}},9944:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__={props:{value:{},options:{},color:{default:"secondary"},classes:{default:""},block:{type:Boolean},eval:{type:Boolean},multiple:{type:Boolean},vertical:{type:Boolean}},methods:{isSelected:function(e){return this.multiple?this.value.includes(e):e===this.value},setValue:function(e){this.multiple?this.isSelected(e)?this.$emit("input",this.value.filter((function(t){return t!==e}))):this.$emit("input",this.value.concat([e])):this.$emit("input",e)},getValue:function getValue(v){return this.eval?eval(v):v}}}},7559:e=>{e.exports={title:"#TeamLocked","intro.1":"We are a community of locked subs and their keyholders.","intro.2":"In this app you can share your pics, keep a calendar of your chastity, take on challenges, find keyholders, control your subs, and more!","consent.header":"Adult content warning!","consent.warning.content":"This website contains adult content, mostly related to male chastity.","consent.warning.jurisdiction":"If you don't want to see it or if you're not the minimum age allowed in your jurisdiction, please leave.","consent.enter":"Enter","nsfw.branding":"Hide explicit branding","nsfw.pics":"Blur images","sounds.off":"Mute notification sounds",joinUs:"Join the #TeamLocked","why.header":"Why lock up?","why.reason.1":"Cumming less often means that when you finally do get released, you're harder, more sensitive and the orgasm is more intense.","why.reason.2":"Not being able to stroke your cock forces you to be more creative and patient with other methods of stimulation. You can focus on stretching your hole, stimulating your prostate, CBT, TT, etc.","why.reason.3":"It also helps you focus more on the needs of your partners and on their pleasure, instead of your own cock.","why.reason.4":"If you're turned on by feeling humiliated, vulnerable and less worthy, then losing control over your own cock might help you achieve exactly that.","why.reason.5":"The feeling of being constantly horny, even right after having sex, is strangely good.","why.reason.kinkshame":"If it's not your thing, it's absolutely fine, but DO NOT KINK SHAME our community!","dashboard.hello":"Hello, {name}!","terms.header":"Terms of Service","terms.agree":"I agree to","privacy.header":"Terms of Service","privacy.agree":"I agree to","forum.header":"Forum","posts.header":"Timeline","members.header":"Members","games.header":"Games","profile.header":"Your profile","messages.header":"Private messages",username:"Username",email:"Email","email.real":"This has to be a real email, we will ask you to confirm it.",usernameEmail:"Username or email",password:"Password",login:"Log in",forgot:"Remind password",signup:"Create an account",account:"Account settings","account.short":"Account",avatar:"Avatar",confirm:"Are you sure?",loginSignup:"Log in / Sign up",logout:"Log out","member.profile":"Profile","member.blog":"Blog","member.pics":"Pics","member.vids":"Vids","member.calendar":"Calendar","member.network":"Network","member.message":"Message","member.games":"Games","member.gameRounds":"Game roun
2ds","format.datetime.long":"ccc, y-MM-dd HH:mm","format.datetime.short":"y-MM-dd HH:mm","format.date.short":"y-MM-dd","units.minutes":"minutes","units.hours":"hours","time.ago":"{diff} ago","timeunit.year":"y","timeunit.month":"m","timeunit.week":"w","timeunit.day":"d","timeunit.hour":"h","stat.members":"Registered members","stat.membersOnline":"Members online today","stat.membersLocked":"Members currently locked","stat.daysLocked":"Days of chastity overall","stat.monthsLocked":"Months of chastity overall","stat.yearsLocked":"Years of chastity overall","stat.games":"Rounds of games played","stat.gamesPlayed":"Games played","stat.gamesSupervised":"Games supervised","stat.posts":"Blog & forum posts published","stat.images":"Photos uploaded","stat.twitterFollowers":"Twitter followers","stat.blueskyFollowers":"Bluesky followers","finishRegistration.header":"Finish registration","finishRegistration.passwordOptional":"Optionally, you can also set up a password:","register.success":"Great! Now just please confim your email.","confirmEmail.error.invalidToken":"This token is invalid. Please request a new one.","error.badCredentials":"Invalid credentials","forgotPassword.sent":"An email with a login link has been sent. Check your mailbox.","login.error.invalidToken":"This token is invalid. Please request a new one.","account.change.action":"Change","account.change.email":"Change your email address","account.change.password":"Change your password","account.success.emailSent":"We've sent you an email with a confirmation link.","account.success.passwordChanged":"Your password has been changed.","mfa.header":"Multi-factor authorisation","mfa.submit":"Submit","mfa.code":"Code","account.changeUsername.action":"Change username","account.changeUsername.info":"You can change your username max once a year, so be careful. Changes will be logged, but only you and admins can see them. The old link to your profile won't work anymore and it will not redirect to the new one. All the other content of your profile, blog, calendar etc. will NOT be affected. After changing the username you will be logged out and you'll have to log in with the new credentials.","profile.status":"Status","profile.status.sub":"Show open padlock icon when unlocked","profile.status.keyholder.0":"Not interested in being a keyholder","profile.status.keyholder.1":"Holding keys","profile.status.keyholder.2":"Looking for subs","password.toggle":"Toggle password visibility","password.pwned":"This password has been found in data breaches {count} times.<br/>We highly recommend using a different one.<br/><a href='https://haveibeenpwned.com/Passwords' target='_blank' rel='noopener'>Learn more</a>","calendar.add.start":"Start adding at","calendar.add.duration":"Minimum duration of chastity","calendar.end.earliest":"Earliest release","calendar.change.description":"Description (optional)","calendar.change.releaseCondition":"Release condition (optional)","calendar.change.releaseCondition.helper":"If you fill in this field, the release won't be possible until this condition gets marked as met, even if the required time have passed already.","calendar.change.permanent":"Permanent","calendar.change.permanent.confirm":"Are you absolutely sure that you want to commit to PERMANENT chastity?<br/><br/>This feature is meant for people who have decided to NEVER cum again. That means that the app will NEVER show you the âUnlockâ button again.<br/><br/>If instead you wish to enter an INDEFINITE period, meaning very long with unknown end date, please instead use the option to add a release condition (e.g. âwhenever master lets me outâ) that will block you from unlocking until your keyholder decides to mark this condition as done.","calendar.status.locked":"Locked","calendar.status.unlocked":"Unlocked","calendar.status.locked.least":"until at least","calendar.status.locked.permanent":"Locked permanently","calendar.breaks":"Breaks","calendar.changes":"Changes","calendar.changesEvents":"Changes & events","calendar.start":"Start a lockup period","calendar.add":"Add more lockup time","calendar.reward":"Reward / subtract time","calendar.reward.duration":"Time to subtract","calendar.end":"Unlock","calendar.end.allowed":"Can unlock","calendar.end.denied":"Cannot unlock yet (details below)","chastity.end.confirm":"Are you sure you want to mark this chastity period as finished?","calendar.terminate":"Prematurely terminate","calendar.terminate.description":"Sex is all about consent and #TeamLocked is just a tool to track y
2our chastity. That's why you always have an option to mark a chastity period âterminatedâ, regardless of the commitment you made. But if you do, please share with our community the reason you did that.","calendar.terminate.reason":"What's your reason?","calendar.terminated":"Terminated","calendar.timeAdded":"added {0} to your chastity period","calendar.timeAddedBy":"added by","calendar.timeDeducted":"rewarded you with {0} deducted from your chastity period","calendar.event.add":"Add event","calendar.event.add.custom":"Add a custom event instead","calendar.event.add.regular":"Add a regular event instead","calendar.event.company.0":"masturbation","calendar.event.company.1":"sex","calendar.event.company.2":"group","calendar.event.type.0":"regular","calendar.event.type.1":"edging","calendar.event.type.2":"as quick as possible","calendar.event.type.3":"forced orgasm","calendar.event.type.4":"wet dream","calendar.event.type.5":"anal","calendar.event.orgasm.0":"cock orgasm","calendar.event.orgasm.1":"hands-free orgasm","calendar.event.orgasm.2":"ruined orgasm","calendar.event.orgasm.3":"denied orgasm","calendar.event.custom":"Event description","calendar.remove.confirm":"Are you sure you want to remove this entry? Remember that this calendar is supposed to be an accurate journal of your chastity! So if you added this entry by mistake or got screwed by a keyholder, etc., then feel free to remove it. But if you simply didn't make it to your goal and want to hide that â just OWN YOUR FAILURES. Don't lie to yourself and your siblings in kink.","calendar.periodLimit":"Maximum duration of a single lockup","calendar.periodLimit.info":"Even if keyholders and games add more time than this limit, sub will be able to unlock after reaching it. This value cannot be decreased while locked.",edit:"Edit",remove:"Remove",cancel:"Cancel",save:"Save",showAll:"Show all",construction:"Under construction...","error.generic":"Something went wrong... Please, try again.","error.validation":"Some of the data you provided is invalid. Please check the form again.","error.social.noSession":"Connection to {provider} failed. Please try again.","error.social.emailTaken":"This email, {email}, is already assigned to an existing account. If you want to use {provider}, please first log in to that account using a different method and connect it to your {provider} account.","error.changeEmail.taken":"This email, {email}, is already assigned to an existing account.","success.saved":"Changes have been saved.","pics.public":"Visible in profile","pics.publicEmpty":"No pics are published... Upload some pictures first and mark them as pinned to your profile.","pics.private":"Pics archive","pics.upload.header":"Upload pics","pics.upload.instruction":"Click here or drag your pics here","pics.upload.error.generic":"Something went wrong, try again...","pic.setAvatar":"Avatar","pic.setAvatar.confirm":"Are you sure you sure you want to set this pic as your avatar?","pic.setProfile.true":"Pin","pic.setProfile.false":"Unpin","pic.remove":"Remove","pic.remove.confirm":"Are you sure you sure you want to remove this pic?","pic.rotate":"Rotate","pic.save":"Save changes","webcam.start":"Use a webcam","webcam.take":"Take a picture","webcam.retry":"Try again","webcam.upload":"Upload","relation.follower":"Follower","relation.follower.you":"Follows you","relation.follower.list":"Followers","relation.followee":"Followed","relation.followee.you":"You're following them","relation.followee.apply":"Follow","relation.followee.confirmStop":"Do you wanna unfollow them?","relation.followee.requested":"followed you","relation.followee.stopped":"unfollowed you","relation.followee.list":"Followees","relation.knows":"Known personally","relation.known":"Known personally","relation.knows.you":"Known personally","relation.known.you":"Known personally","relation.known.apply":"Mark as known personally","relation.known.pending":"Known personally request pending","relation.known.requested":"wants to mark you as known personally","relation.known.accepted":"accepted your known personally status","relation.known.rejected":"rejected your known personally status","relation.known.stopped":"removed your known personally status","relation.known.confirmStop":"Do you wanna remove the known personally mark?","relation.known.list":"Known personally","relation.keyholder":"Keyholder","relation.keyholder.you":"Your keyholder","relation.keyholder.apply":"Make them your keyholder","relation.keyholder.apply.tooltip":"It means that if they approve, they'll be able to add time to your calendar and request you to play games.","relation.keyholder.apply.confirm":"Are you sure you want to make them your keyholder? If they approve, they'll be able to add time to your calendar and request you to play games.","relation.keyholder.pending":"Keyholder request pending","relation.keyholder.requested":"wants you to be their keyholder â you'd be able to add time to their calendar and request them to play games.","relation.keyholder.accepted":"accepted y
2our keyholder request","relation.keyholder.rejected":"rejected your keyholder request","relation.keyholder.stopped":"removed you as their keyholder","relation.keyholder.confirmStop":"Do you wanna stop being their sub?","relation.keyholder.list":"Keyholders","relation.sub":"Sub","relation.sub.you":"Your sub","relation.sub.apply":"Make them your sub","relation.sub.apply.tooltip":"It means that if they approve, you'll be able to add time to their calendar and request them to play games.","relation.sub.apply.confirm":"Are you sure you want to ask them to be your sub? If they approve, you'll be able to add time to their calendar and request them to play games.","relation.sub.pending":"Sub request pending","relation.sub.requested":"wants you to be their sub â they'd be able to add time to your calendar and request you to play games.","relation.sub.accepted":"accepted your sub request","relation.sub.rejected":"rejected your sub request","relation.sub.stopped":"removed you as their sub","relation.sub.confirmStop":"Do you wanna stop being their keyholder?","relation.sub.list":"Subs","relation.allowRequests.keyholder":"Allow requests to be someone's keyholder","relation.allowRequests.sub":"Allow requests to be someone's sub","relation.allowRequests.known":"Allow known personally requests","forum.category.timeline.name":"Timeline","forum.category.timeline.description":"Posts by people you follow.","forum.category.journal.name":"Chastity journals","forum.category.journal.description":"Keep the comunity updated on how your chastity is going. (Those posts will appear in your calendar!)","forum.category.journal.warning":"If you post in this category, it will appear in your calendar!","forum.category.tips.name":"Tips sharing","forum.category.tips.description":"Compare cages, share your experience, help out the community or ask for help.","forum.category.tips.warning":"","forum.category.bboard.name":"Bulletin Board","forum.category.bboard.description":"Looking for a keyholder or a sub in your area?","forum.category.bboard.warning":"To make it easier to find matches, please start your post to Bulletin Board with a line in the following format: â<your role>, <city>, <region>, <country>â, for example: âsub, Rotterdam, Zuid-Holland, Netherlandsâ.","forum.category.games.name":"Games & challenges","forum.category.games.description":"Gamify your chastity.","forum.category.games.warning":"","forum.category.showing-off.name":"Showing off","forum.category.showing-off.description":"Show us what you've got there.","forum.category.showing-off.warning":"","forum.category.fitness.name":"Fitness","forum.category.fitness.description":"Share your exercise and workout goals and activities.","forum.category.fitness.warning":"","forum.category.hydepark.name":"Hydepark","forum.category.hydepark.description":"Just do what you want here.","forum.category.hydepark.warning":"","forum.category.marketplace.name":"Marketplace","forum.category.marketplace.description":"A place to sell, buy, and give away chastity cages, and more.","forum.category.marketplace.warning":"#TeamLocked is not a shop and doesn't facilitate your trades in any way, other than providing a forum for people to find each other.","forum.category.platform.name":"Platform","forum.category.platform.description":"Catch up on the latest updates of #TeamLocked, ask questions, suggest new features.","forum.category.platform.warning":"Only post in this category if it's related to the app itself. Admins will receive a notification about your post here.","forum.search":"Search in forum","forum.search.category":"Search by category","forum.search.user":"Search by author","forum.search.text":"Search by content","forum.search.error.specificity":"Please make your query more specific.","post.write":"Write a post","post.edit":"Edit post","post.edited":"Edited","post.reaction":"reacted {0} to your post â{1}â","post.comment":"commented â{1}â on your post â{0}â","post.remove.confirm":"Are you sure you want to remove this post?","post.save":"Save post","post.link":"Link","post.reactions":"One person reacted to this post | {n} people reacted to this post","post.admin":"{0}","post.translate":"Translate","games.play":"Play it!","games.playContinue":"Continue...","games.showHistory":"Show history","games.showRunning":"Show running rounds","game.player":"Player:","game.supervisor":"Supervisor:","game.ordered":"ordered you to play a game ({0})","game.finished.sub":"finished playing a game ({0})","game.finished.sub.punishment":"finished playing a game ({0}). It added <strong><--{1}--\x3e</strong>
2 to their chastity.","game.finished.self":"Your game round ({0}) has just finished.","game.finished.self.punishment":"Your game round ({0}) has just finished. It added <strong><--{1}--\x3e</strong> to your chastity.","gameRound.result.success":"Success","gameRound.result.failure":"Failure","gameRound.result.running":"Running","game.mock":"Mock game","game.mock.description":"Mock game â just like a real one, except no consequences","game.cancel":"Cancel the game","game.cancel.confirm":"Do you want to cancel this round?","game.description":"Description / message from supervisor (optional)","game.description.helper":"Extra notes, extra orders to the sub, extra info for the voters etc.","game.description.show":"Game round description / message from supervisor","game.copy":"Copy parameters from a previous round","games.twitter.name":"Twitter challenge","games.twitter.description":"Put the fate of your dicklet in the hands of people on Twitter. Decide how many hours of chastity is a reply, a retweet and a fav worth â and wait for them to increase your counter.","games.bluesky.name":"Bluesky challenge","games.bluesky.description":"Put the fate of your dicklet in the hands of people on Bluesky. Decide how many hours of chastity is a reply, a repost and a fav worth â and wait for them to increase your counter.","games.wheel.name":"Wheel of misfortune","games.wheel.description":"Let the random chance decide if, how and when you're allowed to cum.","games.time.name":"Time cum control","games.time.description":"You either cum in a really short time, or you don't cum at all. You either withstand a long edging session, or you have to ruin your orgasm. We decide.","games.orders.name":"Game of orders","games.orders.description":"You won't be released until you carry out enough random orders to earn a point goal.","games.sudoku.name":"Sudoku","games.sudoku.description":"Solve a sudoku and win a shorter sentence. Fail to solve it and get locked for longer.","games.porn.name":"Forced porn","games.porn.description":"Let us choose which porn video you can jerk off to and how much time you have to cum.","games.porn.reshufflesInactive":"It's possible that the random video will not be available in your country. That's why it's recommended to have at least one reshuffle available.","game.porn.segment.straight":"<strong>Straight</strong> porn","game.porn.segment.gay":"<strong>Gay</strong> porn","game.porn.duration":"Duration of the porn video","game.porn.duration.short":"Draw a random <strong>short</strong> video: if you don't manage to cum before it ends, you don't get to cum and you have to <strong>lock up.</strong>","game.porn.duration.short.punishment":"If you cannot cum so fast, you'll get locked up for:","game.porn.duration.long":"Draw a random <strong>long</strong> video: you have to <strong>edge</strong> yourself, and if you can't resist and you cum before the last minute of the video, you have to <strong>ruin</strong> your orgasm and <strong>lock up</strong>.","game.porn.duration.long.punishment":"If you cum too early, you have to ruin your orgasm and you'll get locked up for:","game.porn.reshuffles":"Allow trying a different video this many times:","game.porn.came":"I just came!","game.porn.countdown.jerk":"Jerk off...","game.porn.countdown.hurry":"Hurry up!","game.porn.countdown.timeUp":"Time up!","game.porn.countdown.edge":"Keep edging","game.porn.countdown.cum":"You can cum now!","game.porn.params.short":"Short time","game.porn.params.long":"Long time","game.porn.result.duration":"Duration of this wank was","game.porn.params.segmentStraight":"Straight","game.porn.params.segmentGay":"Gay","game.porn.reshuffle":"Draw a new video ({count} left) â {countdown}s","game.porn.reshuffles.done":"Reshuffles done","game.porn.reshuffles.allowed":"Reshuffles allowed","game.porn.random":"Select <strong>random</strong> video to jerk to","game.porn.cumWindow":"Cum window","game.porn.cumWindow.help":"You'll have to cum in the last X minutes of the video","game.porn.punishment":"Punishment for failing","game.porn.punishment.help":"If you cum too early, you have to ruin your orgasm and you'll get locked up. If you cannot cum so fast, you don't get to cum and you'll get locked up.","games.mercy.name":"Mercy of the crowd","games.mercy.description":"Put your fate at the mercy of the crowd. Let people vote on how long you will stay locked.","games.error.locked":"You can't play this game while you're locked...","game.result.success":"Congrats, you did it!","game.result.fail":"You've fucked up. Now you have to lock up!","game.result.running":"This game is currently running","game.params":"Game params","game.voted":"Voted","game.wheel.params.punishment":"Lockup time","game.wheel.params.options":"Options to draw from:","game.time.duration":"Duration of the session","game.time.duration.short":"Be given a random <strong>short</strong> time: if you don't manage to cum before the countdown ends, you don't get to cum and you have to <strong>lock up.</strong>","game.time.duration.short.punishment":"If you cannot cum so fast, you'll get locked up for:","game.time.duration.long":"Be given a random <strong>long</strong> time: you have to <strong>edge</strong> yourself, and if you can't resist and you cum before the last minute, you have to <strong>ruin</strong> your orgasm and <strong>lock up</strong>.","game.time.duration.long.punishment":"If you cum too early, you have to ruin your orgasm and you'll get locked up for:","game.time.came":"I just came!","game.time.countdown.challenge":"Your challenge time is:","game.time.countdown.jerk":"Jerk off...","game.time.countdown.hurry":"Hurry up!","game.time.countdown.timeUp":"Time up!","game.time.countdown.edge":"Keep edging","game.time.countdown.cum":"You can cum now!","game.time.params.short":"Short time","game.time.params.long":"Long time","game.time.result.duration":"Duration of this wank was","game.orders.params.random":"Draw a <strong>random</strong> task to do at the moment. If you select this option, you won't be able to pick and choose which task you do at the moment, instead you will <em>have to</em> do whatever got selected before you can continue to do any other task.","game.orders.params.points":"points","game.orders.params.pointsTarget":"Points required to get unlocked:","game.orders.params.tasks":"Task to choose/draw from:","game.orders.params.selfManage":"Allow the sub to mark tasks as finished","game.orders.preset.header":"Presets of tasks:","game.orders.preset.selfTraining":"Self-training","game.orders.preset.cbt":"CBT & TT","game.orders.preset.withPartner":"With a partner","game.orders.preset.withPartnerGay":"With a partner","game.orders.preset.withPartnerStraight":"With a partner","game.orders.preset.slutty":"Slutty tasks","game.orders.preset.sluttyGay":"Slutty tasks","game.orders.preset.sluttyStraight":"Slutty tasks","game.orders.preset.weightLoss":"Weight loss tasks","game.orders.preset.project":"Work on a project","game.orders.preset.apply":"Add tasks from this preset","game.orders.preset.translation":"Show me the presets tasks translated into __language__. It is recommended to use English, so that as many other users as possible can understand your game, but if you prefer, you can use any language.","game.orders.preset.selfTraining.values":["Buttplug (60 minutes)$3","Small dildo (20 minutes)$2","Big dildo (20 minutes)$3","Inflatable plug (20 minutes)$3","Edging session (no cumming!) (60 minutes)$7","Hands free orgasm in a cage$10","Drink your piss$5"].join("|"),"game.orders.preset.cbt.values":["Electro-stimulation cock & balls (10 minutes)$6","Electro-stimulation nipples (10 minutes)$6","Weight on balls (30 minutes)$4","Hot wax on cock & balls (10 minutes)$5","Ice on cock & balls (10 minutes)$5","Clips on nipples (20 minutes)$4","Clips on balls (10 minutes)$4","Spank ass (60 hits)$3","Spank balls (30 hits)$5","Sounding$5"].join("|"),"game.orders.preset.withPartner.values":["Drink someone else's piss$10","Get pissed on$8","Eat ass$5","Lick armpits$3"].join("|"),"game.orders.preset.withPartnerGay.values":["Suck a cock$5","Get ass-fucked$10"].join("|"),"game.orders.preset.withPartnerStraight.values":["Eat a pussy$5"].join("|"),"game.orders.preset.slutty.values":["Drink someone else's piss (max once per partner)$10","Get pissed on (max once per partner)$8","Eat ass (max once per partner)$5","Lick armpits (max once per partner)$3","Bonus if someone pays for fucking you$7"].join("|"),"game.orders.preset.sluttyGay.values":["Suck a cock (max once per partner)$5","Get ass-fucked (max once per partner)$10"].join("|"),"game.orders.preset.sluttyStraight.values":["Eat a pussy (max once per partner)$5"].join("|"),"game.orders.preset.weightLoss.values":["Lose 1kg$10","Stay in daily calories limit$1","Excercise$3"].join("|"),"game.orders.preset.project.values":["Work on a project today (book, app, ...)$3"].join("|"),"game.orders.clear":"Clear the list of tasks","game.orders.counter.points":"Earned points:","game.orders.task.done":"Mark as done","game.orders.task.done.confirm":"Mark '{task}' as done?","game.orders.task.undo.confirm":"Undo '{task}'","game.orders.tasks.done":"Done tasks:","game.orders.result.finish":"Finish the game","game.orders.random.true":"Random tasks mode","game.orders.random.false":"Free choice mode","game.orders.task.next":"Current task to do","game.orders.done.empty":"No finished tasks yet.","game.twitter.params.tweetUrl":"URL of the tweet","game.twitter.params.repliesPunishment":"Time locked for each reply","game.twitter.params.repliesPunishment.warning":"Because of the <a href='/post/4wMabQPqVUicB8fDGsAoyi'>limitations of Twitter API</a> the number of replies can't be fetched automatically like the others. It will only get updated when someone visits the game roun
2d page, and in some cases it will have to be entered manually.","game.twitter.params.retweetsPunishment":"Time locked for each retweet","game.twitter.params.favsPunishment":"Time locked for each fav","game.twitter.params.end":"Finish counting at","game.twitter.linkDescription":"Challenge Tweet","game.twitter.refreshInterval":"Stats are recounted every 15 minutes and might not be up-to-date because of caching on Twitter's side.","game.twitter.end":"Counting until","game.twitter.finished":"Finished","game.twitter.cantfetch":"We're unable to fetch this tweet. It might be private or deleted!","game.bluesky.params.postUrl":"URL of the post","game.bluesky.params.repliesPunishment":"Time locked for each reply","game.bluesky.params.repostsPunishment":"Time locked for each repost","game.bluesky.params.favsPunishment":"Time locked for each fav","game.bluesky.params.end":"Finish counting at","game.bluesky.linkDescription":"Challenge post","game.bluesky.refreshInterval":"Stats are recounted every 15 minutes and might not be up-to-date because of caching on Bluesky's side.","game.bluesky.end":"Counting until","game.bluesky.finished":"Finished","game.bluesky.cantfetch":"We're unable to fetch this post. It might be private or deleted!","game.mercy.range":"Let each person vote in the following range (their votes will add up)","game.mercy.end":"Close the vote at","game.mercy.info.negative":"If you end up with negative punishment, it will be changed to zero anyway, so don't count on this game reducing your sentence.","game.mercy.info.share":"It's not fun if people don't know they can vote here. Remember to <strong>share a link</strong> to your challenge on our Forum, on Twitter, and in other places!","game.mercy.castVote":"Cast your vote!","game.mercy.castVote.anon":"Log in to join the voting...","game.mercy.user":"Member","game.mercy.vote":"Vote","game.mercy.result":"Vote result","locktober.name":"Locktober","locktober.description":"Take on the Locktober challenge! Stay locked for the entire October and roll the dice every single day of it (from midnight to midnight UTC). Daily tasks will include training or extra few hours locked.","locktober.info":"If you draw extra hours locked, they will be cumulated and added to your calendar after October ends.","locktober.done":"Done","locktober.wontDo":"Won't do that. Give me +4h instead.","locktober.signUp":"Sign me up!","locktober.signedUp":"You're signed up. The event will start on October 1st.","locktober.newDay":"It's day {day}/31 of Locktober. Roll the dice to see your task for today.","locktober.roll":"Roll the dice!","locktober.missed":"Missed!","locktober.over":"Locktober is over!","locktober.result.0":"Fucked up! Didn't make it entire monthâ¦","locktober.result.1":"Consolation prize⦠Stayed locked, but missed some daily tasks.","locktober.result.2":"Made it! Stayed lock entire month and did daily tasks every single day.","calendar.period.blocksTermination":"Blocks from unlocking","calendar.period.releaseCondition":"Release condition","calendar.period.releaseCondition.markMet":"Mark condition as met","calendar.period.releaseCondition.markMetConfirm":"Are you sure you want to mark this release condition as met?","calendar.period.releaseCondition.markedMetConfirm":"marked your release condition as met","calendar.period.archival.add":"Add archival period","calendar.period.archival.add.info":"Normally, #TeamLocked tries to make your calendar more reliable and to motivate you to stick to your commitments by being strict with how you can manage your calendar. Here, however, you can add entries to your calendar freely â for instance the ones from before you joined our app. Note that the archival periods will be clearly marked as such!","calendar.period.archival.badge":"Entered manually","calendar.period.start":"Start","calendar.period.end":"End","calendar.period.lockedAt":"Locked","calendar.period.releaseAt":"Release","calendar.period.doneAlready":"Done already","calendar.period.timeLeft":"Time left","calendar.period.rules":"Rules for this lockup","calendar.period.rules.wank.yes":"can wank and edge without cumming","calendar.period.rules.wank.no":"cannot wank","calendar.period.rules.cum.yes":"can cum, but only with cage on","calendar.period.rules.cum.no":"cannot cum","calendar.period.rules.sleep.yes":"can unlock for sleep","calendar.period.rules.sleep.no":"cannot unlock for sleep","calendar.period.rules.locker.yes":"can unlock for nude beach, locker, etc.","calendar.period.rules.locker.no":"cannot unlock for nude beach, locker, etc.","calendar.period.rules.medical.yes":"can unlock for medical emergencie
2s","calendar.period.rules.custom":"Custom rules","helpOut.header":"Help out!","helpOut.nonFinancial":"A non-financial help will be just as highly appreciated! You could:","helpOut.reportBug.more":"if you find one,","helpOut.ideas":"Share your ideas","helpOut.ideas.more":"on how to improve the platform,","helpOut.share":"Spread the word and recommend #TeamLocked to your friends!","helpOut.donate":"Donate","helpOut.donate.liberapay":"Donate with Liberapay","helpOut.donate.paypal":"Donate with PayPal","helpOut.donate.bitcoin":"Donate with Bitcoin","helpOut.donate.bat":"Tip with BAT","helpOut.translations":"Help out with translations","helpOut.tag.recurring":"recurring","helpOut.tag.anonymous":"anonymous","helpOut.tag.publicity":"publicity","sponsor.display":"This week's sponsor","sponsor.become":"Become a sponsor","sponsor.header":"Sponsorship","comment.list":"Comments","comment.send":"Send comment","comment.remove.confirm":"Are you sure you want to remove this comment?","conversation.start":"Start a conversation","message.send":"Send","conversation.messages.limit":"Only the latest {0} messages are available...","message.delete.confirm":"Are you sure you want to delete this message for everybody?","message.deleted":"Message deleted","conversation.leave":"Leave this conversation","conversation.leave.confirm":"Are you sure you want to leave this conversation and remove all your messages?","conversation.left":"{0} has left the conversation","conversation.unread":"You have an unread conversation with {0}","message.enterSends":"Press ENTER to send","members.search":"Find members","members.empty":"No members found matching those criteria...","members.search.moreCriteria":"Please select more narrow search criteria...","members.reset":"Reset filters","members.search.text":"Username or profile description contains","members.search.avatar":"Only with an avatar","members.search.online":"Online status","members.search.online.currently":"Only members currently online","members.foundCount":"Found 1 member | Found {count} members","error.memberNotFound":"This member does not exist or is not active","member.description":"Description","member.description.charactersLeft":"{0} characters left","cock.header":"Cock","cock.none":"I don't have a cock","cock.circumcised.empty":"(empty)","cock.circumcised.0":"intact","cock.circumcised.1":"cut","role.header":"Role","role.0":"exclusively submissive","role.1":"mostly submissive","role.2":"switch, more submissive","role.3":"switch","role.4":"switch, more dominant","role.5":"mostly dominant","role.6":"exclusively dominant","role.0-1":"submissive","role.2-4":"switch","role.5-6":"dominant","orientation.header":"Orientation","orientation.0":"straight","orientation.1":"straight/{0}","orientation.2":"{0}/straight","orientation.3":"{0}","orientation.4":"{0}/gay","orientation.5":"gay/{0}","orientation.6":"gay","orientation.asexual":"asexual","orientation.demisexual":"demisexual",pan:"pan","gender.header":"Gender","gender.male":"man","gender.female":"woman","gender.nonBinary":"non-binary","cisTrans.cis":"cis {gender}","cisTrans.trans":"trans {gender}","cisTrans.empty":"(empty)","age.header":"Age","posts.latest":"Latest post","images.header":"Pics","location.header":"Location","twitter.account":"Twitter account","twitter.public":"Show link to your twitter account publicly (works only if you've connected the account)","bluesky.account":"Bluesky account","bluesky.hasOwnServer":"I use a private server (PDS)","bluesky.server":"Bluesky server (bsky.social)","bluesky.handleOrDid":"Bluesky Handle or DID (teamlocked.men)","bluesky.appPassword":"Bluesky app password (xxxx-xxxx-xxxx-xxxx)","bluesky.appPasswordInfo":"Create an app password in your <a href='https://bsky.app/settings/app-passwords/' target='_blank' rel='noopener'>Bluesky-Account</a> and paste it here.<br/>The app password is only used once to verify your Bluesky account.","member.joined":"Joined","member.last_active":"Last active","pronouns.helper":"You can simply enter your pronouns here (like âhe/himâ), or you can link to them on pronouns.page (like âhttps://en.pronouns.page/heâ) or even to your profile (like â@exampleâ or âhttps://pronouns.page/@exampleâ)",country:"Country",province:"Province",city:"City","member.languages":"Languages","member.languages.level.1":"Basic","member.languages.level.2":"Intermediate","member.languages.level.3":"Advanced","member.languages.level.4":"Fluent","member.languages.level.5":"Native","empty.default":"Nothing to see here... yet","social.connect":"Connect","social.update":"Update data","social.disconnect":"Disconnect","social.disconnect.confirm":"Are you sure you want to disconnect from this account? You'll still be able to log in with your email.","confirm.yes":"Yes, I'm sure","confirm.no":"Cancel","confirm.header":"Confirm","reportBug.header":"Report a bug","reportBug.intro":"#TeamLocked is still a young project. That means, some bugs and imperfections are still expected to be found. If you do find a bug, please report it using this instruction:","internal.profile.header":"Profile visibility","internal.post.header":"Post visibility","internal.internal":"just for members","internal.public":"public","profileCompleteness.header":"Profile {0}% complete","profileCompleteness.onlyYou":"(only you can see this card)","profileCompleteness.description":"Add description","profileCompleteness.description.done":"You've added a description","profileCompleteness.role":"Add info about your role","profileCompleteness.role.done":"You've added your role","profileCompleteness.gender":"Add your gender","profileCompleteness.gender.done":"You've added your gender","profileCompleteness.location":"Add your country of residence","profileCompleteness.location.done":"You've added your location","profileCompleteness.cock":"Add info about your cock","profileCompleteness.cock.done":"You've added your cock size","profileCompleteness.age":"Add your age","profileCompleteness.age.done":"You've added your age","profileCompleteness.orientation":"Add your orientation","profileCompleteness.orientation.done":"You've added your orientation","profileCompleteness.avatar":"Select an avatar","profileCompleteness.avatar.done":"You've selected an avatar","profileCompleteness.post":"Publish your first post","profileCompleteness.post.done":"You've published your first post","profileCompleteness.game":"Play a game","profileCompleteness.game.done":"You've played your first game","report.header":"Report abuse","report.send":"Send report","report.cancel":"Cancel","report.reason.spam":"Spam","report.reason.hate":"Hate speech (racism, xenophobia, homophobia, misogyny, etc.)","report.reason.misinformation":"Misinformation","report.reason.harassment":"Harassment","report.reason.impersonation":"Impersonation","report.reason.illegal":"Illegal content","report.reason.totalitarian":"Propagation of totalitarian regimes","report.reason.copyright":"Copyright or trademark violations","report.extraInfo":"More info, eg. what happened exactly? how do you know? where should admins look to confirm it?","report.sent":"Report saved. Thanks for caring!","ban.info":"Your account is suspended until {until}. Reason: {reason}.","online.now":"Online","online.recently":"Online {time} ago","impersonate.start":"Impersonate","impersonate.stop":"Stop impersonation","admin.badge":"Admin","admin.header":"Admin","admin.members.header":"All members","admin.posts.header":"All posts","admin.pics.header":"All pics","admin.stats.header":"Stats","admin.stats.main":"Main stats","admin.stats.mainDiff":"Main diffs","admin.stats.game":"Game roun
2ds stats","admin.moderator.badge":"Moderator","admin.notifications.header":"Notifications","admin.notifications.disable":"Disable email notifications for email:","admin.reports.header":"Abuse reports","mention.post":"mentioned you in post â{0}â","mention.comment":"replied to you in post â{0}â: â{1}â","comment.reply":"Reply","account.settings":"Account settings","account.settings.hideCircumcision":"Hide fields related to circumcision","account.settings.emailNotificationsFrequency":"Send me an email with unread notifications","account.settings.emailNotificationsFrequency.null":"Never","account.settings.emailNotificationsFrequency.1":"Hourly","account.settings.emailNotificationsFrequency.24":"Daily","account.settings.emailNotificationsFrequency.168":"Weekly","account.settings.emailNotificationsFrequency.720":"Monthly","account.disable":"Suspend account","account.disable.confirm":"Need a break? You can temporarily deactivate your account here and come back later.","account.disable.disabled":"You have suspended your account. You can re-enable it any time.","account.disable.reenable":"Enable back","account.delete":"Delete account","account.delete.confirm":"Are you sure you want to delete your account? This will be PERMANENT!","account.mfa.header":"Multi-factor authorisation","account.mfa.init":"Set up","account.mfa.init.instruction":"Scan this QR code with a OTP app (like <a href='https://authy.com' target='_blank' rel='noopener'>Authy</a>) and then type back the numeric code it gives you.","account.mfa.code":"Code","account.mfa.code.send":"Send code","account.mfa.fallbacks.instruction":"Multi-factor authorisation is set up for your account. The following are fallback codes you can use in case you ever lose your phone. Copy them and store them in a safe place.","account.mfa.fallbacks.regenerate":"Regenerate","account.mfa.hovershow":"Hover to show","account.mfa.disable.action":"Disable MFA","account.mfa.disable.confirm":"Are you sure you want to disable MFA?","notification.approve":"Approve","notification.reject":"Reject","notification.browser.default":"Turn on browser notifications","notification.browser.granted":"Browser notifications on","notification.browser.denied":"Browser notifications off","notfound.header":"Not found!","notfound.text":"There's nothing under this URL...","chat.header":"Chat","chat.send":"Type your message here and press Enter to sendâ¦","formError.NotBlank":"This field is required.","formError.LengthMin":"This value is too short. It should have at least {min} characters.","formError.LengthMax":"This value is too long. It should have at most {max} characters.","formError.CountMin":"Select min. {min} options.","formError.CountMax":"Select max. {max} options.","formError.UniqueUser":"Such user already exists.","formError.RangeMin":"The minimum value allowed is {min}.","formError.RangeMax":"The maximum value allowed is {max}.","formError.ValidLocation":"This is not a valid location.","formError.Username":"Username can only contain letters, numbers, dashes, underscores and dots.","formError.Email":"This is not a valid email.","formError.Code":"This is not the valid code.","formError.Duplicate":"It already exists...","formError.DuplicateReport":"You've already reported this item...","formError.InvalidVideo":"Please provide a valid video URL","newVersion.header":"New version is available! ð¥³","newVersion.refresh":"Refresh the page","newVersion.refreshInstruction":"to load it.","newVersion.dismiss":"Dismiss","features.header":"Features of this app","features.calendar":"Keep a calendar of your chastity","features.games":"Play chastity-related games","features.profile":"Set up your profile...","features.search":"...and find yourself a keyholder or a sub","features.forum":"Connect with other members on a public forum...","features.messages":"...or in private messages","features.dashboard":"See an overview of how are your friends doing","features.more":"And more!","email.welcome":"Hi!","email.regards":"Best,","email.signature":"#TeamLocked","email.remindPassword.subject":"Log in using email","email.remindPassword.content":"You can click on the button below to log in to the #TeamLocked website. Afterwards, you can reset your password, if you forgot it.|The link will expire after an hour.|If you didn't request this email, you can ignore it.","email.remindPassword.button":"Log in here","email.confirmEmail.subject":"Confirm your email","email.confirmEmail.content":"Welcome to #TeamLocked! One last step before you can set up your profile: confirm your email by clicking on the button below.|If you didn't request this email, you can ignore it.","email.confirmEmail.button":"Click here","email.n
2otifications.subject":"You have new notifications","email.notifications.content":"You have unread notifications:|%notifications%|Log in to <a href='%link%' target='_blank'>#TeamLocked</a> to check them out!|You can change the frequency of those emails in your account settings.","email.notifications.button":"Log in","email.abuseReport.subject":"Abuse report","email.abuseReport.content":"Object `%object%` has just been reported for: %reasons%. (%extraInfo%)","email.abuseReport.button":"Link","email.inactive.subject":"We miss you!","email.inactive.content":"You've been inactive on #TeamLocked for a while now. We miss you! ð¢|If you want to keep your account, log in, and we'll stop sending you these emails.|Otherwise, we'll delete your account soon.","email.inactive.button":"Log in","email.newGeo.subject":"New geo data available","email.newGeo.content":"Run bin/console app:geo:fetch and commit","email.consoleError.subject":"Console task failing","email.consoleError.content":"Command %command% is failing!|%output%","mode.dark":"Dark mode","mode.light":"Light mode","faq.header.short":"FAQ","faq.header.long":"Frequently Asked Questions","faq.start":"How do I start?","faq.start.0":"Just <a href='{login}'>make an account</a> and explore â both the world of chastity and the website itself.","faq.start.1":"Head to the <a href='{forum}'>forum</a> to talk to other people, search through our <a href='{members}'>list of members</a>, send them DMs, fill out your profile, keep your calendar up-to-date, play <a href='{games}'>games</a>, and more!","faq.cage":"Which cage should I buy?","faq.cage.0":"Check out the <a href='{tips}'>Tips sharing</a> section of our <a href='{forum}'>forum</a> â people will help you out!","faq.bug":"How do I report a bug on the website or suggest a new feature?","faq.bug.0":"Just contact the admins. For reporting bugs there's a specific instruction <a href='{bugs}'>here</a>.","faq.admins":"How do I contact admins?","faq.admins.0":"We have a lot of work to do on #TeamLocked, so please only contact us with technical questions â and not asking for advice, sending unsolicited clit pics, etc. ð","faq.admins.1":"If you want to post publicly and have the community comment on the subject (e.g. an idea of a new feature), just post in the <a href='{platform}'>Platform</a> category â we'll be notified.","faq.admins.2":"If you prefer sending a DM (e.g. manual changes to the calendar), write to <a href='{micr0}'>@micr0</a> or to <a href='https://twitter.com/TeamLockedMen'>@TeamLockedMen on Twitter</a>.","faq.admins.3":"Note that the website is translated by volunteers other than admins. We speak English and German, please don't write to us in other languages ð","faq.admins.4":"It's a hobby project, we're not working on it full-time, so please be patient, we might take a while to answer you.","faq.mobile":"Is there a mobile app?","faq.mobile.0":"More people use #TeamLocked on mobile than on desktop, so having mobile apps for Android and iOS would indeed be very cool⦠Alas, it takes a lot of effort to create and maintain such app (and I would have to learn coding for Android & iOS from scratch, unless somebody else wants to kick in), while its presence in app stores is pretty iffy, due to explicitly adult content.","faq.mobile.1":"But, what you can do, is to add the #TeamLocked website to your home screen (<a href='https://www.howtogeek.com/196087/how-to-add-websites-to-the-home-screen-on-any-smartphone-or-tablet/' target='_blank' rel='noopener'>instructions here</a>) to make it feel <em>almost</em> like a native app, and you can enable browser push notifications in your <a href='{account}'>account settings</a> (doesn't work on all browsers, thoughâ¦)."}},3059:e=>{function t(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=t,t.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=1&Math.floor(10*t)?e+n:e-n}return 0|Math.min(e,this.max)},t.prototype.reset=function(){this.attempts=0},t.prototype.setMin=function(e){this.ms=e},t.prototype.setMax=function(e){this.max=e},t.prototype.setJitter=function(e){this.jitter=e}},3371:(e,t)=>{!function(e){"use strict";
2t.encode=function(t){var n,r=new Uint8Array(t),o=r.length,i="";for(n=0;n<o;n+=3)i+=e[r[n]>>2],i+=e[(3&r[n])<<4|r[n+1]>>4],i+=e[(15&r[n+1])<<2|r[n+2]>>6],i+=e[63&r[n+2]];return o%3==2?i=i.substring(0,i.length-1)+"=":o%3==1&&(i=i.substring(0,i.length-2)+"=="),i},t.decode=function(t){var n,r,o,i,a,s=.75*t.length,l=t.length,c=0;"="===t[t.length-1]&&(s--,"="===t[t.length-2]&&s--);var u=new ArrayBuffer(s),d=new Uint8Array(u);for(n=0;n<l;n+=4)r=e.indexOf(t[n]),o=e.indexOf(t[n+1]),i=e.indexOf(t[n+2]),a=e.indexOf(t[n+3]),d[c++]=r<<2|o>>4,d[c++]=(15&o)<<4|i>>2,d[c++]=(3&i)<<6|63&a;return u}}("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")},3118:e=>{var t=void 0!==t?t:"undefined"!=typeof WebKitBlobBuilder?WebKitBlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder&&MozBlobBuilder,n=function(){try{return 2===new Blob(["hi"]).size}catch(e){return!1}}(),r=n&&function(){try{return 2===new Blob([new Uint8Array([1,2])]).size}catch(e){return!1}}(),o=t&&t.prototype.append&&t.prototype.getBlob;function i(e){return e.map((function(e){if(e.buffer instanceof ArrayBuffer){var t=e.buffer;if(e.byteLength!==t.byteLength){var n=new Uint8Array(e.byteLength);n.set(new Uint8Array(t,e.byteOffset,e.byteLength)),t=n.buffer}return t}return e}))}function a(e,n){n=n||{};var r=new t;return i(e).forEach((function(e){r.append(e)})),n.type?r.getBlob(n.type):r.getBlob()}function s(e,t){return new Blob(i(e),t||{})}"undefined"!=typeof Blob&&(a.prototype=Blob.prototype,s.prototype=Blob.prototype),e.exports=n?r?Blob:s:o?a:void 0},1985:function(e){e.exports=function(){"use strict";function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function t(){if(!("IntersectionObserver"in window))throw new Error("\n bounds.js requires IntersectionObserver on the global object.\n IntersectionObserver is unavailable in IE and other older\n versions of browsers.\n See https://github.com/ChrisCavs/bounds.js/blob/master/README.md\n for more compatibility information.\n ")}function n(){}var r=(function(t,n,r){n&&e(t.prototype,n),r&&e(t,r)}(o,[{key:"watch",value:function(e,t,r){var o={el:e,onEnter:1<arguments.length&&void 0!==t?t:n,onLeave:2<arguments.length&&void 0!==r?r:n};return this.nodes.push(o),this.observer.observe(e),o}},{key:"unWatch",value:function(e){var t=this._findByNode(e,!0);return-1!==t&&(this.nodes.splice(t,1),this.observer.unobserve(e)),this}},{key:"check",value:function(e){return(this._findByNode(e)||{}).history}},{key:"clear",value:function(){return this.nodes=[],this.observer.disconnect(),this}},{key:"_emit",value:function(e){var t=this,n=e.map((function(e){var n=t._findByNode(e.target),r=e.intersectionRatio;return n.history=e.isIntersecting,e.isIntersecting?n.onEnter(r):n.onLeave(r),{el:e.target,inside:e.isIntersecting,outside:!e.isIntersecting,ratio:e.intersectionRatio}}));this.onEmit(n)}},{key:"_findByNode",value:function(e,t){var n=1<arguments.length&&void 0!==t&&t?"findIndex":"find";return this.nodes[n]((function(t){return t.el.isEqualNode(e)}))}}],[{key:"checkCompatibility",value:function(){t()}}]),o);function o(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},r=e.root,i=e.margins,a=e.threshold,s=e.onEmit;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),t();var l={root:r||null,rootMargin:function(e){var t=0<arguments.length&&void 0!==e?e:{},n=t.top,r=void 0===n?0:n,o=t.right,i=void 0===o?0:o,a=t.bottom,s=void 0===a?0:a,l=t.left;return r+"px "+i+"px "+s+"px "+(void 0===l?0:l)+"px"}(i),threshold:a||0};this.nodes=[],this.onEmit=s||n,this.observer=new IntersectionObserver(this._emit.bind(this),l)}return function(e){return new r(e)}}()},2151:e=>{var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=t},8144:e=>{var t=[].slice;e.exports=function(e,n){if("string"==typeof n&&(n=e[n]),"function"!=typeof n)throw new Error("bind() requires a function");var r=t.call(arguments,2);return function(){return n.apply(e,r.concat(t.call(arguments)))}}},5971:e=>{function t(e){if(e)return function(e){for(var n in t.prototype)e[n]=t.prototype[n];return e}(e)}e.exports=t,t.prototype.on=t.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},t.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},t.prototype.off=t.prototype.removeListener=t.prototype.removeAllListeners=t.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},t.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){r=0;for(var o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t)}return this},t.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},t.prototype.hasListeners=function(e){return!!this.listeners(e).length}},2370:e=>{e.exports=function(e,t){var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},3939:e=>{var t,n;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
2+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n<e.length;n++,r+=8)t[r>>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],r=0;r<e.length;r+=3)for(var o=e[r]<<16|e[r+1]<<8|e[r+2],i=0;i<4;i++)8*r+6*i<=8*e.length?n.push(t.charAt(o>>>6*(3-i)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,o=0;r<e.length;o=++r%4)0!=o&&n.push((t.indexOf(e.charAt(r-1))&Math.pow(2,-2*o+8)-1)<<2*o|t.indexOf(e.charAt(r))>>>6-2*o);return n}},e.exports=n},104:e=>{e.exports="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")()},3357:(e,t,n)=>{e.exports=n(7292),e.exports.parser=n(3401)},7292:(e,t,n)=>{var r=n(8520),o=n(5971),i=n(6617)("engine.io-client:socket"),a=n(6938),s=n(3401),l=n(4258),c=n(9140);function u(e,t){if(!(this instanceof u))return new u(e,t);t=t||{},e&&"object"==typeof e&&(t=e,e=null),e?(e=l(e),t.hostname=e.host,t.secure="https"===e.protocol||"wss"===e.protocol,t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=l(t.host).host),this.secure=null!=t.secure?t.secure:"undefined"!=typeof location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.agent=t.agent||!1,this.hostname=t.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=t.port||("undefined"!=typeof location&&location.port?location.port:this.secure?443:80),this.query=t.query||{},"string"==typeof this.query&&(this.query=c.decode(this.query)),this.upgrade=!1!==t.upgrade,this.path=(t.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!t.forceJSONP,this.jsonp=!1!==t.jsonp,this.forceBase64=!!t.forceBase64,this.enablesXDR=!!t.enablesXDR,this.withCredentials=!1!==t.withCredentials,this.timestampParam=t.timestampParam||"t",this.timestampRequests=t.timestampRequests,this.transports=t.transports||["polling","websocket"],this.transportOptions=t.transportOptions||{},this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.policyPort=t.policyPort||843,this.rememberUpgrade=t.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=t.onlyBinaryUpgrades,this.perMessageDeflate=!1!==t.perMessageDeflate&&(t.perMessageDeflate||{}),!0===this.perMessageDeflate&&(this.perMessageDeflate={}),this.perMessageDeflate&&null==this.perMessageDeflate.threshold&&(this.perMessageDeflate.threshold=1024),this.pfx=t.pfx||void 0,this.key=t.key||void 0,this.passphrase=t.passphrase||void 0,this.cert=t.cert||void 0,this.ca=t.ca||void 0,this.ciphers=t.ciphers||void 0,this.rejectUnauthorized=void 0===t.rejectUnauthorized||t.rejectUnauthorized,this.forceNode=!!t.forceNode,this.isReactNative="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),("undefined"==typeof self||this.isReactNative)&&(t.extraHeaders&&Object.keys(t.extraHeaders).length>0&&(this.extraHeaders=t.extraHeaders),t.localAddress&&(this.localAddress=t.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}e.exports=u,u.priorWebsocketSuccess=!1,o(u.prototype),u.protocol=s.protocol,u.Socket=u,u.Transport=n(2672),u.transports=n(8520),u.parser=n(3401),u.prototype.createTransport=function(e){i('creating transport "%s"',e);var t=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}(this.query);t.EIO=s.protocol,t.transport=e;var n=this.transportOptions[e]||{};return this.id&&(t.sid=this.id),new r[e]({query:t,socket:this,agent:n.agent||this.agent,hostname:n.hostname||this.hostname,port:n.port||this.port,secure:n.secure||this.secure,path:n.path||this.path,forceJSONP:n.forceJSONP||this.forceJSONP,jsonp:n.jsonp||this.jsonp,forceBase64:n.forceBase64||this.forceBase64,enablesXDR:n.enablesXDR||this.enablesXDR,withCredentials:n.withCredentials||this.withCredentials,timestampRequests:n.timestampRequests||this.timestampRequests,timestampParam:n.timestampParam||this.timestampParam,policyPort:n.policyPort||this.policyPort,pfx:n.pfx||this.pfx,key:n.key||this.key,passphrase:n.passphrase||this.passphrase,cert:n.cert||this.cert,ca:n.ca||this.ca,ciphers:n.ciphers||this.ciphers,rejectUnauthorized:n.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:n.perMessageDeflate||this.perMessageDeflate,extraHeaders:n.extraHeaders||this.extraHeaders,forceNo
2de:n.forceNode||this.forceNode,localAddress:n.localAddress||this.localAddress,requestTimeout:n.requestTimeout||this.requestTimeout,protocols:n.protocols||void 0,isReactNative:this.isReactNative})},u.prototype.open=function(){var e;if(this.rememberUpgrade&&u.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length){var t=this;return void setTimeout((function(){t.emit("error","No transports available")}),0)}e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(e){return this.transports.shift(),void this.open()}e.open(),this.setTransport(e)},u.prototype.setTransport=function(e){i("setting transport %s",e.name);var t=this;this.transport&&(i("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=e,e.on("drain",(function(){t.onDrain()})).on("packet",(function(e){t.onPacket(e)})).on("error",(function(e){t.onError(e)})).on("close",(function(){t.onClose("transport close")}))},u.prototype.probe=function(e){i('probing transport "%s"',e);var t=this.createTransport(e,{probe:1}),n=!1,r=this;function o(){if(r.onlyBinaryUpgrades){var o=!this.supportsBinary&&r.transport.supportsBinary;n=n||o}n||(i('probe transport "%s" opened',e),t.send([{type:"ping",data:"probe"}]),t.once("packet",(function(o){if(!n)if("pong"===o.type&&"probe"===o.data){if(i('probe transport "%s" pong',e),r.upgrading=!0,r.emit("upgrading",t),!t)return;u.priorWebsocketSuccess="websocket"===t.name,i('pausing current transport "%s"',r.transport.name),r.transport.pause((function(){n||"closed"!==r.readyState&&(i("changing transport and sending upgrade packet"),f(),r.setTransport(t),t.send([{type:"upgrade"}]),r.emit("upgrade",t),t=null,r.upgrading=!1,r.flush())}))}else{i('probe transport "%s" failed',e);var a=new Error("probe error");a.transport=t.name,r.emit("upgradeError",a)}})))}function a(){n||(n=!0,f(),t.close(),t=null)}function s(n){var o=new Error("probe error: "+n);o.transport=t.name,a(),i('probe transport "%s" failed because of error: %s',e,n),r.emit("upgradeError",o)}function l(){s("transport closed")}function c(){s("socket closed")}function d(e){t&&e.name!==t.name&&(i('"%s" works - aborting "%s"',e.name,t.name),a())}function f(){t.removeListener("open",o),t.removeListener("error",s),t.removeListener("close",l),r.removeListener("close",c),r.removeListener("upgrading",d)}u.priorWebsocketSuccess=!1,t.once("open",o),t.once("error",s),t.once("close",l),this.once("close",c),this.once("upgrading",d),t.open()},u.prototype.onOpen=function(){if(i("socket open"),this.readyState="open",u.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.upgrade&&this.transport.pause){i("starting upgrade probes");for(var e=0,t=this.upgrades.length;e<t;e++)this.probe(this.upgrades[e])}},u.prototype.onPacket=function(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(i('socket receive: type "%s", data "%s"',e.type,e.data),this.emit("packet",e),this.emit("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"pong":this.setPing(),this.emit("pong");break;case"error":var t=new Error("server error");t.code=e.data,this.onError(t);break;
vendor: 10,325 bytes, line 2
2case"message":this.emit("data",e.data),this.emit("message",e.data)}else i('packet received with socket readyState "%s"',this.readyState)},u.prototype.onHandshake=function(e){this.emit("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.onOpen(),"closed"!==this.readyState&&(this.setPing(),this.removeListener("heartbeat",this.onHeartbeat),this.on("heartbeat",this.onHeartbeat))},u.prototype.onHeartbeat=function(e){clearTimeout(this.pingTimeoutTimer);var t=this;t.pingTimeoutTimer=setTimeout((function(){"closed"!==t.readyState&&t.onClose("ping timeout")}),e||t.pingInterval+t.pingTimeout)},u.prototype.setPing=function(){var e=this;clearTimeout(e.pingIntervalTimer),e.pingIntervalTimer=setTimeout((function(){i("writing ping packet - expecting pong within %sms",e.pingTimeout),e.ping(),e.onHeartbeat(e.pingTimeout)}),e.pingInterval)},u.prototype.ping=function(){var e=this;this.sendPacket("ping",(function(){e.emit("ping")}))},u.prototype.onDrain=function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emit("drain"):this.flush()},u.prototype.flush=function(){"closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(i("flushing %d packets in socket",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emit("flush"))},u.prototype.write=u.prototype.send=function(e,t,n){return this.sendPacket("message",e,t,n),this},u.prototype.sendPacket=function(e,t,n,r){if("function"==typeof t&&(r=t,t=void 0),"function"==typeof n&&(r=n,n=null),"closing"!==this.readyState&&"closed"!==this.readyState){(n=n||{}).compress=!1!==n.compress;var o={type:e,data:t,options:n};this.emit("packetCreate",o),this.writeBuffer.push(o),r&&this.once("flush",r),this.flush()}},u.prototype.close=function(){if("opening"===this.readyState||"open"===this.readyState){this.readyState="closing";var e=this;this.writeBuffer.length?this.once("drain",(function(){this.upgrading?r():t()})):this.upgrading?r():t()}function t(){e.onClose("forced close"),i("socket closing - telling transport to close"),e.transport.close()}function n(){e.removeListener("upgrade",n),e.removeListener("upgradeError",n),t()}function r(){e.once("upgrade",n),e.once("upgradeError",n)}return this},u.prototype.onError=function(e){i("socket error %j",e),u.priorWebsocketSuccess=!1,this.emit("error",e),this.onClose("transport error",e)},u.prototype.onClose=function(e,t){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState){i('socket close with reason: "%s"',e);clearTimeout(this.pingIntervalTimer),clearTimeout(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),this.readyState="closed",this.id=null,this.emit("close",e,t),this.writeBuffer=[],this.prevBufferLen=0}},u.prototype.filterUpgrades=function(e){for(var t=[],n=0,r=e.length;n<r;n++)~a(this.transports,e[n])&&t.push(e[n]);return t}},2672:(e,t,n)=>{var r=n(3401),o=n(5971);function i(e){this.path=e.path,this.hostname=e.hostname,this.port=e.port,this.secure=e.secure,this.query=e.query,this.timestampParam=e.timestampParam,this.timestampRequests=e.timestampRequests,this.readyState="",this.agent=e.agent||!1,this.socket=e.socket,this.enablesXDR=e.enablesXDR,this.withCredentials=e.withCredentials,this.pfx=e.pfx,this.key=e.key,this.passphrase=e.passphrase,this.cert=e.cert,this.ca=e.ca,this.ciphers=e.ciphers,this.rejectUnauthorized=e.rejectUnauthorized,this.forceNode=e.forceNode,this.isReactNative=e.isReactNative,this.extraHeaders=e.extraHeaders,this.localAddress=e.localAddress}e.exports=i,o(i.prototype),i.prototype.onError=function(e,t){var n=new Error(e);return n.type="TransportError",n.description=t,this.emit("error",n),this},i.prototype.open=function(){return"closed"!==this.readyState&&""!==this.readyState||(this.readyState="opening",this.doOpen()),this},i.prototype.close=function(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this},i.prototype.send=function(e){if("open"!==this.readyState)throw new Error("Transport not open");this.write(e)},i.prototype.onOpen=function(){this.readyState="open",this.writable=!0,this.emit("open")},i.prototype.onData=function(e){var t=r.decodePacket(e,this.socket.binaryType);this.onPacket(t)},i.prototype.onPacket=function(e){this.emit("packet",e)},i.prototype.onClose=function(){this.readyState="closed",this.emit("close")}},8520:(e,t,n)=>{var r=n(3051),o=n(9332),i=n(2252),a=n(6855);t.polling=function(e){var t=!1,n=!1,a=!1!==e.jsonp;if("undefined"!=typeof location){var s="https:"===location.protocol,l=location.port;l||(l=s?443:80),t=e.hostname!==location.hostname||l!==e.port,n=e.secure!==s}if(e.xdomain=t,e.xscheme=n,"open"in new r(e)&&!e.forceJSONP)return new o(e);if(!a)throw new Error("JSONP disabled");return new i(e)},t.websocket=a},2252:(e,t,n)=>{var r=n(5911),o=n(2370),i=n(104);e.exports=u;var a,s=/\n/g,l=/\\n/g;function c(){}function u(e){r.call(this,e),this.query=this.query||{},a||(a=i.___eio=i.___eio||[]),this.index=a.length;var t=this;a.push((function(e){t.onData(e)})),this.query.j=this.index,"function"==typeof addEventListener&&addEventListener("beforeunload",(function(){t.script&&(t.script.onerror=c)}),!1)}o(u,r),u.prototype.supportsBinary=!1,u.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),r.prototype.doClose.call(this)},u.prototype.doPoll=function(){var e=this,t=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),t.async=!0,t.src=this.uri(),t.onerror=function(t){e.onError("jsonp poll error",t)};var n=document.getElementsByTagName("script")[0];n?n.parentNode.insertBefore(t,n):(document.head||document.body).appendChild(t),this.script=t,"undefined"!=typeof navigator&&/gecko/i.test(navigator.userAgent)&&setTimeout((function(){var e=document.createElement("iframe");document.body.appendChild(e),document.body.removeChild(e)}),100)},u.prototype.doWrite=function(e,t){var n=this;if(!this.form){var r,o=document.createElement("form"),i=document.createElement("textarea"),a=this.iframeId="eio_iframe_"+this.index;o.className="socketio",o.style.position="absolute",o.style.top="-1000px",o.style.left="-1000px",o.target=a,o.method="POST",o.setAttribute("accept-charset","utf-8"),i.name="d",o.appendChild(i),document.body.appendChild(o),this.form=o,this.area=i}function c(){u(),t()}function u(){if(n.iframe)try{n.form.removeChild(n.iframe)}catch(e){n.onError("jsonp polling iframe removal error",e)}try{var e='<iframe src="javascript:0" name="'+n.iframeId+'">';r=document.createElement(e)}catch(e){(r=document.createElement("iframe")).name=n.iframeId,r.src="javascript:0"}r.id=n.iframeId,n.form.appendChild(r),n.iframe=r}this.form.action=this.uri(),u(),e=e.replace(l,"\\\n"),this.area.value=e.replace(s,"\\n");try{this.form.submit()}catch(e){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"===n.iframe.readyState&&c()}:this.iframe.onload=c}},9332:(e,t,n)=>{var r=n(3051),o=n(5911),i=n(5971),a=n(2370),s=n(6617)("engine.io-client:polling-xhr"),l=n(104);function c(){}function u(e){if(o.call(this,e),this.requestTimeout=e.requestTimeout,this.extraHeaders=e.extraHeaders,"undefined"!=typeof location){var t="https:"===location.protocol,n=location.port;n||(n=t?443:80),this.xd="undefined"!=typeof location&&e.hostname!==location.hostname||n!==e.port,this.xs=e.secure!==t}}function d(e){this.method=e.method||"GET",this.uri=e.uri,this.xd=!!e.xd,this.xs=!!e.xs,this.async=!1!==e.async,this.data=void 0!==e.data?e.data:null,this.agent=e.agent,this.isBinary=e.isBinary,this.supportsBinary=e.supportsBinary,this.enablesXDR=e.enablesXDR,this.withCredentials=e.withCredentials,this.requestTimeout=e.requestTimeout,this.pfx=e.pfx,this.key=e.key,this.passphrase=e.passphrase,this.cert=e.cert,this.ca=e.ca,this.ciphers=e.ciphers,this.rejectUnauthorized=e.rejectUnauthorized,this.extraHeaders=e.extraHeaders,this.create()}if(e.exports=u,e.exports.Request=d,a(u,o),u.prototype.supportsBinary=!0,u.prototype.request=function(e){return(e=e||{}).uri=this.uri(),e.xd=this.xd,e.xs=this.xs,e.agent=this.agent||!1,e.supportsBinary=this.supportsBinary,e.enablesXDR=this.enablesXDR,e.withCredentials=this.withCredentials,e.pfx=this.pfx,e.key=this.key,e.passphrase=this.passphrase,e.cert=this.cert,e.ca=this.ca,e.ciphers=this.ciphers,e.rejectUnauthorized=this.rejectUnauthorized,e.requestTimeout=this.requestTimeout,e.extraHeaders=this.extraHeaders,new d(e)},u.prototype.doWrite=function(e,t){var n="string"!=typeof e&&void 0!==e,r=this.request({method:"POST",data:e,isBinary:n}),o=this;r.on("success",t),r.on("error",(function(e){o.onError("xhr post error",e)})),this.sendXhr=r},u.prototype.doPoll=function(){s("xhr poll");var e=this.request(),t=this;e.on("data",(function(e){t.onData(e)})),e.on("error",(function(e){t.onError("xhr poll error",e)})),this.pollXhr=e},i(d.prototype),d.prototype.create=function(){var e={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};e.pfx=this.pfx,e.key=this.key,e.passphrase=this.passphrase,e.cert=this.cert,e.ca=this.ca,e.ciphers=this.ciphers,e.rejectUnauthorized=this.rejectUnauthorized;var t=this.xhr=new r(e),n=this;try{s("xhr open %s: %s",this.method,this.uri),t.open(this.method,this.uri,this.async);try{if(this.extraHeaders)for(var o in t.setDisableHeaderCheck&&t.setDisableHeaderCheck(!0),this.extraHeaders)this.extraHeaders.hasOwnProperty(o)&&t.setRequestHeader(o,this.extraHeaders[o])}catch(e){}if("POST"===this.method)try{this.isBinary?t.setRequestHeader("Content-type","application/octet-stream"):t.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{t.setRequestHeader("Accept","*/*")}catch(e){}"withCredentials"in t&&(t.withCredentials=this.withCredentials),this.requestTimeout&&(t.timeout=this.requestTimeout),this.hasXDR()?(t.onload=function(){n.onLoad()},t.onerror=function(){n.onError(t.responseText)}):t.onreadystatechange=function(){if(2===t.readyState)try{var e=t.getResponseHeader("Content-Type");
2(n.supportsBinary&&"application/octet-stream"===e||"application/octet-stream; charset=UTF-8"===e)&&(t.responseType="arraybuffer")}catch(e){}4===t.readyState&&(200===t.status||1223===t.status?n.onLoad():setTimeout((function(){n.onError("number"==typeof t.status?t.status:0)}),0))},s("xhr data %s",this.data),t.send(this.data)}catch(e){return void setTimeout((function(){n.onError(e)}),0)}"undefined"!=typeof document&&(this.index=d.requestsCount++,d.requests[this.index]=this)},d.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},d.prototype.onData=function(e){this.emit("data",e),this.onSuccess()},d.prototype.onError=function(e){this.emit("error",e),this.cleanup(!0)},d.prototype.cleanup=function(e){if(void 0!==this.xhr&&null!==this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=c:this.xhr.onreadystatechange=c,e)try{this.xhr.abort()}catch(e){}"undefined"!=typeof document&&delete d.requests[this.index],this.xhr=null}},d.prototype.onLoad=function(){var e;try{var t;try{t=this.xhr.getResponseHeader("Content-Type")}catch(e){}e=("application/octet-stream"===t||"application/octet-stream; charset=UTF-8"===t)&&this.xhr.response||this.xhr.responseText}catch(e){this.onError(e)}null!=e&&this.onData(e)},d.prototype.hasXDR=function(){return"undefined"!=typeof XDomainRequest&&!this.xs&&this.enablesXDR},d.prototype.abort=function(){this.cleanup()},d.requestsCount=0,d.requests={},"undefined"!=typeof document)if("function"==typeof attachEvent)attachEvent("onunload",f);else if("function"==typeof addEventListener){addEventListener("onpagehide"in l?"pagehide":"unload",f,!1)}function f(){for(var e in d.requests)d.requests.hasOwnProperty(e)&&d.requests[e].abort()}},5911:(e,t,n)=>{var r=n(2672),o=n(9140),i=n(3401),a=n(2370),s=n(2121),l=n(6617)("engine.io-client:polling");e.exports=u;var c=null!=new(n(3051))({xdomain:!1}).responseType;function u(e){var t=e&&e.forceBase64;c&&!t||(this.supportsBinary=!1),r.call(this,e)}a(u,r),u.prototype.name="polling",u.prototype.doOpen=function(){this.poll()},u.prototype.pause=function(e){var t=this;function n(){l("paused"),t.readyState="paused",e()}if(this.readyState="pausing",this.polling||!this.writable){var r=0;this.polling&&(l("we are currently polling - waiting to pause"),r++,this.once("pollComplete",(function(){l("pre-pause polling complete"),--r||n()}))),this.writable||(l("we are currently writing - waiting to pause"),r++,this.once("drain",(function(){l("pre-pause writing complete"),--r||n()})))}else n()},u.prototype.poll=function(){l("polling"),this.polling=!0,this.doPoll(),this.emit("poll")},u.prototype.onData=function(e){var t=this;l("polling got data %s",e);i.decodePayload(e,this.socket.binaryType,(function(e,n,r){if("opening"===t.readyState&&"open"===e.type&&t.onOpen(),"close"===e.type)return t.onClose(),!1;t.onPacket(e)})),"closed"!==this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"===this.readyState?this.poll():l('ignoring poll - transport state "%s"',this.readyState))},u.prototype.doClose=function(){var e=this;function t(){l("writing close packet"),e.write([{type:"close"}])}"open"===this.readyState?(l("transport open - closing"),t()):(l("transport not open - deferring close"),this.once("open",t))},u.prototype.write=function(e){var t=this;this.writable=!1;var n=function(){t.writable=!0,t.emit("drain")};i.encodePayload(e,this.supportsBinary,(function(e){t.doWrite(e,n)}))},u.prototype.uri=function(){var e=this.query||{},t=this.secure?"https":"http",n="";return!1!==this.timestampRequests&&(e[this.timestampParam]=s()),this.supportsBinary||e.sid||(e.b64=1),e=o.encode(e),this.port&&("https"===t&&443!==Number(this.port)||"http"===t&&80!==Number(this.port))&&(n=":"+this.port),e.length&&(e="?"+e),t+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+n+this.path+e}},6855:(e,t,n)=>{var r,o,i=n(2672),a=n(3401),s=n(9140),l=n(2370),c=n(2121),u=n(6617)("engine.io-client:websocket");if("undefined"!=typeof WebSocket?r=WebSocket:"undefined"!=typeof self&&(r=self.WebSocket||self.MozWebSocket),"undefined"==typeof window)try{o=n(5660)}catch(e){}var d=r||o;function f(e){e&&e.forceBase64&&(this.supportsBinary=!1),this.perMessageDeflate=e.perMessageDeflate,this.usingBrowserWebSocket=r&&!e.forceNode,this.protocols=e.protocols,this.usingBrowserWebSocket||(d=o),i.call(this,e)}e.exports=f,l(f,i),f.prototype.name="websocket",f.prototype.supportsBinary=!0,f.prototype.doOpen=function(){if(this.check()){var e=this.uri(),t=this.protocols,n={};this.isReactNative||(n.agent=this.agent,n.perMessageDeflate=this.perMessageDeflate,n.pfx=this.pfx,n.key=this.key,n.passphrase=this.passphrase,n.cert=this.cert,n.ca=this.ca,n.ciphers=this.ciphers,n.rejectUnauthorized=this.rejectUnauthorized),this.extraHeaders&&(n.headers=this.extraHeaders),this.localAddress&&(n.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket&&!this.isReactNative?t?new d(e,t):new d(e):new d(e,t,n)}
vendor: 1,677 bytes, line 2
2catch(e){return this.emit("error",e)}void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="nodebuffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},f.prototype.addEventListeners=function(){var e=this;this.ws.onopen=function(){e.onOpen()},this.ws.onclose=function(){e.onClose()},this.ws.onmessage=function(t){e.onData(t.data)},this.ws.onerror=function(t){e.onError("websocket error",t)}},f.prototype.write=function(e){var t=this;this.writable=!1;for(var n=e.length,r=0,o=n;r<o;r++)!function(e){a.encodePacket(e,t.supportsBinary,(function(r){if(!t.usingBrowserWebSocket){var o={};if(e.options&&(o.compress=e.options.compress),t.perMessageDeflate)("string"==typeof r?Buffer.byteLength(r):r.length)<t.perMessageDeflate.threshold&&(o.compress=!1)}try{t.usingBrowserWebSocket?t.ws.send(r):t.ws.send(r,o)}catch(e){u("websocket closed before onclose event")}--n||i()}))}(e[r]);function i(){t.emit("flush"),setTimeout((function(){t.writable=!0,t.emit("drain")}),0)}},f.prototype.onClose=function(){i.prototype.onClose.call(this)},f.prototype.doClose=function(){void 0!==this.ws&&this.ws.close()},f.prototype.uri=function(){var e=this.query||{},t=this.secure?"wss":"ws",n="";return this.port&&("wss"===t&&443!==Number(this.port)||"ws"===t&&80!==Number(this.port))&&(n=":"+this.port),this.timestampRequests&&(e[this.timestampParam]=c()),this.supportsBinary||(e.b64=1),(e=s.encode(e)).length&&(e="?"+e),t+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+n+this.path+e},f.prototype.check=function(){return!(!d||"__initialize"in d&&this.name===f.prototype.name)}
vendor: 4,431 bytes, line 2
2},3051:(e,t,n)=>{var r=n(8383),o=n(104);e.exports=function(e){var t=e.xdomain,n=e.xscheme,i=e.enablesXDR;try{if("undefined"!=typeof XMLHttpRequest&&(!t||r))return new XMLHttpRequest}catch(e){}try{if("undefined"!=typeof XDomainRequest&&!n&&i)return new XDomainRequest}catch(e){}if(!t)try{return new(o[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(e){}}},6617:(e,t,n)=>{function r(){var e;try{e=t.storage.debug}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e}(t=e.exports=n(9110)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var o=0,i=0;e[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(o++,"%c"===e&&(i=o))})),e.splice(i,0,r)},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}},t.load=r,t.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(r())},9110:(e,t,n)=>{function r(e){var n;function r(){if(r.enabled){var e=r,o=+new Date,i=o-(n||o);e.diff=i,e.prev=n,e.curr=o,n=o;for(var a=new Array(arguments.length),s=0;s<a.length;s++)a[s]=arguments[s];a[0]=t.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");var l=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,(function(n,r){if("%%"===n)return n;l++;var o=t.formatters[r];if("function"==typeof o){var i=a[l];n=o.call(e,i),a.splice(l,1),l--}return n})),t.formatArgs.call(e,a),(r.log||t.log||console.log.bind(console)).apply(e,a)}}return r.namespace=e,r.enabled=t.enabled(e),r.useColors=t.useColors(),r.color=function(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}(e),r.destroy=o,"function"==typeof t.init&&t.init(r),t.instances.push(r),r}function o(){var e=t.instances.indexOf(this);return-1!==e&&(t.instances.splice(e,1),!0)}(t=e.exports=r.debug=r.default=r).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){var n;t.save(e),t.names=[],t.skips=[];var r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")));for(n=0;n<t.instances.length;n++){var i=t.instances[n];i.enabled=t.enabled(i.namespace)}},t.enabled=function(e){if("*"===e[e.length-1])return!0;var n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1}
vendor: 5,146 bytes, line 2
2,t.humanize=n(3097),t.instances=[],t.names=[],t.skips=[],t.formatters={}},3097:e=>{var t=1e3,n=60*t,r=60*n,o=24*r,i=365.25*o;function a(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}e.exports=function(e,s){s=s||{};var l,c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!a)return;var s=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*i;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*r;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===c&&!1===isNaN(e))return s.long?a(l=e,o,"day")||a(l,r,"hour")||a(l,n,"minute")||a(l,t,"second")||l+" ms":function(e){if(e>=o)return Math.round(e/o)+"d";if(e>=r)return Math.round(e/r)+"h";if(e>=n)return Math.round(e/n)+"m";if(e>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},3401:(e,t,n)=>{var r,o=n(2505),i=n(8839),a=n(3344),s=n(969),l=n(8758);"undefined"!=typeof ArrayBuffer&&(r=n(3371));var c="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),u="undefined"!=typeof navigator&&/PhantomJS/i.test(navigator.userAgent),d=c||u;t.protocol=3;var f=t.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},p=o(f),h={type:"error",data:"parser error"},m=n(3118);function v(e,t,n){for(var r=new Array(e.length),o=s(e.length,n),i=function(e,n,o){t(n,(function(t,n){r[e]=n,o(t,r)}))},a=0;a<e.length;a++)i(a,e[a],o)}t.encodePacket=function(e,n,r,o){"function"==typeof n&&(o=n,n=!1),"function"==typeof r&&(o=r,r=null);var i=void 0===e.data?void 0:e.data.buffer||e.data;if("undefined"!=typeof ArrayBuffer&&i instanceof ArrayBuffer)return function(e,n,r){if(!n)return t.encodeBase64Packet(e,r);var o=e.data,i=new Uint8Array(o),a=new Uint8Array(1+o.byteLength);a[0]=f[e.type];for(var s=0;s<i.length;s++)a[s+1]=i[s];return r(a.buffer)}(e,n,o);if(void 0!==m&&i instanceof m)return function(e,n,r){if(!n)return t.encodeBase64Packet(e,r);if(d)return function(e,n,r){if(!n)return t.encodeBase64Packet(e,r);var o=new FileReader;return o.onload=function(){t.encodePacket({type:e.type,data:o.result},n,!0,r)},o.readAsArrayBuffer(e.data)}(e,n,r);var o=new Uint8Array(1);o[0]=f[e.type];var i=new m([o.buffer,e.data]);return r(i)}(e,n,o);if(i&&i.base64)return function(e,n){var r="b"+t.packets[e.type]+e.data.data;return n(r)}(e,o);var a=f[e.type];return void 0!==e.data&&(a+=r?l.encode(String(e.data),{strict:!1}):String(e.data)),o(""+a)},t.encodeBase64Packet=function(e,n){var r,o="b"+t.packets[e.type];if(void 0!==m&&e.data instanceof m){var i=new FileReader;return i.onload=function(){var e=i.result.split(",")[1];n(o+e)},i.readAsDataURL(e.data)}try{r=String.fromCharCode.apply(null,new Uint8Array(e.data))}catch(t){for(var a=new Uint8Array(e.data),s=new Array(a.length),l=0;l<a.length;l++)s[l]=a[l];r=String.fromCharCode.apply(null,s)}return o+=btoa(r),n(o)},t.decodePacket=function(e,n,r){if(void 0===e)return h;if("string"==typeof e){if("b"===e.charAt(0))return t.decodeBase64Packet(e.substr(1),n);if(r&&!1===(e=function(e){try{e=l.decode(e,{strict:!1})}catch(e){return!1}return e}(e)))return h;var o=e.charAt(0);return Number(o)==o&&p[o]?e.length>1?{type:p[o],data:e.substring(1)}:{type:p[o]}:h}o=new Uint8Array(e)[0];var i=a(e,1);return m&&"blob"===n&&(i=new m([i])),{type:p[o],data:i}},t.decodeBase64Packet=function(e,t){var n=p[e.charAt(0)];if(!r)return{type:n,data:{base64:!0,data:e.substr(1)}};var o=r.decode(e.substr(1));return"blob"===t&&m&&(o=new m([o])),{type:n,data:o}},t.encodePayload=function(e,n,r){"function"==typeof n&&(r=n,n=null);var o=i(e);if(n&&o)return m&&!d?t.encodePayloadAsBlob(e,r):t.encodePayloadAsArrayBuffer(e,r);if(!e.length)return r("0:");v(e,(function(e,r){t.encodePacket(e,!!o&&n,!1,(function(e){r(null,function(e){return e.length+":"+e}(e))}))}),(function(e,t){return r(t.join(""))}))},t.decodePayload=function(e,n,r){if("string"!=typeof e)return t.decodePayloadAsBinary(e,n,r);var o;if("function"==typeof n&&(r=n,n=null),""===e)return r(h,0,1);for(var i,a,s="",l=0,c=e.length;l<c;l++){var u=e.charAt(l);if(":"===u){if(""===s||s!=(i=Number(s)))return r(h,0,1);if(s!=(a=e.substr(l+1,i)).length)return r(h,0,1);if(a.length){if(o=t.decodePacket(a,n,!1),h.type===o.type&&h.data===o.data)return r(h,0,1);if(!1===r(o,l+i,c))return}l+=i,s=""}else s+=u}return""!==s?r(h,0,1):void 0},t.encodePayloadAsArrayBuffer=function(e,n){if(!e.length)return n(new ArrayBuffer(0));v(e,(function(e,n){t.encodePacket(e,!0,!0,(function(e){return n(null,e)}))}),(function(e,t){var r=t.reduce((function(e,t){var n;return e+(n="string"==typeof t?t.length:t.byteLength).toString().length+n+2}),0),o=new Uint8Array(r),i=0;return t.forEach((function(e){var t="string"==typeof e,n=e;
2if(t){for(var r=new Uint8Array(e.length),a=0;a<e.length;a++)r[a]=e.charCodeAt(a);n=r.buffer}o[i++]=t?0:1;var s=n.byteLength.toString();for(a=0;a<s.length;a++)o[i++]=parseInt(s[a]);o[i++]=255;for(r=new Uint8Array(n),a=0;a<r.length;a++)o[i++]=r[a]})),n(o.buffer)}))},t.encodePayloadAsBlob=function(e,n){v(e,(function(e,n){t.encodePacket(e,!0,!0,(function(e){var t=new Uint8Array(1);if(t[0]=1,"string"==typeof e){for(var r=new Uint8Array(e.length),o=0;o<e.length;o++)r[o]=e.charCodeAt(o);e=r.buffer,t[0]=0}var i=(e instanceof ArrayBuffer?e.byteLength:e.size).toString(),a=new Uint8Array(i.length+1);for(o=0;o<i.length;o++)a[o]=parseInt(i[o]);if(a[i.length]=255,m){var s=new m([t.buffer,a.buffer,e]);n(null,s)}}))}),(function(e,t){return n(new m(t))}))},t.decodePayloadAsBinary=function(e,n,r){"function"==typeof n&&(r=n,n=null);for(var o=e,i=[];o.byteLength>0;){for(var s=new Uint8Array(o),l=0===s[0],c="",u=1;255!==s[u];u++){if(c.length>310)return r(h,0,1);c+=s[u]}o=a(o,2+c.length),c=parseInt(c);var d=a(o,0,c);if(l)try{d=String.fromCharCode.apply(null,new Uint8Array(d))}catch(e){var f=new Uint8Array(d);d="";for(u=0;u<f.length;u++)d+=String.fromCharCode(f[u])}i.push(d),o=a(o,c)}var p=i.length;i.forEach((function(e,o){r(t.decodePacket(e,n,!0),o,p)}))}},2505:e=>{e.exports=Object.keys||function(e){var t=[],n=Object.prototype.hasOwnProperty;for(var r in e)n.call(e,r)&&t.push(r);return t}},8758:e=>{var t,n,r,o=String.fromCharCode;function i(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function a(e,t){if(e>=55296&&e<=57343){if(t)throw Error("Lone surrogate U+"+e.toString(16).toUpperCase()+" is not a scalar value");return!1}return!0}function s(e,t){return o(e>>t&63|128)}function l(e,t){if(!(4294967168&e))return o(e);var n="";return 4294965248&e?4294901760&e?4292870144&e||(n=o(e>>18&7|240),n+=s(e,12),n+=s(e,6)):(a(e,t)||(e=65533),n=o(e>>12&15|224),n+=s(e,6)):n=o(e>>6&31|192),n+=o(63&e|128)}function c(){if(r>=n)throw Error("Invalid byte index");var e=255&t[r];if(r++,128==(192&e))return 63&e;throw Error("Invalid continuation byte")}function u(e){var o,i;if(r>n)throw Error("Invalid byte index");if(r==n)return!1;if(o=255&t[r],r++,!(128&o))return o;if(192==(224&o)){if((i=(31&o)<<6|c())>=128)return i;throw Error("Invalid continuation byte")}if(224==(240&o)){if((i=(15&o)<<12|c()<<6|c())>=2048)return a(i,e)?i:65533;throw Error("Invalid continuation byte")}if(240==(248&o)&&(i=(7&o)<<18|c()<<12|c()<<6|c())>=65536&&i<=1114111)return i;throw Error("Invalid UTF-8 detected")}e.exports={version:"2.1.2",encode:function(e,t){for(var n=!1!==(t=t||{}).strict,r=i(e),o=r.length,a=-1,s="";++a<o;)s+=l(r[a],n);return s},decode:function(e,a){var s=!1!==(a=a||{}).strict;t=i(e),n=t.length,r=0;for(var l,c=[];!1!==(l=u(s));)c.push(l);return function(e){for(var t,n=e.length,r=-1,i="";++r<n;)(t=e[r])>65535&&(i+=o((t-=65536)>>>10&1023|55296),t=56320|1023&t),i+=o(t);return i}(c)}}},2492:e=>{"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n,r="boolean"==typeof t.cycles&&t.cycles,o=t.cmp&&(n=t.cmp,function(e){return function(t,r){var o={key:t,value:e[t]},i={key:r,value:e[r]};return n(o,i)}}),i=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var n,a;if(Array.isArray(t)){for(a="[",n=0;n<t.length;n++)n&&(a+=","),a+=e(t[n])||"null";return a+"]"}if(null===t)return"null";if(-1!==i.indexOf(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var s=i.push(t)-1,l=Object.keys(t).sort(o&&o(t));for(a="",n=0;n<l.length;n++){var c=l[n],u=e(t[c]);u&&(a&&(a+=","),a+=JSON.stringify(c)+":"+u)}return i.splice(s,1),"{"+a+"}"}}(e)}},5990:()=>{"use strict";"function"!=typeof Object.assign&&(Object.assign=function(e,...t){if(!e)throw TypeError("Cannot convert undefined or null to object");
2for(const n of t)n&&Object.keys(n).forEach((t=>e[t]=n[t]));return e})},8839:(e,t,n)=>{var r=n(1344),o=Object.prototype.toString,i="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===o.call(Blob),a="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===o.call(File);e.exports=function e(t){if(!t||"object"!=typeof t)return!1;if(r(t)){for(var n=0,o=t.length;n<o;n++)if(e(t[n]))return!0;return!1}if("function"==typeof Buffer&&Buffer.isBuffer&&Buffer.isBuffer(t)||"function"==typeof ArrayBuffer&&t instanceof ArrayBuffer||i&&t instanceof Blob||a&&t instanceof File)return!0;if(t.toJSON&&"function"==typeof t.toJSON&&1===arguments.length)return e(t.toJSON(),!0);for(var s in t)if(Object.prototype.hasOwnProperty.call(t,s)&&e(t[s]))return!0;return!1}},1344:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},8383:e=>{try{e.exports="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(t){e.exports=!1}},7570:(e,t)=>{"use strict";var n=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};t.A=i;var r={debug:!1},o={html:function(e){e&&Object.keys(e).forEach((function(t){return s(t,e[t])}))},head:function(e){e&&Object.keys(e).forEach((function(t){return l(t,e[t])}))},title:function(e){document.title=d(e)?"":e,a('itemprop="name"',e),a('property="og:title"',e),a('name="twitter:title"',e)},description:function(e){a('name="description"',e),a('itemprop="description"',e),a('property="og:description"',e),a('name="twitter:description"',e)},keywords:function(e){a('name="keywords"',Array.isArray(e)?e.join(", "):e)},image:function(e){a('itemprop="image"',e),a('property="og:image"',e),a('name="twitter:image"',e)},lang:function(e,t){s("html",{lang:e}),function(e,t){if(!e)throw new Error("Headful: You must pass all declared props when you use headful.props.x() calls.");var n="function"==typeof t?t.name:t;return!e.hasOwnProperty(n)}(t,this.ogLocale)&&function(e){if(d(e))o.ogLocale(e);else if(e.match(/^[a-z]{2}-[a-z]{2}$/i)){var t=e.split("-"),r=n(t,2),i=r[0]+"_"+r[1].toUpperCase();o.ogLocale(i)}}(e)},ogLocale:function(e){a('property="og:locale"',e)},url:function(e){l('link[rel="canonical"]',{href:e}),a('property="og:url"',e),a('name="twitter:url"',e)}};function i(e,t){Object.assign(r,t),Object.keys(e).forEach((function(t){if(!o.hasOwnProperty(t))throw new Error("Headful: Property '"+t+"' is unknown.");o[t](e[t],e)}))}function a(e,t){l("meta["+e+"]",{content:t})}function s(e,t){c(u(document,e),t)}function l(e,t){c(u(document.head,e),t)}function c(e,t){e&&Object.keys(t).forEach((function(n){d(t[n])?e.removeAttribute(n):e.setAttribute(n,t[n])}))}function u(e,t){var n=e.querySelector(t);return!n&&r.debug&&console.error("Headful: Element '"+t+"' was not found."),n}function d(e){return null==e}i.props=o},6938:e=>{var t=[].indexOf;e.exports=function(e,n){if(t)return e.indexOf(n);for(var r=0;r<e.length;++r)if(e[r]===n)return r;return-1}},4692:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,o){"use strict";var i=[],a=Object.getPrototypeOf,s=i.slice,l=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},c=i.push,u=i.indexOf,d={},f=d.toString,p=d.hasOwnProperty,h=p.toString,m=h.call(Object),v={},g=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},b=r.document,_={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var r,o,i=(n=n||b).createElement("script");if(i.text=e,t)for(r in _)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function k(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[f.call(e)]||"object":typeof e}var x="3.6.0",C=function(e,t){return new C.fn.init(e,t)};function S(e){var t=!!e&&"length"in e&&e.length,n=k(e);return!g(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}C.fn=C.prototype={jquery:x,constructor:C,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]}
vendor: 4,927 bytes, line 2
2,pushStack:function(e){var t=C.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return C.each(this,e)},map:function(e){return this.pushStack(C.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(C.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(C.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:i.sort,splice:i.splice},C.extend=C.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||g(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(c&&r&&(C.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[t],i=o&&!Array.isArray(n)?[]:o||C.isPlainObject(n)?n:{},o=!1,a[t]=C.extend(c,i,r)):void 0!==r&&(a[t]=r));return a},C.extend({expando:"jQuery"+(x+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==f.call(e))&&(!(t=a(e))||"function"==typeof(n=p.call(t,"constructor")&&t.constructor)&&h.call(n)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){w(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(S(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(S(Object(e))?C.merge(n,"string"==typeof e?[e]:e):c.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,i=e.length,a=!n;o<i;o++)!t(e[o],o)!==a&&r.push(e[o]);return r},map:function(e,t,n){var r,o,i=0,a=[];if(S(e))for(r=e.length;i<r;i++)null!=(o=t(e[i],i,n))&&a.push(o);else for(i in e)null!=(o=t(e[i],i,n))&&a.push(o);return l(a)},guid:1,support:v}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=i[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){d["[object "+t+"]"]=t.toLowerCase()}));var E=function(e){var t,n,r,o,i,a,s,l,c,u,d,f,p,h,m,v,g,y,b,_="sizzle"+1*new Date,w=e.document,k=0,x=0,C=le(),S=le(),E=le(),T=le(),O=function(e,t){return e===t&&(d=!0),0},I={}.hasOwnProperty,A=[],D=A.pop,P=A.push,M=A.push,$=A.slice,N=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",j="(?:\\\\[\\da-fA-F]{1,6}"+L+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",F="\\["+L+"*("+j+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+j+"))|)"+L+"*\\]",B=":("+j+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+F+")*)|.*)\\)|)",q=new RegExp(L+"+","g"),H=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),z=new RegExp("^"+L+"*,"+L+"*"),U=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),V=new RegExp(L+"|>"),G=new RegExp(B),W=new RegExp("^"+j+"$"),Y={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+L+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){f()},ae=_e((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{M.apply(A=$.call(w.childNodes),w.childNodes),A[w.childNodes.length].nodeType}catch(e){M={apply:A.length?function(e,t){P.apply(e,$.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,o){var i,s,c,u,d,h,g,y=t&&t.ownerDocument,w=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return r;
vendor: 19,512 bytes, line 2
2if(!o&&(f(t),t=t||p,m)){if(11!==w&&(d=X.exec(e)))if(i=d[1]){if(9===w){if(!(c=t.getElementById(i)))return r;if(c.id===i)return r.push(c),r}else if(y&&(c=y.getElementById(i))&&b(t,c)&&c.id===i)return r.push(c),r}else{if(d[2])return M.apply(r,t.getElementsByTagName(e)),r;if((i=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return M.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!T[e+" "]&&(!v||!v.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(g=e,y=t,1===w&&(V.test(e)||U.test(e))){for((y=ee.test(e)&&ge(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(re,oe):t.setAttribute("id",u=_)),s=(h=a(e)).length;s--;)h[s]=(u?"#"+u:":scope")+" "+be(h[s]);g=h.join(",")}try{return M.apply(r,y.querySelectorAll(g)),r}catch(t){T(e,!0)}finally{u===_&&t.removeAttribute("id")}}}return l(e.replace(H,"$1"),t,r,o)}function le(){var e=[];return function t(n,o){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function ce(e){return e[_]=!0,e}function ue(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),o=n.length;o--;)r.attrHandle[n[o]]=t}function fe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ve(e){return ce((function(t){return t=+t,ce((function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!K.test(t||n&&n.nodeName||"HTML")},f=se.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:w;return a!=p&&9===a.nodeType&&a.documentElement?(h=(p=a).documentElement,m=!i(p),w!=p&&(o=p.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",ie,!1):o.attachEvent&&o.attachEvent("onunload",ie)),n.scope=ue((function(e){return h.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ue((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ue((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Z.test(p.getElementsByClassName),n.getById=ue((function(e){return h.appendChild(e).id=_,!p.getElementsByName||!p.getElementsByName(_).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},g=[],v=[],(n.qsa=Z.test(p.querySelectorAll))&&(ue((function(e){var t;h.appendChild(e).innerHTML="<a id='"+_+"'></a><select id='"+_+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+L+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+L+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+_+"-]").length||v.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+L+"*name"+L+"*="+L+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+_+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")})),ue((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+L+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")}))),(n.matchesSelector=Z.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue((function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),g.push("!=",B)})),v=v.length&&new RegExp(v.join("|")),g=g.length&&new RegExp(g.join("|")),t=Z.test(h.compareDocumentPosition),b=t||Z.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},O=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==p||e.ownerDocument==w&&b(w,e)?-1:t==p||t.ownerDocument==w&&b(w,t)?1:u?N(u,e)-N(u,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],s=[t];if(!o||!i)return e==p?-1:t==p?1:o?-1:i?1:u?N(u,e)-N(u,t):0;if(o===i)return fe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?fe(a[r],s[r]):a[r]==w?-1:s[r]==w?1:0},p):p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(f(e),n.matchesSelector&&m&&!T[t+" "]&&(!g||!g.test(t))&&(!v||!v.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){T(t,!0)}return se(t,p,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=p&&f(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=p&&f(e);var o=r.attrHandle[t.toLowerCase()],i=o&&I.call(r.attrHandle,t.toLowerCase())?o(e,t,!m):void 0;return void 0!==i?i:n.attributes||!m?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},se.escape=function(e){return(e+"").replace(re,oe)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],o=0,i=0;if(d=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(O),d){for(;t=e[i++];)t===e[i]&&(o=r.push(i));for(;o--;)e.splice(r[o],1)}return u=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},r=se.selectors={cacheLength:50,createPseudo:ce,match:Y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Y.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&G.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=new RegExp("(^|"+L+")"+e+"("+L+"|$)"))&&C(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var o=se.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(q," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,f,p,h,m=i!==a?"nextSibling":"previousSibling",v=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(v){if(i){for(;m;){for(f=t;f=f[m];)if(s?f.nodeName.toLowerCase()===g:1===f.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?v.firstChild:v.lastChild],a&&y){for(b=(p=(c=(u=(d=(f=v)[_]||(f[_]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===k&&c[1])&&c[2],f=p&&v.childNodes[p];f=++p&&f&&f[m]||(b=p=0)||h.pop();)if(1===f.nodeType&&++b&&f===t){u[e]=[k,p,b];break}}else if(y&&(b=p=(c=(u=(d=(f=t)[_]||(f[_]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===k&&c[1]),!1===b)for(;(f=++p&&f&&f[m]||(b=p=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==g:1!==f.nodeType)||!++b||(y&&((u=(d=f[_]||(f[_]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[k,b]),f!==t)););return(b-=o)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,o=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return o[_]?o(t):o.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,n){for(var r,i=o(e,t),a=i.length;a--;)e[r=N(e,i[a])]=!(n[r]=i[a])})):function(e){return o(e,0,n)}):o}},pseudos:{not:ce((function(e){var t=[],n=[],r=s(e.replace(H,"$1"));return r[_]?ce((function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:ce((function(e){return function(t){return se(e,t).length>0}})),contains:ce((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||o(t)).indexOf(e)>-1}})),lang:ce((function(e){return W.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ve((function(){return[0]})),last:ve((function(e,t){return[t-1]})),eq:ve((function(e,t,n){return[n<0?n+t:n]})),even:ve((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ve((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ve((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ve((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},r.pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=pe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=he(t);function ye(){}function be(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function _e(e,t,n){var r=t.dir,o=t.next,i=o||r,a=n&&"parentNode"===i,s=x++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,l){var c,u,d,f=[k,s];if(l){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(u=(d=t[_]||(t[_]={}))[t.uniqueID]||(d[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=u[i])&&c[0]===k&&c[1]===s)return f[2]=c[2];if(u[i]=f,f[2]=e(t,n,l))return!0}return!1}}function we(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function ke(e,t,n,r,o){for(var i,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),c&&t.push(s)));return a}function xe(e,t,n,r,o,i){return r&&!r[_]&&(r=xe(r)),o&&!o[_]&&(o=xe(o,i)),ce((function(i,a,s,l){var c,u,d,f=[],p=[],h=a.length,m=i||function(e,t,n){for(var r=0,o=t.length;r<o;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),v=!e||!i&&t?m:ke(m,f,e,s,l),g=n?o||(i?e:h||r)?[]:a:v;if(n&&n(v,g,s,l),r)for(c=ke(g,p),r(c,[],s,l),u=c.length;u--;)(d=c[u])&&(g[p[u]]=!(v[p[u]]=d));if(i){if(o||e){if(o){for(c=[],u=g.length;u--;)(d=g[u])&&c.push(v[u]=d);o(null,g=[],c,l)}for(u=g.length;u--;)(d=g[u])&&(c=o?N(i,d):f[u])>-1&&(i[c]=!(a[c]=d))}}else g=ke(g===a?g.splice(h,g.length):g),o?o(null,a,g,l):M.apply(a,g)}))}function Ce(e){for(var t,n,o,i=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],l=a?1:0,u=_e((function(e){return e===t}),s,!0),d=_e((function(e){return N(t,e)>-1}),s,!0),f=[function(e,n,r){var o=!a&&(r||n!==c)||((t=n).nodeType?u(e,n,r):d(e,n,r));return t=null,o}];l<i;l++)if(n=r.relative[e[l].type])f=[_e(we(f),n)];else{if((n=r.filter[e[l].type].apply(null,e[l].matches))[_]){for(o=++l;o<i&&!r.relative[e[o].type];o++);return xe(l>1&&we(f),l>1&&be(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(H,"$1"),n,l<o&&Ce(e.slice(l,o)),o<i&&Ce(e=e.slice(o)),o<i&&be(e))}f.push(n)}return we(f)}return ye.prototype=r.filters=r.pseudos,r.setFilters=new ye,a=se.tokenize=function(e,t){var n,o,i,a,s,l,c,u=S[e+" "];if(u)return t?0:u.slice(0);for(s=e,l=[],c=r.preFilter;s;){for(a in n&&!(o=z.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(i=[])),n=!1,(o=U.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace(H," ")}),s=s.slice(n.length)),r.filter)!(o=Y[a].exec(s))||c[a]&&!(o=c[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):S(e,l).slice(0)},s=se.compile=function(e,t){var n,o=[],i=[],s=E[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=Ce(t[n]))[_]?o.push(s):i.push(s);s=E(e,function(e,t){var n=t.length>0,o=e.length>0,i=function(i,a,s,l,u){var d,h,v,g=0,y="0",b=i&&[],_=[],w=c,x=i||o&&r.find.TAG("*",u),C=k+=null==w?1:Math.random()||.1,S=x.length;for(u&&(c=a==p||a||u);y!==S&&null!=(d=x[y]);y++){if(o&&d){for(h=0,a||d.ownerDocument==p||(f(d),s=!m);v=e[h++];)if(v(d,a||p,s)){l.push(d);break}u&&(k=C)}n&&((d=!v&&d)&&g--,i&&b.push(d))}if(g+=y,n&&y!==g){for(h=0;v=t[h++];)v(b,_,a,s);if(i){if(g>0)for(;y--;)b[y]||_[y]||(_[y]=D.call(l));_=ke(_)}M.apply(l,_),u&&!i&&_.length>0&&g+t.length>1&&se.uniqueSort(l)}return u&&(k=C,c=w),b};return n?ce(i):i}(i,o)),s.selector=e}return s},l=se.select=function(e,t,n,o){var i,l,c,u,d,f="function"==typeof e&&e,p=!o&&a(e=f.selector||e);if(n=n||[],1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===t.nodeType&&m&&r.relative[l[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(i=Y.needsContext.test(e)?0:l.length;i--&&(c=l[i],!r.relative[u=c.type]);)if((d=r.find[u])&&(o=d(c.matches[0].replace(te,ne),ee.test(l[0].type)&&ge(t.parentNode)||t))){if(l.splice(i,1),!(e=o.length&&be(l)))return M.apply(n,o),n;break}}return(f||s(e,p))(o,t,!m,n,!t||ee.test(e)&&ge(t.parentNode)||t),n},n.sortStable=_.split("").sort(O).join("")===_,n.detectDuplicates=!!d,f(),n.sortDetached=ue((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),ue((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ue((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ue((function(e){return null==e.getAttribute("disabled")}))||de(R,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(r);C.find=E,C.expr=E.selectors,C.expr[":"]=C.expr.pseudos,C.uniqueSort=C.unique=E.uniqueSort,C.text=E.getText,C.isXMLDoc=E.isXML,C.contains=E.contains,C.escapeSelector=E.escape;var T=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&C(e).is(n))break;r.push(e)}return r},O=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},I=C.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var D=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function P(e,t,n){return g(t)?C.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?C.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?C.grep(e,(function(e){return u.call(t,e)>-1!==n})):C.filter(t,e,n)}C.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?C.find.matchesSelector(r,e)?[r]:[]:C.find.matches(e,C.grep(t,(function(e){return 1===e.nodeType})))},C.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(C(e).filter((function(){for(t=0;t<r;t++)if(C.contains(o[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)C.find(e,o[t],n);return r>1?C.uniqueSort(n):n},filter:function(e){return this.pushStack(P(this,e||[],!1))},not:function(e){return this.pushStack(P(this,e||[],!0))},is:function(e){return!!P(this,"string"==typeof e&&I.test(e)?C(e):e||[],!1).length}});var M,$=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(C.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||M,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:$.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof C?t[0]:t,C.merge(this,C.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),D.test(r[1])&&C.isPlainObject(t))for(r in t)g(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=b.getElementById(r[2]))&&(this[0]=o,this.length=1),this}
vendor: 4,280 bytes, line 2
2return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(C):C.makeArray(e,this)}).prototype=C.fn,M=C(b);var N=/^(?:parents|prev(?:Until|All))/,R={children:!0,contents:!0,next:!0,prev:!0};function L(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}C.fn.extend({has:function(e){var t=C(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(C.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,o=this.length,i=[],a="string"!=typeof e&&C(e);if(!I.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&C.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?C.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?u.call(C(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),C.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return T(e,"parentNode")},parentsUntil:function(e,t,n){return T(e,"parentNode",n)},next:function(e){return L(e,"nextSibling")},prev:function(e){return L(e,"previousSibling")},nextAll:function(e){return T(e,"nextSibling")},prevAll:function(e){return T(e,"previousSibling")},nextUntil:function(e,t,n){return T(e,"nextSibling",n)},prevUntil:function(e,t,n){return T(e,"previousSibling",n)},siblings:function(e){return O((e.parentNode||{}).firstChild,e)},children:function(e){return O(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(A(e,"template")&&(e=e.content||e),C.merge([],e.childNodes))}},(function(e,t){C.fn[e]=function(n,r){var o=C.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=C.filter(r,o)),this.length>1&&(R[e]||C.uniqueSort(o),N.test(e)&&o.reverse()),this.pushStack(o)}}));var j=/[^\x20\t\r\n\f]+/g;function F(e){return e}function B(e){throw e}function q(e,t,n,r){var o;try{e&&g(o=e.promise)?o.call(e).done(t).fail(n):e&&g(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}C.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return C.each(e.match(j)||[],(function(e,n){t[n]=!0})),t}(e):C.extend({},e);var t,n,r,o,i=[],a=[],s=-1,l=function(){for(o=o||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},c={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){C.each(n,(function(n,r){g(r)?e.unique&&c.has(r)||i.push(r):r&&r.length&&"string"!==k(r)&&t(r)}))}(arguments),n&&!t&&l()),this},remove:function(){return C.each(arguments,(function(e,t){for(var n;(n=C.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?C.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},C.extend({Deferred:function(e){var t=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return C.Deferred((function(n){C.each(t,(function(t,r){var o=g(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=o&&o.apply(this,arguments);e&&g(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,o){var i=0;function a(e,t,n,o){return function(){var s=this,l=arguments,c=function(){var r,c;if(!(e<i)){if((r=n.apply(s,l))===t.promise())throw new TypeError("Thenable self
2-resolution");c=r&&("object"==typeof r||"function"==typeof r)&&r.then,g(c)?o?c.call(r,a(i,t,F,o),a(i,t,B,o)):(i++,c.call(r,a(i,t,F,o),a(i,t,B,o),a(i,t,F,t.notifyWith))):(n!==F&&(s=void 0,l=[r]),(o||t.resolveWith)(s,l))}},u=o?c:function(){try{c()}catch(r){C.Deferred.exceptionHook&&C.Deferred.exceptionHook(r,u.stackTrace),e+1>=i&&(n!==B&&(s=void 0,l=[r]),t.rejectWith(s,l))}};e?u():(C.Deferred.getStackHook&&(u.stackTrace=C.Deferred.getStackHook()),r.setTimeout(u))}}return C.Deferred((function(r){t[0][3].add(a(0,r,g(o)?o:F,r.notifyWith)),t[1][3].add(a(0,r,g(e)?e:F)),t[2][3].add(a(0,r,g(n)?n:B))})).promise()},promise:function(e){return null!=e?C.extend(e,o):o}},i={};return C.each(t,(function(e,r){var a=r[2],s=r[5];o[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),i[r[0]]=function(){return i[r[0]+"With"](this===i?void 0:this,arguments),this},i[r[0]+"With"]=a.fireWith})),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=s.call(arguments),i=C.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(q(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||g(o[n]&&o[n].then)))return i.then();for(;n--;)q(o[n],a(n),i.reject);return i.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&H.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},C.readyException=function(e){r.setTimeout((function(){throw e}))};var z=C.Deferred();function U(){b.removeEventListener("DOMContentLoaded",U),r.removeEventListener("load",U),C.ready()}C.fn.ready=function(e){return z.then(e).catch((function(e){C.readyException(e)})),this},C.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--C.readyWait:C.isReady)||(C.isReady=!0,!0!==e&&--C.readyWait>0||z.resolveWith(b,[C]))}}),C.ready.then=z.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(C.ready):(b.addEventListener("DOMContentLoaded",U),r.addEventListener("load",U));var V=function(e,t,n,r,o,i,a){var s=0,l=e.length,c=null==n;if("object"===k(n))for(s in o=!0,n)V(e,t,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,g(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(C(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:c?t.call(e):l?t(e[0],n):i},G=/^-ms-/,W=/-([a-z])/g;function Y(e,t){return t.toUpperCase()}function K(e){return e.replace(G,"ms-").replace(W,Y)}var Q=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function J(){this.expando=C.expando+J.uid++}J.uid=1,J.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Q(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[K(t)]=n;else for(r in t)o[K(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][K(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(K):(t=K(t))in r?[t]:t.match(j)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||C.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!C.isEmptyObject(t)}};var Z=new J,X=new J,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(n)}catch(e){}X.set(e,t,n)}else n=void 0;return n}C.extend({hasData:function(e){return X.hasData(e)||Z.hasData(e)},data:function(e,t,n){return X.access(e,t,n)},removeData:function(e,t){X.remove(e,t)},_data:function(e,t,n){return Z.access(e,t,n)},_removeData:function(e,t){Z.remove(e,t)}}),C.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=X.get(i),1===i.nodeType&&!Z.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=K(r.slice(5)),ne(i,r,o[r]));Z.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each((function(){X.set(this,e)})):V(this,(function(t){var n;if(i&&void 0===t)return void 0!==(n=X.get(i,e))||void 0!==(n=ne(i,e))?n:void 0;this.each((function(){X.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){X.remove(this,e)}))}}),C.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Z.get(e,t),n&&(!r||Array.isArray(n)?r=Z.access(e,t,C.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=C.queue(e,t),r=n.length,o=n.shift(),i=C._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,(function(){C.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Z.get(e,n)||Z.access(e,n,{empty:C.Callbacks("once memory").add((function(){Z.remove(e,[t+"queue",n])}))})}}),C.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?C.queue(this[0],e):void 0===t?this:this.each((function(){var n=C.queue(this,e,t);C._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&C.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){C.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=C.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Z.get(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,oe=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],ae=b.documentElement,se=function(e){return C.contains(e.ownerDocument,e)},le={composed:!0};ae.getRootNode&&(se=function(e){return C.contains(e.ownerDocument,e)||e.getRootNode(le)===e.ownerDocument});var ce=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&se(e)&&"none"===C.css(e,"display")};function ue(e,t,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return C.css(e,t,"")},l=s(),c=n&&n[3]||(C.cssNumber[t]?"":"px"),u=e.nodeType&&(C.cssNumber[t]||"px"!==c&&+l)&&oe.exec(C.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)C.style(e,t,u+c),(1-i)*(1-(i=s()/l||.5))<=0&&(a=0),u/=i;u*=2,C.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=u,r.end=o)),o}var de={};function fe(e){var t,n=e.ownerDocument,r=e.nodeName,o=de[r];return o||(t=n.body.appendChild(n.createElement(r)),o=C.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),de[r]=o,o)}function pe(e,t){for(var n,r,o=[],i=0,a=e.length;i<a;i++)(r=e[i]).style&&(n=r.style.display,t?("none"===n&&(o[i]=Z.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&ce(r)&&(o[i]=fe(r))):"none"!==n&&(o[i]="none",Z.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}C.fn.extend({show:function(){return pe(this,!0)},hide:function(){return pe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ce(this)?C(this).show():C(this).hide()}))}});var he,me,ve=/^(?:checkbox|radio)$/i,ge=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ye=/^$|^module$|\/(?:java|ecma)script/i;he=b.createDocumentFragment().appendChild(b.createElement("div")),(me=b.createElement("input")).setAttribute("type","radio"),me.setAttribute("checked","checked"),me.setAttribute("name","t"),he.appendChild(me),v.checkClone
vendor: 8,149 bytes, line 2
2=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue,he.innerHTML="<option></option>",v.option=!!he.lastChild;var be={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function _e(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?C.merge([e],n):n}function we(e,t){for(var n=0,r=e.length;n<r;n++)Z.set(e[n],"globalEval",!t||Z.get(t[n],"globalEval"))}be.tbody=be.tfoot=be.colgroup=be.caption=be.thead,be.th=be.td,v.option||(be.optgroup=be.option=[1,"<select multiple='multiple'>","</select>"]);var ke=/<|&#?\w+;/;function xe(e,t,n,r,o){for(var i,a,s,l,c,u,d=t.createDocumentFragment(),f=[],p=0,h=e.length;p<h;p++)if((i=e[p])||0===i)if("object"===k(i))C.merge(f,i.nodeType?[i]:i);else if(ke.test(i)){for(a=a||d.appendChild(t.createElement("div")),s=(ge.exec(i)||["",""])[1].toLowerCase(),l=be[s]||be._default,a.innerHTML=l[1]+C.htmlPrefilter(i)+l[2],u=l[0];u--;)a=a.lastChild;C.merge(f,a.childNodes),(a=d.firstChild).textContent=""}else f.push(t.createTextNode(i));for(d.textContent="",p=0;i=f[p++];)if(r&&C.inArray(i,r)>-1)o&&o.push(i);else if(c=se(i),a=_e(d.appendChild(i),"script"),c&&we(a),n)for(u=0;i=a[u++];)ye.test(i.type||"")&&n.push(i);return d}var Ce=/^([^.]*)(?:\.(.+)|)/;function Se(){return!0}function Ee(){return!1}function Te(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function Oe(e,t,n,r,o,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Oe(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=Ee;else if(!o)return e;return 1===i&&(a=o,o=function(e){return C().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=C.guid++)),e.each((function(){C.event.add(this,t,o,r,n)}))}function Ie(e,t,n){n?(Z.set(e,t,!1),C.event.add(e,t,{namespace:!1,handler:function(e){var r,o,i=Z.get(this,t);if(1&e.isTrigger&&this[t]){if(i.length)(C.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=s.call(arguments),Z.set(this,t,i),r=n(this,t),this[t](),i!==(o=Z.get(this,t))||r?Z.set(this,t,!1):o={},i!==o)return e.stopImmediatePropagation(),e.preventDefault(),o&&o.value}else i.length&&(Z.set(this,t,{value:C.event.trigger(C.extend(i[0],C.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Z.get(e,t)&&C.event.add(e,t,Se)}C.event={global:{},add:function(e,t,n,r,o){var i,a,s,l,c,u,d,f,p,h,m,v=Z.get(e);if(Q(e))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&C.find.matchesSelector(ae,o),n.guid||(n.guid=C.guid++),(l=v.events)||(l=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(t){return void 0!==C&&C.event.triggered!==t.type?C.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(j)||[""]).length;c--;)p=m=(s=Ce.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=C.event.special[p]||{},p=(o?d.delegateType:d.bindType)||p,d=C.event.special[p]||{},u=C.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&C.expr.match.needsContext.test(o),namespace:h.join(".")},i),(f=l[p])||((f=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,u):f.push(u),C.event.global[p]=!0)},remove:function(e,t,n,r,o){var i,a,s,l,c,u,d,f,p,h,m,v=Z.hasData(e)&&Z.get(e);if(v&&(l=v.events)){for(c=(t=(t||"").match(j)||[""]).length;c--;)if(p=m=(s=Ce.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=C.event.special[p]||{},f=l[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=f.length;i--;)u=f[i],!o&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(f.splice(i,1),u.selector&&f.delegateCount--,d.remove&&d.remove.call(e,u));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,v.handle)||C.removeEvent(e,p,v.handle),delete l[p])}else for(p in l)C.event.remove(e,p+t[c],n,r,!0);C.isEmptyObject(l)&&Z.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=new Array(arguments.length),l=C.event.fix(e),c=(Z.get(this,"events")||Object.create(null))[l.type]||[],u=C.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(a=C.event.handlers.call(this,l,c),t=0;(o=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==i.namespace&&!l.rnamespace.test(i.namespace)||(l.handleObj=i,l.data=i.data,void 0!==(r=((C.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,o,i,a,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(i=[],a={},n=0;n<l;n++)void 0===a[o=(r=t[n]).selector+" "]&&(a[o]=r.needsContext?C(o,this).index(c)>-1:C.find(o,this,null,[c]).length),a[o]&&i.push(r);i.length&&s.push({elem:c,handlers:i})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(C.Event.prototype,e,{enumerable:!0,configurable:!0,get:g(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[C.expando]?e:new C.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ve.test(t.type)&&t.click&&A(t,"input")&&Ie(t,"click",Se),!1},trigger:function(e){var t=this||e;return ve.test(t.type)&&t.click&&A(t,"input")&&Ie(t,"click"),!0},_default:function(e){var t=e.target;return ve.test(t.type)&&t.click&&A(t,"input")&&Z.get(t,"click")||A(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},C.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},C.Event=function(e,t){if(!(this instanceof C.Event))return new C.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Se:Ee,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&C.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[C.expando]=!0},C.Event.prototype={constructor:C.Event,isDefaultPrevented:Ee,isPropagationStopped:Ee,isImmediatePropagationStopped:Ee,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Se,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Se,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Se,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},C.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},C.event.addProp),C.each({focus:"focusin",blur:"focusout"},(function(e,t){C.event.special[e]={setup:function(){return Ie(this,e,Te),!1},trigger:function(){return Ie(this,e),!0},_default:function(){return!0},delegateType:t}}
vendor: 3,035 bytes, line 2
2)),C.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){C.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,o=e.handleObj;return r&&(r===this||C.contains(this,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),C.fn.extend({on:function(e,t,n,r){return Oe(this,e,t,n,r)},one:function(e,t,n,r){return Oe(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,C(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ee),this.each((function(){C.event.remove(this,e,n,t)}))}});var Ae=/<script|<style|<link/i,De=/checked\s*(?:[^=]|=\s*.checked.)/i,Pe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Me(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&C(e).children("tbody")[0]||e}function $e(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ne(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Re(e,t){var n,r,o,i,a,s;if(1===t.nodeType){if(Z.hasData(e)&&(s=Z.get(e).events))for(o in Z.remove(t,"handle events"),s)for(n=0,r=s[o].length;n<r;n++)C.event.add(t,o,s[o][n]);X.hasData(e)&&(i=X.access(e),a=C.extend({},i),X.set(t,a))}}function Le(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ve.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function je(e,t,n,r){t=l(t);var o,i,a,s,c,u,d=0,f=e.length,p=f-1,h=t[0],m=g(h);if(m||f>1&&"string"==typeof h&&!v.checkClone&&De.test(h))return e.each((function(o){var i=e.eq(o);m&&(t[0]=h.call(this,o,i.html())),je(i,t,n,r)}));if(f&&(i=(o=xe(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=C.map(_e(o,"script"),$e)).length;d<f;d++)c=o,d!==p&&(c=C.clone(c,!0,!0),s&&C.merge(a,_e(c,"script"))),n.call(e[d],c,d);if(s)for(u=a[a.length-1].ownerDocument,C.map(a,Ne),d=0;d<s;d++)c=a[d],ye.test(c.type||"")&&!Z.access(c,"globalEval")&&C.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?C._evalUrl&&!c.noModule&&C._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):w(c.textContent.replace(Pe,""),c,u))}return e}function Fe(e,t,n){for(var r,o=t?C.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||C.cleanData(_e(r)),r.parentNode&&(n&&se(r)&&we(_e(r,"script")),r.parentNode.removeChild(r));return e}C.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),l=se(e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||C.isXMLDoc(e)))for(a=_e(s),r=0,o=(i=_e(e)).length;r<o;r++)Le(i[r],a[r]);if(t)if(n)for(i=i||_e(e),a=a||_e(s),r=0,o=i.length;r<o;r++)Re(i[r],a[r]);else Re(e,s);return(a=_e(s,"script")).length>0&&we(a,!l&&_e(e,"script")),s},cleanData:function(e){for(var t,n,r,o=C.event.special,i=0;void 0!==(n=e[i]);
vendor: 10,768 bytes, line 2
2i++)if(Q(n)){if(t=n[Z.expando]){if(t.events)for(r in t.events)o[r]?C.event.remove(n,r):C.removeEvent(n,r,t.handle);n[Z.expando]=void 0}n[X.expando]&&(n[X.expando]=void 0)}}}),C.fn.extend({detach:function(e){return Fe(this,e,!0)},remove:function(e){return Fe(this,e)},text:function(e){return V(this,(function(e){return void 0===e?C.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return je(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Me(this,e).appendChild(e)}))},prepend:function(){return je(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Me(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return je(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return je(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(C.cleanData(_e(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return C.clone(this,e,t)}))},html:function(e){return V(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ae.test(e)&&!be[(ge.exec(e)||["",""])[1].toLowerCase()]){e=C.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(C.cleanData(_e(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return je(this,arguments,(function(t){var n=this.parentNode;C.inArray(this,e)<0&&(C.cleanData(_e(this)),n&&n.replaceChild(t,this))}),e)}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){C.fn[e]=function(e){for(var n,r=[],o=C(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),C(o[a])[t](n),c.apply(r,n.get());return this.pushStack(r)}}));var Be=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),qe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},He=function(e,t,n){var r,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in r=n.call(e),t)e.style[o]=i[o];return r},ze=new RegExp(ie.join("|"),"i");function Ue(e,t,n){var r,o,i,a,s=e.style;return(n=n||qe(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||se(e)||(a=C.style(e,t)),!v.pixelBoxStyles()&&Be.test(a)&&ze.test(t)&&(r=s.width,o=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=o,s.maxWidth=i)),void 0!==a?a+"":a}function Ve(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ae.appendChild(c).appendChild(u);var e=r.getComputedStyle(u);n="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",a=36===t(e.right),o=36===t(e.width),u.style.position="absolute",i=12===t(u.offsetWidth/3),ae.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var n,o,i,a,s,l,c=b.createElement("div"),u=b.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===u.style.backgroundClip,C.extend(v,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,o;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",ae.appendChild(e).appendChild(t).appendChild(n),o=r.getComputedStyle(t),s=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===t.offsetHeight,ae.removeChild(e)),s}}))}();var Ge=["Webkit","Moz","ms"],We=b.createElement("div").style,Ye={};function Ke(e){var t=C.cssProps[e]||Ye[e];return t||(e in We?e:Ye[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ge.length;n--;)if((e=Ge[n]+t)in We)return e}(e)||e)}var Qe=/^(none|table(?!-c[ea]).+)/,Je=/^--/,Ze={position:"absolute",visibility:"hidden",display:"block"},Xe={letterSpacing:"0",fontWeight:"400"};function et(e,t,n){var r=oe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function tt(e,t,n,r,o,i){var a="width"===t?1:0,s=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=C.css(e,n+ie[a],!0,o)),r?("content"===n&&(l-=C.css(e,"padding"+ie[a],!0,o)),"margin"!==n&&(l-=C.css(e,"border"+ie[a]+"Width",!0,o))):(l+=C.css(e,"padding"+ie[a],!0,o),"padding"!==n?l+=C.css(e,"border"+ie[a]+"Width",!0,o):s+=C.css(e,"border"+ie[a]+"Width",!0,o));return!r&&i>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-s-.5))||0),l}function nt(e,t,n){var r=qe(e),o=(!v.boxSizingReliable()||n)&&"border-box"===C.css(e,"boxSizing",!1,r),i=o,a=Ue(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Be.test(a)){if(!n)return a;a="auto"}return(!v.boxSizingReliable()&&o||!v.reliableTrDimensions()&&A(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===C.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===C.css(e,"boxSizing",!1,r),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+tt(e,t,n||(o?"border":"content"),i,r,a)+"px"}function rt(e,t,n,r,o){return new rt.prototype.init(e,t,n,r,o)}C.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ue(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=K(t),l=Je.test(t),c=e.style;if(l||(t=Ke(s)),a=C.cssHooks[t]||C.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:c[t];"string"===(i=typeof n)&&(o=oe.exec(n))&&o[1]&&(n=ue(e,t,o),i="number"),null!=n&&n==n&&("number"!==i||l||(n+=o&&o[3]||(C.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var o,i,a,s=K(t);return Je.test(t)||(t=Ke(s)),(a=C.cssHooks[t]||C.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=Ue(e,t,r)),"normal"===o&&t in Xe&&(o=Xe[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),C.each(["height","width"],(function(e,t){C.cssHooks[t]={get:function(e,n,r){if(n)return!Qe.test(C.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?nt(e,t,r):He(e,Ze,(function(){return nt(e,t,r)}))},set:function(e,n,r){var o,i=qe(e),a=!v.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===C.css(e,"boxSizing",!1,i),l=r?tt(e,t,r,s,i):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-tt(e,t,"border",!1,i)-.5)),l&&(o=oe.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=C.css(e,t)),et(0,n,l)}}})),C.cssHooks.marginLeft=Ve(v.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Ue(e,"marginLeft"))||e.getBoundingClientRect().left-He(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),C.each({margin:"",padding:"",border:"Width"},(function(e,t){C.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+ie[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(C.cssHooks[e+t].set=et)})),C.fn.extend({css:function(e,t){return V(this,(function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=qe(e),o=t.length;a<o;a++)i[t[a]]=C.css(e,t[a],!1,r);return i}return void 0!==n?C.style(e,t,n):C.css(e,t)}),e,t,arguments.length>1)}}),C.Tween=rt,rt.prototype={constructor:rt,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||C.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(C.cssNumber[n]?"":"px")},cur:function(){var e=rt.propHooks[this.prop];return e&&e.get?e.get(this):rt.propHooks._default.get(this)},run:function(e){var t,n=rt.propHooks[this.prop];return this.options.duration?this.pos=t=C.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rt.propHooks._default.set(this),this}},rt.prototype.init.prototype=rt.prototype,rt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=C.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){C.fx.step[e.prop]?C.fx.step[e.prop](e):1!==e.elem.nodeType||!C.cssHooks[e.prop]&&null==e.elem.style[Ke(e.prop)]?e.elem[e.prop]=e.now:C.style(e.elem,e.prop,e.now+e.unit)}}},rt.propHooks.scrollTop=rt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},C.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},C.fx=rt.prototype.init,C.fx.step={};var ot,it,at=/^(?:toggle|show|hide)$/,st=/queueHooks$/;function lt(){it&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(lt):r.setTimeout(lt,C.fx.interval),C.fx.tick())}function ct(){return r.setTimeout((function(){ot=void 0})),ot=Date.now()}function ut(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=ie[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function dt(e,t,n){for(var r,o=(ft.tweeners[t]||[]).concat(ft.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function ft(e,t,n){var r,o,i=0,a=ft.prefilters.length,s=C.Deferred().always((function(){delete l.elem})),l=function(){if(o)return!1;for(var t=ot||ct(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),i=0,a=c.tweens.length;i<a;i++)c.tweens[i].run(r);return s.notifyWith(e,[c,r,n]),r<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:C.extend({},t),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},n),originalProperties:t,originalOptions:n,startTime:ot||ct(),duration:n.duration,tweens:[],createTween:function(t,n){var r=C.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||
vendor: 1,610 bytes, line 2
2c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(!function(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=K(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=C.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}(u,c.opts.specialEasing);i<a;i++)if(r=ft.prefilters[i].call(c,e,u,c.opts))return g(r.stop)&&(C._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return C.map(u,dt,c),g(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),C.fx.timer(C.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}C.Animation=C.extend(ft,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ue(n.elem,e,oe.exec(t),n),n}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(j);for(var n,r=0,o=e.length;r<o;r++)n=e[r],ft.tweeners[n]=ft.tweeners[n]||[],ft.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,o,i,a,s,l,c,u,d="width"in t||"height"in t,f=this,p={},h=e.style,m=e.nodeType&&ce(e),v=Z.get(e,"fxshow");for(r in n.queue||(null==(a=C._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always((function(){f.always((function(){a.unqueued--,C.queue(e,"fx").length||a.empty.fire()}))}))),t)if(o=t[r],at.test(o)){if(delete t[r],i=i||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||
vendor: 4,870 bytes, line 2
2!v||void 0===v[r])continue;m=!0}p[r]=v&&v[r]||C.style(e,r)}if((l=!C.isEmptyObject(t))||!C.isEmptyObject(p))for(r in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=v&&v.display)&&(c=Z.get(e,"display")),"none"===(u=C.css(e,"display"))&&(c?u=c:(pe([e],!0),c=e.style.display||c,u=C.css(e,"display"),pe([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===C.css(e,"float")&&(l||(f.done((function(){h.display=c})),null==c&&(u=h.display,c="none"===u?"":u)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",f.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),l=!1,p)l||(v?"hidden"in v&&(m=v.hidden):v=Z.access(e,"fxshow",{display:c}),i&&(v.hidden=!m),m&&pe([e],!0),f.done((function(){for(r in m||pe([e]),Z.remove(e,"fxshow"),p)C.style(e,r,p[r])}))),l=dt(m?v[r]:0,r,f),r in v||(v[r]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?ft.prefilters.unshift(e):ft.prefilters.push(e)}}),C.speed=function(e,t,n){var r=e&&"object"==typeof e?C.extend({},e):{complete:n||!n&&t||g(e)&&e,duration:e,easing:n&&t||t&&!g(t)&&t};return C.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in C.fx.speeds?r.duration=C.fx.speeds[r.duration]:r.duration=C.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){g(r.old)&&r.old.call(this),r.queue&&C.dequeue(this,r.queue)},r},C.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ce).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=C.isEmptyObject(e),i=C.speed(t,n,r),a=function(){var t=ft(this,C.extend({},e),i);(o||Z.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,o=null!=e&&e+"queueHooks",i=C.timers,a=Z.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&st.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||C.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=Z.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=C.timers,a=r?r.length:0;for(n.finish=!0,C.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),C.each(["toggle","show","hide"],(function(e,t){var n=C.fn[t];C.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ut(t,!0),e,r,o)}})),C.each({slideDown:ut("show"),slideUp:ut("hide"),slideToggle:ut("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){C.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),C.timers=[],C.fx.tick=function(){var e,t=0,n=C.timers;for(ot=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||C.fx.stop(),ot=void 0},C.fx.timer=function(e){C.timers.push(e),C.fx.start()},C.fx.interval=13,C.fx.start=function(){it||(it=!0,lt())},C.fx.stop=function(){it=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(e,t){return e=C.fx&&C.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var o=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(o)}}))},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",v.checkOn=""!==e.value,v.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",v.radioValue="t"===e.value}();var pt,ht=C.expr.attrHandle;C.fn.extend({attr:function(e,t){return V(this,C.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){C.removeAttr(this,e)}))}}),C.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?C.prop(e,t,n):(1===i&&C.isXMLDoc(e)||(o=C.attrHooks[t.toLowerCase()]||(C.expr.match.bool.test(t)?pt:void 0)),void 0!==n?null===n?void C.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=C.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&A(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(j);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),pt={set:function(e,t,n){return!1===t?C.removeAttr(e,n):e.setAttribute(n,n),n}},C.each(C.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=ht[t]||C.find.attr;ht[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=ht[a],ht[a]=o,o=null!=n(e,t,r)?a:null,ht[a]=i),o}}
vendor: 8,058 bytes, line 2
2));var mt=/^(?:input|select|textarea|button)$/i,vt=/^(?:a|area)$/i;function gt(e){return(e.match(j)||[]).join(" ")}function yt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(j)||[]}C.fn.extend({prop:function(e,t){return V(this,C.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[C.propFix[e]||e]}))}}),C.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&C.isXMLDoc(e)||(t=C.propFix[t]||t,o=C.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=C.find.attr(e,"tabindex");return t?parseInt(t,10):mt.test(e.nodeName)||vt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(C.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){C.propFix[this.toLowerCase()]=this})),C.fn.extend({addClass:function(e){var t,n,r,o,i,a,s,l=0;if(g(e))return this.each((function(t){C(this).addClass(e.call(this,t,yt(this)))}));if((t=bt(e)).length)for(;n=this[l++];)if(o=yt(n),r=1===n.nodeType&&" "+gt(o)+" "){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");o!==(s=gt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,o,i,a,s,l=0;if(g(e))return this.each((function(t){C(this).removeClass(e.call(this,t,yt(this)))}));if(!arguments.length)return this.attr("class","");if((t=bt(e)).length)for(;n=this[l++];)if(o=yt(n),r=1===n.nodeType&&" "+gt(o)+" "){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");o!==(s=gt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):g(e)?this.each((function(n){C(this).toggleClass(e.call(this,n,yt(this),t),t)})):this.each((function(){var t,o,i,a;if(r)for(o=0,i=C(this),a=bt(e);t=a[o++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=yt(this))&&Z.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Z.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+gt(yt(n))+" ").indexOf(t)>-1)return!0;return!1}});var _t=/\r/g;C.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=g(e),this.each((function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,C(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=C.map(o,(function(e){return null==e?"":e+""}))),(t=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=C.valHooks[o.type]||C.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(_t,""):null==n?"":n:void 0}}),C.extend({valHooks:{option:{get:function(e){var t=C.find.attr(e,"value");return null!=t?t:gt(C.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?i+1:o.length;for(r=i<0?l:a?i:0;r<l;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){if(t=C(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,i=C.makeArray(t),a=o.length;a--;)((r=o[a]).selected=C.inArray(C.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),C.each(["radio","checkbox"],(function(){C.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=C.inArray(C(e).val(),t)>-1}},v.checkOn||(C.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),v.focusin="onfocusin"in r;var wt=/^(?:focusinfocus|focusoutblur)$/,kt=function(e){e.stopPropagation()};C.extend(C.event,{trigger:function(e,t,n,o){var i,a,s,l,c,u,d,f,h=[n||b],m=p.call(e,"type")?e.type:e,v=p.call(e,"namespace")?e.namespace.split("."):[];if(a=f=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!wt.test(m+C.event.triggered)&&(m.indexOf(".")>-1&&(v=m.split("."),m=v.shift(),v.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[C.expando]?e:new C.Event(m,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=v.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:C.makeArray(t,[e]),d=C.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(n,t))){if(!o&&!d.noBubble&&!y(n)){for(l=d.delegateType||m,wt.test(l+m)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(n.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||r)}for(i=0;(a=h[i++])&&!e.isPropagationStopped();)f=a,e.type=i>1?l:d.bindType||m,(u=(Z.get(a,"events")||Object.create(null))[e.type]&&Z.get(a,"handle"))&&u.apply(a,t),(u=c&&a[c])&&u.apply&&Q(a)&&(e.result=u.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,o||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!Q(n)||c&&g(n[m])&&!y(n)&&((s=n[c])&&(n[c]=null),C.event.triggered=m,e.isPropagationStopped()&&f.addEventListener(m,kt),n[m](),e.isPropagationStopped()&&f.removeEventListener(m,kt),C.event.triggered=void 0,s&&(n[c]=s)),e.result}},simulate:function(e,t,n){var r=C.extend(new C.Event,n,{type:e,isSimulated:!0});C.event.trigger(r,null,t)}}),C.fn.extend({trigger:function(e,t){return this.each((function(){C.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return C.event.trigger(e,t,n,!0)}}),v.focusin||C.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){C.event.simulate(t,e.target,C.event.fix(e))};C.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=Z.access(r,t);o||r.addEventListener(e,n,!0),Z.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=Z.access(r,t)-1;o?Z.access(r,t,o):(r.removeEventListener(e,n,!0),Z.remove(r,t))}}}));var xt=r.location,Ct={guid:Date.now()},St=/\?/;C.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||C.error("Invalid XML: "+(n?C.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Et=/\[\]$/,Tt=/\r?\n/g,Ot=/^(?:submit|button|image|reset|file)$/i,It=/^(?:input|select|textarea|keygen)/i;function At(e,t,n,r){var o;if(Array.isArray(t))C.each(t,(function(t,o){n||Et.test(e)?r(e,o):At(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)}));else if(n||"object"!==k(t))r(e,t);else for(o in t)At(e+"["+o+"]",t[o],n,r)}C.param=function(e,t){var n,r=[],o=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!C.isPlainObject(e))C.each(e,(function(){o(this.name,this.value)}));else for(n in e)At(n,e[n],t,o);return r.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=C.prop(this,"elements");return e?C.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!C(this).is(":disabled")&&It.test(this.nodeName)&&!Ot.test(e)&&(this.checked||!ve.test(e))})).map((function(e,t){var n=C(this).val();return null==n?null:Array.isArray(n)?C.map(n,(function(e){return{name:t.name,value:e.replace(Tt,"\r\n")}})):{name:t.name,value:n.replace(Tt,"\r\n")}})).get()}});var Dt=/%20/g,Pt=/#.*$/,Mt=/([?&])_=[^&]*/,$t=/^(.*?):[ \t]*([^\r\n]*)$/gm,Nt=/^(?:GET|HEAD)$/,Rt=/^\/\//,Lt={},jt={},Ft="*/".concat("*"),Bt=b.createElement("a");function qt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(j)||[];
vendor: 8,934 bytes, line 2
2if(g(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Ht(e,t,n,r){var o={},i=e===jt;function a(s){var l;return o[s]=!0,C.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||i||o[c]?i?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)})),l}return a(t.dataTypes[0])||!o["*"]&&a("*")}function zt(e,t){var n,r,o=C.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&C.extend(!0,e,r),e}Bt.href=xt.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:xt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(xt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ft,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?zt(zt(e,C.ajaxSettings),t):zt(C.ajaxSettings,e)},ajaxPrefilter:qt(Lt),ajaxTransport:qt(jt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o,i,a,s,l,c,u,d,f,p=C.ajaxSetup({},t),h=p.context||p,m=p.context&&(h.nodeType||h.jquery)?C(h):C.event,v=C.Deferred(),g=C.Callbacks("once memory"),y=p.statusCode||{},_={},w={},k="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=$t.exec(i);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?i:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)x.always(e[x.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||k;return n&&n.abort(t),S(0,t),this}};if(v.promise(x),p.url=((e||p.url||xt.href)+"").replace(Rt,xt.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(j)||[""],null==p.crossDomain){l=b.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Bt.protocol+"//"+Bt.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=C.param(p.data,p.traditional)),Ht(Lt,p,t,x),c)return x;for(d in(u=C.event&&p.global)&&0==C.active++&&C.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Nt.test(p.type),o=p.url.replace(Pt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Dt,"+")):(f=p.url.slice(o.length),p.data&&(p.processData||"string"==typeof p.data)&&(o+=(St.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(o=o.replace(Mt,"$1"),f=(St.test(o)?"&":"?")+"_="+Ct.guid+++f),p.url=o+f),p.ifModified&&(C.lastModified[o]&&x.setRequestHeader("If-Modified-Since",C.lastModified[o]),C.etag[o]&&x.setRequestHeader("If-None-Match",C.etag[o])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&x.setRequestHeader("Content-Type",p.contentType),x.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Ft+"; q=0.01":""):p.accepts["*"]),p.headers)x.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(h,x,p)||c))return x.abort();if(k="abort",g.add(p.complete),x.done(p.success),x.fail(p.error),n=Ht(jt,p,t,x)){if(x.readyState=1,u&&m.trigger("ajaxSend",[x,p]),c)return x;p.async&&p.timeout>0&&(s=r.setTimeout((function(){x.abort("timeout")}),p.timeout));try{c=!1,n.send(_,S)}catch(e){if(c)throw e;S(-1,e)}}else S(-1,"No Transport");function S(e,t,a,l){var d,f,b,_,w,k=t;c||(c=!0,s&&r.clearTimeout(s),n=void 0,i=l||"",x.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(_=function(e,t,n){for(var r,o,i,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){l.unshift(o);break}if(l[0]in n)i=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==l[0]&&l.unshift(i),n[i]}(p,x,a)),!d&&C.inArray("script",p.dataTypes)>-1&&C.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),_=function(e,t,n,r){var o,i,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(i=u.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=i,i=u.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(a=c[l+" "+i]||c["* "+i]))for(o in c)if((s=o.split(" "))[1]===i&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[o]:!0!==c[o]&&(i=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+i}}}return{state:"success",data:t}}(p,_,x,d),d?(p.ifModified&&((w=x.getResponseHeader("Last-Modified"))&&(C.lastModified[o]=w),(w=x.getResponseHeader("etag"))&&(C.etag[o]=w)),204===e||"HEAD"===p.type?k="nocontent":304===e?k="notmodified":(k=_.state,f=_.data,d=!(b=_.error))):(b=k,!e&&k||(k="error",e<0&&(e=0))),x.status=e,x.statusText=(t||k)+"",d?v.resolveWith(h,[f,k,x]):v.rejectWith(h,[x,k,b]),x.statusCode(y),y=void 0,u&&m.trigger(d?"ajaxSuccess":"ajaxError",[x,p,d?f:b]),g.fireWith(h,[x,k]),u&&(m.trigger("ajaxComplete",[x,p]),--C.active||C.event.trigger("ajaxStop")))}return x},getJSON:function(e,t,n){return C.get(e,t,n,"json")},getScript:function(e,t){return C.get(e,void 0,t,"script")}}),C.each(["get","post"],(function(e,t){C[t]=function(e,n,r,o){return g(n)&&(o=o||r,r=n,n=void 0),C.ajax(C.extend({url:e,type:t,dataType:o,data:n,success:r},C.isPlainObject(e)&&e))}})),C.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),C._evalUrl=function(e,t,n){return C.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){C.globalEval(e,t,n)}})},C.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=C(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return g(e)?this.each((function(t){C(this).wrapInner(e.call(this,t))})):this.each((function(){var t=C(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=g(e);return this.each((function(n){C(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){C(this).replaceWith(this.childNodes)})),this}}),C.expr.pseudos.hidden=function(e){return!C.expr.pseudos.visible(e)},C.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Ut={0:200,1223:204},Vt=C.ajaxSettings.xhr();v.cors=!!Vt&&"withCredentials"in Vt,v.ajax=Vt=!!Vt,C.ajaxTransport((function(e){var t,n;if(v.cors||Vt&&!e.crossDomain)return{send:function(o,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Ut[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),C.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return C.globalEval(e),e}}}),C.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),C.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,o){t=C("<script>").attr(e.scriptAttrs||{}
vendor: 5,351 bytes, line 2
2).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Gt,Wt=[],Yt=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Wt.pop()||C.expando+"_"+Ct.guid++;return this[e]=!0,e}}),C.ajaxPrefilter("json jsonp",(function(e,t,n){var o,i,a,s=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=g(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Yt,"$1"+o):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||C.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=r[o],r[o]=function(){a=arguments},n.always((function(){void 0===i?C(r).removeProp(o):r[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,Wt.push(o)),a&&g(i)&&i(a[0]),a=i=void 0})),"script"})),v.createHTMLDocument=((Gt=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Gt.childNodes.length),C.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(v.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),i=!n&&[],(o=D.exec(e))?[t.createElement(o[1])]:(o=xe([e],t,i),i&&i.length&&C(i).remove(),C.merge([],o.childNodes)));var r,o,i},C.fn.load=function(e,t,n){var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=gt(e.slice(s)),e=e.slice(0,s)),g(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&C.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){i=arguments,a.html(r?C("<div>").append(C.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,i||[e.responseText,t,e])}))}),this},C.expr.pseudos.animated=function(e){return C.grep(C.timers,(function(t){return e===t.elem})).length},C.offset={setOffset:function(e,t,n){var r,o,i,a,s,l,c=C.css(e,"position"),u=C(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),i=C.css(e,"top"),l=C.css(e,"left"),("absolute"===c||"fixed"===c)&&(i+l).indexOf("auto")>-1?(a=(r=u.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(l)||0),g(t)&&(t=t.call(e,n,C.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):u.css(d)}},C.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){C.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===C.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===C.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=C(e).offset()).top+=C.css(e,"borderTopWidth",!0),o.left+=C.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-C.css(r,"marginTop",!0),left:t.left-o.left-C.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===C.css(e,"position");)e=e.offsetParent;return e||ae}))}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;C.fn[e]=function(r){return V(this,(function(e,r,o){var i;if(y(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o}),e,r,arguments.length)}})),C.each(["top","left"],(function(e,t){C.cssHooks[t]=Ve(v.pixelPosition,(function(e,n){if(n)return n=Ue(e,t),Be.test(n)?C(e).position()[t]+"px":n}))})),C.each({Height:"height",Width:"width"},(function(e,t){C.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){C.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return V(this,(function(t,n,o){var i;return y(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?C.css(t,n,s):C.style(t,n,o,s)}),t,a?o:void 0,a)}}))})),C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){C.fn[t]=function(e){return this.on(t,e)}})),C.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),C.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){C.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Kt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;C.proxy=function(e,t){var n,r,o;
2if("string"==typeof t&&(n=e[t],t=e,e=n),g(e))return r=s.call(arguments,2),o=function(){return e.apply(t||this,r.concat(s.call(arguments)))},o.guid=e.guid=e.guid||C.guid++,o},C.holdReady=function(e){e?C.readyWait++:C.ready(!0)},C.isArray=Array.isArray,C.parseJSON=JSON.parse,C.nodeName=A,C.isFunction=g,C.isWindow=y,C.camelCase=K,C.type=k,C.now=Date.now,C.isNumeric=function(e){var t=C.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},C.trim=function(e){return null==e?"":(e+"").replace(Kt,"")},void 0===(n=function(){return C}.apply(t,[]))||(e.exports=n);var Qt=r.jQuery,Jt=r.$;return C.noConflict=function(e){return r.$===C&&(r.$=Jt),e&&r.jQuery===C&&(r.jQuery=Qt),C},void 0===o&&(r.jQuery=r.$=C),C}))},1272:(e,t)=>{"use strict";function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function s(e,t,n){return s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&a(o,n.prototype),o},s.apply(null,arguments)}function l(e){var t="function"==typeof Map?new Map:void 0;return l=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return s(e,arguments,i(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),a(r,e)},l(e)}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e){var t=0;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}var d=function(e){function t(){return e.apply(this,arguments)||this}return o(t,e),t}(l(Error)),f=function(e){function t(t){return e.call(this,"Invalid DateTime: "+t.toMessage())||this}return o(t,e),t}(d),p=function(e){function t(t){return e.call(this,"Invalid Interval: "+t.toMessage())||this}return o(t,e),t}(d),h=function(e){function t(t){return e.call(this,"Invalid Duration: "+t.toMessage())||this}return o(t,e),t}(d),m=function(e){function t(){return e.apply(this,arguments)||this}return o(t,e),t}(d),v=function(e){function t(t){return e.call(this,"Invalid unit "+t)||this}return o(t,e),t}(d),g=function(e){function t(){return e.apply(this,arguments)||this}return o(t,e),t}(d),y=function(e){function t(){return e.call(this,"Zone is an abstract class")||this}return o(t,e),t}(d),b="numeric",_="short",w="long",k={year:b,month:b,day:b},x={year:b,month:_,day:b},C={year:b,month:_,day:b,weekday:_},S={year:b,month:w,day:b},E={year:b,month:w,day:b,weekday:w},T={hour:b,minute:b},O={hour:b,minute:b,second:b},I={hour:b,minute:b,second:b,timeZoneName:_},A={hour:b,minute:b,second:b,timeZoneName:w},D={hour:b,minute:b,hour12:!1},P={hour:b,minute:b,second:b,hour12:!1},M={hour:b,minute:b,second:b,hour12:!1,timeZoneName:_},$={hour:b,minute:b,second:b,hour12:!1,timeZoneName:w},N={year:b,month:b,day:b,hour:b,minute:b},R={year:b,month:b,day:b,hour:b,minute:b,second:b},L={year:b,month:_,day:b,hour:b,minute:b},j={year:b,month:_,day:b,hour:b,minute:b,second:b},F={year:b,month:_,day:b,weekday:_,hour:b,minute:b},B={year:b,month:w,day:b,hour:b,minute:b,timeZoneName:_},q={year:b,month:w,day:b,hour:b,minute:b,second:b,timeZoneName:_},H={year:b,month:w,day:b,weekday:w,hour:b,minute:b,timeZoneName:w},z={year:b,month:w,day:b,weekday:w,hour:b,minute:b,second:b,timeZoneName:w};function U(e){return void 0===e}function V(e){return"number"==typeof e}function G(e){return"number"==typeof e&&e%1==0}function W(){try{return"undefined"!=typeof Intl&&Intl.DateTimeFormat}catch(e){return!1}}function Y(){return!U(Intl.DateTimeFormat.prototype.formatToParts)}function K(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function Q(e,t,n){if(0!==e.length)return e.reduce((function(e,r){var o=[t(r),r];return e&&n(e[0],o[0])===e[0]?e:o}),null)[1]}function J(e,t){return t.reduce((function(t,n){return t[n]=e[n],t}),{})}function Z(e,t){return Object.prototype.hasOwnProperty.call(e,t)}
vendor: 4,205 bytes, line 2
2function X(e,t,n){return G(e)&&e>=t&&e<=n}function ee(e,t){void 0===t&&(t=2);var n=e<0?"-":"",r=n?-1*e:e;return""+n+(r.toString().length<t?("0".repeat(t)+r).slice(-t):r.toString())}function te(e){return U(e)||null===e||""===e?void 0:parseInt(e,10)}function ne(e){if(!U(e)&&null!==e&&""!==e){var t=1e3*parseFloat("0."+e);return Math.floor(t)}}function re(e,t,n){void 0===n&&(n=!1);var r=Math.pow(10,t);return(n?Math.trunc:Math.round)(e*r)/r}function oe(e){return e%4==0&&(e%100!=0||e%400==0)}function ie(e){return oe(e)?366:365}function ae(e,t){var n=function(e,t){return e-t*Math.floor(e/t)}(t-1,12)+1;return 2===n?oe(e+(t-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function se(e){var t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t)).setUTCFullYear(t.getUTCFullYear()-1900),+t}function le(e){var t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,n=e-1,r=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return 4===t||3===r?53:52}function ce(e){return e>99?e:e>60?1900+e:2e3+e}function ue(e,t,n,r){void 0===r&&(r=null);var o=new Date(e),i={hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(i.timeZone=r);var a=Object.assign({timeZoneName:t},i),s=W();if(s&&Y()){var l=new Intl.DateTimeFormat(n,a).formatToParts(o).find((function(e){return"timezonename"===e.type.toLowerCase()}));return l?l.value:null}if(s){var c=new Intl.DateTimeFormat(n,i).format(o);return new Intl.DateTimeFormat(n,a).format(o).substring(c.length).replace(/^[, \u200e]+/,"")}return null}function de(e,t){var n=parseInt(e,10);Number.isNaN(n)&&(n=0);var r=parseInt(t,10)||0;return 60*n+(n<0||Object.is(n,-0)?-r:r)}function fe(e){var t=Number(e);if("boolean"==typeof e||""===e||Number.isNaN(t))throw new g("Invalid unit value "+e);return t}function pe(e,t,n){var r={};for(var o in e)if(Z(e,o)){if(n.indexOf(o)>=0)continue;var i=e[o];if(null==i)continue;r[t(o)]=fe(i)}return r}function he(e,t){var n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),o=e>=0?"+":"-";switch(t){case"short":return""+o+ee(n,2)+":"+ee(r,2);case"narrow":return""+o+n+(r>0?":"+r:"");case"techie":return""+o+ee(n,2)+ee(r,2);default:throw new RangeError("Value format "+t+" is out of range for property format")}}function me(e){return J(e,["hour","minute","second","millisecond"])}var ve=/[A-Za-z_+-]{1,256}(:?\/[A-Za-z_+-]{1,256}(\/[A-Za-z_+-]{1,256})?)?/;function ge(e){return JSON.stringify(e,Object.keys(e).sort())}var ye=["January","February","March","April","May","June","July","August","September","October","November","December"],be=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],_e=["J","F","M","A","M","J","J","A","S","O","N","D"];function we(e){switch(e){case"narrow":return[].concat(_e);case"short":return[].concat(be);case"long":return[].concat(ye);case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var ke=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],xe=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Ce=["M","T","W","T","F","S","S"];function Se(e){switch(e){case"narrow":return[].concat(Ce);case"short":return[].concat(xe);case"long":return[].concat(ke);case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Ee=["AM","PM"],Te=["Before Christ","Anno Domini"],Oe=["BC","AD"],Ie=["B","A"];function Ae(e){switch(e){case"narrow":return[].concat(Ie);case"short":return[].concat(Oe);case"long":return[].concat(Te);default:return null}}function De(e,t){for(var n,r="",o=u(e);!(n=o()).done;){var i=n.value;i.literal?r+=i.val:r+=t(i.val)}return r}var Pe={D:k,DD:x,DDD:S,DDDD:E,t:T,tt:O,ttt:I,tttt:A,T:D,TT:P,TTT:M,TTTT:$,f:N,ff:L,fff:B,ffff:H,F:R,FF:j,FFF:q,FFFF:z},Me=function(){function e(e,t){this.opts=t,this.loc=e,this.systemLoc=null}e.create=function(t,n){return void 0===n&&(n={}),new e(t,n)},e.parseFormat=function(e){for(var t=null,n="",r=!1,o=[],i=0;i<e.length;i++){var a=e.charAt(i);"'"===a?(n.length>0&&o.push({literal:r,val:n}),t=null,n="",r=!r):r||a===t?n+=a:(n.length>0&&o.push({literal:!1,val:n}
vendor: 5,936 bytes, line 2
2),n=a,t=a)}return n.length>0&&o.push({literal:r,val:n}),o},e.macroTokenToFormatOpts=function(e){return Pe[e]};var t=e.prototype;return t.formatWithSystemDefault=function(e,t){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,Object.assign({},this.opts,t)).format()},t.formatDateTime=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,Object.assign({},this.opts,t)).format()},t.formatDateTimeParts=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,Object.assign({},this.opts,t)).formatToParts()},t.resolvedOptions=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,Object.assign({},this.opts,t)).resolvedOptions()},t.num=function(e,t){if(void 0===t&&(t=0),this.opts.forceSimple)return ee(e,t);var n=Object.assign({},this.opts);return t>0&&(n.padTo=t),this.loc.numberFormatter(n).format(e)},t.formatDateTimeFromString=function(t,n){var r=this,o="en"===this.loc.listingMode(),i=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar&&Y(),a=function(e,n){return r.loc.extract(t,e,n)},s=function(e){return t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):""},l=function(){return o?function(e){return Ee[e.hour<12?0:1]}(t):a({hour:"numeric",hour12:!0},"dayperiod")},c=function(e,n){return o?function(e,t){return we(t)[e.month-1]}(t,e):a(n?{month:e}:{month:e,day:"numeric"},"month")},u=function(e,n){return o?function(e,t){return Se(t)[e.weekday-1]}(t,e):a(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday")},d=function(e){return o?function(e,t){return Ae(t)[e.year<0?0:1]}(t,e):a({era:e},"era")};return De(e.parseFormat(n),(function(n){switch(n){case"S":return r.num(t.millisecond);case"u":case"SSS":return r.num(t.millisecond,3);case"s":return r.num(t.second);case"ss":return r.num(t.second,2);case"m":return r.num(t.minute);case"mm":return r.num(t.minute,2);case"h":return r.num(t.hour%12==0?12:t.hour%12);case"hh":return r.num(t.hour%12==0?12:t.hour%12,2);case"H":return r.num(t.hour);case"HH":return r.num(t.hour,2);case"Z":return s({format:"narrow",allowZ:r.opts.allowZ});case"ZZ":return s({format:"short",allowZ:r.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:r.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:r.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:r.loc.locale});case"z":return t.zoneName;case"a":return l();case"d":return i?a({day:"numeric"},"day"):r.num(t.day);case"dd":return i?a({day:"2-digit"},"day"):r.num(t.day,2);case"c":case"E":return r.num(t.weekday);case"ccc":return u("short",!0);case"cccc":return u("long",!0);case"ccccc":return u("narrow",!0);case"EEE":return u("short",!1);case"EEEE":return u("long",!1);case"EEEEE":return u("narrow",!1);case"L":return i?a({month:"numeric",day:"numeric"},"month"):r.num(t.month);case"LL":return i?a({month:"2-digit",day:"numeric"},"month"):r.num(t.month,2);case"LLL":return c("short",!0);case"LLLL":return c("long",!0);case"LLLLL":return c("narrow",!0);case"M":return i?a({month:"numeric"},"month"):r.num(t.month);case"MM":return i?a({month:"2-digit"},"month"):r.num(t.month,2);case"MMM":return c("short",!1);case"MMMM":return c("long",!1);case"MMMMM":return c("narrow",!1);case"y":return i?a({year:"numeric"},"year"):r.num(t.year);case"yy":return i?a({year:"2-digit"},"year"):r.num(t.year.toString().slice(-2),2);case"yyyy":return i?a({year:"numeric"},"year"):r.num(t.year,4);case"yyyyyy":return i?a({year:"numeric"},"year"):r.num(t.year,6);case"G":return d("short");case"GG":return d("long");case"GGGGG":return d("narrow");case"kk":return r.num(t.weekYear.toString().slice(-2),2);case"kkkk":return r.num(t.weekYear,4);case"W":return r.num(t.weekNumber);case"WW":return r.num(t.weekNumber,2);case"o":return r.num(t.ordinal);case"ooo":return r.num(t.ordinal,3);case"q":return r.num(t.quarter);case"qq":return r.num(t.quarter,2);case"X":return r.num(Math.floor(t.ts/1e3));case"x":return r.num(t.ts);default:return function(n){var o=e.macroTokenToFormatOpts(n);return o?r.formatWithSystemDefault(t,o):n}(n)}}))},t.formatDurationFromString=function(t,n){var r,o=this,i=function(e){switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"M":return"month";case"y":return"year";default:return null}},a=e.parseFormat(n),s=a.reduce((function(e,t){var n=t.literal,r=t.val;return n?e:e.concat(r)}),[]),l=t.shiftTo.apply(t,s.map(i).filter((function(e){return e})));return De(a,(r=l,function(e){var t=i(e);return t?o.num(r.get(t),e.length):e}))},e}(),$e=function(){function e(e,t){this.reason=e,this.explanation=t}return e.prototype.toMessage=function(){return this.explanation?this.reason+": "+this.explanation:this.reason},e}(),Ne=function(){function e(){}var t=e.prototype;return t.offsetName=function(e,t){throw new y},t.formatOffset=function(e,t){throw new y},t.offset=function(e){throw new y},t.equals=function(e){throw new y},r(e,[{key:"type",get:function(){throw new y}},{key:"name",get:function(){throw new y}},{key:"universal",get:function(){throw new y}},{key:"isValid",get:function(){throw new y}}]),e}(),Re=null,Le=function(e){function t(){return e.apply(this,arguments)||this}o(t,e);var n=t.prototype;return n.offsetName=function(e,t){return ue(e,t.format,t.locale)},n.formatOffset=function(e,t){return he(this.offset(e),t)},n.offset=function(e){return-new Date(e).getTimezoneOffset()},n.equals=function(e){return"local"===e.type},r(t,[{key:"type",get:function(){return"local"}},{key:"name",get:function(){return W()?(new Intl.DateTimeFormat).resolvedOptions().timeZone:"local"}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!0}}],[{key:"instance",get:function(){return null===Re&&(Re=new t),Re}}]),t}(Ne),je=RegExp("^"+ve.source+"$"),Fe={};var Be={year:0,month:1,day:2,hour:3,minute:4,second:5};var qe={},He=function(e){function t(n){var r;
2return(r=e.call(this)||this).zoneName=n,r.valid=t.isValidZone(n),r}o(t,e),t.create=function(e){return qe[e]||(qe[e]=new t(e)),qe[e]},t.resetCache=function(){qe={},Fe={}},t.isValidSpecifier=function(e){return!(!e||!e.match(je))},t.isValidZone=function(e){try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}},t.parseGMTOffset=function(e){if(e){var t=e.match(/^Etc\/GMT(0|[+-]\d{1,2})$/i);if(t)return-60*parseInt(t[1])}return null};var n=t.prototype;return n.offsetName=function(e,t){return ue(e,t.format,t.locale,this.name)},n.formatOffset=function(e,t){return he(this.offset(e),t)},n.offset=function(e){var t=new Date(e);if(isNaN(t))return NaN;var n,r=(n=this.name,Fe[n]||(Fe[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),Fe[n]),o=r.formatToParts?function(e,t){for(var n=e.formatToParts(t),r=[],o=0;o<n.length;o++){var i=n[o],a=i.type,s=i.value,l=Be[a];U(l)||(r[l]=parseInt(s,10))}return r}(r,t):function(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n),o=r[1],i=r[2];return[r[3],o,i,r[4],r[5],r[6]]}(r,t),i=o[0],a=o[1],s=o[2],l=o[3],c=+t,u=c%1e3;return(se({year:i,month:a,day:s,hour:24===l?0:l,minute:o[4],second:o[5],millisecond:0})-(c-=u>=0?u:1e3+u))/6e4},n.equals=function(e){return"iana"===e.type&&e.name===this.name},r(t,[{key:"type",get:function(){return"iana"}},{key:"name",get:function(){return this.zoneName}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return this.valid}}]),t}(Ne),ze=null,Ue=function(e){function t(t){var n;return(n=e.call(this)||this).fixed=t,n}o(t,e),t.instance=function(e){return 0===e?t.utcInstance:new t(e)},t.parseSpecifier=function(e){if(e){var n=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new t(de(n[1],n[2]))}return null},r(t,null,[{key:"utcInstance",get:function(){return null===ze&&(ze=new t(0)),ze}}]);var n=t.prototype;return n.offsetName=function(){return this.name},n.formatOffset=function(e,t){return he(this.fixed,t)},n.offset=function(){return this.fixed},n.equals=function(e){return"fixed"===e.type&&e.fixed===this.fixed},r(t,[{key:"type",get:function(){return"fixed"}},{key:"name",get:function(){return 0===this.fixed?"UTC":"UTC"+he(this.fixed,"narrow")}},{key:"universal",get:function(){return!0}},{key:"isValid",get:function(){return!0}}]),t}(Ne),Ve=function(e){function t(t){var n;return(n=e.call(this)||this).zoneName=t,n}o(t,e);var n=t.prototype;return n.offsetName=function(){return null},n.formatOffset=function(){return""},n.offset=function(){return NaN},n.equals=function(){return!1},r(t,[{key:"type",get:function(){return"invalid"}},{key:"name",get:function(){return this.zoneName}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!1}}]),t}(Ne);function Ge(e,t){var n;if(U(e)||null===e)return t;if(e instanceof Ne)return e;if("string"==typeof e){var r=e.toLowerCase();return"local"===r?t:"utc"===r||"gmt"===r?Ue.utcInstance:null!=(n=He.parseGMTOffset(e))?Ue.instance(n):He.isValidSpecifier(r)?He.create(e):Ue.parseSpecifier(r)||new Ve(e)}return V(e)?Ue.instance(e):"object"==typeof e&&e.offset&&"number"==typeof e.offset?e:new Ve(e)}var We=function(){return Date.now()},Ye=null,Ke=null,Qe=null,Je=null,Ze=!1,Xe=function(){function e(){}return e.resetCaches=function(){ut.resetCache(),He.resetCache()},r(e,null,[{key:"now",get:function(){return We},set:function(e){We=e}},{key:"defaultZoneName",get:function(){return e.defaultZone.name},set:function(e){Ye=e?Ge(e):null}},{key:"defaultZone",get:function(){return Ye||Le.instance}},{key:"defaultLocale",get:function(){return Ke},set:function(e){Ke=e}},{key:"defaultNumberingSystem",get:function(){return Qe},set:function(e){Qe=e}},{key:"defaultOutputCalendar",get:function(){return Je},set:function(e){Je=e}},{key:"throwOnInvalid",get:function(){return Ze},set:function(e){Ze=e}}]),e}(),et={};function tt(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),r=et[n];return r||(r=new Intl.DateTimeFormat(e,t),et[n]=r),r}var nt={};var rt={};function ot(e,t){void 0===t&&(t={});var n=t,r=(n.base,function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(n,["base"])),o=JSON.stringify([e,r]),i=rt[o];
2return i||(i=new Intl.RelativeTimeFormat(e,t),rt[o]=i),i}var it=null;function at(e,t,n,r,o){var i=e.listingMode(n);return"error"===i?null:"en"===i?r(t):o(t)}var st=function(){function e(e,t,n){if(this.padTo=n.padTo||0,this.floor=n.floor||!1,!t&&W()){var r={useGrouping:!1};n.padTo>0&&(r.minimumIntegerDigits=n.padTo),this.inf=function(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),r=nt[n];return r||(r=new Intl.NumberFormat(e,t),nt[n]=r),r}(e,r)}}return e.prototype.format=function(e){if(this.inf){var t=this.floor?Math.floor(e):e;return this.inf.format(t)}return ee(this.floor?Math.floor(e):re(e,3),this.padTo)},e}(),lt=function(){function e(e,t,n){var r;if(this.opts=n,this.hasIntl=W(),e.zone.universal&&this.hasIntl){var o=e.offset/60*-1,i=o>=0?"Etc/GMT+"+o:"Etc/GMT"+o,a=He.isValidZone(i);0!==e.offset&&a?(r=i,this.dt=e):(r="UTC",n.timeZoneName?this.dt=e:this.dt=0===e.offset?e:fr.fromMillis(e.ts+60*e.offset*1e3))}else"local"===e.zone.type?this.dt=e:(this.dt=e,r=e.zone.name);if(this.hasIntl){var s=Object.assign({},this.opts);r&&(s.timeZone=r),this.dtf=tt(t,s)}}var t=e.prototype;return t.format=function(){if(this.hasIntl)return this.dtf.format(this.dt.toJSDate());var e=function(e){var t="EEEE, LLLL d, yyyy, h:mm a";switch(ge(J(e,["weekday","era","year","month","day","hour","minute","second","timeZoneName","hour12"]))){case ge(k):return"M/d/yyyy";case ge(x):return"LLL d, yyyy";case ge(C):return"EEE, LLL d, yyyy";case ge(S):return"LLLL d, yyyy";case ge(E):return"EEEE, LLLL d, yyyy";case ge(T):return"h:mm a";case ge(O):return"h:mm:ss a";case ge(I):case ge(A):return"h:mm a";case ge(D):return"HH:mm";case ge(P):return"HH:mm:ss";case ge(M):case ge($):return"HH:mm";case ge(N):return"M/d/yyyy, h:mm a";case ge(L):return"LLL d, yyyy, h:mm a";case ge(B):return"LLLL d, yyyy, h:mm a";case ge(H):return t;case ge(R):return"M/d/yyyy, h:mm:ss a";case ge(j):return"LLL d, yyyy, h:mm:ss a";case ge(F):return"EEE, d LLL yyyy, h:mm a";case ge(q):return"LLLL d, yyyy, h:mm:ss a";case ge(z):return"EEEE, LLLL d, yyyy, h:mm:ss a";default:return t}}(this.opts),t=ut.create("en-US");return Me.create(t).formatDateTimeFromString(this.dt,e)},t.formatToParts=function(){return this.hasIntl&&Y()?this.dtf.formatToParts(this.dt.toJSDate()):[]},t.resolvedOptions=function(){return this.hasIntl?this.dtf.resolvedOptions():{locale:"en-US",numberingSystem:"latn",outputCalendar:"gregory"}},e}(),ct=function(){function e(e,t,n){this.opts=Object.assign({style:"long"},n),!t&&K()&&(this.rtf=ot(e,n))}var t=e.prototype;return t.format=function(e,t){return this.rtf?this.rtf.format(e,t):function(e,t,n,r){void 0===n&&(n="always"),void 0===r&&(r=!1);var o={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===n&&i){var a="days"===e;switch(t){case 1:return a?"tomorrow":"next "+o[e][0];case-1:return a?"yesterday":"last "+o[e][0];case 0:return a?"today":"this "+o[e][0]}}var s=Object.is(t,-0)||t<0,l=Math.abs(t),c=1===l,u=o[e],d=r?c?u[1]:u[2]||u[1]:c?o[e][0]:e;return s?l+" "+d+" ago":"in "+l+" "+d}(t,e,this.opts.numeric,"long"!==this.opts.style)},t.formatToParts=function(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]},e}(),ut=function(){function e(e,t,n,r){var o=function(e){var t=e.indexOf("-u-");if(-1===t)return[e];var n,r=e.substring(0,t);try{n=tt(e).resolvedOptions()}catch(e){n=tt(r).resolvedOptions()}var o=n;return[r,o.numberingSystem,o.calendar]}(e),i=o[0],a=o[1],s=o[2];this.locale=i,this.numberingSystem=t||a||null,this.outputCalendar=n||s||null,this.intl=function(e,t,n){return W()?n||t?(e+="-u",n&&(e+="-ca-"+n),t&&(e+="-nu-"+t),e):e:[]}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}e.fromOpts=function(t){return e.create(t.locale,t.numberingSystem,t.outputCalendar,t.defaultToEN)},e.create=function(t,n,r,o){void 0===o&&(o=!1);var i=t||Xe.defaultLocale;return new e(i||(o?"en-US":function(){if(it)return it;if(W()){var e=(new Intl.DateTimeFormat).resolvedOptions().locale;return it=e&&"und"!==e?e:"en-US"}return it="en-US"}()),n||Xe.defaultNumberingSystem,r||Xe.defaultOutputCalendar,i)},e.resetCache=function(){it=null,et={},nt={},rt={}},e.fromObject=function(t){var n=void 0===t?{}:t,r=n.locale,o=n.numberingSystem,i=n.outputCalendar;return e.create(r,o,i)};var t=e.prototype;return t.listingMode=function(e){void 0===e&&(e=!0);var t=W()&&Y(),n=this.isEnglish(),r=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t||n&&r||e?!t||n&&r?"en":"intl":"error"},t.clone=function(t){return t&&0!==Object.getOwnPropertyNames(t).length?e.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,t.defaultToEN||!1):this},t.redefaultToEN=function(e){return void 0===e&&(e={}),this.clone(Object.assign({},e,{defaultToEN:!0}))},t.redefaultToSystem=function(e){return void 0===e&&(e={}),this.clone(Object.assign({},e,{defaultToEN:!1}))},t.months=function(e,t,n){var r=this;return void 0===t&&(t=!1),void 0===n&&(n=!0),at(this,e,n,we,(function(){var n=t?{month:e,day:"numeric"}:{month:e},o=t?"format":"standalone";return r.monthsCache[o][e]||(r.monthsCache[o][e]=function(e){for(var t=[],n=1;n<=12;n++){var r=fr.utc(2016,n,1);t.push(e(r))}return t}((function(e){return r.extract(e,n,"month")}))),r.monthsCache[o][e]}))},t.weekdays=function(e,t,n){var r=this;return void 0===t&&(t=!1),void 0===n&&(n=!0),at(this,e,n,Se,(function(){var n=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},o=t?"format":"standalone";return r.weekdaysCache[o][e]||(r.weekdaysCache[o][e]=function(e){for(var t=[],n=1;n<=7;n++){var r=fr.utc(2016,11,13+n);t.push(e(r))}return t}((function(e){return r.extract(e,n,"weekday")}))),r.weekdaysCache[o][e]}))},t.meridiems=function(e){var t=this;return void 0===e&&(e=!0),at(this,void 0,e,(function(){return Ee}),(function(){if(!t.meridiemCache){var e={hour:"numeric",hour12:!0};t.meridiemCache=[fr.utc(2016,11,13,9),fr.utc(2016,11,13,19)].map((function(n){return t.extract(n,e,"dayperiod")}))}return t.meridiemCache}))},t.eras=function(e,t){var n=this;return void 0===t&&(t=!0),at(this,e,t,Ae,(function(){var t={era:e};return n.eraCache[e]||(n.eraCache[e]=[fr.utc(-40,1,1),fr.utc(2017,1,1)].map((function(e){return n.extract(e,t,"era")}))),n.eraCache[e]}
vendor: 4,558 bytes, line 2
2))},t.extract=function(e,t,n){var r=this.dtFormatter(e,t).formatToParts().find((function(e){return e.type.toLowerCase()===n}));return r?r.value:null},t.numberFormatter=function(e){return void 0===e&&(e={}),new st(this.intl,e.forceSimple||this.fastNumbers,e)},t.dtFormatter=function(e,t){return void 0===t&&(t={}),new lt(e,this.intl,t)},t.relFormatter=function(e){return void 0===e&&(e={}),new ct(this.intl,this.isEnglish(),e)},t.isEnglish=function(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||W()&&new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")},t.equals=function(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar},r(e,[{key:"fastNumbers",get:function(){var e;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(e=this).numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||W()&&"latn"===new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}}]),e}();function dt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce((function(e,t){return e+t.source}),"");return RegExp("^"+r+"$")}function ft(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce((function(t,n){var r=t[0],o=t[1],i=t[2],a=n(e,i),s=a[0],l=a[1],c=a[2];return[Object.assign(r,s),o||l,c]}),[{},null,1]).slice(0,2)}}function pt(e){if(null==e)return[null,null];for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,i=n;o<i.length;o++){var a=i[o],s=a[0],l=a[1],c=s.exec(e);if(c)return l(c)}return[null,null]}function ht(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,n){var r,o={};for(r=0;r<t.length;r++)o[t[r]]=te(e[n+r]);return[o,null,n+r]}}var mt=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,vt=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,gt=RegExp(""+vt.source+mt.source+"?"),yt=RegExp("(?:T"+gt.source+")?"),bt=ht("weekYear","weekNumber","weekDay"),_t=ht("year","ordinal"),wt=RegExp(vt.source+" ?(?:"+mt.source+"|("+ve.source+"))?"),kt=RegExp("(?: "+wt.source+")?");function xt(e,t,n){var r=e[t];return U(r)?n:te(r)}function Ct(e,t){return[{year:xt(e,t),month:xt(e,t+1,1),day:xt(e,t+2,1)},null,t+3]}function St(e,t){return[{hours:xt(e,t,0),minutes:xt(e,t+1,0),seconds:xt(e,t+2,0),milliseconds:ne(e[t+3])},null,t+4]}function Et(e,t){var n=!e[t]&&!e[t+1],r=de(e[t+1],e[t+2]);return[{},n?null:Ue.instance(r),t+3]}function Tt(e,t){return[{},e[t]?He.create(e[t]):null,t+1]}var Ot=RegExp("^T?"+vt.source+"$"),It=/^-?P(?:(?:(-?\d{1,9})Y)?(?:(-?\d{1,9})M)?(?:(-?\d{1,9})W)?(?:(-?\d{1,9})D)?(?:T(?:(-?\d{1,9})H)?(?:(-?\d{1,9})M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,9}))?S)?)?)$/;function At(e){var t=e[0],n=e[1],r=e[2],o=e[3],i=e[4],a=e[5],s=e[6],l=e[7],c=e[8],u="-"===t[0],d=l&&"-"===l[0],f=function(e,t){return void 0===t&&(t=!1),void 0!==e&&(t||e&&u)?-e:e};return[{years:f(te(n)),months:f(te(r)),weeks:f(te(o)),days:f(te(i)),hours:f(te(a)),minutes:f(te(s)),seconds:f(te(l),"-0"===l),milliseconds:f(ne(c),d)}]}var Dt={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Pt(e,t,n,r,o,i,a){var s={year:2===t.length?ce(te(t)):te(t),month:be.indexOf(n)+1,day:te(r),hour:te(o),minute:te(i)};return a&&(s.second=te(a)),e&&(s.weekday=e.length>3?ke.indexOf(e)+1:xe.indexOf(e)+1),s}var Mt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function $t(e){var t,n=e[1],r=e[2],o=e[3],i=e[4],a=e[5],s=e[6],l=e[7],c=e[8],u=e[9],d=e[10],f=e[11],p=Pt(n,i,o,r,a,s,l);return t=c?Dt[c]:u?0:de(d,f),[p,new Ue(t)]}var Nt=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Rt=/^(Monday|Tuesday|Wedsday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Lt=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function jt(e){var t=e[1],n=e[2],r=e[3];return[Pt(t,e[4],r,n,e[5],e[6],e[7]),Ue.utcInstance]}function Ft(e){var t=e[1],n=e[2],r=e[3],o=e[4],i=e[5],a=e[6];return[Pt(t,e[7],n,r,o,i,a),Ue.utcInstance]}var Bt=dt(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,yt),qt=dt(/(\d{4})-?W(\d\d)(?:-?(\d))?/,yt),Ht=dt(/(\d{4})-?(\d{3}
vendor: 9,800 bytes, line 2
2)/,yt),zt=dt(gt),Ut=ft(Ct,St,Et),Vt=ft(bt,St,Et),Gt=ft(_t,St,Et),Wt=ft(St,Et);var Yt=ft(St);var Kt=dt(/(\d{4})-(\d\d)-(\d\d)/,kt),Qt=dt(wt),Jt=ft(Ct,St,Et,Tt),Zt=ft(St,Et,Tt);var Xt={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},en=Object.assign({years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6}},Xt),tn=365.2425,nn=30.436875,rn=Object.assign({years:{quarters:4,months:12,weeks:52.1775,days:tn,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:nn,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3}},Xt),on=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],an=on.slice(0).reverse();function sn(e,t,n){void 0===n&&(n=!1);var r={values:n?t.values:Object.assign({},e.values,t.values||{}),loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy};return new cn(r)}function ln(e,t,n,r,o){var i=e[o][n],a=t[n]/i,s=!(Math.sign(a)===Math.sign(r[o]))&&0!==r[o]&&Math.abs(a)<=1?function(e){return e<0?Math.floor(e):Math.ceil(e)}(a):Math.trunc(a);r[o]+=s,t[n]-=s*i}var cn=function(){function e(e){var t="longterm"===e.conversionAccuracy||!1;this.values=e.values,this.loc=e.loc||ut.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=t?rn:en,this.isLuxonDuration=!0}e.fromMillis=function(t,n){return e.fromObject(Object.assign({milliseconds:t},n))},e.fromObject=function(t){if(null==t||"object"!=typeof t)throw new g("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new e({values:pe(t,e.normalizeUnit,["locale","numberingSystem","conversionAccuracy","zone"]),loc:ut.fromObject(t),conversionAccuracy:t.conversionAccuracy})},e.fromISO=function(t,n){var r=function(e){return pt(e,[It,At])}(t),o=r[0];if(o){var i=Object.assign(o,n);return e.fromObject(i)}return e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.fromISOTime=function(t,n){var r=function(e){return pt(e,[Ot,Yt])}(t),o=r[0];if(o){var i=Object.assign(o,n);return e.fromObject(i)}return e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.invalid=function(t,n){if(void 0===n&&(n=null),!t)throw new g("need to specify a reason the Duration is invalid");var r=t instanceof $e?t:new $e(t,n);if(Xe.throwOnInvalid)throw new h(r);return new e({invalid:r})},e.normalizeUnit=function(e){var t={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e?e.toLowerCase():e];if(!t)throw new v(e);return t},e.isDuration=function(e){return e&&e.isLuxonDuration||!1};var t=e.prototype;return t.toFormat=function(e,t){void 0===t&&(t={});var n=Object.assign({},t,{floor:!1!==t.round&&!1!==t.floor});return this.isValid?Me.create(this.loc,n).formatDurationFromString(this,e):"Invalid Duration"},t.toObject=function(e){if(void 0===e&&(e={}),!this.isValid)return{};var t=Object.assign({},this.values);return e.includeConfig&&(t.conversionAccuracy=this.conversionAccuracy,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t},t.toISO=function(){if(!this.isValid)return null;var e="P";return 0!==this.years&&(e+=this.years+"Y"),0===this.months&&0===this.quarters||(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(e+=re(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e},t.toISOTime=function(e){if(void 0===e&&(e={}),!this.isValid)return null;var t=this.toMillis();if(t<0||t>=864e5)return null;e=Object.assign({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},e);var n=this.shiftTo("hours","minutes","seconds","milliseconds"),r="basic"===e.format?"hhmm":"hh:mm";e.suppressSeconds&&0===n.seconds&&0===n.milliseconds||(r+="basic"===e.format?"ss":":ss",e.suppressMilliseconds&&0===n.milliseconds||(r+=".SSS"));var o=n.toFormat(r);return e.includePrefix&&(o="T"+o),o},t.toJSON=function(){return this.toISO()},t.toString=function(){return this.toISO()},t.toMillis=function(){return this.as("milliseconds")},t.valueOf=function(){return this.toMillis()},t.plus=function(e){if(!this.isValid)return this;for(var t,n=un(e),r={},o=u(on);!(t=o()).done;){var i=t.value;(Z(n.values,i)||Z(this.values,i))&&(r[i]=n.get(i)+this.get(i))}return sn(this,{values:r},!0)},t.minus=function(e){if(!this.isValid)return this;var t=un(e);return this.plus(t.negate())},t.mapUnits=function(e){if(!this.isValid)return this;for(var t={},n=0,r=Object.keys(this.values);n<r.length;n++){var o=r[n];t[o]=fe(e(this.values[o],o))}return sn(this,{values:t},!0)},t.get=function(t){return this[e.normalizeUnit(t)]},t.set=function(t){return this.isValid?sn(this,{values:Object.assign(this.values,pe(t,e.normalizeUnit,[]))}):this},t.reconfigure=function(e){var t=void 0===e?{}:e,n=t.locale,r=t.numberingSystem,o=t.conversionAccuracy,i={loc:this.loc.clone({locale:n,numberingSystem:r})};return o&&(i.conversionAccuracy=o),sn(this,i)},t.as=function(e){return this.isValid?this.shiftTo(e).get(e):NaN},t.normalize=function(){if(!this.isValid)return this;var e=this.toObject();return function(e,t){an.reduce((function(n,r){return U(t[r])?n:(n&&ln(e,t,n,t,r),r)}),null)}(this.matrix,e),sn(this,{values:e},!0)},t.shiftTo=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!this.isValid)return this;if(0===n.length)return this;n=n.map((function(t){return e.normalizeUnit(t)}));for(var o,i,a={},s={},l=this.toObject(),c=u(on);!(i=c()).done;){var d=i.value;if(n.indexOf(d)>=0){o=d;var f=0;for(var p in s)f+=this.matrix[p][d]*s[p],s[p]=0;V(l[d])&&(f+=l[d]);var h=Math.trunc(f);for(var m in a[d]=h,s[d]=f-h,l)on.indexOf(m)>on.indexOf(d)&&ln(this.matrix,l,m,a,d)}else V(l[d])&&(s[d]=l[d])}for(var v in s)0!==s[v]&&(a[o]+=v===o?s[v]:s[v]/this.matrix[o][v]);return sn(this,{values:a},!0).normalize()},t.negate=function(){if(!this.isValid)return this;for(var e={},t=0,n=Object.keys(this.values);t<n.length;t++){var r=n[t];e[r]=-this.values[r]}return sn(this,{values:e},!0)},t.equals=function(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.loc))return!1;for(var t,n=u(on);!(t=n()).done;){var r=t.value;if(o=this.values[r],i=e.values[r],!(void 0===o||0===o?void 0===i||0===i:o===i))return!1}var o,i;return!0},r(e,[{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"years",get:function(){return this.isValid?this.values.years||0:NaN}},{key:"quarters",get:function(){return this.isValid?this.values.quarters||0:NaN}},{key:"months",get:function(){return this.isValid?this.values.months||0:NaN}},{key:"weeks",get:function(){return this.isValid?this.values.weeks||0:NaN}},{key:"days",get:function(){return this.isValid?this.values.days||0:NaN}},{key:"hours",get:function(){return this.isValid?this.values.hours||0:NaN}},{key:"minutes",get:function(){return this.isValid?this.values.minutes||0:NaN}},{key:"seconds",get:function(){return this.isValid?this.values.seconds||0:NaN}},{key:"milliseconds",get:function(){return this.isValid?this.values.milliseconds||0:NaN}},{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),e}();function un(e){if(V(e))return cn.fromMillis(e);if(cn.isDuration(e))return e;if("object"==typeof e)return cn.fromObject(e);throw new g("Unknown duration argument "+e+" of type "+typeof e)}var dn="Invalid Interval";function fn(e,t){return e&&e.isValid?t&&t.isValid?t<e?pn.invalid("end before start","The end of an interval must be after its start, but you had start="+e.toISO()+" and end="+t.toISO()):null:pn.invalid("missing or invalid end"):pn.invalid("missing or invalid start")}var pn=function(){function e(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}e.invalid=function(t,n){if(void 0===n&&(n=null),!t)throw new g("need to specify a reason the Interval is invalid");var r=t instanceof $e?t:new $e(t,n);if(Xe.throwOnInvalid)throw new p(r);return new e({invalid:r})},e.fromDateTimes=function(t,n){var r=pr(t),o=pr(n),i=fn(r,o);return null==i?new e({start:r,end:o}):i},e.after=function(t,n){var r=un(n),o=pr(t);return e.fromDateTimes(o,o.plus(r))},e.before=function(t,n){var r=un(n),o=pr(t);return e.fromDateTimes(o.minus(r),o)},e.fromISO=function(t,n){var r=(t||"").split("/",2),o=r[0],i=r[1];if(o&&i){var a,s,l,c;try{s=(a=fr.fromISO(o,n)).isValid}catch(i){s=!1}try{c=(l=fr.fromISO(i,n)).isValid}catch(i){c=!1}if(s&&c)return e.fromDateTimes(a,l);if(s){var u=cn.fromISO(i,n);if(u.isValid)return e.after(a,u)}else if(c){var d=cn.fromISO(o,n);if(d.isValid)return e.before(l,d)}}
vendor: 4,913 bytes, line 2
2return e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.isInterval=function(e){return e&&e.isLuxonInterval||!1};var t=e.prototype;return t.length=function(e){return void 0===e&&(e="milliseconds"),this.isValid?this.toDuration.apply(this,[e]).get(e):NaN},t.count=function(e){if(void 0===e&&(e="milliseconds"),!this.isValid)return NaN;var t=this.start.startOf(e),n=this.end.startOf(e);return Math.floor(n.diff(t,e).get(e))+1},t.hasSame=function(e){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,e))},t.isEmpty=function(){return this.s.valueOf()===this.e.valueOf()},t.isAfter=function(e){return!!this.isValid&&this.s>e},t.isBefore=function(e){return!!this.isValid&&this.e<=e},t.contains=function(e){return!!this.isValid&&(this.s<=e&&this.e>e)},t.set=function(t){var n=void 0===t?{}:t,r=n.start,o=n.end;return this.isValid?e.fromDateTimes(r||this.s,o||this.e):this},t.splitAt=function(){var t=this;if(!this.isValid)return[];for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];for(var i=r.map(pr).filter((function(e){return t.contains(e)})).sort(),a=[],s=this.s,l=0;s<this.e;){var c=i[l]||this.e,u=+c>+this.e?this.e:c;a.push(e.fromDateTimes(s,u)),s=u,l+=1}return a},t.splitBy=function(t){var n=un(t);if(!this.isValid||!n.isValid||0===n.as("milliseconds"))return[];for(var r,o=this.s,i=1,a=[];o<this.e;){var s=this.start.plus(n.mapUnits((function(e){return e*i})));r=+s>+this.e?this.e:s,a.push(e.fromDateTimes(o,r)),o=r,i+=1}return a},t.divideEqually=function(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]},t.overlaps=function(e){return this.e>e.s&&this.s<e.e},t.abutsStart=function(e){return!!this.isValid&&+this.e==+e.s},t.abutsEnd=function(e){return!!this.isValid&&+e.e==+this.s},t.engulfs=function(e){return!!this.isValid&&(this.s<=e.s&&this.e>=e.e)},t.equals=function(e){return!(!this.isValid||!e.isValid)&&(this.s.equals(e.s)&&this.e.equals(e.e))},t.intersection=function(t){if(!this.isValid)return this;var n=this.s>t.s?this.s:t.s,r=this.e<t.e?this.e:t.e;return n>=r?null:e.fromDateTimes(n,r)},t.union=function(t){if(!this.isValid)return this;var n=this.s<t.s?this.s:t.s,r=this.e>t.e?this.e:t.e;return e.fromDateTimes(n,r)},e.merge=function(e){var t=e.sort((function(e,t){return e.s-t.s})).reduce((function(e,t){var n=e[0],r=e[1];return r?r.overlaps(t)||r.abutsStart(t)?[n,r.union(t)]:[n.concat([r]),t]:[n,t]}),[[],null]),n=t[0],r=t[1];return r&&n.push(r),n},e.xor=function(t){for(var n,r,o=null,i=0,a=[],s=t.map((function(e){return[{time:e.s,type:"s"},{time:e.e,type:"e"}]})),l=u((n=Array.prototype).concat.apply(n,s).sort((function(e,t){return e.time-t.time})));!(r=l()).done;){var c=r.value;1===(i+="s"===c.type?1:-1)?o=c.time:(o&&+o!=+c.time&&a.push(e.fromDateTimes(o,c.time)),o=null)}return e.merge(a)},t.difference=function(){for(var t=this,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e.xor([this].concat(r)).map((function(e){return t.intersection(e)})).filter((function(e){return e&&!e.isEmpty()}))},t.toString=function(){return this.isValid?"["+this.s.toISO()+" â "+this.e.toISO()+")":dn},t.toISO=function(e){return this.isValid?this.s.toISO(e)+"/"+this.e.toISO(e):dn},t.toISODate=function(){return this.isValid?this.s.toISODate()+"/"+this.e.toISODate():dn},t.toISOTime=function(e){return this.isValid?this.s.toISOTime(e)+"/"+this.e.toISOTime(e):dn},t.toFormat=function(e,t){var n=(void 0===t?{}:t).separator,r=void 0===n?" â ":n;return this.isValid?""+this.s.toFormat(e)+r+this.e.toFormat(e):dn},t.toDuration=function(e,t){return this.isValid?this.e.diff(this.s,e,t):cn.invalid(this.invalidReason)},t.mapEndpoints=function(t){return e.fromDateTimes(t(this.s),t(this.e))},r(e,[{key:"start",get:function(){return this.isValid?this.s:null}},{key:"end",get:function(){return this.isValid?this.e:null}},{key:"isValid",get:function(){return null===this.invalidReason}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),e}(),hn=function(){function e(){}return e.hasDST=function(e){void 0===e&&(e=Xe.defaultZone);var t=fr.now().setZone(e).set({month:12});return!e.universal&&t.offset!==t.set({month:6}).offset},e.isValidIANAZone=function(e){return He.isValidSpecifier(e)&&He.isValidZone(e)},e.normalizeZone=function(e){return Ge(e,Xe.defaultZone)},e.months=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,o=void 0===r?null:r,i=n.numberingSystem,a=void 0===i?null:i,s=n.locObj,l=void 0===s?null:s,c=n.outputCalendar,u=void 0===c?"gregory":c;return(l||ut.create(o,a,u)).months(e)},e.monthsFormat=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,o=void 0===r?null:r,i=n.numberingSystem,a=void 0===i?null:i,s=n.locObj,l=void 0===s?null:s,c=n.outputCalendar,u=void 0===c?"gregory":c;return(l||ut.create(o,a,u)).months(e,!0)}
2,e.weekdays=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,o=void 0===r?null:r,i=n.numberingSystem,a=void 0===i?null:i,s=n.locObj;return((void 0===s?null:s)||ut.create(o,a,null)).weekdays(e)},e.weekdaysFormat=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,r=n.locale,o=void 0===r?null:r,i=n.numberingSystem,a=void 0===i?null:i,s=n.locObj;return((void 0===s?null:s)||ut.create(o,a,null)).weekdays(e,!0)},e.meridiems=function(e){var t=(void 0===e?{}:e).locale,n=void 0===t?null:t;return ut.create(n).meridiems()},e.eras=function(e,t){void 0===e&&(e="short");var n=(void 0===t?{}:t).locale,r=void 0===n?null:n;return ut.create(r,null,"gregory").eras(e)},e.features=function(){var e=!1,t=!1,n=!1,r=!1;if(W()){e=!0,t=Y(),r=K();try{n="America/New_York"===new Intl.DateTimeFormat("en",{timeZone:"America/New_York"}).resolvedOptions().timeZone}catch(e){n=!1}}return{intl:e,intlTokens:t,zones:n,relative:r}},e}();function mn(e,t){var n=function(e){return e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf()},r=n(t)-n(e);return Math.floor(cn.fromMillis(r).as("days"))}function vn(e,t,n,r){var o=function(e,t,n){for(var r,o,i={},a=0,s=[["years",function(e,t){return t.year-e.year}],["quarters",function(e,t){return t.quarter-e.quarter}],["months",function(e,t){return t.month-e.month+12*(t.year-e.year)}],["weeks",function(e,t){var n=mn(e,t);return(n-n%7)/7}],["days",mn]];a<s.length;a++){var l=s[a],c=l[0],u=l[1];if(n.indexOf(c)>=0){var d;r=c;var f,p=u(e,t);(o=e.plus(((d={})[c]=p,d)))>t?(e=e.plus(((f={})[c]=p-1,f)),p-=1):e=o,i[c]=p}}return[e,i,o,r]}(e,t,n),i=o[0],a=o[1],s=o[2],l=o[3],c=t-i,u=n.filter((function(e){return["hours","minutes","seconds","milliseconds"].indexOf(e)>=0}));if(0===u.length){var d;if(s<t)s=i.plus(((d={})[l]=1,d));s!==i&&(a[l]=(a[l]||0)+c/(s-i))}var f,p=cn.fromObject(Object.assign(a,r));return u.length>0?(f=cn.fromMillis(c,r)).shiftTo.apply(f,u).plus(p):p}var gn={arab:"[Ù -Ù©]",arabext:"[Û°-Û¹]",bali:"[á-á]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[ï¼-ï¼]",gujr:"[૦-૯]",hanidec:"[ã|ä¸|äº|ä¸|å|äº|å
|ä¸|å
«|ä¹]",khmr:"[á -á©]",knda:"[೦-೯]",laoo:"[à»-à»]",limb:"[á¥-á¥]",mlym:"[൦-൯]",mong:"[á -á ]",mymr:"[á-á]",orya:"[à¦-à¯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[à¹-à¹]",tibt:"[༠-༩]",latn:"\\d"},yn={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},bn=gn.hanidec.replace(/[\[|\]]/g,"").split("");function _n(e,t){var n=e.numberingSystem;return void 0===t&&(t=""),new RegExp(""+gn[n||"latn"]+t)}function wn(e,t){return void 0===t&&(t=function(e){return e}),{regex:e,deser:function(e){var n=e[0];return t(function(e){var t=parseInt(e,10);if(isNaN(t)){t="";for(var n=0;n<e.length;n++){var r=e.charCodeAt(n);if(-1!==e[n].search(gn.hanidec))t+=bn.indexOf(e[n]);else for(var o in yn){var i=yn[o],a=i[0],s=i[1];r>=a&&r<=s&&(t+=r-a)}}return parseInt(t,10)}return t}(n))}}}var kn="( |"+String.fromCharCode(160)+")",xn=new RegExp(kn,"g");function Cn(e){return e.replace(/\./g,"\\.?").replace(xn,kn)}function Sn(e){return e.replace(/\./g,"").replace(xn," ").toLowerCase()}function En(e,t){return null===e?null:{regex:RegExp(e.map(Cn).join("|")),deser:function(n){var r=n[0];return e.findIndex((function(e){return Sn(r)===Sn(e)}))+t}}}function Tn(e,t){return{regex:e,deser:function(e){return de(e[1],e[2])},groups:t}}function On(e){return{regex:e,deser:function(e){return e[0]}}}var In={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"}};var An=null;function Dn(e,t){if(e.literal)return e;var n=Me.macroTokenToFormatOpts(e.val);if(!n)return e;var r=Me.create(t,n).formatDateTimeParts((An||(An=fr.fromMillis(1555555555555)),An)).map((function(e){return function(e,t,n){var r=e.type,o=e.value;
vendor: 5,731 bytes, line 2
2if("literal"===r)return{literal:!0,val:o};var i=n[r],a=In[r];return"object"==typeof a&&(a=a[i]),a?{literal:!1,val:a}:void 0}(e,0,n)}));return r.includes(void 0)?e:r}function Pn(e,t,n){var r=function(e,t){var n;return(n=Array.prototype).concat.apply(n,e.map((function(e){return Dn(e,t)})))}(Me.parseFormat(n),e),o=r.map((function(t){return n=t,o=_n(r=e),i=_n(r,"{2}"),a=_n(r,"{3}"),s=_n(r,"{4}"),l=_n(r,"{6}"),c=_n(r,"{1,2}"),u=_n(r,"{1,3}"),d=_n(r,"{1,6}"),f=_n(r,"{1,9}"),p=_n(r,"{2,4}"),h=_n(r,"{4,6}"),m=function(e){return{regex:RegExp((t=e.val,t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:function(e){return e[0]},literal:!0};var t},v=function(e){if(n.literal)return m(e);switch(e.val){case"G":return En(r.eras("short",!1),0);case"GG":return En(r.eras("long",!1),0);case"y":return wn(d);case"yy":case"kk":return wn(p,ce);case"yyyy":case"kkkk":return wn(s);case"yyyyy":return wn(h);case"yyyyyy":return wn(l);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return wn(c);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return wn(i);case"MMM":return En(r.months("short",!0,!1),1);case"MMMM":return En(r.months("long",!0,!1),1);case"LLL":return En(r.months("short",!1,!1),1);case"LLLL":return En(r.months("long",!1,!1),1);case"o":case"S":return wn(u);case"ooo":case"SSS":return wn(a);case"u":return On(f);case"a":return En(r.meridiems(),0);case"E":case"c":return wn(o);case"EEE":return En(r.weekdays("short",!1,!1),1);case"EEEE":return En(r.weekdays("long",!1,!1),1);case"ccc":return En(r.weekdays("short",!0,!1),1);case"cccc":return En(r.weekdays("long",!0,!1),1);case"Z":case"ZZ":return Tn(new RegExp("([+-]"+c.source+")(?::("+i.source+"))?"),2);case"ZZZ":return Tn(new RegExp("([+-]"+c.source+")("+i.source+")?"),2);case"z":return On(/[a-z_+-/]{1,256}?/i);default:return m(e)}}(n)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"},v.token=n,v;var n,r,o,i,a,s,l,c,u,d,f,p,h,m,v})),i=o.find((function(e){return e.invalidReason}));if(i)return{input:t,tokens:r,invalidReason:i.invalidReason};var a=function(e){return["^"+e.map((function(e){return e.regex})).reduce((function(e,t){return e+"("+t.source+")"}),"")+"$",e]}(o),s=a[0],l=a[1],c=RegExp(s,"i"),u=function(e,t,n){var r=e.match(t);if(r){var o={},i=1;for(var a in n)if(Z(n,a)){var s=n[a],l=s.groups?s.groups+1:1;!s.literal&&s.token&&(o[s.token.val[0]]=s.deser(r.slice(i,i+l))),i+=l}return[r,o]}return[r,{}]}(t,c,l),d=u[0],f=u[1],p=f?function(e){var t;return t=U(e.Z)?U(e.z)?null:He.create(e.z):new Ue(e.Z),U(e.q)||(e.M=3*(e.q-1)+1),U(e.h)||(e.h<12&&1===e.a?e.h+=12:12===e.h&&0===e.a&&(e.h=0)),0===e.G&&e.y&&(e.y=-e.y),U(e.u)||(e.S=ne(e.u)),[Object.keys(e).reduce((function(t,n){var r=function(e){switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}}(n);return r&&(t[r]=e[n]),t}),{}),t]}(f):[null,null],h=p[0],v=p[1];if(Z(f,"a")&&Z(f,"H"))throw new m("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:r,regex:c,rawMatches:d,matches:f,result:h,zone:v}}var Mn=[0,31,59,90,120,151,181,212,243,273,304,334],$n=[0,31,60,91,121,152,182,213,244,274,305,335];function Nn(e,t){return new $e("unit out of range","you specified "+t+" (of type "+typeof t+") as a "+e+", which is invalid")}function Rn(e,t,n){var r=new Date(Date.UTC(e,t-1,n)).getUTCDay();return 0===r?7:r}function Ln(e,t,n){return n+(oe(e)?$n:Mn)[t-1]}function jn(e,t){var n=oe(e)?$n:Mn,r=n.findIndex((function(e){return e<t}));return{month:r+1,day:t-n[r]}}function Fn(e){var t,n=e.year,r=e.month,o=e.day,i=Ln(n,r,o),a=Rn(n,r,o),s=Math.floor((i-a+10)/7);return s<1?s=le(t=n-1):s>le(n)?(t=n+1,s=1):t=n,Object.assign({weekYear:t,weekNumber:s,weekday:a},me(e))}function Bn(e){var t,n=e.weekYear,r=e.weekNumber,o=e.weekday,i=Rn(n,1,4),a=ie(n),s=7*r+o-i-3;s<1?s+=ie(t=n-1):s>a?(t=n+1,s-=ie(n)):t=n;var l=jn(t,s),c=l.month,u=l.day;return Object.assign({year:t,month:c,day:u},me(e))}function qn(e){var t=e.year,n=Ln(t,e.month,e.day);return Object.assign({year:t,ordinal:n},me(e))}function Hn(e){var t=e.year,n=jn(t,e.ordinal),r=n.month,o=n.day;return Object.assign({year:t,month:r,day:o},me(e))}function zn(e){var t=G(e.year),n=X(e.month,1,12),r=X(e.day,1,ae(e.year,e.month));return t?n?!r&&Nn("day",e.day):Nn("month",e.month):Nn("year",e.year)}function Un(e){var t=e.hour,n=e.minute,r=e.second,o=e.millisecond,i=X(t,0,23)||24===t&&0===n&&0===r&&0===o,a=X(n,0,59),s=X(r,0,59),l=X(o,0,999);return i?a?s?!l&&Nn("millisecond",o):Nn("second",r):Nn("minute",n):Nn("hour",t)}var Vn="Invalid DateTime",Gn=864e13;function Wn(e){return new $e("unsupported zone",'the zone "'+e.name+'" is not supported')}function Yn(e){return null===e.weekData&&(e.weekData=Fn(e.c)),e.weekData}function Kn(e,t){var n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new fr(Object.assign({},n,t,{old:n}))}function Qn(e,t,n){var r=e-60*t*1e3,o=n.offset(r);if(t===o)return[r,t];r-=60*(o-t)*1e3;var i=n.offset(r);return o===i?[r,o]:[e-60*Math.min(o,i)*1e3,Math.max(o,i)]}function Jn(e,t){var n=new Date(e+=60*t*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Zn(e,t,n){return Qn(se(e),t,n)}function Xn(e,t){var n=e.o,r=e.c.year+Math.trunc(t.years),o=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),i=Object.assign({},e.c,{year:r,month:o,day:Math.min(e.c.day,ae(r,o))+Math.trunc(t.days)+
27*Math.trunc(t.weeks)}),a=cn.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),s=Qn(se(i),n,e.zone),l=s[0],c=s[1];return 0!==a&&(l+=a,c=e.zone.offset(l)),{ts:l,o:c}}function er(e,t,n,r,o){var i=n.setZone,a=n.zone;if(e&&0!==Object.keys(e).length){var s=t||a,l=fr.fromObject(Object.assign(e,n,{zone:s,setZone:void 0}));return i?l:l.setZone(a)}return fr.invalid(new $e("unparsable",'the input "'+o+"\" can't be parsed as "+r))}function tr(e,t,n){return void 0===n&&(n=!0),e.isValid?Me.create(ut.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function nr(e,t){var n=t.suppressSeconds,r=void 0!==n&&n,o=t.suppressMilliseconds,i=void 0!==o&&o,a=t.includeOffset,s=t.includePrefix,l=void 0!==s&&s,c=t.includeZone,u=void 0!==c&&c,d=t.spaceZone,f=void 0!==d&&d,p=t.format,h=void 0===p?"extended":p,m="basic"===h?"HHmm":"HH:mm";r&&0===e.second&&0===e.millisecond||(m+="basic"===h?"ss":":ss",i&&0===e.millisecond||(m+=".SSS")),(u||a)&&f&&(m+=" "),u?m+="z":a&&(m+="basic"===h?"ZZZ":"ZZ");var v=tr(e,m);return l&&(v="T"+v),v}var rr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},or={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},ir={ordinal:1,hour:0,minute:0,second:0,millisecond:0},ar=["year","month","day","hour","minute","second","millisecond"],sr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],lr=["year","ordinal","hour","minute","second","millisecond"];function cr(e){var t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new v(e);return t}function ur(e,t){for(var n,r=u(ar);!(n=r()).done;){var o=n.value;U(e[o])&&(e[o]=rr[o])}var i=zn(e)||Un(e);if(i)return fr.invalid(i);var a=Xe.now(),s=Zn(e,t.offset(a),t),l=s[0],c=s[1];return new fr({ts:l,zone:t,o:c})}function dr(e,t,n){var r=!!U(n.round)||n.round,o=function(e,o){return e=re(e,r||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(e,o)},i=function(r){return n.calendary?t.hasSame(e,r)?0:t.startOf(r).diff(e.startOf(r),r).get(r):t.diff(e,r).get(r)};if(n.unit)return o(i(n.unit),n.unit);for(var a,s=u(n.units);!(a=s()).done;){var l=a.value,c=i(l);if(Math.abs(c)>=1)return o(c,l)}return o(e>t?-0:0,n.units[n.units.length-1])}var fr=function(){function e(e){var t=e.zone||Xe.defaultZone,n=e.invalid||(Number.isNaN(e.ts)?new $e("invalid input"):null)||(t.isValid?null:Wn(t));this.ts=U(e.ts)?Xe.now():e.ts;var r=null,o=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t)){var i=[e.old.c,e.old.o];r=i[0],o=i[1]}else{var a=t.offset(this.ts);r=Jn(this.ts,a),r=(n=Number.isNaN(r.year)?new $e("invalid input"):null)?null:r,o=n?null:a}this._zone=t,this.loc=e.loc||ut.create(),this.invalid=n,this.weekData=null,this.c=r,this.o=o,this.isLuxonDateTime=!0}e.now=function(){return new e({})},e.local=function(t,n,r,o,i,a,s){return U(t)?e.now():ur({year:t,month:n,day:r,hour:o,minute:i,second:a,millisecond:s},Xe.defaultZone)},e.utc=function(t,n,r,o,i,a,s){return U(t)?new e({ts:Xe.now(),zone:Ue.utcInstance}):ur({year:t,month:n,day:r,hour:o,minute:i,second:a,millisecond:s},Ue.utcInstance)},e.fromJSDate=function(t,n){void 0===n&&(n={});var r,o=(r=t,"[object Date]"===Object.prototype.toString.call(r)?t.valueOf():NaN);if(Number.isNaN(o))return e.invalid("invalid input");var i=Ge(n.zone,Xe.defaultZone);return i.isValid?new e({ts:o,zone:i,loc:ut.fromObject(n)}):e.invalid(Wn(i))},e.fromMillis=function(t,n){if(void 0===n&&(n={}),V(t))return t<-Gn||t>Gn?e.invalid("Timestamp out of range"):new e({ts:t,zone:Ge(n.zone,Xe.defaultZone),loc:ut.fromObject(n)});throw new g("fromMillis requires a numerical input, but received a "+typeof t+" with value "+t)},e.fromSeconds=function(t,n){if(void 0===n&&(n={}),V(t))return new e({ts:1e3*t,zone:Ge(n.zone,Xe.defaultZone),loc:ut.fromObject(n)});throw new g("fromSeconds requires a numerical input")},e.fromObject=function(t){var n=Ge(t.zone,Xe.defaultZone);
2if(!n.isValid)return e.invalid(Wn(n));var r=Xe.now(),o=n.offset(r),i=pe(t,cr,["zone","locale","outputCalendar","numberingSystem"]),a=!U(i.ordinal),s=!U(i.year),l=!U(i.month)||!U(i.day),c=s||l,d=i.weekYear||i.weekNumber,f=ut.fromObject(t);if((c||a)&&d)throw new m("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&a)throw new m("Can't mix ordinal dates with month/day");var p,h,v=d||i.weekday&&!c,g=Jn(r,o);v?(p=sr,h=or,g=Fn(g)):a?(p=lr,h=ir,g=qn(g)):(p=ar,h=rr);for(var y,b=!1,_=u(p);!(y=_()).done;){var w=y.value;U(i[w])?i[w]=b?h[w]:g[w]:b=!0}var k=v?function(e){var t=G(e.weekYear),n=X(e.weekNumber,1,le(e.weekYear)),r=X(e.weekday,1,7);return t?n?!r&&Nn("weekday",e.weekday):Nn("week",e.week):Nn("weekYear",e.weekYear)}(i):a?function(e){var t=G(e.year),n=X(e.ordinal,1,ie(e.year));return t?!n&&Nn("ordinal",e.ordinal):Nn("year",e.year)}(i):zn(i),x=k||Un(i);if(x)return e.invalid(x);var C=Zn(v?Bn(i):a?Hn(i):i,o,n),S=new e({ts:C[0],zone:n,o:C[1],loc:f});return i.weekday&&c&&t.weekday!==S.weekday?e.invalid("mismatched weekday","you can't specify both a weekday of "+i.weekday+" and a date of "+S.toISO()):S},e.fromISO=function(e,t){void 0===t&&(t={});var n=function(e){return pt(e,[Bt,Ut],[qt,Vt],[Ht,Gt],[zt,Wt])}(e);return er(n[0],n[1],t,"ISO 8601",e)},e.fromRFC2822=function(e,t){void 0===t&&(t={});var n=function(e){return pt(function(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e),[Mt,$t])}(e);return er(n[0],n[1],t,"RFC 2822",e)},e.fromHTTP=function(e,t){void 0===t&&(t={});var n=function(e){return pt(e,[Nt,jt],[Rt,jt],[Lt,Ft])}(e);return er(n[0],n[1],t,"HTTP",t)},e.fromFormat=function(t,n,r){if(void 0===r&&(r={}),U(t)||U(n))throw new g("fromFormat requires an input string and a format");var o=r,i=o.locale,a=void 0===i?null:i,s=o.numberingSystem,l=void 0===s?null:s,c=function(e,t,n){var r=Pn(e,t,n);return[r.result,r.zone,r.invalidReason]}(ut.fromOpts({locale:a,numberingSystem:l,defaultToEN:!0}),t,n),u=c[0],d=c[1],f=c[2];return f?e.invalid(f):er(u,d,r,"format "+n,t)},e.fromString=function(t,n,r){return void 0===r&&(r={}),e.fromFormat(t,n,r)},e.fromSQL=function(e,t){void 0===t&&(t={});var n=function(e){return pt(e,[Kt,Jt],[Qt,Zt])}(e);return er(n[0],n[1],t,"SQL",e)},e.invalid=function(t,n){if(void 0===n&&(n=null),!t)throw new g("need to specify a reason the DateTime is invalid");var r=t instanceof $e?t:new $e(t,n);if(Xe.throwOnInvalid)throw new f(r);return new e({invalid:r})},e.isDateTime=function(e){return e&&e.isLuxonDateTime||!1};var t=e.prototype;return t.get=function(e){return this[e]},t.resolvedLocaleOpts=function(e){void 0===e&&(e={});var t=Me.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t.locale,numberingSystem:t.numberingSystem,outputCalendar:t.calendar}},t.toUTC=function(e,t){return void 0===e&&(e=0),void 0===t&&(t={}),this.setZone(Ue.instance(e),t)},t.toLocal=function(){return this.setZone(Xe.defaultZone)},t.setZone=function(t,n){var r=void 0===n?{}:n,o=r.keepLocalTime,i=void 0!==o&&o,a=r.keepCalendarTime,s=void 0!==a&&a;if((t=Ge(t,Xe.defaultZone)).equals(this.zone))return this;if(t.isValid){var l=this.ts;if(i||s){var c=t.offset(this.ts);l=Zn(this.toObject(),c,t)[0]}return Kn(this,{ts:l,zone:t})}return e.invalid(Wn(t))},t.reconfigure=function(e){var t=void 0===e?{}:e,n=t.locale,r=t.numberingSystem,o=t.outputCalendar;return Kn(this,{loc:this.loc.clone({locale:n,numberingSystem:r,outputCalendar:o})})},t.setLocale=function(e){return this.reconfigure({locale:e})},t.set=function(e){if(!this.isValid)return this;var t,n=pe(e,cr,[]),r=!U(n.weekYear)||!U(n.weekNumber)||!U(n.weekday),o=!U(n.ordinal),i=!U(n.year),a=!U(n.month)||!U(n.day),s=i||a,l=n.weekYear||n.weekNumber;if((s||o)&&l)throw new m("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&o)throw new m("Can't mix ordinal dates with month/day");r?t=Bn(Object.assign(Fn(this.c),n)):U(n.ordinal)?(t=Object.assign(this.toObject(),n),U(n.day)&&(t.day=Math.min(ae(t.year,t.month),t.day))):t=Hn(Object.assign(qn(this.c),n));var c=Zn(t,this.o,this.zone);return Kn(this,{ts:c[0],o:c[1]})},t.plus=function(e){return this.isValid?Kn(this,Xn(this,un(e))):this}
2,t.minus=function(e){return this.isValid?Kn(this,Xn(this,un(e).negate())):this},t.startOf=function(e){if(!this.isValid)return this;var t={},n=cn.normalizeUnit(e);switch(n){case"years":t.month=1;case"quarters":case"months":t.day=1;case"weeks":case"days":t.hour=0;case"hours":t.minute=0;case"minutes":t.second=0;case"seconds":t.millisecond=0}if("weeks"===n&&(t.weekday=1),"quarters"===n){var r=Math.ceil(this.month/3);t.month=3*(r-1)+1}return this.set(t)},t.endOf=function(e){var t;return this.isValid?this.plus((t={},t[e]=1,t)).startOf(e).minus(1):this},t.toFormat=function(e,t){return void 0===t&&(t={}),this.isValid?Me.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):Vn},t.toLocaleString=function(e){return void 0===e&&(e=k),this.isValid?Me.create(this.loc.clone(e),e).formatDateTime(this):Vn},t.toLocaleParts=function(e){return void 0===e&&(e={}),this.isValid?Me.create(this.loc.clone(e),e).formatDateTimeParts(this):[]},t.toISO=function(e){return void 0===e&&(e={}),this.isValid?this.toISODate(e)+"T"+this.toISOTime(e):null},t.toISODate=function(e){var t=(void 0===e?{}:e).format,n="basic"===(void 0===t?"extended":t)?"yyyyMMdd":"yyyy-MM-dd";return this.year>9999&&(n="+"+n),tr(this,n)},t.toISOWeekDate=function(){return tr(this,"kkkk-'W'WW-c")},t.toISOTime=function(e){var t=void 0===e?{}:e,n=t.suppressMilliseconds,r=void 0!==n&&n,o=t.suppressSeconds,i=void 0!==o&&o,a=t.includeOffset,s=void 0===a||a,l=t.includePrefix,c=void 0!==l&&l,u=t.format;return nr(this,{suppressSeconds:i,suppressMilliseconds:r,includeOffset:s,includePrefix:c,format:void 0===u?"extended":u})},t.toRFC2822=function(){return tr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)},t.toHTTP=function(){return tr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")},t.toSQLDate=function(){return tr(this,"yyyy-MM-dd")},t.toSQLTime=function(e){var t=void 0===e?{}:e,n=t.includeOffset,r=void 0===n||n,o=t.includeZone;return nr(this,{includeOffset:r,includeZone:void 0!==o&&o,spaceZone:!0})},t.toSQL=function(e){return void 0===e&&(e={}),this.isValid?this.toSQLDate()+" "+this.toSQLTime(e):null},t.toString=function(){return this.isValid?this.toISO():Vn},t.valueOf=function(){return this.toMillis()},t.toMillis=function(){return this.isValid?this.ts:NaN},t.toSeconds=function(){return this.isValid?this.ts/1e3:NaN},t.toJSON=function(){return this.toISO()},t.toBSON=function(){return this.toJSDate()},t.toObject=function(e){if(void 0===e&&(e={}),!this.isValid)return{};var t=Object.assign({},this.c);return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t},t.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)},t.diff=function(e,t,n){if(void 0===t&&(t="milliseconds"),void 0===n&&(n={}),!this.isValid||!e.isValid)return cn.invalid(this.invalid||e.invalid,"created by diffing an invalid DateTime");var r,o=Object.assign({locale:this.locale,numberingSystem:this.numberingSystem},n),i=(r=t,Array.isArray(r)?r:[r]).map(cn.normalizeUnit),a=e.valueOf()>this.valueOf(),s=vn(a?this:e,a?e:this,i,o);return a?s.negate():s},t.diffNow=function(t,n){return void 0===t&&(t="milliseconds"),void 0===n&&(n={}),this.diff(e.now(),t,n)},t.until=function(e){return this.isValid?pn.fromDateTimes(this,e):this},t.hasSame=function(e,t){if(!this.isValid)return!1;var n=e.valueOf(),r=this.setZone(e.zone,{keepLocalTime:!0});return r.startOf(t)<=n&&n<=r.endOf(t)},t.equals=function(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)},t.toRelative=function(t){if(void 0===t&&(t={}),!this.isValid)return null;var n=t.base||e.fromObject({zone:this.zone}),r=t.padding?this<n?-t.padding:t.padding:0,o=["years","months","days","hours","minutes","seconds"],i=t.unit;return Array.isArray(t.unit)&&(o=t.unit,i=void 0),dr(n,this.plus(r),Object.assign(t,{numeric:"always",units:o,unit:i}))},t.toRelativeCalendar=function(t){return void 0===t&&(t={}),this.isValid?dr(t.base||e.fromObject({zone:this.zone}),this,Object.assign(t,{numeric:"auto",units:["years","months","days"],calendary:!0})):null},e.min=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.every(e.isDateTime))throw new g("min requires all arguments be DateTimes");return Q(n,(function(e){return e.valueOf()}),Math.min)},e.max=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!n.every(e.isDateTime))throw new g("max requires all arguments be DateTimes");return Q(n,(function(e){return e.valueOf()}),Math.max)},e.fromFormatExplain=function(e,t,n){void 0===n&&(n={});var r=n,o=r.locale,i=void 0===o?null:o,a=r.numberingSystem,s=void 0===a?null:a;return Pn(ut.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0}),e,t)},e.fromStringExplain=function(t,n,r){return void 0===r&&(r={}),e.fromFormatExplain(t,n,r)},r(e,[{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}},{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"outputCalendar",get:function(){return this.isValid?this.loc.outputCalendar:null}},{key:"zone",get:function(){return this._zone}},{key:"zoneName",get:function(){return this.isValid?this.zone.name:null}},{key:"year",get:function(){return this.isValid?this.c.year:NaN}},{key:"quarter",get:function(){return this.isValid?Math.ceil(this.c.month/3):NaN}},{key:"month",get:function(){return this.isValid?this.c.month:NaN}},{key:"day",get:function(){return this.isValid?this.c.day:NaN}},{key:"hour",get:function(){return this.isValid?this.c.hour:NaN}},{key:"minute",get:function(){return this.isValid?this.c.minute:NaN}},{key:"second",get:function(){return this.isValid?this.c.second:NaN}},{key:"millisecond",get:function(){return this.isValid?this.c.millisecond:NaN}},{key:"weekYear",get:function(){return this.isValid?Yn(this).weekYear:NaN}},{key:"weekNumber",get:function(){return this.isValid?Yn(this).weekNumber:NaN}},{key:"weekday",get:function(){return this.isValid?Yn(this).weekday:NaN}},{key:"ordinal",get:function(){return this.isValid?qn(this.c).ordinal:NaN}},{key:"monthShort",get:function(){return this.isValid?hn.months("short",{locObj:this.loc})[this.month-1]:null}},{key:"monthLong",get:function(){return this.isValid?hn.months("long",{locObj:this.loc})[this.month-1]:null}},{key:"weekdayShort",get:function(){return this.isValid?hn.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}},{key:"weekdayLong",get:function(){return this.isValid?hn.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}},{key:"offset",get:function(){return this.isValid?+this.o:NaN}},{key:"offsetNameShort",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}},{key:"offsetNameLong",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}},{key:"isOffsetFixed",get:function(){return this.isValid?this.zone.universal:null}},{key:"isInDST",get:function(){return!this.isOffsetFixed&&(this.offset>this.set({month:1}).offset||this.offset>this.set({month:5}).offset)}},{key:"isInLeapYear",get:function(){return oe(this.year)}},{key:"daysInMonth",get:function(){return ae(this.year,this.month)}},{key:"daysInYear",get:function(){return this.isValid?ie(this.year):NaN}},{key:"weeksInWeekYear",get:function(){return this.isValid?le(this.weekYear):NaN}}],[{key:"DATE_SHORT",get:function(){return k}},{key:"DATE_MED",get:function(){return x}},{key:"DATE_MED_WITH_WEEKDAY",get:function(){return C}},{key:"DATE_FULL",get:function(){return S}},{key:"DATE_HUGE",get:function(){return E}},{key:"TIME_SIMPLE",get:function(){return T}},{key:"TIME_WITH_SECONDS",get:function(){return O}},{key:"TIME_WITH_SHORT_OFFSET",get:function(){return I}},{key:"TIME_WITH_LONG_OFFSET",get:function(){return A}},{key:"TIME_24_SIMPLE",get:function(){return D}},{key:"TIME_24_WITH_SECONDS",get:function(){return P}},{key:"TIME_24_WITH_SHORT_OFFSET",get:function(){return M}},{key:"TIME_24_WITH_LONG_OFFSET",get:function(){return $}},{key:"DATETIME_SHORT",get:function(){return N}},{key:"DATETIME_SHORT_WITH_SECONDS",get:function(){return R}},{key:"DATETIME_MED",get:function(){return L}},{key:"DATETIME_MED_WITH_SECONDS",get:function(){return j}},{key:"DATETIME_MED_WITH_WEEKDAY",get:function(){return F}},{key:"DATETIME_FULL",get:function(){return B}},{key:"DATETIME_FULL_WITH_SECONDS",get:function(){return q}},{key:"DATETIME_HUGE",get:function(){return H}},{key:"DATETIME_HUGE_WITH_SECONDS",get:function(){return z}}]),e}();function pr(e){if(fr.isDateTime(e))return e;if(e&&e.valueOf&&V(e.valueOf()))return fr.fromJSDate(e);if(e&&"object"==typeof e)return fr.fromObject(e);throw new g("Unknown datetime argument: "+e+", of type "+typeof e)}t.c9=fr,t.dw=cn},3124:function(e,t){!function(e){"use strict";function t(e){return n(e)&&"function"==typeof e.from}function n(e){return"object"==typeof e&&"function"==typeof e.to}function r(e){e.parentElement.removeChild(e)}function o(e){return null!=e}function i(e){e.preventDefault()}function a(e){return e.filter((function(e){return!this[e]&&(this[e]=!0)}),{})}function s(e,t){return Math.round(e/t)*t}function l(e,t){var n=e.getBoundingClientRect(),r=e.ownerDocument,o=r.documentElement,i=g(r);return/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(i.x=0),t?n.top+i.y-o.clientTop:n.left+i.x-o.clientLeft}function c(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function u(e,t,n){n>0&&(h(e,t),setTimeout((function(){m(e,t)}),n))}function d(e){return Math.max(Math.min(e,100),0)}function f(e){return Array.isArray(e)?e:[e]}function p(e){var t=(e=String(e)).split(".");return t.length>1?t[1].length:0}function h(e,t){e.classList&&!/\s/.test(t)?e.classList.add(t):e.className+=" "+t}function m(e,t){e.classList&&!/\s/.test(t)?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function v(e,t){return e.classList?e.classList.contains(t):new RegExp("\\b"+t+"\\b").test(e.className)}function g(e){var t=void 0!==window.pageXOffset,n="CSS1Compat"===(e.compatMode||"");return{x:t?window.pageXOffset:n?e.documentElement.scrollLeft:e.body.scrollLeft,y:t?window.pageYOffset:n?e.documentElement.scrollTop:e.body.scrollTop}}function y(){return window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}
vendor: 6,698 bytes, line 2
2:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"}}function b(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(e){}return e}function _(){return window.CSS&&CSS.supports&&CSS.supports("touch-action","none")}function w(e,t){return 100/(t-e)}function k(e,t,n){return 100*t/(e[n+1]-e[n])}function x(e,t){return k(e,e[0]<0?t+Math.abs(e[0]):t-e[0],0)}function C(e,t){return t*(e[1]-e[0])/100+e[0]}function S(e,t){for(var n=1;e>=t[n];)n+=1;return n}function E(e,t,n){if(n>=e.slice(-1)[0])return 100;var r=S(n,e),o=e[r-1],i=e[r],a=t[r-1],s=t[r];return a+x([o,i],n)/w(a,s)}function T(e,t,n){if(n>=100)return e.slice(-1)[0];var r=S(n,t),o=e[r-1],i=e[r],a=t[r-1];return C([o,i],(n-a)*w(a,t[r]))}function O(e,t,n,r){if(100===r)return r;var o=S(r,e),i=e[o-1],a=e[o];return n?r-i>(a-i)/2?a:i:t[o-1]?e[o-1]+s(r-e[o-1],t[o-1]):r}var I,A;e.PipsMode=void 0,(A=e.PipsMode||(e.PipsMode={})).Range="range",A.Steps="steps",A.Positions="positions",A.Count="count",A.Values="values",e.PipsType=void 0,(I=e.PipsType||(e.PipsType={}))[I.None=-1]="None",I[I.NoValue=0]="NoValue",I[I.LargeValue=1]="LargeValue",I[I.SmallValue=2]="SmallValue";var D=function(){function e(e,t,n){var r;this.xPct=[],this.xVal=[],this.xSteps=[],this.xNumSteps=[],this.xHighestCompleteStep=[],this.xSteps=[n||!1],this.xNumSteps=[!1],this.snap=t;var o=[];for(Object.keys(e).forEach((function(t){o.push([f(e[t]),t])})),o.sort((function(e,t){return e[0][0]-t[0][0]})),r=0;r<o.length;r++)this.handleEntryPoint(o[r][1],o[r][0]);for(this.xNumSteps=this.xSteps.slice(0),r=0;r<this.xNumSteps.length;r++)this.handleStepPoint(r,this.xNumSteps[r])}return e.prototype.getDistance=function(e){for(var t=[],n=0;n<this.xNumSteps.length-1;n++)t[n]=k(this.xVal,e,n);return t},e.prototype.getAbsoluteDistance=function(e,t,n){var r,o=0;if(e<this.xPct[this.xPct.length-1])for(;e>this.xPct[o+1];)o++;else e===this.xPct[this.xPct.length-1]&&(o=this.xPct.length-2);n||e!==this.xPct[o+1]||o++,null===t&&(t=[]);var i=1,a=t[o],s=0,l=0,c=0,u=0;for(r=n?(e-this.xPct[o])/(this.xPct[o+1]-this.xPct[o]):(this.xPct[o+1]-e)/(this.xPct[o+1]-this.xPct[o]);a>0;)s=this.xPct[o+1+u]-this.xPct[o+u],t[o+u]*i+100-100*r>100?(l=s*r,i=(a-100*r)/t[o+u],r=1):(l=t[o+u]*s/100*i,i=0),n?(c-=l,this.xPct.length+u>=1&&u--):(c+=l,this.xPct.length-u>=1&&u++),a=t[o+u]*i;return e+c},e.prototype.toStepping=function(e){return e=E(this.xVal,this.xPct,e)},e.prototype.fromStepping=function(e){return T(this.xVal,this.xPct,e)},e.prototype.getStep=function(e){return e=O(this.xPct,this.xSteps,this.snap,e)},e.prototype.getDefaultStep=function(e,t,n){var r=S(e,this.xPct);return(100===e||t&&e===this.xPct[r-1])&&(r=Math.max(r-1,1)),(this.xVal[r]-this.xVal[r-1])/n},e.prototype.getNearbySteps=function(e){var t=S(e,this.xPct);return{stepBefore:{startValue:this.xVal[t-2],step:this.xNumSteps[t-2],highestStep:this.xHighestCompleteStep[t-2]},thisStep:{startValue:this.xVal[t-1],step:this.xNumSteps[t-1],highestStep:this.xHighestCompleteStep[t-1]},stepAfter:{startValue:this.xVal[t],step:this.xNumSteps[t],highestStep:this.xHighestCompleteStep[t]}}},e.prototype.countStepDecimals=function(){var e=this.xNumSteps.map(p);return Math.max.apply(null,e)},e.prototype.hasNoSize=function(){return this.xVal[0]===this.xVal[this.xVal.length-1]},e.prototype.convert=function(e){return this.getStep(this.toStepping(e))},e.prototype.handleEntryPoint=function(e,t){var n;if(!c(n="min"===e?0:"max"===e?100:parseFloat(e))||!c(t[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");this.xPct.push(n),this.xVal.push(t[0]);var r=Number(t[1]);n?this.xSteps.push(!isNaN(r)&&r):isNaN(r)||(this.xSteps[0]=r),this.xHighestCompleteStep.push(0)},e.prototype.handleStepPoint=function(e,t){if(t)if(this.xVal[e]!==this.xVal[e+1]){this.xSteps[e]=k([this.xVal[e],this.xVal[e+1]],t,0)/w(this.xPct[e],this.xPct[e+1]);var n=(this.xVal[e+1]-this.xVal[e])/this.xNumSteps[e],r=Math.ceil(Number(n.toFixed(3))-1),o=this.xVal[e]+this.xNumSteps[e]*r;this.xHighestCompleteStep[e]=o}else this.xSteps[e]=this.xHighestCompleteStep[e]=this.xVal[e]},e}(),P={to:function(e){return void 0===e?"":e.toFixed(2)},from:Number},M={target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",touchArea:"touch-area",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",textDirectionLtr:"txt-dir-ltr",textDirectionRtl:"txt-dir-rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"},$={tooltips:".__tooltips",aria:".__aria"};function N(e,t){if(!c(t))throw new Error("noUiSlider: 'step' is not numeric.");e.singleStep=t}function R(e,t){if(!c(t))throw new Error("noUiSlider: 'keyboardPageMultiplier' is not numeric.");e.keyboardPageMultiplier=t}function L(e,t){if(!c(t))throw new Error("noUiSlider: 'keyboardMultiplier' is not numeric.");e.keyboardMultiplier=t}function j(e,t){if(!c(t))throw new Error("noUiSlider: 'keyboardDefaultStep' is not numeric.");e.keyboardDefaultStep=t}function F(e,t){if("object"!=typeof t||Array.isArray(t))throw new Error("noUiSlider: 'range' is not an object.");if(void 0===t.min||void 0===t.max)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");e.spectrum=new D(t,e.snap||!1,e.singleStep)}function B(e,t){if(t=f(t),!Array.isArray(t)||!t.length)throw new Error("noUiSlider: 'start' option is incorrect.");e.handles=t.length,e.start=t}function q(e,t){if("boolean"!=typeof t)throw new Error("noUiSlider: 'snap' option must be a boolean.");e.snap=t}function H(e,t){if("boolean"!=typeof t)throw new Error("noUiSlider: 'animate' option must be a boolean.");e.animate=t}function z(e,t){if("number"!=typeof t)throw new Error("noUiSlider: 'animationDuration' option must be a number.");e.animationDuration=t}function U(e,t){var n,r=[!1];if("lower"===t?t=[!0,!1]:"upper"===t&&(t=[!1,!0]),!0===t||!1===t){for(n=1;n<e.handles;n++)r.push(t);r.push(!1)}else{if(!Array.isArray(t)||!t.length||t.length!==e.handles+1)throw new Error("noUiSlider: 'connect' option doesn't match handle count.");r=t}e.connect=r}function V(e,t){switch(t){case"horizontal":e.ort=0;break;case"vertical":e.ort=1;break;default:throw new Error("noUiSlider: 'orientation' option is invali
2d.")}}function G(e,t){if(!c(t))throw new Error("noUiSlider: 'margin' option must be numeric.");0!==t&&(e.margin=e.spectrum.getDistance(t))}function W(e,t){if(!c(t))throw new Error("noUiSlider: 'limit' option must be numeric.");if(e.limit=e.spectrum.getDistance(t),!e.limit||e.handles<2)throw new Error("noUiSlider: 'limit' option is only supported on linear sliders with 2 or more handles.")}function Y(e,t){var n;if(!c(t)&&!Array.isArray(t))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(t)&&2!==t.length&&!c(t[0])&&!c(t[1]))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(0!==t){for(Array.isArray(t)||(t=[t,t]),e.padding=[e.spectrum.getDistance(t[0]),e.spectrum.getDistance(t[1])],n=0;n<e.spectrum.xNumSteps.length-1;n++)if(e.padding[0][n]<0||e.padding[1][n]<0)throw new Error("noUiSlider: 'padding' option must be a positive number(s).");var r=t[0]+t[1],o=e.spectrum.xVal[0];if(r/(e.spectrum.xVal[e.spectrum.xVal.length-1]-o)>1)throw new Error("noUiSlider: 'padding' option must not exceed 100% of the range.")}}function K(e,t){switch(t){case"ltr":e.dir=0;break;case"rtl":e.dir=1;break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function Q(e,t){if("string"!=typeof t)throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var n=t.indexOf("tap")>=0,r=t.indexOf("drag")>=0,o=t.indexOf("fixed")>=0,i=t.indexOf("snap")>=0,a=t.indexOf("hover")>=0,s=t.indexOf("unconstrained")>=0,l=t.indexOf("drag-all")>=0;if(o){if(2!==e.handles)throw new Error("noUiSlider: 'fixed' behaviour must be used with 2 handles");G(e,e.start[1]-e.start[0])}if(s&&(e.margin||e.limit))throw new Error("noUiSlider: 'unconstrained' behaviour cannot be used with margin or limit");e.events={tap:n||i,drag:r,dragAll:l,fixed:o,snap:i,hover:a,unconstrained:s}}function J(e,t){if(!1!==t)if(!0===t||n(t)){e.tooltips=[];for(var r=0;r<e.handles;r++)e.tooltips.push(t)}else{if((t=f(t)).length!==e.handles)throw new Error("noUiSlider: must pass a formatter for all handles.");t.forEach((function(e){if("boolean"!=typeof e&&!n(e))throw new Error("noUiSlider: 'tooltips' must be passed a formatter or 'false'.")})),e.tooltips=t}}function Z(e,t){if(t.length!==e.handles)throw new Error("noUiSlider: must pass a attributes for all handles.");e.handleAttributes=t}function X(e,t){if(!n(t))throw new Error("noUiSlider: 'ariaFormat' requires 'to' method.");e.ariaFormat=t}function ee(e,n){if(!t(n))throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.");e.format=n}function te(e,t){if("boolean"!=typeof t)throw new Error("noUiSlider: 'keyboardSupport' option must be a boolean.");e.keyboardSupport=t}function ne(e,t){e.documentElement=t}function re(e,t){if("string"!=typeof t&&!1!==t)throw new Error("noUiSlider: 'cssPrefix' must be a string or `false`.");e.cssPrefix=t}function oe(e,t){if("object"!=typeof t)throw new Error("noUiSlider: 'cssClasses' must be an object.");"string"==typeof e.cssPrefix?(e.cssClasses={},Object.keys(t).forEach((function(n){e.cssClasses[n]=e.cssPrefix+t[n]}))):e.cssClasses=t}function ie(e){var t={margin:null,limit:null,padding:null,animate:!0,animationDuration:300,ariaFormat:P,format:P},n={step:{r:!1,t:N},keyboardPageMultiplier:{r:!1,t:R},keyboardMultiplier:{r:!1,t:L},keyboardDefaultStep:{r:!1,t:j},start:{r:!0,t:B},connect:{r:!0,t:U},direction:{r:!0,t:K},snap:{r:!1,t:q},animate:{r:!1,t:H},animationDuration:{r:!1,t:z},range:{r:!0,t:F},orientation:{r:!1,t:V},margin:{r:!1,t:G},limit:{r:!1,t:W},padding:{r:!1,t:Y},behaviour:{r:!0,t:Q},ariaFormat:{r:!1,t:X},format:{r:!1,t:ee},tooltips:{r:!1,t:J},keyboardSupport:{r:!0,t:te},documentElement:{r:!1,t:ne},cssPrefix:{r:!0,t:re},cssClasses:{r:!0,t:oe},handleAttributes:{r:!1,t:Z}},r={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:!0,cssPrefix:"noUi-",cssClasses:M,keyboardPageMultiplier:5,keyboardMultiplier:1,keyboardDefaultStep:10};e.format&&!e.ariaFormat&&(e.ariaFormat=e.format),Object.keys(n).forEach((function(i){if(o(e[i])||void 0!==r[i])n[i].t(t,o(e[i])?e[i]:r[i]);else if(n[i].r)throw new Error("noUiSlider: '"+i+"' is required.")})),t.pips=e.pips;var i=document.createElement("div"),a=void 0!==i.style.msTransform,s=void 0!==i.style.transform;t.transformRule=s?"transform":a?"msTransform":"webkitTransform";var l=[["left","top"],["right","bottom"]];return t.style=l[t.dir][t.ort],t}function ae(t,n,s){var c,p,w,k,x,C=y(),S=_()&&b(),E=t,T=n.spectrum,O=[],I=[],A=[],D=0,P={},M=t.ownerDocument,N=n.documentElement||M.documentElement,R=M.body,L="rtl"===M.dir||1===n.ort?0:100;function j(e,t){var n=M.createElement("div");return t&&h(n,t),e.appendChild(n),n}
vendor: 6,338 bytes, line 2
2function F(e,t){var r=j(e,n.cssClasses.origin),o=j(r,n.cssClasses.handle);if(j(o,n.cssClasses.touchArea),o.setAttribute("data-handle",String(t)),n.keyboardSupport&&(o.setAttribute("tabindex","0"),o.addEventListener("keydown",(function(e){return pe(e,t)}))),void 0!==n.handleAttributes){var i=n.handleAttributes[t];Object.keys(i).forEach((function(e){o.setAttribute(e,i[e])}))}return o.setAttribute("role","slider"),o.setAttribute("aria-orientation",n.ort?"vertical":"horizontal"),0===t?h(o,n.cssClasses.handleLower):t===n.handles-1&&h(o,n.cssClasses.handleUpper),r}function B(e,t){return!!t&&j(e,n.cssClasses.connect)}function q(e,t){var r=j(t,n.cssClasses.connects);p=[],(w=[]).push(B(r,e[0]));for(var o=0;o<n.handles;o++)p.push(F(t,o)),A[o]=o,w.push(B(r,e[o+1]))}function H(e){return h(e,n.cssClasses.target),0===n.dir?h(e,n.cssClasses.ltr):h(e,n.cssClasses.rtl),0===n.ort?h(e,n.cssClasses.horizontal):h(e,n.cssClasses.vertical),h(e,"rtl"===getComputedStyle(e).direction?n.cssClasses.textDirectionRtl:n.cssClasses.textDirectionLtr),j(e,n.cssClasses.base)}function z(e,t){return!(!n.tooltips||!n.tooltips[t])&&j(e.firstChild,n.cssClasses.tooltip)}function U(){return E.hasAttribute("disabled")}function V(e){return p[e].hasAttribute("disabled")}function G(){x&&(ge("update"+$.tooltips),x.forEach((function(e){e&&r(e)})),x=null)}function W(){G(),x=p.map(z),me("update"+$.tooltips,(function(e,t,r){if(x&&n.tooltips&&!1!==x[t]){var o=e[t];!0!==n.tooltips[t]&&(o=n.tooltips[t].to(r[t])),x[t].innerHTML=o}}))}function Y(){ge("update"+$.aria),me("update"+$.aria,(function(e,t,r,o,i){A.forEach((function(e){var t=p[e],o=be(I,e,0,!0,!0,!0),a=be(I,e,100,!0,!0,!0),s=i[e],l=String(n.ariaFormat.to(r[e]));o=T.fromStepping(o).toFixed(1),a=T.fromStepping(a).toFixed(1),s=T.fromStepping(s).toFixed(1),t.children[0].setAttribute("aria-valuemin",o),t.children[0].setAttribute("aria-valuemax",a),t.children[0].setAttribute("aria-valuenow",s),t.children[0].setAttribute("aria-valuetext",l)}))}))}function K(t){if(t.mode===e.PipsMode.Range||t.mode===e.PipsMode.Steps)return T.xVal;if(t.mode===e.PipsMode.Count){if(t.values<2)throw new Error("noUiSlider: 'values' (>= 2) required for mode 'count'.");for(var n=t.values-1,r=100/n,o=[];n--;)o[n]=n*r;return o.push(100),Q(o,t.stepped)}return t.mode===e.PipsMode.Positions?Q(t.values,t.stepped):t.mode===e.PipsMode.Values?t.stepped?t.values.map((function(e){return T.fromStepping(T.getStep(T.toStepping(e)))})):t.values:[]}function Q(e,t){return e.map((function(e){return T.fromStepping(t?T.getStep(e):e)}))}function J(t){function n(e,t){return Number((e+t).toFixed(7))}var r=K(t),o={},i=T.xVal[0],s=T.xVal[T.xVal.length-1],l=!1,c=!1,u=0;return(r=a(r.slice().sort((function(e,t){return e-t}))))[0]!==i&&(r.unshift(i),l=!0),r[r.length-1]!==s&&(r.push(s),c=!0),r.forEach((function(i,a){var s,d,f,p,h,m,v,g,y,b,_=i,w=r[a+1],k=t.mode===e.PipsMode.Steps;for(k&&(s=T.xNumSteps[a]),s||(s=w-_),void 0===w&&(w=_),s=Math.max(s,1e-7),d=_;d<=w;d=n(d,s)){for(g=(h=(p=T.toStepping(d))-u)/(t.density||1),b=h/(y=Math.round(g)),f=1;f<=y;f+=1)o[(m=u+f*b).toFixed(5)]=[T.fromStepping(m),0];v=r.indexOf(d)>-1?e.PipsType.LargeValue:k?e.PipsType.SmallValue:e.PipsType.NoValue,!a&&l&&d!==w&&(v=0),d===w&&c||(o[p.toFixed(5)]=[d,v]),u=p}})),o}function Z(t,r,o){var i,a,s=M.createElement("div"),l=((i={})[e.PipsType.None]="",i[e.PipsType.NoValue]=n.cssClasses.valueNormal,i[e.PipsType.LargeValue]=n.cssClasses.valueLarge,i[e.PipsType.SmallValue]=n.cssClasses.valueSub,i),c=((a={})[e.PipsType.None]="",a[e.PipsType.NoValue]=n.cssClasses.markerNormal,a[e.PipsType.LargeValue]=n.cssClasses.markerLarge,a[e.PipsType.SmallValue]=n.cssClasses.markerSub,a),u=[n.cssClasses.valueHorizontal,n.cssClasses.valueVertical],d=[n.cssClasses.markerHorizontal,n.cssClasses.markerVertical];function f(e,t){var r=t===n.cssClasses.value,o=r?l:c;return t+" "+(r?u:d)[n.ort]+" "+o[e]}function p(t,i,a){if((a=r?r(i,a):a)!==e.PipsType.None){var l=j(s,!1);l.className=f(a,n.cssClasses.marker),l.style[n.style]=t+"%",a>e.PipsType.NoValue&&((l=j(s,!1)).className=f(a,n.cssClasses.value),l.setAttribute("data-value",String(i)),l.style[n.style]=t+"%",l.innerHTML=String(o.to(i)))}}return h(s,n.cssClasses.pips),h(s,0===n.ort?n.cssClasses.pipsHorizontal:n.cssClasses.pipsVertical),Object.keys(t).forEach((function(e){p(e,t[e][0],t[e][1])})),s}function X(){k&&(r(k),k=null)}function ee(e){X();var t=J(e),n=e.filter,r=e.format||{to:function(e){return String(Math.round(e))}};return k=E.appendChild(Z(t,n,r))}function te(){var e=c.getBoundingClientRect(),t="offset"+["Width","Height"][n.ort];return 0===n.ort?e.width||c[t]:e.height||c[t]}function ne(e,t,r,o){var i=function(i){var a=re(i,o.pageOffset,o.target||t);return!!a&&!(U()&&!o.doNotReject)&&!(v(E,n.cssClasses.tap)&&!o.doNotReject)&&!(e===C.start&&void 0!==a.buttons&&a.buttons>1)&&(!o.hover||!a.buttons)&&(S||a.preventDefault(),a.calcPoint=a.points[n.ort],void r(a,o))},a=[];return e.split(" ").forEach((function(e){t.addEventListener(e,i,!!S&&{passive:!0}),a.push([e,i])})),a}function re(e,t,n){var r=0===e.type.indexOf("touch"),o=0===e.type.indexOf("mouse"),i=0===e.type.indexOf("pointer"),a=0,s=0;if(0===e.type.indexOf("MSPointer")&&(i=!0),"mousedown"===e.type&&!e.buttons&&!e.touches)return!1;if(r){var l=function(t){var r=t.target;return r===n||n.contains(r)||e.composed&&e.composedPath().shift()===n};if("touchstart"===e.type){var c=Array.prototype.filter.call(e.touches,l);if(c.length>1)return!1;a=c[0].pageX,s=c[0].pageY}else{var u=Array.prototype.find.call(e.changedTouches,l);if(!u)return!1;a=u.pageX,s=u.pageY}}return t=t||g(M),(o||i)&&(a=e.clientX+t.x,s=e.clientY+t.y),e.pageOffset=t,e.points=[a,s],e.cursor=o||i,e}function oe(e){var t=100*(e-l(c,n.ort))/te();return t=d(t),n.dir?100-t:t}function ae(e){var t=100,n=!1;return p.forEach((function(r,o){if(!V(o)){var i=I[o],a=Math.abs(i-e);(a<t||a<=t&&e>i||100===a&&100===t)&&(n=o,t=a)}})),n}function se(e,t){"mouseout"===e.type&&"HTML"===e.target.nodeName&&null===e.relatedTarget&&ce(e,t)}function le(e,t){if(-1===navigator.appVersion.indexOf("MSIE 9")&&0===e.buttons&&0!==t.buttonsProperty)return ce(e,t);var r=(n.dir?-1:1)*(e.calcPoint-t.startCalcPoint);we(r>0,100*r/t.baseSize,t.locations,t.handleNumbers,t.connect)}function ce(e,t){t.handle&&(m(t.handle,n.cssClasses.active),D-=1),t.listeners.forEach((function(e){N.removeEventListener(e[0],e[1])}
vendor: 1,073 bytes, line 2
2)),0===D&&(m(E,n.cssClasses.drag),Ce(),e.cursor&&(R.style.cursor="",R.removeEventListener("selectstart",i))),t.handleNumbers.forEach((function(e){ye("change",e),ye("set",e),ye("end",e)}))}function ue(e,t){if(!t.handleNumbers.some(V)){var r;1===t.handleNumbers.length&&(r=p[t.handleNumbers[0]].children[0],D+=1,h(r,n.cssClasses.active)),e.stopPropagation();var o=[],a=ne(C.move,N,le,{target:e.target,handle:r,connect:t.connect,listeners:o,startCalcPoint:e.calcPoint,baseSize:te(),pageOffset:e.pageOffset,handleNumbers:t.handleNumbers,buttonsProperty:e.buttons,locations:I.slice()}),s=ne(C.end,N,ce,{target:e.target,handle:r,listeners:o,doNotReject:!0,handleNumbers:t.handleNumbers}),l=ne("mouseout",N,se,{target:e.target,handle:r,listeners:o,doNotReject:!0,handleNumbers:t.handleNumbers});o.push.apply(o,a.concat(s,l)),e.cursor&&(R.style.cursor=getComputedStyle(e.target).cursor,p.length>1&&h(E,n.cssClasses.drag),R.addEventListener("selectstart",i,!1)),t.handleNumbers.forEach((function(e){ye("start",e)}))}}function de(e){e.stopPropagation();var t=oe(e.calcPoint),r=ae(t);
vendor: 6,296 bytes, line 2
2!1!==r&&(n.events.snap||u(E,n.cssClasses.tap,n.animationDuration),Se(r,t,!0,!0),Ce(),ye("slide",r,!0),ye("update",r,!0),n.events.snap?ue(e,{handleNumbers:[r]}):(ye("change",r,!0),ye("set",r,!0)))}function fe(e){var t=oe(e.calcPoint),n=T.getStep(t),r=T.fromStepping(n);Object.keys(P).forEach((function(e){"hover"===e.split(".")[0]&&P[e].forEach((function(e){e.call(Le,r)}))}))}function pe(e,t){if(U()||V(t))return!1;var r=["Left","Right"],o=["Down","Up"],i=["PageDown","PageUp"],a=["Home","End"];n.dir&&!n.ort?r.reverse():n.ort&&!n.dir&&(o.reverse(),i.reverse());var s,l=e.key.replace("Arrow",""),c=l===i[0],u=l===i[1],d=l===o[0]||l===r[0]||c,f=l===o[1]||l===r[1]||u,p=l===a[0],h=l===a[1];if(!(d||f||p||h))return!0;if(e.preventDefault(),f||d){var m=d?0:1,v=Me(t)[m];if(null===v)return!1;!1===v&&(v=T.getDefaultStep(I[t],d,n.keyboardDefaultStep)),v*=u||c?n.keyboardPageMultiplier:n.keyboardMultiplier,v=Math.max(v,1e-7),v*=d?-1:1,s=O[t]+v}else s=h?n.spectrum.xVal[n.spectrum.xVal.length-1]:n.spectrum.xVal[0];return Se(t,T.toStepping(s),!0,!0),ye("slide",t),ye("update",t),ye("change",t),ye("set",t),!1}function he(e){e.fixed||p.forEach((function(e,t){ne(C.start,e.children[0],ue,{handleNumbers:[t]})})),e.tap&&ne(C.start,c,de,{}),e.hover&&ne(C.move,c,fe,{hover:!0}),e.drag&&w.forEach((function(t,r){if(!1!==t&&0!==r&&r!==w.length-1){var o=p[r-1],i=p[r],a=[t],s=[o,i],l=[r-1,r];h(t,n.cssClasses.draggable),e.fixed&&(a.push(o.children[0]),a.push(i.children[0])),e.dragAll&&(s=p,l=A),a.forEach((function(e){ne(C.start,e,ue,{handles:s,handleNumbers:l,connect:t})}))}}))}function me(e,t){P[e]=P[e]||[],P[e].push(t),"update"===e.split(".")[0]&&p.forEach((function(e,t){ye("update",t)}))}function ve(e){return e===$.aria||e===$.tooltips}function ge(e){var t=e&&e.split(".")[0],n=t?e.substring(t.length):e;Object.keys(P).forEach((function(e){var r=e.split(".")[0],o=e.substring(r.length);t&&t!==r||n&&n!==o||ve(o)&&n!==o||delete P[e]}))}function ye(e,t,r){Object.keys(P).forEach((function(o){var i=o.split(".")[0];e===i&&P[o].forEach((function(e){e.call(Le,O.map(n.format.to),t,O.slice(),r||!1,I.slice(),Le)}))}))}function be(e,t,r,o,i,a){var s;return p.length>1&&!n.events.unconstrained&&(o&&t>0&&(s=T.getAbsoluteDistance(e[t-1],n.margin,!1),r=Math.max(r,s)),i&&t<p.length-1&&(s=T.getAbsoluteDistance(e[t+1],n.margin,!0),r=Math.min(r,s))),p.length>1&&n.limit&&(o&&t>0&&(s=T.getAbsoluteDistance(e[t-1],n.limit,!1),r=Math.min(r,s)),i&&t<p.length-1&&(s=T.getAbsoluteDistance(e[t+1],n.limit,!0),r=Math.max(r,s))),n.padding&&(0===t&&(s=T.getAbsoluteDistance(0,n.padding[0],!1),r=Math.max(r,s)),t===p.length-1&&(s=T.getAbsoluteDistance(100,n.padding[1],!0),r=Math.min(r,s))),!((r=d(r=T.getStep(r)))===e[t]&&!a)&&r}function _e(e,t){var r=n.ort;return(r?t:e)+", "+(r?e:t)}function we(e,t,n,r,o){var i=n.slice(),a=r[0],s=[!e,e],l=[e,!e];r=r.slice(),e&&r.reverse(),r.length>1?r.forEach((function(e,n){var r=be(i,e,i[e]+t,s[n],l[n],!1);!1===r?t=0:(t=r-i[e],i[e]=r)})):s=l=[!0];var c=!1;r.forEach((function(e,r){c=Se(e,n[e]+t,s[r],l[r])||c})),c&&(r.forEach((function(e){ye("update",e),ye("slide",e)})),null!=o&&ye("drag",a))}function ke(e,t){return n.dir?100-e-t:e}function xe(e,t){I[e]=t,O[e]=T.fromStepping(t);var r="translate("+_e(ke(t,0)-L+"%","0")+")";p[e].style[n.transformRule]=r,Ee(e),Ee(e+1)}function Ce(){A.forEach((function(e){var t=I[e]>50?-1:1,n=3+(p.length+t*e);p[e].style.zIndex=String(n)}))}function Se(e,t,n,r,o){return o||(t=be(I,e,t,n,r,!1)),!1!==t&&(xe(e,t),!0)}function Ee(e){if(w[e]){var t=0,r=100;0!==e&&(t=I[e-1]),e!==w.length-1&&(r=I[e]);var o=r-t,i="translate("+_e(ke(t,o)+"%","0")+")",a="scale("+_e(o/100,"1")+")";w[e].style[n.transformRule]=i+" "+a}}function Te(e,t){return null===e||!1===e||void 0===e?I[t]:("number"==typeof e&&(e=String(e)),!1!==(e=n.format.from(e))&&(e=T.toStepping(e)),!1===e||isNaN(e)?I[t]:e)}function Oe(e,t,r){var o=f(e),i=void 0===I[0];t=void 0===t||t,n.animate&&!i&&u(E,n.cssClasses.tap,n.animationDuration),A.forEach((function(e){Se(e,Te(o[e],e),!0,!1,r)}));var a=1===A.length?0:1;if(i&&T.hasNoSize()&&(r=!0,I[0]=0,A.length>1)){var s=100/(A.length-1);A.forEach((function(e){I[e]=e*s}))}for(;a<A.length;++a)A.forEach((function(e){Se(e,I[e],!0,!0,r)}));Ce(),A.forEach((function(e){ye("update",e),null!==o[e]&&t&&ye("set",e)}))}function Ie(e){Oe(n.start,e)}function Ae(e,t,n,r){if(!((e=Number(e))>=0&&e<A.length))throw new Error("noUiSlider: invalid handle number, got: "+e);Se(e,Te(t,e),!0,!0,r),ye("update",e),n&&ye("set",e)}function De(e){if(void 0===e&&(e=!1),e)return 1===O.length?O[0]:O.slice(0);var t=O.map(n.format.to);return 1===t.length?t[0]:t}function Pe(){for(ge($.aria),ge($.tooltips),Object.keys(n.cssClasses).forEach((function(e){m(E,n.cssClasses[e])}));E.firstChild;)E.removeChild(E.firstChild);delete E.noUiSlider}function Me(e){var t=I[e],r=T.getNearbySteps(t),o=O[e],i=r.thisStep.step,a=null;if(n.snap)return[o-r.stepBefore.startValue||null,r.stepAfter.startValue-o||null];!1!==i&&o+i>r.stepAfter.startValue&&(i=r.stepAfter.startValue-o),a=o>r.thisStep.startValue?r.thisStep.step:!1!==r.stepBefore.step&&o-r.stepBefore.highestStep,100===t?i=null:0===t&&(a=null);var s=T.countStepDecimals();return null!==i&&!1!==i&&(i=Number(i.toFixed(s))),null!==a&&!1!==a&&(a=Number(a.toFixed(s))),[a,i]}function $e(){return A.map(Me)}function Ne(e,t){var r=De(),i=["margin","limit","padding","range","animate","snap","step","format","pips","tooltips"];i.forEach((function(t){void 0!==e[t]&&(s[t]=e[t])}));var a=ie(s);i.forEach((function(t){void 0!==e[t]&&(n[t]=a[t])})),T=a.spectrum,n.margin=a.margin,n.limit=a.limit,n.padding=a.padding,n.pips?ee(n.pips):X(),n.tooltips?W():G(),I=[],Oe(o(e.start)?e.start:r,t)}function Re(){c=H(E),q(n.connect,c),he(n.events),Oe(n.start),n.pips&&ee(n.pips),n.tooltips&&W(),Y()}Re();var Le={destroy:Pe,steps:$e,on:me,off:ge,get:De,set:Oe,setHandle:Ae,reset:Ie,__moveHandles:function(e,t,n){we(e,t,I,n)},options:s,updateOptions:Ne,target:E,removePips:X,removeTooltips:G,getPositions:function(){return I.slice()},getTooltips:function(){return x},getOrigins:function(){return p},pips:ee};return Le}function se(e,t){if(!e||!e.nodeName)throw new Error("noUiSlider: create requires a single element, got: "+e);if(e.noUiSlider)throw new Error("noUiSlider: Slider was already initialized.");var n=ae(e,ie(t),t);return e.noUiSlider=n,n}
2var le={__spectrum:D,cssClasses:M,create:se};e.create=se,e.cssClasses=M,e.default=le,Object.defineProperty(e,"__esModule",{value:!0})}(t)},9140:(e,t)=>{t.encode=function(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t},t.decode=function(e){for(var t={},n=e.split("&"),r=0,o=n.length;r<o;r++){var i=n[r].split("=");t[decodeURIComponent(i[0])]=decodeURIComponent(i[1])}return t}},4258:e=>{var t=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,n=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];e.exports=function(e){var r=e,o=e.indexOf("["),i=e.indexOf("]");-1!=o&&-1!=i&&(e=e.substring(0,o)+e.substring(o,i).replace(/:/g,";")+e.substring(i,e.length));for(var a,s,l=t.exec(e||""),c={},u=14;u--;)c[n[u]]=l[u]||"";return-1!=o&&-1!=i&&(c.source=r,c.host=c.host.substring(1,c.host.length-1).replace(/;/g,":"),c.authority=c.authority.replace("[","").replace("]","").replace(/;/g,":"),c.ipv6uri=!0),c.pathNames=function(e,t){var n=/\/{2,9}/g,r=t.replace(n,"/").split("/");"/"!=t.substr(0,1)&&0!==t.length||r.splice(0,1);"/"==t.substr(t.length-1,1)&&r.splice(r.length-1,1);return r}(0,c.path),c.queryKey=(a=c.query,s={},a.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(e,t,n){t&&(s[t]=n)})),s),c}},4330:function(e,t,n){"object"==typeof navigator&&(e.exports=function(){"use strict";function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var a={addCSS:!0,thumbWidth:15,watch:!0};function s(e,t){return function(){return Array.from(document.querySelectorAll(t)).includes(this)}.call(e,t)}var l=function(e){return null!=e?e.constructor:null},c=function(e,t){return!!(e&&t&&e instanceof t)},u=function(e){return null==e},d=function(e){return l(e)===Object},f=function(e){return l(e)===String},p=function(e){return Array.isArray(e)},h=function(e){return c(e,NodeList)},m=f,v=p,g=h,y=function(e){return c(e,Element)},b=function(e){return c(e,Event)},_=function(e){return u(e)||(f(e)||p(e)||h(e))&&!e.length||d(e)&&!Object.keys(e).length};function w(e,t){if(1>t){var n=function(e){var t="".concat(e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}(t);return parseFloat(e.toFixed(n))}return Math.round(e/t)*t}var k=function(){function e(t,n){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),y(t)?this.element=t:m(t)&&(this.element=document.querySelector(t)),y(this.element)&&_(this.element.rangeTouch)&&(this.config=i({},a,{},n),this.init())}return function(e,n,r){n&&t(e.prototype,n),r&&t(e,r)}(e,[{key:"init",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect="none",this.element.style.webKitUserSelect="none",this.element.style.touchAction="manipulation"),this.listeners(!0),this.element.rangeTouch=this)}},{key:"destroy",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect="",this.element.style.webKitUserSelect="",this.element.style.touchAction=""),this.listeners(!1),this.element.rangeTouch=null)}},{key:"listeners",value:function(e){var t=this,n=e?"addEventListener":"removeEventListener";["touchstart","touchmove","touchend"].forEach((function(e){t.element[n](e,(function(e){return t.set(e)}),!1)}))}},{key:"get",value:function(t){if(!e.enabled||!b(t))return null;var n,r=t.target,o=t.changedTouches[0],i=parseFloat(r.getAttribute("min"))||0,a=parseFloat(r.getAttribute("max"))||100,s=parseFloat(r.getAttribute("step"))||1,l=r.getBoundingClientRect(),c=100/l.width*(this.config.thumbWidth/2)/100;return 0>(n=100/l.width*(o.clientX-l.left))?n=0:100<n&&(n=100),50>n?n-=(100-2*n)*c:50<n&&(n+=2*(n-50)*c),i+w(n/100*(a-i),s)}},{key:"set",value:function(t){e.enabled&&b(t)&&!t.target.disabled&&(t.preventDefault(),t.target.value=this.get(t),function(e,t){if(e&&t){var n=new Event(t,{bubbles:!0});e.dispatchEvent(n)}}(t.target,"touchend"===t.type?"change":"input"))}}],[{key:"setup",value:function(t){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=null;if(_(t)||m(t)?r=Array.from(document.querySelectorAll(m(t)?t:'input[type="range"]')):y(t)?r=[t]:g(t)?r=Array.from(t):v(t)&&(r=t.filter(y)),_(r))return null;var o=i({},a,{},n);if(m(t)&&o.watch){var l=new MutationObserver((function(n){Array.from(n).forEac
2h((function(n){Array.from(n.addedNodes).forEach((function(n){y(n)&&s(n,t)&&new e(n,o)}))}))}));l.observe(document.body,{childList:!0,subtree:!0})}return r.map((function(t){return new e(t,n)}))}},{key:"enabled",get:function(){return"ontouchstart"in document.documentElement}}]),e}();const x=e=>null!=e?e.constructor:null,C=(e,t)=>Boolean(e&&t&&e instanceof t),S=e=>null==e,E=e=>x(e)===Object,T=e=>x(e)===String,O=e=>x(e)===Function,I=e=>Array.isArray(e),A=e=>C(e,NodeList),D=e=>S(e)||(T(e)||I(e)||A(e))&&!e.length||E(e)&&!Object.keys(e).length;var P=S,M=E,$=e=>x(e)===Number&&!Number.isNaN(e),N=T,R=e=>x(e)===Boolean,L=O,j=I,F=A,B=e=>null!==e&&"object"==typeof e&&1===e.nodeType&&"object"==typeof e.style&&"object"==typeof e.ownerDocument,q=e=>C(e,Event),H=e=>C(e,KeyboardEvent),z=e=>C(e,TextTrack)||!S(e)&&T(e.kind),U=e=>C(e,Promise)&&O(e.then),V=e=>{if(C(e,window.URL))return!0;if(!T(e))return!1;let t=e;e.startsWith("http://")&&e.startsWith("https://")||(t=`http://${e}`);try{return!D(new URL(t).hostname)}catch(e){return!1}},G=D;const W=(()=>{const e=document.createElement("span"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n=Object.keys(t).find((t=>void 0!==e.style[t]));return!!N(n)&&t[n]})();function Y(e,t){setTimeout((()=>{try{e.hidden=!0,e.offsetHeight,e.hidden=!1}catch(e){}}),t)}const K={isIE:Boolean(window.document.documentMode),isEdge:window.navigator.userAgent.includes("Edge"),isWebkit:"WebkitAppearance"in document.documentElement.style&&!/Edge/.test(navigator.userAgent),isIPhone:/(iPhone|iPod)/gi.test(navigator.platform),isIos:"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1||/(iPad|iPhone|iPod)/gi.test(navigator.platform)};function Q(e,t){return t.split(".").reduce(((e,t)=>e&&e[t]),e)}function J(e={},...t){if(!t.length)return e;const n=t.shift();return M(n)?(Object.keys(n).forEach((t=>{M(n[t])?(Object.keys(e).includes(t)||Object.assign(e,{[t]:{}}),J(e[t],n[t])):Object.assign(e,{[t]:n[t]})})),J(e,...t)):e}function Z(e,t){const n=e.length?e:[e];Array.from(n).reverse().forEach(((e,n)=>{const r=n>0?t.cloneNode(!0):t,o=e.parentNode,i=e.nextSibling;r.appendChild(e),i?o.insertBefore(r,i):o.appendChild(r)}))}function X(e,t){B(e)&&!G(t)&&Object.entries(t).filter((([,e])=>!P(e))).forEach((([t,n])=>e.setAttribute(t,n)))}function ee(e,t,n){const r=document.createElement(e);return M(t)&&X(r,t),N(n)&&(r.innerText=n),r}function te(e,t,n,r){B(t)&&t.appendChild(ee(e,n,r))}function ne(e){F(e)||j(e)?Array.from(e).forEach(ne):B(e)&&B(e.parentNode)&&e.parentNode.removeChild(e)}function re(e){if(!B(e))return;let{length:t}=e.childNodes;for(;t>0;)e.removeChild(e.lastChild),t-=1}function oe(e,t){return B(t)&&B(t.parentNode)&&B(e)?(t.parentNode.replaceChild(e,t),e):null}function ie(e,t){if(!N(e)||G(e))return{};const n={},r=J({},t);return e.split(",").forEach((e=>{const t=e.trim(),o=t.replace(".",""),i=t.replace(/[[\]]/g,"").split("="),[a]=i,s=i.length>1?i[1].replace(/["']/g,""):"";switch(t.charAt(0)){case".":N(r.class)?n.class=`${r.class} ${o}`:n.class=o;break;case"#":n.id=t.replace("#","");break;case"[":n[a]=s}})),J(r,n)}function ae(e,t){if(!B(e))return;let n=t;R(n)||(n=!e.hidden),e.hidden=n}function se(e,t,n){if(F(e))return Array.from(e).map((e=>se(e,t,n)));if(B(e)){let r="toggle";return void 0!==n&&(r=n?"add":"remove"),e.classList[r](t),e.classList.contains(t)}return!1}function le(e,t){return B(e)&&e.classList.contains(t)}function ce(e,t){const{prototype:n}=Element;return(n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector||function(){return Array.from(document.querySelectorAll(t)).includes(this)}).call(e,t)}function ue(e){return this.elements.container.querySelectorAll(e)}function de(e){return this.elements.container.querySelector(e)}function fe(e=null,t=!1){B(e)&&(e.focus({preventScroll:!0}),t&&se(e,this.config.classNames.tabFocus))}const pe={"audio/ogg":"vorbis","audio/wav":"1","video/webm":"vp8, vorbis","video/mp4":"avc1.42E01E, mp4a.40.2","video/ogg":"theora"},he={audio:"canPlayType"in document.createElement("audio"),video:"canPlayType"in document.createElement("video"),check(e,t,n){const r=K.isIPhone&&n&&he.playsinline,o=he[e]||"html5"!==t;return{api:o,ui:o&&he.rangeInput&&("video"!==e||!K.isIPhone||r)}},pip:!(K.isIPhone||!L(ee("video").webkitSetPresentationMode)&&(!document.pictureInPictureEnabled||ee("video").disablePictureInPicture)),airplay:L(window.WebKitPlaybackTargetAvailabilityEvent),playsinline:"playsInl
2ine"in document.createElement("video"),mime(e){if(G(e))return!1;const[t]=e.split("/");let n=e;if(!this.isHTML5||t!==this.type)return!1;Object.keys(pe).includes(n)&&(n+=`; codecs="${pe[e]}"`);try{return Boolean(n&&this.media.canPlayType(n).replace(/no/,""))}catch(e){return!1}},textTracks:"textTracks"in document.createElement("video"),rangeInput:(()=>{const e=document.createElement("input");return e.type="range","range"===e.type})(),touch:"ontouchstart"in document.documentElement,transitions:!1!==W,reducedMotion:"matchMedia"in window&&window.matchMedia("(prefers-reduced-motion)").matches},me=(()=>{let e=!1;try{const t=Object.defineProperty({},"passive",{get:()=>(e=!0,null)});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}return e})();function ve(e,t,n,r=!1,o=!0,i=!1){if(!e||!("addEventListener"in e)||G(t)||!L(n))return;const a=t.split(" ");let s=i;me&&(s={passive:o,capture:i}),a.forEach((t=>{this&&this.eventListeners&&r&&this.eventListeners.push({element:e,type:t,callback:n,options:s}),e[r?"addEventListener":"removeEventListener"](t,n,s)}))}function ge(e,t="",n,r=!0,o=!1){ve.call(this,e,t,n,!0,r,o)}function ye(e,t="",n,r=!0,o=!1){ve.call(this,e,t,n,!1,r,o)}function be(e,t="",n,r=!0,o=!1){const i=(...a)=>{ye(e,t,i,r,o),n.apply(this,a)};ve.call(this,e,t,i,!0,r,o)}function _e(e,t="",n=!1,r={}){if(!B(e)||G(t))return;const o=new CustomEvent(t,{bubbles:n,detail:{...r,plyr:this}});e.dispatchEvent(o)}function we(){this&&this.eventListeners&&(this.eventListeners.forEach((e=>{const{element:t,type:n,callback:r,options:o}=e;t.removeEventListener(n,r,o)})),this.eventListeners=[])}function ke(){return new Promise((e=>this.ready?setTimeout(e,0):ge.call(this,this.elements.container,"ready",e))).then((()=>{}))}function xe(e){U(e)&&e.then(null,(()=>{}))}function Ce(e){return j(e)?e.filter(((t,n)=>e.indexOf(t)===n)):e}function Se(e,t){return j(e)&&e.length?e.reduce(((e,n)=>Math.abs(n-t)<Math.abs(e-t)?n:e)):null}function Ee(e){return!(!window||!window.CSS)&&window.CSS.supports(e)}const Te=[[1,1],[4,3],[3,4],[5,4],[4,5],[3,2],[2,3],[16,10],[10,16],[16,9],[9,16],[21,9],[9,21],[32,9],[9,32]].reduce(((e,[t,n])=>({...e,[t/n]:[t,n]})),{});function Oe(e){return!!(j(e)||N(e)&&e.includes(":"))&&(j(e)?e:e.split(":")).map(Number).every($)}function Ie(e){if(!j(e)||!e.every($))return null;const[t,n]=e,r=(e,t)=>0===t?e:r(t,e%t),o=r(t,n);return[t/o,n/o]}function Ae(e){const t=e=>Oe(e)?e.split(":").map(Number):null;let n=t(e);if(null===n&&(n=t(this.config.ratio)),null===n&&!G(this.embed)&&j(this.embed.ratio)&&({ratio:n}=this.embed),null===n&&this.isHTML5){const{videoWidth:e,videoHeight:t}=this.media;n=[e,t]}return Ie(n)}function De(e){if(!this.isVideo)return{};const{wrapper:t}=this.elements,n=Ae.call(this,e);if(!j(n))return{};const[r,o]=Ie(n),i=100/r*o;if(Ee(`aspect-ratio: ${r}/${o}`)?t.style.aspectRatio=`${r}/${o}`:t.style.paddingBottom=`${i}%`,this.isVimeo&&!this.config.vimeo.premium&&this.supported.ui){const e=100/this.media.offsetWidth*parseInt(window.getComputedStyle(this.media).paddingBottom,10),n=(e-i)/(e/50);this.fullscreen.active?t.style.paddingBottom=null:this.media.style.transform=`translateY(-${n}%)`}else this.isHTML5&&t.classList.add(this.config.classNames.videoFixedRatio);return{padding:i,ratio:n}}function Pe(e,t,n=.05){const r=e/t,o=Se(Object.keys(Te),r);return Math.abs(o-r)<=n?Te[o]:[e,t]}const Me={getSources(){return this.isHTML5?Array.from(this.media.querySelectorAll("source")).filter((e=>{const t=e.getAttribute("type");return!!G(t)||he.mime.call(this,t)})):[]},getQualityOptions(){return this.config.quality.forced?this.config.quality.options:Me.getSources.call(this).map((e=>Number(e.getAttribute("size")))).filter(Boolean)},setup(){if(!this.isHTML5)return;const e=this;e.options.speed=e.config.speed.options,G(this.config.ratio)||De.call(e),Object.defineProperty(e.media,"quality",{get(){const t=Me.getSources.call(e).find((t=>t.getAttribute("src")===e.source));return t&&Number(t.getAttribute("size"))},set(t){if(e.quality!==t){if(e.config.quality.forced&&L(e.config.quality.onChange))e.config.quality.onChange(t);else{const n=Me.getSources.call(e).find((e=>Number(e.getAttribute("size"))===t));if(!n)return;const{currentTime:r,paused:o,preload:i,readyState:a,playbackRate:s}=e.media;e.media.src=n.getAttribute("src"),("none"!==i||a)&&(e.once("loadedmetadata",(()=>{e.speed=s,e.currentTime=r,o||xe(e.play())})),e.media.load())}_e.call(e,e.media,"qualitychange",!1,{quality:t})}}})},cancelRequests(){this.isHTML5&&(ne(Me.getSources.call(this)),this.media.setAttribute("src",this.config.blankVideo),this.media.load(),this.debug.log("Cancelled network requests"))}};function $e(e,...t){return G(e)?e:e.toString().replace(/{(\d+)}
vendor: 9,262 bytes, line 2
2/g,((e,n)=>t[n].toString()))}const Ne=(e="",t="",n="")=>e.replace(new RegExp(t.toString().replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1"),"g"),n.toString()),Re=(e="")=>e.toString().replace(/\w\S*/g,(e=>e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()));function Le(e=""){let t=e.toString();return t=function(e=""){let t=e.toString();return t=Ne(t,"-"," "),t=Ne(t,"_"," "),t=Re(t),Ne(t," ","")}(t),t.charAt(0).toLowerCase()+t.slice(1)}function je(e){const t=document.createElement("div");return t.appendChild(e),t.innerHTML}const Fe={pip:"PIP",airplay:"AirPlay",html5:"HTML5",vimeo:"Vimeo",youtube:"YouTube"},Be={get(e="",t={}){if(G(e)||G(t))return"";let n=Q(t.i18n,e);if(G(n))return Object.keys(Fe).includes(e)?Fe[e]:"";const r={"{seektime}":t.seekTime,"{title}":t.title};return Object.entries(r).forEach((([e,t])=>{n=Ne(n,e,t)})),n}};class qe{constructor(t){e(this,"get",(e=>{if(!qe.supported||!this.enabled)return null;const t=window.localStorage.getItem(this.key);if(G(t))return null;const n=JSON.parse(t);return N(e)&&e.length?n[e]:n})),e(this,"set",(e=>{if(!qe.supported||!this.enabled)return;if(!M(e))return;let t=this.get();G(t)&&(t={}),J(t,e);try{window.localStorage.setItem(this.key,JSON.stringify(t))}catch(e){}})),this.enabled=t.config.storage.enabled,this.key=t.config.storage.key}static get supported(){try{if(!("localStorage"in window))return!1;const e="___test";return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch(e){return!1}}}function He(e,t="text"){return new Promise(((n,r)=>{try{const r=new XMLHttpRequest;if(!("withCredentials"in r))return;r.addEventListener("load",(()=>{if("text"===t)try{n(JSON.parse(r.responseText))}catch(e){n(r.responseText)}else n(r.response)})),r.addEventListener("error",(()=>{throw new Error(r.status)})),r.open("GET",e,!0),r.responseType=t,r.send()}catch(e){r(e)}}))}function ze(e,t){if(!N(e))return;const n=N(t);let r=!1;const o=()=>null!==document.getElementById(t),i=(e,t)=>{e.innerHTML=t,n&&o()||document.body.insertAdjacentElement("afterbegin",e)};if(!n||!o()){const o=qe.supported,a=document.createElement("div");if(a.setAttribute("hidden",""),n&&a.setAttribute("id",t),o){const e=window.localStorage.getItem(`cache-${t}`);if(r=null!==e,r){const t=JSON.parse(e);i(a,t.content)}}He(e).then((e=>{if(!G(e)){if(o)try{window.localStorage.setItem(`cache-${t}`,JSON.stringify({content:e}))}catch(e){}i(a,e)}})).catch((()=>{}))}}const Ue=e=>Math.trunc(e/60/60%60,10);function Ve(e=0,t=!1,n=!1){if(!$(e))return Ve(void 0,t,n);const r=e=>`0${e}`.slice(-2);let o=Ue(e);const i=(a=e,Math.trunc(a/60%60,10));var a;const s=(e=>Math.trunc(e%60,10))(e);return o=t||o>0?`${o}:`:"",`${n&&e>0?"-":""}${o}${r(i)}:${r(s)}`}const Ge={getIconUrl(){const e=new URL(this.config.iconUrl,window.location),t=window.location.host?window.location.host:window.top.location.host,n=e.host!==t||K.isIE&&!window.svg4everybody;return{url:this.config.iconUrl,cors:n}},findElements(){try{return this.elements.controls=de.call(this,this.config.selectors.controls.wrapper),this.elements.buttons={play:ue.call(this,this.config.selectors.buttons.play),pause:de.call(this,this.config.selectors.buttons.pause),restart:de.call(this,this.config.selectors.buttons.restart),rewind:de.call(this,this.config.selectors.buttons.rewind),fastForward:de.call(this,this.config.selectors.buttons.fastForward),mute:de.call(this,this.config.selectors.buttons.mute),pip:de.call(this,this.config.selectors.buttons.pip),airplay:de.call(this,this.config.selectors.buttons.airplay),settings:de.call(this,this.config.selectors.buttons.settings),captions:de.call(this,this.config.selectors.buttons.captions),fullscreen:de.call(this,this.config.selectors.buttons.fullscreen)},this.elements.progress=de.call(this,this.config.selectors.progress),this.elements.inputs={seek:de.call(this,this.config.selectors.inputs.seek),volume:de.call(this,this.config.selectors.inputs.volume)},this.elements.display={buffer:de.call(this,this.config.selectors.display.buffer),currentTime:de.call(this,this.config.selectors.display.currentTime),duration:de.call(this,this.config.selectors.display.duration)},B(this.elements.progress)&&(this.elements.display.seekTooltip=this.elements.progress.querySelector(`.${this.config.classNames.tooltip}`)),!0}catch(e){return this.debug.warn("It looks like there is a problem with your custom controls HTML",e),this.toggleNativeControls(!0),!1}},createIcon(e,t){const n="http://www.w3.org/2000/svg",r=Ge.getIconUrl.call(this),o=`${r.cors?"":r.url}#${this.config.iconPrefix}`,i=document.createElementNS(n,"svg");X(i,J(t,{"aria-hidden":"true",focusable:"false"}));const a=document.createElementNS(n,"use"),s=`${o}-${e}`;return"href"in a&&a.setAttributeNS("http://www.w3.org/1999/xlink","href",s),a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",s),i.appendChild(a),i},createLabel(e,t={}){const n=Be.get(e,this.config);return ee("span",{...t,class:[t.class,this.config.classNames.hidden].filter(Boolean).join(" ")},n)},createBadge(e){if(G(e))return null;const t=ee("span",{class:this.config.classNames.menu.value});return t.appendChild(ee("span",{class:this.config.classNames.menu.badge},e)),t},createButton(e,t){const n=J({},t);let r=Le(e);const o={element:"button",toggle:!1,label:null,icon:null,labelPressed:null,iconPressed:null};switch(["element","icon","label"].forEach((e=>{Object.keys(n).includes(e)&&(o[e]=n[e],delete n[e])})),"button"!==o.element||Object.keys(n).includes("type")||(n.type="button"),Object.keys(n).includes("class")?n.class.split(" ").some((e=>e===this.config.classNames.control))||J(n,{class:`${n.class} ${this.config.classNames.control}`}):n.class=this.config.classNames.control,e){case"play":o.toggle=!0,o.label="play",o.labelPressed="pause",o.icon="play",o.iconPressed="pause";break;case"mute":o.toggle=!0,o.label="mute",o.labelPressed="unmute",o.icon="volume",o.iconPressed="muted";break;case"captions":o.toggle=!0,o.label="enableCaptions",o.labelPressed="disableCaptions",o.icon="captions-off",o.iconPressed="captions-on";break;case"fullscreen":o.toggle=!0,o.label="enterFullscreen",o.labelPressed="exitFullscreen",o.icon="enter-fullscreen",o.iconPressed="exit-fullscreen";break;case"play-large":n.class+=` ${this.config.classNames.control}--overlaid`,r="play",o.label="play",o.icon="play";break;default:G(o.label)&&(o.label=r),G(o.icon)&&(o.icon=e)}const i=ee(o.element);return o.toggle?(i.appendChild(Ge.createIcon.call(this,o.iconPressed,{class:"icon--pressed"})),i.appendChild(Ge.createIcon.call(this,o.icon,{class:"icon--not-pressed"})),i.appendChild(Ge.createLabel.call(this,o.labelPressed,{class:"label--pressed"})),i.appendChild(Ge.createLabel.call(this,o.label,{class:"label--not-pressed"}))):(i.appendChild(Ge.createIcon.call(this,o.icon)),i.appendChild(Ge.createLabel.call(this,o.label))),J(n,ie(this.config.selectors.buttons[r],n)),X(i,n),"play"===r?(j(this.elements.buttons[r])||(this.elements.buttons[r]=[]),this.elements.buttons[r].push(i)):this.elements.buttons[r]=i,i},createRange(e,t){const n=ee("input",J(ie(this.config.selectors.inputs[e]),{type:"range",min:0,max:100,step:.01,value:0,autocomplete:"off",role:"slider","aria-label":Be.get(e,this.config),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":0},t));return this.elements.inputs[e]=n,Ge.updateRangeFill.call(this,n),k.setup(n),n},createProgress(e,t){const n=ee("progress",J(ie(this.config.selectors.display[e]),{min:0,max:100,value:0,role:"progressbar","aria-hidden":!0},t));if("volume"!==e){n.appendChild(ee("span",null,"0"));const t={played:"played",buffer:"buffered"}[e],r=t?Be.get(t,this.config):"";n.innerText=`% ${r.toLowerCase()}`}return this.elements.display[e]=n,n},createTime(e,t){const n=ie(this.config.selectors.display[e],t),r=ee("div",J(n,{class:`${n.class?n.class:""} ${this.config.classNames.display.time} `.trim(),"aria-label":Be.get(e,this.config)}),"00:00");return this.elements.display[e]=r,r},bindMenuItemShortcuts(e,t){ge.call(this,e,"keydown keyup",(n=>{if(![32,38,39,40].includes(n.which))return;if(n.preventDefault(),n.stopPropagation(),"keydown"===n.type)return;const r=ce(e,'[role="menuitemradio"]');if(!r&&[32,39].includes(n.which))Ge.showMenuPanel.call(this,t,!0);else{let t;32!==n.which&&(40===n.which||r&&39===n.which?(t=e.nextElementSibling,B(t)||(t=e.parentNode.firstElementChild)):(t=e.previousElementSibling,B(t)||(t=e.parentNode.lastElementChild)),fe.call(this,t,!0))}}),!1),ge.call(this,e,"keyup",(e=>{13===e.which&&Ge.focusFirstMenuItem.call(this,null,!0)}))},createMenuItem({value:e,list:t,type:n,title:r,badge:o=null,checked:i=!1}){const a=ie(this.config.selectors.inputs[n]),s=ee("button",J(a,{type:"button",role:"menuitemradio",class:`${this.config.classNames.control} ${a.class?a.class:""}`.trim(),"aria-checked":i,value:e})),l=ee("span");l.innerHTML=r,B(o)&&l.appendChild(o),s.appendChild(l),Object.defineProperty(s,"checked",{enumerable:!0,get:()=>"true"===s.getAttribute("aria-checked"),set(e){e&&Array.from(s.parentNode.children).filter((e=>ce(e,'[role="menuitemradio"]'))).forEach((e=>e.setAttribute("aria-checked","false"))),s.setAttribute("aria-checked",e?"true":"false")}}),this.listeners.bind(s,"click keyup",(t=>{if(!H(t)||32===t.which){switch(t.preventDefault(),t.stopPropagation(),s.checked=!0,n){case"language":this.currentTrack=Number(e);break;
2case"quality":this.quality=e;break;case"speed":this.speed=parseFloat(e)}Ge.showMenuPanel.call(this,"home",H(t))}}),n,!1),Ge.bindMenuItemShortcuts.call(this,s,n),t.appendChild(s)},formatTime(e=0,t=!1){return $(e)?Ve(e,Ue(this.duration)>0,t):e},updateTimeDisplay(e=null,t=0,n=!1){B(e)&&$(t)&&(e.innerText=Ge.formatTime(t,n))},updateVolume(){this.supported.ui&&(B(this.elements.inputs.volume)&&Ge.setRange.call(this,this.elements.inputs.volume,this.muted?0:this.volume),B(this.elements.buttons.mute)&&(this.elements.buttons.mute.pressed=this.muted||0===this.volume))},setRange(e,t=0){B(e)&&(e.value=t,Ge.updateRangeFill.call(this,e))},updateProgress(e){if(!this.supported.ui||!q(e))return;let t=0;const n=(e,t)=>{const n=$(t)?t:0,r=B(e)?e:this.elements.display.buffer;if(B(r)){r.value=n;const e=r.getElementsByTagName("span")[0];B(e)&&(e.childNodes[0].nodeValue=n)}};if(e)switch(e.type){case"timeupdate":case"seeking":case"seeked":r=this.currentTime,o=this.duration,t=0===r||0===o||Number.isNaN(r)||Number.isNaN(o)?0:(r/o*100).toFixed(2),"timeupdate"===e.type&&Ge.setRange.call(this,this.elements.inputs.seek,t);break;case"playing":case"progress":n(this.elements.display.buffer,100*this.buffered)}var r,o},updateRangeFill(e){const t=q(e)?e.target:e;if(B(t)&&"range"===t.getAttribute("type")){if(ce(t,this.config.selectors.inputs.seek)){t.setAttribute("aria-valuenow",this.currentTime);const e=Ge.formatTime(this.currentTime),n=Ge.formatTime(this.duration),r=Be.get("seekLabel",this.config);t.setAttribute("aria-valuetext",r.replace("{currentTime}",e).replace("{duration}",n))}else if(ce(t,this.config.selectors.inputs.volume)){const e=100*t.value;t.setAttribute("aria-valuenow",e),t.setAttribute("aria-valuetext",`${e.toFixed(1)}%`)}else t.setAttribute("aria-valuenow",t.value);K.isWebkit&&t.style.setProperty("--value",t.value/t.max*100+"%")}},updateSeekTooltip(e){if(!this.config.tooltips.seek||!B(this.elements.inputs.seek)||!B(this.elements.display.seekTooltip)||0===this.duration)return;const t=`${this.config.classNames.tooltip}--visible`,n=e=>se(this.elements.display.seekTooltip,t,e);if(this.touch)return void n(!1);let r=0;const o=this.elements.progress.getBoundingClientRect();if(q(e))r=100/o.width*(e.pageX-o.left);else{if(!le(this.elements.display.seekTooltip,t))return;r=parseFloat(this.elements.display.seekTooltip.style.left,10)}r<0?r=0:r>100&&(r=100),Ge.updateTimeDisplay.call(this,this.elements.display.seekTooltip,this.duration/100*r),this.elements.display.seekTooltip.style.left=`${r}%`,q(e)&&["mouseenter","mouseleave"].includes(e.type)&&n("mouseenter"===e.type)},timeUpdate(e){const t=!B(this.elements.display.duration)&&this.config.invertTime;Ge.updateTimeDisplay.call(this,this.elements.display.currentTime,t?this.duration-this.currentTime:this.currentTime,t),e&&"timeupdate"===e.type&&this.media.seeking||Ge.updateProgress.call(this,e)},durationUpdate(){if(!this.supported.ui||!this.config.invertTime&&this.currentTime)return;if(this.duration>=2**32)return ae(this.elements.display.currentTime,!0),void ae(this.elements.progress,!0);B(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute("aria-valuemax",this.duration);const e=B(this.elements.display.duration);!e&&this.config.displayDuration&&this.paused&&Ge.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),e&&Ge.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),Ge.updateSeekTooltip.call(this)},toggleMenuButton(e,t){ae(this.elements.settings.buttons[e],!t)},updateSetting(e,t,n){const r=this.elements.settings.panels[e];let o=null,i=t;if("captions"===e)o=this.currentTrack;else{if(o=G(n)?this[e]:n,G(o)&&(o=this.config[e].default),!G(this.options[e])&&!this.options[e].includes(o))return void this.debug.warn(`Unsupported value of '${o}' for ${e}`);if(!this.config[e].options.includes(o))return void this.debug.warn(`Disabled value of '${o}' for ${e}`)}if(B(i)||(i=r&&r.querySelector('[role="menu"]')),!B(i))return;this.elements.settings.buttons[e].querySelector(`.${this.config.classNames.menu.value}`).innerHTML=Ge.getLabel.call(this,e,o);const a=i&&i.querySelector(`[value="${o}"]`);B(a)&&(a.checked=!0)},getLabel(e,t){switch(e){case"speed":return 1===t?Be.get("normal",this.config):`${t}×`;case"quality":if($(t)){const e=Be.get(`qualityLabel.${t}`,this.config);return e.length?e:`${t}p`}return Re(t);case"captions":return Ke.getLabel.call(this);default:return null}},setQualityMenu(e){if(!B(this.elements.settings.panels.quality))return;const t="quality",n=this.elements.settings.panels.quality.querySelector('[role="menu"]');j(e)&&(this.options.quality=Ce(e).filter((e=>this.config.quality.options.includes(e))));const r=!G(this.options.quality)&&this.options.quality.length>1;if(Ge.toggleMenuButton.call(this,t,r),re(n),Ge.checkMenu.call(this),!r)return;const o=e=>{const t=Be.get(`qualityBadge.${e}`,this.config);return t.length?Ge.createBadge.call(this,t):null};this.options.quality.sort(((e,t)=>{const n=this.config.quality.options;return n.indexOf(e)>n.indexOf(t)?1:-1}
vendor: 18,226 bytes, line 2
2)).forEach((e=>{Ge.createMenuItem.call(this,{value:e,list:n,type:t,title:Ge.getLabel.call(this,"quality",e),badge:o(e)})})),Ge.updateSetting.call(this,t,n)},setCaptionsMenu(){if(!B(this.elements.settings.panels.captions))return;const e="captions",t=this.elements.settings.panels.captions.querySelector('[role="menu"]'),n=Ke.getTracks.call(this),r=Boolean(n.length);if(Ge.toggleMenuButton.call(this,e,r),re(t),Ge.checkMenu.call(this),!r)return;const o=n.map(((e,n)=>({value:n,checked:this.captions.toggled&&this.currentTrack===n,title:Ke.getLabel.call(this,e),badge:e.language&&Ge.createBadge.call(this,e.language.toUpperCase()),list:t,type:"language"})));o.unshift({value:-1,checked:!this.captions.toggled,title:Be.get("disabled",this.config),list:t,type:"language"}),o.forEach(Ge.createMenuItem.bind(this)),Ge.updateSetting.call(this,e,t)},setSpeedMenu(){if(!B(this.elements.settings.panels.speed))return;const e="speed",t=this.elements.settings.panels.speed.querySelector('[role="menu"]');this.options.speed=this.options.speed.filter((e=>e>=this.minimumSpeed&&e<=this.maximumSpeed));const n=!G(this.options.speed)&&this.options.speed.length>1;Ge.toggleMenuButton.call(this,e,n),re(t),Ge.checkMenu.call(this),n&&(this.options.speed.forEach((n=>{Ge.createMenuItem.call(this,{value:n,list:t,type:e,title:Ge.getLabel.call(this,"speed",n)})})),Ge.updateSetting.call(this,e,t))},checkMenu(){const{buttons:e}=this.elements.settings,t=!G(e)&&Object.values(e).some((e=>!e.hidden));ae(this.elements.settings.menu,!t)},focusFirstMenuItem(e,t=!1){if(this.elements.settings.popup.hidden)return;let n=e;B(n)||(n=Object.values(this.elements.settings.panels).find((e=>!e.hidden)));const r=n.querySelector('[role^="menuitem"]');fe.call(this,r,t)},toggleMenu(e){const{popup:t}=this.elements.settings,n=this.elements.buttons.settings;if(!B(t)||!B(n))return;const{hidden:r}=t;let o=r;if(R(e))o=e;else if(H(e)&&27===e.which)o=!1;else if(q(e)){const r=L(e.composedPath)?e.composedPath()[0]:e.target,i=t.contains(r);if(i||!i&&e.target!==n&&o)return}n.setAttribute("aria-expanded",o),ae(t,!o),se(this.elements.container,this.config.classNames.menu.open,o),o&&H(e)?Ge.focusFirstMenuItem.call(this,null,!0):o||r||fe.call(this,n,H(e))},getMenuSize(e){const t=e.cloneNode(!0);t.style.position="absolute",t.style.opacity=0,t.removeAttribute("hidden"),e.parentNode.appendChild(t);const n=t.scrollWidth,r=t.scrollHeight;return ne(t),{width:n,height:r}},showMenuPanel(e="",t=!1){const n=this.elements.container.querySelector(`#plyr-settings-${this.id}-${e}`);if(!B(n))return;const r=n.parentNode,o=Array.from(r.children).find((e=>!e.hidden));if(he.transitions&&!he.reducedMotion){r.style.width=`${o.scrollWidth}px`,r.style.height=`${o.scrollHeight}px`;const e=Ge.getMenuSize.call(this,n),t=e=>{e.target===r&&["width","height"].includes(e.propertyName)&&(r.style.width="",r.style.height="",ye.call(this,r,W,t))};ge.call(this,r,W,t),r.style.width=`${e.width}px`,r.style.height=`${e.height}px`}ae(o,!0),ae(n,!1),Ge.focusFirstMenuItem.call(this,n,t)},setDownloadUrl(){const e=this.elements.buttons.download;B(e)&&e.setAttribute("href",this.download)},create(e){const{bindMenuItemShortcuts:t,createButton:n,createProgress:r,createRange:o,createTime:i,setQualityMenu:a,setSpeedMenu:s,showMenuPanel:l}=Ge;this.elements.controls=null,j(this.config.controls)&&this.config.controls.includes("play-large")&&this.elements.container.appendChild(n.call(this,"play-large"));const c=ee("div",ie(this.config.selectors.controls.wrapper));this.elements.controls=c;const u={class:"plyr__controls__item"};return Ce(j(this.config.controls)?this.config.controls:[]).forEach((a=>{if("restart"===a&&c.appendChild(n.call(this,"restart",u)),"rewind"===a&&c.appendChild(n.call(this,"rewind",u)),"play"===a&&c.appendChild(n.call(this,"play",u)),"fast-forward"===a&&c.appendChild(n.call(this,"fast-forward",u)),"progress"===a){const t=ee("div",{class:`${u.class} plyr__progress__container`}),n=ee("div",ie(this.config.selectors.progress));if(n.appendChild(o.call(this,"seek",{id:`plyr-seek-${e.id}`})),n.appendChild(r.call(this,"buffer")),this.config.tooltips.seek){const e=ee("span",{class:this.config.classNames.tooltip},"00:00");n.appendChild(e),this.elements.display.seekTooltip=e}this.elements.progress=n,t.appendChild(this.elements.progress),c.appendChild(t)}if("current-time"===a&&c.appendChild(i.call(this,"currentTime",u)),"duration"===a&&c.appendChild(i.call(this,"duration",u)),"mute"===a||"volume"===a){let{volume:t}=this.elements;if(B(t)&&c.contains(t)||(t=ee("div",J({},u,{class:`${u.class} plyr__volume`.trim()})),this.elements.volume=t,c.appendChild(t)),"mute"===a&&t.appendChild(n.call(this,"mute")),"volume"===a&&!K.isIos){const n={max:1,step:.05,value:this.config.volume};t.appendChild(o.call(this,"volume",J(n,{id:`plyr-volume-${e.id}`})))}}if("captions"===a&&c.appendChild(n.call(this,"captions",u)),"settings"===a&&!G(this.config.settings)){const r=ee("div",J({},u,{class:`${u.class} plyr__menu`.trim(),hidden:""}));r.appendChild(n.call(this,"settings",{"aria-haspopup":!0,"aria-controls":`plyr-settings-${e.id}`,"aria-expanded":!1}));const o=ee("div",{class:"plyr__menu__container",id:`plyr-settings-${e.id}`,hidden:""}),i=ee("div"),a=ee("div",{id:`plyr-settings-${e.id}-home`}),s=ee("div",{role:"menu"});a.appendChild(s),i.appendChild(a),this.elements.settings.panels.home=a,this.config.settings.forEach((n=>{const r=ee("button",J(ie(this.config.selectors.buttons.settings),{type:"button",class:`${this.config.classNames.control} ${this.config.classNames.control}--forward`,role:"menuitem","aria-haspopup":!0,hidden:""}));t.call(this,r,n),ge.call(this,r,"click",(()=>{l.call(this,n,!1)}));const o=ee("span",null,Be.get(n,this.config)),a=ee("span",{class:this.config.classNames.menu.value});a.innerHTML=e[n],o.appendChild(a),r.appendChild(o),s.appendChild(r);const c=ee("div",{id:`plyr-settings-${e.id}-${n}`,hidden:""}),u=ee("button",{type:"button",class:`${this.config.classNames.control} ${this.config.classNames.control}--back`});u.appendChild(ee("span",{"aria-hidden":!0},Be.get(n,this.config))),u.appendChild(ee("span",{class:this.config.classNames.hidden},Be.get("menuBack",this.config))),ge.call(this,c,"keydown",(e=>{37===e.which&&(e.preventDefault(),e.stopPropagation(),l.call(this,"home",!0))}),!1),ge.call(this,u,"click",(()=>{l.call(this,"home",!1)})),c.appendChild(u),c.appendChild(ee("div",{role:"menu"})),i.appendChild(c),this.elements.settings.buttons[n]=r,this.elements.settings.panels[n]=c})),o.appendChild(i),r.appendChild(o),c.appendChild(r),this.elements.settings.popup=o,this.elements.settings.menu=r}if("pip"===a&&he.pip&&c.appendChild(n.call(this,"pip",u)),"airplay"===a&&he.airplay&&c.appendChild(n.call(this,"airplay",u)),"download"===a){const e=J({},u,{element:"a",href:this.download,target:"_blank"});this.isHTML5&&(e.download="");const{download:t}=this.config.urls;!V(t)&&this.isEmbed&&J(e,{icon:`logo-${this.provider}`,label:this.provider}),c.appendChild(n.call(this,"download",e))}"fullscreen"===a&&c.appendChild(n.call(this,"fullscreen",u))})),this.isHTML5&&a.call(this,Me.getQualityOptions.call(this)),s.call(this),c},inject(){if(this.config.loadSprite){const e=Ge.getIconUrl.call(this);e.cors&&ze(e.url,"sprite-plyr")}this.id=Math.floor(1e4*Math.random());let e=null;this.elements.controls=null;const t={id:this.id,seektime:this.config.seekTime,title:this.config.title};let n,r=!0;if(L(this.config.controls)&&(this.config.controls=this.config.controls.call(this,t)),this.config.controls||(this.config.controls=[]),B(this.config.controls)||N(this.config.controls)?e=this.config.controls:(e=Ge.create.call(this,{id:this.id,seektime:this.config.seekTime,speed:this.speed,quality:this.quality,captions:Ke.getLabel.call(this)}),r=!1),r&&N(this.config.controls)&&(e=(e=>{let n=e;return Object.entries(t).forEach((([e,t])=>{n=Ne(n,`{${e}}`,t)})),n})(e)),N(this.config.selectors.controls.container)&&(n=document.querySelector(this.config.selectors.controls.container)),B(n)||(n=this.elements.container),n[B(e)?"insertAdjacentElement":"insertAdjacentHTML"]("afterbegin",e),B(this.elements.controls)||Ge.findElements.call(this),!G(this.elements.buttons)){const e=e=>{const t=this.config.classNames.controlPressed;Object.defineProperty(e,"pressed",{enumerable:!0,get:()=>le(e,t),set(n=!1){se(e,t,n)}})};Object.values(this.elements.buttons).filter(Boolean).forEach((t=>{j(t)||F(t)?Array.from(t).filter(Boolean).forEach(e):e(t)}))}if(K.isEdge&&Y(n),this.config.tooltips.controls){const{classNames:e,selectors:t}=this.config,n=`${t.controls.wrapper} ${t.labels} .${e.hidden}`,r=ue.call(this,n);Array.from(r).forEach((e=>{se(e,this.config.classNames.hidden,!1),se(e,this.config.classNames.tooltip,!0)}))}}};function We(e,t=!0){let n=e;if(t){const e=document.createElement("a");e.href=n,n=e.href}try{return new URL(n)}catch(e){return null}}function Ye(e){const t=new URLSearchParams;return M(e)&&Object.entries(e).forEach((([e,n])=>{t.set(e,n)})),t}const Ke={setup(){if(!this.supported.ui)return;if(!this.isVideo||this.isYouTube||this.isHTML5&&!he.textTracks)return void(j(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&Ge.setCaptionsMenu.call(this));var e,t;if(B(this.elements.captions)||(this.elements.captions=ee("div",ie(this.config.selectors.captions)),e=this.elements.captions,t=this.elements.wrapper,B(e)&&B(t)&&t.parentNode.insertBefore(e,t.nextSibling)),K.isIE&&window.URL){const e=this.media.querySelectorAll("track");Array.from(e).forEach((e=>{const t=e.getAttribute("src"),n=We(t);null!==n&&n.hostname!==window.location.href.hostname&&["http:","https:"].includes(n.protocol)&&He(t,"blob").then((t=>{e.setAttribute("src",window.URL.createObjectURL(t))})).catch((()=>{ne(e)}))}))}const n=Ce((navigator.languages||[navigator.language||navigator.userLanguage||"en"]).map((e=>e.split("-")[0])));let r=(this.storage.get("language")||this.config.captions.language||"auto").toLowerCase();"auto"===r&&([r]=n);let o=this.storage.get("captions");if(R(o)||({active:o}=this.config.captions),Object.assign(this.captions,{toggled:!1,active:o,language:r,languages:n}),this.isHTML5){const e=this.config.captions.update?"addtrack removetrack":"removetrack";ge.call(this,this.media.textTracks,e,Ke.update.bind(this))}setTimeout(Ke.update.bind(this),0)},update(){const e=Ke.getTracks.call(this,!0),{active:t,language:n,meta:r,currentTrackNode:o}=this.captions,i=Boolean(e.find((e=>e.language===n)));this.isHTML5&&this.isVideo&&e.filter((e=>!r.get(e))).forEach((e=>{this.debug.log("Track added",e),r.set(e,{default:"showing"===e.mode}),"showing"===e.mode&&(e.mode="hidden"),ge.call(this,e,"cuechange",(()=>Ke.updateCues.call(this)))})),(i&&this.language!==n||!e.includes(o))&&(Ke.setLanguage.call(this,n),Ke.toggle.call(this,t&&i)),this.elements&&se(this.elements.container,this.config.classNames.captions.enabled,!G(e)),j(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&Ge.setCaptionsMenu.call(this)},toggle(e,t=!0){if(!this.supported.ui)return;const{toggled:n}=this.captions,r=this.config.classNames.captions.active,o=P(e)?!n:e;if(o!==n){if(t||(this.captions.active=o,this.storage.set({captions:o})),!this.language&&o&&!t){const e=Ke.getTracks.call(this),t=Ke.findTrack.call(this,[this.captions.language,...this.captions.languages],!0);return this.captions.language=t.language,void Ke.set.call(this,e.indexOf(t))}this.elements.buttons.captions&&(this.elements.buttons.captions.pressed=o),se(this.elements.container,r,o),this.captions.toggled=o,Ge.updateSetting.call(this,"captions"),_e.call(this,this.media,o?"captionsenabled":"captionsdisabled")}setTimeout((()=>{o&&this.captions.toggled&&(this.captions.currentTrackNode.mode="hidden")}))},set(e,t=!0){const n=Ke.getTracks.call(this);if(-1!==e)if($(e))if(e in n){if(this.captions.currentTrack!==e){this.captions.currentTrack=e;const r=n[e],{language:o}=r||{};this.captions.currentTrackNode=r,Ge.updateSetting.call(this,"captions"),t||(this.captions.language=o,this.storage.set({language:o})),this.isVimeo&&this.embed.enableTextTrack(o),_e.call(this,this.media,"languagechange")}Ke.toggle.call(this,!0,t),this.isHTML5&&this.isVideo&&Ke.updateCues.call(this)}else this.debug.warn("Track not found",e);else this.debug.warn("Invalid caption argument",e);else Ke.toggle.call(this,!1,t)},setLanguage(e,t=!0){if(!N(e))return void this.debug.warn("Invalid language argument",e);const n=e.toLowerCase();this.captions.language=n;const r=Ke.getTracks.call(this),o=Ke.findTrack.call(this,[n]);Ke.set.call(this,r.indexOf(o),t)},getTracks(e=!1){return Array.from((this.media||{}).textTracks||[]).filter((t=>!this.isHTML5||e||this.captions.meta.has(t))).filter((e=>["captions","subtitles"].includes(e.kind)))},findTrack(e,t=!1){const n=Ke.getTracks.call(this),r=e=>Number((this.captions.meta.get(e)||{}).default),o=Array.from(n).sort(((e,t)=>r(t)-r(e)));let i;return e.every((e=>(i=o.find((t=>t.language===e)),!i))),i||(t?o[0]:void 0)},getCurrentTrack(){return Ke.getTracks.call(this)[this.currentTrack]},getLabel(e){let t=e;return!z(t)&&he.textTracks&&this.captions.toggled&&(t=Ke.getCurrentTrack.call(this)),z(t)?G(t.label)?G(t.language)?Be.get("enabled",this.config):e.language.toUpperCase():t.label:Be.get("disabled",this.config)},updateCues(e){if(!this.supported.ui)return;if(!B(this.elements.captions))return void this.debug.warn("No captions element to render to");if(!P(e)&&!Array.isArray(e))return void this.debug.warn("updateCues: Invalid input",e);let t=e;if(!t){const e=Ke.getCurrentTrack.call(this);t=Array.from((e||{}).activeCues||[]).map((e=>e.getCueAsHTML())).map(je)}const n=t.map((e=>e.trim())).join("\n");if(n!==this.elements.captions.innerHTML){re(this.elements.captions);const e=ee("span",ie(this.config.selectors.caption));e.innerHTML=n,this.elements.captions.appendChild(e),_e.call(this,this.media,"cuechange")}}},Qe={enabled:!0,title:"",debug:!1,autoplay:!1,autopause:!0,playsinline:!0,seekTime:10,volume:1,muted:!1,duration:null,displayDuration:!0,invertTime:!0,toggleInvert:!0,ratio:null,clickToPlay:!0,hideControls:!0,resetOnEnd:!1,disableContextMenu:!0,loadSprite:!0,iconPrefix:"plyr",iconUrl:"https://cdn.plyr.io/3.6.9/plyr.svg",blankVideo:"https://cdn.plyr.io/static/blank.mp4",quality:{default:576,options:[4320,2880,2160,1440,1080,720,576,480,360,240],forced:!1,onChange:null},loop:{active:!1},speed:{selected:1,options:[.5,.75,1,1.25,1.5,1.75,2,4]},keyboard:{focused:!0,global:!1},tooltips:{controls:!1,seek:!0},captions:{active:!1,language:"auto",update:!1},fullscreen:{enabled:!0,fallback:!0,iosNative:!1},storage:{enabled:!0,key:"plyr"},controls:["play-large","play","progress","current-time","mute","volume","captions","settings","pip","airplay","fullscreen"],settings:["captions","quality","speed"],i18n:{restart:"Restart",rewind:"Rewind {seektime}s",play:"Play",pause:"Pause",fastForward:"Forward {seektime}s",seek:"Seek",seekLabel:"{currentTime} of {duration}",played:"Played",buffered:"Buffered",currentTime:"Current time",duration:"Duration",volume:"Volume",mute:"Mute",unmute:"Unmute",enableCaptions:"Enable captions",disableCaptions:"Disable captions",download:"Download",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",frameTitle:"Player for {title}",captions:"Captions",settings:"Settings",pip:"PIP",menuBack:"Go back to previous menu",speed:"Speed",normal:"Normal",quality:"Quality",loop:"Loop",start:"Start",end:"End",all:"All",reset:"Reset",disabled:"Disabled",enabled:"Enabled",advertisement:"Ad",qualityBadge:{2160:"4K",1440:"HD",1080:"HD",720:"HD",576:"SD",480:"SD"}},urls:{download:null,vimeo:{sdk:"https://player.vimeo.com/api/player.js",iframe:"https://player.vimeo.com/video/{0}?{1}",api:"https://vimeo.com/api/oembed.json?url={0}"},youtube:{sdk:"https://www.youtube.com/iframe_api",api:"https://noembed.com/embed?url=https://www.youtube.com/watch?v={0}"},googleIMA:{sdk:"https://imasdk.googleapis.com/js/sdkloader/ima3.js"}},listeners:{seek:null,play:null,pause:null,restart:null,rewind:null,fastForward:null,mute:null,volume:null,captions:null,download:null,fullscreen:null,pip:null,airplay:null,speed:null,quality:null,loop:null,language:null},events:["ended","progress","stalled","playing","waiting","canplay","canplaythrough","loadstart","loadeddata","loadedmetadata","timeupdate","volumechange","play","pause","error","seeking","seeked","emptied","ratechange","cuechange","download","enterfullscreen","exitfullscreen","captionsenabled","captionsdisabled","languagechange","controlshidden","controlsshown","ready","statechange","qualitychange","adsloaded","adscontentpause","adscontentresume","adstarted","adsmidpoint","adscomplete","adsallcomplete","adsimpression","adsclick"],selectors:{editable:"input, textarea, select, [contenteditable]",container:".plyr",controls:{container:null,wrapper:".plyr__controls"},labels:"[data-plyr]",buttons:{play:'[data-plyr="play"]',pause:'[data-plyr="pause"]',restart:'[data-plyr="restart"]',rewind:'[data-plyr="rewind"]',fastForward:'[data-plyr="fast-forward"]',mute:'[data-plyr="mute"]',captions:'[data-plyr="captions"]',download:'[data-plyr="download"]',fullscreen:'[data-plyr="fullscreen"]',pip:'[data-plyr="pip"]',airplay:'[data-plyr="airplay"]',settings:'[data-plyr="settings"]',loop:'[data-plyr="loop"]'},inputs:{seek:'[data-plyr="seek"]',volume:'[data-plyr="volume"]',speed:'[data-plyr="speed"]',language:'[data-plyr="language"]',quality:'[data-plyr="quality"]'},display:{currentTime:".plyr__time--current",duration:".plyr__time--duration",buffer:".plyr__progress__buffer",loop:".plyr__progress__loop",volume:".plyr__volume--display"},progress:".plyr__progress",captions:".plyr__captions",caption:".plyr__caption"},classNames:{type:"plyr--{0}",provider:"plyr--{0}",video:"plyr__video-wrapper",embed:"plyr__video-embed",videoFixedRatio:"plyr__video-wrapper--fixed-ratio",embedContainer:"plyr__video-embed__container",poster:"plyr__poster",posterEnabled:"plyr__poster-enabled",ads:"plyr__ads",control:"plyr__control",controlPressed:"plyr__control--pressed",playing:"plyr--playing",paused:"plyr--paused",stopped:"plyr--stopped",loading:"plyr--loading",hover:"plyr--hover",tooltip:"plyr__tooltip",cues:"plyr__cues",hidden:"plyr__sr-only",hideControls:"plyr--hide-control
2s",isIos:"plyr--is-ios",isTouch:"plyr--is-touch",uiSupported:"plyr--full-ui",noTransition:"plyr--no-transition",display:{time:"plyr__time"},menu:{value:"plyr__menu__value",badge:"plyr__badge",open:"plyr--menu-open"},captions:{enabled:"plyr--captions-enabled",active:"plyr--captions-active"},fullscreen:{enabled:"plyr--fullscreen-enabled",fallback:"plyr--fullscreen-fallback"},pip:{supported:"plyr--pip-supported",active:"plyr--pip-active"},airplay:{supported:"plyr--airplay-supported",active:"plyr--airplay-active"},tabFocus:"plyr__tab-focus",previewThumbnails:{thumbContainer:"plyr__preview-thumb",thumbContainerShown:"plyr__preview-thumb--is-shown",imageContainer:"plyr__preview-thumb__image-container",timeContainer:"plyr__preview-thumb__time-container",scrubbingContainer:"plyr__preview-scrubbing",scrubbingContainerShown:"plyr__preview-scrubbing--is-shown"}},attributes:{embed:{provider:"data-plyr-provider",id:"data-plyr-embed-id",hash:"data-plyr-embed-hash"}},ads:{enabled:!1,publisherId:"",tagUrl:""},previewThumbnails:{enabled:!1,src:""},vimeo:{byline:!1,portrait:!1,title:!1,speed:!0,transparent:!1,customControls:!0,referrerPolicy:null,premium:!1},youtube:{rel:0,showinfo:0,iv_load_policy:3,modestbranding:1,customControls:!0,noCookie:!1}},Je="picture-in-picture",Ze="inline",Xe={html5:"html5",youtube:"youtube",vimeo:"vimeo"},et="audio",tt="video",nt=()=>{};class rt{constructor(e=!1){this.enabled=window.console&&e,this.enabled&&this.log("Debugging enabled")}get log(){return this.enabled?Function.prototype.bind.call(console.log,console):nt}get warn(){return this.enabled?Function.prototype.bind.call(console.warn,console):nt}get error(){return this.enabled?Function.prototype.bind.call(console.error,console):nt}}class ot{constructor(t){e(this,"onChange",(()=>{if(!this.enabled)return;const e=this.player.elements.buttons.fullscreen;B(e)&&(e.pressed=this.active);const t=this.target===this.player.media?this.target:this.player.elements.container;_e.call(this.player,t,this.active?"enterfullscreen":"exitfullscreen",!0)})),e(this,"toggleFallback",((e=!1)=>{if(e?this.scrollPosition={x:window.scrollX||0,y:window.scrollY||0}:window.scrollTo(this.scrollPosition.x,this.scrollPosition.y),document.body.style.overflow=e?"hidden":"",se(this.target,this.player.config.classNames.fullscreen.fallback,e),K.isIos){let t=document.head.querySelector('meta[name="viewport"]');const n="viewport-fit=cover";t||(t=document.createElement("meta"),t.setAttribute("name","viewport"));const r=N(t.content)&&t.content.includes(n);e?(this.cleanupViewport=!r,r||(t.content+=`,${n}`)):this.cleanupViewport&&(t.content=t.content.split(",").filter((e=>e.trim()!==n)).join(","))}this.onChange()})),e(this,"trapFocus",(e=>{if(K.isIos||!this.active||"Tab"!==e.key||9!==e.keyCode)return;const t=document.activeElement,n=ue.call(this.player,"a[href], button:not(:disabled), input:not(:disabled), [tabindex]"),[r]=n,o=n[n.length-1];t!==o||e.shiftKey?t===r&&e.shiftKey&&(o.focus(),e.preventDefault()):(r.focus(),e.preventDefault())})),e(this,"update",(()=>{if(this.enabled){let e;e=this.forceFallback?"Fallback (forced)":ot.native?"Native":"Fallback",this.player.debug.log(`${e} fullscreen enabled`)}else this.player.debug.log("Fullscreen not supported and fallback disabled");se(this.player.elements.container,this.player.config.classNames.fullscreen.enabled,this.enabled)})),e(this,"enter",(()=>{this.enabled&&(K.isIos&&this.player.config.fullscreen.iosNative?this.player.isVimeo?this.player.embed.requestFullscreen():this.target.webkitEnterFullscreen():!ot.native||this.forceFallback?this.toggleFallback(!0):this.prefix?G(this.prefix)||this.target[`${this.prefix}Request${this.property}`]():this.target.requestFullscreen({navigationUI:"hide"}))})),e(this,"exit",(()=>{if(this.enabled)if(K.isIos&&this.player.config.fullscreen.iosNative)this.target.webkitExitFullscreen(),xe(this.player.play());else if(!ot.native||this.forceFallback)this.toggleFallback(!1);else if(this.prefix){if(!G(this.prefix)){const e="moz"===this.prefix?"Cancel":"Exit";document[`${this.prefix}${e}${this.property}`]()}}else(document.cancelFullScreen||document.exitFullscreen).call(document)})),e(this,"toggle",(()=>{this.active?this.exit():this.enter()})),this.player=t,this.prefix=ot.prefix,this.property=ot.property,this.scrollPosition={x:0,y:0},this.forceFallback="force"===t.config.fullscreen.fallback,this.player.elements.fullscreen=t.config.fullscreen.container&&function(e,t){const{prototype:n}=Element;return(n.closest||function(){let e=this;do{if(ce.matches(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}).call(e,t)}(this.player.elements.container,t.config.fullscreen.container),ge.call(this.player,document,"ms"===this.prefix?"MSFullscreenChange":`${this.prefix}fullscreenchange`,(()=>{this.onChange()})),ge.call(this.player,this.player.elements.container,"dblclick",(e=>{B(this.player.elements.controls)&&this.player.elements.controls.contains(e.target)||this.player.listeners.proxy(e,this.toggle,"fullscreen")})),ge.call(this,this.player.elements.container,"keydown",(e=>this.trapFocus(e))),this.update()}static get native(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}get usingNative(){return ot.native&&!this.forceFallback}static get prefix(){if(L(document.exitFullscreen))return"";let e="";return["webkit","moz","ms"].some((t=>!(!L(document[`${t}ExitFullscreen`])&&!L(document[`${t}CancelFullScreen`])||(e=t,0)))),e}static get property(){return"moz"===this.prefix?"FullScreen":"Fullscreen"}get enabled(){return(ot.native||this.player.config.fullscreen.fallback)&&this.player.config.fullscreen.enabled&&this.player.supported.ui&&this.player.isVideo}get active(){if(!this.enabled)return!1;if(!ot.native||this.forceFallback)return le(this.target,this.player.config.classNames.fullscreen.fallback);const e=this.prefix?this.target.getRootNode()[`${this.prefix}${this.property}Element`]:this.target.getRootNode().fullscreenElement;return e&&e.shadowRoot?e===this.target.getRootNode().host:e===this.target}get target(){return K.isIos&&this.player.config.fullscreen.iosNative?this.player.media:this.player.elements.fullscreen||this.player.elements.container}}
vendor: 2,323 bytes, line 2
2function it(e,t=1){return new Promise(((n,r)=>{const o=new Image,i=()=>{delete o.onload,delete o.onerror,(o.naturalWidth>=t?n:r)(o)};Object.assign(o,{onload:i,onerror:i,src:e})}))}const at={addStyleHook(){se(this.elements.container,this.config.selectors.container.replace(".",""),!0),se(this.elements.container,this.config.classNames.uiSupported,this.supported.ui)},toggleNativeControls(e=!1){e&&this.isHTML5?this.media.setAttribute("controls",""):this.media.removeAttribute("controls")},build(){if(this.listeners.media(),!this.supported.ui)return this.debug.warn(`Basic support only for ${this.provider} ${this.type}`),void at.toggleNativeControls.call(this,!0);B(this.elements.controls)||(Ge.inject.call(this),this.listeners.controls()),at.toggleNativeControls.call(this),this.isHTML5&&Ke.setup.call(this),this.volume=null,this.muted=null,this.loop=null,this.quality=null,this.speed=null,Ge.updateVolume.call(this),Ge.timeUpdate.call(this),Ge.durationUpdate.call(this),at.checkPlaying.call(this),se(this.elements.container,this.config.classNames.pip.supported,he.pip&&this.isHTML5&&this.isVideo),se(this.elements.container,this.config.classNames.airplay.supported,he.airplay&&this.isHTML5),se(this.elements.container,this.config.classNames.isIos,K.isIos),se(this.elements.container,this.config.classNames.isTouch,this.touch),this.ready=!0,setTimeout((()=>{_e.call(this,this.media,"ready")}),0),at.setTitle.call(this),this.poster&&at.setPoster.call(this,this.poster,!1).catch((()=>{})),this.config.duration&&Ge.durationUpdate.call(this)},setTitle(){let e=Be.get("play",this.config);if(N(this.config.title)&&!G(this.config.title)&&(e+=`, ${this.config.title}`),Array.from(this.elements.buttons.play||[]).forEach((t=>{t.setAttribute("aria-label",e)})),this.isEmbed){const e=de.call(this,"iframe");if(!B(e))return;const t=G(this.config.title)?"video":this.config.title,n=Be.get("frameTitle",this.config);e.setAttribute("title",n.replace("{title}",t))}},togglePoster(e){se(this.elements.container,this.config.classNames.posterEnabled,e)},setPoster(e,t=!0){return t&&this.poster?Promise.reject(new Error("Poster already set")):(this.media.setAttribute("data-poster",e),this.elements.poster.removeAttribute("hidden"),ke.call(this).then((()=>it(e))).catch((t=>{throw e===this.poster&&at.togglePoster.call(this,!1),t})).then((()=>
2{if(e!==this.poster)throw new Error("setPoster cancelled by later call to setPoster")})).then((()=>(Object.assign(this.elements.poster.style,{backgroundImage:`url('${e}')`,backgroundSize:""}),at.togglePoster.call(this,!0),e))))},checkPlaying(e){se(this.elements.container,this.config.classNames.playing,this.playing),se(this.elements.container,this.config.classNames.paused,this.paused),se(this.elements.container,this.config.classNames.stopped,this.stopped),Array.from(this.elements.buttons.play||[]).forEach((e=>{Object.assign(e,{pressed:this.playing}),e.setAttribute("aria-label",Be.get(this.playing?"pause":"play",this.config))})),q(e)&&"timeupdate"===e.type||at.toggleControls.call(this)},checkLoading(e){this.loading=["stalled","waiting"].includes(e.type),clearTimeout(this.timers.loading),this.timers.loading=setTimeout((()=>{se(this.elements.container,this.config.classNames.loading,this.loading),at.toggleControls.call(this)}),this.loading?250:0)},toggleControls(e){const{controls:t}=this.elements;if(t&&this.config.hideControls){const n=this.touch&&this.lastSeekTime+2e3>Date.now();this.toggleControls(Boolean(e||this.loading||this.paused||t.pressed||t.hover||n))}},migrateStyles(){Object.values({...this.media.style}).filter((e=>!G(e)&&N(e)&&e.startsWith("--plyr"))).forEach((e=>{this.elements.container.style.setProperty(e,this.media.style.getPropertyValue(e)),this.media.style.removeProperty(e)})),G(this.media.style)&&this.media.removeAttribute("style")}};class st{constructor(t){e(this,"firstTouch",(()=>{const{player:e}=this,{elements:t}=e;e.touch=!0,se(t.container,e.config.classNames.isTouch,!0)})),e(this,"setTabFocus",(e=>{const{player:t}=this,{elements:n}=t;if(clearTimeout(this.focusTimer),"keydown"===e.type&&9!==e.which)return;"keydown"===e.type&&(this.lastKeyDown=e.timeStamp);const r=e.timeStamp-this.lastKeyDown<=20;("focus"!==e.type||r)&&((()=>{const e=t.config.classNames.tabFocus;se(ue.call(t,`.${e}`),e,!1)})(),"focusout"!==e.type&&(this.focusTimer=setTimeout((()=>{const e=document.activeElement;n.container.contains(e)&&se(document.activeElement,t.config.classNames.tabFocus,!0)}),10)))})),e(this,"global",((e=!0)=>{const{player:t}=this;t.config.keyboard.global&&ve.call(t,window,"keydown keyup",this.handleKey,e,!1),ve.call(t,document.body,"click",this.toggleMenu,e),be.call(t,document.body,"touchstart",this.firstTouch),ve.call(t,document.body,"keydown focus blur focusout",this.setTabFocus,e,!1,!0)})),e(this,"container",(()=>{const{player:e}=this,{config:t,elements:n,timers:r}=e;!t.keyboard.global&&t.keyboard.focused&&ge.call(e,n.container,"keydown keyup",this.handleKey,!1),ge.call(e,n.container,"mousemove mouseleave touchstart touchmove enterfullscreen exitfullscreen",(t=>{const{controls:o}=n;o&&"enterfullscreen"===t.type&&(o.pressed=!1,o.hover=!1);let i=0;["touchstart","touchmove","mousemove"].includes(t.type)&&(at.toggleControls.call(e,!0),i=e.touch?3e3:2e3),clearTimeout(r.controls),r.controls=setTimeout((()=>at.toggleControls.call(e,!1)),i)}));const o=()=>{if(!e.isVimeo||e.config.vimeo.premium)return;const t=n.wrapper,{active:r}=e.fullscreen,[o,i]=Ae.call(e),a=Ee(`aspect-ratio: ${o} / ${i}`);if(!r)return void(a?(t.style.width=null,t.style.height=null):(t.style.maxWidth=null,t.style.margin=null));const[s,l]=[Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)],c=s/l>o/i;a?(t.style.width=c?"auto":"100%",t.style.height=c?"100%":"auto"):(t.style.maxWidth=c?l/i*o+"px":null,t.style.margin=c?"0 auto":null)},i=()=>{clearTimeout(r.resized),r.resized=setTimeout(o,50)};ge.call(e,n.container,"enterfullscreen exitfullscreen",(t=>{const{target:r}=e.fullscreen;r===n.container&&(!e.isEmbed&&G(e.config.ratio)||(o(),("enterfullscreen"===t.type?ge:ye).call(e,window,"resize",i)))}))})),e(this,"media",(()=>{const{player:e}=this,{elements:t}=e;if(ge.call(e,e.media,"timeupdate seeking seeked",(t=>Ge.timeUpdate.call(e,t))),ge.call(e,e.media,"durationchange loadeddata loadedmetadata",(t=>Ge.durationUpdate.call(e,t))),ge.call(e,e.media,"ended",(()=>{e.isHTML5&&e.isVideo&&e.config.resetOnEnd&&(e.restart(),e.pause())})),ge.call(e,e.media,"progress playing seeking seeked",(t=>Ge.updateProgress.call(e,t))),ge.call(e,e.media,"volumechange",(t=>Ge.updateVolume.call(e,t))),ge.call(e,e.media,"playing play pause ended emptied timeupdate",(t=>at.checkPlaying.call(e,t))),ge.call(e,e.media,"waiting canplay seeked playing",(t=>at.checkLoading.call(e,t))),e.supported.ui&&e.config.clickToPlay&&!e.isAudio){const n=de.call(e,`.${e.config.classNames.video}`);
vendor: 2,179 bytes, line 2
2if(!B(n))return;ge.call(e,t.container,"click",(r=>{([t.container,n].includes(r.target)||n.contains(r.target))&&(e.touch&&e.config.hideControls||(e.ended?(this.proxy(r,e.restart,"restart"),this.proxy(r,(()=>{xe(e.play())}),"play")):this.proxy(r,(()=>{xe(e.togglePlay())}),"play")))}))}e.supported.ui&&e.config.disableContextMenu&&ge.call(e,t.wrapper,"contextmenu",(e=>{e.preventDefault()}),!1),ge.call(e,e.media,"volumechange",(()=>{e.storage.set({volume:e.volume,muted:e.muted})})),ge.call(e,e.media,"ratechange",(()=>{Ge.updateSetting.call(e,"speed"),e.storage.set({speed:e.speed})})),ge.call(e,e.media,"qualitychange",(t=>{Ge.updateSetting.call(e,"quality",null,t.detail.quality)})),ge.call(e,e.media,"ready qualitychange",(()=>{Ge.setDownloadUrl.call(e)}));const n=e.config.events.concat(["keyup","keydown"]).join(" ");ge.call(e,e.media,n,(n=>{let{detail:r={}}=n;"error"===n.type&&(r=e.media.error),_e.call(e,t.container,n.type,!0,r)}))})),e(this,"proxy",((e,t,n)=>{const{player:r}=this,o=r.config.listeners[n];let i=!0;L(o)&&(i=o.call(r,e)),!1!==i&&L(t)&&t.call(r,e)})),e(this,"bind",((e,t,n,r,o=!0)=>{const{player:i}=this,a=i.config.listeners[r],s=L(a);ge.call(i,e,t,(e=>this.proxy(e,n,r)),o&&!s)})),e(this,"controls",(()=>{const{player:e}=this,{elements:t}=e,n=K.isIE?"change":"input";if(t.buttons.play&&Array.from(t.buttons.play).forEach((t=>{this.bind(t,"click",(()=>{xe(e.togglePlay())}),"play")})),this.bind(t.buttons.restart,"click",e.restart,"restart"),this.bind(t.buttons.rewind,"click",(()=>{e.lastSeekTime=Date.now(),e.rewind()}),"rewind"),this.bind(t.buttons.fastForward,"click",(()=>{e.lastSeekTime=Date.now(),e.forward()}),"fastForward"),this.bind(t.buttons.mute,"click",(()=>{e.muted=!e.muted}),"mute"),this.bind(t.buttons.captions,"click",(()=>e.toggleCaptions())),this.bind(t.buttons.download,"click",(()=>{_e.call(e,e.media,"download")}),"download"),this.bind(t.buttons.fullscreen,"click",(()=>{e.fullscreen.toggle()}),"fullscreen"),this.bind(t.buttons.pip,"click",(()=>{e.pip="toggle"}),"pip"),this.bind(t.buttons.airplay,"click",e.airplay,"airplay"),this.bind(t.buttons.settings,"click",(t=>{t.stopPropagation(),t.preventDefault(),Ge.toggleMenu.call(e,t)}
2),null,!1),this.bind(t.buttons.settings,"keyup",(t=>{const n=t.which;[13,32].includes(n)&&(13!==n?(t.preventDefault(),t.stopPropagation(),Ge.toggleMenu.call(e,t)):Ge.focusFirstMenuItem.call(e,null,!0))}),null,!1),this.bind(t.settings.menu,"keydown",(t=>{27===t.which&&Ge.toggleMenu.call(e,t)})),this.bind(t.inputs.seek,"mousedown mousemove",(e=>{const n=t.progress.getBoundingClientRect(),r=100/n.width*(e.pageX-n.left);e.currentTarget.setAttribute("seek-value",r)})),this.bind(t.inputs.seek,"mousedown mouseup keydown keyup touchstart touchend",(t=>{const n=t.currentTarget,r=t.keyCode?t.keyCode:t.which,o="play-on-seeked";if(H(t)&&39!==r&&37!==r)return;e.lastSeekTime=Date.now();const i=n.hasAttribute(o),a=["mouseup","touchend","keyup"].includes(t.type);i&&a?(n.removeAttribute(o),xe(e.play())):!a&&e.playing&&(n.setAttribute(o,""),e.pause())})),K.isIos){const t=ue.call(e,'input[type="range"]');Array.from(t).forEach((e=>this.bind(e,n,(e=>Y(e.target)))))}this.bind(t.inputs.seek,n,(t=>{const n=t.currentTarget;let r=n.getAttribute("seek-value");G(r)&&(r=n.value),n.removeAttribute("seek-value"),e.currentTime=r/n.max*e.duration}),"seek"),this.bind(t.progress,"mouseenter mouseleave mousemove",(t=>Ge.updateSeekTooltip.call(e,t))),this.bind(t.progress,"mousemove touchmove",(t=>{const{previewThumbnails:n}=e;n&&n.loaded&&n.startMove(t)})),this.bind(t.progress,"mouseleave touchend click",(()=>{const{previewThumbnails:t}=e;t&&t.loaded&&t.endMove(!1,!0)})),this.bind(t.progress,"mousedown touchstart",(t=>{const{previewThumbnails:n}=e;n&&n.loaded&&n.startScrubbing(t)})),this.bind(t.progress,"mouseup touchend",(t=>{const{previewThumbnails:n}=e;n&&n.loaded&&n.endScrubbing(t)})),K.isWebkit&&Array.from(ue.call(e,'input[type="range"]')).forEach((t=>{this.bind(t,"input",(t=>Ge.updateRangeFill.call(e,t.target)))})),e.config.toggleInvert&&!B(t.display.duration)&&this.bind(t.display.currentTime,"click",(()=>{0!==e.currentTime&&(e.config.invertTime=!e.config.invertTime,Ge.timeUpdate.call(e))})),this.bind(t.inputs.volume,n,(t=>{e.volume=t.target.value}),"volume"),this.bind(t.controls,"mouseenter mouseleave",(n=>{t.controls.hover=!e.touch&&"mouseenter"===n.type})),t.fullscreen&&Array.from(t.fullscreen.children).filter((e=>!e.contains(t.container))).forEach((n=>{this.bind(n,"mouseenter mouseleave",(n=>{t.controls&&(t.controls.hover=!e.touch&&"mouseenter"===n.type)}))})),this.bind(t.controls,"mousedown mouseup touchstart touchend touchcancel",(e=>{t.controls.pressed=["mousedown","touchstart"].includes(e.type)})),this.bind(t.controls,"focusin",(()=>{const{config:n,timers:r}=e;se(t.controls,n.classNames.noTransition,!0),at.toggleControls.call(e,!0),setTimeout((()=>{se(t.controls,n.classNames.noTransition,!1)}),0);const o=this.touch?3e3:4e3;clearTimeout(r.controls),r.controls=setTimeout((()=>at.toggleControls.call(e,!1)),o)})),this.bind(t.inputs.volume,"wheel",(t=>{const n=t.webkitDirectionInvertedFromDevice,[r,o]=[t.deltaX,-t.deltaY].map((e=>n?-e:e)),i=Math.sign(Math.abs(r)>Math.abs(o)?r:o);e.increaseVolume(i/50);const{volume:a}=e.media;(1===i&&a<1||-1===i&&a>0)&&t.preventDefault()}),"volume",!1)})),this.player=t,this.lastKey=null,this.focusTimer=null,this.lastKeyDown=null,this.handleKey=this.handleKey.bind(this),this.toggleMenu=this.toggleMenu.bind(this),this.setTabFocus=this.setTabFocus.bind(this),this.firstTouch=this.firstTouch.bind(this)}handleKey(e){const{player:t}=this,{elements:n}=t,r=e.keyCode?e.keyCode:e.which,o="keydown"===e.type,i=o&&r===this.lastKey;if(!(e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)&&$(r))if(o){const o=document.activeElement;if(B(o)){const{editable:r}=t.config.selectors,{seek:i}=n.inputs;if(o!==i&&ce(o,r))return;if(32===e.which&&ce(o,'button, [role^="menuitem"]'))return}switch([32,37,38,39,40,48,49,50,51,52,53,54,56,57,67,70,73,75,76,77,79].includes(r)&&(e.preventDefault(),e.stopPropagation()),r){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:i||(t.currentTime=t.duration/10*(r-48));break;case 32:case 75:i||xe(t.togglePlay());break;case 38:t.increaseVolume(.1);break;case 40:t.decreaseVolume(.1);break;case 77:i||(t.muted=!t.muted);break;case 39:t.forward();break;case 37:t.rewind();break;case 70:t.fullscreen.toggle();break;case 67:i||t.toggleCaptions();break;case 76:t.loop=!t.loop}27===r&&!t.fullscreen.usingNative&&t.fullscreen.active&&t.fullscreen.toggle(),this.lastKey=r}else this.lastKey=null}toggleMenu(e){Ge.toggleMenu.call(this.player,e)}
vendor: 9,313 bytes, line 2
2}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self&&self;var lt=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e,t){e.exports=function(){var e=function(){},t={},n={},r={};function o(e,t){e=e.push?e:[e];var o,i,a,s=[],l=e.length,c=l;for(o=function(e,n){n.length&&s.push(e),--c||t(s)};l--;)i=e[l],(a=n[i])?o(i,a):(r[i]=r[i]||[]).push(o)}function i(e,t){if(e){var o=r[e];if(n[e]=t,o)for(;o.length;)o[0](e,t),o.splice(0,1)}}function a(t,n){t.call&&(t={success:t}),n.length?(t.error||e)(n):(t.success||e)(t)}function s(t,n,r,o){var i,a,l=document,c=r.async,u=(r.numRetries||0)+1,d=r.before||e,f=t.replace(/[\?|#].*$/,""),p=t.replace(/^(css|img)!/,"");o=o||0,/(^css!|\.css$)/.test(f)?((a=l.createElement("link")).rel="stylesheet",a.href=p,(i="hideFocus"in a)&&a.relList&&(i=0,a.rel="preload",a.as="style")):/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(f)?(a=l.createElement("img")).src=p:((a=l.createElement("script")).src=t,a.async=void 0===c||c),a.onload=a.onerror=a.onbeforeload=function(e){var l=e.type[0];if(i)try{a.sheet.cssText.length||(l="e")}catch(e){18!=e.code&&(l="e")}if("e"==l){if((o+=1)<u)return s(t,n,r,o)}else if("preload"==a.rel&&"style"==a.as)return a.rel="stylesheet";n(t,l,e.defaultPrevented)},!1!==d(t,a)&&l.head.appendChild(a)}function l(e,t,n){var r,o,i=(e=e.push?e:[e]).length,a=i,l=[];for(r=function(e,n,r){if("e"==n&&l.push(e),"b"==n){if(!r)return;l.push(e)}--i||t(l)},o=0;o<a;o++)s(e[o],r,n)}function c(e,n,r){var o,s;if(n&&n.trim&&(o=n),s=(o?r:n)||{},o){if(o in t)throw"LoadJS";t[o]=!0}function c(t,n){l(e,(function(e){a(s,e),t&&a({success:t,error:n},e),i(o,e)}),s)}if(s.returnPromise)return new Promise(c);c()}return c.ready=function(e,t){return o(e,(function(e){a(t,e)})),c},c.done=function(e){i(e,[])},c.reset=function(){t={},n={},r={}},c.isDefined=function(e){return e in t},c}()}));function ct(e){return new Promise(((t,n)=>{lt(e,{success:t,error:n})}))}function ut(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,_e.call(this,this.media,e?"play":"pause"))}const dt={setup(){const e=this;se(e.elements.wrapper,e.config.classNames.embed,!0),e.options.speed=e.config.speed.options,De.call(e),M(window.Vimeo)?dt.ready.call(e):ct(e.config.urls.vimeo.sdk).then((()=>{dt.ready.call(e)})).catch((t=>{e.debug.warn("Vimeo SDK (player.js) failed to load",t)}))},ready(){const e=this,t=e.config.vimeo,{premium:n,referrerPolicy:r,...o}=t;let i=e.media.getAttribute("src"),a="";G(i)?(i=e.media.getAttribute(e.config.attributes.embed.id),a=e.media.getAttribute(e.config.attributes.embed.hash)):a=function(e){const t=e.match(/^.*(?:vimeo.com\/|video\/)(?:\d+)(?:\?.*&*h=|\/)+(?<hash>[\d,a-f]+)/);return t?t.groups.hash:null}(i);const s=a?{h:a}:{};n&&Object.assign(o,{controls:!1,sidedock:!1});const l=Ye({loop:e.config.loop.active,autoplay:e.autoplay,muted:e.muted,gesture:"media",playsinline:!this.config.fullscreen.iosNative,...s,...o}),c=G(u=i)?null:$(Number(u))?u:u.match(/^.*(vimeo.com\/|video\/)(\d+).*/)?RegExp.$2:u;var u;const d=ee("iframe"),f=$e(e.config.urls.vimeo.iframe,c,l);if(d.setAttribute("src",f),d.setAttribute("allowfullscreen",""),d.setAttribute("allow",["autoplay","fullscreen","picture-in-picture","encrypted-media","accelerometer","gyroscope"].join("; ")),G(r)||d.setAttribute("referrerPolicy",r),n||!t.customControls)d.setAttribute("data-poster",e.poster),e.media=oe(d,e.media);else{const t=ee("div",{class:e.config.classNames.embedContainer,"data-poster":e.poster});t.appendChild(d),e.media=oe(t,e.media)}t.customControls||He($e(e.config.urls.vimeo.api,f)).then((t=>{!G(t)&&t.thumbnail_url&&at.setPoster.call(e,t.thumbnail_url).catch((()=>{}))})),e.embed=new window.Vimeo.Player(d,{autopause:e.config.autopause,muted:e.muted}),e.media.paused=!0,e.media.currentTime=0,e.supported.ui&&e.embed.disableTextTrack(),e.media.play=()=>(ut.call(e,!0),e.embed.play()),e.media.pause=()=>(ut.call(e,!1),e.embed.pause()),e.media.stop=()=>{e.pause(),e.currentTime=0};let{currentTime:p}=e.media;Object.defineProperty(e.media,"currentTime",{get:()=>p,set(t){const{embed:n,media:r,paused:o,volume:i}=e,a=o&&!n.hasPlayed;r.seeking=!0,_e.call(e,r,"seeking"),Promise.resolve(a&&n.setVolume(0)).then((()=>n.setCurrentTime(t))).then((()=>a&&n.pause())).then((()=>a&&n.setVolume(i))).catch((()=>{}))}});let h=e.config.speed.selected;Object.defineProperty(e.media,"playbackRate",{get:()=>h,set(t){e.embed.setPlaybackRate(t).then((()=>{h=t,_e.call(e,e.media,"ratechange")})).catch((()=>{e.options.speed=[1]}))}});let{volume:m}=e.config;Object.defineProperty(e.media,"volume",{get:()=>m,set(t){e.embed.setVolume(t).then((()=>{m=t,_e.call(e,e.media,"volumechange")}))}});let{muted:v}=e.config;Object.defineProperty(e.media,"muted",{get:()=>v,set(t){const n=!!R(t)&&t;e.embed.setVolume(n?0:e.config.volume).then((()=>{v=n,_e.call(e,e.media,"volumechange")}))}});let g,{loop:y}=e.config;Object.defineProperty(e.media,"loop",{get:()=>y,set(t){const n=R(t)?t:e.config.loop.active;e.embed.setLoop(n).then((()=>{y=n}))}}),e.embed.getVideoUrl().then((t=>{g=t,Ge.setDownloadUrl.call(e)})).catch((e=>{this.debug.warn(e)})),Object.defineProperty(e.media,"currentSrc",{get:()=>g}),Object.defineProperty(e.media,"ended",{get:()=>e.currentTime===e.duration}),Promise.all([e.embed.getVideoWidth(),e.embed.getVideoHeight()]).then((t=>{const[n,r]=t;e.embed.ratio=Pe(n,r),De.call(this)})),e.embed.setAutopause(e.config.autopause).then((t=>{e.config.autopause=t})),e.embed.getVideoTitle().then((t=>{e.config.title=t,at.setTitle.call(this)})),e.embed.getCurrentTime().then((t=>{p=t,_e.call(e,e.media,"timeupdate")})),e.embed.getDuration().then((t=>{e.media.duration=t,_e.call(e,e.media,"durationchange")})),e.embed.getTextTracks().then((t=>{e.media.textTracks=t,Ke.setup.call(e)})),e.embed.on("cuechange",(({cues:t=[]})=>{const n=t.map((e=>function(e){const t=document.createDocumentFragment(),n=document.createElement("div");return t.appendChild(n),n.innerHTML=e,t.firstChild.innerText}(e.text)));Ke.updateCues.call(e,n)})),e.embed.on("loaded",(()=>{e.embed.getPaused().then((t=>{ut.call(e,!t),t||_e.call(e,e.media,"playing")})),B(e.embed.element)&&e.supported.ui&&e.embed.element.setAttribute("tabindex",-1)})),e.embed.on("bufferstart",(()=>{_e.call(e,e.media,"waiting")})),e.embed.on("bufferend",(()=>{_e.call(e,e.media,"playing")})),e.embed.on("play",(()=>{ut.call(e,!0),_e.call(e,e.media,"playing")})),e.embed.on("pause",(()=>{ut.call(e,!1)})),e.embed.on("timeupdate",(t=>{e.media.seeking=!1,p=t.seconds,_e.call(e,e.media,"timeupdate")})),e.embed.on("progress",(t=>{e.media.buffered=t.percent,_e.call(e,e.media,"progress"),1===parseInt(t.percent,10)&&_e.call(e,e.media,"canplaythrough"),e.embed.getDuration().then((t=>{t!==e.media.duration&&(e.media.duration=t,_e.call(e,e.media,"durationchange"))}))})),e.embed.on("seeked",(()=>{e.media.seeking=!1,_e.call(e,e.media,"seeked")})),e.embed.on("ended",(()=>{e.media.paused=!0,_e.call(e,e.media,"ended")})),e.embed.on("error",(t=>{e.media.error=t,_e.call(e,e.media,"error")})),t.customControls&&setTimeout((()=>at.build.call(e)),0)}};function ft(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,_e.call(this,this.media,e?"play":"pause"))}function pt(e){return e.noCookie?"https://www.youtube-nocookie.com":"http:"===window.location.protocol?"http://www.youtube.com":void 0}const ht={setup(){if(se(this.elements.wrapper,this.config.classNames.embed,!0),M(window.YT)&&L(window.YT.Player))ht.ready.call(this);else{const e=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=()=>{L(e)&&e(),ht.ready.call(this)},ct(this.config.urls.youtube.sdk).catch((e=>{this.debug.warn("YouTube API failed to load",e)}))}},getTitle(e){He($e(this.config.urls.youtube.api,e)).then((e=>{if(M(e)){const{title:t,height:n,width:r}=e;this.config.title=t,at.setTitle.call(this),this.embed.ratio=Pe(r,n)}De.call(this)})).catch((()=>{De.call(this)}))},ready(){const e=this,t=e.config.youtube,n=e.media&&e.media.getAttribute("id");if(!G(n)&&n.startsWith("youtube-"))return;let r=e.media.getAttribute("src");G(r)&&(r=e.media.getAttribute(this.config.attributes.embed.id));const o=G(i=r)?null:i.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/)?RegExp.$2:i;var i;const a=ee("div",{id:`${e.provider}-${Math.floor(1e4*Math.random())}`,"data-poster":t.customControls?e.poster:void 0});if(e.media=oe(a,e.media),t.customControls){const t=e=>`https://i.ytimg.com/vi/${o}/${e}default.jpg`;it(t("maxres"),121).catch((()=>it(t("sd"),121))).catch((()=>it(t("hq")))).then((t=>at.setPoster.call(e,t.src))).then((t=>{t.includes("maxres")||(e.elements.poster.style.backgroundSize="cover")})).catch((()=>{}))}e.embed=new window.YT.Player(e.media,{videoId:o,host:pt(t),playerVars:J({},{autoplay:e.config.autoplay?1:0,hl:e.config.hl,controls:e.supported.ui&&t.customControls?0:1,disablekb:1,playsinline:e.config.fullscreen.iosNative?0:1,cc_load_policy:e.captions.active?1:0,cc_lang_pref:e.config.captions.language,widget_referrer:window?window.location.href:null},t),events:{onError(t){if(!e.media.error){const n=t.data,r={2:"The request contains an invalid parameter value. For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invali
2d characters, such as exclamation points or asterisks.",5:"The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.",100:"The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.",101:"The owner of the requested video does not allow it to be played in embedded players.",150:"The owner of the requested video does not allow it to be played in embedded players."}[n]||"An unknown error occured";e.media.error={code:n,message:r},_e.call(e,e.media,"error")}},onPlaybackRateChange(t){const n=t.target;e.media.playbackRate=n.getPlaybackRate(),_e.call(e,e.media,"ratechange")},onReady(n){if(L(e.media.play))return;const r=n.target;ht.getTitle.call(e,o),e.media.play=()=>{ft.call(e,!0),r.playVideo()},e.media.pause=()=>{ft.call(e,!1),r.pauseVideo()},e.media.stop=()=>{r.stopVideo()},e.media.duration=r.getDuration(),e.media.paused=!0,e.media.currentTime=0,Object.defineProperty(e.media,"currentTime",{get:()=>Number(r.getCurrentTime()),set(t){e.paused&&!e.embed.hasPlayed&&e.embed.mute(),e.media.seeking=!0,_e.call(e,e.media,"seeking"),r.seekTo(t)}}),Object.defineProperty(e.media,"playbackRate",{get:()=>r.getPlaybackRate(),set(e){r.setPlaybackRate(e)}});let{volume:i}=e.config;Object.defineProperty(e.media,"volume",{get:()=>i,set(t){i=t,r.setVolume(100*i),_e.call(e,e.media,"volumechange")}});let{muted:a}=e.config;Object.defineProperty(e.media,"muted",{get:()=>a,set(t){const n=R(t)?t:a;a=n,r[n?"mute":"unMute"](),r.setVolume(100*i),_e.call(e,e.media,"volumechange")}}),Object.defineProperty(e.media,"currentSrc",{get:()=>r.getVideoUrl()}),Object.defineProperty(e.media,"ended",{get:()=>e.currentTime===e.duration});const s=r.getAvailablePlaybackRates();e.options.speed=s.filter((t=>e.config.speed.options.includes(t))),e.supported.ui&&t.customControls&&e.media.setAttribute("tabindex",-1),_e.call(e,e.media,"timeupdate"),_e.call(e,e.media,"durationchange"),clearInterval(e.timers.buffering),e.timers.buffering=setInterval((()=>{e.media.buffered=r.getVideoLoadedFraction(),(null===e.media.lastBuffered||e.media.lastBuffered<e.media.buffered)&&_e.call(e,e.media,"progress"),e.media.lastBuffered=e.media.buffered,1===e.media.buffered&&(clearInterval(e.timers.buffering),_e.call(e,e.media,"canplaythrough"))}),200),t.customControls&&setTimeout((()=>at.build.call(e)),50)},onStateChange(n){const r=n.target;switch(clearInterval(e.timers.playing),e.media.seeking&&[1,2].includes(n.data)&&(e.media.seeking=!1,_e.call(e,e.media,"seeked")),n.data){case-1:_e.call(e,e.media,"timeupdate"),e.media.buffered=r.getVideoLoadedFraction(),_e.call(e,e.media,"progress");break;case 0:ft.call(e,!1),e.media.loop?(r.stopVideo(),r.playVideo()):_e.call(e,e.media,"ended");break;case 1:t.customControls&&!e.config.autoplay&&e.media.paused&&!e.embed.hasPlayed?e.media.pause():(ft.call(e,!0),_e.call(e,e.media,"playing"),e.timers.playing=setInterval((()=>{_e.call(e,e.media,"timeupdate")}),50),e.media.duration!==r.getDuration()&&(e.media.duration=r.getDuration(),_e.call(e,e.media,"durationchange")));break;case 2:e.muted||e.embed.unMute(),ft.call(e,!1);break;case 3:_e.call(e,e.media,"waiting")}_e.call(e,e.elements.container,"statechange",!1,{code:n.data})}}})}},mt={setup(){this.media?(se(this.elements.container,this.config.classNames.type.replace("{0}",this.type),!0),se(this.elements.container,this.config.classNames.provider.replace("{0}",this.provider),!0),this.isEmbed&&se(this.elements.container,this.config.classNames.type.replace("{0}","video"),!0),this.isVideo&&(this.elements.wrapper=ee("div",{class:this.config.classNames.video}),Z(this.media,this.elements.wrapper),this.elements.poster=ee("div",{class:this.config.classNames.poster}),this.elements.wrapper.appendChild(this.elements.poster)),this.isHTML5?Me.setup.call(this):this.isYouTube?ht.setup.call(this):this.isVimeo&&dt.setup.call(this)):this.debug.warn("No media element found!")}};class vt{constructor(t){e(this,"load",(()=>{this.enabled&&(M(window.google)&&M(window.google.ima)?this.ready():ct(this.player.config.urls.googleIMA.sdk).then((()=>{this.ready()})).catch((()=>{this.trigger("error",new Error("Google IMA SDK failed to load"))})))})),e(this,"ready",(()=>{var e;this.enabled||((e=this).manager&&e.manager.destroy(),e.elements.displayContainer&&e.elements.displayContainer.destroy(),e.elements.container.remove()),this.startSafetyTimer(12e3,"ready()"),this.managerPromise.then((()=>{this.clearSafetyTimer("onAdsManagerLoaded()")})),this.listeners(),this.setupIMA()})),e(this,"setupIMA",(()=>{this.elements.container=ee("div",{class:this.player.config.classNames.ads}),this.player.elements.container.appendChild(this.elements.container),google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED),google.ima.settings.setLocale(this.player.config.ads.language),google.ima.settings.setDisableCustomPlaybackForIOS10Plus(this.player.config.playsinline),this.elements.displayContainer=new google.ima.AdDisplayContainer(this.elements.container,this.player.media),this.loader=new google.ima.AdsLoader(this.elements.displayContainer),this.loader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,(e=>this.onAdsManagerLoaded(e)),!1),this.loader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,(e=>this.onAdError(e)),!1),this.requestAds()})),e(this,"requestAds",(()=>{const{container:e}=this.player.elements;try{const t=new google.ima.AdsRequest;t.adTagUrl=this.tagUrl,t.linearAdSlotWidth=e.offsetWidth,t.linearAdSlotHeight=e.offsetHeight,t.nonLinearAdSlotWidth=e.offsetWidth,t.nonLinearAdSlotHeight=e.offsetHeight,t.forceNonLinearFullSlot=!1,t.setAdWillPlayMuted(!this.player.muted),this.loader.requestAds(t)}catch(e){this.onAdError(e)}})),e(this,"pollCountdown",((e=!1)=>
vendor: 23,345 bytes, line 2
2{if(!e)return clearInterval(this.countdownTimer),void this.elements.container.removeAttribute("data-badge-text");this.countdownTimer=setInterval((()=>{const e=Ve(Math.max(this.manager.getRemainingTime(),0)),t=`${Be.get("advertisement",this.player.config)} - ${e}`;this.elements.container.setAttribute("data-badge-text",t)}),100)})),e(this,"onAdsManagerLoaded",(e=>{if(!this.enabled)return;const t=new google.ima.AdsRenderingSettings;t.restoreCustomPlaybackStateOnAdBreakComplete=!0,t.enablePreloading=!0,this.manager=e.getAdsManager(this.player,t),this.cuePoints=this.manager.getCuePoints(),this.manager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,(e=>this.onAdError(e))),Object.keys(google.ima.AdEvent.Type).forEach((e=>{this.manager.addEventListener(google.ima.AdEvent.Type[e],(e=>this.onAdEvent(e)))})),this.trigger("loaded")})),e(this,"addCuePoints",(()=>{G(this.cuePoints)||this.cuePoints.forEach((e=>{if(0!==e&&-1!==e&&e<this.player.duration){const t=this.player.elements.progress;if(B(t)){const n=100/this.player.duration*e,r=ee("span",{class:this.player.config.classNames.cues});r.style.left=`${n.toString()}%`,t.appendChild(r)}}}))})),e(this,"onAdEvent",(e=>{const{container:t}=this.player.elements,n=e.getAd(),r=e.getAdData();switch((e=>{_e.call(this.player,this.player.media,`ads${e.replace(/_/g,"").toLowerCase()}`)})(e.type),e.type){case google.ima.AdEvent.Type.LOADED:this.trigger("loaded"),this.pollCountdown(!0),n.isLinear()||(n.width=t.offsetWidth,n.height=t.offsetHeight);break;case google.ima.AdEvent.Type.STARTED:this.manager.setVolume(this.player.volume);break;case google.ima.AdEvent.Type.ALL_ADS_COMPLETED:this.player.ended?this.loadAds():this.loader.contentComplete();break;case google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED:this.pauseContent();break;case google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED:this.pollCountdown(),this.resumeContent();break;case google.ima.AdEvent.Type.LOG:r.adError&&this.player.debug.warn(`Non-fatal ad error: ${r.adError.getMessage()}`)}})),e(this,"onAdError",(e=>{this.cancel(),this.player.debug.warn("Ads error",e)})),e(this,"listeners",(()=>{const{container:e}=this.player.elements;let t;this.player.on("canplay",(()=>{this.addCuePoints()})),this.player.on("ended",(()=>{this.loader.contentComplete()})),this.player.on("timeupdate",(()=>{t=this.player.currentTime})),this.player.on("seeked",(()=>{const e=this.player.currentTime;G(this.cuePoints)||this.cuePoints.forEach(((n,r)=>{t<n&&n<e&&(this.manager.discardAdBreak(),this.cuePoints.splice(r,1))}))})),window.addEventListener("resize",(()=>{this.manager&&this.manager.resize(e.offsetWidth,e.offsetHeight,google.ima.ViewMode.NORMAL)}))})),e(this,"play",(()=>{const{container:e}=this.player.elements;this.managerPromise||this.resumeContent(),this.managerPromise.then((()=>{this.manager.setVolume(this.player.volume),this.elements.displayContainer.initialize();try{this.initialized||(this.manager.init(e.offsetWidth,e.offsetHeight,google.ima.ViewMode.NORMAL),this.manager.start()),this.initialized=!0}catch(e){this.onAdError(e)}})).catch((()=>{}))})),e(this,"resumeContent",(()=>{this.elements.container.style.zIndex="",this.playing=!1,xe(this.player.media.play())})),e(this,"pauseContent",(()=>{this.elements.container.style.zIndex=3,this.playing=!0,this.player.media.pause()})),e(this,"cancel",(()=>{this.initialized&&this.resumeContent(),this.trigger("error"),this.loadAds()})),e(this,"loadAds",(()=>{this.managerPromise.then((()=>{this.manager&&this.manager.destroy(),this.managerPromise=new Promise((e=>{this.on("loaded",e),this.player.debug.log(this.manager)})),this.initialized=!1,this.requestAds()})).catch((()=>{}))})),e(this,"trigger",((e,...t)=>{const n=this.events[e];j(n)&&n.forEach((e=>{L(e)&&e.apply(this,t)}))})),e(this,"on",((e,t)=>(j(this.events[e])||(this.events[e]=[]),this.events[e].push(t),this))),e(this,"startSafetyTimer",((e,t)=>{this.player.debug.log(`Safety timer invoked from: ${t}`),this.safetyTimer=setTimeout((()=>{this.cancel(),this.clearSafetyTimer("startSafetyTimer()")}),e)})),e(this,"clearSafetyTimer",(e=>{P(this.safetyTimer)||(this.player.debug.log(`Safety timer cleared from: ${e}`),clearTimeout(this.safetyTimer),this.safetyTimer=null)})),this.player=t,this.config=t.config.ads,this.playing=!1,this.initialized=!1,this.elements={container:null,displayContainer:null},this.manager=null,this.loader=null,this.cuePoints=null,this.events={},this.safetyTimer=null,this.countdownTimer=null,this.managerPromise=new Promise(((e,t)=>{this.on("loaded",e),this.on("error",t)})),this.load()}get enabled(){const{config:e}=this;return this.player.isHTML5&&this.player.isVideo&&e.enabled&&(!G(e.publisherId)||V(e.tagUrl))}get tagUrl(){const{config:e}=this;return V(e.tagUrl)?e.tagUrl:`https://go.aniview.com/api/adserver6/vast/?${Ye({AV_PUBLISHERID:"58c25bb0073ef448b1087ad6",AV_CHANNELID:"5a0458dc28a06145e4519d21",AV_URL:window.location.hostname,cb:Date.now(),AV_WIDTH:640,AV_HEIGHT:480,AV_CDIM2:e.publisherId})}`}}const gt=e=>{const t=[];return e.split(/\r\n\r\n|\n\n|\r\r/).forEach((e=>{const n={};e.split(/\r\n|\n|\r/).forEach((e=>{if($(n.startTime)){if(!G(e.trim())&&G(n.text)){const t=e.trim().split("#xywh=");[n.text]=t,t[1]&&([n.x,n.y,n.w,n.h]=t[1].split(","))}}else{const t=e.match(/([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})( ?--> ?)([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})/);t&&(n.startTime=60*Number(t[1]||0)*60+60*Number(t[2])+Number(t[3])+Number(`0.${t[4]}`),n.endTime=60*Number(t[6]||0)*60+60*Number(t[7])+Number(t[8])+Number(`0.${t[9]}`))}})),n.text&&t.push(n)})),t},yt=(e,t)=>{const n={};return e>t.width/t.height?(n.width=t.width,n.height=1/e*t.width):(n.height=t.height,n.width=e*t.height),n};class bt{constructor(t){e(this,"load",(()=>{this.player.elements.display.seekTooltip&&(this.player.elements.display.seekTooltip.hidden=this.enabled),this.enabled&&this.getThumbnails().then((()=>{this.enabled&&(this.render(),this.determineContainerAutoSizing(),this.loaded=!0)}))})),e(this,"getThumbnails",(()=>new Promise((e=>{const{src:t}=this.player.config.previewThumbnails;if(G(t))throw new Error("Missing previewThumbnails.src config attribute");const n=()=>{this.thumbnails.sort(((e,t)=>e.height-t.height)),this.player.debug.log("Preview thumbnails",this.thumbnails),e()};if(L(t))t((e=>{this.thumbnails=e,n()}));else{const e=(N(t)?[t]:t).map((e=>this.getThumbnail(e)));Promise.all(e).then(n)}})))),e(this,"getThumbnail",(e=>new Promise((t=>{He(e).then((n=>{const r={frames:gt(n),height:null,urlPrefix:""};r.frames[0].text.startsWith("/")||r.frames[0].text.startsWith("http://")||r.frames[0].text.startsWith("https://")||(r.urlPrefix=e.substring(0,e.lastIndexOf("/")+1));const o=new Image;o.onload=()=>{r.height=o.naturalHeight,r.width=o.naturalWidth,this.thumbnails.push(r),t()},o.src=r.urlPrefix+r.frames[0].text}))})))),e(this,"startMove",(e=>{if(this.loaded&&q(e)&&["touchmove","mousemove"].includes(e.type)&&this.player.media.duration){if("touchmove"===e.type)this.seekTime=this.player.media.duration*(this.player.elements.inputs.seek.value/100);else{const t=this.player.elements.progress.getBoundingClientRect(),n=100/t.width*(e.pageX-t.left);this.seekTime=this.player.media.duration*(n/100),this.seekTime<0&&(this.seekTime=0),this.seekTime>this.player.media.duration-1&&(this.seekTime=this.player.media.duration-1),this.mousePosX=e.pageX,this.elements.thumb.time.innerText=Ve(this.seekTime)}this.showImageAtCurrentTime()}})),e(this,"endMove",(()=>{this.toggleThumbContainer(!1,!0)})),e(this,"startScrubbing",(e=>{(P(e.button)||!1===e.button||0===e.button)&&(this.mouseDown=!0,this.player.media.duration&&(this.toggleScrubbingContainer(!0),this.toggleThumbContainer(!1,!0),this.showImageAtCurrentTime()))})),e(this,"endScrubbing",(()=>{this.mouseDown=!1,Math.ceil(this.lastTime)===Math.ceil(this.player.media.currentTime)?this.toggleScrubbingContainer(!1):be.call(this.player,this.player.media,"timeupdate",(()=>{this.mouseDown||this.toggleScrubbingContainer(!1)}))})),e(this,"listeners",(()=>{this.player.on("play",(()=>{this.toggleThumbContainer(!1,!0)})),this.player.on("seeked",(()=>{this.toggleThumbContainer(!1)})),this.player.on("timeupdate",(()=>{this.lastTime=this.player.media.currentTime}))})),e(this,"render",(()=>{this.elements.thumb.container=ee("div",{class:this.player.config.classNames.previewThumbnails.thumbContainer}),this.elements.thumb.imageContainer=ee("div",{class:this.player.config.classNames.previewThumbnails.imageContainer}),this.elements.thumb.container.appendChild(this.elements.thumb.imageContainer);const e=ee("div",{class:this.player.config.classNames.previewThumbnails.timeContainer});this.elements.thumb.time=ee("span",{},"00:00"),e.appendChild(this.elements.thumb.time),this.elements.thumb.container.appendChild(e),B(this.player.elements.progress)&&this.player.elements.progress.appendChild(this.elements.thumb.container),this.elements.scrubbing.container=ee("div",{class:this.player.config.classNames.previewThumbnails.scrubbingContainer}),this.player.elements.wrapper.appendChild(this.elements.scrubbing.container)})),e(this,"destroy",(()=>{this.elements.thumb.container&&this.elements.thumb.container.remove(),this.elements.scrubbing.container&&this.elements.scrubbing.container.remove()})),e(this,"showImageAtCurrentTime",(()=>{this.mouseDown?this.setScrubbingContainerSize():this.setThumbContainerSizeAndPos();const e=this.thumbnails[0].frames.findIndex((e=>this.seekTime>=e.startTime&&this.seekTime<=e.endTime)),t=e>=0;let n=0;this.mouseDown||this.toggleThumbContainer(t),t&&(this.thumbnails.forEach(((t,r)=>{this.loadedImages.includes(t.frames[e].text)&&(n=r)})),e!==this.showingThumb&&(this.showingThumb=e,this.loadImage(n)))})),e(this,"loadImage",((e=0)=>{const t=this.showingThumb,n=this.thumbnails[e],{urlPrefix:r}=n,o=n.frames[t],i=n.frames[t].text,a=r+i;if(this.currentImageElement&&this.currentImageElement.dataset.filename===i)this.showImage(this.currentImageElement,o,e,t,i,!1),this.currentImageElement.dataset.index=t,this.removeOldImages(this.currentImageElement);else{this.loadingImage&&this.usingSprites&&(this.loadingImage.onload=null);const n=new Image;n.src=a,n.dataset.index=t,n.dataset.filename=i,this.showingThumbFilename=i,this.player.debug.log(`Loading image: ${a}`),n.onload=()=>this.showImage(n,o,e,t,i,!0),this.loadingImage=n,this.removeOldImages(n)}})),e(this,"showImage",((e,t,n,r,o,i=!0)=>{this.player.debug.log(`Showing thumb: ${o}. num: ${r}. qual: ${n}. newimg: ${i}`),this.setImageSizeAndOffset(e,t),i&&(this.currentImageContainer.appendChild(e),this.currentImageElement=e,this.loadedImages.includes(o)||this.loadedImages.push(o)),this.preloadNearby(r,!0).then(this.preloadNearby(r,!1)).then(this.getHigherQuality(n,e,t,o))})),e(this,"removeOldImages",(e=>{Array.from(this.currentImageContainer.children).forEach((t=>{if("img"!==t.tagName.toLowerCase())return;const n=this.usingSprites?500:1e3;if(t.dataset.index!==e.dataset.index&&!t.dataset.deleting){t.dataset.deleting=!0;const{currentImageContainer:e}=this;setTimeout((()=>{e.removeChild(t),this.player.debug.log(`Removing thumb: ${t.dataset.filename}`)}),n)}}))})),e(this,"preloadNearby",((e,t=!0)=>new Promise((n=>{setTimeout((()=>{const r=this.thumbnails[0].frames[e].text;if(this.showingThumbFilename===r){let o;o=t?this.thumbnails[0].frames.slice(e):this.thumbnails[0].frames.slice(0,e).reverse();let i=!1;o.forEach((e=>{const t=e.text;if(t!==r&&!this.loadedImages.includes(t)){i=!0,this.player.debug.log(`Preloading thumb filename: ${t}`);const{urlPrefix:e}=this.thumbnails[0],r=e+t,o=new Image;o.src=r,o.onload=()=>{this.player.debug.log(`Preloaded thumb filename: ${t}`),this.loadedImages.includes(t)||this.loadedImages.push(t),n()}}})),i||n()}}),300)})))),e(this,"getHigherQuality",((e,t,n,r)=>{if(e<this.thumbnails.length-1){let o=t.naturalHeight;this.usingSprites&&(o=n.h),o<this.thumbContainerHeight&&setTimeout((()=>{this.showingThumbFilename===r&&(this.player.debug.log(`Showing higher quality thumb for: ${r}`),this.loadImage(e+1))}),300)}})),e(this,"toggleThumbContainer",((e=!1,t=!1)=>{const n=this.player.config.classNames.previewThumbnails.thumbContainerShown;this.elements.thumb.container.classList.toggle(n,e),!e&&t&&(this.showingThumb=null,this.showingThumbFilename=null)})),e(this,"toggleScrubbingContainer",((e=!1)=>{const t=this.player.config.classNames.previewThumbnails.scrubbingContainerShown;this.elements.scrubbing.container.classList.toggle(t,e),e||(this.showingThumb=null,this.showingThumbFilename=null)})),e(this,"determineContainerAutoSizing",(()=>{(this.elements.thumb.imageContainer.clientHeight>20||this.elements.thumb.imageContainer.clientWidth>20)&&(this.sizeSpecifiedInCSS=!0)})),e(this,"setThumbContainerSizeAndPos",(()=>{if(this.sizeSpecifiedInCSS){if(this.elements.thumb.imageContainer.clientHeight>20&&this.elements.thumb.imageContainer.clientWidth<20){const e=Math.floor(this.elements.thumb.imageContainer.clientHeight*this.thumbAspectRatio);this.elements.thumb.imageContainer.style.width=`${e}px`}else if(this.elements.thumb.imageContainer.clientHeight<20&&this.elements.thumb.imageContainer.clientWidth>20){const e=Math.floor(this.elements.thumb.imageContainer.clientWidth/this.thumbAspectRatio);this.elements.thumb.imageContainer.style.height=`${e}px`}}else{const e=Math.floor(this.thumbContainerHeight*this.thumbAspectRatio);this.elements.thumb.imageContainer.style.height=`${this.thumbContainerHeight}px`,this.elements.thumb.imageContainer.style.width=`${e}px`}this.setThumbContainerPos()})),e(this,"setThumbContainerPos",(()=>{const e=this.player.elements.progress.getBoundingClientRect(),t=this.player.elements.container.getBoundingClientRect(),{container:n}=this.elements.thumb,r=t.left-e.left+10,o=t.right-e.left-n.clientWidth-10;let i=this.mousePosX-e.left-n.clientWidth/2;i<r&&(i=r),i>o&&(i=o),n.style.left=`${i}px`})),e(this,"setScrubbingContainerSize",(()=>{const{width:e,height:t}=yt(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight});this.elements.scrubbing.container.style.width=`${e}px`,this.elements.scrubbing.container.style.height=`${t}px`})),e(this,"setImageSizeAndOffset",((e,t)=>{if(!this.usingSprites)return;const n=this.thumbContainerHeight/t.h;e.style.height=e.naturalHeight*n+"px",e.style.width=e.naturalWidth*n+"px",e.style.left=`-${t.x*n}px`,e.style.top=`-${t.y*n}px`})),this.player=t,this.thumbnails=[],this.loaded=!1,this.lastMouseMoveTime=Date.now(),this.mouseDown=!1,this.loadedImages=[],this.elements={thumb:{},scrubbing:{}},this.load()}get enabled(){return this.player.isHTML5&&this.player.isVideo&&this.player.config.previewThumbnails.enabled}get currentImageContainer(){return this.mouseDown?this.elements.scrubbing.container:this.elements.thumb.imageContainer}get usingSprites(){return Object.keys(this.thumbnails[0].frames[0]).includes("w")}get thumbAspectRatio(){return this.usingSprites?this.thumbnails[0].frames[0].w/this.thumbnails[0].frames[0].h:this.thumbnails[0].width/this.thumbnails[0].height}get thumbContainerHeight(){if(this.mouseDown){const{height:e}=yt(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight});return e}return this.sizeSpecifiedInCSS?this.elements.thumb.imageContainer.clientHeight:Math.floor(this.player.media.clientWidth/this.thumbAspectRatio/4)}get currentImageElement(){return this.mouseDown?this.currentScrubbingImageElement:this.currentThumbnailImageElement}set currentImageElement(e){this.mouseDown?this.currentScrubbingImageElement=e:this.currentThumbnailImageElement=e}}const _t={insertElements(e,t){N(t)?te(e,this.media,{src:t}):j(t)&&t.forEach((t=>{te(e,this.media,t)}))},change(e){Q(e,"sources.length")?(Me.cancelRequests.call(this),this.destroy.call(this,(()=>{this.options.quality=[],ne(this.media),this.media=null,B(this.elements.container)&&this.elements.container.removeAttribute("class");const{sources:t,type:n}=e,[{provider:r=Xe.html5,src:o}]=t,i="html5"===r?n:"div",a="html5"===r?{}:{src:o};Object.assign(this,{provider:r,type:n,supported:he.check(n,r,this.config.playsinline),media:ee(i,a)}),this.elements.container.appendChild(this.media),R(e.autoplay)&&(this.config.autoplay=e.autoplay),this.isHTML5&&(this.config.crossorigin&&this.media.setAttribute("crossorigin",""),this.config.autoplay&&this.media.setAttribute("autoplay",""),G(e.poster)||(this.poster=e.poster),this.config.loop.active&&this.media.setAttribute("loop",""),this.config.muted&&this.media.setAttribute("muted",""),this.config.playsinline&&this.media.setAttribute("playsinline","")),at.addStyleHook.call(this),this.isHTML5&&_t.insertElements.call(this,"source",t),this.config.title=e.title,mt.setup.call(this),this.isHTML5&&Object.keys(e).includes("tracks")&&_t.insertElements.call(this,"track",e.tracks),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&at.build.call(this),this.isHTML5&&this.media.load(),G(e.previewThumbnails)||(Object.assign(this.config.previewThumbnails,e.previewThumbnails),this.previewThumbnails&&this.previewThumbnails.loaded&&(this.previewThumbnails.destroy(),this.previewThumbnails=null),this.config.previewThumbnails.enabled&&(this.previewThumbnails=new bt(this))),this.fullscreen.update()}),!0)):this.debug.warn("Invalid source format")}};class wt{constructor(t,n){if(e(this,"play",(()=>L(this.media.play)?(this.ads&&this.ads.enabled&&this.ads.managerPromise.then((()=>this.ads.play())).catch((()=>xe(this.media.play()))),this.media.play()):null)),e(this,"pause",(()=>this.playing&&L(this.media.pause)?this.media.pause():null)),e(this,"togglePlay",(e=>(R(e)?e:!this.playing)?this.play():this.pause())),e(this,"stop",(()=>{this.isHTML5?(this.pause(),this.restart()):L(this.media.stop)&&this.media.stop()})),e(this,"restart",(()=>{this.currentTime=0})),e(this,"rewind",(e=>{this.currentTime-=$(e)?e:this.config.seekTime})),e(this,"forward",(e=>{this.currentTime+=$(e)?e:this.config.seekTime})),e(this,"increaseVolume",(e=>{const t=this.media.muted?0:this.volume;this.volume=t+($(e)?e:0)})),e(this,"decreaseVolume",(e=>{this.increaseVolume(-e)})),e(this,"airplay",(()=>{he.airplay&&this.media.webkitShowPlaybackTargetPicker()})),e(this,"toggleControls",(e=>{if(this.supported.ui&&!this.isAudio){const t=le(this.elements.container,this.config.classNames.hideControls),n=void 0===e?void 0:!e,r=se(this.elements.container,this.config.classNames.hideControls,n);if(r&&j(this.config.controls)&&this.config.controls.includes("settings")&&!G(this.config.settings)&&Ge.toggleMenu.call(this,!1),r!==t){const e=r?"controlshidden":"controlsshown";_e.call(this,this.media,e)}return!r}return!1})),e(this,"on",((e,t)=>{ge.call(this,this.elements.container,e,t)})),e(this,"once",((e,t)=>{be.call(this,this.elements.container,e,t)})),e(this,"off",((e,t)=>{ye(this.elements.container,e,t)})),e(this,"destroy",((e,t=!1)=>{if(!this.ready)return;const n=()=>{document.body.style.overflow="",this.embed=null,t?(Object.keys(this.elements).length&&(ne(this.elements.buttons.play),ne(this.elements.captions),ne(this.elements.controls),ne(this.elements.wrapper),this.elements.buttons.play=null,this.elements.captions=null,this.elements.controls=null,this.elements.wrapper=null),L(e)&&e()):(we.call(this),Me.cancelRequests.call(this),oe(this.elements.original,this.elements.container),_e.call(this,this.elements.original,"destroyed",!0),L(e)&&e.call(this.elements.original),this.ready=!1,setTimeout((()=>{this.elements=null,this.media=null}),200))};this.stop(),clearTimeout(this.timers.loading),clearTimeout(this.timers.controls),clearTimeout(this.timers.resized),this.isHTML5?(at.toggleNativeControls.call(this,!0),n()):this.isYouTube?(clearInterval(this.timers.buffering),clearInterval(this.timers.playing),null!==this.embed&&L(this.embed.destroy)&&this.embed.destroy(),n()):this.isVimeo&&(null!==this.embed&&this.embed.unload().then(n),setTimeout(n,200))})),e(this,"supports",(e=>he.mime.call(this,e))),this.timers={},this.ready=!1,this.loading=!1,this.failed=!1,this.touch=he.touch,this.media=t,N(this.media)&&(this.media=document.querySelectorAll(this.media)),(window.jQuery&&this.media instanceof jQuery||F(this.media)||j(this.media))&&(this.media=this.media[0]),this.config=J({},Qe,wt.defaults,n||{},(()=>{try{return JSON.parse(this.media.getAttribute("data-plyr-config"))}catch(e){return{}}})()),this.elements={container:null,fullscreen:null,captions:null,buttons:{},display:{},progress:{},inputs:{},settings:{popup:null,menu:null,panels:{},buttons:{}}},this.captions={active:null,currentTrack:-1,meta:new WeakMap},this.fullscreen={active:!1},this.options={speed:[],quality:[]},this.debug=new rt(this.config.debug),this.debug.log("Config",this.config),this.debug.log("Support",he),P(this.media)||!B(this.media))return void this.debug.error("Setup failed: no suitable element passed");if(this.media.plyr)return void this.debug.warn("Target already setup");if(!this.config.enabled)return void this.debug.error("Setup failed: disabled by config");if(!he.check().api)return void this.debug.error("Setup failed: no support");const r=this.media.cloneNode(!0);r.autoplay=!1,this.elements.original=r;const o=this.media.tagName.toLowerCase();let i=null,a=null;switch(o){case"div":if(i=this.media.querySelector("iframe"),B(i)){if(a=We(i.getAttribute("src")),this.provider=function(e){return/^(https?:\/\/)?(www\.)?(youtube\.com|youtube-nocookie\.com|youtu\.?be)\/.+$/.test(e)?Xe.youtube:/^https?:\/\/player.vimeo.com\/video\/\d{0,9}(?=\b|\/)/.test(e)?Xe.vimeo:null}(a.toString()),this.elements.container=this.media,this.media=i,this.elements.container.className="",a.search.length){const e=["1","true"];e.includes(a.searchParams.get("autoplay"))&&(this.config.autoplay=!0),e.includes(a.searchParams.get("loop"))&&(this.config.loop.active=!0),this.isYouTube?(this.config.playsinline=e.includes(a.searchParams.get("playsinline")),this.config.youtube.hl=a.searchParams.get("hl")):this.config.playsinline=!0}}else this.provider=this.media.getAttribute(this.config.attributes.embed.provider),this.media.removeAttribute(this.config.attributes.embed.provider);if(G(this.provider)||!Object.values(Xe).includes(this.provider))return void this.debug.error("Setup failed: Invalid provider");this.type=tt;break;case"video":case"audio":this.type=o,this.provider=Xe.html5,this.media.hasAttribute("crossorigin")&&(this.config.crossorigin=!0),this.media.hasAttribute("autoplay")&&(this.config.autoplay=!0),(this.media.hasAttribute("playsinline")||this.media.hasAttribute("webkit-playsinline"))&&(this.config.playsinline=!0),this.media.hasAttribute("muted")&&(this.config.muted=!0),this.media.hasAttribute("loop")&&(this.config.loop.active=!0);break;default:return void this.debug.error("Setup failed: unsupported type")}this.supported=he.check(this.type,this.provider,this.config.playsinline),this.supported.api?(this.eventListeners=[],this.listeners=new st(this),this.storage=new qe(this),this.media.plyr=this,B(this.elements.container)||(this.elements.container=ee("div",{tabindex:0}),Z(this.media,this.elements.container)),at.migrateStyles.call(this),at.addStyleHook.call(this),mt.setup.call(this),this.config.debug&&ge.call(this,this.elements.container,this.config.events.join(" "),(e=>{this.debug.log(`event: ${e.type}`)})),this.fullscreen=new ot(this),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&at.build.call(this),this.listeners.container(),this.listeners.global(),this.config.ads.enabled&&(this.ads=new vt(this)),this.isHTML5&&this.config.auto
2play&&this.once("canplay",(()=>xe(this.play()))),this.lastSeekTime=0,this.config.previewThumbnails.enabled&&(this.previewThumbnails=new bt(this))):this.debug.error("Setup failed: no support")}get isHTML5(){return this.provider===Xe.html5}get isEmbed(){return this.isYouTube||this.isVimeo}get isYouTube(){return this.provider===Xe.youtube}get isVimeo(){return this.provider===Xe.vimeo}get isVideo(){return this.type===tt}get isAudio(){return this.type===et}get playing(){return Boolean(this.ready&&!this.paused&&!this.ended)}get paused(){return Boolean(this.media.paused)}get stopped(){return Boolean(this.paused&&0===this.currentTime)}get ended(){return Boolean(this.media.ended)}set currentTime(e){if(!this.duration)return;const t=$(e)&&e>0;this.media.currentTime=t?Math.min(e,this.duration):0,this.debug.log(`Seeking to ${this.currentTime} seconds`)}get currentTime(){return Number(this.media.currentTime)}get buffered(){const{buffered:e}=this.media;return $(e)?e:e&&e.length&&this.duration>0?e.end(0)/this.duration:0}get seeking(){return Boolean(this.media.seeking)}get duration(){const e=parseFloat(this.config.duration),t=(this.media||{}).duration,n=$(t)&&t!==1/0?t:0;return e||n}set volume(e){let t=e;N(t)&&(t=Number(t)),$(t)||(t=this.storage.get("volume")),$(t)||({volume:t}=this.config),t>1&&(t=1),t<0&&(t=0),this.config.volume=t,this.media.volume=t,!G(e)&&this.muted&&t>0&&(this.muted=!1)}get volume(){return Number(this.media.volume)}set muted(e){let t=e;R(t)||(t=this.storage.get("muted")),R(t)||(t=this.config.muted),this.config.muted=t,this.media.muted=t}get muted(){return Boolean(this.media.muted)}get hasAudio(){return!this.isHTML5||!!this.isAudio||Boolean(this.media.mozHasAudio)||Boolean(this.media.webkitAudioDecodedByteCount)||Boolean(this.media.audioTracks&&this.media.audioTracks.length)}set speed(e){let t=null;$(e)&&(t=e),$(t)||(t=this.storage.get("speed")),$(t)||(t=this.config.speed.selected);const{minimumSpeed:n,maximumSpeed:r}=this;t=function(e=0,t=0,n=255){return Math.min(Math.max(e,t),n)}(t,n,r),this.config.speed.selected=t,setTimeout((()=>{this.media&&(this.media.playbackRate=t)}),0)}get speed(){return Number(this.media.playbackRate)}get minimumSpeed(){return this.isYouTube?Math.min(...this.options.speed):this.isVimeo?.5:.0625}get maximumSpeed(){return this.isYouTube?Math.max(...this.options.speed):this.isVimeo?2:16}set quality(e){const t=this.config.quality,n=this.options.quality;if(!n.length)return;let r=[!G(e)&&Number(e),this.storage.get("quality"),t.selected,t.default].find($),o=!0;if(!n.includes(r)){const e=Se(n,r);this.debug.warn(`Unsupported quality option: ${r}, using ${e} instead`),r=e,o=!1}t.selected=r,this.media.quality=r,o&&this.storage.set({quality:r})}get quality(){return this.media.quality}set loop(e){const t=R(e)?e:this.config.loop.active;this.config.loop.active=t,this.media.loop=t}get loop(){return Boolean(this.media.loop)}set source(e){_t.change.call(this,e)}get source(){return this.media.currentSrc}get download(){const{download:e}=this.config.urls;return V(e)?e:this.source}set download(e){V(e)&&(this.config.urls.download=e,Ge.setDownloadUrl.call(this))}set poster(e){this.isVideo?at.setPoster.call(this,e,!1).catch((()=>{})):this.debug.warn("Poster can only be set for video")}get poster(){return this.isVideo?this.media.getAttribute("poster")||this.media.getAttribute("data-poster"):null}get ratio(){if(!this.isVideo)return null;const e=Ie(Ae.call(this));return j(e)?e.join(":"):e}set ratio(e){this.isVideo?N(e)&&Oe(e)?(this.config.ratio=Ie(e),De.call(this)):this.debug.error(`Invalid aspect ratio specified (${e})`):this.debug.warn("Aspect ratio can only be set for video")}set autoplay(e){const t=R(e)?e:this.config.autoplay;this.config.autoplay=t}get autoplay(){return Boolean(this.config.autoplay)}toggleCaptions(e){Ke.toggle.call(this,e,!1)}set currentTrack(e){Ke.set.call(this,e,!1),Ke.setup()}get currentTrack(){const{toggled:e,currentTrack:t}=this.captions;return e?t:-1}set language(e){Ke.setLanguage.call(this,e,!1)}get language(){return(Ke.getCurrentTrack.call(this)||{}).language}set pip(e){if(!he.pip)return;const t=R(e)?e:!this.pip;L(this.media.webkitSetPresentationMode)&&this.media.webkitSetPresentationMode(t?Je:Ze),L(this.media.requestPictureInPicture)&&(!this.pip&&t?this.media.requestPictureInPicture():this.pip&&!t&&document.exitPictureInPicture())}get pip(){return he.pip?G(this.media.webkitPresentationMode)?this.media===document.pictureInPictureElement:this.media.webkitPresentationMode===Je:null}setPreviewThumbnails(e){this.previewThumbnails&&this.previewThumbnails.loaded&&(this.previewThumbnails.destroy(),this.previewThumbnails=null),Object.assign(this.config.previewThumbnails,e),this.config.previewThumbnails.enabled&&(this.previewThumbnails=new bt(this))}
vendor: 10,320 bytes, line 2
2static supported(e,t,n){return he.check(e,t,n)}static loadSprite(e,t){return ze(e,t)}static setup(e,t={}){let n=null;return N(e)?n=Array.from(document.querySelectorAll(e)):F(e)?n=Array.from(e):j(e)&&(n=e.filter(B)),G(n)?null:n.map((e=>new wt(e,t)))}}var kt;return wt.defaults=(kt=Qe,JSON.parse(JSON.stringify(kt))),wt}())},8851:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>ae});var r="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(r&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var i=r&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),o))}};function a(e){return e&&"[object Function]"==={}.toString.call(e)}function s(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function l(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function c(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=s(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:c(l(e))}function u(e){return e&&e.referenceNode?e.referenceNode:e}var d=r&&!(!window.MSInputMethodContext||!document.documentMode),f=r&&/MSIE 10/.test(navigator.userAgent);function p(e){return 11===e?d:10===e?f:d||f}function h(e){if(!e)return document.documentElement;for(var t=p(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===s(n,"position")?h(n):n:e?e.ownerDocument.documentElement:document.documentElement}function m(e){return null!==e.parentNode?m(e.parentNode):e}function v(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,s,l=i.commonAncestorContainer;if(e!==l&&t!==l||r.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&h(a.firstElementChild)!==a?h(l):l;var c=m(e);return c.host?v(c.host,t):v(e,m(t).host)}function g(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var r=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||r)[t]}return e[t]}function y(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function b(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],p(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function _(e){var t=e.body,n=e.documentElement,r=p(10)&&getComputedStyle(n);return{height:b("Height",t,n,r),width:b("Width",t,n,r)}}var w=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),k=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function C(e){return x({},e,{right:e.left+e.width,bottom:e.top+e.height})}function S(e){var t={};try{if(p(10)){t=e.getBoundingClientRect();var n=g(e,"top"),r=g(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?_(e.ownerDocument):{},a=i.width||e.clientWidth||o.width,l=i.height||e.clientHeight||o.height,c=e.offsetWidth-a,u=e.offsetHeight-l;if(c||u){var d=s(e);c-=y(d,"x"),u-=y(d,"y"),o.width-=c,o.height-=u}return C(o)}function E(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=p(10),o="HTML"===t.nodeName,i=S(e),a=S(t),l=c(e),u=s(t),d=parseFloat(u.borderTopWidth),f=parseFloat(u.borderLeftWidth);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var h=C({top:i.top-a.top-d,left:i.left-a.left-f,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!r&&o){var m=parseFloat(u.marginTop),v=parseFloat(u.marginLeft);h.top-=d-m,h.bottom-=d-m,h.left-=f-v,h.right-=f-v,h.marginTop=m,h.marginLeft=v}return(r&&!n?t.contains(l):t===l&&"BODY"!==l.nodeName)&&(h=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(t,"top"),o=g(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}(h,t)),h}function T(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===s(e,"position"))return!0;var n=l(e);return!!n&&T(n)}function O(e){if(!e||!e.parentElement||p())return document.documentElement;for(var t=e.parentElement;t&&"none"===s(t,"transform");)t=t.parentElement;return t||document.documentElement}function I(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?O(e):v(e,u(t));if("viewport"===r)i=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=E(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:g(n),s=t?0:g(n,"left");return C({top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i})}(a,o);else{var s=void 0;"scrollParent"===r?"BODY"===(s=c(l(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var d=E(s,a,o);if("HTML"!==s.nodeName||T(a))i=d;else{var f=_(e.ownerDocument),p=f.height,h=f.width;i.top+=d.top-d.marginTop,i.bottom=p+d.top,i.left+=d.left-d.marginLeft,i.right=h+d.left}}var m="number"==typeof(n=n||0);return i.left+=m?n:n.left||0,i.top+=m?n:n.top||0,i.right-=m?n:n.right||0,i.bottom-=m?n:n.bottom||0,i}function A(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=I(n,r,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return x({key:e},s[e],{area:(t=s[e],t.width*t.height)});var t})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function D(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return E(n,r?O(t):v(t,u(n)),r)}function P(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function M(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function $(e,t,n){n=n.split("-")[0];var r=P(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return o[a]=t[a]+t[l]/2-r[l]/2,o[s]=n===s?t[s]-r[c]:t[M(s)],o}function N(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function R(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=N(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&a(n)&&(t.offsets.popper=C(t.offsets.popper),t.offsets.reference=C(t.offsets.reference),t=n(t,e))})),t}function L(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=D(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=A(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=$(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=R(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function j(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function F(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if(void 0!==document.body.style[i])return i}return null}function B(){return this.state.isDestroyed=!0,j(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[F("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function q(e){var t=e.ownerDocument;return t?t.defaultView:window}function H(e,t,n,r){var o="BODY"===e.nodeName,i=o?e.ownerDocument.defaultView:e;i.addEventListener(t,n,{passive:!0}),o||H(c(i.parentNode),t,n,r),r.push(i)}function z(e,t,n,r){n.updateBound=r,q(e).addEventListener("resize",n.updateBound,{passive:!0});var o=c(e);return H(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function U(){this.state.eventsEnabled||(this.state=z(this.reference,this.options,this.state,this.scheduleUpdate))}function V(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,q(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEac
vendor: 9,897 bytes, line 2
2h((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function G(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function W(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&G(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var Y=r&&/Firefox/i.test(navigator.userAgent);function K(e,t,n){var r=N(e,(function(e){return e.name===t})),o=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!o){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var Q=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],J=Q.slice(3);function Z(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=J.indexOf(e),r=J.slice(n+1).concat(J.slice(0,n));return t?r.reverse():r}var X="flip",ee="clockwise",te="counterclockwise";function ne(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(N(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return c=c.map((function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){return C("%p"===a?n:r)[t]/100*i}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(e,o,t,n)}))})),c.forEach((function(e,t){e.forEach((function(n,r){G(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var re={shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:k({},l,i[l]),end:k({},l,i[l]+i[c]-a[c])};e.offsets.popper=x({},a,u[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],l=void 0;return l=G(+n)?[+n,0]:ne(n,i,a,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||h(e.instance.popper);e.instance.reference===n&&(n=h(n));var r=F("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var l=I(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,d={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),k({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(r=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),k({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=x({},u,d[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<i(r[l])&&(e.offsets.popper[l]=i(r[l])-n[c]),n[l]>i(r[s])&&(e.offsets.popper[l]=i(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!K(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,a=i.popper,l=i.reference,c=-1!==["left","right"].indexOf(o),u=c?"height":"width",d=c?"Top":"Left",f=d.toLowerCase(),p=c?"left":"top",h=c?"bottom":"right",m=P(r)[u];l[h]-m<a[f]&&(e.offsets.popper[f]-=a[f]-(l[h]-m)),l[f]+m>a[h]&&(e.offsets.popper[f]+=l[f]+m-a[h]),e.offsets.popper=C(e.offsets.popper);var v=l[f]+l[u]/2-m/2,g=s(e.instance.popper),y=parseFloat(g["margin"+d]),b=parseFloat(g["border"+d+"Width"]),_=v-e.offsets.popper[f]-y-b;return _=Math.max(Math.min(a[u]-m,_),0),e.arrowElement=r,e.offsets.arrow=(k(n={},f,Math.round(_)),k(n,p,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(j(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=I(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=M(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case X:a=[r,o];break;case ee:a=Z(r);break;case te:a=Z(r,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(r!==s||a.length===l+1)return e;r=e.placement.split("-")[0],o=M(r);var c=e.offsets.popper,u=e.offsets.reference,d=Math.floor,f="left"===r&&d(c.right)>d(u.left)||"right"===r&&d(c.left)<d(u.right)||"top"===r&&d(c.bottom)>d(u.top)||"bottom"===r&&d(c.top)<d(u.bottom),p=d(c.left)<d(n.left),h=d(c.right)>d(n.right),m=d(c.top)<d(n.top),v=d(c.bottom)>d(n.bottom),g="left"===r&&p||"right"===r&&h||"top"===r&&m||"bottom"===r&&v,y=-1!==["top","bottom"].indexOf(r),b=!!t.flipVariations&&(y&&"start"===i&&p||y&&"end"===i&&h||!y&&"start"===i&&m||!y&&"end"===i&&v),_=!!t.flipVariationsByContent&&(y&&"start"===i&&h||y&&"end"===i&&p||!y&&"start"===i&&v||!y&&"end"===i&&m),w=b||_;(f||g||w)&&(e.flipped=!0,(f||g)&&(r=a[l+1]),w&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=x({},e.offsets.popper,$(e.instance.popper,e.offsets.reference,e.placement)),e=R(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0),e.placement=M(t),e.offsets.popper=C(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!K(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=N(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,i=N(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,s=h(e.instance.popper),l=S(s),c={position:o.position},u=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},l=i(o.width),c=i(r.width),u=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),f=t?u||d||l%2==c%2?i:a:s,p=t?i:s;return{left:f(l%2==1&&c%2==1&&!d&&t?r.left-1:r.left),top:p(r.top),bottom:p(r.bottom),right:f(r.right)}}(e,window.devicePixelRatio<2||!Y),d="bottom"===n?"top":"bottom",f="right"===r?"left":"right",p=F("transform"),m=void 0,v=void 0;if(v="bottom"===d?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-l.height+u.bottom:u.top,m="right"===f?"HTML"===s.nodeName?-s.clientWidth+u.right:-l.width+u.right:u.left,a&&p)c[p]="translate3d("+m+"px, "+v+"px, 0)",c[d]=0,c[f]=0,c.willChange="transform";else{var g="bottom"===d?-1:1,y="right"===f?-1:1;c[d]=v*g,c[f]=m*y,c.willChange=d+", "+f}var b={"x-placement":e.placement};return e.attributes=x({},b,e.attributes),e.styles=x({},c,e.styles),e.arrowStyles=x({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return W(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&W(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var i=D(o,t,e,n.positionFixed),a=A(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),W(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}},oe={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:re},ie=function(){function e(t,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=i(this.update.bind(this)),this.options=x({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(x({}
vendor: 11,652 bytes, line 2
2,e.Defaults.modifiers,o.modifiers)).forEach((function(t){r.options.modifiers[t]=x({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return x({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&a(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return w(e,[{key:"update",value:function(){return L.call(this)}},{key:"destroy",value:function(){return B.call(this)}},{key:"enableEventListeners",value:function(){return U.call(this)}},{key:"disableEventListeners",value:function(){return V.call(this)}}]),e}();ie.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,ie.placements=Q,ie.Defaults=oe;const ae=ie},5458:(e,t,n)=>{var r,o,i;o=[n(4692)],void 0===(i="function"==typeof(r=function(e){var t=function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd)var t=e.fn.select2.amd;var n,r,o;return t&&t.requirejs||(t?r=t:t={},function(e){var t,i,a,s,l={},c={},u={},d={},f=Object.prototype.hasOwnProperty,p=[].slice,h=/\.js$/;function m(e,t){return f.call(e,t)}function v(e,t){var n,r,o,i,a,s,l,c,d,f,p,m=t&&t.split("/"),v=u.map,g=v&&v["*"]||{};if(e){for(a=(e=e.split("/")).length-1,u.nodeIdCompat&&h.test(e[a])&&(e[a]=e[a].replace(h,"")),"."===e[0].charAt(0)&&m&&(e=m.slice(0,m.length-1).concat(e)),d=0;d<e.length;d++)if("."===(p=e[d]))e.splice(d,1),d-=1;else if(".."===p){if(0===d||1===d&&".."===e[2]||".."===e[d-1])continue;d>0&&(e.splice(d-1,2),d-=2)}e=e.join("/")}if((m||g)&&v){for(d=(n=e.split("/")).length;d>0;d-=1){if(r=n.slice(0,d).join("/"),m)for(f=m.length;f>0;f-=1)if((o=v[m.slice(0,f).join("/")])&&(o=o[r])){i=o,s=d;break}if(i)break;!l&&g&&g[r]&&(l=g[r],c=d)}!i&&l&&(i=l,s=c),i&&(n.splice(0,s,i),e=n.join("/"))}return e}function g(t,n){return function(){var r=p.call(arguments,0);return"string"!=typeof r[0]&&1===r.length&&r.push(null),i.apply(e,r.concat([t,n]))}}function y(e){return function(t){return v(t,e)}}function b(e){return function(t){l[e]=t}}function _(n){if(m(c,n)){var r=c[n];delete c[n],d[n]=!0,t.apply(e,r)}if(!m(l,n)&&!m(d,n))throw new Error("No "+n);return l[n]}function w(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function k(e){return e?w(e):[]}function x(e){return function(){return u&&u.config&&u.config[e]||{}}}a=function(e,t){var n,r=w(e),o=r[0],i=t[1];return e=r[1],o&&(n=_(o=v(o,i))),o?e=n&&n.normalize?n.normalize(e,y(i)):v(e,i):(o=(r=w(e=v(e,i)))[0],e=r[1],o&&(n=_(o))),{f:o?o+"!"+e:e,n:e,pr:o,p:n}},s={require:function(e){return g(e)},exports:function(e){var t=l[e];return void 0!==t?t:l[e]={}},module:function(e){return{id:e,uri:"",exports:l[e],config:x(e)}}},t=function(t,n,r,o){var i,u,f,p,h,v,y,w=[],x=typeof r;if(v=k(o=o||t),"undefined"===x||"function"===x){for(n=!n.length&&r.length?["require","exports","module"]:n,h=0;h<n.length;h+=1)if("require"===(u=(p=a(n[h],v)).f))w[h]=s.require(t);else if("exports"===u)w[h]=s.exports(t),y=!0;else if("module"===u)i=w[h]=s.module(t);else if(m(l,u)||m(c,u)||m(d,u))w[h]=_(u);else{if(!p.p)throw new Error(t+" missing "+u);p.p.load(p.n,g(o,!0),b(u),{}),w[h]=l[u]}f=r?r.apply(l[t],w):void 0,t&&(i&&i.exports!==e&&i.exports!==l[t]?l[t]=i.exports:f===e&&y||(l[t]=f))}else t&&(l[t]=r)},n=r=i=function(n,r,o,l,c){if("string"==typeof n)return s[n]?s[n](r):_(a(n,k(r)).f);if(!n.splice){if((u=n).deps&&i(u.deps,u.callback),!r)return;r.splice?(n=r,r=o,o=null):n=e}return r=r||function(){},"function"==typeof o&&(o=l,l=c),l?t(e,n,r,o):setTimeout((function(){t(e,n,r,o)}),4),i},i.config=function(e){return i(e)},n._defined=l,(o=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),m(l,e)||m(c,e)||(c[e]=[e,t,n])}).amd={jQuery:!0}}(),t.requirejs=n,t.require=r,t.define=o),t.define("almond",(function(){})),t.define("jquery",[],(function(){var t=e||$;return null==t&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),t})),t.define("select2/utils",["jquery"],(function(e){var t={};function n(e){var t=e.prototype,n=[];for(var r in t)"function"==typeof t[r]&&"constructor"!==r&&n.push(r);return n}t.Extend=function(e,t){var n={}.hasOwnProperty;function r(){this.constructor=e}for(var o in t)n.call(t,o)&&(e[o]=t[o]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},t.Decorate=function(e,t){var r=n(t),o=n(e);function i(){var n=Array.prototype.unshift,r=t.prototype.constructor.length,o=e.prototype.constructor;r>0&&(n.call(arguments,e.prototype.constructor),o=t.prototype.constructor),o.apply(this,arguments)}function a(){this.constructor=i}t.displayName=e.displayName,i.prototype=new a;for(var s=0;s<o.length;s++){var l=o[s];i.prototype[l]=e.prototype[l]}for(var c=function(e){var n=function(){};e in i.prototype&&(n=i.prototype[e]);var r=t.prototype[e];return function(){return Array.prototype.unshift.call(arguments,n),r.apply(this,arguments)}},u=0;u<r.length;u++){var d=r[u];i.prototype[d]=c(d)}return i};var r=function(){this.listeners={}};r.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},r.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),n[0]._type=e,e in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},r.prototype.invoke=function(e,t){for(var n=0,r=e.length;n<r;n++)e[n].apply(this,t)},t.Observable=r,t.generateChars=function(e){for(var t="",n=0;n<e;n++)t+=Math.floor(36*Math.random()).toString(36);return t},t.bind=function(e,t){return function(){e.apply(t,arguments)}},t._convertData=function(e){for(var t in e){var n=t.split("-"),r=e;if(1!==n.length){for(var o=0;o<n.length;o++){var i=n[o];(i=i.substring(0,1).toLowerCase()+i.substring(1))in r||(r[i]={}),o==n.length-1&&(r[i]=e[t]),r=r[i]}delete e[t]}}return e},t.hasScroll=function(t,n){var r=e(n),o=n.style.overflowX,i=n.style.overflowY;return(o!==i||"hidden"!==i&&"visible"!==i)&&("scroll"===o||"scroll"===i||r.innerHeight()<n.scrollHeight||r.innerWidth()<n.scrollWidth)},t.escapeMarkup=function(e){var t={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,(function(e){return t[e]}))},t.__cache={};var o=0;return t.GetUniqueElementId=function(e){var n=e.getAttribute("data-select2-id");return null!=n||(n=e.id?"select2-data-"+e.id:"select2-data-"+(++o).toString()+"-"+t.generateChars(4),e.setAttribute("data-select2-id",n)),n},t.StoreData=function(e,n,r){var o=t.GetUniqueElementId(e);t.__cache[o]||(t.__cache[o]={}),t.__cache[o][n]=r},t.GetData=function(n,r){var o=t.GetUniqueElementId(n);return r?t.__cache[o]&&null!=t.__cache[o][r]?t.__cache[o][r]:e(n).data(r):t.__cache[o]},t.RemoveData=function(e){var n=t.GetUniqueElementId(e);null!=t.__cache[n]&&delete t.__cache[n],e.removeAttribute("data-select2-id")},t.copyNonInternalCssClasses=function(e,t){var n=e.getAttribute("class").trim().split(/\s+/);n=n.filter((function(e){return 0===e.indexOf("select2-")}));var r=t.getAttribute("class").trim().split(/\s+/);r=r.filter((function(e){return 0!==e.indexOf("select2-")}));var o=n.concat(r);e.setAttribute("class",o.join(" "))},t})),t.define("select2/results",["jquery","./utils"],(function(e,t){function n(e,t,r){this.$element=e,this.data=r,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t,t},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(t){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var r=e('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),o=this.options.get("translations").get(t.message);r.append(n(o(t.args))),r[0].className+=" select2-results__message",this.$results.append(r)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var r=e.results[n],o=this.option(r);t.push(o)}this.$results.append(t)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},n.prototype.position=function(e,t){t.find(".select2-results").append(e)},n.prototype.sort=function(e){return this.options.get("sorter")(e)},n.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option--selectable"),t=e.filter(".select2-results__option--selected");t.length>0?t.first().trigger("mouseenter"):e.first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var n=this;this.data.current((function(r){var o=r.map((function(e){return e.id.toString()}));n.$results.find(".select2-results__option--selectable").each((function(){var n=e(this),r=t.GetData(this,"data"),i=""+r.id;null!=r.element&&r.element.selected||null==r.element&&o.indexOf(i)>-1?(this.classList.add("select2-results__option--selected"),n.attr("aria-selected","true")):(this.classList.remove("select2-results__option--selected"),n.attr("aria-selected","false"))}))}))},n.prototype.showLoading=function(e){this.hideLoading();var t={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},n=this.option(t);n.className+=" loading-results",this.$results.prepend(n)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(n){var r=document.createElement("li");r.classList.add("select2-results__option"),r.classList.add("select2-results__option--selectable");var o={role:"option"},i=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var a in(null!=n.element&&i.call(n.element,":disabled")||null==n.element&&n.disabled)&&(o["aria-disabled"]="true",r.classList.remove("select2-results__option--selectable"),r.classList.add("select2-results__option--disabled")),null==n.id&&r.classList.remove("select2-results__option--selectable"),null!=n._resultId&&(r.id=n._resultId),n.title&&(r.title=n.title),n.children&&(o.role="group",o["aria-label"]=n.text,r.classList.remove("select2-results__option--selectable"),r.classList.add("select2-results__option--group")),o){var s=o[a];r.setAttribute(a,s)}if(n.children){var l=e(r),c=document.createElement("strong");c.className="select2-results__group",this.template(n,c);for(var u=[],d=0;d<n.children.length;d++){var f=n.children[d],p=this.option(f);u.push(p)}var h=e("<ul></ul>",{class:"select2-results__options select2-results__options--nested",role:"none"});h.append(u),l.append(c),l.append(h)}else this.template(n,r);return t.StoreData(r,"data",n),r},n.prototype.bind=function(n,r){var o=this,i=n.id+"-results";this.$results.attr("id",i),n.on("results:all",(function(e){o.clear(),o.append(e.data),n.isOpen()&&(o.setClasses(),o.highlightFirstItem())})),n.on("results:append",(function(e){o.append(e.data),n.isOpen()&&o.setClasses()})),n.on("query",(function(e){o.hideMessages(),o.showLoading(e)}
2)),n.on("select",(function(){n.isOpen()&&(o.setClasses(),o.options.get("scrollAfterSelect")&&o.highlightFirstItem())})),n.on("unselect",(function(){n.isOpen()&&(o.setClasses(),o.options.get("scrollAfterSelect")&&o.highlightFirstItem())})),n.on("open",(function(){o.$results.attr("aria-expanded","true"),o.$results.attr("aria-hidden","false"),o.setClasses(),o.ensureHighlightVisible()})),n.on("close",(function(){o.$results.attr("aria-expanded","false"),o.$results.attr("aria-hidden","true"),o.$results.removeAttr("aria-activedescendant")})),n.on("results:toggle",(function(){var e=o.getHighlightedResults();0!==e.length&&e.trigger("mouseup")})),n.on("results:select",(function(){var e=o.getHighlightedResults();if(0!==e.length){var n=t.GetData(e[0],"data");e.hasClass("select2-results__option--selected")?o.trigger("close",{}):o.trigger("select",{data:n})}})),n.on("results:previous",(function(){var e=o.getHighlightedResults(),t=o.$results.find(".select2-results__option--selectable"),n=t.index(e);if(!(n<=0)){var r=n-1;0===e.length&&(r=0);var i=t.eq(r);i.trigger("mouseenter");var a=o.$results.offset().top,s=i.offset().top,l=o.$results.scrollTop()+(s-a);0===r?o.$results.scrollTop(0):s-a<0&&o.$results.scrollTop(l)}})),n.on("results:next",(function(){var e=o.getHighlightedResults(),t=o.$results.find(".select2-results__option--selectable"),n=t.index(e)+1;if(!(n>=t.length)){var r=t.eq(n);r.trigger("mouseenter");var i=o.$results.offset().top+o.$results.outerHeight(!1),a=r.offset().top+r.outerHeight(!1),s=o.$results.scrollTop()+a-i;0===n?o.$results.scrollTop(0):a>i&&o.$results.scrollTop(s)}})),n.on("results:focus",(function(e){e.element[0].classList.add("select2-results__option--highlighted"),e.element[0].setAttribute("aria-selected","true")})),n.on("results:message",(function(e){o.displayMessage(e)})),e.fn.mousewheel&&this.$results.on("mousewheel",(function(e){var t=o.$results.scrollTop(),n=o.$results.get(0).scrollHeight-t+e.deltaY,r=e.deltaY>0&&t-e.deltaY<=0,i=e.deltaY<0&&n<=o.$results.height();r?(o.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):i&&(o.$results.scrollTop(o.$results.get(0).scrollHeight-o.$results.height()),e.preventDefault(),e.stopPropagation())})),this.$results.on("mouseup",".select2-results__option--selectable",(function(n){var r=e(this),i=t.GetData(this,"data");r.hasClass("select2-results__option--selected")?o.options.get("multiple")?o.trigger("unselect",{originalEvent:n,data:i}):o.trigger("close",{}):o.trigger("select",{originalEvent:n,data:i})})),this.$results.on("mouseenter",".select2-results__option--selectable",(function(n){var r=t.GetData(this,"data");o.getHighlightedResults().removeClass("select2-results__option--highlighted").attr("aria-selected","false"),o.trigger("results:focus",{data:r,element:e(this)})}))},n.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find(".select2-results__option--selectable").index(e),n=this.$results.offset().top,r=e.offset().top,o=this.$results.scrollTop()+(r-n),i=r-n;o-=2*e.outerHeight(!1),t<=2?this.$results.scrollTop(0):(i>this.$results.outerHeight()||i<0)&&this.$results.scrollTop(o)}},n.prototype.template=function(t,n){var r=this.options.get("templateResult"),o=this.options.get("escapeMarkup"),i=r(t,n);null==i?n.style.display="none":"string"==typeof i?n.innerHTML=o(i):e(n).append(i)},n})),t.define("select2/keys",[],(function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}})),t.define("select2/selection/base",["jquery","../utils","../keys"],(function(e,t,n){function r(e,t){this.$element=e,this.options=t,r.__super__.constructor.call(this)}return t.Extend(r,t.Observable),r.prototype.render=function(){var n=e('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=t.GetData(this.$element[0],"old-tabindex")?this._tabindex=t.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),n.attr("title",this.$element.attr("title")),n.attr("tabindex",this._tabindex),n.attr("aria-disabled","false"),this.$selection=n,n},r.prototype.bind=function(e,t){var r=this,o=e.id+"-results";this.container=e,this.$selection.on("focus",(function(e){r.trigger("focus",e)})),this.$selection.on("blur",(function(e){r._handleBlur(e)})),this.$selection.on("keydown",(function(e){r.trigger("keypress",e),e.which===n.SPACE&&e.preventDefault()})),e.on("results:focus",(function(e){r.$selection.attr("aria-activedescendant",e.data._resultId)})),e.on("selection:update",(function(e){r.update(e.data)})),e.on("open",(function(){r.$selection.attr("aria-expanded","true"),r.$selection.attr("aria-owns",o),r._attachCloseHandler(e)})),e.on("close",(function(){r.$selection.attr("aria-expanded","fal
2se"),r.$selection.removeAttr("aria-activedescendant"),r.$selection.removeAttr("aria-owns"),r.$selection.trigger("focus"),r._detachCloseHandler(e)})),e.on("enable",(function(){r.$selection.attr("tabindex",r._tabindex),r.$selection.attr("aria-disabled","false")})),e.on("disable",(function(){r.$selection.attr("tabindex","-1"),r.$selection.attr("aria-disabled","true")}))},r.prototype._handleBlur=function(t){var n=this;window.setTimeout((function(){document.activeElement==n.$selection[0]||e.contains(n.$selection[0],document.activeElement)||n.trigger("blur",t)}),1)},r.prototype._attachCloseHandler=function(n){e(document.body).on("mousedown.select2."+n.id,(function(n){var r=e(n.target).closest(".select2");e(".select2.select2-container--open").each((function(){this!=r[0]&&t.GetData(this,"element").select2("close")}))}))},r.prototype._detachCloseHandler=function(t){e(document.body).off("mousedown.select2."+t.id)},r.prototype.position=function(e,t){t.find(".selection").append(e)},r.prototype.destroy=function(){this._detachCloseHandler(this.container)},r.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},r.prototype.isEnabled=function(){return!this.isDisabled()},r.prototype.isDisabled=function(){return this.options.get("disabled")},r})),t.define("select2/selection/single",["jquery","./base","../utils","../keys"],(function(e,t,n,r){function o(){o.__super__.constructor.apply(this,arguments)}return n.Extend(o,t),o.prototype.render=function(){var e=o.__super__.render.call(this);return e[0].classList.add("select2-selection--single"),e.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},o.prototype.bind=function(e,t){var n=this;o.__super__.bind.apply(this,arguments);var r=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",r).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",r),this.$selection.attr("aria-controls",r),this.$selection.on("mousedown",(function(e){1===e.which&&n.trigger("toggle",{originalEvent:e})})),this.$selection.on("focus",(function(e){})),this.$selection.on("blur",(function(e){})),e.on("focus",(function(t){e.isOpen()||n.$selection.trigger("focus")}))},o.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},o.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},o.prototype.selectionContainer=function(){return e("<span></span>")},o.prototype.update=function(e){if(0!==e.length){var t=e[0],n=this.$selection.find(".select2-selection__rendered"),r=this.display(t,n);n.empty().append(r);var o=t.title||t.text;o?n.attr("title",o):n.removeAttr("title")}else this.clear()},o})),t.define("select2/selection/multiple",["jquery","./base","../utils"],(function(e,t,n){function r(e,t){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,t),r.prototype.render=function(){var e=r.__super__.render.call(this);return e[0].classList.add("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},r.prototype.bind=function(t,o){var i=this;r.__super__.bind.apply(this,arguments);var a=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",a),this.$selection.on("click",(function(e){i.trigger("toggle",{originalEvent:e})})),this.$selection.on("click",".select2-selection__choice__remove",(function(t){if(!i.isDisabled()){var r=e(this).parent(),o=n.GetData(r[0],"data");i.trigger("unselect",{originalEvent:t,data:o})}})),this.$selection.on("keydown",".select2-selection__choice__remove",(function(e){i.isDisabled()||e.stopPropagation()}))},r.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},r.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},r.prototype.selectionContainer=function(){return e('<li class="select2-selection__choice"><button type="button" class="select2-selection__choice__remove" tabindex="-1"><span aria-hidden="true">×</span></button><span class="select2-selection__choice__display"></span></li>')},r.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],r=this.$selection.find(".select2-selection__rendered").attr("id")+"-choice-",o=0;o<e.length;o++){var i=e[o],a=this.selectionContainer(),s=this.display(i,a),l=r+n.generateChars(4)+"-";i.id?l+=i.id:l+=n.generateChars(4),a.find(".select2-selection__choice__display").append(s).attr("id",l);var c=i.title||i.text;c&&a.attr("title",c);var u=this.options.get("translations").get("removeItem"),d=a.find(".select2-selection__choice__remove");d.attr("title",u()),d.attr("aria-label",u()),d.attr("aria-describedby",l),n.StoreData(a[0],"data",i),t.push(a)}this.$selection.find(".select2-selection__rendered").append(t)}},r})),t.define("select2/selection/placeholder",[],(function(){function e(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n)}return e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();n.html(this.display(t)),n[0].classList.add("select2-selection__placeholder"),n[0].classList.remove("select2-selection__choice");var r=t.title||t.text||n.text();return this.$selection.find(".select2-selection__rendered").attr("title",r),n},e.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id;if(t.length>1||n)return e.call(this,t);this.clear();var r=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(r)},e}
2)),t.define("select2/selection/allowClear",["jquery","../keys","../utils"],(function(e,t,n){function r(){}return r.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",(function(e){r._handleClear(e)})),t.on("keypress",(function(e){r._handleKeyboardClear(e,t)}))},r.prototype._handleClear=function(e,t){if(!this.isDisabled()){var r=this.$selection.find(".select2-selection__clear");if(0!==r.length){t.stopPropagation();var o=n.GetData(r[0],"data"),i=this.$element.val();this.$element.val(this.placeholder.id);var a={data:o};if(this.trigger("clear",a),a.prevented)this.$element.val(i);else{for(var s=0;s<o.length;s++)if(a={data:o[s]},this.trigger("unselect",a),a.prevented)return void this.$element.val(i);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},r.prototype._handleKeyboardClear=function(e,n,r){r.isOpen()||n.which!=t.DELETE&&n.which!=t.BACKSPACE||this._handleClear(n)},r.prototype.update=function(t,r){if(t.call(this,r),this.$selection.find(".select2-selection__clear").remove(),this.$selection[0].classList.remove("select2-selection--clearable"),!(this.$selection.find(".select2-selection__placeholder").length>0||0===r.length)){var o=this.$selection.find(".select2-selection__rendered").attr("id"),i=this.options.get("translations").get("removeAllItems"),a=e('<button type="button" class="select2-selection__clear" tabindex="-1"><span aria-hidden="true">×</span></button>');a.attr("title",i()),a.attr("aria-label",i()),a.attr("aria-describedby",o),n.StoreData(a[0],"data",r),this.$selection.prepend(a),this.$selection[0].classList.add("select2-selection--clearable")}},r})),t.define("select2/selection/search",["jquery","../utils","../keys"],(function(e,t,n){function r(e,t,n){e.call(this,t,n)}return r.prototype.render=function(t){var n=this.options.get("translations").get("search"),r=e('<span class="select2-search select2-search--inline"><textarea class="select2-search__field" type="search" tabindex="-1" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" ></textarea></span>');this.$searchContainer=r,this.$search=r.find("textarea"),this.$search.prop("autocomplete",this.options.get("autocomplete")),this.$search.attr("aria-label",n());var o=t.call(this);return this._transferTabIndex(),o.append(this.$searchContainer),o},r.prototype.bind=function(e,r,o){var i=this,a=r.id+"-results",s=r.id+"-container";e.call(this,r,o),i.$search.attr("aria-describedby",s),r.on("open",(function(){i.$search.attr("aria-controls",a),i.$search.trigger("focus")})),r.on("close",(function(){i.$search.val(""),i.resizeSearch(),i.$search.removeAttr("aria-controls"),i.$search.removeAttr("aria-activedescendant"),i.$search.trigger("focus")})),r.on("enable",(function(){i.$search.prop("disabled",!1),i._transferTabIndex()})),r.on("disable",(function(){i.$search.prop("disabled",!0)})),r.on("focus",(function(e){i.$search.trigger("focus")})),r.on("results:focus",(function(e){e.data._resultId?i.$search.attr("aria-activedescendant",e.data._resultId):i.$search.removeAttr("aria-activedescendant")})),this.$selection.on("focusin",".select2-search--inline",(function(e){i.trigger("focus",e)})),this.$selection.on("focusout",".select2-search--inline",(function(e){i._handleBlur(e)})),this.$selection.on("keydown",".select2-search--inline",(function(e){if(e.stopPropagation(),i.trigger("keypress",e),i._keyUpPrevented=e.isDefaultPrevented(),e.which===n.BACKSPACE&&""===i.$search.val()){var r=i.$selection.find(".select2-selection__choice").last();if(r.length>0){var o=t.GetData(r[0],"data");i.searchRemoveChoice(o),e.preventDefault()}}})),this.$selection.on("click",".select2-search--inline",(function(e){i.$search.val()&&e.stopPropagation()}));var l=document.documentMode,c=l&&l<=11;this.$selection.on("input.searchcheck",".select2-search--inline",(function(e){c?i.$selection.off("input.search input.searchcheck"):i.$selection.off("keyup.search")})),this.$selection.on("keyup.search input.search",".select2-search--inline",(function(e){if(c&&"input"===e.type)i.$selection.off("input.search input.searchcheck");else{var t=e.which;t!=n.SHIFT&&t!=n.CTRL&&t!=n.ALT&&t!=n.TAB&&i.handleSearch(e)}}))},r.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},r.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},r.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.resizeSearch(),n&&this.$search.trigger("focus")},r.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},r.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},r.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="100%";""===this.$search.attr("placeholder")&&(e=.75*(this.$search.val().length+1)+"em"),this.$search.css("width",e)},r})),t.define("select2/selection/selectionCss",["../utils"],(function(e){function t(){}return t.prototype.render=function(t){var n=t.call(this),r=this.options.get("selectionCssClass")||"";return-1!==r.indexOf(":all:")&&(r=r.replace(":all:",""),e.copyNonInternalCssClasse
2s(n[0],this.$element[0])),n.addClass(r),n},t})),t.define("select2/selection/eventRelay",["jquery"],(function(e){function t(){}return t.prototype.bind=function(t,n,r){var o=this,i=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],a=["opening","closing","selecting","unselecting","clearing"];t.call(this,n,r),n.on("*",(function(t,n){if(-1!==i.indexOf(t)){n=n||{};var r=e.Event("select2:"+t,{params:n});o.$element.trigger(r),-1!==a.indexOf(t)&&(n.prevented=r.isDefaultPrevented())}}))},t})),t.define("select2/translation",["jquery","require"],(function(e,t){function n(e){this.dict=e||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(e){return this.dict[e]},n.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},n._cache={},n.loadPath=function(e){if(!(e in n._cache)){var r=t(e);n._cache[e]=r}return new n(n._cache[e])},n})),t.define("select2/diacritics",[],(function(){return{"â¶":"A",A:"A",Ã:"A",Ã:"A",Ã:"A",Ầ:"A",Ấ:"A",Ẫ:"A",Ẩ:"A",Ã:"A",Ä:"A",Ä:"A",Ằ:"A",Ắ:"A",Ẵ:"A",Ẳ:"A",Ȧ:"A",Ç :"A",Ã:"A",Ç:"A",Ả:"A",Ã
:"A",Ǻ:"A",Ç:"A",È:"A",È:"A",Ạ:"A",Ậ:"A",Ặ:"A",á¸:"A",Ä:"A",Ⱥ:"A",Ɐ:"A",ê²:"AA",Ã:"AE",Ǽ:"AE",Ç¢:"AE",ê´:"AO",ê¶:"AU",ê¸:"AV",êº:"AV",ê¼:"AY","â·":"B",ï¼¢:"B",á¸:"B",á¸:"B",á¸:"B",É:"B",Æ:"B",Æ:"B","â¸":"C",ï¼£:"C",Ä:"C",Ä:"C",Ä:"C",Ä:"C",Ã:"C",á¸:"C",Æ:"C",È»:"C",ê¾:"C","â¹":"D",D:"D",á¸:"D",Ä:"D",á¸:"D",á¸:"D",á¸:"D",á¸:"D",Ä:"D",Æ:"D",Æ:"D",Æ:"D",ê¹:"D",DZ:"DZ",Ç:"DZ",Dz:"Dz",Ç
:"Dz","âº":"E",ï¼¥:"E",Ã:"E",Ã:"E",Ã:"E",á»:"E",Ế:"E",á»:"E",á»:"E",Ẽ:"E",Ä:"E",á¸:"E",á¸:"E",Ä:"E",Ä:"E",Ã:"E",Ẻ:"E",Ä:"E",È:"E",È:"E",Ẹ:"E",á»:"E",Ȩ:"E",á¸:"E",Ä:"E",á¸:"E",á¸:"E",Æ:"E",Æ:"E","â»":"F",F:"F",á¸:"F",Æ:"F",ê»:"F","â¼":"G",ï¼§:"G",Ç´:"G",Ä:"G",Ḡ:"G",Ä:"G",Ä :"G",Ǧ:"G",Ä¢:"G",Ǥ:"G",Æ:"G",ê :"G",ê½:"G",ê¾:"G","â½":"H",H:"H",Ĥ:"H",Ḣ:"H",Ḧ:"H",È:"H",Ḥ:"H",Ḩ:"H",Ḫ:"H",Ħ:"H",â±§:"H",â±µ:"H",ê:"H","â¾":"I",I:"I",Ã:"I",Ã:"I",Ã:"I",Ĩ:"I",Ī:"I",Ĭ:"I",İ:"I",Ã:"I",Ḯ:"I",á»:"I",Ç:"I",È:"I",È:"I",á»:"I",Ä®:"I",Ḭ:"I",Æ:"I","â¿":"J",J:"J",Ä´:"J",É:"J","â":"K",K:"K",Ḱ:"K",Ǩ:"K",Ḳ:"K",Ķ:"K",Ḵ:"K",Æ:"K",Ⱪ:"K",ê:"K",ê:"K",ê:"K",ê¢:"K","â":"L",L:"L",Ä¿:"L",Ĺ:"L",Ľ:"L",Ḷ:"L",Ḹ:"L",Ä»:"L",Ḽ:"L",Ḻ:"L",Å:"L",Ƚ:"L",â±¢:"L",â± :"L",ê:"L",ê:"L",ê:"L",Ç:"LJ",Ç:"Lj","â":"M",ï¼:"M",Ḿ:"M",á¹:"M",á¹:"M",â±®:"M",Æ:"M","â":"N",ï¼®:"N",Ǹ:"N",Å:"N",Ã:"N",á¹:"N",Å:"N",á¹:"N",Å
:"N",á¹:"N",á¹:"N",È :"N",Æ:"N",ê:"N",ê¤:"N",Ç:"NJ",Ç:"Nj","â":"O",O:"O",Ã:"O",Ã:"O",Ã:"O",á»:"O",á»:"O",á»:"O",á»:"O",Ã:"O",á¹:"O",Ȭ:"O",á¹:"O",Å:"O",á¹:"O",á¹:"O",Å:"O",È®:"O",Ȱ:"O",Ã:"O",Ȫ:"O",á»:"O",Å:"O",Ç:"O",È:"O",È:"O",Æ :"O",á»:"O",á»:"O",á» :"O",á»:"O",Ợ:"O",á»:"O",á»:"O",Ǫ:"O",Ǭ:"O",Ã:"O",Ǿ:"O",Æ:"O",Æ:"O",ê:"O",ê:"O",Å:"OE",Æ¢:"OI",ê:"OO",È¢:"OU","â
":"P",ï¼°:"P",á¹:"P",á¹:"P",Ƥ:"P",â±£:"P",ê:"P",ê:"P",ê:"P","â":"Q",ï¼±:"Q",ê:"Q",ê:"Q",É:"Q","â":"R",ï¼²:"R",Å:"R",á¹:"R",Å:"R",È:"R",È:"R",á¹:"R",á¹:"R",Å:"R",á¹:"R",É:"R",Ɽ:"R",ê:"R",ê¦:"R",ê:"R","â":"S",ï¼³:"S",áº:"S",Å:"S",Ṥ:"S",Å:"S",á¹ :"S",Å :"S",Ṧ:"S",á¹¢:"S",Ṩ:"S",È:"S",Å:"S",â±¾:"S",ê¨:"S",ê:"S","â":"T",ï¼´:"T",Ṫ:"T",Ť:"T",Ṭ:"T",È:"T",Å¢:"T",á¹°:"T",á¹®:"T",Ŧ:"T",Ƭ:"T",Æ®:"T",Ⱦ:"T",ê:"T",ê¨:"TZ","â":"U",ï¼µ:"U",Ã:"U",Ã:"U",Ã:"U",Ũ:"U",Ṹ:"U",Ū:"U",Ṻ:"U",Ŭ:"U",Ã:"U",Ç:"U",Ç:"U",Ç:"U",Ç:"U",Ủ:"U",Å®:"U",Ű:"U",Ç:"U",È:"U",È:"U",Ư:"U",Ừ:"U",Ứ:"U",á»®:"U",Ử:"U",á»°:"U",Ụ:"U",á¹²:"U",Ų:"U",á¹¶:"U",á¹´:"U",É:"U","â":"V",ï¼¶:"V",á¹¼:"V",á¹¾:"V",Ʋ:"V",ê:"V",É
:"V",ê :"VY","â":"W",ï¼·:"W",áº:"W",áº:"W",Å´:"W",áº:"W",áº:"W",áº:"W",â±²:"W","â":"X",X:"X",áº:"X",áº:"X","â":"Y",ï¼¹:"Y",Ỳ:"Y",Ã:"Y",Ŷ:"Y",Ỹ:"Y",Ȳ:"Y",áº:"Y",Ÿ:"Y",á»¶:"Y",á»´:"Y",Ƴ:"Y",É:"Y",Ỿ:"Y","â":"Z",Z:"Z",Ź:"Z",áº:"Z",Å»:"Z",Ž:"Z",áº:"Z",áº:"Z",Ƶ:"Z",Ȥ:"Z",Ɀ:"Z",Ⱬ:"Z",ê¢:"Z","â":"a",ï½:"a",áº:"a",à :"a",á:"a",â:"a",ầ:"a",ấ:"a",ẫ:"a",ẩ:"a",ã:"a",Ä:"a",Ä:"a",ằ:"a",ắ:"a",ẵ:"a",ẳ:"a",ȧ:"a",Ç¡:"a",ä:"a",Ç:"a",ả:"a",Ã¥:"a",Ç»:"a",Ç:"a",È:"a",È:"a",ạ:"a",áº:"a",ặ:"a",á¸:"a",Ä
:"a",â±¥:"a",É:"a",ê³:"aa",æ:"ae",ǽ:"ae",Ç£:"ae",êµ:"ao",ê·:"au",ê¹:"av",ê»:"av",ê½:"ay","â":"b",ï½:"b",á¸:"b",á¸
:"b",á¸:"b",Æ:"b",Æ:"b",É:"b","â":"c",ï½:"c",Ä:"c",Ä:"c",Ä:"c",Ä:"c",ç:"c",á¸:"c",Æ:"c",ȼ:"c",ê¿:"c",â:"c","â":"d",ï½:"d",á¸:"d",Ä:"d",á¸:"d",á¸:"d",á¸:"d",á¸:"d",Ä:"d",Æ:"d",É:"d",É:"d",êº:"d",dz:"dz",Ç:"dz","â":"e",ï½
:"e",è:"e",é:"e",ê:"e",á»:"e",á
vendor: 18,523 bytes, line 2
2º¿:"e",á»
:"e",á»:"e",ẽ:"e",Ä:"e",á¸:"e",á¸:"e",Ä:"e",Ä:"e",ë:"e",ẻ:"e",Ä:"e",È
:"e",È:"e",ẹ:"e",á»:"e",È©:"e",á¸:"e",Ä:"e",á¸:"e",á¸:"e",É:"e",É:"e",Ç:"e","â":"f",ï½:"f",á¸:"f",Æ:"f",ê¼:"f","â":"g",ï½:"g",ǵ:"g",Ä:"g",ḡ:"g",Ä:"g",Ä¡:"g",ǧ:"g",Ä£:"g",Ç¥:"g",É :"g",ê¡:"g",áµ¹:"g",ê¿:"g","â":"h",ï½:"h",Ä¥:"h",ḣ:"h",ḧ:"h",È:"h",ḥ:"h",ḩ:"h",ḫ:"h",áº:"h",ħ:"h",ⱨ:"h",â±¶:"h",É¥:"h",Æ:"hv","â":"i",ï½:"i",ì:"i",Ã:"i",î:"i",Ä©:"i",Ä«:"i",Ä:"i",ï:"i",ḯ:"i",á»:"i",Ç:"i",È:"i",È:"i",á»:"i",į:"i",á¸:"i",ɨ:"i",ı:"i","â":"j",ï½:"j",ĵ:"j",ǰ:"j",É:"j","â":"k",ï½:"k",ḱ:"k",Ç©:"k",ḳ:"k",Ä·:"k",ḵ:"k",Æ:"k",ⱪ:"k",ê:"k",ê:"k",ê
:"k",ê£:"k","â":"l",ï½:"l",Å:"l",ĺ:"l",ľ:"l",ḷ:"l",ḹ:"l",ļ:"l",ḽ:"l",ḻ:"l",Å¿:"l",Å:"l",Æ:"l",É«:"l",ⱡ:"l",ê:"l",ê:"l",ê:"l",Ç:"lj","â":"m",ï½:"m",ḿ:"m",á¹:"m",á¹:"m",ɱ:"m",ɯ:"m","â":"n",ï½:"n",ǹ:"n",Å:"n",ñ:"n",á¹
:"n",Å:"n",á¹:"n",Å:"n",á¹:"n",á¹:"n",Æ:"n",ɲ:"n",Å:"n",ê:"n",ê¥:"n",Ç:"nj","â":"o",ï½:"o",ò:"o",ó:"o",ô:"o",á»:"o",á»:"o",á»:"o",á»:"o",õ:"o",á¹:"o",È:"o",á¹:"o",Å:"o",á¹:"o",á¹:"o",Å:"o",ȯ:"o",ȱ:"o",ö:"o",È«:"o",á»:"o",Å:"o",Ç:"o",È:"o",È:"o",Æ¡:"o",á»:"o",á»:"o",ỡ:"o",á»:"o",ợ:"o",á»:"o",á»:"o",Ç«:"o",Ç:"o",ø:"o",Ç¿:"o",É:"o",ê:"o",ê:"o",ɵ:"o",Å:"oe",Æ£:"oi",È£:"ou",ê:"oo","â":"p",ï½:"p",á¹:"p",á¹:"p",Æ¥:"p",áµ½:"p",ê:"p",ê:"p",ê:"p","â ":"q",ï½:"q",É:"q",ê:"q",ê:"q","â¡":"r",ï½:"r",Å:"r",á¹:"r",Å:"r",È:"r",È:"r",á¹:"r",á¹:"r",Å:"r",á¹:"r",É:"r",ɽ:"r",ê:"r",ê§:"r",ê:"r","â¢":"s",ï½:"s",Ã:"s",Å:"s",á¹¥:"s",Å:"s",ṡ:"s",Å¡:"s",á¹§:"s",á¹£:"s",ṩ:"s",È:"s",Å:"s",È¿:"s",ê©:"s",ê
:"s",áº:"s","â£":"t",ï½:"t",ṫ:"t",áº:"t",Å¥:"t",á¹:"t",È:"t",Å£:"t",á¹±:"t",ṯ:"t",ŧ:"t",Æ:"t",Ê:"t",ⱦ:"t",ê:"t",ê©:"tz","â¤":"u",ï½:"u",ù:"u",ú:"u",û:"u",Å©:"u",á¹¹:"u",Å«:"u",á¹»:"u",Å:"u",ü:"u",Ç:"u",Ç:"u",Ç:"u",Ç:"u",á»§:"u",ů:"u",ű:"u",Ç:"u",È:"u",È:"u",ư:"u",ừ:"u",ứ:"u",ữ:"u",á»:"u",á»±:"u",ụ:"u",á¹³:"u",ų:"u",á¹·:"u",á¹µ:"u",Ê:"u","â¥":"v",ï½:"v",á¹½:"v",ṿ:"v",Ê:"v",ê:"v",Ê:"v",ê¡:"vy","â¦":"w",ï½:"w",áº:"w",áº:"w",ŵ:"w",áº:"w",áº
:"w",áº:"w",áº:"w",â±³:"w","â§":"x",ï½:"x",áº:"x",áº:"x","â¨":"y",ï½:"y",ỳ:"y",ý:"y",Å·:"y",ỹ:"y",ȳ:"y",áº:"y",ÿ:"y",á»·:"y",áº:"y",ỵ:"y",Æ´:"y",É:"y",ỿ:"y","â©":"z",ï½:"z",ź:"z",áº:"z",ż:"z",ž:"z",áº:"z",áº:"z",ƶ:"z",È¥:"z",É:"z",ⱬ:"z",ê£:"z",Î:"Î",Î:"Î",Î:"Î",Î:"Î",Ϊ:"Î",Î:"Î",Î:"Î¥",Ϋ:"Î¥",Î:"Ω",ά:"α",Î:"ε",ή:"η",ί:"ι",Ï:"ι",Î:"ι",Ï:"ο",Ï:"Ï
",Ï:"Ï
",ΰ:"Ï
",Ï:"Ï",Ï:"Ï","â":"'"}})),t.define("select2/data/base",["../utils"],(function(e){function t(e,n){t.__super__.constructor.call(this)}return e.Extend(t,e.Observable),t.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},t.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},t.prototype.bind=function(e,t){},t.prototype.destroy=function(){},t.prototype.generateResultId=function(t,n){var r=t.id+"-result-";return r+=e.generateChars(4),null!=n.id?r+="-"+n.id.toString():r+="-"+e.generateChars(4),r},t})),t.define("select2/data/select",["./base","../utils","jquery"],(function(e,t,n){function r(e,t){this.$element=e,this.options=t,r.__super__.constructor.call(this)}return t.Extend(r,e),r.prototype.current=function(e){var t=this;e(Array.prototype.map.call(this.$element[0].querySelectorAll(":checked"),(function(e){return t.item(n(e))})))},r.prototype.select=function(e){var t=this;if(e.selected=!0,null!=e.element&&"option"===e.element.tagName.toLowerCase())return e.element.selected=!0,void this.$element.trigger("input").trigger("change");if(this.$element.prop("multiple"))this.current((function(n){var r=[];(e=[e]).push.apply(e,n);for(var o=0;o<e.length;o++){var i=e[o].id;-1===r.indexOf(i)&&r.push(i)}t.$element.val(r),t.$element.trigger("input").trigger("change")}));else{var n=e.id;this.$element.val(n),this.$element.trigger("input").trigger("change")}},r.prototype.unselect=function(e){var t=this;if(this.$element.prop("multiple")){if(e.selected=!1,null!=e.element&&"option"===e.element.tagName.toLowerCase())return e.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current((function(n){for(var r=[],o=0;o<n.length;o++){var i=n[o].id;i!==e.id&&-1===r.indexOf(i)&&r.push(i)}t.$element.val(r),t.$element.trigger("input").trigger("change")}))}},r.prototype.bind=function(e,t){var n=this;this.container=e,e.on("select",(function(e){n.select(e.data)})),e.on("unselect",(function(e){n.unselect(e.data)}))},r.prototype.destroy=function(){this.$element.find("*").each((function(){t.RemoveData(this)}))},r.prototype.query=function(e,t){var r=[],o=this;this.$element.children().each((function(){if("option"===this.tagName.toLowerCase()||"optgroup"===this.tagName.toLowerCase()){var t=n(this),i=o.item(t),a=o.matches(e,i);null!==a&&r.push(a)}})),t({results:r})},r.prototype.addOptions=function(e){this.$element.append(e)},r.prototype.option=function(e){var r;e.children?(r=document.createElement("optgroup")).label=e.text:void 0!==(r=document.createElement("option")).textContent?r.textContent=e.text:r.innerText=e.text,void 0!==e.id&&(r.value=e.id),e.disabled&&(r.disabled=!0),e.selected&&(r.selected=!0),e.title&&(r.title=e.title);var o=this._normalizeItem(e);return o.element=r,t.StoreData(r,"data",o),n(r)},r.prototype.item=function(e){var r={};if(null!=(r=t.GetData(e[0],"data")))return r;var o=e[0];if("option"===o.tagName.toLowerCase())r={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if("optgroup"===o.tagName.toLowerCase()){r={text:e.prop("label"),children:[],title:e.prop("title")};for(var i=e.children("option"),a=[],s=0;s<i.length;s++){var l=n(i[s]),c=this.item(l);a.push(c)}r.children=a}return(r=this._normalizeItem(r)).element=e[0],t.StoreData(e[0],"data",r),r},r.prototype._normalizeItem=function(e){e!==Object(e)&&(e={id:e,text:e});var t={selected:!1,disabled:!1};return null!=(e=n.extend({},{text:""},e)).id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),n.extend({},t,e)},r.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},r})),t.define("select2/data/array",["./select","../utils","jquery"],(function(e,t,n){function r(e,t){this._dataToConvert=t.get("data")||[],r.__super__.constructor.call(this,e,t)}return t.Extend(r,e),r.prototype.bind=function(e,t){r.__super__.bind.call(this,e,t),this.addOptions(this.convertToOptions(this._dataToConvert))},r.prototype.select=function(e){var t=this.$element.find("option").filter((function(t,n){return n.value==e.id.toString()}));0===t.length&&(t=this.option(e),this.addOptions(t)),r.__super__.select.call(this,e)},r.prototype.convertToOptions=function(e){var t=this,r=this.$element.find("option"),o=r.map((function(){return t.item(n(this)).id})).get(),i=[];function a(e){return function(){return n(this).val()==e.id}}for(var s=0;s<e.length;s++){var l=this._normalizeItem(e[s]);if(o.indexOf(l.id)>=0){var c=r.filter(a(l)),u=this.item(c),d=n.extend(!0,{},l,u),f=this.option(d);c.replaceWith(f)}else{var p=this.option(l);if(l.children){var h=this.convertToOptions(l.children);p.append(h)}i.push(p)}}return i},r})),t.define("select2/data/ajax",["./array","../utils","jquery"],(function(e,t,n){function r(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),r.__super__.constructor.call(this,e,t)}return t.Extend(r,e),r.prototype._applyDefaults=function(e){var t={data:function(e){return n.extend({},e,{q:e.term})},transport:function(e,t,r){var o=n.ajax(e);return o.then(t),o.fail(r),o}};return n.extend({},t,e,!0)},r.prototype.processResults=function(e){return e},r.prototype.query=function(e,t){var r=this;null!=this._request&&("function"==typeof this._request.abort&&this._request.abort(),this._request=null);var o=n.extend({type:"GET"},this.ajaxOptions);function i(){var n=o.transport(o,(function(n){var o=r.processResults(n,e);r.options.get("debug")&&window.console&&console.error&&(o&&o.results&&Array.isArray(o.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),t(o)}),(function(){(!("status"in n)||0!==n.status&&"0"!==n.status)&&r.trigger("results:message",{message:"errorLoading"})}));r._request=n}"function"==typeof o.url&&(o.url=o.url.call(this.$element,e)),"function"==typeof o.data&&(o.data=o.data.call(this.$element,e)),this.ajaxOptions.delay&&null!=e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(i,this.ajaxOptions.delay)):i()},r})),t.define("select2/data/tags",["jquery"],(function(e){function t(e,t,n){var r=n.get("tags"),o=n.get("createTag");void 0!==o&&(this.createTag=o);var i=n.get("insertTag");if(void 0!==i&&(this.insertTag=i),e.call(this,t,n),Array.isArray(r))for(var a=0;a<r.length;a++){var s=r[a],l=this._normalizeItem(s),c=this.option(l);this.$element.append(c)}}return t.prototype.query=function(e,t,n){var r=this;function o(e,i){for(var a=e.results,s=0;s<a.length;s++){var l=a[s],c=null!=l.children&&!o({results:l.children},!0);if((l.text||"").toUpperCase()===(t.term||"").toUpperCase()||c)return!i&&(e.data=a,void n(e))}if(i)return!0;var u=r.createTag(t);if(null!=u){var d=r.option(u);d.attr("data-select2-tag","true"),r.addOptions([d]),r.insertTag(a,u)}e.results=a,n(e)}this._removeOldTags(),null!=t.term&&null==t.page?e.call(this,t,o):e.call(this,t,n)},t.prototype.createTag=function(e,t){if(null==t.term)return null;var n=t.term.trim();return""===n?null:{id:n,text:n}},t.prototype.insertTag=function(e,t,n){t.unshift(n)},t.prototype._removeOldTags=function(t){this.$element.find("option[data-select2-tag]").each((function(){this.selected||e(this).remove()}))},t})),t.define("select2/data/tokenizer",["jquery"],(function(e){function t(e,t,n){var r=n.get("tokenizer");void 0!==r&&(this.tokenizer=r),e.call(this,t,n)}return t.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(".select2-search__field")},t.prototype.query=function(t,n,r){var o=this;function i(t){var n=o._normalizeItem(t);if(!o.$element.find("option").filter((function(){return e(this).val()===n.id})).length){var r=o.option(n);r.attr("data-select2-tag",!0),o._removeOldTags(),o.addOptions([r])}a(n)}function a(e){o.trigger("select",{data:e})}n.term=n.term||"";var s=this.tokenizer(n,this.options,i);s.term!==n.term&&(this.$search.length&&(this.$search.val(s.term),this.$search.trigger("focus")),n.term=s.term),t.call(this,n,r)},t.prototype.tokenizer=function(t,n,r,o){for(var i=r.get("tokenSeparators")||[],a=n.term,s=0,l=this.createTag||function(e){return{id:e.term,text:e.term}};s<a.length;){var c=a[s];if(-1!==i.indexOf(c)){var u=a.substr(0,s),d=l(e.extend({},n,{term:u}));null!=d?(o(d),a=a.substr(s+1)||"",s=0):s++}else s++}return{term:a}},t})),t.define("select2/data/minimumInputLength",[],(function(){function e(e,t,n){this.minimumInputLength=n.get("minimumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",t.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e})),t.define("select2/data/maximumInputLength",[],(function(){function e(e,t,n){this.maximumInputLength=n.get("maximumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",this.maximumInputLength>0&&t.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e})),t.define("select2/data/maximumSelectionLength",[],(function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("select",(function(){r._checkIfMaximumSelected()}))},e.prototype.query=function(e,t,n){var r=this;this._checkIfMaximumSelected((function(){e.call(r,t,n)}))},e.prototype._checkIfMaximumSelected=function(e,t){var n=this;this.current((function(e){var r=null!=e?e.length:0;n.maximumSelectionLength>0&&r>=n.maximumSelectionLength?n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):t&&t()}))},e})),t.define("select2/dropdown",["jquery","./utils"],(function(e,t){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<span class="select2-dropdown"><span class="select2-results"></span></span>');return t.attr("dir",this.options.get("dir")),this.$dropdown=t,t},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n})),t.define("select2/dropdown/search",["jquery"],(function(e){function t(){}return t.prototype.render=function(t){var n=t.call(this),r=this.options.get("translations").get("search"),o=e('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=o,this.$search=o.find("input"),this.$search.prop("autocomplete",this.options.get("autocomplete")),this.$search.attr("aria-label",r()),n.prepend(o),n},t.prototype.bind=function(t,n,r){var o=this,i=n.id+"-results";t.call(this,n,r),this.$search.on("keydown",(function(e){o.trigger("keypress",e),o._keyUpPrevented=e.isDefaultPrevented()})),this.$search.on("input",(function(t){e(this).off("keyup")})),this.$search.on("keyup input",(function(e){o.handleSearch(e)})),n.on("open",(function(){o.$search.attr("tabindex",0),o.$search.attr("aria-controls",i),o.$search.trigger("focus"),window.setTimeout((function(){o.$search.trigger("focus")}),0)})),n.on("close",(function(){o.$search.attr("tabindex",-1),o.$search.removeAttr("aria-controls"),o.$search.removeAttr("aria-activedescendant"),o.$search.val(""),o.$search.trigger("blur")})),n.on("focus",(function(){n.isOpen()||o.$search.trigger("focus")})),n.on("results:all",(function(e){null!=e.query.term&&""!==e.query.term||(o.showSearch(e)?o.$searchContainer[0].classList.remove("select2-search--hide"):o.$searchContainer[0].classList.add("select2-search--hide"))})),n.on("results:focus",(function(e){e.data._resultId?o.$search.attr("aria-activedescendant",e.data._resultId):o.$search.removeAttr("aria-activedescendant")}))},t.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},t.prototype.showSearch=function(e,t){return!0},t})),t.define("select2/dropdown/hidePlaceholder",[],(function(){function e(e,t,n,r){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,r)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),r=t.length-1;r>=0;r--){var o=t[r];this.placeholder.id===o.id&&n.splice(r,1)}return n},e})),t.define("select2/dropdown/infiniteScroll",["jquery"],(function(e){function t(e,t,n,r){this.lastParams={},e.call(this,t,n,r),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},t.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("query",(function(e){r.lastParams=e,r.loading=!0})),t.on("query:append",(function(e){r.lastParams=e,r.loading=!0})),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},t.prototype.loadMoreIfNeeded=function(){var t=e.contains(document.documentElement,this.$loadingMore[0]);!this.loading&&t&&this.$results.offset().top+this.$results.outerHeight(!1)+50>=this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)&&this.loadMore()},t.prototype.loadMore=function(){this.loading=!0;var t=e.extend({},{page:1},this.lastParams);t.page++,this.trigger("query:append",t)},t.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},t.prototype.createLoadingMore=function(){var t=e('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),n=this.options.get("translations").get("loadingMore");return t.html(n(this.lastParams)),t},t})),t.define("select2/dropdown/attachBody",["jquery","../utils"],(function(e,t){function n(t,n,r){this.$dropdownParent=e(r.get("dropdownParent")||document.body),t.call(this,n,r)}return n.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("open",(function(){r._showDropdown(),r._attachPositioningHandler(t),r._bindContainerResultHandlers(t)})),t.on("close",(function(){r._hideDropdown(),r._detachPositioningHandler(t)})),this.$dropdownContainer.on("mousedown",(function(e){e.stopPropagation()}))},n.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t[0].classList.remove("select2"),t[0].classList.add("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(t){var n=e("<span></span>"),r=t.call(this);return n.append(r),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},n.prototype._bindContainerResultHandlers=function(e,t){if(!this._containerResultsHandlersBound){var n=this;t.on("results:all",(function(){n._positionDropdown(),n._resizeDropdown()})),t.on("results:append",(function(){n._positionDropdown(),n._resizeDropdown()})),t.on("results:message",(function(){n._positionDropdown(),n._resizeDropdown()})),t.on("select",(function(){n._positionDropdown(),n._resizeDropdown()})),t.on("unselect",(function(){n._positionDropdown(),n._resizeDropdown()})),this._containerResultsHandlersBound=!0}},n.prototype._attachPositioningHandler=function(n,r){var o=this,i="scroll.
2select2."+r.id,a="resize.select2."+r.id,s="orientationchange.select2."+r.id,l=this.$container.parents().filter(t.hasScroll);l.each((function(){t.StoreData(this,"select2-scroll-position",{x:e(this).scrollLeft(),y:e(this).scrollTop()})})),l.on(i,(function(n){var r=t.GetData(this,"select2-scroll-position");e(this).scrollTop(r.y)})),e(window).on(i+" "+a+" "+s,(function(e){o._positionDropdown(),o._resizeDropdown()}))},n.prototype._detachPositioningHandler=function(n,r){var o="scroll.select2."+r.id,i="resize.select2."+r.id,a="orientationchange.select2."+r.id;this.$container.parents().filter(t.hasScroll).off(o),e(window).off(o+" "+i+" "+a)},n.prototype._positionDropdown=function(){var t=e(window),n=this.$dropdown[0].classList.contains("select2-dropdown--above"),r=this.$dropdown[0].classList.contains("select2-dropdown--below"),o=null,i=this.$container.offset();i.bottom=i.top+this.$container.outerHeight(!1);var a={height:this.$container.outerHeight(!1)};a.top=i.top,a.bottom=i.top+a.height;var s={height:this.$dropdown.outerHeight(!1)},l={top:t.scrollTop(),bottom:t.scrollTop()+t.height()},c=l.top<i.top-s.height,u=l.bottom>i.bottom+s.height,d={left:i.left,top:a.bottom},f=this.$dropdownParent;"static"===f.css("position")&&(f=f.offsetParent());var p={top:0,left:0};(e.contains(document.body,f[0])||f[0].isConnected)&&(p=f.offset()),d.top-=p.top,d.left-=p.left,n||r||(o="below"),u||!c||n?!c&&u&&n&&(o="below"):o="above",("above"==o||n&&"below"!==o)&&(d.top=a.top-p.top-s.height),null!=o&&(this.$dropdown[0].classList.remove("select2-dropdown--below"),this.$dropdown[0].classList.remove("select2-dropdown--above"),this.$dropdown[0].classList.add("select2-dropdown--"+o),this.$container[0].classList.remove("select2-container--below"),this.$container[0].classList.remove("select2-container--above"),this.$container[0].classList.add("select2-container--"+o)),this.$dropdownContainer.css(d)},n.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},n.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n})),t.define("select2/dropdown/minimumResultsForSearch",[],(function(){function e(t){for(var n=0,r=0;r<t.length;r++){var o=t[r];o.children?n+=e(o.children):n++}return n}function t(e,t,n,r){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,r)}return t.prototype.showSearch=function(t,n){return!(e(n.data.results)<this.minimumResultsForSearch)&&t.call(this,n)},t})),t.define("select2/dropdown/selectOnClose",["../utils"],(function(e){function t(){}return t.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("close",(function(e){r._handleSelectOnClose(e)}))},t.prototype._handleSelectOnClose=function(t,n){if(n&&null!=n.originalSelect2Event){var r=n.originalSelect2Event;if("select"===r._type||"unselect"===r._type)return}var o=this.getHighlightedResults();if(!(o.length<1)){var i=e.GetData(o[0],"data");null!=i.element&&i.element.selected||null==i.element&&i.selected||this.trigger("select",{data:i})}},t})),t.define("select2/dropdown/closeOnSelect",[],(function(){function e(){}return e.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("select",(function(e){r._selectTriggered(e)})),t.on("unselect",(function(e){r._selectTriggered(e)}))},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:t})},e})),t.define("select2/dropdown/dropdownCss",["../utils"],(function(e){function t(){}return t.prototype.render=function(t){var n=t.call(this),r=this.options.get("dropdownCssClass")||"";return-1!==r.indexOf(":all:")&&(r=r.replace(":all:",""),e.copyNonInternalCssClasses(n[0],this.$element[0])),n.addClass(r),n},t})),t.define("select2/dropdown/tagsSearchHighlight",["../utils"],(function(e){function t(){}return t.prototype.highlightFirstItem=function(t){var n=this.$results.find(".select2-results__option--selectable:not(.select2-results__option--selected)");if(n.length>0){var r=n.first(),o=e.GetData(r[0],"data").element;if(o&&o.getAttribute&&"true"===o.getAttribute("data-select2-tag"))return void r.trigger("mouseenter")}t.call(this)},t})),t.define("select2/i18n/en",[],(function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return 1!=t&&(n+="s"),n},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more resultsâ¦"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searchingâ¦"},removeAllItems:function(){return"Remove all items"},removeItem:function(){return"Remove item"},search:function(){return"Search"}}})),t.define("select2/defaults",["jquery","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/selectionCss","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./dropdown/dropdownCss","./dropdown/tagsSearchHighlight","./i18n/en"],(function(e,t,n,r,o,i,a,s,l,c,u,d,f,p,h,m,v,g,y,b,_,w,k,x,C,S,E,T,O,I,A){function D(){this.reset()}return D.prototype.apply=function(u){if(null==(u=e.extend(!0,{},this.defaults,u)).dataAdapter&&(null!=u.ajax?u.dataAdapter=h:null!=u.data?u.dataAdapter=p:u.dataAdapter=f,u.minimumInputLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,g)),u.maximumInputLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,y)),u.maximumSelectionLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,b)),u.tags&&(u.dataAdapter=c.Decorate(u.dataAdapter,m)),null==u.tokenSeparators&&null==u.tokenizer||(u.dataAdapter=c.Decorate(u.dataAdapter,v))),null==u.resultsAdapter&&(u.resultsAdapter=t,null!=u.ajax&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,x)),null!=u.placeholder&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,k)),u.selectOnClose&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,E)),u.tags&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,I))),null==u.dropdownAdapter){if(u.multiple)u.dropdownAdapter=_;else{var d=c.Decorate(_,w);u.dropdownAdapter=d}0!==u.minimumResultsForSearch&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,S)),u.closeOnSelect&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,T)),null!=u.dropdownCssClass&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,O)),u.dropdownAdapter=c.Decorate(u.dropdownAdapter,C)}null==u.selectionAdapter&&(u.multiple?u.selectionAdapter=r:u.selectionAdapter=n,null!=u.placeholder&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,o)),u.allowClear&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,i)),u.multiple&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,a)),null!=u.selectionCssClass&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,s
vendor: 7,621 bytes, line 2
2)),u.selectionAdapter=c.Decorate(u.selectionAdapter,l)),u.language=this._resolveLanguage(u.language),u.language.push("en");for(var A=[],D=0;D<u.language.length;D++){var P=u.language[D];-1===A.indexOf(P)&&A.push(P)}return u.language=A,u.translations=this._processTranslations(u.language,u.debug),u},D.prototype.reset=function(){function t(e){function t(e){return d[e]||e}return e.replace(/[^\u0000-\u007E]/g,t)}function n(r,o){if(null==r.term||""===r.term.trim())return o;if(o.children&&o.children.length>0){for(var i=e.extend(!0,{},o),a=o.children.length-1;a>=0;a--)null==n(r,o.children[a])&&i.children.splice(a,1);return i.children.length>0?i:n(r,i)}var s=t(o.text).toUpperCase(),l=t(r.term).toUpperCase();return s.indexOf(l)>-1?o:null}this.defaults={amdLanguageBase:"./i18n/",autocomplete:"off",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMarkup,language:{},matcher:n,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},D.prototype.applyFromElement=function(e,t){var n=e.language,r=this.defaults.language,o=t.prop("lang"),i=t.closest("[lang]").prop("lang"),a=Array.prototype.concat.call(this._resolveLanguage(o),this._resolveLanguage(n),this._resolveLanguage(r),this._resolveLanguage(i));return e.language=a,e},D.prototype._resolveLanguage=function(t){if(!t)return[];if(e.isEmptyObject(t))return[];if(e.isPlainObject(t))return[t];var n;n=Array.isArray(t)?t:[t];for(var r=[],o=0;o<n.length;o++)if(r.push(n[o]),"string"==typeof n[o]&&n[o].indexOf("-")>0){var i=n[o].split("-")[0];r.push(i)}return r},D.prototype._processTranslations=function(t,n){for(var r=new u,o=0;o<t.length;o++){var i=new u,a=t[o];if("string"==typeof a)try{i=u.loadPath(a)}catch(e){try{a=this.defaults.amdLanguageBase+a,i=u.loadPath(a)}catch(e){n&&window.console&&console.warn&&console.warn('Select2: The language file for "'+a+'" could not be automatically loaded. A fallback will be used instead.')}}else i=e.isPlainObject(a)?new u(a):a;r.extend(i)}return r},D.prototype.set=function(t,n){var r={};r[e.camelCase(t)]=n;var o=c._convertData(r);e.extend(!0,this.defaults,o)},new D})),t.define("select2/options",["jquery","./defaults","./utils"],(function(e,t,n){function r(e,n){this.options=e,null!=n&&this.fromElement(n),null!=n&&(this.options=t.applyFromElement(this.options,n)),this.options=t.apply(this.options)}return r.prototype.fromElement=function(t){var r=["select2"];null==this.options.multiple&&(this.options.multiple=t.prop("multiple")),null==this.options.disabled&&(this.options.disabled=t.prop("disabled")),null==this.options.autocomplete&&t.prop("autocomplete")&&(this.options.autocomplete=t.prop("autocomplete")),null==this.options.dir&&(t.prop("dir")?this.options.dir=t.prop("dir"):t.closest("[dir]").prop("dir")?this.options.dir=t.closest("[dir]").prop("dir"):this.options.dir="ltr"),t.prop("disabled",this.options.disabled),t.prop("multiple",this.options.multiple),n.GetData(t[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),n.StoreData(t[0],"data",n.GetData(t[0],"select2Tags")),n.StoreData(t[0],"tags",!0)),n.GetData(t[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),t.attr("ajax--url",n.GetData(t[0],"ajaxUrl")),n.StoreData(t[0],"ajax-Url",n.GetData(t[0],"ajaxUrl")));var o={};function i(e,t){return t.toUpperCase()}for(var a=0;a<t[0].attributes.length;a++){var s=t[0].attributes[a].name,l="data-";if(s.substr(0,l.length)==l){var c=s.substring(l.length),u=n.GetData(t[0],c);o[c.replace(/-([a-z])/g,i)]=u}}e.fn.jquery&&"1."==e.fn.jquery.substr(0,2)&&t[0].dataset&&(o=e.extend(!0,{},t[0].dataset,o));var d=e.extend(!0,{},n.GetData(t[0]),o);for(var f in d=n._convertData(d))r.indexOf(f)>-1||(e.isPlainObject(this.options[f])?e.extend(this.options[f],d[f]):this.options[f]=d[f]);return this},r.prototype.get=function(e){return this.options[e]},r.prototype.set=function(e,t){this.options[e]=t},r})),t.define("select2/core",["jquery","./options","./utils","./keys"],(function(e,t,n,r){var o=function(e,r){null!=n.GetData(e[0],"select2")&&n.GetData(e[0],"select2").destroy(),this.$element=e,this.id=this._generateId(e),r=r||{},this.options=new t(r,e),o.__super__.constructor.call(this);var i=e.attr("tabindex")||0;n.StoreData(e[0],"old-tabindex",i),e.attr("tabindex","-1");var a=this.options.get("dataAdapter");this.dataAdapter=new a(e,this.options);var s=this.render();this._placeContainer(s);var l=this.options.get("selectionAdapter");this.selection=new l(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,s);var c=this.options.get("dropdownAdapter");this.dropdown=new c(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,s);var u=this.options.get("resultsAdapter");this.results=new u(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var d=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current((function(e){d.trigger("selection:update",{data:e})})),e[0].classList.add("select2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),n.StoreData(e[0],"select2",this),e.data("select2",this)};return n.Extend(o,n.Observable),o.prototype._generateId=function(e){return"select2-"+(null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+n.generateChars(2):n.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},o.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},o.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var r=this._resolveWidth(e,"style");return null!=r?r:this._resolveWidth(e,"element")}if("element"==t){var o=e.outerWidth(!1);return o<=0?"auto":o+"px"}if("style"==t){var i=e.attr("style");if("string"!=typeof i)return null;for(var a=i.split(";"),s=0,l=a.length;s<l;s+=1){var c=a[s].replace(/\s/g,"").match(n);if(null!==c&&c.length>=1)return c[1]}return null}return"computedstyle"==t?window.getComputedStyle(e[0]).width:t},o.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},o.prototype._registerDomEvents=function(){var e=this;this.$element.on("change.select2",(function(){e.dataAdapter.current((function(t){e.trigger("selection:update",{data:t})}))})),this.$element.on("focus.select2",(function(t){e.trigger("focus",t)})),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this._observer=new window.MutationObserver((function(t){e._syncA(),e._syncS(t)})),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})},o.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on("*",(function(t,n){e.trigger(t,n)}
2))},o.prototype._registerSelectionEvents=function(){var e=this,t=["toggle","focus"];this.selection.on("toggle",(function(){e.toggleDropdown()})),this.selection.on("focus",(function(t){e.focus(t)})),this.selection.on("*",(function(n,r){-1===t.indexOf(n)&&e.trigger(n,r)}))},o.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on("*",(function(t,n){e.trigger(t,n)}))},o.prototype._registerResultsEvents=function(){var e=this;this.results.on("*",(function(t,n){e.trigger(t,n)}))},o.prototype._registerEvents=function(){var e=this;this.on("open",(function(){e.$container[0].classList.add("select2-container--open")})),this.on("close",(function(){e.$container[0].classList.remove("select2-container--open")})),this.on("enable",(function(){e.$container[0].classList.remove("select2-container--disabled")})),this.on("disable",(function(){e.$container[0].classList.add("select2-container--disabled")})),this.on("blur",(function(){e.$container[0].classList.remove("select2-container--focus")})),this.on("query",(function(t){e.isOpen()||e.trigger("open",{}),this.dataAdapter.query(t,(function(n){e.trigger("results:all",{data:n,query:t})}))})),this.on("query:append",(function(t){this.dataAdapter.query(t,(function(n){e.trigger("results:append",{data:n,query:t})}))})),this.on("keypress",(function(t){var n=t.which;e.isOpen()?n===r.ESC||n===r.UP&&t.altKey?(e.close(t),t.preventDefault()):n===r.ENTER||n===r.TAB?(e.trigger("results:select",{}),t.preventDefault()):n===r.SPACE&&t.ctrlKey?(e.trigger("results:toggle",{}),t.preventDefault()):n===r.UP?(e.trigger("results:previous",{}),t.preventDefault()):n===r.DOWN&&(e.trigger("results:next",{}),t.preventDefault()):(n===r.ENTER||n===r.SPACE||n===r.DOWN&&t.altKey)&&(e.open(),t.preventDefault())}))},o.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},o.prototype._isChangeMutation=function(e){var t=this;if(e.addedNodes&&e.addedNodes.length>0){for(var n=0;n<e.addedNodes.length;n++)if(e.addedNodes[n].selected)return!0}else{if(e.removedNodes&&e.removedNodes.length>0)return!0;if(Array.isArray(e))return e.some((function(e){return t._isChangeMutation(e)}))}return!1},o.prototype._syncSubtree=function(e){var t=this._isChangeMutation(e),n=this;t&&this.dataAdapter.current((function(e){n.trigger("selection:update",{data:e})}))},o.prototype.trigger=function(e,t){var n=o.__super__.trigger,r={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===t&&(t={}),e in r){var i=r[e],a={prevented:!1,name:e,args:t};if(n.call(this,i,a),a.prevented)return void(t.prevented=!0)}n.call(this,e,t)},o.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},o.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},o.prototype.close=function(e){this.isOpen()&&this.trigger("close",{originalEvent:e})},o.prototype.isEnabled=function(){return!this.isDisabled()},o.prototype.isDisabled=function(){return this.options.get("disabled")},o.prototype.isOpen=function(){return this.$container[0].classList.contains("select2-container--open")},o.prototype.hasFocus=function(){return this.$container[0].classList.contains("select2-container--focus")},o.prototype.focus=function(e){this.hasFocus()||(this.$container[0].classList.add("select2-container--focus"),this.trigger("focus",{}))},o.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=e&&0!==e.length||(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},o.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current((function(t){e=t})),e},o.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var t=e[0];Array.isArray(t)&&(t=t.map((function(e){return e.toString()}))),this.$element.val(t).trigger("input").trigger("change")},o.prototype.destroy=function(){n.RemoveData(this.$container[0]),this.$container.remove(),this._observer.disconnect(),this._observer=null,this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",n.GetData(this.$element[0],"old-tabindex")),this.$element[0].classList.remove("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),n.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},o.prototype.render=function(){var t=e('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container[0].classList.add("select2-container--"+this.options.get("theme")),n.StoreData(t[0],"element",this.$element),t},o})),t.define("jquery-mousewheel",["jquery"],(function(e){return e})),t.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],(function(e,t,n,r,o){if(null==e.fn.select2){var i=["open","close","destroy"];e.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each((function(){var r=e.extend(!0,{},t);new n(e(this),r)})),this;if("string"==typeof t){var r,a=Array.prototype.slice.call(arguments,1
2);return this.each((function(){var e=o.GetData(this,"select2");null==e&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),r=e[t].apply(e,a)})),i.indexOf(t)>-1?this:r}throw new Error("Invalid arguments for Select2: "+t)}}return null==e.fn.select2.defaults&&(e.fn.select2.defaults=r),n})),{define:t.define,require:t.require}}(),n=t.require("jquery.select2");return e.fn.select2.amd=t,n})?r.apply(t,o):r)||(e.exports=i)},4791:(e,t,n)=>{var r,o,i,a;r=n(3939),o=n(2151).utf8,i=n(2151).bin,(a=function(e,t){var n=r.wordsToBytes(function(e){e.constructor==String?e=o.stringToBytes(e):"undefined"!=typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());var t=r.bytesToWords(e),n=8*e.length,i=[],a=1732584193,s=-271733879,l=-1732584194,c=271733878,u=-1009589776;t[n>>5]|=128<<24-n%32,t[15+(n+64>>>9<<4)]=n;for(var d=0;d<t.length;d+=16){for(var f=a,p=s,h=l,m=c,v=u,g=0;g<80;g++){if(g<16)i[g]=t[d+g];else{var y=i[g-3]^i[g-8]^i[g-14]^i[g-16];i[g]=y<<1|y>>>31}var b=(a<<5|a>>>27)+u+(i[g]>>>0)+(g<20?1518500249+(s&l|~s&c):g<40?1859775393+(s^l^c):g<60?(s&l|s&c|l&c)-1894007588:(s^l^c)-899497514);u=c,c=l,l=s<<30|s>>>2,s=a,a=b}a+=f,s+=p,l+=h,c+=m,u+=v}return[a,s,l,c,u]}(e));return t&&t.asBytes?n:t&&t.asString?i.bytesToString(n):r.bytesToHex(n)})._blocksize=16,a._digestsize=20,e.exports=a},7698:(e,t,n)=>{var r=n(9331),o=n(5074),i=n(9725),a=n(9368)("socket.io-client");e.exports=t=l;var s=t.managers={};function l(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o=r(e),l=o.source,c=o.id,u=o.path,d=s[c]&&u in s[c].nsps;return t.forceNew||t["force new connection"]||!1===t.multiplex||d?(a("ignoring socket cache for %s",l),n=i(l,t)):(s[c]||(a("new io instance for %s",l),s[c]=i(l,t)),n=s[c]),o.query&&!t.query&&(t.query=o.query),n.socket(o.path,t)}t.protocol=o.protocol,t.connect=l,t.Manager=n(9725),t.Socket=n(7773)},9725:(e,t,n)=>{var r=n(3357),o=n(7773),i=n(5971),a=n(5074),s=n(4745),l=n(8144),c=n(9368)("socket.io-client:manager"),u=n(6938),d=n(3059),f=Object.prototype.hasOwnProperty;function p(e,t){if(!(this instanceof p))return new p(e,t);e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.nsps={},this.subs=[],this.opts=t,this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(t.randomizationFactor||.5),this.backoff=new d({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this.readyState="closed",this.uri=e,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[];var n=t.parser||a;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this.autoConnect=!1!==t.autoConnect,this.autoConnect&&this.open()}e.exports=p,p.prototype.emitAll=function(){for(var e in this.emit.apply(this,arguments),this.nsps)f.call(this.nsps,e)&&this.nsps[e].emit.apply(this.nsps[e],arguments)},p.prototype.updateSocketIds=function(){for(var e in this.nsps)f.call(this.nsps,e)&&(this.nsps[e].id=this.generateId(e))},p.prototype.generateId=function(e){return("/"===e?"":e+"#")+this.engine.id},i(p.prototype),p.prototype.reconnection=function(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection},p.prototype.reconnectionAttempts=function(e){return arguments.length?(this._reconnectionAttempts=e,this):this._reconnectionAttempts},p.prototype.reconnectionDelay=function(e){return arguments.length?(this._reconnectionDelay=e,this.backoff&&this.backoff.setMin(e),this):this._reconnectionDelay},p.prototype.randomizationFactor=function(e){return arguments.length?(this._randomizationFactor=e,this.backoff&&this.backoff.setJitter(e),this):this._randomizationFactor},p.prototype.reconnectionDelayMax=function(e){return arguments.length?(this._reconnectionDelayMax=e,this.backoff&&this.backoff.setMax(e),this):this._reconnectionDelayMax},p.prototype.timeout=function(e){return arguments.length?(this._timeout=e,this):this._timeout},p.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()},p.prototype.open=p.prototype.connect=function(e,t){if(c("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;c("opening %s",this.uri),this.engine=r(this.uri,this.opts);var n=this.engine,o=this;this.readyState="opening",this.skipReconnect=!1;var i=s(n,"open",(function(){o.onopen(),e&&e()})),a=s(n,"error",(function(t){if(c("connect_error"),o.cleanup(),o.readyState="closed",o.emitAll("connect_error",t),e){var n=new Error("Connection error");n.data=t,e(n)}else o.maybeReconnectOnOpen()}));if(!1!==this._timeout){var l=this._timeout;c("connect attempt will timeout after %d",l),0===l&&i.destroy();var u=setTimeout((function(){c("connect attempt timed out after %d",l),i.destroy(),n.close(),n.emit("error","timeout"),o.emitAll("connect_timeout",l)}),l);this.subs.push({destroy:function(){clearTimeout(u)}})}return this.subs.push(i),this.subs.push(a),this},p.prototype.onopen=function(){c("open"),this.cleanup(),this.readyState="open",this.emit
vendor: 9,526 bytes, line 2
2("open");var e=this.engine;this.subs.push(s(e,"data",l(this,"ondata"))),this.subs.push(s(e,"ping",l(this,"onping"))),this.subs.push(s(e,"pong",l(this,"onpong"))),this.subs.push(s(e,"error",l(this,"onerror"))),this.subs.push(s(e,"close",l(this,"onclose"))),this.subs.push(s(this.decoder,"decoded",l(this,"ondecoded")))},p.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping")},p.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing)},p.prototype.ondata=function(e){this.decoder.add(e)},p.prototype.ondecoded=function(e){this.emit("packet",e)},p.prototype.onerror=function(e){c("error",e),this.emitAll("error",e)},p.prototype.socket=function(e,t){var n=this.nsps[e];if(!n){n=new o(this,e,t),this.nsps[e]=n;var r=this;n.on("connecting",i),n.on("connect",(function(){n.id=r.generateId(e)})),this.autoConnect&&i()}function i(){~u(r.connecting,n)||r.connecting.push(n)}return n},p.prototype.destroy=function(e){var t=u(this.connecting,e);~t&&this.connecting.splice(t,1),this.connecting.length||this.close()},p.prototype.packet=function(e){c("writing packet %j",e);var t=this;e.query&&0===e.type&&(e.nsp+="?"+e.query),t.encoding?t.packetBuffer.push(e):(t.encoding=!0,this.encoder.encode(e,(function(n){for(var r=0;r<n.length;r++)t.engine.write(n[r],e.options);t.encoding=!1,t.processPacketQueue()})))},p.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var e=this.packetBuffer.shift();this.packet(e)}},p.prototype.cleanup=function(){c("cleanup");for(var e=this.subs.length,t=0;t<e;t++){this.subs.shift().destroy()}this.packetBuffer=[],this.encoding=!1,this.lastPing=null,this.decoder.destroy()},p.prototype.close=p.prototype.disconnect=function(){c("disconnect"),this.skipReconnect=!0,this.reconnecting=!1,"opening"===this.readyState&&this.cleanup(),this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},p.prototype.onclose=function(e){c("onclose"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",e),this._reconnection&&!this.skipReconnect&&this.reconnect()},p.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var e=this;if(this.backoff.attempts>=this._reconnectionAttempts)c("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var t=this.backoff.duration();c("will wait %dms before reconnect attempt",t),this.reconnecting=!0;var n=setTimeout((function(){e.skipReconnect||(c("attempting reconnect"),e.emitAll("reconnect_attempt",e.backoff.attempts),e.emitAll("reconnecting",e.backoff.attempts),e.skipReconnect||e.open((function(t){t?(c("reconnect attempt error"),e.reconnecting=!1,e.reconnect(),e.emitAll("reconnect_error",t.data)):(c("reconnect success"),e.onreconnect())})))}),t);this.subs.push({destroy:function(){clearTimeout(n)}})}},p.prototype.onreconnect=function(){var e=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",e)}},4745:e=>{e.exports=function(e,t,n){return e.on(t,n),{destroy:function(){e.removeListener(t,n)}}}},7773:(e,t,n)=>{var r=n(5074),o=n(5971),i=n(8104),a=n(4745),s=n(8144),l=n(9368)("socket.io-client:socket"),c=n(9140),u=n(8839);e.exports=p;var d={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},f=o.prototype.emit;function p(e,t,n){this.io=e,this.nsp=t,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.flags={},n&&n.query&&(this.query=n.query),this.io.autoConnect&&this.open()}o(p.prototype),p.prototype.subEvents=function(){if(!this.subs){var e=this.io;this.subs=[a(e,"open",s(this,"onopen")),a(e,"packet",s(this,"onpacket")),a(e,"close",s(this,"onclose"))]}},p.prototype.open=p.prototype.connect=function(){return this.connected||(this.subEvents(),this.io.reconnecting||this.io.open(),"open"===this.io.readyState&&this.onopen(),this.emit("connecting")),this},p.prototype.send=function(){var e=i(arguments);return e.unshift("message"),this.emit.apply(this,e),this},p.prototype.emit=function(e){if(d.hasOwnProperty(e))return f.apply(this,arguments),this;var t=i(arguments),n={type:(void 0!==this.flags.binary?this.flags.binary:u(t))?r.BINARY_EVENT:r.EVENT,data:t,options:{}};return n.options.compress=!this.flags||!1!==this.flags.compress,"function"==typeof t[t.length-1]&&(l("emitting packet with ack id %d",this.ids),this.acks[this.ids]=t.pop(),n.id=this.ids++),this.connected?this.packet(n):this.sendBuffer.push(n),this.flags={},this},p.prototype.packet=function(e){e.nsp=this.nsp,this.io.packet(e)},p.prototype.onopen=function(){if(l("transport is open - connecting"),"/"!==this.nsp)if(this.query){var e="object"==typeof this.query?c.encode(this.query):this.query;l("sending connect packet with query %s",e),this.packet({type:r.CONNECT,query:e})}else this.packet({type:r.CONNECT})},p.prototype.onclose=function(e){l("close (%s)",e),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",e)},p.prototype.onpacket=function(e){var t=e.nsp===this.nsp,n=e.type===r.ERROR&&"/"===e.nsp;if(t||n)switch(e.type){case r.CONNECT:this.onconnect();break;case r.EVENT:case r.BINARY_EVENT:this.onevent(e);break;case r.ACK:case r.BINARY_ACK:this.onack(e);break;case r.DISCONNECT:this.ondisconnect();break;case r.ERROR:this.emit("error",e.data)}},p.prototype.onevent=function(e){var t=e.data||[];l("emitting event %j",t),null!=e.id&&(l("attaching ack callback to event"),t.push(this.ack(e.id))),this.connected?f.apply(this,t):this.receiveBuffer.push(t)},p.prototype.ack=function(e){var t=this,n=!1;return function(){if(!n){n=!0;var o=i(arguments);l("sending ack %j",o),t.packet({type:u(o)?r.BINARY_ACK:r.ACK,id:e,data:o})}}},p.prototype.onack=function(e){var t=this.acks[e.id];"function"==typeof t?(l("calling ack %s with %j",e.id,e.data),t.apply(this,e.data),delete this.acks[e.id]):l("bad ack %s",e.id)},p.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emitBuffered(),this.emit("connect")},p.prototype.emitBuffered=function(){var e;for(e=0;e<this.receiveBuffer.length;e++)f.apply(this,this.receiveBuffer[e]);for(this.receiveBuffer=[],e=0;e<this.sendBuffer.length;e++)this.packet(this.sendBuffer[e]);this.sendBuffer=[]},p.prototype.ondisconnect=function(){l("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},p.prototype.destroy=function(){if(this.subs){for(var e=0;e<this.subs.length;e++)this.subs[e].destroy();this.subs=null}this.io.destroy(this)},p.prototype.close=p.prototype.disconnect=function(){return this.connected&&(l("performing disconnect (%s)",this.nsp),this.packet({type:r.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this},p.prototype.compress=function(e){return this.flags.compress=e,this},p.prototype.binary=function(e){return this.flags.binary=e,this}},9331:(e,t,n)=>{var r=n(4258),o=n(9368)("socket.io-client:url");e.exports=function(e,t){var n=e;t=t||"undefined"!=typeof location&&location,null==e&&(e=t.protocol+"//"+t.host);"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?t.protocol+e:t.host+e),/^(https?|wss?):\/\//.test(e)||(o("protocol-less url %s",e),e=void 0!==t?t.protocol+"//"+e:"https://"+e),o("parse %s",e),n=r(e));n.port||(/^(http|ws)$/.test(n.protocol)?n.port="80":/^(http|ws)s$/.test(n.protocol)&&(n.port="443"));n.path=n.path||"/";var i=-1!==n.host.indexOf(":")?"["+n.host+"]":n.host;return n.id=n.protocol+"://"+i+":"+n.port,n.href=n.protocol+"://"+i+(t&&t.port===n.port?"":":"+n.port),n}},9368:(e,t,n)=>{function r(){var e;try{e=t.storage.debug}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e}(t=e.exports=n(9939)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var o=0,i=0;e[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(o++,"%c"===e&&(i=o))})),e.splice(i,0,r)},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}},t.load=r,t.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33
2CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(r())},9939:(e,t,n)=>{function r(e){var n;function r(){if(r.enabled){var e=r,o=+new Date,i=o-(n||o);e.diff=i,e.prev=n,e.curr=o,n=o;for(var a=new Array(arguments.length),s=0;s<a.length;s++)a[s]=arguments[s];a[0]=t.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");var l=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,(function(n,r){if("%%"===n)return n;l++;var o=t.formatters[r];if("function"==typeof o){var i=a[l];n=o.call(e,i),a.splice(l,1),l--}return n})),t.formatArgs.call(e,a),(r.log||t.log||console.log.bind(console)).apply(e,a)}}return r.namespace=e,r.enabled=t.enabled(e),r.useColors=t.useColors(),r.color=function(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}(e),r.destroy=o,"function"==typeof t.init&&t.init(r),t.instances.push(r),r}function o(){var e=t.instances.indexOf(this);return-1!==e&&(t.instances.splice(e,1),!0)}(t=e.exports=r.debug=r.default=r).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){var n;t.save(e),t.names=[],t.skips=[];var r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")));for(n=0;n<t.instances.length;n++){var i=t.instances[n];i.enabled=t.enabled(i.namespace)}},t.enabled=function(e){if("*"===e[e.length-1])return!0;var n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1}
vendor: 9,058 bytes, line 2
2,t.humanize=n(2902),t.instances=[],t.names=[],t.skips=[],t.formatters={}},2902:e=>{var t=1e3,n=60*t,r=60*n,o=24*r,i=365.25*o;function a(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}e.exports=function(e,s){s=s||{};var l,c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!a)return;var s=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*i;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*r;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===c&&!1===isNaN(e))return s.long?a(l=e,o,"day")||a(l,r,"hour")||a(l,n,"minute")||a(l,t,"second")||l+" ms":function(e){if(e>=o)return Math.round(e/o)+"d";if(e>=r)return Math.round(e/r)+"h";if(e>=n)return Math.round(e/n)+"m";if(e>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},2225:(e,t,n)=>{var r=n(7687),o=n(8247),i=Object.prototype.toString,a="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===i.call(Blob),s="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===i.call(File);function l(e,t){if(!e)return e;if(o(e)){var n={_placeholder:!0,num:t.length};return t.push(e),n}if(r(e)){for(var i=new Array(e.length),a=0;a<e.length;a++)i[a]=l(e[a],t);return i}if("object"==typeof e&&!(e instanceof Date)){i={};for(var s in e)i[s]=l(e[s],t);return i}return e}function c(e,t){if(!e)return e;if(e&&e._placeholder)return t[e.num];if(r(e))for(var n=0;n<e.length;n++)e[n]=c(e[n],t);else if("object"==typeof e)for(var o in e)e[o]=c(e[o],t);return e}t.deconstructPacket=function(e){var t=[],n=e.data,r=e;return r.data=l(n,t),r.attachments=t.length,{packet:r,buffers:t}},t.reconstructPacket=function(e,t){return e.data=c(e.data,t),e.attachments=void 0,e},t.removeBlobs=function(e,t){var n=0,i=e;!function e(l,c,u){if(!l)return l;if(a&&l instanceof Blob||s&&l instanceof File){n++;var d=new FileReader;d.onload=function(){u?u[c]=this.result:i=this.result,--n||t(i)},d.readAsArrayBuffer(l)}else if(r(l))for(var f=0;f<l.length;f++)e(l[f],f,l);else if("object"==typeof l&&!o(l))for(var p in l)e(l[p],p,l)}(i),n||t(i)}},5074:(e,t,n)=>{var r=n(852)("socket.io-parser"),o=n(5971),i=n(2225),a=n(7687),s=n(8247);function l(){}t.protocol=4,t.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],t.CONNECT=0,t.DISCONNECT=1,t.EVENT=2,t.ACK=3,t.ERROR=4,t.BINARY_EVENT=5,t.BINARY_ACK=6,t.Encoder=l,t.Decoder=d;var c=t.ERROR+'"encode error"';function u(e){var n=""+e.type;if(t.BINARY_EVENT!==e.type&&t.BINARY_ACK!==e.type||(n+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(n+=e.nsp+","),null!=e.id&&(n+=e.id),null!=e.data){var o=function(e){try{return JSON.stringify(e)}catch(e){return!1}}(e.data);if(!1===o)return c;n+=o}return r("encoded %j as %s",e,n),n}function d(){this.reconstructor=null}function f(e){this.reconPack=e,this.buffers=[]}function p(e){return{type:t.ERROR,data:"parser error: "+e}}l.prototype.encode=function(e,n){(r("encoding packet %j",e),t.BINARY_EVENT===e.type||t.BINARY_ACK===e.type)?function(e,t){function n(e){var n=i.deconstructPacket(e),r=u(n.packet),o=n.buffers;o.unshift(r),t(o)}i.removeBlobs(e,n)}(e,n):n([u(e)])},o(d.prototype),d.prototype.add=function(e){var n;if("string"==typeof e)n=function(e){var n=0,o={type:Number(e.charAt(0))};if(null==t.types[o.type])return p("unknown packet type "+o.type);if(t.BINARY_EVENT===o.type||t.BINARY_ACK===o.type){for(var i=n+1;"-"!==e.charAt(++n)&&n!=e.length;);var s=e.substring(i,n);if(s!=Number(s)||"-"!==e.charAt(n))throw new Error("Illegal attachments");o.attachments=Number(s)}if("/"===e.charAt(n+1)){for(i=n+1;++n;){if(","===(c=e.charAt(n)))break;if(n===e.length)break}o.nsp=e.substring(i,n)}else o.nsp="/";var l=e.charAt(n+1);if(""!==l&&Number(l)==l){for(i=n+1;++n;){var c;if(null==(c=e.charAt(n))||Number(c)!=c){--n;break}if(n===e.length)break}o.id=Number(e.substring(i,n+1))}if(e.charAt(++n)){var u=function(e){try{return JSON.parse(e)}catch(e){return!1}}(e.substr(n));if(!(!1!==u&&(o.type===t.ERROR||a(u))))return p("invalid payload");o.data=u}return r("decoded %s as %j",e,o),o}(e),t.BINARY_EVENT===n.type||t.BINARY_ACK===n.type?(this.reconstructor=new f(n),0===this.reconstructor.reconPack.attachments&&this.emit("decoded",n)):this.emit("decoded",n);else{if(!s(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");(n=this.reconstructor.takeBinaryData(e))&&(this.reconstructor=null,this.emit("decoded",n))}},d.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},f.prototype.takeBinaryData=function(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){var t=i.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null},f.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},8247:e=>{e.exports=function(e){return t&&Buffer.isBuffer(e)||n&&(e instanceof ArrayBuffer||r(e))};var t="function"==typeof Buffer&&"function"==typeof Buffer.isBuffer,n="function"==typeof ArrayBuffer,r=function(e){return"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer}},852:(e,t,n)=>{function r(){var e;try{e=t.storage.debug}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e}(t=e.exports=n(1175)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var o=0,i=0;e[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(o++,"%c"===e&&(i=o))})),e.splice(i,0,r)},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}},t.load=r,t.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(r())},1175:(e,t,n)=>{function r(e){var n;function r(){if(r.enabled){var e=r,o=+new Date,i=o-(n||o);e.diff=i,e.prev=n,e.curr=o,n=o;for(var a=new Array(arguments.length),s=0;s<a.length;s++)a[s]=arguments[s];a[0]=t.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");var l=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,(function(n,r){if("%%"===n)return n;l++;var o=t.formatters[r];if("function"==typeof o){var i=a[l];n=o.call(e,i),a.splice(l,1),l--}return n})),t.formatArgs.call(e,a),(r.log||t.log||console.log.bind(console)).apply(e,a)}}return r.namespace=e,r.enabled=t.enabled(e),r.useColors=t.useColors(),r.color=function(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}(e),r.destroy=o,"function"==typeof t.init&&t.init(r),t.instances.push(r),r}function o(){var e=t.instances.indexOf(this);return-1!==e&&(t.instances.splice(e,1),!0)}
2(t=e.exports=r.debug=r.default=r).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){var n;t.save(e),t.names=[],t.skips=[];var r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")));for(n=0;n<t.instances.length;n++){var i=t.instances[n];i.enabled=t.enabled(i.namespace)}},t.enabled=function(e){if("*"===e[e.length-1])return!0;var n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(218),t.instances=[],t.names=[],t.skips=[],t.formatters={}},7687:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},218:e=>{var t=1e3,n=60*t,r=60*n,o=24*r,i=365.25*o;function a(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}e.exports=function(e,s){s=s||{};var l,c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!a)return;var s=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*i;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*r;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===c&&!1===isNaN(e))return s.long?a(l=e,o,"day")||a(l,r,"hour")||a(l,n,"minute")||a(l,t,"second")||l+" ms":function(e){if(e>=o)return Math.round(e/o)+"d";if(e>=r)return Math.round(e/r)+"h";if(e>=n)return Math.round(e/n)+"m";if(e>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},9423:(e,t,n)=>{"use strict";n.d(t,{A:()=>r}),e=n.hmd(e);const r=function(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}("undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:e)},8104:e=>{e.exports=function(e,t){for(var n=[],r=(t=t||0)||0;r<e.length;r++)n[r-t]=e[r];return n}},7935:(e,t)=>{var n,r,o;r=[],void 0===(o="function"==typeof(n=function(){"use strict";var e=["decimals","thousand","mark","prefix","suffix","encoder","decoder","negativeBefore","negative","edit","undo"];function t(e){return e.split("").reverse().join("")}function n(e,t){return e.substring(0,t.length)===t}function r(e,t){return e.slice(-1*t.length)===t}function o(e,t,n){if((e[t]||e[n])&&e[t]===e[n])throw new Error(t)}function i(e){return"number"==typeof e&&isFinite(e)}function a(e,t){return e=e.toString().split("e"),(+((e=(e=Math.round(+(e[0]+"e"+(e[1]?+e[1]+t:t)))).toString().split("e"))[0]+"e"+(e[1]?+e[1]-t:-t))).toFixed(t)}function s(e,n,r,o,s,l,c,u,d,f,p,h){var m,v,g,y=h,b="",_="";return l&&(h=l(h)),!!i(h)&&(!1!==e&&0===parseFloat(h.toFixed(e))&&(h=0),h<0&&(m=!0,h=Math.abs(h)),!1!==e&&(h=a(h,e)),-1!==(h=h.toString()).indexOf(".")?(g=(v=h.split("."))[0],r&&(b=r+v[1])):g=h,n&&(g=t(g).match(/.{1,3}/g),g=t(g.join(t(n)))),m&&u&&(_+=u),o&&(_+=o),m&&d&&(_+=d),_+=g,_+=b,s&&(_+=s),f&&(_=f(_,y)),_)}function l(e,t,o,a,s,l,c,u,d,f,p,h){var m,v="";return p&&(h=p(h)),!(!h||"string"!=typeof h)&&(u&&n(h,u)&&(h=h.replace(u,""),m=!0),a&&n(h,a)&&(h=h.replace(a,"")),d&&n(h,d)&&(h=h.replace(d,""),m=!0),s&&r(h,s)&&(h=h.slice(0,-1*s.length)),t&&(h=h.split(t).join("")),o&&(h=h.replace(o,".")),m&&(v+="-"),""!==(v=(v+=h).replace(/[^0-9\.\-.]/g,""))&&(v=Number(v),c&&(v=c(v)),!!i(v)&&v))}function c(t){var n,r,i,a={};for(void 0===t.suffix&&(t.suffix=t.postfix),n=0;n<e.length;n+=1)if(void 0===(i=t[r=e[n]]))"negative"!==r||a.negativeBefore?"mark"===r&&"."!==a.thousand?a[r]=".":a[r]=!1:a[r]="-";else if("decimals"===r){if(!(i>=0&&i<8))throw new Error(r);a[r]=i}else if("encoder"===r||"decoder"===r||"edit"===r||"undo"===r){if("function"!=typeof i)throw new Error(r);a[r]=i}else{if("string"!=typeof i)throw new Error(r);a[r]=i}return o(a,"mark","thousand"),o(a,"prefix","negative"),o(a,"prefix","negativeBefore"),a}function u(t,n,r){var o,i=[];for(o=0;o<e.length;o+=1)i.push(t[e[o]]);return i.push(r),n.apply("",i)}function d(e){if(!(this instanceof d))return new d(e);"object"==typeof e&&(e=c(e),this.to=function(t){return u(e,s,t)},this.from=function(t){return u(e,l,t)})}return d})?n.apply(t,r):n)||(e.exports=o)},2121:e=>{"use strict";var t,n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),r={},o=0,i=0;function a(e){var t="";do{t=n[e%64]+t,e=Math.floor(e/64)}while(e>0);return t}function s(){var e=a(+new Date);return e!==t?(o=0,t=e):e+"."+a(o++)}for(;i<64;i++)r[n[i]]=i;s.encode=a,s.decode=function(e){var t=0;for(i=0;i<e.length;i++)t=64*t+r[e.charAt(i)];return t},e.exports=s}
vendor: 5,919 bytes, line 2
2,6064:(e,t,n)=>{e.exports=n(3619).Observable},3619:(e,t)=>{"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}t.Observable=void 0;var i=function(){return"function"==typeof Symbol},a=function(e){return i()&&Boolean(Symbol[e])},s=function(e){return a(e)?Symbol[e]:"@@"+e};i()&&!a("observable")&&(Symbol.observable=Symbol("observable"));var l=s("iterator"),c=s("observable"),u=s("species");function d(e,t){var n=e[t];if(null!=n){if("function"!=typeof n)throw new TypeError(n+" is not a function");return n}}function f(e){var t=e.constructor;return void 0!==t&&null===(t=t[u])&&(t=void 0),void 0!==t?t:k}function p(e){return e instanceof k}function h(e){h.log?h.log(e):setTimeout((function(){throw e}))}function m(e){Promise.resolve().then((function(){try{e()}catch(e){h(e)}}))}function v(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var n=d(t,"unsubscribe");n&&n.call(t)}}catch(e){h(e)}}function g(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function y(e,t,n){e._state="running";var r=e._observer;try{var o=d(r,t);switch(t){case"next":o&&o.call(r,n);break;case"error":if(g(e),!o)throw n;o.call(r,n);break;case"complete":g(e),o&&o.call(r)}}catch(e){h(e)}"closed"===e._state?v(e):"running"===e._state&&(e._state="ready")}function b(e,t,n){if("closed"!==e._state){if("buffering"!==e._state)return"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:n}],void m((function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(y(e,t[n].type,t[n].value),"closed"!==e._state);++n);}}(e)}))):void y(e,t,n);e._queue.push({type:t,value:n})}}var _=function(){function e(t,r){n(this,e),this._cleanup=void 0,this._observer=t,this._queue=void 0,this._state="initializing";var o=new w(this);try{this._cleanup=r.call(void 0,o)}catch(e){o.error(e)}"initializing"===this._state&&(this._state="ready")}return o(e,[{key:"unsubscribe",value:function(){"closed"!==this._state&&(g(this),v(this))}},{key:"closed",get:function(){return"closed"===this._state}}]),e}(),w=function(){function e(t){n(this,e),this._subscription=t}return o(e,[{key:"next",value:function(e){b(this._subscription,"next",e)}},{key:"error",value:function(e){b(this._subscription,"error",e)}},{key:"complete",value:function(){b(this._subscription,"complete")}},{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),k=function(){function e(t){if(n(this,e),!(this instanceof e))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw new TypeError("Observable initializer must be a function");this._subscriber=t}return o(e,[{key:"subscribe",value:function(e){return"object"==typeof e&&null!==e||(e={next:e,error:arguments[1],complete:arguments[2]}),new _(e,this._subscriber)}},{key:"forEach",value:function(e){var t=this;return new Promise((function(n,r){if("function"==typeof e)var o=t.subscribe({next:function(t){try{e(t,i)}catch(e){r(e),o.unsubscribe()}},error:r,complete:n});else r(new TypeError(e+" is not a function"));function i(){o.unsubscribe(),n()}}))}},{key:"map",value:function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(f(this))((function(n){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return n.error(e)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})}))}},{key:"filter",value:function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(f(this))((function(n){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return n.error(e)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})}))}},{key:"reduce",value:function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var n=f(this),r=arguments.length>1,o=!1,i=arguments[1];return new n((function(n){return t.subscribe({next:function(t){var a=!o;if(o=!0,!a||r)try{i=e(i,t)}catch(e){return n.error(e)}else i=t},error:function(e){n.error(e)},complete:function(){if(!o&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(i),n.complete()}})}))}},{key:"concat",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=f(this);return new o((function(t){var r,i=0;return function e(a){r=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){i===n.length?(r=void 0,t.complete()):e(o.from(n[i++]))}})}(e),function(){r&&(r.unsubscribe(),r=void 0)}}))}},{key:"flatMap",value:function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var n=f(this);return new n((function(r){var o=[],i=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return r.error(e)}var i=n.from(t).subscribe({next:function(e){r.next(e)},error:function(e){r.error(e)},complete:function(){var e=o.indexOf(i);e>=0&&o.splice(e,1),a()}});o.push(i)},error:function(e){r.error(e)},complete:function(){a()}});function a(){i.closed&&0===o.length&&r.complete()}return function(){o.forEach((function(e){return e.unsubscribe()})),i.unsubscribe()}}))}},{key:c,value:function(){return this}}],[{key:"from",value:function(t){var n="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var r=d(t,c);if(r){var o=r.call(t);if(Object(o)!==o)throw new TypeError(o+" is not an object");return p(o)&&o.constructor===n?o:new n((function(e){return o.subscribe(e)}))}if(a("iterator")&&(r=d(t,l)))return new n((function(e){m((function(){if(!e.closed){var n=!0,o=!1,i=void 0;try{for(var a,s=r.call(t)[Symbol.iterator]();!(n=(a=s.next()).done);
2n=!0){var l=a.value;if(e.next(l),e.closed)return}}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}e.complete()}}))}));if(Array.isArray(t))return new n((function(e){m((function(){if(!e.closed){for(var n=0;n<t.length;++n)if(e.next(t[n]),e.closed)return;e.complete()}}))}));throw new TypeError(t+" is not observable")}},{key:"of",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return new("function"==typeof this?this:e)((function(e){m((function(){if(!e.closed){for(var t=0;t<n.length;++t)if(e.next(n[t]),e.closed)return;e.complete()}}))}))}},{key:u,get:function(){return this}}]),e}();t.Observable=k,i()&&Object.defineProperty(k,Symbol("extensions"),{value:{symbol:c,hostReportError:h},configurable:!0})},3031:(e,t,n)=>{var r={"./messages.cs.js":[1534,457],"./messages.de.js":[4235,28],"./messages.en.js":[7559],"./messages.es.js":[3044,403],"./messages.fr.js":[2592,623],"./messages.ru.js":[3505,958],"./messages.zh.js":[782,449],"./messages.zh_tw.js":[1e3,423]};function o(e){if(!n.o(r,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],o=t[0];return Promise.all(t.slice(1).map(n.e)).then((()=>n.t(o,23)))}o.keys=()=>Object.keys(r),o.id=3031,e.exports=o},2683:(e,t,n)=>{"use strict";e.exports=n.p+"images/deepl.31a55197.png"},4984:(e,t,n)=>{"use strict";e.exports=n.p+"images/feature-calendar.896438af.png"},5060:(e,t,n)=>{"use strict";e.exports=n.p+"images/feature-dashboard.bcf99eaf.png"},4799:(e,t,n)=>{"use strict";e.exports=n.p+"images/feature-forum.b762a151.png"},4953:(e,t,n)=>{"use strict";e.exports=n.p+"images/feature-games.2e5b3e98.png"},4026:(e,t,n)=>{"use strict";e.exports=n.p+"images/feature-messages.84053494.png"},7329:(e,t,n)=>{"use strict";e.exports=n.p+"images/feature-more.be014aac.png"},79:(e,t,n)=>{"use strict";e.exports=n.p+"images/feature-profile.0fdf688d.png"},7202:(e,t,n)=>{"use strict";e.exports=n.p+"images/feature-search.815f650f.png"},6444:(e,t,n)=>{"use strict";e.exports=n.p+"images/logo-dark.37ebbc38.svg"},4996:(e,t,n)=>{"use strict";e.exports=n.p+"images/logo-light.e51a3d04.svg"},5690:(e,t,n)=>{"use strict";e.exports=n.p+"images/piggy.3199016c.jpeg"},5660:()=>{}},__webpack_module_cache__={},leafPrototypes,getProto,inProgress,dataWebpackPrefix;function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},getProto=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,__webpack_require__.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);__webpack_require__.r(n);var r={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var o=2&t&&e;"object"==typeof o&&!~leafPrototypes.indexOf(o);o=getProto(o))Object.getOwnPropertyNames(o).forEach((t=>r[t]=()=>e[t]));return r.default=()=>e,__webpack_require__.d(n,r),n},__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce(((t,n)=>(__webpack_require__.f[n](e,t),t)),[])),__webpack_require__.u=e=>({28:"lang-messages-de-js",403:"lang-messages-es-js",423:"lang-messages-zh_tw-js",449:"lang-messages-zh-js",457:"lang-messages-cs-js",623:"lang-messages-fr-js",958:"lang-messages-ru-js"}[e]+"."+{28:"8d46ba7f",403:"f9a198e2",423:"78c8326e",449:"f1c4cece",457:"cbfcd365",623:"d31f694f",958:"c650beae"}[e]+".js"),__webpack_require__.miniCssF=e=>{},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}
vendor: 4,345 bytes, line 2
2}(),__webpack_require__.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),inProgress={},dataWebpackPrefix="@emlalock/web:",__webpack_require__.l=(e,t,n,r)=>{if(inProgress[e])inProgress[e].push(t);else{var o,i;if(void 0!==n)for(var a=document.getElementsByTagName("script"),s=0;s<a.length;s++){var l=a[s];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==dataWebpackPrefix+n){o=l;break}}o||(i=!0,(o=document.createElement("script")).charset="utf-8",o.timeout=120,__webpack_require__.nc&&o.setAttribute("nonce",__webpack_require__.nc),o.setAttribute("data-webpack",dataWebpackPrefix+n),o.src=e),inProgress[e]=[t];var c=(t,n)=>{o.onerror=o.onload=null,clearTimeout(u);var r=inProgress[e];if(delete inProgress[e],o.parentNode&&o.parentNode.removeChild(o),r&&r.forEach((e=>e(n))),t)return t(n)},u=setTimeout(c.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=c.bind(null,o.onerror),o.onload=c.bind(null,o.onload),i&&document.head.appendChild(o)}},__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.p="/",(()=>{var e={524:0};__webpack_require__.f.j=(t,n)=>{var r=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=o);var i=__webpack_require__.p+__webpack_require__.u(t),a=new Error;__webpack_require__.l(i,(n=>{if(__webpack_require__.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,r[1](a)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[i,a,s]=n,l=0;if(i.some((t=>0!==e[t]))){for(r in a)__webpack_require__.o(a,r)&&(__webpack_require__.m[r]=a[r]);if(s)s(__webpack_require__)}for(t&&t(n);l<i.length;l++)o=i[l],__webpack_require__.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=self.webpackChunk_emlalock_web=self.webpackChunk_emlalock_web||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})();var __webpack_exports__={};(()=>{"use strict";var e=Object.freeze({});function t(e){return null==e}function n(e){return null!=e}function r(e){return!0===e}function o(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function i(e){return null!==e&&"object"==typeof e}var a=Object.prototype.toString;function s(e){return"[object Object]"===a.call(e)}function l(e){return"[object RegExp]"===a.call(e)}function c(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function u(e){return n(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function d(e){return null==e?"":Array.isArray(e)||s(e)&&e.toString===a?JSON.stringify(e,null,2):String(e)}function f(e){var t=parseFloat(e);return isNaN(t)?e:t}function p(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}p("slot,component",!0);var h=p("key,ref,slot,slot-scope,is");function m(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var g=Object.prototype.hasOwnProperty;function y(e,t){return g.call(e,t)}function b(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var _=/-(\w)/g,w=b((function(e){return e.replace(_,(function(e,t){return t?t.toUpperCase():""}))})),k=b((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),x=/\B([A-Z])/g,C=b((function(e){return e.replace(x,"-$1").toLowerCase()}));var S=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function E(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function T(e,t){for(var n in t)e[n]=t[n];return e}function O(e){for(var t={},n=0;n<e.length;n++)e[n]&&T(t,e[n]);return t}function I(e,t,n){}var A=function(e,t,n){return!1},D=function(e){return e};function P(e,t){if(e===t)return!0;var n=i(e),r=i(t);
vendor: 2,852 bytes, line 2
2if(!n||!r)return!n&&!r&&String(e)===String(t);try{var o=Array.isArray(e),a=Array.isArray(t);if(o&&a)return e.length===t.length&&e.every((function(e,n){return P(e,t[n])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(o||a)return!1;var s=Object.keys(e),l=Object.keys(t);return s.length===l.length&&s.every((function(n){return P(e[n],t[n])}))}catch(e){return!1}}function M(e,t){for(var n=0;n<e.length;n++)if(P(e[n],t))return n;return-1}function $(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var N="data-server-rendered",R=["component","directive","filter"],L=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],j={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:A,isReservedAttr:A,isUnknownElement:A,getTagNamespace:I,parsePlatformTagName:D,mustUseProp:A,async:!0,_lifecycleHooks:L},F=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function B(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function q(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var H=new RegExp("[^"+F.source+".$_\\d]");var z,U="__proto__"in{},V="undefined"!=typeof window,G="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,W=G&&WXEnvironment.platform.toLowerCase(),Y=V&&window.navigator.userAgent.toLowerCase(),K=Y&&/msie|trident/.test(Y),Q=Y&&Y.indexOf("msie 9.0")>0,J=Y&&Y.indexOf("edge/")>0,Z=(Y&&Y.indexOf("android"),Y&&/iphone|ipad|ipod|ios/.test(Y)||"ios"===W),X=(Y&&/chrome\/\d+/.test(Y),Y&&/phantomjs/.test(Y),Y&&Y.match(/firefox\/(\d+)/)),ee={}.watch,te=!1;if(V)try{var ne={};Object.defineProperty(ne,"passive",{get:function(){te=!0}}),window.addEventListener("test-passive",null,ne)}catch(ZA){}var re=function(){return void 0===z&&(z=!V&&!G&&void 0!==__webpack_require__.g&&(__webpack_require__.g.process&&"server"===__webpack_require__.g.process.env.VUE_ENV)),z},oe=V&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ie(e){return"function"==typeof e&&/native code/.test(e.toString())}var ae,se="undefined"!=typeof Symbol&&ie(Symbol)&&"undefined"!=typeof Reflect&&ie(Reflect.ownKeys);ae="undefined"!=typeof Set&&ie(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var le=I,ce=0,ue=function(){this.id=ce++,this.subs=[]};ue.prototype.addSub=function(e){this.subs.push(e)},ue.prototype.removeSub=function(e){m(this.subs,e)}
vendor: 4,138 bytes, line 2
2,ue.prototype.depend=function(){ue.target&&ue.target.addDep(this)},ue.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t<n;t++)e[t].update()},ue.target=null;var de=[];function fe(e){de.push(e),ue.target=e}function pe(){de.pop(),ue.target=de[de.length-1]}var he=function(e,t,n,r,o,i,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},me={child:{configurable:!0}};me.child.get=function(){return this.componentInstance},Object.defineProperties(he.prototype,me);var ve=function(e){void 0===e&&(e="");var t=new he;return t.text=e,t.isComment=!0,t};function ge(e){return new he(void 0,void 0,void 0,String(e))}function ye(e){var t=new he(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var be=Array.prototype,_e=Object.create(be);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(e){var t=be[e];q(_e,e,(function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var o,i=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2)}return o&&a.observeArray(o),a.dep.notify(),i}))}));var we=Object.getOwnPropertyNames(_e),ke=!0;function xe(e){ke=e}var Ce=function(e){var t;this.value=e,this.dep=new ue,this.vmCount=0,q(e,"__ob__",this),Array.isArray(e)?(U?(t=_e,e.__proto__=t):function(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];q(e,i,t[i])}}(e,_e,we),this.observeArray(e)):this.walk(e)};function Se(e,t){var n;if(i(e)&&!(e instanceof he))return y(e,"__ob__")&&e.__ob__ instanceof Ce?n=e.__ob__:ke&&!re()&&(Array.isArray(e)||s(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new Ce(e)),t&&n&&n.vmCount++,n}function Ee(e,t,n,r,o){var i=new ue,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,l=a&&a.set;s&&!l||2!==arguments.length||(n=e[t]);var c=!o&&Se(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return ue.target&&(i.depend(),c&&(c.dep.depend(),Array.isArray(t)&&Ie(t))),t},set:function(t){var r=s?s.call(e):n;t===r||t!=t&&r!=r||s&&!l||(l?l.call(e,t):n=t,c=!o&&Se(t),i.notify())}})}}function Te(e,t,n){if(Array.isArray(e)&&c(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(Ee(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function Oe(e,t){if(Array.isArray(e)&&c(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||y(e,t)&&(delete e[t],n&&n.dep.notify())}}function Ie(e){for(var t=void 0,n=0,r=e.length;n<r;n++)(t=e[n])&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&Ie(t)}Ce.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)Ee(e,t[n])},Ce.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Se(e[t])};var Ae=j.optionMergeStrategies;function De(e,t){if(!t)return e;for(var n,r,o,i=se?Reflect.ownKeys(t):Object.keys(t),a=0;a<i.length;a++)"__ob__"!==(n=i[a])&&(r=e[n],o=t[n],y(e,n)?r!==o&&s(r)&&s(o)&&De(r,o):Te(e,n,o));return e}function Pe(e,t,n){return n?function(){var r="function"==typeof t?t.call(n,n):t,o="function"==typeof e?e.call(n,n):e;return r?De(r,o):o}:t?e?function(){return De("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Me(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function $e(e,t,n,r){var o=Object.create(e||null);return t?T(o,t):o}Ae.data=function(e,t,n){return n?Pe(e,t,n):t&&"function"!=typeof t?e:Pe(e,t)}
vendor: 13,858 bytes, line 2
2,L.forEach((function(e){Ae[e]=Me})),R.forEach((function(e){Ae[e+"s"]=$e})),Ae.watch=function(e,t,n,r){if(e===ee&&(e=void 0),t===ee&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var o={};for(var i in T(o,e),t){var a=o[i],s=t[i];a&&!Array.isArray(a)&&(a=[a]),o[i]=a?a.concat(s):Array.isArray(s)?s:[s]}return o},Ae.props=Ae.methods=Ae.inject=Ae.computed=function(e,t,n,r){if(!e)return t;var o=Object.create(null);return T(o,e),t&&T(o,t),o},Ae.provide=Pe;var Ne=function(e,t){return void 0===t?e:t};function Re(e,t,n){if("function"==typeof t&&(t=t.options),function(e){var t=e.props;if(t){var n,r,o={};if(Array.isArray(t))for(n=t.length;n--;)"string"==typeof(r=t[n])&&(o[w(r)]={type:null});else if(s(t))for(var i in t)r=t[i],o[w(i)]=s(r)?r:{type:r};e.props=o}}(t),function(e){var t=e.inject;if(t){var n=e.inject={};if(Array.isArray(t))for(var r=0;r<t.length;r++)n[t[r]]={from:t[r]};else if(s(t))for(var o in t){var i=t[o];n[o]=s(i)?T({from:o},i):{from:i}}}}(t),function(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"==typeof r&&(t[n]={bind:r,update:r})}}(t),!t._base&&(t.extends&&(e=Re(e,t.extends,n)),t.mixins))for(var r=0,o=t.mixins.length;r<o;r++)e=Re(e,t.mixins[r],n);var i,a={};for(i in e)l(i);for(i in t)y(e,i)||l(i);function l(r){var o=Ae[r]||Ne;a[r]=o(e[r],t[r],n,r)}return a}function Le(e,t,n,r){if("string"==typeof n){var o=e[t];if(y(o,n))return o[n];var i=w(n);if(y(o,i))return o[i];var a=k(i);return y(o,a)?o[a]:o[n]||o[i]||o[a]}}function je(e,t,n,r){var o=t[e],i=!y(n,e),a=n[e],s=He(Boolean,o.type);if(s>-1)if(i&&!y(o,"default"))a=!1;else if(""===a||a===C(e)){var l=He(String,o.type);(l<0||s<l)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(!y(t,"default"))return;var r=t.default;0;if(e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n])return e._props[n];return"function"==typeof r&&"Function"!==Be(t.type)?r.call(e):r}(r,o,e);var c=ke;xe(!0),Se(a),xe(c)}return a}var Fe=/^\s*function (\w+)/;function Be(e){var t=e&&e.toString().match(Fe);return t?t[1]:""}function qe(e,t){return Be(e)===Be(t)}function He(e,t){if(!Array.isArray(t))return qe(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(qe(t[n],e))return n;return-1}function ze(e,t,n){fe();try{if(t)for(var r=t;r=r.$parent;){var o=r.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{if(!1===o[i].call(r,e,t,n))return}catch(e){Ve(e,r,"errorCaptured hook")}}Ve(e,t,n)}finally{pe()}}function Ue(e,t,n,r,o){var i;try{(i=n?e.apply(t,n):e.call(t))&&!i._isVue&&u(i)&&!i._handled&&(i.catch((function(e){return ze(e,r,o+" (Promise/async)")})),i._handled=!0)}catch(e){ze(e,r,o)}return i}function Ve(e,t,n){if(j.errorHandler)try{return j.errorHandler.call(null,e,t,n)}catch(t){t!==e&&Ge(t,null,"config.errorHandler")}Ge(e,t,n)}function Ge(e,t,n){if(!V&&!G||"undefined"==typeof console)throw e;console.error(e)}var We,Ye=!1,Ke=[],Qe=!1;function Je(){Qe=!1;var e=Ke.slice(0);Ke.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&ie(Promise)){var Ze=Promise.resolve();We=function(){Ze.then(Je),Z&&setTimeout(I)},Ye=!0}else if(K||"undefined"==typeof MutationObserver||!ie(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())We="undefined"!=typeof setImmediate&&ie(setImmediate)?function(){setImmediate(Je)}:function(){setTimeout(Je,0)};else{var Xe=1,et=new MutationObserver(Je),tt=document.createTextNode(String(Xe));et.observe(tt,{characterData:!0}),We=function(){Xe=(Xe+1)%2,tt.data=String(Xe)},Ye=!0}function nt(e,t){var n;if(Ke.push((function(){if(e)try{e.call(t)}catch(e){ze(e,t,"nextTick")}else n&&n(t)})),Qe||(Qe=!0,We()),!e&&"undefined"!=typeof Promise)return new Promise((function(e){n=e}))}var rt=new ae;function ot(e){it(e,rt),rt.clear()}function it(e,t){var n,r,o=Array.isArray(e);if(!(!o&&!i(e)||Object.isFrozen(e)||e instanceof he)){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(o)for(n=e.length;n--;)it(e[n],t);else for(n=(r=Object.keys(e)).length;n--;)it(e[r[n]],t)}}var at=b((function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),r="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=r?e.slice(1):e,once:n,capture:r,passive:t}}));function st(e,t){function n(){var e=arguments,r=n.fns;if(!Array.isArray(r))return Ue(r,null,arguments,t,"v-on handler");for(var o=r.slice(),i=0;i<o.length;i++)Ue(o[i],null,e,t,"v-on handler")}return n.fns=e,n}function lt(e,n,o,i,a,s){var l,c,u,d;for(l in e)c=e[l],u=n[l],d=at(l),t(c)||(t(u)?(t(c.fns)&&(c=e[l]=st(c,s)),r(d.once)&&(c=e[l]=a(d.name,c,d.capture)),o(d.name,c,d.capture,d.passive,d.params)):c!==u&&(u.fns=c,e[l]=u));for(l in n)t(e[l])&&i((d=at(l)).name,n[l],d.capture)}function ct(e,o,i){var a;e instanceof he&&(e=e.data.hook||(e.data.hook={}));var s=e[o];function l(){i.apply(this,arguments),m(a.fns,l)}t(s)?a=st([l]):n(s.fns)&&r(s.merged)?(a=s).fns.push(l):a=st([s,l]),a.merged=!0,e[o]=a}function ut(e,t,r,o,i){if(n(t)){if(y(t,r))return e[r]=t[r],i||delete t[r],!0;if(y(t,o))return e[r]=t[o],i||delete t[o],!0}return!1}function dt(e){return o(e)?[ge(e)]:Array.isArray(e)?pt(e):void 0}function ft(e){return n(e)&&n(e.text)&&function(e){return!1===e}(e.isComment)}function pt(e,i){var a,s,l,c,u=[];for(a=0;a<e.length;a++)t(s=e[a])||"boolean"==typeof s||(c=u[l=u.length-1],Array.isArray(s)?s.length>0&&(ft((s=pt(s,(i||"")+"_"+a))[0])&&ft(c)&&(u[l]=ge(c.text+s[0].text),s.shift()),u.push.apply(u,s)):o(s)?ft(c)?u[l]=ge(c.text+s):""!==s&&u.push(ge(s)):ft(s)&&ft(c)?u[l]=ge(c.text+s.text):(r(e._isVList)&&n(s.tag)&&t(s.key)&&n(i)&&(s.key="__vlist"+i+"_"+a+"__"),u.push(s)));return u}function ht(e,t){if(e){for(var n=Object.create(null),r=se?Reflect.ownKeys(e):Object.keys(e),o=0;o<r.length;o++){var i=r[o];if("__ob__"!==i){for(var a=e[i].from,s=t;s;){if(s._provided&&y(s._provided,a)){n[i]=s._provided[a];break}s=s.$parent}if(!s)if("default"in e[i]){var l=e[i].default;n[i]="function"==typeof l?l.call(t):l}else 0}}return n}}function mt(e,t){if(!e||!e.length)return{};for(var n={},r=0,o=e.length;r<o;r++){var i=e[r],a=i.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,i.context!==t&&i.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(i);else{var s=a.slot,l=n[s]||(n[s]=[]);"template"===i.tag?l.push.apply(l,i.children||[]):l.push(i)}}for(var c in n)n[c].every(vt)&&delete n[c];return n}function vt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function gt(e){return e.isComment&&e.asyncFactory}function yt(t,n,r){var o,i=Object.keys(n).length>0,a=t?!!t.$stable:!i,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&r&&r!==e&&s===r.$key&&!i&&!r.$hasNormal)return r;for(var l in o={},t)t[l]&&"$"!==l[0]&&(o[l]=bt(n,l,t[l]))}else o={};for(var c in n)c in o||(o[c]=_t(n,c));return t&&Object.isExtensible(t)&&(t._normalized=o),q(o,"$stable",a),q(o,"$key",s),q(o,"$hasNormal",i),o}function bt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({}),t=(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:dt(e))&&e[0];return e&&(!t||1===e.length&&t.isComment&&!gt(t))?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function _t(e,t){return function(){return e[t]}}function wt(e,t){var r,o,a,s,l;if(Array.isArray(e)||"string"==typeof e)for(r=new Array(e.length),o=0,a=e.length;o<a;o++)r[o]=t(e[o],o);else if("number"==typeof e)for(r=new Array(e),o=0;o<e;o++)r[o]=t(o+1,o);else if(i(e))if(se&&e[Symbol.iterator]){r=[];for(var c=e[Symbol.iterator](),u=c.next();!u.done;)r.push(t(u.value,r.length)),u=c.next()}else for(s=Object.keys(e),r=new Array(s.length),o=0,a=s.length;o<a;o++)l=s[o],r[o]=t(e[l],l,o);return n(r)||(r=[]),r._isVList=!0,r}function kt(e,t,n,r){var o,i=this.$scopedSlots[e];i?(n=n||{},r&&(n=T(T({},r),n)),o=i(n)||("function"==typeof t?t():t)):o=this.$slots[e]||("function"==typeof t?t():t);var a=n&&n.slot;return a?this.$createElement("template",{slot:a},o):o}function xt(e){return Le(this.$options,"filters",e)||D}function Ct(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function St(e,t,n,r,o){var i=j.keyCodes[t]||n;return o&&r&&!j.keyCodes[t]?Ct(o,r):i?Ct(i,e):r?C(r)!==t:void 0===e}function Et(e,t,n,r,o){if(n)if(i(n)){var a;Array.isArray(n)&&(n=O(n));var s=function(i){if("class"===i||"style"===i||h(i))a=e;else{var s=e.attrs&&e.attrs.type;a=r||j.mustUseProp(t,s,i)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var l=w(i),c=C(i);l in a||c in a||(a[i]=n[i],o&&((e.on||(e.on={}))["update:"+i]=function(e){n[i]=e}))};for(var l in n)s(l)}else;return e}function Tt(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||It(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),r}function Ot(e,t,n){return It(e,"__once__"+t+(n?"_"+n:""),!0),e}function It(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&At(e[r],t+"_"+r,n);else At(e,t,n)}function At(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Dt(e,t){if(t)if(s(t)){var n=e.on=e.on?T({},e.on):{};for(var r in t){var o=n[r],i=t[r];n[r]=o?[].concat(o,i):i}}else;return e}function Pt(e,t,n,r){t=t||{$stable:!n};for(var o=0;o<e.length;o++){var i=e[o];Array.isArray(i)?Pt(i,t,n):i&&(i.proxy&&(i.fn.proxy=!0),t[i.key]=i.fn)}return r&&(t.$key=r),t}function Mt(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];"string"==typeof r&&r&&(e[t[n]]=t[n+1])}return e}function $t(e,t){return"string"==typeof e?t+e:e}function Nt(e){e._o=Ot,e._n=f,e._s=d,e._l=wt,e._t=kt,e._q=P,e._i=M,e._m=Tt,e._f=xt,e._k=St,e._b=Et,e._v=ge,e._e=ve,e._u=Pt,e._g=Dt,e._d=Mt,e._p=$t}function Rt(t,n,o,i,a){var s,l=this,c=a.options;y(i,"_uid")?(s=Object.create(i))._original=i:(s=i,i=i._original);var u=r(c._compiled),d=!u;this.data=t,this.props=n,this.children=o,this.parent=i,this.listeners=t.on||e,this.injections=ht(c.inject,i),this.slots=function(){return l.$slots||yt(t.scopedSlots,l.$slots=mt(o,i)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return yt(t.scopedSlots,this.slots())}}),u&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=yt(t.scopedSlots,this.$slots)),c._scopeId?this._c=function(e,t,n,r){var o=Vt(s,e,t,n,r,d);return o&&!Array.isArray(o)&&(o.fnScopeId=c._scopeId,o.fnContext=i),o}:this._c=function(e,t,n,r){return Vt(s,e,t,n,r,d)}}function Lt(e,t,n,r,o){var i=ye(e);return i.fnContext=n,i.fnOptions=r,t.slot&&((i.data||(i.data={})).slot=t.slot),i}function jt(e,t){for(var n in t)e[w(n)]=t[n]}Nt(Rt.prototype);var Ft={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var r=e;Ft.prepatch(r,r)}else{(e.componentInstance=function(e,t){var r={_isComponent:!0,_parentVnode:e,parent:t},o=e.data.inlineTemplate;n(o)&&(r.render=o.render,r.staticRenderFns=o.staticRenderFns);return new e.componentOptions.Ctor(r)}(e,tn)).$mount(t?e.elm:void 0,t)}},prepatch:function(t,n){var r=n.componentOptions;!function(t,n,r,o,i){0;var a=o.data.scopedSlots,s=t.$scopedSlots,l=!!(a&&!a.$stable||s!==e&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key||!a&&t.$scopedSlots.$key),c=!!(i||t.$options._renderChildren||l);t.$options._parentVnode=o,t.$vnode=o,t._vnode&&(t._vnode.parent=o);if(t.$options._renderChildren=i,t.$attrs=o.data.attrs||e,t.$listeners=r||e,n&&t.$options.props){xe(!1);for(var u=t._props,d=t.$options._propKeys||[],f=0;f<d.length;f++){var p=d[f],h=t.$options.props;u[p]=je(p,h,n,t)}xe(!0),t.$options.propsData=n}r=r||e;var m=t.$options._parentListeners;t.$options._parentListeners=r,en(t,r,m),c&&(t.$slots=mt(i,o.context),t.$forceUpdate());0}(n.componentInstance=t.componentInstance,r.propsData,r.listeners,n,r.children)},insert:function(e){var t,n=e.context,r=e.componentInstance;r._isMounted||(r._isMounted=!0,sn(r,"mounted")),e.data.keepAlive&&(n._isMounted?((t=r)._inactive=!1,cn.push(t)):on(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?an(t,!0):t.$destroy())}},Bt=Object.keys(Ft);function qt(o,a,s,l,c){if(!t(o)){var d=s.$options._base;if(i(o)&&(o=d.extend(o)),"function"==typeof o){var f;if(t(o.cid)&&(o=function(e,o){if(r(e.error)&&n(e.errorComp))return e.errorComp;if(n(e.resolved))return e.resolved;var a=Yt;a&&n(e.owners)&&-1===e.owners.indexOf(a)&&e.owners.push(a);if(r(e.loading)&&n(e.loadingComp))return e.loadingComp;if(a&&!n(e.owners)){var s=e.owners=[a],l=!0,c=null,d=null;a.$on("hook:destroyed",(function(){return m(s,a)}));var f=function(e){for(var t=0,n=s.length;t<n;t++)s[t].$forceUpdate();e&&(s.length=0,null!==c&&(clearTimeout(c),c=null),null!==d&&(clearTimeout(d),d=null))},p=$((function(t){e.resolved=Kt(t,o),l?s.length=0:f(!0)})),h=$((function(t){n(e.errorComp)&&(e.error=!0,f(!0))})),v=e(p,h);return i(v)&&(u(v)?t(e.resolved)&&v.then(p,h):u(v.component)&&(v.component.then(p,h),n(v.error)&&(e.errorComp=Kt(v.error,o)),n(v.loading)&&(e.loadingComp=Kt(v.loading,o),0===v.delay?e.loading=!0:c=setTimeout((function(){c=null,t(e.resolved)&&t(e.error)&&(e.loading=!0,f(!1))}),v.delay||200)),n(v.timeout)&&(d=setTimeout((function(){d=null,t(e.resolved)&&h(null)}),v.timeout)))),l=!1,e.loading?e.loadingComp:e.resolved}}(f=o,d),void 0===o))return function(e,t,n,r,o){var i=ve();return i.asyncFactory=e,i.asyncMeta={data:t,context:n,children:r,tag:o},i}(f,a,s,l,c);a=a||{},In(o),n(a.model)&&function(e,t){var r=e.model&&e.model.prop||"value",o=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[r]=t.model.value;var i=t.on||(t.on={}),a=i[o],s=t.model.callback;n(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(i[o]=[s].concat(a)):i[o]=s}(o.options,a);var p=function(e,r){var o=r.options.props;if(!t(o)){var i={},a=e.attrs,s=e.props;if(n(a)||n(s))for(var l in o){var c=C(l);ut(i,s,l,c,!0)||ut(i,a,l,c,!1)}return i}}(a,o);if(r(o.options.functional))return function(t,r,o,i,a){var s=t.options,l={},c=s.props;if(n(c))for(var u in c)l[u]=je(u,c,r||e);else n(o.attrs)&&jt(l,o.attrs),n(o.props)&&jt(l,o.props);var d=new Rt(o,l,a,i,t),f=s.render.call(null,d._c,d);if(f instanceof he)return Lt(f,o,d.parent,s);
vendor: 5,271 bytes, line 2
2if(Array.isArray(f)){for(var p=dt(f)||[],h=new Array(p.length),m=0;m<p.length;m++)h[m]=Lt(p[m],o,d.parent,s);return h}}(o,p,a,s,l);var h=a.on;if(a.on=a.nativeOn,r(o.options.abstract)){var v=a.slot;a={},v&&(a.slot=v)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<Bt.length;n++){var r=Bt[n],o=t[r],i=Ft[r];o===i||o&&o._merged||(t[r]=o?Ht(i,o):i)}}(a);var g=o.options.name||c;return new he("vue-component-"+o.cid+(g?"-"+g:""),a,void 0,void 0,void 0,s,{Ctor:o,propsData:p,listeners:h,tag:c,children:l},f)}}}function Ht(e,t){var n=function(n,r){e(n,r),t(n,r)};return n._merged=!0,n}var zt=1,Ut=2;function Vt(e,t,a,s,l,c){return(Array.isArray(a)||o(a))&&(l=s,s=a,a=void 0),r(c)&&(l=Ut),function(e,t,r,o,a){if(n(r)&&n(r.__ob__))return ve();n(r)&&n(r.is)&&(t=r.is);if(!t)return ve();0;Array.isArray(o)&&"function"==typeof o[0]&&((r=r||{}).scopedSlots={default:o[0]},o.length=0);a===Ut?o=dt(o):a===zt&&(o=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(o));var s,l;if("string"==typeof t){var c;l=e.$vnode&&e.$vnode.ns||j.getTagNamespace(t),s=j.isReservedTag(t)?new he(j.parsePlatformTagName(t),r,o,void 0,void 0,e):r&&r.pre||!n(c=Le(e.$options,"components",t))?new he(t,r,o,void 0,void 0,e):qt(c,r,e,o,t)}else s=qt(t,r,e,o);return Array.isArray(s)?s:n(s)?(n(l)&&Gt(s,l),n(r)&&function(e){i(e.style)&&ot(e.style);i(e.class)&&ot(e.class)}(r),s):ve()}(e,t,a,s,l)}function Gt(e,o,i){if(e.ns=o,"foreignObject"===e.tag&&(o=void 0,i=!0),n(e.children))for(var a=0,s=e.children.length;a<s;a++){var l=e.children[a];n(l.tag)&&(t(l.ns)||r(i)&&"svg"!==l.tag)&&Gt(l,o,i)}}var Wt,Yt=null;function Kt(e,t){return(e.__esModule||se&&"Module"===e[Symbol.toStringTag])&&(e=e.default),i(e)?t.extend(e):e}function Qt(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var r=e[t];if(n(r)&&(n(r.componentOptions)||gt(r)))return r}}function Jt(e,t){Wt.$on(e,t)}function Zt(e,t){Wt.$off(e,t)}function Xt(e,t){var n=Wt;return function r(){null!==t.apply(null,arguments)&&n.$off(e,r)}}function en(e,t,n){Wt=e,lt(t,n||{},Jt,Zt,Xt,e),Wt=void 0}var tn=null;function nn(e){var t=tn;return tn=e,function(){tn=t}}function rn(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function on(e,t){if(t){if(e._directInactive=!1,rn(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)on(e.$children[n]);sn(e,"activated")}}function an(e,t){if(!(t&&(e._directInactive=!0,rn(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)an(e.$children[n]);sn(e,"deactivated")}}function sn(e,t){fe();var n=e.$options[t],r=t+" hook";if(n)for(var o=0,i=n.length;o<i;o++)Ue(n[o],e,null,e,r);e._hasHookEvent&&e.$emit("hook:"+t),pe()}var ln=[],cn=[],un={},dn=!1,fn=!1,pn=0;var hn=0,mn=Date.now;if(V&&!K){var vn=window.performance;vn&&"function"==typeof vn.now&&mn()>document.createEvent("Event").timeStamp&&(mn=function(){return vn.now()})}function gn(){var e,t;for(hn=mn(),fn=!0,ln.sort((function(e,t){return e.id-t.id})),pn=0;pn<ln.length;pn++)(e=ln[pn]).before&&e.before(),t=e.id,un[t]=null,e.run();var n=cn.slice(),r=ln.slice();pn=ln.length=cn.length=0,un={},dn=fn=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,on(e[t],!0)}(n),function(e){var t=e.length;for(;t--;){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&sn(r,"updated")}}(r),oe&&j.devtools&&oe.emit("flush")}var yn=0,bn=function(e,t,n,r,o){this.vm=e,o&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++yn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ae,this.newDepIds=new ae,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!H.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=I)),this.value=this.lazy?void 0:this.get()};bn.prototype.get=function(){var e;fe(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;ze(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ot(e),pe(),this.cleanupDeps()}return e},bn.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},bn.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},bn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==un[t]){if(un[t]=!0,fn){for(var n=ln.length-1;n>pn&&ln[n].id>e.id;)n--;ln.splice(n+1,0,e)}else ln.push(e);dn||(dn=!0,nt(gn))}}(this)},bn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||i(e)||this.deep){var t=this.value;if(this.value=e,this.user){var n='callback for watcher "'+this.expression+'"';Ue(this.cb,this.vm,[e,t],this.vm,n)}else this.cb.call(this.vm,e,t)}}},bn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1}
vendor: 6,262 bytes, line 2
2,bn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},bn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||m(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var _n={enumerable:!0,configurable:!0,get:I,set:I};function wn(e,t,n){_n.get=function(){return this[t][n]},_n.set=function(e){this[t][n]=e},Object.defineProperty(e,n,_n)}function kn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[],i=!e.$parent;i||xe(!1);var a=function(i){o.push(i);var a=je(i,t,n,e);Ee(r,i,a),i in e||wn(e,"_props",i)};for(var s in t)a(s);xe(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?I:S(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;t=e._data="function"==typeof t?function(e,t){fe();try{return e.call(t,t)}catch(e){return ze(e,t,"data()"),{}}finally{pe()}}(t,e):t||{},s(t)||(t={});var n=Object.keys(t),r=e.$options.props,o=(e.$options.methods,n.length);for(;o--;){var i=n[o];0,r&&y(r,i)||B(i)||wn(e,"_data",i)}Se(t,!0)}(e):Se(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=re();for(var o in t){var i=t[o],a="function"==typeof i?i:i.get;0,r||(n[o]=new bn(e,a||I,I,xn)),o in e||Cn(e,o,i)}}(e,t.computed),t.watch&&t.watch!==ee&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)Tn(e,n,r[o]);else Tn(e,n,r)}}(e,t.watch)}var xn={lazy:!0};function Cn(e,t,n){var r=!re();"function"==typeof n?(_n.get=r?Sn(t):En(n),_n.set=I):(_n.get=n.get?r&&!1!==n.cache?Sn(t):En(n.get):I,_n.set=n.set||I),Object.defineProperty(e,t,_n)}function Sn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ue.target&&t.depend(),t.value}}function En(e){return function(){return e.call(this,this)}}function Tn(e,t,n,r){return s(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}var On=0;function In(e){var t=e.options;if(e.super){var n=In(e.super);if(n!==e.superOptions){e.superOptions=n;var r=function(e){var t,n=e.options,r=e.sealedOptions;for(var o in n)n[o]!==r[o]&&(t||(t={}),t[o]=n[o]);return t}(e);r&&T(e.extendOptions,r),(t=e.options=Re(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function An(e){this._init(e)}function Dn(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,o=e._Ctor||(e._Ctor={});if(o[r])return o[r];var i=e.name||n.options.name;var a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=Re(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)wn(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)Cn(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,R.forEach((function(e){a[e]=n[e]})),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=T({},a.options),o[r]=a,a}}function Pn(e){return e&&(e.Ctor.options.name||e.tag)}function Mn(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!l(e)&&e.test(t)}function $n(e,t){var n=e.cache,r=e.keys,o=e._vnode;for(var i in n){var a=n[i];if(a){var s=a.name;s&&!t(s)&&Nn(n,i,r,o)}}}function Nn(e,t,n,r){var o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,m(n,t)}An.prototype._init=function(t){var n=this;n._uid=On++,n._isVue=!0,t&&t._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(n,t):n.$options=Re(In(n.constructor),t||{},n),n._renderProxy=n,n._self=n,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(n),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&en(e,t)}(n),function(t){t._vnode=null,t._staticTrees=null;var n=t.$options,r=t.$vnode=n._parentVnode,o=r&&r.context;t.$slots=mt(n._renderChildren,o),t.$scopedSlots=e,t._c=function(e,n,r,o){return Vt(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return Vt(t,e,n,r,o,!0)};var i=r&&r.data;Ee(t,"$attrs",i&&i.attrs||e,null,!0),Ee(t,"$listeners",n._parentListeners||e,null,!0)}(n),sn(n,"beforeCreate"),function(e){var t=ht(e.$options.inject,e);t&&(xe(!1),Object.keys(t).forEach((function(n){Ee(e,n,t[n])})),xe(!0))}(n),kn(n),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(n),sn(n,"created"),n.$options.el&&n.$mount(n.$options.el)},function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Te,e.prototype.$delete=Oe,e.prototype.$watch=function(e,t,n){var r=this;if(s(t))return Tn(r,e,t,n);(n=n||{}).user=!0;var o=new bn(r,e,t,n);if(n.immediate){var i='callback for immediate watcher "'+o.expression+'"';fe(),Ue(t,r,[o.value],r,i),pe()}return function(){o.teardown()}}}(An),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var o=0,i=e.length;o<i;o++)r.$on(e[o],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var r=0,o=e.length;r<o;r++)n.$off(e[r],t);return n}var i,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;for(var s=a.length;s--;)if((i=a[s])===t||i.fn===t){a.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?E(n):n;
vendor: 16,243 bytes, line 2
2for(var r=E(arguments,1),o='event handler for "'+e+'"',i=0,a=n.length;i<a;i++)Ue(n[i],t,r,t,o)}return t}}(An),function(e){e.prototype._update=function(e,t){var n=this,r=n.$el,o=n._vnode,i=nn(n);n._vnode=e,n.$el=o?n.__patch__(o,e):n.__patch__(n.$el,e,t,!1),i(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){sn(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||m(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),sn(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(An),function(e){Nt(e.prototype),e.prototype.$nextTick=function(e){return nt(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,r=n.render,o=n._parentVnode;o&&(t.$scopedSlots=yt(o.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=o;try{Yt=t,e=r.call(t._renderProxy,t.$createElement)}catch(n){ze(n,t,"render"),e=t._vnode}finally{Yt=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof he||(e=ve()),e.parent=o,e}}(An);var Rn=[String,RegExp,Array],Ln={name:"keep-alive",abstract:!0,props:{include:Rn,exclude:Rn,max:[String,Number]},methods:{cacheVNode:function(){var e=this,t=e.cache,n=e.keys,r=e.vnodeToCache,o=e.keyToCache;if(r){var i=r.tag,a=r.componentInstance,s=r.componentOptions;t[o]={name:Pn(s),tag:i,componentInstance:a},n.push(o),this.max&&n.length>parseInt(this.max)&&Nn(t,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Nn(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",(function(t){$n(e,(function(e){return Mn(t,e)}))})),this.$watch("exclude",(function(t){$n(e,(function(e){return!Mn(t,e)}))}))},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=Qt(e),n=t&&t.componentOptions;if(n){var r=Pn(n),o=this.include,i=this.exclude;if(o&&(!r||!Mn(o,r))||i&&r&&Mn(i,r))return t;var a=this.cache,s=this.keys,l=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[l]?(t.componentInstance=a[l].componentInstance,m(s,l),s.push(l)):(this.vnodeToCache=t,this.keyToCache=l),t.data.keepAlive=!0}return t||e&&e[0]}},jn={KeepAlive:Ln};!function(e){var t={get:function(){return j}};Object.defineProperty(e,"config",t),e.util={warn:le,extend:T,mergeOptions:Re,defineReactive:Ee},e.set=Te,e.delete=Oe,e.nextTick=nt,e.observable=function(e){return Se(e),e},e.options=Object.create(null),R.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,T(e.options.components,jn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=E(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Re(this.options,e),this}}(e),Dn(e),function(e){R.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&s(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)}(An),Object.defineProperty(An.prototype,"$isServer",{get:re}),Object.defineProperty(An.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(An,"FunctionalRenderContext",{value:Rt}),An.version="2.6.14";var Fn=p("style,class"),Bn=p("input,textarea,option,select,progress"),qn=p("contenteditable,draggable,spellcheck"),Hn=p("events,caret,typing,plaintext-only"),zn=p("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Un="http://www.w3.org/1999/xlink",Vn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Gn=function(e){return Vn(e)?e.slice(6,e.length):""},Wn=function(e){return null==e||!1===e};function Yn(e){for(var t=e.data,r=e,o=e;n(o.componentInstance);)(o=o.componentInstance._vnode)&&o.data&&(t=Kn(o.data,t));for(;n(r=r.parent);)r&&r.data&&(t=Kn(t,r.data));return function(e,t){if(n(e)||n(t))return Qn(e,Jn(t));return""}(t.staticClass,t.class)}function Kn(e,t){return{staticClass:Qn(e.staticClass,t.staticClass),class:n(e.class)?[e.class,t.class]:t.class}}function Qn(e,t){return e?t?e+" "+t:e:t||""}function Jn(e){return Array.isArray(e)?function(e){for(var t,r="",o=0,i=e.length;o<i;o++)n(t=Jn(e[o]))&&""!==t&&(r&&(r+=" "),r+=t);return r}(e):i(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var Zn={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Xn=p("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),er=p("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),tr=function(e){return Xn(e)||er(e)};var nr=Object.create(null);var rr=p("text,number,password,search,email,tel,url");var or=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(e,t){return document.createElementNS(Zn[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),ir={create:function(e,t){ar(t)},update:function(e,t){e.data.ref!==t.data.ref&&(ar(e,!0),ar(t))},destroy:function(e){ar(e,!0)}};function ar(e,t){var r=e.data.ref;if(n(r)){var o=e.context,i=e.componentInstance||e.elm,a=o.$refs;t?Array.isArray(a[r])?m(a[r],i):a[r]===i&&(a[r]=void 0):e.data.refInFor?Array.isArray(a[r])?a[r].indexOf(i)<0&&a[r].push(i):a[r]=[i]:a[r]=i}}var sr=new he("",{},[]),lr=["create","activate","update","remove","destroy"];function cr(e,o){return e.key===o.key&&e.asyncFactory===o.asyncFactory&&(e.tag===o.tag&&e.isComment===o.isComment&&n(e.data)===n(o.data)&&function(e,t){if("input"!==e.tag)return!0;var r,o=n(r=e.data)&&n(r=r.attrs)&&r.type,i=n(r=t.data)&&n(r=r.attrs)&&r.type;return o===i||rr(o)&&rr(i)}(e,o)||r(e.isAsyncPlaceholder)&&t(o.asyncFactory.error))}function ur(e,t,r){var o,i,a={};for(o=t;o<=r;++o)n(i=e[o].key)&&(a[i]=o);return a}var dr={create:fr,update:fr,destroy:function(e){fr(e,sr)}};function fr(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,r,o,i=e===sr,a=t===sr,s=hr(e.data.directives,e.context),l=hr(t.data.directives,t.context),c=[],u=[];for(n in l)r=s[n],o=l[n],r?(o.oldValue=r.value,o.oldArg=r.arg,vr(o,"update",t,e),o.def&&o.def.componentUpdated&&u.push(o)):(vr(o,"bind",t,e),o.def&&o.def.inserted&&c.push(o));if(c.length){var d=function(){for(var n=0;n<c.length;n++)vr(c[n],"inserted",t,e)};i?ct(t,"insert",d):d()}u.length&&ct(t,"postpatch",(function(){for(var n=0;n<u.length;n++)vr(u[n],"componentUpdated",t,e)}));if(!i)for(n in s)l[n]||vr(s[n],"unbind",e,e,a)}(e,t)}var pr=Object.create(null);function hr(e,t){var n,r,o=Object.create(null);if(!e)return o;for(n=0;n<e.length;n++)(r=e[n]).modifiers||(r.modifiers=pr),o[mr(r)]=r,r.def=Le(t.$options,"directives",r.name);return o}function mr(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function vr(e,t,n,r,o){var i=e.def&&e.def[t];if(i)try{i(n.elm,e,n,r,o)}catch(r){ze(r,n.context,"directive "+e.name+" "+t+" hook")}}var gr=[ir,dr];function yr(e,r){var o=r.componentOptions;if(!(n(o)&&!1===o.Ctor.options.inheritAttrs||t(e.data.attrs)&&t(r.data.attrs))){var i,a,s=r.elm,l=e.data.attrs||{},c=r.data.attrs||{};for(i in n(c.__ob__)&&(c=r.data.attrs=T({},c)),c)a=c[i],l[i]!==a&&br(s,i,a,r.data.pre);for(i in(K||J)&&c.value!==l.value&&br(s,"value",c.value),l)t(c[i])&&(Vn(i)?s.removeAttributeNS(Un,Gn(i)):qn(i)||s.removeAttribute(i))}}function br(e,t,n,r){r||e.tagName.indexOf("-")>-1?_r(e,t,n):zn(t)?Wn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):qn(t)?e.setAttribute(t,function(e,t){return Wn(t)||"false"===t?"false":"contenteditable"===e&&Hn(t)?t:"true"}(t,n)):Vn(t)?Wn(n)?e.removeAttributeNS(Un,Gn(t)):e.setAttributeNS(Un,t,n):_r(e,t,n)}function _r(e,t,n){if(Wn(n))e.removeAttribute(t);else{if(K&&!Q&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var wr={create:yr,update:yr};function kr(e,r){var o=r.elm,i=r.data,a=e.data;if(!(t(i.staticClass)&&t(i.class)&&(t(a)||t(a.staticClass)&&t(a.class)))){var s=Yn(r),l=o._transitionClasses;n(l)&&(s=Qn(s,Jn(l))),s!==o._prevClass&&(o.setAttribute("class",s),o._prevClass=s)}}var xr,Cr={create:kr,update:kr},Sr="__r",Er="__c";function Tr(e,t,n){var r=xr;return function o(){null!==t.apply(null,arguments)&&Ar(e,o,n,r)}}var Or=Ye&&!(X&&Number(X[1])<=53);function Ir(e,t,n,r){if(Or){var o=hn,i=t;t=i._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=o||e.timeStamp<=0||e.target.ownerDocument!==document)return i.apply(this,arguments)}}xr.addEventListener(e,t,te?{capture:n,passive:r}:n)}function Ar(e,t,n,r){(r||xr).removeEventListener(e,t._wrapper||t,n)}function Dr(e,r){if(!t(e.data.on)||!t(r.data.on)){var o=r.data.on||{},i=e.data.on||{};xr=r.elm,function(e){if(n(e[Sr])){var t=K?"change":"input";e[t]=[].concat(e[Sr],e[t]||[]),delete e[Sr]}n(e[Er])&&(e.change=[].concat(e[Er],e.change||[]),delete e[Er])}(o),lt(o,i,Ir,Ar,Tr,r.context),xr=void 0}}var Pr,Mr={create:Dr,update:Dr};function $r(e,r){if(!t(e.data.domProps)||!t(r.data.domProps)){var o,i,a=r.elm,s=e.data.domProps||{},l=r.data.domProps||{};for(o in n(l.__ob__)&&(l=r.data.domProps=T({},l)),s)o in l||(a[o]="");for(o in l){if(i=l[o],"textContent"===o||"innerHTML"===o){if(r.children&&(r.children.length=0),i===s[o])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===o&&"PROGRESS"!==a.tagName){a._value=i;var c=t(i)?"":String(i);Nr(a,c)&&(a.value=c)}else if("innerHTML"===o&&er(a.tagName)&&t(a.innerHTML)){(Pr=Pr||document.createElement("div")).innerHTML="<svg>"+i+"</svg>";for(var u=Pr.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(i!==s[o])try{a[o]=i}catch(e){}}}}function Nr(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var r=e.value,o=e._vModifiers;if(n(o)){if(o.number)return f(r)!==f(t);if(o.trim)return r.trim()!==t.trim()}return r!==t}(e,t))}var Rr={create:$r,update:$r},Lr=b((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));function jr(e){var t=Fr(e.style);return e.staticStyle?T(e.staticStyle,t):t}function Fr(e){return Array.isArray(e)?O(e):"string"==typeof e?Lr(e):e}var Br,qr=/^--/,Hr=/\s*!important$/,zr=function(e,t,n){if(qr.test(t))e.style.setProperty(t,n);else if(Hr.test(n))e.style.setProperty(C(t),n.replace(Hr,""),"important");else{var r=Vr(t);if(Array.isArray(n))for(var o=0,i=n.length;o<i;o++)e.style[r]=n[o];else e.style[r]=n}},Ur=["Webkit","Moz","ms"],Vr=b((function(e){if(Br=Br||document.createElement("div").style,"filter"!==(e=w(e))&&e in Br)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<Ur.length;n++){var r=Ur[n]+t;if(r in Br)return r}}));function Gr(e,r){var o=r.data,i=e.data;if(!(t(o.staticStyle)&&t(o.style)&&t(i.staticStyle)&&t(i.style))){var a,s,l=r.elm,c=i.staticStyle,u=i.normalizedStyle||i.style||{},d=c||u,f=Fr(r.data.style)||{};r.data.normalizedStyle=n(f.__ob__)?T({},f):f;var p=function(e,t){var n,r={};if(t)for(var o=e;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=jr(o.data))&&T(r,n);(n=jr(e.data))&&T(r,n);for(var i=e;i=i.parent;)i.data&&(n=jr(i.data))&&T(r,n);return r}(r,!0);for(s in d)t(p[s])&&zr(l,s,"");for(s in p)(a=p[s])!==d[s]&&zr(l,s,null==a?"":a)}}var Wr={create:Gr,update:Gr},Yr=/\s+/;function Kr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Yr).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Qr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Yr).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Jr(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&T(t,Zr(e.name||"v")),T(t,e),t}return"string"==typeof e?Zr(e):void 0}}var Zr=b((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Xr=V&&!Q,eo="transition",to="animation",no="transition",ro="transitionend",oo="animation",io="animationend";Xr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(no="WebkitTransition",ro="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(oo="WebkitAnimation",io="webkitAnimationEnd"));var ao=V?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function so(e){ao((function(){ao(e)}))}function lo(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Kr(e,t))}function co(e,t){e._transitionClasses&&m(e._transitionClasses,t),Qr(e,t)}function uo(e,t,n){var r=po(e,t),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===eo?ro:io,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout((function(){l<a&&c()}),i+1),e.addEventListener(s,u)}var fo=/\b(transform|all)(,|$)/;function po(e,t){var n,r=window.getComputedStyle(e),o=(r[no+"Delay"]||"").split(", "),i=(r[no+"Duration"]||"").split(", "),a=ho(o,i),s=(r[oo+"Delay"]||"").split(", "),l=(r[oo+"Duration"]||"").split(", "),c=ho(s,l),u=0,d=0;return t===eo?a>0&&(n=eo,u=a,d=i.length):t===to?c>0&&(n=to,u=c,d=l.length):d=(n=(u=Math.max(a,c))>0?a>c?eo:to:null)?n===eo?i.length:l.length:0,{type:n,timeout:u,propCount:d,hasTransform:n===eo&&fo.test(r[no+"Property"])}}function ho(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map((function(t,n){return mo(t)+mo(e[n])})))}function mo(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function vo(e,r){var o=e.elm;n(o._leaveCb)&&(o._leaveCb.cancelled=!0,o._leaveCb());var a=Jr(e.data.transition);
vendor: 4,692 bytes, line 2
2if(!t(a)&&!n(o._enterCb)&&1===o.nodeType){for(var s=a.css,l=a.type,c=a.enterClass,u=a.enterToClass,d=a.enterActiveClass,p=a.appearClass,h=a.appearToClass,m=a.appearActiveClass,v=a.beforeEnter,g=a.enter,y=a.afterEnter,b=a.enterCancelled,_=a.beforeAppear,w=a.appear,k=a.afterAppear,x=a.appearCancelled,C=a.duration,S=tn,E=tn.$vnode;E&&E.parent;)S=E.context,E=E.parent;var T=!S._isMounted||!e.isRootInsert;if(!T||w||""===w){var O=T&&p?p:c,I=T&&m?m:d,A=T&&h?h:u,D=T&&_||v,P=T&&"function"==typeof w?w:g,M=T&&k||y,N=T&&x||b,R=f(i(C)?C.enter:C);0;var L=!1!==s&&!Q,j=bo(P),F=o._enterCb=$((function(){L&&(co(o,A),co(o,I)),F.cancelled?(L&&co(o,O),N&&N(o)):M&&M(o),o._enterCb=null}));e.data.show||ct(e,"insert",(function(){var t=o.parentNode,n=t&&t._pending&&t._pending[e.key];n&&n.tag===e.tag&&n.elm._leaveCb&&n.elm._leaveCb(),P&&P(o,F)})),D&&D(o),L&&(lo(o,O),lo(o,I),so((function(){co(o,O),F.cancelled||(lo(o,A),j||(yo(R)?setTimeout(F,R):uo(o,l,F)))}))),e.data.show&&(r&&r(),P&&P(o,F)),L||j||F()}}}function go(e,r){var o=e.elm;n(o._enterCb)&&(o._enterCb.cancelled=!0,o._enterCb());var a=Jr(e.data.transition);if(t(a)||1!==o.nodeType)return r();if(!n(o._leaveCb)){var s=a.css,l=a.type,c=a.leaveClass,u=a.leaveToClass,d=a.leaveActiveClass,p=a.beforeLeave,h=a.leave,m=a.afterLeave,v=a.leaveCancelled,g=a.delayLeave,y=a.duration,b=!1!==s&&!Q,_=bo(h),w=f(i(y)?y.leave:y);0;var k=o._leaveCb=$((function(){o.parentNode&&o.parentNode._pending&&(o.parentNode._pending[e.key]=null),b&&(co(o,u),co(o,d)),k.cancelled?(b&&co(o,c),v&&v(o)):(r(),m&&m(o)),o._leaveCb=null}));g?g(x):x()}function x(){k.cancelled||(!e.data.show&&o.parentNode&&((o.parentNode._pending||(o.parentNode._pending={}))[e.key]=e),p&&p(o),b&&(lo(o,c),lo(o,d),so((function(){co(o,c),k.cancelled||(lo(o,u),_||(yo(w)?setTimeout(k,w):uo(o,l,k)))}))),h&&h(o,k),b||_||k())}}function yo(e){return"number"==typeof e&&!isNaN(e)}function bo(e){if(t(e))return!1;var r=e.fns;return n(r)?bo(Array.isArray(r)?r[0]:r):(e._length||e.length)>1}function _o(e,t){!0!==t.data.show&&vo(t)}var wo=function(e){var i,a,s={},l=e.modules,c=e.nodeOps;for(i=0;i<lr.length;++i)for(s[lr[i]]=[],a=0;a<l.length;++a)n(l[a][lr[i]])&&s[lr[i]].push(l[a][lr[i]]);function u(e){var t=c.parentNode(e);n(t)&&c.removeChild(t,e)}function d(e,t,o,i,a,l,u){if(n(e.elm)&&n(l)&&(e=l[u]=ye(e)),e.isRootInsert=!a,!function(e,t,o,i){var a=e.data;if(n(a)){var l=n(e.componentInstance)&&a.keepAlive;if(n(a=a.hook)&&n(a=a.init)&&a(e,!1),n(e.componentInstance))return f(e,t),h(o,e.elm,i),r(l)&&function(e,t,r,o){var i,a=e;for(;a.componentInstance;)if(n(i=(a=a.componentInstance._vnode).data)&&n(i=i.transition)){for(i=0;i<s.activate.length;++i)s.activate[i](sr,a);t.push(a);break}h(r,e.elm,o)}(e,t,o,i),!0}}(e,t,o,i)){var d=e.data,p=e.children,v=e.tag;n(v)?(e.elm=e.ns?c.createElementNS(e.ns,v):c.createElement(v,e),y(e),m(e,p,t),n(d)&&g(e,t),h(o,e.elm,i)):r(e.isComment)?(e.elm=c.createComment(e.text),h(o,e.elm,i)):(e.elm=c.createTextNode(e.text),h(o,e.elm,i))}}function f(e,t){n(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,v(e)?(g(e,t),y(e)):(ar(e),t.push(e))}function h(e,t,r){n(e)&&(n(r)?c.parentNode(r)===e&&c.insertBefore(e,t,r):c.appendChild(e,t))}function m(e,t,n){if(Array.isArray(t)){0;for(var r=0;r<t.length;++r)d(t[r],n,e.elm,null,!0,t,r)}else o(e.text)&&c.appendChild(e.elm,c.createTextNode(String(e.text)))}function v(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return n(e.tag)}function g(e,t){for(var r=0;r<s.create.length;++r)s.create[r](sr,e);n(i=e.data.hook)&&(n(i.create)&&i.create(sr,e),n(i.insert)&&t.push(e))}function y(e){var t;if(n(t=e.fnScopeId))c.setStyleScope(e.elm,t);else for(var r=e;r;)n(t=r.context)&&n(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t),r=r.parent;n(t=tn)&&t!==e.context&&t!==e.fnContext&&n(t=t.$options._scopeId)&&c.setStyleScope(e.elm,t)}function b(e,t,n,r,o,i){for(;r<=o;++r)d(n[r],i,e,t,!1,n,r)}function _(e){var t,r,o=e.data;if(n(o))for(n(t=o.hook)&&n(t=t.destroy)&&t(e),t=0;t<s.destroy.length;++t)s.destroy[t](e);if(n(t=e.children))for(r=0;r<e.children.length;++r)_(e.children[r])}function w(e,t,r){for(;t<=r;++t){var o=e[t];n(o)&&(n(o.tag)?(k(o),_(o)):u(o.elm))}}function k(e,t){if(n(t)||n(e.data)){var r,o=s.remove.length+1;for(n(t)?t.listeners+=o:t=function(e,t){function n(){0==--n.listeners&&u(e)}return n.listeners=t,n}(e.elm,o),n(r=e.componentInstance)&&n(r=r._vnode)&&n(r.data)&&k(r,t),r=0;r<s.remove.length;++r)s.remove[r](e,t);n(r=e.data.hook)&&n(r=r.remove)?r(e,t):t()}else u(e.elm)}function x(e,t,r,o){for(var i=r;i<o;i++){var a=t[i];if(n(a)&&cr(e,a))return i}}function C(e,o,i,a,l,u){if(e!==o){n(o.elm)&&n(a)&&(o=a[l]=ye(o));var f=o.elm=e.elm;
vendor: 5,238 bytes, line 2
2if(r(e.isAsyncPlaceholder))n(o.asyncFactory.resolved)?T(e.elm,o,i):o.isAsyncPlaceholder=!0;else if(r(o.isStatic)&&r(e.isStatic)&&o.key===e.key&&(r(o.isCloned)||r(o.isOnce)))o.componentInstance=e.componentInstance;else{var p,h=o.data;n(h)&&n(p=h.hook)&&n(p=p.prepatch)&&p(e,o);var m=e.children,g=o.children;if(n(h)&&v(o)){for(p=0;p<s.update.length;++p)s.update[p](e,o);n(p=h.hook)&&n(p=p.update)&&p(e,o)}t(o.text)?n(m)&&n(g)?m!==g&&function(e,r,o,i,a){var s,l,u,f=0,p=0,h=r.length-1,m=r[0],v=r[h],g=o.length-1,y=o[0],_=o[g],k=!a;for(;f<=h&&p<=g;)t(m)?m=r[++f]:t(v)?v=r[--h]:cr(m,y)?(C(m,y,i,o,p),m=r[++f],y=o[++p]):cr(v,_)?(C(v,_,i,o,g),v=r[--h],_=o[--g]):cr(m,_)?(C(m,_,i,o,g),k&&c.insertBefore(e,m.elm,c.nextSibling(v.elm)),m=r[++f],_=o[--g]):cr(v,y)?(C(v,y,i,o,p),k&&c.insertBefore(e,v.elm,m.elm),v=r[--h],y=o[++p]):(t(s)&&(s=ur(r,f,h)),t(l=n(y.key)?s[y.key]:x(y,r,f,h))?d(y,i,e,m.elm,!1,o,p):cr(u=r[l],y)?(C(u,y,i,o,p),r[l]=void 0,k&&c.insertBefore(e,u.elm,m.elm)):d(y,i,e,m.elm,!1,o,p),y=o[++p]);f>h?b(e,t(o[g+1])?null:o[g+1].elm,o,p,g,i):p>g&&w(r,f,h)}(f,m,g,i,u):n(g)?(n(e.text)&&c.setTextContent(f,""),b(f,null,g,0,g.length-1,i)):n(m)?w(m,0,m.length-1):n(e.text)&&c.setTextContent(f,""):e.text!==o.text&&c.setTextContent(f,o.text),n(h)&&n(p=h.hook)&&n(p=p.postpatch)&&p(e,o)}}}function S(e,t,o){if(r(o)&&n(e.parent))e.parent.data.pendingInsert=t;else for(var i=0;i<t.length;++i)t[i].data.hook.insert(t[i])}var E=p("attrs,class,staticClass,staticStyle,key");function T(e,t,o,i){var a,s=t.tag,l=t.data,c=t.children;if(i=i||l&&l.pre,t.elm=e,r(t.isComment)&&n(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(n(l)&&(n(a=l.hook)&&n(a=a.init)&&a(t,!0),n(a=t.componentInstance)))return f(t,o),!0;if(n(s)){if(n(c))if(e.hasChildNodes())if(n(a=l)&&n(a=a.domProps)&&n(a=a.innerHTML)){if(a!==e.innerHTML)return!1}else{for(var u=!0,d=e.firstChild,p=0;p<c.length;p++){if(!d||!T(d,c[p],o,i)){u=!1;break}d=d.nextSibling}if(!u||d)return!1}else m(t,c,o);if(n(l)){var h=!1;for(var v in l)if(!E(v)){h=!0,g(t,o);break}!h&&l.class&&ot(l.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,o,i,a){if(!t(o)){var l,u=!1,f=[];if(t(e))u=!0,d(o,f);else{var p=n(e.nodeType);if(!p&&cr(e,o))C(e,o,f,null,null,a);else{if(p){if(1===e.nodeType&&e.hasAttribute(N)&&(e.removeAttribute(N),i=!0),r(i)&&T(e,o,f))return S(o,f,!0),e;l=e,e=new he(c.tagName(l).toLowerCase(),{},[],void 0,l)}var h=e.elm,m=c.parentNode(h);if(d(o,f,h._leaveCb?null:m,c.nextSibling(h)),n(o.parent))for(var g=o.parent,y=v(o);g;){for(var b=0;b<s.destroy.length;++b)s.destroy[b](g);if(g.elm=o.elm,y){for(var k=0;k<s.create.length;++k)s.create[k](sr,g);var x=g.data.hook.insert;if(x.merged)for(var E=1;E<x.fns.length;E++)x.fns[E]()}else ar(g);g=g.parent}n(m)?w([e],0,0):n(e.tag)&&_(e)}}return S(o,f,u),o.elm}n(e)&&_(e)}}({nodeOps:or,modules:[wr,Cr,Mr,Rr,Wr,V?{create:_o,activate:_o,remove:function(e,t){!0!==e.data.show?go(e,t):t()}}:{}].concat(gr)});Q&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&Io(e,"input")}));var ko={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?ct(n,"postpatch",(function(){ko.componentUpdated(e,t,n)})):xo(e,t,n.context),e._vOptions=[].map.call(e.options,Eo)):("textarea"===n.tag||rr(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",To),e.addEventListener("compositionend",Oo),e.addEventListener("change",Oo),Q&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){xo(e,t,n.context);var r=e._vOptions,o=e._vOptions=[].map.call(e.options,Eo);if(o.some((function(e,t){return!P(e,r[t])})))(e.multiple?t.value.some((function(e){return So(e,o)})):t.value!==t.oldValue&&So(t.value,o))&&Io(e,"change")}}};function xo(e,t,n){Co(e,t,n),(K||J)&&setTimeout((function(){Co(e,t,n)}),0)}function Co(e,t,n){var r=t.value,o=e.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,l=e.options.length;s<l;s++)if(a=e.options[s],o)i=M(r,Eo(a))>-1,a.selected!==i&&(a.selected=i);else if(P(Eo(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));o||(e.selectedIndex=-1)}}function So(e,t){return t.every((function(t){return!P(t,e)}))}function Eo(e){return"_value"in e?e._value:e.value}function To(e){e.target.composing=!0}function Oo(e){e.target.composing&&(e.target.composing=!1,Io(e.target,"input"))}function Io(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Ao(e){return!e.componentInstance||e.data&&e.data.transition?e:Ao(e.componentInstance._vnode)}var Do={model:ko,show:{bind:function(e,t,n){var r=t.value,o=(n=Ao(n)).data&&n.data.transition,i=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&o?(n.data.show=!0,vo(n,(function(){e.style.display=i}))):e.style.display=r?i:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=Ao(n)).data&&n.data.transition?(n.data.show=!0,r?vo(n,(function(){e.style.display=e.__vOriginalDisplay})):go(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,o){o||(e.style.display=e.__vOriginalDisplay)}}},Po={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterA
vendor: 6,379 bytes, line 2
2ctiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Mo(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Mo(Qt(t.children)):e}function $o(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var o=n._parentListeners;for(var i in o)t[w(i)]=o[i];return t}function No(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var Ro=function(e){return e.tag||gt(e)},Lo=function(e){return"show"===e.name},jo={name:"transition",props:Po,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(Ro)).length){0;var r=this.mode;0;var i=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return i;var a=Mo(i);if(!a)return i;if(this._leaving)return No(e,i);var s="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?s+"comment":s+a.tag:o(a.key)?0===String(a.key).indexOf(s)?a.key:s+a.key:a.key;var l=(a.data||(a.data={})).transition=$o(this),c=this._vnode,u=Mo(c);if(a.data.directives&&a.data.directives.some(Lo)&&(a.data.show=!0),u&&u.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(a,u)&&!gt(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=T({},l);if("out-in"===r)return this._leaving=!0,ct(d,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),No(e,i);if("in-out"===r){if(gt(a))return c;var f,p=function(){f()};ct(l,"afterEnter",p),ct(l,"enterCancelled",p),ct(d,"delayLeave",(function(e){f=e}))}}return i}}},Fo=T({tag:String,moveClass:String},Po);delete Fo.mode;var Bo={props:Fo,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var o=nn(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,o(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=$o(this),s=0;s<o.length;s++){var l=o[s];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))i.push(l),n[l.key]=l,(l.data||(l.data={})).transition=a;else;}if(r){for(var c=[],u=[],d=0;d<r.length;d++){var f=r[d];f.data.transition=a,f.data.pos=f.elm.getBoundingClientRect(),n[f.key]?c.push(f):u.push(f)}this.kept=e(t,null,c),this.removed=u}return e(t,null,i)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(qo),e.forEach(Ho),e.forEach(zo),this._reflow=document.body.offsetHeight,e.forEach((function(e){if(e.data.moved){var n=e.elm,r=n.style;lo(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(ro,n._moveCb=function e(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(ro,e),n._moveCb=null,co(n,t))})}})))},methods:{hasMove:function(e,t){if(!Xr)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach((function(e){Qr(n,e)})),Kr(n,t),n.style.display="none",this.$el.appendChild(n);var r=po(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function qo(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Ho(e){e.data.newPos=e.elm.getBoundingClientRect()}function zo(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,o=t.top-n.top;if(r||o){e.data.moved=!0;var i=e.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}var Uo={Transition:jo,TransitionGroup:Bo};An.config.mustUseProp=function(e,t,n){return"value"===n&&Bn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},An.config.isReservedTag=tr,An.config.isReservedAttr=Fn,An.config.getTagNamespace=function(e){return er(e)?"svg":"math"===e?"math":void 0},An.config.isUnknownElement=function(e){if(!V)return!0;if(tr(e))return!1;if(e=e.toLowerCase(),null!=nr[e])return nr[e];var t=document.createElement(e);return e.indexOf("-")>-1?nr[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:nr[e]=/HTMLUnknownElement/.test(t.toString())},T(An.options.directives,Do),T(An.options.components,Uo),An.prototype.__patch__=V?wo:I,An.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=ve),sn(e,"beforeMount"),r=function(){e._update(e._render(),n)},new bn(e,r,I,{before:function(){e._isMounted&&!e._isDestroyed&&sn(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,sn(e,"mounted")),e}(this,e=e&&V?function(e){if("string"==typeof e){return document.querySelector(e)||document.createElement("div")}return e}(e):void 0,t)},V&&setTimeout((function(){j.devtools&&oe&&oe.emit("init",An)}),0);const Vo=An;var Go=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("VueHeadful"),e._v(" "),e.maintenanceMode?n("Maintenance"):e.hasConsent?e.bannedUntil?n("div",{staticClass:"container text-center"},[n("p",[n("Icon",{attrs:{v:"poo-storm",size:"3"}}),e._v("\n "+e._s(e.$t("ban.info",{until:e.bannedUntil,reason:e.bannedReason}))+"\n ")],1)]):e.$user&&e.$user.disabled?n("div",{staticClass:"container text-center"},[n("p",[n("Icon",{attrs:{v:"island-tropical",size:"3"}})],1),e._v(" "),n("p",[e._v("\n "+e._s(e.$t("account.disable.disabled"))+"\n ")]),e._v(" "),n("p",[n("button",{staticClass:"btn",on:{click:e.logout}},[n("Icon",{attrs:{v:"sign-out"}}),e._v("\n "+e._s(e.$t("logout"))+"\n ")],1),e._v(" "),n("button",{staticClass:"btn btn-primary",on:{click:e.enableAccount}},[n("Icon",{attrs:{v:"house-return"}}),e._v("\n "+e._s(e.$t("account.disable.reenable"))+"\n ")],1)])]):n("div",{staticClass:"full-page"},[n("Nav",{attrs:{wide:e.fullPage}}),e._v(" "),n("main",{class:{"mb-5":"home"!==e.$route.name}},[e.notFound?n("NotFound"):n("router-view")],1),e._v(" "),e.fullPage?e._e():n("Footer"),e._v(" "),n("Lightbox"),e._v(" "),n("Confirm",{ref:"confirm"}),e._v(" "),n("Report",{ref:"report"}),e._v(" "),n("VersionChecker")],1):n("Consent",{on:{"set-consent":e.setConsent}})],1)};Go._withStripped=!0;var Wo=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.$user&&e.$user.active?n("Messages",{ref:"messages",on:{"update-unread-count":e.updateUnreadMessagesCount}}
2):e._e(),e._v(" "),n("VueHeadful",{attrs:{notifications:e.unreadMessagesCount+e.unreadNotificationsCount}}),e._v(" "),n("div",{class:["d-none d-lg-block","navbar","navbar-expand","fixed-top","navbar-dark","px-4",e.solid?"bg-primary shadow-bottom":""]},[n("div",{class:e.wide?"d-flex w-100":"container"},[n("router-link",{staticClass:"navbar-brand",attrs:{to:{name:"home"}}},[e.hideBranding?e._e():n("img",{attrs:{src:__webpack_require__(4996)}}),e._v(" "),n("span",{staticClass:"d-none d-xl-inline"},[e._v("\n "+e._s(e.$t("title"))+"\n ")])]),e._v(" "),n("ul",{staticClass:"nav navbar-nav flex-grow-1"},[n("li",{staticClass:"nav-item"},[n("router-link",{staticClass:"nav-link",attrs:{to:{name:"forum"}}},[n("Icon",{attrs:{v:"comments"}}),e._v("\n "+e._s(e.$t("forum.header"))+"\n ")],1)],1),e._v(" "),n("li",{staticClass:"nav-item"},[n("router-link",{staticClass:"nav-link",attrs:{to:{name:"chat"}}},[n("Icon",{attrs:{v:"comments-alt"}}),e._v("\n "+e._s(e.$t("chat.header"))+"\n ")],1)],1),e._v(" "),n("li",{staticClass:"nav-item"},[n("router-link",{staticClass:"nav-link",attrs:{to:{name:"members"}}},[n("Icon",{attrs:{v:"users"}}),e._v("\n "+e._s(e.$t("members.header"))+"\n ")],1)],1),e._v(" "),n("li",{staticClass:"nav-item"},[n("router-link",{staticClass:"nav-link",attrs:{to:{name:"gamesList"}}},[n("Icon",{attrs:{v:"gamepad"}}),e._v("\n "+e._s(e.$t("games.header"))+"\n ")],1)],1),e._v(" "),e.$user&&e.$user.admin?n("li",{staticClass:"nav-item dropdown"},[n("a",{staticClass:"nav-link dropdown-toggle",attrs:{href:"#","data-toggle":"dropdown",role:"button","aria-haspopup":"true","aria-expanded":"true"}},[n("Icon",{attrs:{v:"tachometer-fast"}}),e._v(" "),n("span",{staticClass:"d-none d-xl-inline"},[e._v("\n "+e._s(e.$t("admin.header"))+"\n ")])],1),e._v(" "),n("div",{staticClass:"dropdown-menu shadow"},[n("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"adminMembers"}}},[n("Icon",{attrs:{v:"users"}}),e._v("\n "+e._s(e.$t("admin.members.header"))+"\n ")],1),e._v(" "),n("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"adminPosts"}}},[n("Icon",{attrs:{v:"pen-nib"}}),e._v("\n "+e._s(e.$t("admin.posts.header"))+"\n ")],1),e._v(" "),n("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"adminPics"}}},[n("Icon",{attrs:{v:"camera-alt"}}),e._v("\n "+e._s(e.$t("admin.pics.header"))+"\n ")],1),e._v(" "),n("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"adminStats"}}},[n("Icon",{attrs:{v:"chart-line"}}),e._v("\n "+e._s(e.$t("admin.stats.header"))+"\n ")],1),e._v(" "),n("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"adminNotifications"}}},[n("Icon",{attrs:{v:"bell"}}),e._v("\n "+e._s(e.$t("admin.notifications.header"))+"\n ")],1),e._v(" "),n("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"adminReports"}}},[n("Icon",{attrs:{v:"spider"}}),e._v("\n "+e._s(e.$t("admin.reports.header"))+"\n ")],1)],1)]):e._e(),e._v(" "),n("li",{staticClass:"nav-item ml-auto mr-4"},[n("router-link",{staticClass:"nav-link",attrs:{to:{name:"faq"}}},[n("Icon",{attrs:{v:"map-marker-question"}}),e._v(" "),n("span",{staticClass:"d-none d-xl-inline"},[e._v("\n "+e._s(e.$t("faq.header.short"))+"\n ")])],1)],1)]),e._v(" "),e.$user?n("ul",{staticClass:"nav navbar-nav"},[e.$user.active?n("li",{staticClass:"nav-item"},[n("a",{class:{"nav-link":!0,"text-white":e.unreadMessagesCount>0},attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.showMessages.apply(null,arguments)}}},[n("Icon",{attrs:{v:"envelope"}}),e._v("\n "+e._s(e.unreadMessagesCount)+"\n ")],1)]):e._e(
2),e._v(" "),e.$user.active?n("Notifications",{on:{"update-unread-count":e.updateUnreadNotificationsCount}}):e._e(),e._v(" "),n("LanguageSwitch",{attrs:{listElement:"",classes:"nav-item",buttonClasses:"nav-link"}}),e._v(" "),n("li",{staticClass:"nav-item dropdown"},[n("a",{staticClass:"nav-link dropdown-toggle",attrs:{href:"#","data-toggle":"dropdown",role:"button","aria-haspopup":"true","aria-expanded":"true"}},[n("Avatar",{attrs:{member:e.$user,size:"2rem"}}),e._v(" "),n("span",{staticClass:"d-none d-xl-inline"},[n("Username",{attrs:{user:e.$user}}),e._v(" "),n("Status",{attrs:{user:e.$user}})],1)],1),e._v(" "),n("div",{staticClass:"dropdown-menu dropdown-menu-right shadow"},[e.$user.active?n("div",{staticClass:"d-flex"},[n("router-link",{staticClass:"dropdown-item text-center",attrs:{to:{name:"memberProfile",params:{username:e.$user.username}}}},[n("Icon",{attrs:{v:"id-card",classes:"bigger"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("member.profile"))+"\n ")],1),e._v(" "),n("router-link",{staticClass:"dropdown-item text-center",attrs:{to:{name:"memberCalendar",params:{username:e.$user.username}}}},[n("Icon",{attrs:{v:"calendar",classes:"bigger"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("member.calendar"))+"\n ")],1),e._v(" "),n("router-link",{staticClass:"dropdown-item text-center",attrs:{to:{name:"memberBlog",params:{username:e.$user.username}}}},[n("Icon",{attrs:{v:"pen-nib",classes:"bigger"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("member.blog"))+"\n ")],1)],1):e._e(),e._v(" "),e.$user.active?n("div",{staticClass:"d-flex"},[n("router-link",{staticClass:"dropdown-item text-center",attrs:{to:{name:"memberPics",params:{username:e.$user.username}}}},[n("Icon",{attrs:{v:"camera-alt",classes:"bigger"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("member.pics"))+"\n ")],1),e._v(" "),n("router-link",{staticClass:"dropdown-item text-center",attrs:{to:{name:"memberNetwork",params:{username:e.$user.username}}}},[n("Icon",{attrs:{v:"user-friends",classes:"bigger"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("member.network"))+"\n ")],1),e._v(" "),n("router-link",{staticClass:"dropdown-item text-center",attrs:{to:{name:"memberGames",params:{username:e.$user.username}}}},[n("Icon",{attrs:{v:"gamepad",classes:"bigger"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("member.games"))+"\n ")],1)],1):e._e(),e._v(" "),e.$user.active?n("div",{staticClass:"dropdown-divider"}):e._e(),e._v(" "),n("div",{staticClass:"d-flex"},[e.$user.active?n("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"account"}}},[n("Icon",{attrs:{v:"user-circle"}}),e._v("\n "+e._s(e.$t("account"))+"\n ")],1):e._e()],1),e._v(" "),n("div",{staticClass:"dropdown-divider"}),e._v(" "),n("ImpersonationStop"),e._v(" "),n("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.logout.apply(null,arguments)}}},[n("Icon",{attrs:{v:"sign-out"}}),e._v("\n "+e._s(e.$t("logout"))+"\n ")],1)],1)])],1):n("ul",{staticClass:"nav navbar-nav"},[n("li",{staticClass:"nav-item dropdown"},[n("a",{staticClass:"dropdown-toggle btn btn-outline-light",attrs:{"data-toggle":"dropdown",href:"#",role:"button","aria-haspopup":"true","aria-expanded":"true"}},[n("Icon",{attrs:{v:"sign-in"}}),e._v("\n "+e._s(e.$t("loginSignup"))+"\n ")],1),e._v(" "),n("div",{staticClass:"dropdown-menu dropdown-menu-wide dropdown-menu-right shadow"},[n("div",{staticClass:"px-4 py-3"},[n("Login")],1)])])])],1)]),e._v(" "),n("div",{class:["d-lg-none","navbar","navbar-expand","fixed-bottom","navbar-dark","px-4","bg-primary","shadow-top","navbar-mobile"]},[n("ul",{staticClass:"nav navbar-nav d-flex justify-content-between flex-row w-100 pb-2"},[n("li",{staticClass:"nav-item dropup"},[n("a",{staticClass:"nav-link dropdown-toggle",attrs:{"data-toggle":"dropdown",href:"#",role:"button","aria-haspopup":"true","aria-expanded":"true"}},[e.hideBranding?n("span",[n("Icon",{attrs:{v:"atom-alt"}})],1):n("img",{staticClass:"logo-small",attrs:{src:__webpack_require__(4996)}})]),e._v(" "),n("div",{staticClass:"dropdown-menu shadow"},[n("router-link",{staticClass:"dropdown-item h5",attrs:{to:{name:"home"}}},[n("strong",[e._v("\n "+e._s(e.$t("title"))+"\n ")])]),e._v(" "),n("div",{staticClass:"dropdown-divider"}),e._v(" "),n("div",{staticClass:"d-flex"},[n("router-link",{staticClass:"dropdown-item text-center",attrs:{to:{name:"forum"}}},[n("Icon",{attrs:{v:"comments",classes:"bigger"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("forum.header"))+"\n ")],1),e._v(" "),n("router-link",{staticClass:"dropdown-item text-center",attrs:{to:{name:"chat"}}
2},[n("Icon",{attrs:{v:"comments-alt",classes:"bigger"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("chat.header"))+"\n ")],1)],1),e._v(" "),n("div",{staticClass:"d-flex"},[n("router-link",{staticClass:"dropdown-item text-center",attrs:{to:{name:"members"}}},[n("Icon",{attrs:{v:"users",classes:"bigger"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("members.header"))+"\n ")],1),e._v(" "),n("router-link",{staticClass:"dropdown-item text-center",attrs:{to:{name:"gamesList"}}},[n("Icon",{attrs:{v:"gamepad",classes:"bigger"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("games.header"))+"\n ")],1)],1),e._v(" "),e.$user&&e.$user.admin?n("div",{staticClass:"dropdown-divider"}):e._e(),e._v(" "),e.$user&&e.$user.admin?n("div",{staticClass:"d-flex"},[n("router-link",{staticClass:"dropdown-item text-center",attrs:{to:{name:"adminMembers"}}},[n("Icon",{attrs:{v:"users"}})],1),e._v(" "),n("router-link",{staticClass:"dropdown-item text-center",attrs:{to:{name:"adminPosts"}}},[n("Icon",{attrs:{v:"pen-nib"}})],1),e._v(" "),n("router-link",{staticClass:"dropdown-item text-center",attrs:{to:{name:"adminPics"}}},[n("Icon",{attrs:{v:"camera-alt"}})],1),e._v(" "),n("router-link",{staticClass:"dropdown-item text-center",attrs:{to:{name:"adminStats"}}},[n("Icon",{attrs:{v:"chart-line"}})],1),e._v(" "),n("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"adminNotifications"}}},[n("Icon",{attrs:{v:"bell"}})],1)],1):e._e()],1)]),e._v(" "),e.$user&&e.$user.active?n("li",{staticClass:"nav-item"},[n("a",{staticClass:"nav-link",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.showMessages.apply(null,arguments)}}},[n("Icon",{attrs:{v:"envelope"}}),e._v("\n "+e._s(e.unreadMessagesCount)+"\n ")],1)]):e._e(),e._v(" "),e.$user&&e.$user.active?n("Notifications",{attrs:{dropup:"",absolute:""},on:{"update-unread-count":e.updateUnreadNotificationsCount}}):e._e(),e._v(" "),e.$user?n("li",{staticClass:"nav-item dropup"},[n("a",{staticClass:"nav-link dropdown-toggle",attrs:{"data-toggle":"dropdown",href:"#",role:"button","aria-haspopup":"true","aria-expanded":"true"}},[n("Avatar",{attrs:{member:e.$user,size:"2rem"}})],1),e._v(" "),n("div",{staticClass:"dropdown-menu dropdown-menu-right shadow"},[n("span",{staticClass:"dropdown-item-text h5"},[n("Username",{attrs:{user:e.$user,bold:""}}),e._v(" "),n("Status",{attrs:{user:e.$user}})],1),e._v(" "),e.$user.active?n("div",{staticClass:"dropdown-divider"}):e._e(),e._v(" "),e.$user.active?n("div",{staticClass:"d-flex"},[n("router-link",{staticClass:"dropdown-item text-center",attrs:{to:{name:"memberProfile",params:{username:e.$user.username}}}},[n("Icon",{attrs:{v:"id-card",classes:"bigger"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("member.profile"))+"\n ")],1),e._v(" "),n("router-link",{staticClass:"dropdown-item text-center",attrs:{to:{name:"memberCalendar",params:{username:e.$user.username}}}},[n("Icon",{attrs:{v:"calendar",classes:"bigger"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("member.calendar"))+"\n ")],1),e._v(" "),n("router-link",{staticClass:"dropdown-item text-center",attrs:{to:{name:"memberBlog",params:{username:e.$user.username}}}},[n("Icon",{attrs:{v:"pen-nib",classes:"bigger"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("member.blog"))+"\n ")],1)],1):e._e(),e._v(" "),e.$user.active?n("div",{staticClass:"d-flex"},[n("router-link",{staticClass:"dropdown-item text-center",attrs:{to:{name:"memberPics",params:{username:e.$user.username}}}},[n("Icon",{attrs:{v:"camera-alt",classes:"bigger"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("member.pics"))+"\n ")],1),e._v(" "),n("router-link",{staticClass:"dropdown-item text-center",attrs:{to:{name:"memberNetwork",params:{username:e.$user.username}}}},[n("Icon",{attrs:{v:"user-friends",classes:"bigger"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("member.network"))+"\n ")],1),e._v(" "),n("router-link",{staticClass:"dropdown-item text-center",attrs:{to:{name:"memberGames",params:{username:e.$user.username}}}},[n("Icon",{attrs:{v:"gamepad",classes:"bigger"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("member.games"))+"\n ")],1)],1):e._e(
2),e._v(" "),e.$user.active?n("div",{staticClass:"dropdown-divider"}):e._e(),e._v(" "),n("div",{staticClass:"d-flex"},[e.$user.active?n("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"account"}}},[n("Icon",{attrs:{v:"user-circle"}}),e._v("\n "+e._s(e.$t("account"))+"\n ")],1):e._e()],1),e._v(" "),e.$user.active?n("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"helpOut"}}},[n("Icon",{attrs:{v:"people-carry"}}),e._v("\n "+e._s(e.$t("helpOut.header"))+"\n ")],1):e._e(),e._v(" "),n("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"language"}}},[n("Icon",{attrs:{v:"language"}}),e._v("\n "+e._s(e.$t("member.languages"))+"\n ")],1),e._v(" "),n("div",{staticClass:"dropdown-divider"}),e._v(" "),n("ImpersonationStop"),e._v(" "),n("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.logout.apply(null,arguments)}}},[n("Icon",{attrs:{v:"sign-out"}}),e._v("\n "+e._s(e.$t("logout"))+"\n ")],1)],1)]):n("li",{staticClass:"nav-item dropup"},[n("a",{staticClass:"dropdown-toggle btn btn-outline-light mt-2",attrs:{"data-toggle":"dropdown",href:"#",role:"button","aria-haspopup":"true","aria-expanded":"true"}},[n("Icon",{attrs:{v:"sign-in"}}),e._v("\n "+e._s(e.$t("loginSignup"))+"\n ")],1),e._v(" "),n("div",{staticClass:"dropdown-menu dropdown-menu-right shadow"},[n("div",{staticClass:"px-4 py-3"},[n("Login")],1)])])],1)]),e._v(" "),e.wide?e._e():n("Sponsor",{attrs:{"move-up":""}})],1)};function Yo(e){return Yo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yo(e)}function Ko(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Qo(r.key),r)}}function Qo(e){var t=function(e,t){if("object"!=Yo(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Yo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Yo(t)?t:t+""}Wo._withStripped=!0;var Jo=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},n=[{key:"set",value:function(e,t){localStorage.setItem(e,JSON.stringify(t))}},{key:"get",value:function(e){var t=localStorage.getItem(e);return null===e?null:JSON.parse(t)}},{key:"has",value:function(e){return null!==localStorage.getItem(e)}},{key:"remove",value:function(e){localStorage.removeItem(e)}}],(t=null)&&Ko(e.prototype,t),n&&Ko(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}(),Zo=__webpack_require__(4692),Xo=__webpack_require__.n(Zo),ei=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{on:{click:function(e){e.stopPropagation()}}},[n("div",{class:[{"d-none":"login"!=e.tab}]},[n("LoginForm")],1),e._v(" "),n("div",{class:[{"d-none":"forgot"!=e.tab}]},[n("ForgotForm")],1),e._v(" "),n("div",{class:[{"d-none":"signup"!=e.tab}]},[n("SignupForm")],1),e._v(" "),n("p",[n("a",{class:["mr-3",{"d-none":"signup"==e.tab},"text-nowrap"],attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.switchTab("signup")}}},[n("Icon",{attrs:{v:"user-plus"}}),e._v("\n "+e._s(e.$t("signup"))+"\n ")],1),e._v(" "),n("a",{class:["mr-3",{"d-none":"forgot"==e.tab},"text-nowrap"],attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.switchTab("forgot")}}},[n("Icon",{attrs:{v:"envelope"}}),e._v("\n "+e._s(e.$t("forgot"))+"\n ")],1),e._v(" "),n("a",{class:["mr-3",{"d-none":"login"==e.tab},"text-nowrap"],attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.switchTab("login")}}},[n("Icon",{attrs:{v:"sign-in"}}),e._v("\n "+e._s(e.$t("login"))+"\n ")],1)])])};ei._withStripped=!0;var ti=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Form",{ref:"form",on:{submit:e.login}},[n("h3",[n("Icon",{attrs:{v:"sign-in"}}),e._v("\n "+e._s(e.$t("login"))+"\n ")],1),e._v(" "),n("div",{staticClass:"form-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.usernameEmail,expression:"usernameEmail"}],staticClass:"form-control",attrs:{placeholder:e.$t("usernameEmail"),required:""},domProps:{value:e.usernameEmail},on:{input:function(t){t.target.composing||(e.usernameEmail=t.target.value)}}})]),e._v(" "),n("div",{staticClass:"form-group"},[n("PasswordField",{attrs:{placeholder:e.$t("password")},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}})],1),e._v(" "),n("div",{staticClass:"form-group"},[n("button",{staticClass:"btn btn-primary btn-block"},[n("Icon",{attrs:{v:"sign-in"}}),e._v("\n "+e._s(e.$t("login"))+"\n ")],1)])])};ti._withStripped=!0;
vendor: 6,383 bytes, line 2
2var ni=function(e,t){return ni=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},ni(e,t)};function ri(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ni(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var oi=function(){return oi=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},oi.apply(this,arguments)};Object.create;function ii(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;function ai(e){return ai="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ai(e)}"function"==typeof Symbol&&null!=Symbol.iterator&&Symbol.iterator,"function"==typeof Symbol&&null!=Symbol.asyncIterator&&Symbol.asyncIterator;var si="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";function li(e,t){for(var n,r=/\r\n|[\n\r]/g,o=1,i=t+1;(n=r.exec(e.body))&&n.index<t;)o+=1,i=t+1-(n.index+n[0].length);return{line:o,column:i}}function ci(e){return ui(e.source,li(e.source,e.start))}function ui(e,t){var n=e.locationOffset.column-1,r=fi(n)+e.body,o=t.line-1,i=e.locationOffset.line-1,a=t.line+i,s=1===t.line?n:0,l=t.column+s,c="".concat(e.name,":").concat(a,":").concat(l,"\n"),u=r.split(/\r\n|[\n\r]/g),d=u[o];if(d.length>120){for(var f=Math.floor(l/80),p=l%80,h=[],m=0;m<d.length;m+=80)h.push(d.slice(m,m+80));return c+di([["".concat(a),h[0]]].concat(h.slice(1,f+1).map((function(e){return["",e]})),[[" ",fi(p-1)+"^"],["",h[f+1]]]))}return c+di([["".concat(a-1),u[o-1]],["".concat(a),d],["",fi(l-1)+"^"],["".concat(a+1),u[o+1]]])}function di(e){var t=e.filter((function(e){e[0];return void 0!==e[1]})),n=Math.max.apply(Math,t.map((function(e){return e[0].length})));return t.map((function(e){var t,r=e[0],o=e[1];return fi(n-(t=r).length)+t+(o?" | "+o:" |")})).join("\n")}function fi(e){return Array(e+1).join(" ")}function pi(e){return pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pi(e)}function hi(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mi(e,t){return!t||"object"!==pi(t)&&"function"!=typeof t?vi(e):t}function vi(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gi(e){var t="function"==typeof Map?new Map:void 0;return gi=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return yi(e,arguments,wi(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),_i(r,e)},gi(e)}function yi(e,t,n){return yi=bi()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&_i(o,n.prototype),o},yi.apply(null,arguments)}function bi(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function _i(e,t){return _i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_i(e,t)}function wi(e){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},wi(e)}var ki=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_i(e,t)}(s,e);var t,n,r,o,i,a=(t=s,n=bi(),function(){var e,r=wi(t);if(n){var o=wi(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return mi(this,e)});function s(e,t,n,r,o,i,l){var c,u,d,f,p;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),p=a.call(this,e);var h,m=Array.isArray(t)?0!==t.length?t:void 0:t?[t]:void 0,v=n;!v&&m&&(v=null===(h=m[0].loc)||void 0===h?void 0:h.source);var g,y=r;!y&&m&&(y=m.reduce((function(e,t){return t.loc&&e.push(t.loc.start),e}),[])),y&&0===y.length&&(y=void 0),r&&n?g=r.map((function(e){return li(n,e)})):m&&(g=m.reduce((function(e,t){return t.loc&&e.push(li(t.loc.source,t.loc.start)),e}),[]));var b,_=l;if(null==_&&null!=i){var w=i.extensions;"object"==ai(b=w)&&null!==b&&(_=w)}return Object.defineProperties(vi(p),{name:{value:"GraphQLError"},message:{value:e,enumerable:!0,writable:!0},locations:{value:null!==(c=g)&&void 0!==c?c:void 0,enumerable:null!=g},path:{value:null!=o?o:void 0,enumerable:null!=o},nodes:{value:null!=m?m:void 0},source:{value:null!==(u=v)&&void 0!==u?u:void 0},positions:{value:null!==(d=y)&&void 0!==d?d:void 0},originalError:{value:i},extensions:{value:null!==(f=_)&&void 0!==f?f:void 0,enumerable:null!=_}}),null!=i&&i.stack?(Object.defineProperty(vi(p),"stack",{value:i.stack,writable:!0,configurable:!0}),mi(p)):(Error.captureStackTrace?Error.captureStackTrace(vi(p),s):Object.defineProperty(vi(p),"stack",{value:Error().stack,writable:!0,configurable:!0}),p)}return r=s,(o=[{key:"toString",value:function(){return function(e){var t=e.message;if(e.nodes)for(var n=0,r=e.nodes;n<r.length;n++){var o=r[n];o.loc&&(t+="\n\n"+ci(o.loc))}else if(e.source&&e.locations)for(var i=0,a=e.locations;i<a.length;i++){var s=a[i];t+="\n\n"+ui(e.source,s)}return t}(this)}},{key:si,get:function(){return"Object"}}])&&hi(r.prototype,o),i&&hi(r,i),s}(gi(Error));function xi(e,t,n){return new ki("Syntax Error: ".concat(n),void 0,e,[t])}
2var Ci=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"});const Si="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;function Ei(e){var t=e.prototype.toJSON;"function"==typeof t||function(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}(0),e.prototype.inspect=t,Si&&(e.prototype[Si]=t)}var Ti=function(){function e(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();Ei(Ti);var Oi=function(){function e(e,t,n,r,o,i,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=o,this.value=a,this.prev=i,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();function Ii(e){return null!=e&&"string"==typeof e.kind}Ei(Oi);var Ai=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function Di(e){return Di="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Di(e)}function Pi(e){return Mi(e,[])}function Mi(e,t){switch(Di(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,t){if(-1!==t.indexOf(e))return"[Circular]";var n=[].concat(t,[e]),r=function(e){var t=e[String(Si)];if("function"==typeof t)return t;if("function"==typeof e.inspect)return e.inspect}(e);if(void 0!==r){var o=r.call(e);if(o!==e)return"string"==typeof o?o:Mi(o,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var n=Math.min(10,e.length),r=e.length-n,o=[],i=0;i<n;++i)o.push(Mi(e[i],t));1===r?o.push("... 1 more item"):r>1&&o.push("... ".concat(r," more items"));return"["+o.join(", ")+"]"}(e,n);return function(e,t){var n=Object.keys(e);if(0===n.length)return"{}";if(t.length>2)return"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var n=e.constructor.name;if("string"==typeof n&&""!==n)return n}return t}(e)+"]";var r=n.map((function(n){return n+": "+Mi(e[n],t)}));return"{ "+r.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}function $i(e,t){if(!Boolean(e))throw new Error(t)}const Ni=function(e,t){return e instanceof t};function Ri(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Li=function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof e||$i(0,"Body must be a string. Received: ".concat(Pi(e),".")),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||$i(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||$i(0,"column in locationOffset is 1-indexed and must be positive.")}var t,n,r;return t=e,(n=[{key:si,get:function(){return"Source"}}])&&Ri(t.prototype,n),r&&Ri(t,r),e}();var ji=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",
vendor: 21,484 bytes, line 2
2ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function Fi(e){var t=e.split(/\r\n|[\n\r]/g),n=function(e){for(var t,n=!0,r=!0,o=0,i=null,a=0;a<e.length;++a)switch(e.charCodeAt(a)){case 13:10===e.charCodeAt(a+1)&&++a;case 10:n=!1,r=!0,o=0;break;case 9:case 32:++o;break;default:r&&!n&&(null===i||o<i)&&(i=o),r=!1}return null!==(t=i)&&void 0!==t?t:0}(e);if(0!==n)for(var r=1;r<t.length;r++)t[r]=t[r].slice(n);for(var o=0;o<t.length&&Bi(t[o]);)++o;for(var i=t.length;i>o&&Bi(t[i-1]);)--i;return t.slice(o,i).join("\n")}function Bi(e){for(var t=0;t<e.length;++t)if(" "!==e[t]&&"\t"!==e[t])return!1;return!0}var qi=function(){function e(e){var t=new Oi(Ai.SOF,0,0,0,0,null);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var e=this.token;if(e.kind!==Ai.EOF)do{var t;e=null!==(t=e.next)&&void 0!==t?t:e.next=zi(this,e)}while(e.kind===Ai.COMMENT);return e},e}();function Hi(e){return isNaN(e)?Ai.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function zi(e,t){for(var n=e.source,r=n.body,o=r.length,i=t.end;i<o;){var a=r.charCodeAt(i),s=e.line,l=1+i-e.lineStart;switch(a){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:10===r.charCodeAt(i+1)?i+=2:++i,++e.line,e.lineStart=i;continue;case 33:return new Oi(Ai.BANG,i,i+1,s,l,t);case 35:return Vi(n,i,s,l,t);case 36:return new Oi(Ai.DOLLAR,i,i+1,s,l,t);case 38:return new Oi(Ai.AMP,i,i+1,s,l,t);case 40:return new Oi(Ai.PAREN_L,i,i+1,s,l,t);case 41:return new Oi(Ai.PAREN_R,i,i+1,s,l,t);case 46:if(46===r.charCodeAt(i+1)&&46===r.charCodeAt(i+2))return new Oi(Ai.SPREAD,i,i+3,s,l,t);break;case 58:return new Oi(Ai.COLON,i,i+1,s,l,t);case 61:return new Oi(Ai.EQUALS,i,i+1,s,l,t);case 64:return new Oi(Ai.AT,i,i+1,s,l,t);case 91:return new Oi(Ai.BRACKET_L,i,i+1,s,l,t);case 93:return new Oi(Ai.BRACKET_R,i,i+1,s,l,t);case 123:return new Oi(Ai.BRACE_L,i,i+1,s,l,t);case 124:return new Oi(Ai.PIPE,i,i+1,s,l,t);case 125:return new Oi(Ai.BRACE_R,i,i+1,s,l,t);case 34:return 34===r.charCodeAt(i+1)&&34===r.charCodeAt(i+2)?Ki(n,i,s,l,t,e):Yi(n,i,s,l,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return Gi(n,i,a,s,l,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return Ji(n,i,s,l,t)}throw xi(n,i,Ui(a))}var c=e.line,u=1+i-e.lineStart;return new Oi(Ai.EOF,o,o,c,u,t)}function Ui(e){return e<32&&9!==e&&10!==e&&13!==e?"Cannot contain the invalid character ".concat(Hi(e),"."):39===e?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(Hi(e),".")}function Vi(e,t,n,r,o){var i,a=e.body,s=t;do{i=a.charCodeAt(++s)}while(!isNaN(i)&&(i>31||9===i));return new Oi(Ai.COMMENT,t,s,n,r,o,a.slice(t+1,s))}function Gi(e,t,n,r,o,i){var a=e.body,s=n,l=t,c=!1;if(45===s&&(s=a.charCodeAt(++l)),48===s){if((s=a.charCodeAt(++l))>=48&&s<=57)throw xi(e,l,"Invalid number, unexpected digit after 0: ".concat(Hi(s),"."))}else l=Wi(e,l,s),s=a.charCodeAt(l);if(46===s&&(c=!0,s=a.charCodeAt(++l),l=Wi(e,l,s),s=a.charCodeAt(l)),69!==s&&101!==s||(c=!0,43!==(s=a.charCodeAt(++l))&&45!==s||(s=a.charCodeAt(++l)),l=Wi(e,l,s),s=a.charCodeAt(l)),46===s||function(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(s))throw xi(e,l,"Invalid number, expected digit but got: ".concat(Hi(s),"."));return new Oi(c?Ai.FLOAT:Ai.INT,t,l,r,o,i,a.slice(t,l))}function Wi(e,t,n){var r=e.body,o=t,i=n;if(i>=48&&i<=57){do{i=r.charCodeAt(++o)}while(i>=48&&i<=57);return o}throw xi(e,o,"Invalid number, expected digit but got: ".concat(Hi(i),"."))}function Yi(e,t,n,r,o){for(var i,a,s,l,c=e.body,u=t+1,d=u,f=0,p="";u<c.length&&!isNaN(f=c.charCodeAt(u))&&10!==f&&13!==f;){if(34===f)return p+=c.slice(d,u),new Oi(Ai.STRING,t,u+1,n,r,o,p);if(f<32&&9!==f)throw xi(e,u,"Invalid character within String: ".concat(Hi(f),"."));if(++u,92===f){switch(p+=c.slice(d,u-1),f=c.charCodeAt(u)){case 34:p+='"';break;case 47:p+="/";break;case 92:p+="\\";break;case 98:p+="\b";break;case 102:p+="\f";break;case 110:p+="\n";break;case 114:p+="\r";break;case 116:p+="\t";break;case 117:var h=(i=c.charCodeAt(u+1),a=c.charCodeAt(u+2),s=c.charCodeAt(u+3),l=c.charCodeAt(u+4),Qi(i)<<12|Qi(a)<<8|Qi(s)<<4|Qi(l));if(h<0){var m=c.slice(u+1,u+5);throw xi(e,u,"Invalid character escape sequence: \\u".concat(m,"."))}p+=String.fromCharCode(h),u+=4;break;default:throw xi(e,u,"Invalid character escape sequence: \\".concat(String.fromCharCode(f),"."))}d=++u}}throw xi(e,u,"Unterminated string.")}function Ki(e,t,n,r,o,i){for(var a=e.body,s=t+3,l=s,c=0,u="";s<a.length&&!isNaN(c=a.charCodeAt(s));){if(34===c&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2))return u+=a.slice(l,s),new Oi(Ai.BLOCK_STRING,t,s+3,n,r,o,Fi(u));if(c<32&&9!==c&&10!==c&&13!==c)throw xi(e,s,"Invalid character within String: ".concat(Hi(c),"."));10===c?(++s,++i.line,i.lineStart=s):13===c?(10===a.charCodeAt(s+1)?s+=2:++s,++i.line,i.lineStart=s):92===c&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2)&&34===a.charCodeAt(s+3)?(u+=a.slice(l,s)+'"""',l=s+=4):++s}throw xi(e,s,"Unterminated string.")}function Qi(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function Ji(e,t,n,r,o){for(var i=e.body,a=i.length,s=t+1,l=0;s!==a&&!isNaN(l=i.charCodeAt(s))&&(95===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122);)++s;return new Oi(Ai.NAME,t,s,n,r,o,i.slice(t,s))}var Zi=function(){function e(e,t){var n=function(e){return Ni(e,Li)}(e)?e:new Li(e);this._lexer=new qi(n),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(Ai.NAME);return{kind:Ci.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:Ci.DOCUMENT,definitions:this.many(Ai.SOF,this.parseDefinition,Ai.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(Ai.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(Ai.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(Ai.BRACE_L))return{kind:Ci.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,n=this.parseOperationType();return this.peek(Ai.NAME)&&(t=this.parseName()),{kind:Ci.OPERATION_DEFINITION,operation:n,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(Ai.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(Ai.PAREN_L,this.parseVariableDefinition,Ai.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:Ci.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(Ai.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(Ai.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(Ai.DOLLAR),{kind:Ci.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:Ci.SELECTION_SET,selections:this.many(Ai.BRACE_L,this.parseSelection,Ai.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(Ai.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(Ai.COLON)?(e=r,t=this.parseName()):t=r,{kind:Ci.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(Ai.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(Ai.PAREN_L,t,Ai.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(Ai.COLON),{kind:Ci.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:Ci.ARGUMENT,name:this.parseName(),value:(this.expectToken(Ai.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(Ai.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(Ai.NAME)?{kind:Ci.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:Ci.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e,t=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)?{kind:Ci.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:Ci.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case Ai.BRACKET_L:return this.parseList(e);case Ai.BRACE_L:return this.parseObject(e);case Ai.INT:return this._lexer.advance(),{kind:Ci.INT,value:t.value,loc:this.loc(t)};case Ai.FLOAT:return this._lexer.advance(),{kind:Ci.FLOAT,value:t.value,loc:this.loc(t)};case Ai.STRING:case Ai.BLOCK_STRING:return this.parseStringLiteral();case Ai.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:Ci.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:Ci.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:Ci.NULL,loc:this.loc(t)};default:return{kind:Ci.ENUM,value:t.value,loc:this.loc(t)}}case Ai.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:Ci.STRING,value:e.value,block:e.kind===Ai.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,n=this._lexer.token;return{kind:Ci.LIST,values:this.any(Ai.BRACKET_L,(function(){return t.parseValueLiteral(e)}),Ai.BRACKET_R),loc:this.loc(n)}},t.parseObject=function(e){var t=this,n=this._lexer.token;return{kind:Ci.OBJECT,fields:this.any(Ai.BRACE_L,(function(){return t.parseObjectField(e)}),Ai.BRACE_R),loc:this.loc(n)}},t.parseObjectField=function(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(Ai.COLON),{kind:Ci.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(Ai.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(Ai.AT),{kind:Ci.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(Ai.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(Ai.BRACKET_R),e={kind:Ci.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(Ai.BANG)?{kind:Ci.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:Ci.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===Ai.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(Ai.STRING)||this.peek(Ai.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var n=this.parseDirectives(!0),r=this.many(Ai.BRACE_L,this.parseOperationTypeDefinition,Ai.BRACE_R);return{kind:Ci.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(Ai.COLON);var n=this.parseNamedType();return{kind:Ci.OPERATION_TYPE_DEFINITION,operation:t,type:n,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var n=this.parseName(),r=this.parseDirectives(!0);return{kind:Ci.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var n=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),i=this.parseFieldsDefinition();return{kind:Ci.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:o,fields:i,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLImplementsInterfaces)){var t=[];this.expectOptionalToken(Ai.AMP);do{t.push(this.parseNamedType())}while(this.expectOptionalToken(Ai.AMP)||this.peek(Ai.NAME));return t}return this.delimitedMany(Ai.AMP,this.parseNamedType)},t.parseFieldsDefinition=function(){var e;return!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)&&this.peek(Ai.BRACE_L)&&this._lexer.lookahead().kind===Ai.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(Ai.BRACE_L,this.parseFieldDefinition,Ai.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(Ai.COLON);var o=this.parseTypeReference(),i=this.parseDirectives(!0);return{kind:Ci.FIELD_DEFINITION,description:t,name:n,arguments:r,type:o,directives:i,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(Ai.PAREN_L,this.parseInputValueDef,Ai.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(Ai.COLON);var r,o=this.parseTypeReference();this.expectOptionalToken(Ai.EQUALS)&&(r=this.parseValueLiteral(!0));var i=this.parseDirectives(!0);return{kind:Ci.INPUT_VALUE_DEFINITION,description:t,name:n,type:o,defaultValue:r,directives:i,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var n=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),i=this.parseFieldsDefinition();return{kind:Ci.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:o,fields:i,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var n=this.parseName(),r=this.parseDirectives(!0),o=this.parseUnionMemberTypes();return{kind:Ci.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:o,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){return this.expectOptionalToken(Ai.EQUALS)?this.delimitedMany(Ai.PIPE,this.parseNamedType):[]},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var n=this.parseName(),r=this.parseDirectives(!0),o=this.parseEnumValuesDefinition();return{kind:Ci.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:o,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(Ai.BRACE_L,this.parseEnumValueDefinition,Ai.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseDirectives(!0);return{kind:Ci.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var n=this.parseName(),r=this.parseDirectives(!0),o=this.parseInputFieldsDefinition();return{kind:Ci.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:o,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(Ai.BRACE_L,this.parseInputValueDef,Ai.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===Ai.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),n=this.optionalMany(Ai.BRACE_L,this.parseOperationTypeDefinition,Ai.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return{kind:Ci.SCHEMA_EXTENSION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),n=this.parseDirectives(!0);if(0===n.length)throw this.unexpected();return{kind:Ci.SCALAR_TYPE_EXTENSION,name:t,directives:n,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===o.length)throw this.unexpected();return{kind:Ci.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:o,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===o.length)throw this.unexpected();return{kind:Ci.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:o,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:Ci.UNION_TYPE_EXTENSION,name:t,directives:n,types:r,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:Ci.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:Ci.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(Ai.AT);var n=this.parseName(),r=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var i=this.parseDirectiveLocations();return{kind:Ci.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:o,locations:i,loc:this.loc(e)}},t.parseDirectiveLocations=function(){return this.delimitedMany(Ai.PIPE,this.parseDirectiveLocation)},t.parseDirectiveLocation=function(){var e=this._lexer.token,t
2=this.parseName();if(void 0!==ji[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if(!0!==(null===(t=this._options)||void 0===t?void 0:t.noLocation))return new Ti(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw xi(this._lexer.source,t.start,"Expected ".concat(ea(e),", found ").concat(Xi(t),"."))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==Ai.NAME||t.value!==e)throw xi(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(Xi(t),"."));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===Ai.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!=e?e:this._lexer.token;return xi(this._lexer.source,t.start,"Unexpected ".concat(Xi(t),"."))},t.any=function(e,t,n){this.expectToken(e);for(var r=[];!this.expectOptionalToken(n);)r.push(t.call(this));return r},t.optionalMany=function(e,t,n){if(this.expectOptionalToken(e)){var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}return[]},t.many=function(e,t,n){this.expectToken(e);var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r},t.delimitedMany=function(e,t){this.expectOptionalToken(e);var n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n},e}();function Xi(e){var t=e.value;return ea(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function ea(e){return function(e){return e===Ai.BANG||e===Ai.DOLLAR||e===Ai.AMP||e===Ai.PAREN_L||e===Ai.PAREN_R||e===Ai.SPREAD||e===Ai.COLON||e===Ai.EQUALS||e===Ai.AT||e===Ai.BRACKET_L||e===Ai.BRACKET_R||e===Ai.BRACE_L||e===Ai.PIPE||e===Ai.BRACE_R}(e)?'"'.concat(e,'"'):e}var ta=new Map,na=new Map,ra=!0,oa=!1;function ia(e){return e.replace(/[\s,]+/g," ").trim()}function aa(e){var t=new Set,n=[];return e.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var r=e.name.value,o=ia((a=e.loc).source.body.substring(a.start,a.end)),i=na.get(r);i&&!i.has(o)?ra&&console.warn("Warning: fragment with name "+r+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):i||na.set(r,i=new Set),i.add(o),t.has(o)||(t.add(o),n.push(e))}else n.push(e);var a})),oi(oi({},e),{definitions:n})}function sa(e){var t=ia(e);if(!ta.has(t)){var n=function(e,t){return new Zi(e,t).parseDocument()}(e,{experimentalFragmentVariables:oa});if(!n||"Document"!==n.kind)throw new Error("Not a valid GraphQL document.");ta.set(t,function(e){var t=new Set(e.definitions);t.forEach((function(e){e.loc&&delete e.loc,Object.keys(e).forEach((function(n){var r=e[n];r&&"object"==typeof r&&t.add(r)}))}));var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}(aa(n)))}return ta.get(t)}function la(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"string"==typeof e&&(e=[e]);var r=e[0];return t.forEach((function(t,n){t&&"Document"===t.kind?r+=t.loc.source.body:r+=t,r+=e[n+1]})),sa(r)}var ca,ua=la,da=function(){ta.clear(),na.clear()},fa=function(){ra=!1},pa=function(){oa=!0},ha=function(){oa=!1};(ca=la||(la={})).gql=ua,ca.resetCaches=da,ca.disableFragmentWarnings=fa,ca.enableExperimentalFragmentVariables=pa,ca.disableExperimentalFragmentVariables=ha,la.default=la;const ma=la;var va=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"input-group mb-3"},[n("input",{class:e.classes,attrs:{type:e.type,placeholder:e.placeholder},domProps:{value:e.value},on:{input:function(t){return e.updateValue(t.target.value)}}}),e._v(" "),n("div",{staticClass:"input-group-append"},[n("button",{staticClass:"btn btn-outline-primary",attrs:{type:"button",title:e.$t("password.toggle")},on:{click:e.toggle}},[n("Icon",{attrs:{v:"eye"}})],1)])]),e._v(" "),e.pwnedMessage?n("div",{staticClass:"pwned-invalid-feedback",domProps:{innerHTML:e._s(e.pwnedMessage)}}
2):e._e()])};va._withStripped=!0;var ga=__webpack_require__(4791),ya=__webpack_require__.n(ga);const ba=(e,t)=>{const n=[];for(let r in e)e.hasOwnProperty(r)&&n.push(t(e[r],r));return n},_a=(e,t=document)=>t.querySelector(e),wa=(e,t,n)=>{const r=(e,t)=>{!1===n.apply(e,[t])&&(t.preventDefault(),t.stopPropagation())};"string"==typeof t&&(t=[t]),ba(t,(t=>{e instanceof Node?e.addEventListener(t,(t=>r(e,t))):document.addEventListener(t,(t=>{const n=((e,t)=>{do{if(e.matches(t))return e;e=e.parentNode}while(e&&e.matches)})(t.target,e);n&&r(n,t)}))}))};function ka(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return xa(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xa(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ca(e,t,n,r,o,i,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):o&&(l=s?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}var Sa=Ca({props:{value:{},placeholder:{default:""},classes:{default:"form-control"},pwned:{type:Boolean}},data:function(){return{type:"password",pwnedTimeout:null,pwnedMessage:""}},methods:{toggle:function(){this.type="password"===this.type?"text":"password"},updateValue:function(e){var t=this;this.$emit("input",e),this.pwned&&(this.pwnedMessage="",this.pwnedTimeout&&clearTimeout(this.pwnedTimeout),e&&(this.pwnedTimeout=setTimeout((function(n){var r=ya()(e).toUpperCase(),o=r.substr(0,5),i=r.substr(5);Xo().ajax({url:"https://api.pwnedpasswords.com/range/"+o,success:function(e){ba(e.split("\n"),(function(e){var n=ka(e.split(":"),2),r=n[0],o=n[1];r===i&&(t.pwnedMessage=t.$t("password.pwned",{count:o}))}))}})}),500)))}}},va,[],!1,null,"64cba418",null);Sa.options.__file="components/widgets/PasswordField.vue";const Ea=Sa.exports;var Ta=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("form",{staticClass:"overlay-container",on:{submit:function(t){return t.preventDefault(),e.submit.apply(null,arguments)}}},[n("Overlay",{attrs:{show:e.saving}}),e._v(" "),e.errorMessage?n("div",{staticClass:"alert alert-danger"},[e._v("\n "+e._s(e.errorMessage)+"\n ")]):e._e(),e._v(" "),e.successMessage?n("div",{staticClass:"alert alert-success"},[e._v("\n "+e._s(e.successMessage)+"\n ")]):e._e(),e._v(" "),e._t("default",null,{errors:e.formErrors})],2)};Ta._withStripped=!0;var Oa=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.show?n("div",{staticClass:"overlay d-flex justify-content-center"},[n("div",{staticClass:"d-flex flex-column justify-content-center"},[n("Spinner",{attrs:{size:e.spinnerSize}})],1)]):e._e()};Oa._withStripped=!0;var Ia=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{staticClass:"spinner",style:"width: "+e.size+"; height: "+e.size+";",attrs:{width:e.size,height:e.size,viewBox:"0 0 66 66",xmlns:"http://www.w3.org/2000/svg"}},[n("circle",{staticClass:"path",attrs:{fill:"none","stroke-width":"6","stroke-linecap":"round",cx:"33",cy:"33",r:"30"}})])};Ia._withStripped=!0;var Aa=Ca({props:{size:{default:"1rem"}}},Ia,[],!1,null,"f48374a4",null);Aa.options.__file="components/widgets/Spinner.vue";const Da=Aa.exports;var Pa=Ca({components:{Spinner:Da},props:{show:{type:Boolean},spinnerSize:{default:"2rem"}}},Oa,[],!1,null,"6bcc3736",null);Pa.options.__file="components/widgets/Overlay.vue";const Ma=Pa.exports;function $a(e){if(e.networkError)throw e;var t={};return ba(e.graphQLErrors,(function(n){if("validation"!==n.category)throw e;ba(JSON.parse(n.message),(function(e,n){t[n||"_object"]=e}))})),t}var Na=Ca({components:{Overlay:Ma},data:function(){return{saving:!1,formErrors:{},successMessage:"",errorMessage:""}},methods:{submit:function(){this.clear(),this.saving=!0,this.$emit("submit",this)},success:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.$t("success.saved");this.saving=!1,this.successMessage=e},validate:function(e){this.saving=!1,this.formErrors=$a(e)},error:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.$t("error.generic");this.saving=!1,this.errorMessage=e},cancel:function(){this.saving=!1},clear:function(){this.saving=!1,this.formErrors=[],this.successMessage="",this.errorMessage=""}}},Ta,[],!1,null,"4cf73e02",null);Na.options.__file="components/widgets/Form.vue";const Ra=Na.exports,La={methods:{doLogin:function(e,t){this.$preMfaUser=void 0,Jo.set("user",t),this.$router.push(Jo.get("redirectAfterLogin")||{name:"memberProfile",params:{username:e}}),Jo.remove("redirectAfterLogin"),this.$user||window.location.reload()}}};var ja;const Fa={components:{PasswordField:Ea,Form:Ra},mixins:[La],data:function(){return{usernameEmail:"",password:""}},watch:{usernameEmail:"clearMessages",password:"clearMessages"},methods:{login:function(e){var t,n,r=this;this.$apollo.query({query:ma(ja||(t=["\n query Login($usernameEmail: String!, $password: String!) {\n login(usernameEmail: $usernameEmail, password: $password) {\n username\n jwt\n }\n }\n "],n||(n=t.slice(0)),ja=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}})))),variables:{usernameEmail:this.usernameEmail,password:this.password}}).then((function(t){r.password="",e.success(""),r.doLogin(t.data.login.username,t.data.login.jwt)})).catch((function(t){r.password="",console.log(t),e.error(r.$t("error.badCredentials"))}))},clearMessages:function(){this.$refs.form.clear()}}};var Ba=Ca(Fa,ti,[],!1,null,null,null);Ba.options.__file="components/fragments/Login/LoginForm.vue";const qa=Ba.exports;var Ha,za=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Form",{ref:"form",on:{submit:e.forgot},scopedSlots:e._u([{key:"default",fn:function(t){return[n("h3",[n("Icon",{attrs:{v:"envelope"}}),e._v("\n "+e._s(e.$t("forgot"))+"\n ")],1),e._v(" "),n("div",[n("div",{staticClass:"form-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.usernameEmail,expression:"usernameEmail"}],staticClass:"form-control",attrs:{placeholder:e.$t("usernameEmail"),required:""},domProps:{value:e.usernameEmail},on:{input:function(t){t.target.composing||(e.usernameEmail=t.target.value)}}})]),e._v(" "),n("div",{staticClass:"form-group"},[n("button",{staticClass:"btn btn-primary btn-block"},[n("Icon",{attrs:{v:"envelope"}}),e._v("\n "+e._s(e.$t("forgot"))+"\n ")],1)])])]}}])})};za._withStripped=!0;const Ua={components:{Form:Ra},data:function(){return{usernameEmail:""}},watch:{usernameEmail:"clearMessages"},methods:{forgot:function(e){var t,n,r=this;this.$apollo.query({query:ma(Ha||(t=["\n query RemindPassword($usernameEmail: String!) {\n remindPassword(usernameEmail: $usernameEmail)\n }\n "],n||(n=t.slice(0)),Ha=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}})))),variables:{usernameEmail:this.usernameEmail}}).then((function(t){e.success(r.$t("forgotPassword.sent"))})).catch((function(){e.error()}))},clearMessages:function(){this.$refs.form.clear()}}};var Va=Ca(Ua,za,[],!1,null,null,null);Va.options.__file="components/fragments/Login/ForgotForm.vue";const Ga=Va.exports;var Wa=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Form",{ref:"form",on:{submit:e.signup},scopedSlots:e._u([{key:"default",fn:function(t){return[n("h3",[n("Icon",{attrs:{v:"user-plus"}}),e._v("\n "+e._s(e.$t("signup"))+"\n ")],1),e._v(" "),e.submitted?e._e():n("div",[n("FormGroup",{attrs:{error:t.errors.username},scopedSlots:e._u([{key:"default",fn:function(t){return[n("input",{directives:[{name:"model",rawName:"v-model",value:e.username,expression:"username"}],class:t.controlClass,attrs:{placeholder:e.$t("username")},domProps:{value:e.username},on:{input:function(t){t.target.composing||(e.username=t.target.value)}}})]}}],null,!0)}),e._v(" "),n("FormGroup",{attrs:{error:t.errors.email,helper:e.$t("email.real")},scopedSlots:e._u([{key:"default",fn:function(t){return[n("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"}],class:t.controlClass,attrs:{type:"email",placeholder:e.$t("email")},domProps:{value:e.email},on:{input:function(t){t.target.composing||(e.email=t.target.value)}}})]}}],null,!0)}),e._v(" "),n("FormGroup",{attrs:{error:t.errors.password},scopedSlots:e._u([{key:"default",fn:function(t){return[n("PasswordField",{attrs:{classes:t.controlClass,placeholder:e.$t("password"),pwned:""},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}})]}}],null,!0)}),e._v(" "),n("FormGroup",{attrs:{error:t.errors.terms},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Checkbox",{model:{value:e.terms,callback:function(t){e.terms=t},expression:"terms"}},[e._v("\n "+e._s(e.$t("terms.agree"))+"\n "),n("router-link",{attrs:{to:{name:"terms"},target:"_blank"}}
2,[e._v(e._s(e.$t("terms.header")))])],1)]}}],null,!0)}),e._v(" "),n("div",{staticClass:"form-group"},[n("button",{staticClass:"btn btn-primary btn-block"},[n("Icon",{attrs:{v:"user-plus"}}),e._v("\n "+e._s(e.$t("signup"))+"\n ")],1)])],1)]}}])})};Wa._withStripped=!0;var Ya=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["form-group",e.error?"has-danger":"",e.classes]},[e.label?n("label",{staticClass:"col-form-label"},[e._v(e._s(e.label))]):e._e(),e._v(" "),e._t("default",null,{controlClass:e.controlClass}),e._v(" "),e.error?n("div",{staticClass:"invalid-feedback"},[e._v(e._s(e.errorMessage(e.error)))]):e._e(),e._v(" "),e.helper?n("small",{staticClass:"form-text text-muted"},[e._v(e._s(e.helper))]):e._e()],2)};function Ka(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Qa(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qa(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}Ya._withStripped=!0;var Ja=Ca({props:{error:{required:!0},label:{default:""},classes:{default:""},helper:{default:""}},data:function(){return{controlClass:this.getControlClass()}},watch:{error:function(){this.controlClass=this.getControlClass()}},methods:{getControlClass:function(){return{"form-control":!0,"is-invalid":!!this.error}},errorMessage:function(e){var t=Ka(e,2),n=t[0],r=t[1];return r.min?n+="Min":r.max&&(n+="Max"),this.$t("formError."+n,r)}}},Ya,[],!1,null,null,null);Ja.options.__file="components/widgets/FormGroup.vue";const Za=Ja.exports;var Xa=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["custom-control",e.toggle?"custom-switch":"custom-checkbox"]},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.v,expression:"v"}],ref:"input",staticClass:"custom-control-input",attrs:{type:"checkbox",id:e.id,disabled:e.disabled},domProps:{checked:e.value?"checked":"",checked:Array.isArray(e.v)?e._i(e.v,null)>-1:e.v},on:{change:function(t){var n=e.v,r=t.target,o=!!r.checked;if(Array.isArray(n)){var i=e._i(n,null);r.checked?i<0&&(e.v=n.concat([null])):i>-1&&(e.v=n.slice(0,i).concat(n.slice(i+1)))}else e.v=o}}}),e._v(" "),n("label",{staticClass:"custom-control-label",attrs:{for:e.id}},[e._t("default")],2)])};Xa._withStripped=!0;const es=function(e){return Math.random().toString(36).substring(e)};var ts=Ca({props:{value:{},toggle:{type:Boolean},disabled:{type:Boolean}},data:function(){return{id:es(6),v:this.value}},watch:{v:function(){this.$emit("input",this.v)},value:function(){this.v=this.value}}},Xa,[],!1,null,null,null);ts.options.__file="components/widgets/Checkbox.vue";const ns=ts.exports;var rs;const os={components:{PasswordField:Ea,FormGroup:Za,Checkbox:ns,Form:Ra},data:function(){return{username:"",email:"",password:"",terms:!1,submitted:!1}},watch:{username:"clearMessages",email:"clearMessages",password:"clearMessages"},methods:{signup:function(e){var t,n,r=this;this.$apollo.mutate({mutation:ma(rs||(t=["\n mutation Register($username: String!, $email: String!, $password: String!, $terms: Boolean!) {\n register(username: $username, email: $email, password: $password, terms: $terms)\n }\n "],n||(n=t.slice(0)),rs=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}})))),variables:{username:this.username,email:this.email,password:this.password,terms:this.terms}}).then((function(t){e.success(r.$t("register.success")),r.submitted=!0}
2)).catch((function(t){e.validate(t)})).catch((function(t){e.error()}))},clearMessages:function(){this.$refs.form.clear()}}};var is=Ca(os,Wa,[],!1,null,null,null);is.options.__file="components/fragments/Login/SignupForm.vue";const as=is.exports;var ss=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Loading",{attrs:{value:e.socialProviders,size:"2rem"}},[n("div",{staticClass:"btn-group btn-block overlay-container",attrs:{role:"group"}},[n("Overlay",{attrs:{show:e.overlay}}),e._v(" "),n("a",{staticClass:"btn btn-outline-secondary",attrs:{href:"https://teamlocked.men/post/cmxGJAYNVKkoPzJLVBhGBc"}},[n("Icon",{attrs:{set:"brand",v:"twitter"}}),e._v("\n Twitter\n ")],1),e._v(" "),e._l(e.socialProviders,(function(t){return n("button",{staticClass:"btn btn-outline-primary",on:{click:function(n){return e.loginSocial(t)}}},[n("Icon",{attrs:{set:"brand",v:t}}),e._v("\n "+e._s(e.ucfirst(t))+"\n ")],1)})),e._v(" "),n("a",{staticClass:"btn btn-outline-secondary",attrs:{href:"https://teamlocked.men/post/TYgJVvgDTaGz8cbht4cTfT"}},[n("Icon",{attrs:{set:"brand",v:"facebook"}}),e._v("\n Facebook\n ")],1)],2)])};ss._withStripped=!0;var ls=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"w-100"},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isLoaded,expression:"isLoaded"}]},[e._t("default")],2),e._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:!e.isLoaded,expression:"!isLoaded"}],staticClass:"text-center"},[n("Spinner",{attrs:{size:e.size}})],1),e._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:e.orEmpty&&e.isLoaded&&e.empty,expression:"orEmpty && isLoaded && empty"}],staticClass:"text-center"},[n("Icon",{attrs:{v:e.emptyIcon,size:"3",classes:"mb-2"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t(e.emptyMessage))+"\n ")],1)])};ls._withStripped=!0;var cs=Ca({components:{Spinner:Da},props:{value:{required:!0},size:{default:"5rem"},orEmpty:{type:Boolean},emptyIcon:{default:"sad-tear"},emptyMessage:{default:"empty.default"}},computed:{isLoaded:function(){return void 0!==this.value},empty:function(){return void 0===this.value||(void 0!==this.value.length?0===this.value.length:!this.value)}}},ls,[],!1,null,null,null);cs.options.__file="components/widgets/Loading.vue";const us=cs.exports;var ds;const fs={components:{Overlay:Ma,Loading:us},data:function(){return{socialProviders:void 0,overlay:!1}},mounted:function(){var e=this;this.$cache.get("socialProviders").then((function(t){e.socialProviders=t.data.socialProviders}))},methods:{loginSocial:function(e){var t,n,r=this;this.overlay=!0,this.$apollo.query({query:ma(ds||(t=["\n query LoginSocial($provider: String!) {\n socialLogin(provider: $provider) {\n redirectUri\n session\n }\n }\n "],n||(n=t.slice(0)),ds=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}})))),variables:{provider:e}}).then((function(e){r.overlay=!1,Jo.set("social",e.data.socialLogin.session),window.location.href=e.data.socialLogin.redirectUri}))}}};var ps=Ca(fs,ss,[],!1,null,null,null);ps.options.__file="components/fragments/Login/SocialLogin.vue";var hs=Ca({components:{LoginForm:qa,ForgotForm:Ga,SignupForm:as,SocialLogin:ps.exports},props:{"default-tab":{default:"login"}},data:function(){return{tab:this.defaultTab}},methods:{switchTab:function(e){this.tab=e}}},ei,[],!1,null,null,null);hs.options.__file="components/fragments/Login.vue";const ms=hs.exports;var vs=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["modal",e.shown?"d-block":""],on:{click:e.hide}},[n("div",{staticClass:"modal-dialog modal-dialog-centered modal-xl",attrs:{role:"document"}},[n("div",{staticClass:"modal-content shadow"},[n("div",{staticClass:"modal-header d-flex flex-column flex-sm-row"},[n("span",{staticClass:"text-nowrap"},[n("h5",{staticClass:"modal-title d-inline"},[n("Icon",{attrs:{v:"envelope"}}),e._v("\n "+e._s(e.$t("messages.header"))+"\n ")],1),e._v(" "),n("button",{staticClass:"btn",on:{click:function(t){return e.startConversation()}}},[n("Icon",{attrs:{v:"comment-plus"}})],1)]),e._v(" "),n("div",{staticClass:"d-block text-right w-100"},[e.selectedConversationId||null===e.selectedConversationId?n("a",{staticClass:"btn float-left d-inline d-sm-none",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.selectedConversationId=void 0}}},[n("Icon",{attrs:{v:"caret-left"}}
2)],1):e._e(),e._v(" "),e.selectedConversationId?n("div",{staticClass:"d-inline-block"},[n("button",{staticClass:"btn",attrs:{type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}},[n("Icon",{attrs:{v:"ellipsis-v-alt"}})],1),e._v(" "),n("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e.selectedConversationId?n("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(t){return e.leaveConversation(e.selectedConversationId)}}},[n("Icon",{attrs:{v:"sign-out-alt"}}),e._v("\n "+e._s(e.$t("conversation.leave"))+"\n ")],1):e._e()])]):e._e(),e._v(" "),e._l(e.selectedConversationParticipants,(function(t){return n("router-link",{key:t.username,staticClass:"mr-2",attrs:{to:{name:"memberProfile",params:{username:t.username}}}},[n("span",{on:{click:function(t){e.shown=!1}}},[n("OnlineStatus",{attrs:{user:t,mini:""}})],1)])})),e._v(" "),n("button",{staticClass:"close",attrs:{"aria-label":"Close"},on:{click:function(t){e.shown=!1}}},[n("span",{attrs:{"aria-hidden":"true"}},[e._v("Ã")])])],2)]),e._v(" "),n("div",{staticClass:"modal-body p-0"},[n("div",{staticClass:"d-flex"},[n("div",{class:["p-0 content-height border-right conversations-list",{"d-none d-sm-block":void 0!==e.selectedConversationId}]},[n("div",{staticClass:"nav flex-column nav-pills",attrs:{id:"v-pills-tab",role:"tablist"}},[n("Loading",{attrs:{value:e.conversations,orEmpty:""}},[void 0!==e.conversations?n("div",e._l(e.sortedConversations,(function(t){return n("a",{key:t.id,class:{"nav-link":!0,active:t.id===e.selectedConversationId},attrs:{href:"#"},on:{click:function(n){return n.preventDefault(),e.selectConversation(t.id)}}},[n("ConversationButton",{attrs:{conversation:t}})],1)})),0):e._e()])],1)]),e._v(" "),n("div",{ref:"convo",class:["content-height flex-grow-1 p-4",{"d-none d-sm-block":void 0===e.selectedConversationId}]},[null===e.selectedConversationId?n("NewConversationForm",{ref:"newConversationForm",on:{"conversation-started":e.conversationStarted}}):e._e(),e._v(" "),e._l(e.conversations,(function(t){return n("Conversation",{key:t.id,attrs:{conversation:t,shown:t.id===e.selectedConversationId},on:{"mark-read":e.markRead,"conversation-loaded":e.scrollDown}})}))],2)])])])]),e._v("D\n")])};vs._withStripped=!0;var gs=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Form",{ref:"form",on:{submit:e.save},scopedSlots:e._u([{key:"default",fn:function(t){return[n("h4",{staticClass:"mb-3"},[n("Icon",{attrs:{v:"comment-plus"}}),e._v("\n "+e._s(e.$t("conversation.start"))+"\n ")],1),e._v(" "),n("FormGroup",{attrs:{error:t.errors.otherParticipants}},[n("Loading",{attrs:{value:e.participants}},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.participants,expression:"participants"}],staticClass:"select2",attrs:{multiple:""},on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.participants=t.target.multiple?n:n[0]}}})])],1),e._v(" "),n("FormGroup",{attrs:{error:t.errors.content},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Editor",{attrs:{short:""},on:{"toggle-saving":e.toggleSaving},model:{value:e.content,callback:function(t){e.content=t},expression:"content"}})]}}],null,!0)}),e._v(" "),n("div",{staticClass:"form-group"},[n("button",{ref:"submit",class:{"btn btn-primary btn-block":!0,disabled:e.savingDisabled},attrs:{disabled:e.savingDisabled}},[n("Icon",{attrs:{v:"paper-plane"}}),e._v("\n "+e._s(e.$t("message.send"))+"\n ")],1)])]}}])})};gs._withStripped=!0;var ys=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"wrapper",class:{"editor-wrapper py-2":!0,short:e.short}},[n("div",{ref:"holder",staticClass:"editor",attrs:{id:e.id},on:{keyup:function(t){return t.preventDefault(),t.stopPropagation(),e.triggerSave.apply(null,arguments)}}})])};ys._withStripped=!0;var bs=__webpack_require__(304),_s=__webpack_require__.n(bs),ws=__webpack_require__(3538),ks=__webpack_require__.n(ws),xs=__webpack_require__(2859),Cs=__webpack_require__.n(xs),Ss=__webpack_require__(9398),Es=__webpack_require__.n(Ss),Ts=__webpack_require__(7831),Os=__webpack_require__.n(Ts),Is=__webpack_require__(587),As=__webpack_require__.n(Is),Ds=__webpack_require__(2173),Ps=__webpack_require__.n(Ds),Ms=__webpack_require__(8643),$s=__webpack_require__.n(Ms),Ns=__webpack_require__(7546),Rs=__webpack_require__.n(Ns),Ls=__webpack_require__(8311),js=__webpack_require__.n(Ls),Fs=__webpack_require__(2854),Bs=__webpack_require__.n(Fs);const qs={props:{value:{required:!0},short:{type:Boolean},simple:{type:Boolean}},data:function(){return{id:es(6),saveTimeout:null}},mounted:function(){var e=this,t={image:{class:Es(),config:{endpoints:{byFile:"https://api.teamlocked.men/image/upload/block",byUrl:"https://api.teamlocked.men/image/fetch/block"},additionalRequestHeaders:{authorization:"Bearer ".concat(this.$user.jwt)}}},list:{class:Cs(),inlineToolbar:!0},linkTool:{class:Os(),config:{endpoint:"https://api.teamlocked.men/post/fetchLink"}},checklist:{class:As(),inlineToolbar:!0},quote:{class:$s(),inlineToolbar:!0,shortcut:"CMD+SHIFT+O"},delimiter:Rs(),embed:{class:Bs(),config:{services:{codepen:!0,coub:!0,imgur:!0,gfycat:!0,"twitch-video":!0,"twitch-channel":!0,vimeo:!0,youtube:!0,giphy:{regex:/https?:\/\/giphy.com\/gifs\/[^\/\?\&]*-([A-Za-z0-9]{18})/,embedUrl:"https://giphy.com/embed/<%= remote_id %>",html:"<iframe height='300' scrolling='no' frameborder='no' allowtransparency='true' allowfullscreen='true' style='width: 100%;'></iframe>",height:300,width:600}}}},marker:{class:Ps(),shortcut:"CMD+SHIFT+M"}},n={header:{class:ks(),inlineToolbar:!0}},r={table:{class:js(),inlineToolbar:!0}};this.input=new(_s())({holderId:this.id,tools:this.simple?t:Object.assign({},n,t,r),data:this.value,onChange:function(){e.saveTimeout&&(clearTimeout(e.saveTimeout),e.saveTimeout=null),e.$emit("toggle-saving",!1),e.input.save().then((function(t){e.$emit("input",t),e.$emit("toggle-saving",!0)}))}})},methods:{triggerSave:function(){var e=this;this.$emit("toggle-saving",!1),this.saveTimeout&&(clearTimeout(this.saveTimeout),this.saveTimeout=null),this.saveTimeout=setTimeout((function(t){e.saveTimeout=null,e.input.save().then((function(t){e.$emit("input",t),e.$emit("toggle-saving",!0)}))}),1e3)},insert:function(e,t){this.input.blocks.insert(e,t),this.input.caret.setToLastBlock("end",0),this.input.caret.focus(!0)},enter:function(e){console.log(e)}},watch:{value:function(e){void 0===e&&(this.input.blocks.clear(),this.input.caret.focus(!0))}}};var Hs=Ca(qs,ys,[],!1,null,null,null);Hs.options.__file="components/widgets/Editor.vue";const zs=Hs.exports;var Us,Vs;__webpack_require__(5458);function Gs(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Ws=Ca({components:{Form:Ra,FormGroup:Za,Editor:zs,Loading:us},data:function(){return{content:[],savingDisabled:!1,membersUsernames:[],participants:[]}},mounted:function(){var e=this;Xo()(".select2").select2({minimumInputLength:3,ajax:{transport:function(t,n,r){e.$apollo.query({query:ma(Us||(Us=Gs(["\n query MembersUsernames($prefix: String!) {\n membersUsernames(prefix: $prefix)\n }\n "]))),variables:{prefix:t.data.term}}).then((function(t){n({results:e.mapUsernames(t.data.membersUsernames)})})).catch((function(e){r(e)}))}}}).on("change",(function(t){e.participants=Xo()(".select2").val()}))},methods:{mapUsernames:function(e){var t=this;return e.filter((function(e){return e!==t.$user.username})).map((function(e){return{id:e,text:e}}))},toggleSaving:function(e){this.savingDisabled=!e},save:function(e){var t=this;this.$apollo.mutate({mutation:ma(Vs||(Vs=Gs(['\n mutation StartConversation($participants: [String!]!, $content: Json!) {\
2n conversation: startConversation(participants: $participants, content: $content) {\n id\n name\n participants {\n user { username avatar { id links(size: "avatar") } }\n read\n }\n lastMessage\n lastMessageAt\n }\n }\n ']))),variables:{participants:this.participants,content:JSON.stringify(this.content)}}).then((function(n){e.success(),t.participants=[],t.content=void 0,t.$emit("conversation-started",n.data.conversation)})).catch((function(t){e.validate(t)})).catch((function(t){e.error()}))},selectUser:function(e){Xo()(".select2").select2({data:this.mapUsernames([e])}).val([e]).trigger("change")}}},gs,[],!1,null,null,null);Ws.options.__file="components/fragments/NewConversationForm.vue";const Ys=Ws.exports;var Ks=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[1===e.otherParticipants.length?n("span",[n("OnlineStatus",{attrs:{user:e.otherParticipants[0],mini:""}})],1):e._e(),e._v(" "),n("span",[e.conversation.read?n("span",[e._v("\n "+e._s(e.name)+"\n ")]):n("strong",[e._v("\n "+e._s(e.name)+"\n ")])])])};Ks._withStripped=!0;var Qs=function(){var e=this,t=e.$createElement;return(e._self._c||t)("img",{class:["avatar","rounded-circle",e.classes],style:"width: "+e.size+";max-height: "+e.size+";max-width: 100%;",attrs:{src:e.uri}})};Qs._withStripped=!0;"function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder&&new TextEncoder;const Js=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=");(e=>{let t={};e.forEach(((e,n)=>t[e]=n))})(Js),String.fromCharCode.bind(String),"function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array);var Zs=Ca({props:{member:{required:!0},classes:{default:""},size:{default:"1rem"},maxSize:{default:""}},data:function(){return{uri:this.member.avatar?JSON.parse(this.member.avatar.links).avatar:"https://api.emlalock.com/profile/default.png"}}},Qs,[],!1,null,"95333358",null);Zs.options.__file="components/widgets/Avatar.vue";const Xs=Zs.exports;var el=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[e.mini?n("span",{staticClass:"user-indicator"},[!0===e.status?n("span",{staticClass:"online"}):e._e(),e._v(" "),n("Avatar",{attrs:{member:e.user,size:"2rem"}})],1):n("small",{staticClass:"text-nowrap"},[!0===e.status?n("Tooltip",{staticClass:"text-success",attrs:{title:e.$t("online.now")}},[e._v("\n â\n ")]):null!==e.status?n("Tooltip",{attrs:{title:e.$t("online.recently",{time:e.status})}},[n("small",[n("span",{staticClass:"fal fa-clock"})])]):e._e()],1)])};el._withStripped=!0;var tl=__webpack_require__(1272),nl=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"tooltip-wrapper",attrs:{title:e.title}},[e._t("default"),e._v(" "),n("span",{staticClass:"tootlip-message border bg-white rounded p-2"},[e._t("message",(function(){return[e._v(e._s(e.title))]}))],2)],2)};nl._withStripped=!0;var rl=Ca({props:{title:{required:!0}}},nl,[],!1,null,"144e5e98",null);rl.options.__file="components/widgets/Tooltip.vue";const ol=rl.exports;var il=Ca({components:{Avatar:Xs,Tooltip:ol},props:{user:{required:!0},mini:{type:Boolean}},data:function(){return{timer:null,lastRequest:this.user.lastRequest}},mounted:function(){var e=this;void 0!==this.user.lastRequest&&(void 0===this.$onlineComponents[this.user.username]&&(this.$onlineComponents[this.user.username]=0),this.$onlineComponents[this.user.username]++,this.$eventHub.$on("user-last-online",(function(t,n){t===e.user.username&&(e.lastRequest=n)})))},unmounted:function(){clearInterval(this.timer),this.timer=null,this.$onlineComponents[this.user.username]--},computed:{status:function(){if(!this.lastRequest||!this.$user)return null;var e=tl.c9.local().diff(tl.c9.fromSeconds(this.lastRequest)).shiftTo("days","hours","minutes").toObject();return e.days>7?null:!e.days&&!e.hours&&e.minutes<=30||(e.days||e.hours?e.days?e.days+"d":e.hours+"h":parseInt(e.minutes,10)+"m")}}},el,[],!1,null,"688790e0",null);il.options.__file="components/widgets/OnlineStatus.vue";const al=il.exports;var sl=Ca({components:{NewConversationForm:Ys,Loading:us,Avatar:Xs,OnlineStatus:al},props:{conversation:{}},computed:{name:function(){return this.conversation.name?this.conversation.name:this.otherParticipants.map((function(e){return e.username})).join(", ")},otherParticipants:function(){var e=this,t=[];
2return this.conversation.participants.forEach((function(n){n.user.username!==e.$user.username&&t.push(n.user)})),t}}},Ks,[],!1,null,null,null);sl.options.__file="components/fragments/ConversationButton.vue";const ll=sl.exports;var cl=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.shown,expression:"shown"}],staticClass:"h-100",on:{keydown:e.keydown}},[n("Loading",{attrs:{value:e.messages}},[n("div",{staticClass:"d-flex flex-column h-100"},[n("div",{staticClass:"flex-grow-1"},[e.messages&&e.messages.length>=e.limit?n("div",{staticClass:"clearfix alert alert-warning mt-4"},[n("Icon",{attrs:{v:"exclamation-triangle"}}),e._v("\n "+e._s(e.$t("conversation.messages.limit",[e.limit]))+"\n ")],1):e._e(),e._v(" "),e._l(e.messages,(function(t){return n("div",{staticClass:"message-wrapper clearfix"},[t.fromParticipant.user.username===e.$user.username?n("div",[n("div",{staticClass:"message message-mine p-3"},[n("small",{staticClass:"message-date"},[n("router-link",{attrs:{to:{name:"memberProfile",params:{username:t.fromParticipant.user.username}}}},[n("Avatar",{attrs:{member:t.fromParticipant.user}}),e._v(" "),n("strong",{staticClass:"mr-3"},[e._v(e._s(t.fromParticipant.user.username))])],1),e._v("\n "+e._s(e.$date(t.sentAt,!0,!1))+"\n "),n("a",{attrs:{href:"#"},on:{click:function(n){return e.deleteMessage(t.id)}}},[n("Icon",{attrs:{v:"trash"}})],1)],1),e._v(" "),t.removed?n("div",[n("em",[e._v(e._s(e.$t("message.deleted")))])]):t.content===e.leftMessage?n("div",[n("strong",[n("Icon",{attrs:{v:"sign-out-alt"}}),e._v("\n "+e._s(e.$t("conversation.left",[t.fromParticipant.user.username]))+"\n ")],1)]):n("div",e._l(JSON.parse(t.content).blocks,(function(e,t){return n("PostBlock",{key:t,attrs:{type:e.type,data:e.data}})})),1)])]):n("div",[n("div",{staticClass:"message message-theirs p-3"},[n("small",{staticClass:"message-date"},[n("router-link",{attrs:{to:{name:"memberProfile",params:{username:t.fromParticipant.user.username}}}},[n("Avatar",{attrs:{member:t.fromParticipant.user}}),e._v(" "),n("strong",{staticClass:"mr-3"},[e._v(e._s(t.fromParticipant.user.username))])],1),e._v("\n "+e._s(e.$date(t.sentAt,!0,!1))+"\n ")],1),e._v(" "),t.removed?n("div",[n("em",[e._v(e._s(e.$t("message.deleted")))])]):t.content===e.leftMessage?n("div",[n("strong",[n("Icon",{attrs:{v:"sign-out-alt"}}),e._v("\n "+e._s(e.$t("conversation.left",[t.fromParticipant.user.username]))+"\n ")],1)]):n("div",e._l(JSON.parse(t.content).blocks,(function(e,t){return n("PostBlock",{key:t,attrs:{type:e.type,data:e.data}})})),1)])])])}))],2),e._v(" "),n("div",{staticClass:"position-relative"},[n("Form",{ref:"form",on:{submit:e.send},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Overlay",{attrs:{show:e.sending}}),e._v(" "),n("FormGroup",{attrs:{error:t.errors.content},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Editor",{attrs:{short:""},on:{"toggle-saving":e.toggleSaving},model:{value:e.content,callback:function(t){e.content=t},expression:"content"}})]}}],null,!0)}),e._v(" "),n("div",{staticClass:"form-group"},[n("button",{directives:[{name:"show",rawName:"v-show",value:!e.enterSends,expression:"!enterSends"}],ref:"submit",class:{"btn btn-primary btn-block":!0,disabled:e.savingDisabled},attrs:{disabled:e.savingDisabled}},[n("Icon",{attrs:{v:"paper-plane"}}),e._v("\n "+e._s(e.$t("message.send"))+"\n ")],1)]),e._v(" "),n("div",{staticClass:"form-group small mb-0"},[n("Checkbox",{attrs:{toggle:""},model:{value:e.enterSends,callback:function(t){e.enterSends=t},expression:"enterSends"}},[n("span",{domProps:{innerHTML:e._s(e.$t("message.enterSends"))}})])],1)]}}])})],1)])])],1)};cl._withStripped=!0;var ul=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",["paragraph"==e.type?n("p",[n("Twemoji",[n("SafeHtml",{attrs:{html:e.data.text}})],1)],1):"header"==e.type?n("div",[n("Twemoji",[n("h"+e.data.level,{tag:"component"},[n("SafeHtml",{attrs:{html:e.data.text}})],1)],1)],1):"list"==e.type?n("div",[n("Twemoji",["ordered"==e.data.style?n("ol",e._l(e.data.items,(function(e){return n("li",[n("SafeHtml",{attrs:{html:e}})],1)})),0):n("ul",e._l(e.data.items,(function(e){return n("li",[n("SafeHtml",{attrs:{html:e}})],1)})),0)])],1):"checklist"==e.type?n("ul",{staticClass:"list"},[n("Twemoji",e._l(e.data.items,(function(t){return n("li",[t.checked?n("span",{staticClass:"fal fa-check-circle text-success fa-fw"}):n("span",{staticClass:"fal fa-circle fa-fw"}),e._v(" "),n("SafeHtml",{attrs:{html:t.text}})],1)})),0)],1):"image"==e.type&&void 0!==e.data.file.id?n("div",[n("div",{staticClass:"img-wrapper text-center mb-3"}
2,[n("div",{class:{"img-wrapper-stretched":e.data.stretched,"img-wrapper-background":e.data.withBackground}},[n("Picture",{attrs:{image:e.data.file,type:"small",caption:e.data.caption,post:e.owner?e.post:null}})],1)]),e._v(" "),e.data.caption?n("p",{staticClass:"small"},[n("Twemoji",[n("SafeHtml",{attrs:{html:e.data.caption}})],1)],1):e._e()]):"quote"==e.type?n("Twemoji",[n("blockquote",{class:{blockquote:!0,"text-center":"center"==e.data.alignment}},[n("p",{staticClass:"mb-0"},[n("SafeHtml",{attrs:{html:e.data.text}})],1),e._v(" "),e.data.caption?n("footer",{staticClass:"blockquote-footer"},[n("SafeHtml",{attrs:{html:e.data.caption}})],1):e._e()])]):"delimiter"==e.type?n("p",{staticClass:"text-center h2"},[e._v("* * *")]):"table"==e.type?n("Twemoji",[n("table",{staticClass:"table table-striped"},e._l(e.data.content,(function(t){return n("tr",e._l(t,(function(e){return n("td",[n("SafeHtml",{attrs:{html:e}})],1)})),0)})),0)]):"linkTool"==e.type?n("div",[n("a",{staticClass:"card mb-4 block-link",attrs:{href:e.data.meta.url,target:"_blank",rel:"noopener"}},[e.data.meta.image.url?n("img",{staticClass:"card-img-top",attrs:{src:e.data.meta.image.url,alt:""}}):e._e(),e._v(" "),n("Twemoji",[n("div",{staticClass:"card-body bg-light border-top"},[n("p",{staticClass:"h5 card-title"},[n("SafeHtml",{attrs:{html:e.data.meta.title}})],1),e._v(" "),n("p",{staticClass:"card-text mb-1"},[n("SafeHtml",{attrs:{html:e.data.meta.description}})],1),e._v(" "),n("p",{staticClass:"card-text mb-0 text-muted"},[n("SafeHtml",{attrs:{html:e.data.meta.domain}})],1)])])],1)]):"embed"==e.type?n("div",[n("div",{staticClass:"aspect-ratio-wide text-center"},[n("iframe",{staticStyle:{border:"0","max-width":"100%"},attrs:{src:e.data.embed,width:e.data.width,height:"data.height",allowfullscreen:""}})]),e._v(" "),n("p",{staticClass:"d-flex justify-content-between flex-row-reverse small"},[n("a",{attrs:{href:e.data.source,target:"_blank",rel:"noopener"}},[n("Icon",{attrs:{v:e.getEmbedService(e.data.service),set:"brand"}}),e._v("\n "+e._s(e.clearUrl(e.data.source))+"\n ")],1),e._v(" "),e.data.caption?n("span",[n("Twemoji",[n("SafeHtml",{attrs:{html:e.data.caption}})],1)],1):e._e()])]):e._e()],1)};ul._withStripped=!0;var dl=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.deleted?e._e():n("a",{class:["image border lightbox text-center",e.classes,e.loaded?"":"micro"],attrs:{href:e.getUrl(e.image.id,e.maxSize),target:"_blank",rel:"nofollow"}},[n("img",{ref:"image",class:[e.classes,"rotate-"+e.rotation,{blur:e.blurPics}],attrs:{src:e.getMicroUrl(),alt:e.caption},on:{click:function(t){return t.preventDefault(),t.target!==t.currentTarget?null:e.showLarge.apply(null,arguments)}}}),e._v(" "),n("noscript",[n("img",{class:e.classes,attrs:{src:e.getUrl(e.image.id,e.type),alt:e.caption}})]),e._v(" "),e.owner?n("div",{staticClass:"btn-group btn-block"},[n("button",{staticClass:"btn btn-secondary",on:{click:function(t){return t.preventDefault(),e.setAvatar.apply(null,arguments)}}},[n("Icon",{attrs:{v:"user-circle"}}
2),e._v(" "),n("small",[e._v(e._s(e.$t("pic.setAvatar")))])],1),e._v(" "),e.canPin||e.image.profile?n("button",{staticClass:"btn btn-secondary",on:{click:function(t){return t.preventDefault(),e.setProfile.apply(null,arguments)}}},[n("Icon",{attrs:{v:"thumbtack"}}),e._v(" "),n("small",[e._v(e._s(e.$t("pic.setProfile."+(e.image.profile?"false":"true"))))])],1):e._e(),e._v(" "),n("button",{staticClass:"btn btn-secondary",on:{click:function(t){return t.preventDefault(),e.remove.apply(null,arguments)}}},[n("Icon",{attrs:{v:"trash"}}),e._v(" "),n("small",[e._v(e._s(e.$t("pic.remove")))])],1),e._v(" "),n("button",{staticClass:"btn btn-secondary",on:{click:function(t){return t.preventDefault(),e.rotate.apply(null,arguments)}}},[n("Icon",{attrs:{v:"redo"}}),e._v(" "),n("small",[e._v(e._s(e.$t("pic.rotate")))])],1)]):e._e(),e._v(" "),e.post?n("button",{staticClass:"btn btn-secondary btn-block",on:{click:function(t){return t.preventDefault(),e.rotate.apply(null,arguments)}}},[n("Icon",{attrs:{v:"redo"}}),e._v(" "),n("small",[e._v(e._s(e.$t("pic.rotate")))])],1):e._e(),e._v(" "),0===e.rotation||e.rotationSaving?e._e():n("button",{staticClass:"btn btn-success btn-block",on:{click:function(t){return t.preventDefault(),e.saveRotation.apply(null,arguments)}}},[n("Icon",{attrs:{v:"save"}}
2),e._v(" "),n("small",[e._v(e._s(e.$t("pic.save")))])],1)])};dl._withStripped=!0;var fl,pl,hl,ml,vl=__webpack_require__(1985),gl=__webpack_require__.n(vl);function yl(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var bl=Ca({props:{image:{required:!0},caption:{default:""},type:{default:"small"},classes:{default:""},owner:{type:Boolean},canPin:{type:Boolean},post:{}},data:function(){return{deleted:!1,maxSize:this.$user?this.$user.imageSizes[0]:"small",startedLoading:!1,loaded:!1,rotation:0,rotationSaving:!1,blurPics:Jo.get("blurPics")||!1}},mounted:function(){var e=this;gl()({margins:{bottom:100}}).watch(this.$refs.image,(function(t){e.blurPics||e.startedLoading||(e.startedLoading=!0,e.$refs.image.setAttribute("src",e.getUrl(e.image.id,e.type)),e.$refs.image.onload=function(){e.loaded=!0})})),this.$eventHub.$on("set-blur-pics",(function(t){e.blurPics=v,v?(e.$refs.image.setAttribute("src",e.getMicroUrl()),e.loaded=!1):(e.startedLoading=!0,e.$refs.image.setAttribute("src",e.getUrl(e.image.id,e.type)),e.$refs.image.onload=function(){e.loaded=!0})}))},methods:{getUrl:function(e,t){var n="string"==typeof this.image.links?JSON.parse(this.image.links):this.image.links;return n[t]||n.small},getMicroUrl:function(){return this.image.micro?"data:image/png;base64,".concat(this.image.micro):""},setAvatar:function(){var e=this;this.$confirm(this.$t("pic.setAvatar.confirm")).then((function(t){e.$apollo.mutate({mutation:ma(fl||(fl=yl(["\n mutation SetAvatar($id: String!) {\n setAvatar(id: $id)\n }\n "]))),variables:{id:e.image.id}}).then((function(e){window.location.reload()})).catch((function(e){console.error(e)}))}))},setProfile:function(){var e=this,t=!this.image.profile;this.$apollo.mutate({mutation:ma(pl||(pl=yl(["\n mutation PinImage($id: String!, $pin: Boolean!) {\n pinImage(id: $id, pin: $pin)\n }\n "]))),variables:{id:this.image.id,pin:t}}).then((function(n){if(!n.data.pinImage)throw"Error";e.$emit("pin",e.image.id,t)})).catch((function(e){console.error(e)}))},remove:function(){var e=this;this.$confirm(this.$t("pic.remove.confirm")).then((function(t){e.$apollo.mutate({mutation:ma(hl||(hl=yl(["\n mutation RemoveImage($id: String!) {\n removeImage(id: $id)\n }\n "]))),variables:{id:e.image.id}}).then((function(t){e.deleted=!0})).catch((function(e){console.error(e)}))}))},showLarge:function(){this.$eventHub.$emit("lightbox",this.getUrl(this.image.id,this.maxSize))},rotate:function(){this.rotation=(this.rotation+1)%4},saveRotation:function(){this.rotationSaving=!0,this.$apollo.mutate({mutation:ma(ml||(ml=yl(["\n mutation RotatePicture($id: String!, $rotation: Int!, $postId: String) {\n rotatePicture(id: $id, rotation: $rotation, postId: $postId)\n }\n "]))),variables:{id:this.image.id,rotation:this.rotation,postId:this.post?this.post.id:null}}).then((function(e){window.location.reload()})).catch((function(e){console.error(e)}))}}},dl,[],!1,null,"d30413da",null);bl.options.__file="components/widgets/Picture.vue";const _l=bl.exports;var wl=function(){var e=this,t=e.$createElement;return(e._self._c||t)("span",{domProps:{innerHTML:e._s(e.safeHtml)}})};wl._withStripped=!0;var kl=Ca({props:{html:{required:!0},skipmentions:{type:Boolean}},computed:{safeHtml:function(){return this.linkMentions(this.linkify(this.stripTags(this.html,"<b><strong><i><em><a><code><mark><br>")))}},methods:{stripTags:function(e,t){t=(((t||"")+"").toLowerCase().match(/<[a-z][a-z0-9]*>/g)||[]).join("");return e.replace(/<!--[\s\S]*?-->|<\?(?:php)?[\s\S]*?\?>/gi,"").replace(/<\/?([a-z][a-z0-9]*)\b[^>]*>/gi,(function(e,n){return t.indexOf("<"+n.toLowerCase()+">")>-1?e:""}))},linkify:function(e){return(" "+e).replace(/([^"])(\b(https?|ftp):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gim,'$1<a href="$2" target="_blank" rel="noopener">$2</a>').replace(/([^">a-zA-Z0-9:])\b(([a-zA-Z0-9\-\_\.])+@[a-zA-Z\_]+?(\.[a-zA-Z]{2,6})+)/gim,'$1<a href="mailto:$2" target="_blank" rel="noopener">$2</a>')},linkMentions:function(e){var t=this;return this.skipmentions?(" "+e).replace(/([^/])\B@([A-Za-z0-9_.-]+)/gim,(function(e,n,r){var o=t.$router.match({name:"memberProfile",params:{username:r}});return"".concat(n,'<a href="').concat(o.fullPath,'">@').concat(r,"</a>")})):e}}},wl,[],!1,null,null,null);kl.options.__file="components/widgets/SafeHtml.vue";const xl=kl.exports;var Cl=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[n("span",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],ref:"source"},[e._t("default")],2),e._v(" "),n("span",{ref:"target"})])};Cl._withStripped=!0;var Sl=__webpack_require__(5394),El=__webpack_require__.n(Sl);var Tl=Ca({mounted:function(){this.update()},methods:{update:function(){var e=this;setTimeout((function(t){e.$refs.source&&e.$refs.target&&(e.$refs.target.innerHTML=El().parse(e.$refs.source.innerHTML))}),100)}}},Cl,[],!1,null,null,null);Tl.options.__file="components/widgets/Twemoji.vue";const Ol=Tl.exports;var Il=Ca({components:{Picture:_l,SafeHtml:xl,Twemoji:Ol},props:{type:{},data:{},post:{},owner:{type:Boolean}},methods:{getEmbedService:function(e){return e.split("-")[0]},clearUrl:function(e){return e.trim().replace("http://www.","").replace("https://www.","").replace("http://","").replace("https://","").replace(/\?.*/,"").replace(/\/$/,"")}}},ul,[],!1,null,"45ce63bc",null);Il.options.__file="components/widgets/PostBlock.vue";const Al=Il.exports;var Dl,Pl,Ml,$l;function Nl(e){return function(e){if(Array.isArray(e))return Rl(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Rl(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Rl(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Rl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ll(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var jl=Ca({components:{Overlay:Ma,Checkbox:ns,Loading:us,Avatar:Xs,PostBlock:Al,Form:Ra,FormGroup:Za,Editor:zs},props:{conversation:{required:!0},shown:{type:Boolean}},data:function(){var e=Jo.get("enterSends");return{messages:void 0,content:[],savingDisabled:!1,enterSends:null===e||e,triggerSave:!1,sending:!1,limit:100,leftMessage:'["left"]'}},mounted:function(){var e=this;this.fetchMessages(),this.toggleSaving(!1),this.$eventHub.$on("socket.message",(function(t){void 0!==e.messages&&t.conversationId===e.conversation.id&&(e.messages.push(t),e.shown&&e.$apollo.mutate({mutation:ma(Dl||(Dl=Ll(["\n mutation MarkMessageRead ($conversationId: String!) {\n markMessageRead(conversationId: $conversationId)\n }\n "]))),variables:{conversationId:e.conversation.id}}).then((function(t){e.$emit("mark-read",e.conversation.id)})))}))}
2,methods:{fetchMessages:function(){var e=this;this.shown&&void 0===this.messages&&this.$apollo.query({query:ma(Pl||(Pl=Ll(['\n query Messages ($conversationId: String!) {\n messages(conversationId: $conversationId) {\n id\n sentAt\n fromParticipant { user { username avatar {id links(size: "avatar")} } }\n content\n removed\n }\n }\n ']))),variables:{conversationId:this.conversation.id}}).then((function(t){e.messages=Nl(t.data.messages).reverse(),e.$emit("mark-read",e.conversation.id),e.$emit("conversation-loaded",e.conversation.id)}))},toggleSaving:function(e){this.savingDisabled=!e,e&&this.triggerSave&&this.enterSends&&(this.send(this.$refs.form),this.triggerSave=!1)},send:function(e){var t=this;this.sending=!0,this.$apollo.mutate({mutation:ma(Ml||(Ml=Ll(['\n mutation SendMessage($conversationId: String!, $content: Json!) {\n message: sendMessage(conversationId: $conversationId, content: $content) {\n sentAt\n fromParticipant { user { username avatar {id links(size: "avatar")} } }\n content\n }\n }\n ']))),variables:{conversationId:this.conversation.id,content:JSON.stringify(this.content)}}).then((function(n){t.sending=!1,e.success(""),t.content=void 0,t.messages.push(n.data.message)})).catch((function(n){t.sending=!1,e.validate(n)})).catch((function(n){t.sending=!1,e.error()}))},deleteMessage:function(e){var t=this;this.$confirm(this.$t("message.delete.confirm"),"danger").then((function(n){t.$apollo.mutate({mutation:ma($l||($l=Ll(["\n mutation DeleteMessage($messageId: String!) {\n deleteMessage(messageId: $messageId)\n }\n "]))),variables:{messageId:e}}).then((function(n){ba(t.messages,(function(n,r){n.id===e&&(t.messages[r].content="{}",t.messages[r].removed=!0)}))})).catch((function(e){console.log(e)}))}))},keydown:function(e){this.triggerSave="Enter"===e.key&&!e.shiftKey}},watch:{shown:function(e){this.fetchMessages()},enterSends:function(e){Jo.set("enterSends",e)}}},cl,[],!1,null,"7597468a",null);jl.options.__file="components/fragments/Conversation.vue";const Fl=jl.exports,Bl=__webpack_require__.p+"assets/anvil.0bf6aa14.wav";var ql,Hl;function zl(e){return function(e){if(Array.isArray(e))return Ul(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Ul(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ul(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ul(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Vl(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Gl=new Audio(Bl);const Wl={components:{NewConversationForm:Ys,Loading:us,ConversationButton:ll,Conversation:Fl,Avatar:Xs,OnlineStatus:al},data:function(){return{shown:!1,conversations:void 0,selectedConversationId:void 0,unreadCount:0}},mounted:function(){var e=this;this.$apollo.query({query:ma(ql||(ql=Vl(['\n query {\n conversations {\n id\n name\n participants {\n user { username admin avatar { id links(size: "avatar") } lastRequest }\n read\n left\n }\n lastMessage\n lastMessageAt\n }\n }\n '])))}).then((function(t){e.conversations=t.data.conversations.filter((function(t){return!t.participants.filter((function(t){return t.user.username===e.$user.username}))[0].left})),e.conversations.forEach((function(t){t.read=t.participants.filter((function(t){return t.user.username===e.$user.username}))[0].read,t.read||e.unreadCount++})),e.$emit("update-unread-count",e.unreadCount)})),this.$eventHub.$on("socket.message",(function(t){e.conversations.forEach((function(n,r){t.conversationId===n.id&&e.selectedConversationId!==n.id&&(n.read&&e.unreadCount++,e.conversations[r]=Object.assign({},n,{read:!1,lastMessageAt:t.sentAt}),e.$emit("update-unread-count",e.unreadCount),e.$pushManager.localNotification({text:"".concat(t.fromParticipant.user.username,": ").concat(t.content)}))}
2)),e.shown||Gl.play()})),this.$eventHub.$on("socket.newConversation",(function(t){t.read=!1,e.unreadCount++,e.conversations=[t].concat(zl(e.conversations)),e.$emit("update-unread-count",e.unreadCount),e.$pushManager.localNotification(t),e.shown||Gl.play()})),this.$eventHub.$on("selectConversation",(function(t){e.shown=!0;var n=!1;e.conversations&&e.conversations.forEach((function(r){2===r.participants.length&&r.participants.forEach((function(o){o.user.username===t&&(e.selectedConversationId=r.id,n=!0)}))})),n||e.startConversation(t)})),Xo()(document).on("keyup",(function(t){27===t.keyCode&&(e.shown=!1)}))},methods:{hide:function(e){e.target===this.$el&&(this.shown=!1)},startConversation:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.selectedConversationId=null,t&&this.$nextTick((function(n){e.$refs.newConversationForm.selectUser(t)}))},conversationStarted:function(e){e.read=!0,this.conversations=[e].concat(zl(this.conversations)),this.selectedConversationId=e.id},selectConversation:function(e){this.selectedConversationId=e,this.scrollDown(e)},markRead:function(e){var t=this;this.conversations.forEach((function(n,r){n.id===e&&(n.read||t.unreadCount--,t.conversations[r]=Object.assign({},n,{read:!0}),t.$emit("update-unread-count",t.unreadCount))}))},scrollDown:function(e){if(e===this.selectedConversationId){var t=this.$refs.convo;this.$nextTick((function(e){return t.scrollTop=t.scrollHeight})),setTimeout((function(e){t.scrollTop=t.scrollHeight,t.focus()}),500)}},leaveConversation:function(e){var t=this;this.$confirm(this.$t("conversation.leave.confirm"),"danger").then((function(n){t.$apollo.mutate({mutation:ma(Hl||(Hl=Vl(["\n mutation LeaveConversation($conversationId: String!) {\n leaveConversation(conversationId: $conversationId)\n }\n "]))),variables:{conversationId:e}}).then((function(n){t.selectedConversationId=void 0,t.conversations=t.conversations.filter((function(t){return t.id!==e}))})).catch((function(e){console.log(e)}))}))}},computed:{sortedConversations:function(){if(void 0!==this.conversations)return this.conversations.sort((function(e,t){return t.lastMessageAt-e.lastMessageAt}))},selectedConversationParticipants:function(){var e=this;if(!this.selectedConversationId||!this.conversations)return[];var t=[];return this.conversations.forEach((function(n){n.id===e.selectedConversationId&&n.participants.forEac
2h((function(n){n.user.username!==e.$user.username&&t.push(n.user)}))})),t}}};var Yl=Ca(Wl,vs,[],!1,null,"6683bdd2",null);Yl.options.__file="components/pages/Messages.vue";const Kl=Yl.exports;var Ql=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[e.bold?n("strong",[e._v(e._s(e.user.username))]):n("span",[e._v(e._s(e.user.username))]),e._v(" "),n("OnlineStatus",{attrs:{user:e.user}}),e._v(" "),e.user.admin?n("Tooltip",{attrs:{title:e.$t("admin.badge")}},[n("small",{staticClass:"badge badge-primary rounded"},[n("Icon",{attrs:{v:"user-cog",classes:"mx-1"}})],1)]):e.user.moderator?n("Tooltip",{attrs:{title:e.$t("admin.moderator.badge")}},[n("small",{staticClass:"badge badge-primary rounded"},[n("Icon",{attrs:{v:"badge-sheriff",classes:"mx-1"}})],1)]):e._e()],1)};Ql._withStripped=!0;var Jl=Ca({components:{OnlineStatus:al,Tooltip:ol},props:{user:{required:!0},bold:{type:Boolean}},mounted:function(){var e=this;this.$eventHub.$on("refreshUser",(function(t){e.$forceUpdate()}))}},Ql,[],!1,null,null,null);Jl.options.__file="components/widgets/Username.vue";const Zl=Jl.exports;var Xl=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("small",[e.user.currentChastityPeriod?n("Tooltip",{attrs:{title:e.$t("calendar.status.locked")}},[n("Icon",{directives:[{name:"show",rawName:"v-show",value:!e.noicon,expression:"!noicon"}],attrs:{v:"lock",classes:"mx-1"}}),e._v("\n ("+e._s(e.elapsedDays)+"/"),e.user.currentChastityPeriod.permanent?n("span",[e._v("â")]):n("span",[e._v(e._s(e.totalDays)+"+")]),e._v(")\n ")],1):e.user.statusSub?n("Tooltip",{attrs:{title:e.$t("calendar.status.unlocked")}},[n("Icon",{directives:[{name:"show",rawName:"v-show",value:!e.noicon,expression:"!noicon"}],attrs:{v:"lock-open",classes:"mx-1"}})],1):e._e(),e._v(" "),1==e.user.statusKeyholder?n("Tooltip",{attrs:{title:e.$t("profile.status.keyholder.1")}},[n("Icon",{directives:[{name:"show",rawName:"v-show",value:!e.noicon,expression:"!noicon"}],attrs:{v:"key",classes:"mx-1"}})],1):2==e.user.statusKeyholder?n("Tooltip",{attrs:{title:e.$t("profile.status.keyholder.2")}},[n("Icon",{directives:[{name:"show",rawName:"v-show",value:!e.noicon,expression:"!noicon"}],attrs:{v:"bullhorn",classes:"mx-1"}})],1):e._e()],1)};Xl._withStripped=!0;var ec=Ca({components:{Tooltip:ol},props:{user:{required:!0},noicon:{type:Boolean}},mounted:function(){var e=this;this.$eventHub.$on("refreshUser",(function(t){e.$forceUpdate()}))},computed:{elapsedDays:function(){return parseInt(Math.ceil(tl.c9.local().diff(tl.c9.fromSeconds(parseInt(this.user.currentChastityPeriod.start))).shiftTo("days").toObject().days))},totalDays:function(){return parseInt(Math.ceil(tl.c9.fromSeconds(parseInt(this.user.currentChastityPeriod.earliestEnd)).diff(tl.c9.fromSeconds(parseInt(this.user.currentChastityPeriod.start))).shiftTo("days").toObject().days))}}},Xl,[],!1,null,null,null);ec.options.__file="components/widgets/Status.vue";const tc=ec.exports;var nc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{class:["nav-item",e.dropup?"dropup":"dropdown"]},[n("a",{class:{"nav-link dropdown-toggle":!0,"text-white":e.unreadCount>0},attrs:{"data-toggle":"dropdown",href:"#",role:"button","aria-haspopup":"true","aria-expanded":"true"},on:{click:e.markAsRead}},[n("Icon",{attrs:{v:"bell"}}),e._v("\n "+e._s(e.unreadCount)+"\n ")],1),e._v(" "),n("div",{ref:"items",class:["dropdown-menu dropdown-menu-right shadow",{absolute:e.absolute}]},[e.notifications.length>0?e._l(e.notifications,(function(e){return n("Notification",{key:e.id,attrs:{notification:e}})})):n("div",{staticClass:"dropdown-item"},[e._v("\n "+e._s(e.$t("empty.default"))+"\n ")])],2)])};nc._withStripped=!0;var rc,oc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("router-link",{class:{"dropdown-item":!0,"bg-active":!e.notification.read,"py-2 border-bottom":!0},attrs:{to:JSON.parse(e.notification.link)}},[e.notification.aboutUser?n("span",[n("Avatar",{attrs:{member:e.notification.aboutUser,size:"2rem"}}),e._v(" "),n("Username",{attrs:{user:e.notification.aboutUser,bold:""}}
2)],1):e._e(),e._v(" "),n("Twemoji",[n("SafeHtml",{attrs:{html:e.$td(e.$t(e.notification.type,JSON.parse(e.notification.params)))}})],1),e._v(" "),n("small",{staticClass:"text-nowrap"},[e._v("â "+e._s(e.$date(e.notification.createdAt)))]),e._v(" "),e.notification.requiresApproval&&!e.notification.read?n("span",{staticClass:"text-nowrap d-inline-block my-2"},[e.saving?n("span",[n("Spinner")],1):n("span",[n("button",{staticClass:"btn btn-outline-success btn-sm",on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.decide(!0)}}},[n("Icon",{attrs:{v:"check"}}),e._v("\n "+e._s(e.$t("notification.approve"))+"\n ")],1),e._v(" "),n("button",{staticClass:"btn btn-outline-danger btn-sm",on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.decide(!1)}}},[n("Icon",{attrs:{v:"times"}}),e._v("\n "+e._s(e.$t("notification.reject"))+"\n ")],1)])]):e._e()],1)};oc._withStripped=!0;const ic={components:{Avatar:Xs,Username:Zl,Spinner:Da,Twemoji:Ol,SafeHtml:xl},props:{notification:{}},data:function(){return{saving:!1}},methods:{decide:function(e){var t,n,r=this,o=this.notification.type.match(/^relation.(\w+).requested$/)[1];this.saving=!0,this.$apollo.mutate({mutation:ma(rc||(t=["\n mutation DecideConnection($userId: String!, $relation: String!, $decision: Boolean!) {\n connection: decideConnection(userId: $userId, relation: $relation, decision: $decision) {\n accepted\n }\n }\n "],n||(n=t.slice(0)),rc=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}})))),variables:{userId:this.notification.aboutUser.id,relation:o,decision:e}}).then((function(e){r.notification.read=!0,r.saving=!1})).catch((function(e){console.error(e)}))}}};var ac=Ca(ic,oc,[],!1,null,null,null);ac.options.__file="components/fragments/Notification.vue";const sc=ac.exports;var lc,cc;function uc(e){return function(e){if(Array.isArray(e))return dc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return dc(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?dc(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function dc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function fc(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var pc=new Audio(Bl);var hc=Ca({components:{Notification:sc},props:{dropup:{type:Boolean},absolute:{type:Boolean}},data:function(){return{notifications:[],markAsReadTimeout:null}},mounted:function(){var e=this;this.$apollo.query({query:ma(lc||(lc=fc(['\n query {\n notifications {\n id\n type\n requiresApproval\n read\n aboutUser {\n id\n username\n avatar { id links(size: "avatar") }\n }\n link\n params\n createdAt\n }\n }\n '])))}).then((function(t){e.notifications=t.data.notifications})).catch((function(e){console.error(e)})),this.$eventHub.$on("socket.notificationAdded",(function(t){e.notifications=[t].concat(uc(e.notifications)),Jo.get("muteSounds")||pc.play(),e.$pushManager.localNotification({text:e.$td(e.$t(e.notification.type,JSON.parse(t.params))),link:e.$router.resolve({to:t.link}).href})})),this.$eventHub.$on("socket.notificationRemoved",(function(t){e.notifications=e.notifications.filter((function(e){return e.id!==t.id}))}))},computed:{unreadCount:function(){return this.notifications.filter((function(e){return!e.read})).length}},methods:{markAsRead:function(){var e=this;this.markAsReadTimeout&&(clearTimeout(this.markAsReadTimeout),this.markAsReadTimeout=null),this.markAsReadTimeout=setTimeout((function(t){e.$refs.items.classList.contains("show")&&(e.markAsReadTimeout=null,e.$apollo.mutate({mutation:ma(cc||(cc=fc(["\n mutation {\n markNotificationsAsRead\n }\n "])))}).then((function(t){ba(e.notifications,(function(e){e.read||e.requiresApproval||(e.read=!0)}))})).catch((function(e){console.error(e)})))}),1e3)}},watch:{unreadCount:function(e){this.$emit("update-unread-count",this.unreadCount)}}},nc,[],!1,null,"93b7ff1e",null);hc.options.__file="components/fragments/Notifications.vue";const mc=hc.exports;var vc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.$user&&e.impersonator?n("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.stop.apply(null,arguments)}}},[n("Icon",{attrs:{v:"user-ninja"}}
2),e._v("\n "+e._s(e.$t("impersonate.stop"))+"\n")],1):e._e()};vc._withStripped=!0;var gc=Ca({data:function(){return{impersonator:!!Jo.get("impersonator")}},methods:{stop:function(){Jo.set("user",Jo.get("impersonator")),Jo.remove("impersonator"),window.location.reload()}}},vc,[],!1,null,null,null);gc.options.__file="components/widgets/ImpersonationStop.vue";const yc=gc.exports;var bc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.$user?n("div",{class:["sponsor alert",{"move-up":e.moveUp}]},[e.maintenance.show?n("div",{class:["alert d-flex alert-warning",{"move-up":e.moveUp}]},[n("div",{staticClass:"container"},[n("span",[n("Icon",{attrs:{v:"exclamation-triangle"}})],1),e._v(" "),n("Twemoji",[n("span",{domProps:{innerHTML:e._s(e.maintenance.text)}})])],1)]):e._e(),e._v(" "),n("div",{class:["alert",{"move-up":e.moveUp}]},[n("div",{staticClass:"container d-flex justify-content-center"},[n("ins",{key:e.adConfig.zone,ref:"adSlot",attrs:{id:e.adConfig.slotId,"data-width":e.adConfig.width,"data-height":e.adConfig.height}})])])]):e._e()};bc._withStripped=!0;var _c=Ca({components:{Twemoji:Ol},props:{moveUp:{type:Boolean}},data:function(){var e=tl.c9.utc(2026,4,18,22,0,0),t=tl.c9.utc(2026,4,19,6,0,0);return{adConfig:this.getAdConfig(!1),mediaQuery:null,mediaQueryListener:null,maintenance:{start:e,end:t,show:tl.c9.utc()>e&&tl.c9.utc()<t,text:"We need to upgrade some of our infrastructure components. <br/>\n <strong>\n The website will be unavailable ".concat(e.toFormat("y-MM-dd HH:mm"),"\n â ").concat(t.toFormat("y-MM-dd HH:mm")," UTC\n (").concat(e.toLocal().toFormat("HH:mm"),"\n â ").concat(t.toLocal().toFormat("HH:mm")," your local time)\n </strong>.")}}},mounted:function(){var e=this;if("undefined"!=typeof window)if("function"==typeof window.matchMedia){this.mediaQuery=window.matchMedia("(max-width: 768px)"),this.adConfig=this.getAdConfig(this.mediaQuery.matches);var t=function(t){e.adConfig=e.getAdConfig(t.matches),e.queueAdRender()};this.mediaQuery.addEventListener?this.mediaQuery.addEventListener("change",t):this.mediaQuery.addListener&&this.mediaQuery.addListener(t),this.queueAdRender(),this.mediaQueryListener=t}else this.adConfig=this.getAdConfig(!1),this.queueAdRender()},beforeDestroy:function(){this.mediaQuery&&this.mediaQueryListener&&(this.mediaQuery.removeEventListener?this.mediaQuery.removeEventListener("change",this.mediaQueryListener):this.mediaQuery.removeListener&&this.mediaQuery.removeListener(this.mediaQueryListener))},methods:{getAdConfig:function(e){return e?{type:"mobile",zone:1102725,slotId:"1102725",width:300,height:112}:{type:"desktop",zone:1102724,slotId:"1102724",width:952,height:72}},ensureScriptLoaded:function(){var e="https://poweredby.jads.co/js/jads.js",t=document.querySelector('script[src="'.concat(e,'"]'));if(t)return t;var n=document.createElement("script");return n.type="text/javascript",n.async=!0,n.setAttribute("data-cfasync","false"),n.src=e,document.body.appendChild(n),n},queueAdRender:function(){var e=this;this.ensureScriptLoaded(),this.$refs.adSlot&&this.$nextTick((function(){e.$refs.adSlot.innerHTML="",window.adsbyjuicy=window.adsbyjuicy||[],window.adsbyjuicy.push({adzone:e.adConfig.zone})}))}}},bc,[],!1,null,"39e71e63",null);_c.options.__file="components/fragments/Sponsor.vue";const wc=_c.exports;var kc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e.listElement?"li":"div",{tag:"component",class:[e.expanded?"":"dropdown",e.classes]},[e.expanded?n("div",{staticClass:"btn-group btn-group-vertical btn-block border"},e._l(e.$languages,(function(t,r){return n("a",{class:["btn",r===e.$i18n.locale?"btn-primary":"btn-light"],attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.setLanguage(r)}}},[e._v("\n "+e._s(t)+"\n ")])})),0):e._e(),e._v(" "),e.expanded?e._e():n("a",{class:["dropdown-toggle btn",e.buttonClasses],attrs:{"data-toggle":"dropdown",href:"#",role:"button","aria-haspopup":"true","aria-expanded":"true"}},[n("Icon",{attrs:{v:"language"}}),e._v(" "),n("span",{staticClass:"d-none d-xl-inline"},[e._v("\n "+e._s(e.$languages[e.$i18n.locale])+"\n ")])],1),e._v(" "),e.expanded?e._e():n("div",{staticClass:"dropdown-menu shadow"},[e._l(e.$languages,(function(t,r){return n("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.setLanguage(r)}}},[e._v("\n "+e._s(t)+"\n ")])})),e._v(" "),n("div",{staticClass:"dropdown-divider"}),e._v(" "),n("router-link",{staticClass:"dropdown-item small",attrs:{to:{name:"translations"}}},[n("Icon",{attrs:{v:"language"}}),e._v("\n Translations\n ")],1)],2)])};kc._withStripped=!0;var xc=function(){var e=this,t=e.$createElement;return(e._self._c||t)("Twemoji",{ref:"twemoji"},[e._v("\n "+e._s(e.getIcon(e.code))+"\n")])};xc._withStripped=!0;var Cc={A:"ð¦",B:"ð§",C:"ð¨",D:"ð©",E:"ðª",F:"ð«",G:"ð¬",H:"ð",I:"ð®",J:"ð¯",K:"ð°",L:"ð±",M:"ð²",N:"ð³",O:"ð´",P:"ðµ",Q:"ð¶",R:"ð·",S:"ð¸",T:"ð¹",U:"ðº",V:"ð»",W:"ð¼",X:"ð½",Y:"ð¾",Z:"ð¿"};var Sc=Ca({components:{Twemoji:Ol},props:{code:{required:!0}},methods:{getIcon:function(e){return Cc[e[0]]+Cc[e[1]]}},watch:{code:function(){this.$refs.twemoji.update()}}},xc,[],!1,null,null,null);Sc.options.__file="components/widgets/Flag.vue";const Ec=Sc.exports;var Tc;const Oc={components:{Flag:Ec},props:{expanded:{type:Boolean},listElement:{type:Boolean},classes:{default:""}
2,buttonClasses:{default:"btn-primary"}},methods:{setLanguage:function(e){var t,n;this.$loadLanguage(e).then((function(t){Jo.set("language",e)})),this.$apollo.mutate({mutation:ma(Tc||(t=["\n mutation SaveLocale($locale: String!) {\n saveLocale(locale: $locale)\n }\n "],n||(n=t.slice(0)),Tc=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}})))),variables:{locale:e}})}}};var Ic=Ca(Oc,kc,[],!1,null,null,null);Ic.options.__file="components/widgets/LanguageSwitch.vue";const Ac=Ic.exports;var Dc=Ca({props:{wide:{default:!1}},components:{Login:ms,Messages:Kl,Avatar:Xs,Username:Zl,Status:tc,Notifications:mc,ImpersonationStop:yc,Checkbox:ns,Sponsor:wc,LanguageSwitch:Ac},data:function(){return{solid:this.isSolid(),unreadMessagesCount:0,unreadNotificationsCount:0,hideBranding:Jo.get("hideBranding")||!1}},methods:{logout:function(){Jo.remove("user"),window.location.reload()},scroll:function(){this.solid=this.isSolid()},isSolid:function(){return"home"!==this.$route.name||Xo()(window).scrollTop()>0||this.$user},showMessages:function(){this.$refs.messages.shown=!0},updateUnreadMessagesCount:function(e){this.unreadMessagesCount=e},updateUnreadNotificationsCount:function(e){this.unreadNotificationsCount=e}},mounted:function(){var e=this;Xo()(window).scroll(this.scroll),this.scroll(),this.$router.afterEach((function(t,n){e.scroll()})),this.$eventHub.$on("set-hide-branding",(function(t){e.hideBranding=t}))}},Wo,[],!1,null,"6309c86c",null);Dc.options.__file="components/fragments/Nav.vue";const Pc=Dc.exports;var Mc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("footer",{staticClass:"border-top bg-light"},[n("div",{staticClass:"container"},[n("ul",{staticClass:"list list-horizontal mt-4 mb-4"},[e._m(0),e._v(" "),n("li",[n("a",{staticClass:"text-nowrap",attrs:{href:"mailto:"+e.contact.email,target:"_blank",rel:"noopener"}},[n("Icon",{attrs:{v:"envelope"}}),e._v("\n "+e._s(e.contact.email)+"\n ")],1)]),e._v(" "),n("li",[n("a",{staticClass:"text-nowrap",attrs:{href:"https://twitter.com/"+e.contact.twitter,target:"_blank",rel:"noopener"}},[n("Icon",{attrs:{set:"brand",v:"twitter"}}),e._v("\n @"+e._s(e.contact.twitter)+"\n ")],1)]),e._v(" "),n("li",[n("a",{staticClass:"text-nowrap",attrs:{href:"https://bsky.app/profile/"+e.contact.bluesky,target:"_blank",rel:"noopener"}},[n("svg",{staticStyle:{"margin-right":".1em","padding-bottom":".1em"},attrs:{xmlns:"http://www.w3.org/2000/svg","shape-rendering":"geometricPrecision","text-rendering":"geometricPrecision","image-rendering":"optimizeQuality","fill-rule":"evenodd","clip-rule":"evenodd",viewBox:"0 0 511.999 452.266",width:"1em"}},[n("path",{attrs:{fill:"currentColor","fill-rule":"nonzero",d:"M110.985 30.442c58.695 44.217 121.837 133.856 145.013 181.961 23.176-48.105 86.322-137.744 145.016-181.961 42.361-31.897 110.985-56.584 110.985 21.96 0 15.681-8.962 131.776-14.223 150.628-18.272 65.516-84.873 82.228-144.112 72.116 103.55 17.68 129.889 76.238 73 134.8-108.04 111.223-155.288-27.905-167.385-63.554-3.489-10.262-2.991-10.498-6.561 0-12.098 35.649-59.342 174.777-167.382 63.554-56.89-58.562-30.551-117.12 72.999-134.8-59.239 10.112-125.84-6.6-144.112-72.116C8.962 184.178 0 68.083 0 52.402c0-78.544 68.633-53.857 110.985-21.96z"}})]),e._v("\n "+e._s(e.contact.bluesky)+"\n ")])]),e._v(" "),n("li",[n("a",{staticClass:"text-nowrap",attrs:{href:"https://discord.gg/emlalock",target:"_blank",rel:"noopener"}},[n("Icon",{attrs:{set:"brand",v:"discord"}}),e._v("\n EmlaLock\n ")],1)]),e._v(" "),n("li",[n("router-link",{staticClass:"text-nowrap",attrs:{to:{name:"terms"}}},[n("Icon",{attrs:{v:"gavel"}}),e._v("\n "+e._s(e.$t("terms.header"))+"\n ")],1)],1),e._v(" "),n("li",[n("router-link",{staticClass:"text-nowrap",attrs:{to:{name:"faq"}}},[n("Icon",{attrs:{v:"map-marker-question"}}),e._v("\n "+e._s(e.$t("faq.header.short"))+"\n ")],1)],1),e._v(" "),n("li",[n("router-link",{staticClass:"text-nowrap",attrs:{to:{name:"helpOut"}}},[n("Icon",{attrs:{v:"people-carry"}}),e._v("\n "+e._s(e.$t("helpOut.header"))+"\n ")],1)],1),e._v(" "),n("li",[n("router-link",{staticClass:"text-nowrap",attrs:{to:{name:"reportBug"}}},[n("Icon",{attrs:{v:"bug"}}),e._v("\n "+e._s(e.$t("reportBug.header"))+"\n ")],1)],1)]),e._v(" "),n("Merger",{staticClass:"mb-3"})],1)])};Mc._withStripped=!0;var $c=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"custom-control custom-switch"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.isDark,expression:"isDark"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:e.id},domProps:{checked:e.isDark?"checked":"",checked:Array.isArray(e.isDark)?e._i(e.isDark,null)>-1:e.isDark},on:{change:function(t){var n=e.isDark,r=t.target,o=!!r.checked;if(Array.isArray(n)){var i=e._i(n,null);
2r.checked?i<0&&(e.isDark=n.concat([null])):i>-1&&(e.isDark=n.slice(0,i).concat(n.slice(i+1)))}else e.isDark=o}}}),e._v(" "),n("label",{staticClass:"custom-control-label",attrs:{for:e.id}},[n("Icon",{attrs:{v:e.isDark?"moon":"sun"}}),e._v("\n "+e._s(e.$t("mode."+(e.isDark?"dark":"light")))+"\n ")],1)])};$c._withStripped=!0;const Nc={methods:{detectDark:function(){return null!==localStorage.getItem("darkMode")?"dark"===localStorage.getItem("darkMode"):window.matchMedia("(prefers-color-scheme: dark)").matches},setMode:function(e){e?(document.body.setAttribute("data-theme","dark"),localStorage.setItem("darkMode","dark")):(document.body.removeAttribute("data-theme"),localStorage.setItem("darkMode","light"))}}},Rc={mixins:[Nc],data:function(){return{id:es(6),isDark:!1}},mounted:function(){var e=this;this.isDark=this.detectDark(),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(function(t){return e.isDark=t.matches}))},watch:{isDark:function(e){this.setMode(e)}}};var Lc=Ca(Rc,$c,[],!1,null,null,null);Lc.options.__file="components/widgets/ModeSwitch.vue";const jc=Lc.exports;var Fc=function(){var e=this.$createElement;return(this._self._c||e)("div")};Fc._withStripped=!0;var Bc=Ca({},Fc,[],!1,null,null,null);Bc.options.__file="components/widgets/Merger.vue";const qc=Bc.exports;var Hc=Ca({components:{Merger:qc,Twemoji:Ol,ModeSwitch:jc},data:function(){return{contact:{email:"[email protected]",twitter:"TeamLockedMen",bluesky:"teamlocked.men"}}}},Mc,[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",[e._v("\n A project by "),n("a",{attrs:{href:"https://www.emlalock.com",target:"_blank",rel:"noopener"}},[e._v("EmlaLock")])])}],!1,null,"2b6cf2e2",null);Hc.options.__file="components/fragments/Footer.vue";const zc=Hc.exports;var Uc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["overlay",{hideBranding:e.hideBranding}]},[n("div",{staticClass:"consent-jumbotron container"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-6"},[n("h1",[n("Icon",{attrs:{v:"exclamation-circle"}}),e._v("\n "+e._s(e.$t("consent.header"))+"\n ")],1),e._v(" "),n("p",[e._v(e._s(e.$t("consent.warning.content")))]),e._v(" "),n("p",[e._v(e._s(e.$t("consent.warning.jurisdiction")))]),e._v(" "),n("p",{staticClass:"small"},[n("Checkbox",{attrs:{toggle:""},model:{value:e.hideBranding,callback:function(t){e.hideBranding=t},expression:"hideBranding"}},[e._v("\n "+e._s(e.$t("nsfw.branding"))+"\n ")])],1),e._v(" "),n("p",{staticClass:"small"},[n("Checkbox",{attrs:{toggle:""},model:{value:e.blurPics,callback:function(t){e.blurPics=t},expression:"blurPics"}},[e._v("\n "+e._s(e.$t("nsfw.pics"))+"\n ")])],1),e._v(" "),n("p",[n("button",{staticClass:"btn btn-outline-light btn-lg",on:{click:e.enter}},[n("Icon",{attrs:{v:"door-open"}}),e._v("\n "+e._s(e.$t("consent.enter"))+"\n ")],1)])])])])])};Uc._withStripped=!0;var Vc=Ca({components:{Checkbox:ns},data:function(){return{hideBranding:!1,blurPics:!1}},methods:{enter:function(){Jo.set("consent",!0),this.$emit("set-consent",!0)}},watch:{hideBranding:function(e){Jo.set("hideBranding",e),this.$eventHub.$emit("set-hide-branding",e)},blurPics:function(e){Jo.set("blurPics",e),this.$eventHub.$emit("set-blur-pics",e)}}},Uc,[],!1,null,"63456b2f",null);Vc.options.__file="components/widgets/Consent.vue";const Gc=Vc.exports;var Wc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"wrapper",class:{"lightbox-wrapper":!0,"d-none":null===e.currentUrl},on:{click:function(t){return t.target!==t.currentTarget?null:e.hide.apply(null,arguments)}}},[n("div",{ref:"inner",class:{"lightbox-inner":!0,"align-items-center":e.center},on:{click:function(t){return t.target!==t.currentTarget?null:e.hide.apply(null,arguments)}}},[n("img",{ref:"image",staticClass:"lightbox-image",attrs:{src:e.currentUrl},on:{load:e.loaded}})]),e._v(" "),n("span",{staticClass:"lightbox-menu"},[n("span",{staticClass:"btn text-danger report mr-3",on:{click:e.report}},[n("Icon",{attrs:{v:"spider"}})],1),e._v(" "),n("span",{staticClass:"lightbox-close fal fa-times",on:{click:e.hide}})])])};Wc._withStripped=!0;_a("body");const Yc={data:function(){return{currentUrl:null,center:!1}},mounted:function(){var e=this;this.$eventHub.$on("lightbox",this.show),wa(document,"resize",(function(t){e.currentUrl&&(e.center=e.$refs.image.offsetHeight<e.$refs.inner.offsetHeight)})),wa(_a("body"),"keyup",(function(t){if(e.currentUrl)return 27===t.keyCode?(e.hide(),!1):void 0}))},methods:{show:function(e){this.currentUrl=e,this.$refs.inner.focus()},hide:function(){this.currentUrl=null,this.$refs.inner.blur(),this.center=!1},loaded:function(){this.$refs.image.offsetHeight<this.$refs.inner.offsetHeight&&(this.center=!0)},report:function(){this.$eventHub.$emit("report",this.currentUrl),this.hide()}}};var Kc=Ca(Yc,Wc,[],!1,null,"57287330",null);Kc.options.__file="components/widgets/Lightbox.vue";const Qc=Kc.exports;var Jc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["modal",e.shown?"d-block":""],on:{click:e.hideClick}},[n("div",{staticClass:"modal-dialog modal-dialog-centered",attrs:{role:"document"}},[n("div",{staticClass:"modal-content shadow"},[n("div",{staticClass:"modal-header"},[n("p",{staticClass:"h5 modal-title"},[n("Icon",{attrs:{v:"map-marker-question"}}),e._v("\n "+e._s(e.$t("confirm.header"))+"\n ")],1)]),e._v(" "),n("div",{staticClass:"modal-body"},[n("p",{staticClass:"py-5 text-center",domProps:{innerHTML:e._s(e.message)}})]),e._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-outline-dark",on:{click:e.cancel}},[e._v("\n "+e._s(e.$t("confirm.no"))+"\n ")]),e._v(" "),n("button",{class:"btn btn-"+(e.color||"primary"),on:{click:e.confirm}},[e._v("\n "+e._s(e.$t("confirm.yes"))+"\n ")])])])])])};Jc._withStripped=!0;const Zc={data:function(){return{shown:!1,message:void 0,resolve:void 0,reject:void 0,color:null}},mounted:function(){var e=this;Xo()(document).on("keyup",(function(t){27===t.keyCode?e.cancel():13===t.keyCode&&e.confirm()}))},methods:{show:function(e,t,n,r){this.message=e,this.resolve=n,this.reject=r,this.color=t,this.shown=!0},confirm:function(){var e=this.resolve;this.shown=!1,this.message=void 0,this.resolve=void 0,this.reject=void 0,this.color=null,e&&e()},cancel:function(e){var t=this.reject;this.shown=!1,this.message=void 0,this.resolve=void 0,this.reject=void 0,this.color=null,t&&t()},hideClick:function(e){e.target===this.$el&&this.cancel()}}};var Xc=Ca(Zc,Jc,[],!1,null,"12406256",null);Xc.options.__file="components/widgets/Confirm.vue";const eu=Xc.exports;var tu=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"jumbotron d-flex"},[n("div",{staticClass:"container align-self-center"},[n("h2",[e._v(e._s(e.$t("notfound.header")))]),e._v(" "),n("p",[e._v(e._s(e.$t("notfound.text")))])])])])};tu._withStripped=!0;var nu=Ca({},tu,[],!1,null,"76538916",null);nu.options.__file="components/pages/NotFound.vue";const ru=nu.exports;var ou=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"d-flex justify-content-between align-items-center flex-column"},[n("div",{staticClass:"d-flex justify-content-between align-items-center mb-4"},[n("div",{staticClass:"alert alert-warning"},[n("h2",[n("span",[n("Icon",{attrs:{v:"exclamation-triangle"}})],1),e._v("\n Maintenance\n ")]),e._v(" "),e._m(0)])])])};ou._withStripped=!0;var iu=Ca({},ou,[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("p",[e._v("\n The server is currently unavailable."),n("br"),e._v("\n Please try again in a few minutes.\n ")])}],!1,null,null,null);iu.options.__file="components/pages/Maintenance.vue";const au=iu.exports;var su,lu=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["modal",e.shown?"d-block":""],on:{click:e.hideClick}},[n("div",{staticClass:"modal-dialog modal-dialog-centered",attrs:{role:"document"}},[n("div",{staticClass:"modal-content shadow"},[n("Form",{on:{submit:e.confirm},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"modal-header"},[n("p",{staticClass:"h5 modal-title"},[n("Icon",{attrs:{v:"spider"}}),e._v("\n "+e._s(e.$t("report.header"))+"\n ")],1)]),e._v(" "),n("div",{staticClass:"modal-body"},[n("FormGroup",{attrs:{error:t.errors.reasons},scopedSlots:e._u([{key:"default",fn:function(t){return e._l(e.reasonOptions,(function(t){return n("label",{staticClass:"custom-control custom-checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.reasons,expression:"reasons"}],attrs:{type:"checkbox"},domProps:{value:t,checked:Array.isArray(e.reasons)?e._i(e.reasons,t)>-1:e.reasons},on:{change:function(n){var r=e.reasons,o=n.target,i=!!o.checked;if(Array.isArray(r)){var a=t,s=e._i(r,a);o.checked?s<0&&(e.reasons=r.concat([a])):s>-1&&(e.reasons=r.slice(0,s).concat(r.slice(s+1)))}else e.reasons=i}}}),e._v("\n "+e._s(e.$t("report.reason."+t))+"\n ")])}))}}],null,!0)}),e._v(" "),n("FormGroup",{attrs:{error:t.errors.extraInfo},scopedSlots:e._u([{key:"default",fn:function(t){return[n("label",{attrs:{for:"extraInfo"}},[e._v(e._s(e.$t("report.extraInfo")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.extraInfo,expression:"extraInfo"}],class:t.controlClass,attrs:{maxlength:"100",id:"extraInfo",required:""},domProps:{value:e.extraInfo},on:{input:function(t){t.target.composing||(e.extraInfo=t.target.value)}}})]}}],null,!0)})],1),e._v(" "),e.saved?e._e():n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-outline-dark",on:{click:function(t){return t.preventDefault(),e.cancel.apply(null,arguments)}}},[e._v("\n "+e._s(e.$t("report.cancel"))+"\n ")]),e._v(" "),n("button",{staticClass:"btn btn-primary"},[e._v("\n "+e._s(e.$t("report.send"))+"\n ")])])]}}])})],1)])])};lu._withStripped=!0;const cu={components:{Form:Ra,FormGroup:Za},data:function(){return{shown:!1,saved:!1,object:null,reasons:[],extraInfo:"",reasonOptions:["spam","hate","misinformation","harassment","impersonation","illegal","totalitarian","copyright"]}},mounted:function(){var e=this;Xo()(document).on("keyup",(function(t){e.shown&&(27===t.keyCode?e.cancel():13===t.keyCode&&e.confirm())}))},methods:{show:function(e){this.object=e,this.reasons=[],this.shown=!0},confirm:function(e){var t,n,r=this;this.$apollo.mutate({mutation:ma(su||(t=["\n mutation ReportAbuse($object: String!, $reasons: [String!]!, $extraInfo: String) {\n reportAbuse(object: $object, reasons: $reasons, extraInfo: $extraInfo)\n }\n "],n||(n=t.slice(0)),su=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}})))),variables:{object:this.object,reasons:this.reasons,extraInfo:this.extraInfo}}).then((function(t){e.success(r.$t("report.sent")),r.saved=!0,setTimeout((function(t){e.clear(),r.shown=!1,r.saved=!1}),2e3)})).catch((function(t){e.validate(t)}
2)).catch((function(t){e.error()}))},cancel:function(e){this.shown=!1},hideClick:function(e){e.target===this.$el&&this.cancel()}}};var uu=Ca(cu,lu,[],!1,null,"49df1dfb",null);uu.options.__file="components/fragments/Report.vue";const du=uu.exports;var fu=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["version-checker",{"d-none":!e.shown}]},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-body"},[n("h5",[n("Twemoji",[e._v(e._s(e.$t("newVersion.header")))])],1),e._v(" "),n("p",[n("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.reload.apply(null,arguments)}}},[n("Icon",{attrs:{v:"redo"}}),e._v("\n "+e._s(e.$t("newVersion.refresh"))+"\n ")],1),e._v("\n "+e._s(e.$t("newVersion.refreshInstruction"))+"\n ")]),e._v(" "),n("p",{staticClass:"small text-right mb-0"},[n("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.dismiss.apply(null,arguments)}}},[n("Icon",{attrs:{v:"times"}}),e._v("\n "+e._s(e.$t("newVersion.dismiss"))+"\n ")],1)])])])])};fu._withStripped=!0;var pu=Ca({components:{Twemoji:Ol},data:function(){return{shown:!1}},mounted:function(){var e=this;console.log("Current version: 135");var t=setInterval((function(n){var r,o,i,a;(r="GET",o="https://teamlocked.men/version.json?"+ +new Date,new Promise(((e,t)=>{const n=new XMLHttpRequest;let s;n.open(r,o,!0),ba(a||{},((e,t)=>n.setRequestHeader(t,e))),n.onload=()=>{n.status>=400?t(n):e(n.responseText,n)},n.onerror=()=>t(n),i instanceof HTMLElement?s=new FormData(i):i instanceof FormData?s=i:(s=new FormData,ba(i,((e,t)=>s.append(t,e)))),n.send(s)}))).then((function(n){var r=parseInt(n.trim());r>135&&(console.log("New version: "+r),e.shown=!0,clearInterval(t))}))}),3e5)},methods:{dismiss:function(){this.shown=!1},reload:function(){window.location.href=window.location.href.replace(/#.*$/,""),window.location.reload(!0)}}},fu,[],!1,null,"5922e7b8",null);pu.options.__file="components/widgets/VersionChecker.vue";const hu=pu.exports,mu=__webpack_require__.p+"images/favicon.f664394a.png",vu=__webpack_require__.p+"images/favicon-safe.bc03e4d8.png";var gu,yu;function bu(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return _u(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function _u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function wu(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var ku=["member"],xu=["login","loginMfa","finishRegistration","confirmEmail"];var Cu=Ca({components:{Nav:Pc,Footer:zc,Consent:Gc,Lightbox:Qc,Confirm:eu,NotFound:ru,Maintenance:au,Report:du,VersionChecker:hu},mixins:[Nc],computed:{maintenanceMode:function(){return this.$appState&&this.$appState.maintenanceMode}},data:function(){return{hasConsent:!0===Jo.get("consent"),fullPage:this.isFullPage(this.$route),notFound:!1,bannedUntil:null,bannedReason:null}},mounted:function(){var e=this;this.setMode(this.detectDark()),this.redirections(),this.$eventHub.$on("maintenance",(function(t){e.enableMaintenanceMode()})),this.maintenanceMode&&this.goMaintenanceRoute(),this.$eventHub.$on("accessDenied",(function(t){e.$router.push({name:"login"})})),this.$eventHub.$on("notFound",(function(t){e.notFound=!0})),this.$eventHub.$on("banned",(function(t,n){e.bannedUntil=t,e.bannedReason=n})),this.$eventHub.$on("report",(function(t){e.$refs.report.show(t)})),this.$router.beforeEach((function(t,n,r){e.notFound=!1,r()})),this.watchScroll(),window.onscroll=this.watchScroll,window.onresize=this.watchScroll,Vo.prototype.$confirm=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"primary";return new Promise((function(r,o){e.$refs.confirm.show(t,n,r,o)}))},setInterval((function(t){if(e.$user){var n=[];ba(e.$onlineComponents,(function(e,t){e>0&&n.push(t)})),e.$apollo.query({query:ma(gu||(gu=wu(["\n query CheckIfOnline($usernames: [String!]!) {\n lastOnlines: checkIfOnline(usernames: $usernames)\n }\n "]))),variables:{usernames:n}}).then((function(t){ba(JSON.parse(t.data.lastOnlines),(function(t,n){e.$eventHub.$emit("user-last-online",n,t)}))}))}}),3e5);var t=Jo.get("hideBranding")||!1;this.setFavicon(t?vu:mu),this.$eventHub.$on("set-hide-branding",(function(t){e.setFavicon(t?vu:mu)}))},methods:{setConsent:function(e){this.hasConsent=e},enableMaintenanceMode:function(){this.$appState&&(this.$appState.maintenanceMode=!0),this.goMaintenanceRoute()},goMaintenanceRoute:function(){"maintenance"!==this.$route.name&&this.$router.replace({name:"maintenance"})},isFullPage:function(e){var t,n=bu(e.matched);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(ku.includes(r.name))return!0}}catch(e){n.e(e)}finally{n.f()}return!1},redirections:function(){var e=this,t=this.shouldRedirect(this.$route);t&&this.$router.push(t),this.$router.beforeEach((function(t,n,r){xu.includes(t.name)||Jo.set("redirectAfterLogin",{name:t.name,params:t.params}),"home"===t.name&&Jo.remove("redirectAfterLogin");var o=e.shouldRedirect(t);o?e.$router.push(o):r()}
vendor: 26,879 bytes, line 2
2))},shouldRedirect:function(e){return this.$user||!this.$preMfaUser||["loginMfa"].includes(e.name)?!this.$user||this.$user.email&&this.$user.acceptedTerms||["finishRegistration","confirmEmail"].includes(e.name)?null:{name:"finishRegistration"}:{name:"loginMfa"}},watchScroll:function(){(document.body.scrollTop||document.documentElement.scrollTop)>=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)-window.innerHeight-1200&&this.$eventHub.$emit("scrollBottom")},enableAccount:function(){var e=this;this.$apollo.mutate({mutation:ma(yu||(yu=wu(["\n mutation {\n enableAccount\n }\n "])))}).then((function(t){e.$user.disabled=!1,window.location.reload()})).catch((function(e){alert(e)}))},logout:function(){Jo.remove("user"),window.location.reload()},setFavicon:function(e){var t=document.querySelector("link[rel*='icon']")||document.createElement("link");t.type="image/x-icon",t.rel="shortcut icon",t.href=e,document.getElementsByTagName("head")[0].appendChild(t)}},watch:{$route:function(e){this.fullPage=this.isFullPage(e)},maintenanceMode:function(e){e&&this.goMaintenanceRoute()}}},Go,[],!1,null,null,null);Cu.options.__file="components/App.vue";const Su=Cu.exports;var Eu=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"];function Tu(e,t){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+e),t&&console.warn(t.stack))}var Ou=Array.isArray;function Iu(e){return null!==e&&"object"==typeof e}function Au(e){return"string"==typeof e}var Du=Object.prototype.toString;function Pu(e){return"[object Object]"===Du.call(e)}function Mu(e){return null==e}function $u(e){return"function"==typeof e}function Nu(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=null,r=null;return 1===e.length?Iu(e[0])||Ou(e[0])?r=e[0]:"string"==typeof e[0]&&(n=e[0]):2===e.length&&("string"==typeof e[0]&&(n=e[0]),(Iu(e[1])||Ou(e[1]))&&(r=e[1])),{locale:n,params:r}}function Ru(e){return JSON.parse(JSON.stringify(e))}function Lu(e,t){return!!~e.indexOf(t)}var ju=Object.prototype.hasOwnProperty;function Fu(e,t){return ju.call(e,t)}function Bu(e){for(var t=arguments,n=Object(e),r=1;r<arguments.length;r++){var o=t[r];if(null!=o){var i=void 0;for(i in o)Fu(o,i)&&(Iu(o[i])?n[i]=Bu(n[i],o[i]):n[i]=o[i])}}return n}function qu(e,t){if(e===t)return!0;var n=Iu(e),r=Iu(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var o=Ou(e),i=Ou(t);if(o&&i)return e.length===t.length&&e.every((function(e,n){return qu(e,t[n])}));if(o||i)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every((function(n){return qu(e[n],t[n])}))}catch(e){return!1}}var Hu={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(e,t){var n=t.data,r=t.parent,o=t.props,i=t.slots,a=r.$i18n;if(a){var s=o.path,l=o.locale,c=o.places,u=i(),d=a.i(s,l,function(e){var t;for(t in e)if("default"!==t)return!1;return Boolean(t)}(u)||c?function(e,t){var n=t?function(e){0;return Array.isArray(e)?e.reduce(Uu,{}):Object.assign({},e)}(t):{};if(!e)return n;e=e.filter((function(e){return e.tag||""!==e.text.trim()}));var r=e.every(Vu);0;return e.reduce(r?zu:Uu,n)}(u.default,c):u),f=o.tag&&!0!==o.tag||!1===o.tag?o.tag:"span";return f?e(f,n,d):d}}};function zu(e,t){return t.data&&t.data.attrs&&t.data.attrs.place&&(e[t.data.attrs.place]=t),e}function Uu(e,t,n){return e[n]=t,e}function Vu(e){return Boolean(e.data&&e.data.attrs&&e.data.attrs.place)}var Gu,Wu={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(e,t){var n=t.props,r=t.parent,o=t.data,i=r.$i18n;if(!i)return null;var a=null,s=null;Au(n.format)?a=n.format:Iu(n.format)&&(n.format.key&&(a=n.format.key),s=Object.keys(n.format).reduce((function(e,t){var r;return Lu(Eu,t)?Object.assign({},e,((r={})[t]=n.format[t],r)):e}),null));var l=n.locale||i.locale,c=i._ntp(n.value,l,a,s),u=c.map((function(e,t){var n,r=o.scopedSlots&&o.scopedSlots[e.type];return r?r(((n={})[e.type]=e.value,n.index=t,n.parts=c,n)):e.value})),d=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return d?e(d,{attrs:o.attrs,class:o.class,staticClass:o.staticClass},u):u}};function Yu(e,t,n){Ju(e,n)&&Zu(e,t,n)}function Ku(e,t,n,r){if(Ju(e,n)){var o=n.context.$i18n;(function(e,t){var n=t.context;return e._locale===n.$i18n.locale})(e,n)&&qu(t.value,t.oldValue)&&qu(e._localeMessage,o.getLocaleMessage(o.locale))||Zu(e,t,n)}}function Qu(e,t,n,r){if(n.context){var o=n.context.$i18n||{};t.modifiers.preserve||o.preserveDirectiveContent||(e.textContent=""),e._vt=void 0,delete e._vt,e._locale=void 0,delete e._locale,e._localeMessage=void 0,delete e._localeMessage}else Tu("Vue instance does not exists in VNode context")}function Ju(e,t){var n=t.context;return n?!!n.$i18n||(Tu("VueI18n instance does not exists in Vue instance"),!1):(Tu("Vue instance does not exists in VNode context"),!1)}function Zu(e,t,n){var r,o,i=function(e){var t,n,r,o;Au(e)?t=e:Pu(e)&&(t=e.path,n=e.locale,r=e.args,o=e.choice);return{path:t,locale:n,args:r,choice:o}}(t.value),a=i.path,s=i.locale,l=i.args,c=i.choice;if(a||s||l)if(a){var u=n.context;e._vt=e.textContent=null!=c?(r=u.$i18n).tc.apply(r,[a,c].concat(Xu(s,l))):(o=u.$i18n).t.apply(o,[a].concat(Xu(s,l))),e._locale=u.$i18n.locale,e._localeMessage=u.$i18n.getLocaleMessage(u.$i18n.locale)}else Tu("`path` is required in v-t directive");else Tu("value type not supported")}function Xu(e,t){var n=[];return e&&n.push(e),t&&(Array.isArray(t)||Pu(t))&&n.push(t),n}function ed(e,t){void 0===t&&(t={bridge:!1}),ed.installed=!0;(Gu=e).version&&Number(Gu.version.split(".")[0]);(function(e){e.prototype.hasOwnProperty("$i18n")||Object.defineProperty(e.prototype,"$i18n",{get:function(){return this._i18n}}),e.prototype.$t=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var r=this.$i18n;return r._t.apply(r,[e,r.locale,r._getMessages(),this].concat(t))},e.prototype.$tc=function(e,t){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];var o=this.$i18n;return o._tc.apply(o,[e,o.locale,o._getMessages(),this,t].concat(n))},e.prototype.$te=function(e,t){var n=this.$i18n;return n._te(e,n.locale,n._getMessages(),t)},e.prototype.$d=function(e){for(var t,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(t=this.$i18n).d.apply(t,[e].concat(n))},e.prototype.$n=function(e){for(var t,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(t=this.$i18n).n.apply(t,[e].concat(n))}})(Gu),Gu.mixin(function(e){function t(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===e&&(e=!1),e?{mounted:t}:{beforeCreate:function(){var e=this.$options;if(e.i18n=e.i18n||(e.__i18nBridge||e.__i18n?{}:null),e.i18n){if(e.i18n instanceof vd){if(e.__i18nBridge||e.__i18n)try{var t=e.i18n&&e.i18n.messages?e.i18n.messages:{};(e.__i18nBridge||e.__i18n).forEach((function(e){t=Bu(t,JSON.parse(e))})),Object.keys(t).forEach((function(n){e.i18n.mergeLocaleMessage(n,t[n])}))}catch(e){}this._i18n=e.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(Pu(e.i18n)){var n=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof vd?this.$root.$i18n:null;if(n&&(e.i18n.root=this.$root,e.i18n.formatter=n.formatter,e.i18n.fallbackLocale=n.fallbackLocale,e.i18n.formatFallbackMessages=n.formatFallbackMessages,e.i18n.silentTranslationWarn=n.silentTranslationWarn,e.i18n.silentFallbackWarn=n.silentFallbackWarn,e.i18n.pluralizationRules=n.pluralizationRules,e.i18n.preserveDirectiveContent=n.preserveDirectiveContent),e.__i18nBridge||e.__i18n)try{var r=e.i18n&&e.i18n.messages?e.i18n.messages:{};(e.__i18nBridge||e.__i18n).forEach((function(e){r=Bu(r,JSON.parse(e))})),e.i18n.messages=r}catch(e){}var o=e.i18n.sharedMessages;o&&Pu(o)&&(e.i18n.messages=Bu(e.i18n.messages,o)),this._i18n=new vd(e.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===e.i18n.sync||e.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),n&&n.onComponentInstanceCreated(this._i18n)}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof vd?this._i18n=this.$root.$i18n:e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof vd&&(this._i18n=e.parent.$i18n)},beforeMount:function(){var e=this.$options;e.i18n=e.i18n||(e.__i18nBridge||e.__i18n?{}:null),e.i18n?(e.i18n instanceof vd||Pu(e.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof vd||e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof vd)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:t,beforeDestroy:function(){if(this._i18n){var e=this;this.$nextTick((function(){e._subscribing&&(e._i18n.unsubscribeDataChanging(e),delete e._subscribing),e._i18nWatcher&&(e._i18nWatcher(),e._i18n.destroyVM(),delete e._i18nWatcher),e._localeWatcher&&(e._localeWatcher(),delete e._localeWatcher)}))}}}}(t.bridge)),Gu.directive("t",{bind:Yu,update:Ku,unbind:Qu}),Gu.component(Hu.name,Hu),Gu.component(Wu.name,Wu),Gu.config.optionMergeStrategies.i18n=function(e,t){return void 0===t?e:t}}var td=function(){this._caches=Object.create(null)};td.prototype.interpolate=function(e,t){if(!t)return[e];var n=this._caches[e];return n||(n=function(e){var t=[],n=0,r="";for(;n<e.length;){var o=e[n++];if("{"===o){r&&t.push({type:"text",value:r}),r="";var i="";for(o=e[n++];void 0!==o&&"}"!==o;)i+=o,o=e[n++];var a="}"===o,s=nd.test(i)?"list":a&&rd.test(i)?"named":"unknown";t.push({value:i,type:s})}else"%"===o?"{"!==e[n]&&(r+=o):r+=o}return r&&t.push({type:"text",value:r}),t}(e),this._caches[e]=n),function(e,t){var n=[],r=0,o=Array.isArray(t)?"list":Iu(t)?"named":"unknown";if("unknown"===o)return n;for(;r<e.length;){var i=e[r];switch(i.type){case"text":n.push(i.value);break;case"list":n.push(t[parseInt(i.value,10)]);break;case"named":"named"===o&&n.push(t[i.value])}r++}return n}(n,t)};var nd=/^(?:\d)+/,rd=/^(?:\w)+/;var od=[];od[0]={ws:[0],ident:[3,0],"[":[4],eof:[7]},od[1]={ws:[1],".":[2],"[":[4],eof:[7]},od[2]={ws:[2],ident:[3,0],0:[3,0],number:[3,0]},od[3]={ident:[3,0],0:[3,0],number:[3,0],ws:[1,1],".":[2,1],"[":[4,1],eof:[7,1]},od[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],eof:8,else:[4,0]},od[5]={"'":[4,0],eof:8,else:[5,0]},od[6]={'"':[4,0],eof:8,else:[6,0]};var id=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ad(e){if(null==e)return"eof";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function sd(e){var t,n,r,o=e.trim();return("0"!==e.charAt(0)||!isNaN(e))&&(r=o,id.test(r)?(n=(t=o).charCodeAt(0))!==t.charCodeAt(t.length-1)||34!==n&&39!==n?t:t.slice(1,-1):"*"+o)}var ld=function(){this._cache=Object.create(null)};ld.prototype.parsePath=function(e){var t=this._cache[e];return t||(t=function(e){var t,n,r,o,i,a,s,l=[],c=-1,u=0,d=0,f=[];function p(){var t=e[c+1];if(5===u&&"'"===t||6===u&&'"'===t)return c++,r="\\"+t,f[0](),!0}for(f[1]=function(){void 0!==n&&(l.push(n),n=void 0)},f[0]=function(){void 0===n?n=r:n+=r},f[2]=function(){f[0](),d++},f[3]=function(){if(d>0)d--,u=4,f[0]();else{if(d=0,void 0===n)return!1;if(!1===(n=sd(n)))return!1;f[1]()}};null!==u;)if(c++,"\\"!==(t=e[c])||!p()){if(o=ad(t),8===(i=(s=od[u])[o]||s.else||8))return;if(u=i[0],(a=f[i[1]])&&(r=void 0===(r=i[2])?t:r,!1===a()))return;if(7===u)return l}}(e),t&&(this._cache[e]=t)),t||[]},ld.prototype.getPathValue=function(e,t){if(!Iu(e))return null;var n=this.parsePath(t);if(0===n.length)return null;for(var r=n.length,o=e,i=0;i<r;){var a=o[n[i]];if(null==a)return null;o=a,i++}return o};var cd,ud=/<\/?[\w\s="/.':;#-\/]+>/,dd=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|./]+|\([\w\-_|./]+\)))/g,fd=/^@(?:\.([a-z]+))?:/,pd=/[()]/g,hd={upper:function(e){return e.toLocaleUpperCase()},lower:function(e){return e.toLocaleLowerCase()},capitalize:function(e){return""+e.charAt(0).toLocaleUpperCase()+e.substr(1)}},md=new td,vd=function(e){var t=this;void 0===e&&(e={}),!Gu&&"undefined"!=typeof window&&window.Vue&&ed(window.Vue);var n=e.locale||"en-US",r=!1!==e.fallbackLocale&&(e.fallbackLocale||"en-US"),o=e.messages||{},i=e.dateTimeFormats||e.datetimeFormats||{},a=e.numberFormats||{};this._vm=null,this._formatter=e.formatter||md,this._modifiers=e.modifiers||{},this._missing=e.missing||null,this._root=e.root||null,this._sync=void 0===e.sync||!!e.sync,this._fallbackRoot=void 0===e.fallbackRoot||!!e.fallbackRoot,this._formatFallbackMessages=void 0!==e.formatFallbackMessages&&!!e.formatFallbackMessages,this._silentTranslationWarn=void 0!==e.silentTranslationWarn&&e.silentTranslationWarn,this._silentFallbackWarn=void 0!==e.silentFallbackWarn&&!!e.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new ld,this._dataListeners=new Set,this._componentInstanceCreatedListener=e.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==e.preserveDirectiveContent&&!!e.preserveDirectiveContent,this.pluralizationRules=e.pluralizationRules||{},this._warnHtmlInMessage=e.warnHtmlInMessage||"off",this._postTranslation=e.postTranslation||null,this._escapeParameterHtml=e.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in e&&(this.__VUE_I18N_BRIDGE__=e.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(e,n){var r=Object.getPrototypeOf(t);if(r&&r.getChoiceIndex)return r.getChoiceIndex.call(t,e,n);var o,i;return t.locale in t.pluralizationRules?t.pluralizationRules[t.locale].apply(t,[e,n]):(o=e,i=n,o=Math.abs(o),2===i?o?o>1?1:0:1:o?Math.min(o,2):0)},this._exist=function(e,n){return!(!e||!n)&&(!Mu(t._path.getPathValue(e,n))||!!e[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(o).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,o[e])})),this._initVM({locale:n,fallbackLocale:r,messages:o,dateTimeFormats:i,numberFormats:a})},gd={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};vd.prototype._checkLocaleMessage=function(e,t,n){var r=function(e,t,n,o){if(Pu(n))Object.keys(n).forEach((function(i){var a=n[i];Pu(a)?(o.push(i),o.push("."),r(e,t,a,o),o.pop(),o.pop()):(o.push(i),r(e,t,a,o),o.pop())}));else if(Ou(n))n.forEach((function(n,i){Pu(n)?(o.push("["+i+"]"),o.push("."),r(e,t,n,o),o.pop(),o.pop()):(o.push("["+i+"]"),r(e,t,n,o),o.pop())}));else if(Au(n)){if(ud.test(n)){var i="Detected HTML in message '"+n+"' of keypath '"+o.join("")+"' at '"+t+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===e?Tu(i):"error"===e&&function(e,t){"undefined"!=typeof console&&(console.error("[vue-i18n] "+e),t&&console.error(t.stack))}(i)}}};r(t,e,n,[])},vd.prototype._initVM=function(e){var t=Gu.config.silent;Gu.config.silent=!0,this._vm=new Gu({data:e,__VUE18N__INSTANCE__:!0}),Gu.config.silent=t},vd.prototype.destroyVM=function(){this._vm.$destroy()},vd.prototype.subscribeDataChanging=function(e){this._dataListeners.add(e)},vd.prototype.unsubscribeDataChanging=function(e){!function(e,t){if(e.delete(t));}(this._dataListeners,e)},vd.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",(function(){for(var t,n,r=(t=e._dataListeners,n=[],t.forEach((function(e){return n.push(e)})),n),o=r.length;o--;)Gu.nextTick((function(){r[o]&&r[o].$forceUpdate()}))}),{deep:!0})},vd.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var e=this._vm;return this._root.$i18n.vm.$watch("locale",(function(t){e.$set(e,"locale",t),e.$forceUpdate()}),{immediate:!0})},vd.prototype.onComponentInstanceCreated=function(e){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(e,this)},gd.vm.get=function(){return this._vm},gd.messages.get=function(){return Ru(this._getMessages())},gd.dateTimeFormats.get=function(){return Ru(this._getDateTimeFormats())},gd.numberFormats.get=function(){return Ru(this._getNumberFormats())},gd.availableLocales.get=function(){return Object.keys(this.messages).sort()},gd.locale.get=function(){return this._vm.locale},gd.locale.set=function(e){this._vm.$set(this._vm,"locale",e)},gd.fallbackLocale.get=function(){return this._vm.fallbackLocale},gd.fallbackLocale.set=function(e){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",e)},gd.formatFallbackMessages.get=function(){return this._formatFallbackMessages},gd.formatFallbackMessages.set=function(e){this._formatFallbackMessages=e},gd.missing.get=function(){return this._missing},gd.missing.set=function(e){this._missing=e},gd.formatter.get=function(){return this._formatter},gd.formatter.set=function(e){this._formatter=e},gd.silentTranslationWarn.get=function(){return this._silentTranslationWarn},gd.silentTranslationWarn.set=function(e){this._silentTranslationWarn=e},gd.silentFallbackWarn.get=function(){return this._silentFallbackWarn},gd.silentFallbackWarn.set=function(e){this._silentFallbackWarn=e},gd.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},gd.preserveDirectiveContent.set=function(e){this._preserveDirectiveContent=e},gd.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},gd.warnHtmlInMessage.set=function(e){var t=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=e,n!==e&&("warn"===e||"error"===e)){var r=this._getMessages();Object.keys(r).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,r[e])}))}},gd.postTranslation.get=function(){return this._postTranslation},gd.postTranslation.set=function(e){this._postTranslation=e},gd.sync.get=function(){return this._sync},gd.sync.set=function(e){this._sync=e},vd.prototype._getMessages=function(){return this._vm.messages},vd.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},vd.prototype._getNumberFormats=function(){return this._vm.numberFormats},vd.prototype._warnDefault=function(e,t,n,r,o,i){if(!Mu(n))return n;if(this._missing){var a=this._missing.apply(null,[e,t,r,o]);if(Au(a))return a}else 0;if(this._formatFallbackMessages){var s=Nu.apply(void 0,o);return this._render(t,i,s.params,t)}return t},vd.prototype._isFallbackRoot=function(e){return!e&&!Mu(this._root)&&this._fallbackRoot},vd.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn},vd.prototype._isSilentFallback=function(e,t){return this._isSilentFallbackWarn(t)&&(this._isFallbackRoot()||e!==this.fallbackLocale)},vd.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn},vd.prototype._interpolate=function(e,t,n,r,o,i,a){if(!t)return null;var s,l=this._path.getPathValue(t,n);if(Ou(l)||Pu(l))return l;if(Mu(l)){if(!Pu(t))return null;if(!Au(s=t[n])&&!$u(s))return null}else{if(!Au(l)&&!$u(l))return null;s=l}return Au(s)&&(s.indexOf("@:")>=0||s.indexOf("@.")>=0)&&(s=this._link(e,t,s,r,"raw",i,a)),this._render(s,o,i,n)},vd.prototype._link=function(e,t,n,r,o,i,a){var s=n,l=s.match(dd);for(var c in l)if(l.hasOwnProperty(c)){var u=l[c],d=u.match(fd),f=d[0],p=d[1],h=u.replace(f,"").replace(pd,"");if(Lu(a,h))return s;a.push(h);var m=this._interpolate(e,t,h,r,"raw"===o?"string":o,"raw"===o?void 0:i,a);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");var v=this._root.$i18n;m=v._translate(v._getMessages(),v.locale,v.fallbackLocale,h,r,o,i)}m=this._warnDefault(e,h,m,r,Ou(i)?i:[i],o),this._modifiers.hasOwnProperty(p)?m=this._modifiers[p](m):hd.hasOwnProperty(p)&&(m=hd[p](m)),a.pop(),s=m?s.replace(u,m):s}return s},vd.prototype._createMessageContext=function(e,t,n,r){var o=this,i=Ou(e)?e:[],a=Iu(e)?e:{},s=this._getMessages(),l=this.locale;return{list:function(e){return i[e]},named:function(e){return a[e]},values:e,formatter:t,path:n,messages:s,locale:l,linked:function(e){return o._interpolate(l,s[l]||{},e,null,r,void 0,[e])}}},vd.prototype._render=function(e,t,n,r){if($u(e))return e(this._createMessageContext(n,this._formatter||md,r,t));var o=this._formatter.interpolate(e,n,r);return o||(o=md.interpolate(e,n,r)),"string"!==t||Au(o)?o:o.join("")},vd.prototype._appendItemToChain=function(e,t,n){var r=!1;return Lu(e,t)||(r=!0,t&&(r="!"!==t[t.length-1],t=t.replace(/!/g,""),e.push(t),n&&n[t]&&(r=n[t]))),r},vd.prototype._appendLocaleToChain=function(e,t,n){var r,o=t.split("-");do{var i=o.join("-");r=this._appendItemToChain(e,i,n),o.splice(-1,1)}while(o.length&&!0===r);return r},vd.prototype._appendBlockToChain=function(e,t,n){for(var r=!0,o=0;o<t.length&&"boolean"==typeof r;o++){var i=t[o];Au(i)&&(r=this._appendLocaleToChain(e,i,n))}return r},vd.prototype._getLocaleChain=function(e,t){if(""===e)return[];this._localeChainCache||(this._localeChainCache={});var n=this._localeChainCache[e];if(!n){t||(t=this.fallbackLocale),n=[];for(var r,o=[e];Ou(o);)o=this._appendBlockToChain(n,o,t);(o=Au(r=Ou(t)?t:Iu(t)?t.default?t.default:null:t)?[r]:r)&&this._appendBlockToChain(n,o,null),this._localeChainCache[e]=n}return n},vd.prototype._translate=function(e,t,n,r,o,i,a){for(var s,l=this._getLocaleChain(t,n),c=0;c<l.length;c++){var u=l[c];if(!Mu(s=this._interpolate(u,e[u],r,o,i,a,[r])))return s}return null},vd.prototype._t=function(e,t,n,r){for(var o,i=[],a=arguments.length-4;a-- >0;)i[a]=arguments[a+4];if(!e)return"";var s,l=Nu.apply(void 0,i);this._escapeParameterHtml&&(l.params=(null!=(s=l.params)&&Object.keys(s).forEach((function(e){"string"==typeof s[e]&&(s[e]=s[e].replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"))})),s));var c=l.locale||t,u=this._translate(n,c,this.fallbackLocale,e,r,"string",l.params);if(this._isFallbackRoot(u)){if(!this._root)throw Error("unexpected error");return(o=this._root).$t.apply(o,[e].concat(i))}return u=this._warnDefault(c,e,u,r,i,"string"),this._postTranslation&&null!=u&&(u=this._postTranslation(u,e)),u},vd.prototype.t=function(e){for(var t,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(t=this)._t.apply(t,[e,this.locale,this._getMessages(),null].concat(n))},vd.prototype._i=function(e,t,n,r,o){var i=this._translate(n,t,this.fallbackLocale,e,r,"raw",o);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(e,t,o)}return this._warnDefault(t,e,i,r,[o],"raw")},vd.prototype.i=function(e,t,n){return e?(Au(t)||(t=this.locale),this._i(e,t,this._getMessages(),null,n)):""},vd.prototype._tc=function(e,t,n,r,o){for(var i,a=[],s=arguments.length-5;s-- >0;)a[s]=arguments[s+5];if(!e)return"";void 0===o&&(o=1);var l={count:o,n:o},c=Nu.apply(void 0,a);return c.params=Object.assign(l,c.params),a=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((i=this)._t.apply(i,[e,t,n,r].concat(a)),o)},vd.prototype.fetchChoice=function(e,t){if(!e||!Au(e))return null;var n=e.split("|");return n[t=this.getChoiceIndex(t,n.length)]?n[t].trim():e},vd.prototype.tc=function(e,t){for(var n,r=[],o=arguments.length-2;o-- >0;)r[o]=arguments[o+2];return(n=this)._tc.apply(n,[e,this.locale,this._getMessages(),null,t].concat(r))},vd.prototype._te=function(e,t,n){for(var r=[],o=arguments.length-3;o-- >0;)r[o]=arguments[o+3];var i=Nu.apply(void 0,r).locale||t;return this._exist(n[i],e)},vd.prototype.te=function(e,t){return this._te(e,this.locale,this._getMessages(),t)},vd.prototype.getLocaleMessage=function(e){return Ru(this._vm.messages[e]||{})},vd.prototype.setLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,t)},vd.prototype.mergeLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,Bu(void 0!==this._vm.messages[e]&&Object.keys(this._vm.messages[e]).length?Object.assign({},this._vm.messages[e]):{},t))},vd.prototype.getDateTimeFormat=function(e){return Ru(this._vm.dateTimeFormats[e]||{})},vd.prototype.setDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,t),this._clearDateTimeFormat(e,t)},vd.prototype.mergeDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,Bu(this._vm.dateTimeFormats[e]||{},t)),this._clearDateTimeFormat(e,t)},vd.prototype._clearDateTimeFormat=function(e,t){for(var n in t){var r=e+"__"+n;this._dateTimeFormatters.hasOwnProperty(r)&&delete this._dateTimeFormatters[r]}},vd.prototype._localizeDateTime=function(e,t,n,r,o){for(var i=t,a=r[i],s=this._getLocaleChain(t,n),l=0;l<s.length;l++){var c=s[l];if(i=c,!Mu(a=r[c])&&!Mu(a[o]))break}if(Mu(a)||Mu(a[o]))return null;var u=a[o],d=i+"__"+o,f=this._dateTimeFormatters[d];return f||(f=this._dateTimeFormatters[d]=new Intl.DateTimeFormat(i,u)),f.format(e)},vd.prototype._d=function(e,t,n){if(!n)return new Intl.DateTimeFormat(t).format(e);var r=this._localizeDateTime(e,t,this.fallbackLocale,this._getDateTimeFormats(),n);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(e,n,t)}return r||""},vd.prototype.d=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var r=this.locale,o=null;return 1===t.length?Au(t[0])?o=t[0]:Iu(t[0])&&(t[0].locale&&(r=t[0].locale),t[0].key&&(o=t[0].key)):2===t.length&&(Au(t[0])&&(o=t[0]),Au(t[1])&&(r=t[1])),this._d(e,r,o)},vd.prototype.getNumberFormat=function(e){return Ru(this._vm.numberFormats[e]||{})},vd.prototype.setNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,t),this._clearNumberFormat(e,t)},vd.prototype.mergeNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,Bu(this._vm.numberFormats[e]||{},t)),this._clearNumberFormat(e,t)},vd.prototype._clearNumberFormat=function(e,t){for(var n in t){var r=e+"__"+n;this._numberFormatters.hasOwnProperty(r)&&delete this._numberFormatters[r]}},vd.prototype._getNumberFormatter=function(e,t,n,r,o,i){for(var a=t,s=r[a],l=this._getLocaleChain(t,n),c=0;c<l.length;c++){var u=l[c];
2if(a=u,!Mu(s=r[u])&&!Mu(s[o]))break}if(Mu(s)||Mu(s[o]))return null;var d,f=s[o];if(i)d=new Intl.NumberFormat(a,Object.assign({},f,i));else{var p=a+"__"+o;(d=this._numberFormatters[p])||(d=this._numberFormatters[p]=new Intl.NumberFormat(a,f))}return d},vd.prototype._n=function(e,t,n,r){if(!vd.availabilities.numberFormat)return"";if(!n)return(r?new Intl.NumberFormat(t,r):new Intl.NumberFormat(t)).format(e);var o=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,r),i=o&&o.format(e);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(e,Object.assign({},{key:n,locale:t},r))}return i||""},vd.prototype.n=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var r=this.locale,o=null,i=null;return 1===t.length?Au(t[0])?o=t[0]:Iu(t[0])&&(t[0].locale&&(r=t[0].locale),t[0].key&&(o=t[0].key),i=Object.keys(t[0]).reduce((function(e,n){var r;return Lu(Eu,n)?Object.assign({},e,((r={})[n]=t[0][n],r)):e}),null)):2===t.length&&(Au(t[0])&&(o=t[0]),Au(t[1])&&(r=t[1])),this._n(e,r,o,i)},vd.prototype._ntp=function(e,t,n,r){if(!vd.availabilities.numberFormat)return[];if(!n)return(r?new Intl.NumberFormat(t,r):new Intl.NumberFormat(t)).formatToParts(e);var o=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,r),i=o&&o.formatToParts(e);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(e,t,n,r)}return i||[]},Object.defineProperties(vd.prototype,gd),Object.defineProperty(vd,"availabilities",{get:function(){if(!cd){var e="undefined"!=typeof Intl;cd={dateTimeFormat:e&&void 0!==Intl.DateTimeFormat,numberFormat:e&&void 0!==Intl.NumberFormat}}return cd}}),vd.install=ed,vd.version="8.26.5";const yd=vd;function bd(e,t){for(var n in t)e[n]=t[n];return e}var _d=/[!'()*]/g,wd=function(e){return"%"+e.charCodeAt(0).toString(16)},kd=/%2C/g,xd=function(e){return encodeURIComponent(e).replace(_d,wd).replace(kd,",")};function Cd(e){try{return decodeURIComponent(e)}catch(e){0}return e}var Sd=function(e){return null==e||"object"==typeof e?e:String(e)};function Ed(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach((function(e){var n=e.replace(/\+/g," ").split("="),r=Cd(n.shift()),o=n.length>0?Cd(n.join("=")):null;void 0===t[r]?t[r]=o:Array.isArray(t[r])?t[r].push(o):t[r]=[t[r],o]})),t):t}function Td(e){var t=e?Object.keys(e).map((function(t){var n=e[t];if(void 0===n)return"";if(null===n)return xd(t);if(Array.isArray(n)){var r=[];return n.forEach((function(e){void 0!==e&&(null===e?r.push(xd(t)):r.push(xd(t)+"="+xd(e)))})),r.join("&")}return xd(t)+"="+xd(n)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}var Od=/\/?$/;function Id(e,t,n,r){var o=r&&r.options.stringifyQuery,i=t.query||{};try{i=Ad(i)}catch(e){}var a={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:i,params:t.params||{},fullPath:Md(t,o),matched:e?Pd(e):[]};return n&&(a.redirectedFrom=Md(n,o)),Object.freeze(a)}function Ad(e){if(Array.isArray(e))return e.map(Ad);if(e&&"object"==typeof e){var t={};for(var n in e)t[n]=Ad(e[n]);return t}return e}var Dd=Id(null,{path:"/"});function Pd(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function Md(e,t){var n=e.path,r=e.query;void 0===r&&(r={});var o=e.hash;return void 0===o&&(o=""),(n||"/")+(t||Td)(r)+o}function $d(e,t,n){return t===Dd?e===t:!!t&&(e.path&&t.path?e.path.replace(Od,"")===t.path.replace(Od,"")&&(n||e.hash===t.hash&&Nd(e.query,t.query)):!(!e.name||!t.name)&&(e.name===t.name&&(n||e.hash===t.hash&&Nd(e.query,t.query)&&Nd(e.params,t.params))))}function Nd(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var n=Object.keys(e).sort(),r=Object.keys(t).sort();return n.length===r.length&&n.every((function(n,o){var i=e[n];if(r[o]!==n)return!1;var a=t[n];return null==i||null==a?i===a:"object"==typeof i&&"object"==typeof a?Nd(i,a):String(i)===String(a)}))}function Rd(e){for(var t=0;t<e.matched.length;t++){var n=e.matched[t];for(var r in n.instances){var o=n.instances[r],i=n.enteredCbs[r];if(o&&i){delete n.enteredCbs[r];for(var a=0;a<i.length;a++)o._isBeingDestroyed||i[a](o)}}}}var Ld={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var n=t.props,r=t.children,o=t.parent,i=t.data;i.routerView=!0;for(var a=o.$createElement,s=n.name,l=o.$route,c=o._routerViewCache||(o._routerViewCache={}),u=0,d=!1;o&&o._routerRoot!==o;){var f=o.$vnode?o.$vnode.data:{};f.routerView&&u++,f.keepAlive&&o._directInactive&&o._inactive&&(d=!0),o=o.$parent}
2if(i.routerViewDepth=u,d){var p=c[s],h=p&&p.component;return h?(p.configProps&&jd(h,i,p.route,p.configProps),a(h,i,r)):a()}var m=l.matched[u],v=m&&m.components[s];if(!m||!v)return c[s]=null,a();c[s]={component:v},i.registerRouteInstance=function(e,t){var n=m.instances[s];(t&&n!==e||!t&&n===e)&&(m.instances[s]=t)},(i.hook||(i.hook={})).prepatch=function(e,t){m.instances[s]=t.componentInstance},i.hook.init=function(e){e.data.keepAlive&&e.componentInstance&&e.componentInstance!==m.instances[s]&&(m.instances[s]=e.componentInstance),Rd(l)};var g=m.props&&m.props[s];return g&&(bd(c[s],{route:l,configProps:g}),jd(v,i,l,g)),a(v,i,r)}};function jd(e,t,n,r){var o=t.props=function(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0}}(n,r);if(o){o=t.props=bd({},o);var i=t.attrs=t.attrs||{};for(var a in o)e.props&&a in e.props||(i[a]=o[a],delete o[a])}}function Fd(e,t,n){var r=e.charAt(0);if("/"===r)return e;if("?"===r||"#"===r)return t+e;var o=t.split("/");n&&o[o.length-1]||o.pop();for(var i=e.replace(/^\//,"").split("/"),a=0;a<i.length;a++){var s=i[a];".."===s?o.pop():"."!==s&&o.push(s)}return""!==o[0]&&o.unshift(""),o.join("/")}function Bd(e){return e.replace(/\/\//g,"/")}var qd=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},Hd=nf,zd=Yd,Ud=function(e,t){return Qd(Yd(e,t),t)},Vd=Qd,Gd=tf,Wd=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function Yd(e,t){for(var n,r=[],o=0,i=0,a="",s=t&&t.delimiter||"/";null!=(n=Wd.exec(e));){var l=n[0],c=n[1],u=n.index;if(a+=e.slice(i,u),i=u+l.length,c)a+=c[1];else{var d=e[i],f=n[2],p=n[3],h=n[4],m=n[5],v=n[6],g=n[7];a&&(r.push(a),a="");var y=null!=f&&null!=d&&d!==f,b="+"===v||"*"===v,_="?"===v||"*"===v,w=n[2]||s,k=h||m;r.push({name:p||o++,prefix:f||"",delimiter:w,optional:_,repeat:b,partial:y,asterisk:!!g,pattern:k?Zd(k):g?".*":"[^"+Jd(w)+"]+?"})}}return i<e.length&&(a+=e.substr(i)),a&&r.push(a),r}function Kd(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function Qd(e,t){for(var n=new Array(e.length),r=0;r<e.length;r++)"object"==typeof e[r]&&(n[r]=new RegExp("^(?:"+e[r].pattern+")$",ef(t)));return function(t,r){for(var o="",i=t||{},a=(r||{}).pretty?Kd:encodeURIComponent,s=0;s<e.length;s++){var l=e[s];if("string"!=typeof l){var c,u=i[l.name];if(null==u){if(l.optional){l.partial&&(o+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(qd(u)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(u)+"`");if(0===u.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var d=0;d<u.length;d++){if(c=a(u[d]),!n[s].test(c))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(c)+"`");o+=(0===d?l.prefix:l.delimiter)+c}}else{if(c=l.asterisk?encodeURI(u).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):a(u),!n[s].test(c))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+c+'"');o+=l.prefix+c}}else o+=l}return o}}function Jd(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function Zd(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function Xd(e,t){return e.keys=t,e}function ef(e){return e&&e.sensitive?"":"i"}function tf(e,t,n){qd(t)||(n=t||n,t=[]);for(var r=(n=n||{}).strict,o=!1!==n.end,i="",a=0;a<e.length;a++){var s=e[a];if("string"==typeof s)i+=Jd(s);else{var l=Jd(s.prefix),c="(?:"+s.pattern+")";t.push(s),s.repeat&&(c+="(?:"+l+c+")*"),i+=c=s.optional?s.partial?l+"("+c+")?":"(?:"+l+"("+c+"))?":l+"("+c+")"}}var u=Jd(n.delimiter||"/"),d=i.slice(-u.length)===u;return r||(i=(d?i.slice(0,-u.length):i)+"(?:"+u+"(?=$))?"),i+=o?"$":r&&d?"":"(?="+u+"|$)",Xd(new RegExp("^"+i,ef(n)),t)}function nf(e,t,n){return qd(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return Xd(e,t)}(e,t):qd(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(nf(e[o],t,n).source);return Xd(new RegExp("(?:"+r.join("|")+")",ef(n)),t)}(e,t,n):function(e,t,n){return tf(Yd(e,n),t,n)}
2(e,t,n)}Hd.parse=zd,Hd.compile=Ud,Hd.tokensToFunction=Vd,Hd.tokensToRegExp=Gd;var rf=Object.create(null);function of(e,t,n){t=t||{};try{var r=rf[e]||(rf[e]=Hd.compile(e));return"string"==typeof t.pathMatch&&(t[0]=t.pathMatch),r(t,{pretty:!0})}catch(e){return""}finally{delete t[0]}}function af(e,t,n,r){var o="string"==typeof e?{path:e}:e;if(o._normalized)return o;if(o.name){var i=(o=bd({},e)).params;return i&&"object"==typeof i&&(o.params=bd({},i)),o}if(!o.path&&o.params&&t){(o=bd({},o))._normalized=!0;var a=bd(bd({},t.params),o.params);if(t.name)o.name=t.name,o.params=a;else if(t.matched.length){var s=t.matched[t.matched.length-1].path;o.path=of(s,a,t.path)}else 0;return o}var l=function(e){var t="",n="",r=e.indexOf("#");r>=0&&(t=e.slice(r),e=e.slice(0,r));var o=e.indexOf("?");return o>=0&&(n=e.slice(o+1),e=e.slice(0,o)),{path:e,query:n,hash:t}}(o.path||""),c=t&&t.path||"/",u=l.path?Fd(l.path,c,n||o.append):c,d=function(e,t,n){void 0===t&&(t={});var r,o=n||Ed;try{r=o(e||"")}catch(e){r={}}for(var i in t){var a=t[i];r[i]=Array.isArray(a)?a.map(Sd):Sd(a)}return r}(l.query,o.query,r&&r.options.parseQuery),f=o.hash||l.hash;return f&&"#"!==f.charAt(0)&&(f="#"+f),{_normalized:!0,path:u,query:d,hash:f}}var sf,lf=function(){},cf={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:[String,Array],default:"click"}},render:function(e){var t=this,n=this.$router,r=this.$route,o=n.resolve(this.to,r,this.append),i=o.location,a=o.route,s=o.href,l={},c=n.options.linkActiveClass,u=n.options.linkExactActiveClass,d=null==c?"router-link-active":c,f=null==u?"router-link-exact-active":u,p=null==this.activeClass?d:this.activeClass,h=null==this.exactActiveClass?f:this.exactActiveClass,m=a.redirectedFrom?Id(null,af(a.redirectedFrom),null,n):a;l[h]=$d(r,m,this.exactPath),l[p]=this.exact||this.exactPath?l[h]:function(e,t){return 0===e.path.replace(Od,"/").indexOf(t.path.replace(Od,"/"))&&(!t.hash||e.hash===t.hash)&&function(e,t){for(var n in t)if(!(n in e))return!1;return!0}(e.query,t.query)}(r,m);var v=l[h]?this.ariaCurrentValue:null,g=function(e){uf(e)&&(t.replace?n.replace(i,lf):n.push(i,lf))},y={click:uf};Array.isArray(this.event)?this.event.forEach((function(e){y[e]=g})):y[this.event]=g;var b={class:l},_=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:s,route:a,navigate:g,isActive:l[p],isExactActive:l[h]});if(_){if(1===_.length)return _[0];if(_.length>1||!_.length)return 0===_.length?e():e("span",{},_)}if("a"===this.tag)b.on=y,b.attrs={href:s,"aria-current":v};else{var w=df(this.$slots.default);if(w){w.isStatic=!1;var k=w.data=bd({},w.data);for(var x in k.on=k.on||{},k.on){var C=k.on[x];x in y&&(k.on[x]=Array.isArray(C)?C:[C])}for(var S in y)S in k.on?k.on[S].push(y[S]):k.on[S]=g;var E=w.data.attrs=bd({},w.data.attrs);E.href=s,E["aria-current"]=v}else b.on=y}return e(this.tag,b,this.$slots.default)}};function uf(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function df(e){if(e)for(var t,n=0;n<e.length;n++){if("a"===(t=e[n]).tag)return t;if(t.children&&(t=df(t.children)))return t}}var ff="undefined"!=typeof window;function pf(e,t,n,r,o){var i=t||[],a=n||Object.create(null),s=r||Object.create(null);e.forEach((function(e){hf(i,a,s,e,o)}));for(var l=0,c=i.length;l<c;l++)"*"===i[l]&&(i.push(i.splice(l,1)[0]),c--,l--);return{pathList:i,pathMap:a,nameMap:s}}function hf(e,t,n,r,o,i){var a=r.path,s=r.name;var l=r.pathToRegexpOptions||{},c=function(e,t,n){n||(e=e.replace(/\/$/,""));if("/"===e[0])return e;if(null==t)return e;return Bd(t.path+"/"+e)}(a,o,l.strict);"boolean"==typeof r.caseSensitive&&(l.sensitive=r.caseSensitive);var u={path:c,regex:mf(c,l),components:r.components||{default:r.component},alias:r.alias?"string"==typeof r.alias?[r.alias]:r.alias:[],instances:{},enteredCbs:{},name:s,parent:o,matchAs:i,redirect:r.redirect,beforeEnter:r.beforeEnter,meta:r.meta||{},props:null==r.props?{}:r.components?r.props:{default:r.props}};
2if(r.children&&r.children.forEach((function(r){var o=i?Bd(i+"/"+r.path):void 0;hf(e,t,n,r,u,o)})),t[u.path]||(e.push(u.path),t[u.path]=u),void 0!==r.alias)for(var d=Array.isArray(r.alias)?r.alias:[r.alias],f=0;f<d.length;++f){0;var p={path:d[f],children:r.children};hf(e,t,n,p,o,u.path||"/")}s&&(n[s]||(n[s]=u))}function mf(e,t){return Hd(e,[],t)}function vf(e,t){var n=pf(e),r=n.pathList,o=n.pathMap,i=n.nameMap;function a(e,n,a){var s=af(e,n,!1,t),c=s.name;if(c){var u=i[c];if(!u)return l(null,s);var d=u.regex.keys.filter((function(e){return!e.optional})).map((function(e){return e.name}));if("object"!=typeof s.params&&(s.params={}),n&&"object"==typeof n.params)for(var f in n.params)!(f in s.params)&&d.indexOf(f)>-1&&(s.params[f]=n.params[f]);return s.path=of(u.path,s.params),l(u,s,a)}if(s.path){s.params={};for(var p=0;p<r.length;p++){var h=r[p],m=o[h];if(gf(m.regex,s.path,s.params))return l(m,s,a)}}return l(null,s)}function s(e,n){var r=e.redirect,o="function"==typeof r?r(Id(e,n,null,t)):r;if("string"==typeof o&&(o={path:o}),!o||"object"!=typeof o)return l(null,n);var s=o,c=s.name,u=s.path,d=n.query,f=n.hash,p=n.params;if(d=s.hasOwnProperty("query")?s.query:d,f=s.hasOwnProperty("hash")?s.hash:f,p=s.hasOwnProperty("params")?s.params:p,c){i[c];return a({_normalized:!0,name:c,query:d,hash:f,params:p},void 0,n)}if(u){var h=function(e,t){return Fd(e,t.parent?t.parent.path:"/",!0)}(u,e);return a({_normalized:!0,path:of(h,p),query:d,hash:f},void 0,n)}return l(null,n)}function l(e,n,r){return e&&e.redirect?s(e,r||n):e&&e.matchAs?function(e,t,n){var r=a({_normalized:!0,path:of(n,t.params)});if(r){var o=r.matched,i=o[o.length-1];return t.params=r.params,l(i,t)}return l(null,t)}(0,n,e.matchAs):Id(e,n,r,t)}return{match:a,addRoute:function(e,t){var n="object"!=typeof e?i[e]:void 0;pf([t||e],r,o,i,n),n&&n.alias.length&&pf(n.alias.map((function(e){return{path:e,children:[t]}})),r,o,i,n)},getRoutes:function(){return r.map((function(e){return o[e]}))},addRoutes:function(e){pf(e,r,o,i)}}}function gf(e,t,n){var r=t.match(e);if(!r)return!1;if(!n)return!0;for(var o=1,i=r.length;o<i;++o){var a=e.keys[o-1];
2a&&(n[a.name||"pathMatch"]="string"==typeof r[o]?Cd(r[o]):r[o])}return!0}var yf=ff&&window.performance&&window.performance.now?window.performance:Date;function bf(){return yf.now().toFixed(3)}var _f=bf();function wf(){return _f}function kf(e){return _f=e}var xf=Object.create(null);function Cf(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var e=window.location.protocol+"//"+window.location.host,t=window.location.href.replace(e,""),n=bd({},window.history.state);return n.key=wf(),window.history.replaceState(n,"",t),window.addEventListener("popstate",Tf),function(){window.removeEventListener("popstate",Tf)}}function Sf(e,t,n,r){if(e.app){var o=e.options.scrollBehavior;o&&e.app.$nextTick((function(){var i=function(){var e=wf();if(e)return xf[e]}(),a=o.call(e,t,n,r?i:null);a&&("function"==typeof a.then?a.then((function(e){Pf(e,i)})).catch((function(e){0})):Pf(a,i))}))}}function Ef(){var e=wf();e&&(xf[e]={x:window.pageXOffset,y:window.pageYOffset})}function Tf(e){Ef(),e.state&&e.state.key&&kf(e.state.key)}function Of(e){return Af(e.x)||Af(e.y)}function If(e){return{x:Af(e.x)?e.x:window.pageXOffset,y:Af(e.y)?e.y:window.pageYOffset}}function Af(e){return"number"==typeof e}var Df=/^#\d/;function Pf(e,t){var n,r="object"==typeof e;if(r&&"string"==typeof e.selector){var o=Df.test(e.selector)?document.getElementById(e.selector.slice(1)):document.querySelector(e.selector);if(o){var i=e.offset&&"object"==typeof e.offset?e.offset:{};t=function(e,t){var n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{x:r.left-n.left-t.x,y:r.top-n.top-t.y}}(o,i={x:Af((n=i).x)?n.x:0,y:Af(n.y)?n.y:0})}else Of(e)&&(t=If(e))}else r&&Of(e)&&(t=If(e));t&&("scrollBehavior"in document.documentElement.style?window.scrollTo({left:t.x,top:t.y,behavior:e.behavior}):window.scrollTo(t.x,t.y))}var Mf,$f=ff&&((-1===(Mf=window.navigator.userAgent).indexOf("Android 2.")&&-1===Mf.indexOf("Android 4.0")||-1===Mf.indexOf("Mobile Safari")||-1!==Mf.indexOf("Chrome")||-1!==Mf.indexOf("Windows Phone"))&&window.history&&"function"==typeof window.history.pushState);function Nf(e,t){Ef();var n=window.history;try{if(t){var r=bd({},n.state);r.key=wf(),n.replaceState(r,"",e)}else n.pushState({key:kf(bf())},"",e)}catch(n){window.location[t?"replace":"assign"](e)}}function Rf(e){Nf(e,!0)}function Lf(e,t,n){var r=function(o){o>=e.length?n():e[o]?t(e[o],(function(){r(o+1)})):r(o+1)};r(0)}var jf={redirected:2,aborted:4,cancelled:8,duplicated:16};function Ff(e,t){return qf(e,t,jf.redirected,'Redirected when going from "'+e.fullPath+'" to "'+function(e){if("string"==typeof e)return e;if("path"in e)return e.path;var t={};return Hf.forEach((function(n){n in e&&(t[n]=e[n])})),JSON.stringify(t,null,2)}(t)+'" via a navigation guard.')}function Bf(e,t){return qf(e,t,jf.cancelled,'Navigation cancelled from "'+e.fullPath+'" to "'+t.fullPath+'" with a new navigation.')}function qf(e,t,n,r){var o=new Error(r);return o._isRouter=!0,o.from=e,o.to=t,o.type=n,o}var Hf=["params","query","hash"];function zf(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function Uf(e,t){return zf(e)&&e._isRouter&&(null==t||e.type===t)}function Vf(e){return function(t,n,r){var o=!1,i=0,a=null;Gf(e,(function(e,t,n,s){if("function"==typeof e&&void 0===e.cid){o=!0,i++;var l,c=Kf((function(t){var o;((o=t).__esModule||Yf&&"Module"===o[Symbol.toStringTag])&&(t=t.default),e.resolved="function"==typeof t?t:sf.extend(t),n.components[s]=t,--i<=0&&r()})),u=Kf((function(e){var t="Failed to resolve async component "+s+": "+e;a||(a=zf(e)?e:new Error(t),r(a))}));try{l=e(c,u)}catch(e){u(e)}if(l)if("function"==typeof l.then)l.then(c,u);else{var d=l.component;d&&"function"==typeof d.then&&d.then(c,u)}}})),o||r()}}function Gf(e,t){return Wf(e.map((function(e){return Object.keys(e.components).map((function(n){return t(e.components[n],e.instances[n],e,n)}))})))}function Wf(e){return Array.prototype.concat.apply([],e)}var Yf="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Kf(e){var t=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!t)return t=!0,e.apply(this,n)}}var Qf=function(e,t){this.router=e,this.base=function(e){if(!e)if(ff){var t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else e="/";"/"!==e.charAt(0)&&(e="/"+e);return e.replace(/\/$/,"")}(t),this.current=Dd,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function Jf(e,t,n,r){var o=Gf(e,(function(e,r,o,i){var a=function(e,t){"function"!=typeof e&&(e=sf.extend(e));return e.options[t]}(e,t);if(a)return Array.isArray(a)?a.map((function(e){return n(e,r,o,i)})):n(a,r,o,i)}));return Wf(r?o.reverse():o)}function Zf(e,t){if(t)return function(){return e.apply(t,arguments)}}Qf.prototype.listen=function(e){this.cb=e},Qf.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},Qf.prototype.onError=function(e){this.errorCbs.push(e)},Qf.prototype.transitionTo=function(e,t,n){var r,o=this;try{r=this.router.match(e,this.current)}
2catch(e){throw this.errorCbs.forEach((function(t){t(e)})),e}var i=this.current;this.confirmTransition(r,(function(){o.updateRoute(r),t&&t(r),o.ensureURL(),o.router.afterHooks.forEach((function(e){e&&e(r,i)})),o.ready||(o.ready=!0,o.readyCbs.forEach((function(e){e(r)})))}),(function(e){n&&n(e),e&&!o.ready&&(Uf(e,jf.redirected)&&i===Dd||(o.ready=!0,o.readyErrorCbs.forEach((function(t){t(e)}))))}))},Qf.prototype.confirmTransition=function(e,t,n){var r=this,o=this.current;this.pending=e;var i,a,s=function(e){!Uf(e)&&zf(e)&&(r.errorCbs.length?r.errorCbs.forEach((function(t){t(e)})):console.error(e)),n&&n(e)},l=e.matched.length-1,c=o.matched.length-1;if($d(e,o)&&l===c&&e.matched[l]===o.matched[c])return this.ensureURL(),s(((a=qf(i=o,e,jf.duplicated,'Avoided redundant navigation to current location: "'+i.fullPath+'".')).name="NavigationDuplicated",a));var u=function(e,t){var n,r=Math.max(e.length,t.length);for(n=0;n<r&&e[n]===t[n];n++);return{updated:t.slice(0,n),activated:t.slice(n),deactivated:e.slice(n)}}(this.current.matched,e.matched),d=u.updated,f=u.deactivated,p=u.activated,h=[].concat(function(e){return Jf(e,"beforeRouteLeave",Zf,!0)}(f),this.router.beforeHooks,function(e){return Jf(e,"beforeRouteUpdate",Zf)}(d),p.map((function(e){return e.beforeEnter})),Vf(p)),m=function(t,n){if(r.pending!==e)return s(Bf(o,e));try{t(e,o,(function(t){!1===t?(r.ensureURL(!0),s(function(e,t){return qf(e,t,jf.aborted,'Navigation aborted from "'+e.fullPath+'" to "'+t.fullPath+'" via a navigation guard.')}(o,e))):zf(t)?(r.ensureURL(!0),s(t)):"string"==typeof t||"object"==typeof t&&("string"==typeof t.path||"string"==typeof t.name)?(s(Ff(o,e)),"object"==typeof t&&t.replace?r.replace(t):r.push(t)):n(t)}))}catch(e){s(e)}};Lf(h,m,(function(){var n=function(e){return Jf(e,"beforeRouteEnter",(function(e,t,n,r){return function(e,t,n){return function(r,o,i){return e(r,o,(function(e){"function"==typeof e&&(t.enteredCbs[n]||(t.enteredCbs[n]=[]),t.enteredCbs[n].push(e)),i(e)}))}}(e,n,r)}))}(p);Lf(n.concat(r.router.resolveHooks),m,(function(){if(r.pending!==e)return s(Bf(o,e));r.pending=null,t(e),r.router.app&&r.router.app.$nextTick((function(){Rd(e)}))}))}))},Qf.prototype.updateRoute=function(e){this.current=e,this.cb&&this.cb(e)},Qf.prototype.setupListeners=function(){},Qf.prototype.teardown=function(){this.listeners.forEach((function(e){e()})),this.listeners=[],this.current=Dd,this.pending=null};var Xf=function(e){function t(t,n){e.call(this,t,n),this._startLocation=ep(this.base)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;if(!(this.listeners.length>0)){var t=this.router,n=t.options.scrollBehavior,r=$f&&n;r&&this.listeners.push(Cf());var o=function(){var n=e.current,o=ep(e.base);e.current===Dd&&o===e._startLocation||e.transitionTo(o,(function(e){r&&Sf(t,e,n,!0)}))};window.addEventListener("popstate",o),this.listeners.push((function(){window.removeEventListener("popstate",o)}))}},t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,n){var r=this,o=this.current;this.transitionTo(e,(function(e){Nf(Bd(r.base+e.fullPath)),Sf(r.router,e,o,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var r=this,o=this.current;this.transitionTo(e,(function(e){Rf(Bd(r.base+e.fullPath)),Sf(r.router,e,o,!1),t&&t(e)}),n)},t.prototype.ensureURL=function(e){if(ep(this.base)!==this.current.fullPath){var t=Bd(this.base+this.current.fullPath);e?Nf(t):Rf(t)}},t.prototype.getCurrentLocation=function(){return ep(this.base)},t}(Qf);function ep(e){var t=window.location.pathname,n=t.toLowerCase(),r=e.toLowerCase();return!e||n!==r&&0!==n.indexOf(Bd(r+"/"))||(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var tp=function(e){function t(t,n,r){e.call(this,t,n),r&&function(e){var t=ep(e);if(!/^\/#/.test(t))return window.location.replace(Bd(e+"/#"+t)),!0}(this.base)||np()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;if(!(this.listeners.length>0)){var t=this.router.options.scrollBehavior,n=$f&&t;n&&this.listeners.push(Cf());var r=function(){var t=e.current;np()&&e.transitionTo(rp(),(function(r){n&&Sf(e.router,r,t,!0),$f||ap(r.fullPath)}))},o=$f?"popstate":"hashchange";window.addEventListener(o,r),this.listeners.push((function(){window.removeEventListener(o,r)}))}},t.prototype.push=function(e,t,n){var r=this,o=this.current;this.transitionTo(e,(function(e){ip(e.fullPath),Sf(r.router,e,o,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var r=this,o=this.current;this.transitionTo(e,(function(e){ap(e.fullPath),Sf(r.router,e,o,!1),t&&t(e)}),n)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;rp()!==t&&(e?ip(t):ap(t))},t.prototype.getCurrentLocation=function(){return rp()},t}(Qf);function np(){var e=rp();return"/"===e.charAt(0)||(ap("/"+e),!1)}function rp(){var e=window.location.href,t=e.indexOf("#");
vendor: 4,113 bytes, line 2
2return t<0?"":e=e.slice(t+1)}function op(e){var t=window.location.href,n=t.indexOf("#");return(n>=0?t.slice(0,n):t)+"#"+e}function ip(e){$f?Nf(op(e)):window.location.hash=e}function ap(e){$f?Rf(op(e)):window.location.replace(op(e))}var sp=function(e){function t(t,n){e.call(this,t,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,n){var r=this;this.transitionTo(e,(function(e){r.stack=r.stack.slice(0,r.index+1).concat(e),r.index++,t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var r=this;this.transitionTo(e,(function(e){r.stack=r.stack.slice(0,r.index).concat(e),t&&t(e)}),n)},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){var e=t.current;t.index=n,t.updateRoute(r),t.router.afterHooks.forEach((function(t){t&&t(r,e)}))}),(function(e){Uf(e,jf.duplicated)&&(t.index=n)}))}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(Qf),lp=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=vf(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!$f&&!1!==e.fallback,this.fallback&&(t="hash"),ff||(t="abstract"),this.mode=t,t){case"history":this.history=new Xf(this,e.base);break;case"hash":this.history=new tp(this,e.base,this.fallback);break;case"abstract":this.history=new sp(this,e.base)}},cp={currentRoute:{configurable:!0}};function up(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}lp.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},cp.currentRoute.get=function(){return this.history&&this.history.current},lp.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",(function(){var n=t.apps.indexOf(e);n>-1&&t.apps.splice(n,1),t.app===e&&(t.app=t.apps[0]||null),t.app||t.history.teardown()})),!this.app){this.app=e;var n=this.history;if(n instanceof Xf||n instanceof tp){var r=function(e){n.setupListeners(),function(e){var r=n.current,o=t.options.scrollBehavior;$f&&o&&"fullPath"in e&&Sf(t,e,r,!1)}(e)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(e){t.apps.forEach((function(t){t._route=e}))}))}},lp.prototype.beforeEach=function(e){return up(this.beforeHooks,e)},lp.prototype.beforeResolve=function(e){return up(this.resolveHooks,e)},lp.prototype.afterEach=function(e){return up(this.afterHooks,e)},lp.prototype.onReady=function(e,t){this.history.onReady(e,t)},lp.prototype.onError=function(e){this.history.onError(e)},lp.prototype.push=function(e,t,n){var r=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise((function(t,n){r.history.push(e,t,n)}));this.history.push(e,t,n)},lp.prototype.replace=function(e,t,n){var r=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise((function(t,n){r.history.replace(e,t,n)}));this.history.replace(e,t,n)},lp.prototype.go=function(e){this.history.go(e)},lp.prototype.back=function(){this.go(-1)},lp.prototype.forward=function(){this.go(1)},lp.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map((function(e){return Object.keys(e.components).map((function(t){return e.components[t]}))}))):[]},lp.prototype.resolve=function(e,t,n){var r=af(e,t=t||this.history.current,n,this),o=this.match(r,t),i=o.redirectedFrom||o.fullPath,a=function(e,t,n){var r="hash"===n?"#"+t:t;return e?Bd(e+"/"+r):r}(this.history.base,i,this.mode);return{location:r,route:o,href:a,normalizedTo:r,resolved:o}},lp.prototype.getRoutes=function(){return this.matcher.getRoutes()},lp.prototype.addRoute=function(e,t){this.matcher.addRoute(e,t),this.history.current!==Dd&&this.history.transitionTo(this.history.getCurrentLocation())},lp.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==Dd&&this.history.transitionTo(this.history.getCurrentLocation())}
2,Object.defineProperties(lp.prototype,cp),lp.install=function e(t){if(!e.installed||sf!==t){e.installed=!0,sf=t;var n=function(e){return void 0!==e},r=function(e,t){var r=e.$options._parentVnode;n(r)&&n(r=r.data)&&n(r=r.registerRouteInstance)&&r(e,t)};t.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",Ld),t.component("RouterLink",cf);var o=t.config.optionMergeStrategies;o.beforeRouteEnter=o.beforeRouteLeave=o.beforeRouteUpdate=o.created}},lp.version="3.5.2",lp.isNavigationFailure=Uf,lp.NavigationFailureType=jf,lp.START_LOCATION=Dd,ff&&window.Vue&&window.Vue.use(lp);const dp=lp;var fp=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("VueHeadful",{attrs:{title:""}}),e._v(" "),e.$user?e._e():n("div",{class:["jumbotron slide slide-big",{hideBranding:e.hideBranding}]},[n("ScrollButton",{attrs:{dir:"down",color:"secondary",text:e.$t("why.header")}}),e._v(" "),n("div",{staticClass:"container slide d-flex"},[n("div",{staticClass:"row align-self-center"},[n("div",{staticClass:"col-12 col-sm-6 offset-sm-4"},[n("h1",[e._v(e._s(e.$t("title")))]),e._v(" "),n("p",[e._v(e._s(e.$t("intro.1")))]),e._v(" "),n("p",[e._v(e._s(e.$t("intro.2")))]),e._v(" "),n("p",{staticClass:"small"},[n("Checkbox",{attrs:{toggle:""},model:{value:e.hideBranding,callback:function(t){e.hideBranding=t},expression:"hideBranding"}},[e._v("\n "+e._s(e.$t("nsfw.branding"))+"\n ")])],1),e._v(" "),n("p",{staticClass:"small"},[n("Checkbox",{attrs:{toggle:""},model:{value:e.blurPics,callback:function(t){e.blurPics=t},expression:"blurPics"}},[e._v("\n "+e._s(e.$t("nsfw.pics"))+"\n ")])],1),e._v(" "),n("p",{staticClass:"small"},[n("Checkbox",{attrs:{toggle:""},model:{value:e.muteSounds,callback:function(t){e.muteSounds=t},expression:"muteSounds"}},[e._v("\n "+e._s(e.$t("sounds.off"))+"\n ")])],1),e._v(" "),n("p",{staticClass:"small"},[n("ModeSwitch")],1),e._v(" "),n("div",[e.$user?e._e():n("div",{staticClass:"dropdown d-inline"},[n("a",{staticClass:"dropdown-toggle btn btn-outline-light btn-lg",attrs:{"data-toggle":"dropdown",href:"#",role:"button","aria-haspopup":"true","aria-expanded":"true"}},[n("Icon",{attrs:{v:"users fa-fw"}}),e._v("\n "+e._s(e.$t("joinUs"))+"\n ")],1),e._v(" "),n("div",{staticClass:"dropdown-menu dropdown-menu-wide shadow"},[n("div",{staticClass:"px-4 py-3"},[n("Login",{attrs:{"default-tab":"signup"}})],1)])]),e._v(" "),n("LanguageSwitch",{attrs:{classes:"d-inline ml-4",buttonClasses:"btn-outline-light border-0"}})],1)])])])],1),e._v(" "),e.$user?e._e():n("div",{staticClass:"slide bg-subtle"},[n("ScrollButton",{attrs:{dir:"up"}}),e._v(" "),n("ScrollButton",{attrs:{dir:"down",text:e.$t("features.header")}}),e._v(" "),n("div",{staticClass:"container slide d-flex"},[n("div",{staticClass:"row align-self-center"},[n("div",{staticClass:"col-12 col-lg-8 offset-lg-2"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-8 offset-2 col-sm-3 offset-sm-0"},[e.hideBranding?e._e():n("img",{attrs:{src:__webpack_require__(6444)}})]),e._v(" "),n("div",{staticClass:"col-12 col-sm-9"},[n("h2",{staticClass:"h3"},[e._v(e._s(e.$t("why.header")))]),e._v(" "),n("Why")],1)])])])])],1),e._v(" "),e.$user?e._e():n("div",{staticClass:"slide bg-white border-top"},[n("ScrollButton",{attrs:{dir:"up"}}),e._v(" "),n("ScrollButton",{attrs:{dir:"down"}}),e._v(" "),n("div",{staticClass:"container slide"},[n("h2",[e._v(e._s(e.$t("features.header")))]),e._v(" "),n("div",{staticClass:"row"},e._l(["calendar","games","profile","search","forum","messages","dashboard","more"],(function(t){return n("div",{staticClass:"col-12 col-lg-6 my-4"},[n("h3",[e._v(e._s(e.$t("features."+t)))]),e._v(" "),e.hideBranding&&"more"===t?e._e():n("img",{staticClass:"border",attrs:{src:e.getFeatureUrl(t)}})])})),0)])],1),e._v(" "),e.$user?n("div",{staticClass:"slide slide-big bg-subtle"},[n("div",{staticClass:"container"},[n("div",{staticClass:"d-flex flex-column flex-md-row"},[n("h2",{staticClass:"h1 mb-4"},[e._v("\n "+e._s(e.$t("dashboard.hello",{name:e.$user.username}))+"\n "),n("LanguageSwitch",{attrs:{classes:"d-inline ml-4",buttonClasse
2s:"btn-light"}})],1),e._v(" "),n("div",{staticClass:"p-3 d-none d-md-block"},[n("Checkbox",{attrs:{toggle:""},model:{value:e.hideBranding,callback:function(t){e.hideBranding=t},expression:"hideBranding"}},[e._v("\n "+e._s(e.$t("nsfw.branding"))+"\n ")])],1),e._v(" "),n("div",{staticClass:"p-3 d-none d-md-block"},[n("Checkbox",{attrs:{toggle:""},model:{value:e.blurPics,callback:function(t){e.blurPics=t},expression:"blurPics"}},[e._v("\n "+e._s(e.$t("nsfw.pics"))+"\n ")])],1),e._v(" "),n("div",{staticClass:"p-3 d-none d-md-block"},[n("Checkbox",{attrs:{toggle:""},model:{value:e.muteSounds,callback:function(t){e.muteSounds=t},expression:"muteSounds"}},[e._v("\n "+e._s(e.$t("sounds.off"))+"\n ")])],1),e._v(" "),n("div",{staticClass:"p-3 d-none d-md-block"},[n("ModeSwitch")],1),e._v(" "),n("div",{staticClass:"d-block d-md-none p-1"},[n("Checkbox",{attrs:{toggle:""},model:{value:e.hideBranding,callback:function(t){e.hideBranding=t},expression:"hideBranding"}},[e._v("\n "+e._s(e.$t("nsfw.branding"))+"\n ")])],1),e._v(" "),n("div",{staticClass:"d-block d-md-none p-1"},[n("Checkbox",{attrs:{toggle:""},model:{value:e.blurPics,callback:function(t){e.blurPics=t},expression:"blurPics"}},[e._v("\n "+e._s(e.$t("nsfw.pics"))+"\n ")])],1),e._v(" "),n("div",{staticClass:"d-block d-md-none p-1"},[n("Checkbox",{attrs:{toggle:""},model:{value:e.muteSounds,callback:function(t){e.muteSounds=t},expression:"muteSounds"}},[e._v("\n "+e._s(e.$t("sounds.off"))+"\n ")])],1),e._v(" "),n("div",{staticClass:"d-block d-md-none p-1 pb-3"},[n("ModeSwitch")],1)]),e._v(" "),n("Merger",{staticClass:"mb-3"}),e._v(" "),n("MasonryGrid",{attrs:{columns:"3",columnsTablet:"2"}},[n("MasonryGridItem",{directives:[{name:"show",rawName:"v-show",value:!!e.$refs.locktober&&e.$refs.locktober.status,expression:"$refs.locktober ? $refs.locktober.status : false"}]},[n("LocktoberManageWrapper",{ref:"locktober"})],1),e._v(" "),n("MasonryGridItem",[n("Card",[n("div",{staticClass:"d-flex justify-content-around"},[n("router-link",{staticClass:"tile-btn text-center",attrs:{to:{name:"memberProfile",params:{username:e.$user.username}}}},[n("Icon",{attrs:{v:"id-card",classes:"bigger-md"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("member.profile"))+"\n ")],1),e._v(" "),n("router-link",{staticClass:"tile-btn text-center",attrs:{to:{name:"memberCalendar",params:{username:e.$user.username}}}},[n("Icon",{attrs:{v:"calendar",classes:"bigger-md"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("member.calendar"))+"\n ")],1),e._v(" "),n("router-link",{staticClass:"tile-btn text-center",attrs:{to:{name:"memberBlog",params:{username:e.$user.username}}}},[n("Icon",{attrs:{v:"pen-nib",classes:"bigger-md"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("member.blog"))+"\n ")],1)],1),e._v(" "),n("div",{staticClass:"d-flex justify-content-around"},[n("router-link",{staticClass:"tile-btn text-center",attrs:{to:{name:"memberPics",params:{username:e.$user.username}}}},[n("Icon",{attrs:{v:"camera-alt",classes:"bigger-md"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("member.pics"))+"\n ")],1),e._v(" "),n("router-link",{staticClass:"tile-btn text-center",attrs:{to:{name:"memberNetwork",params:{username:e.$user.username}}}},[n("Icon",{attrs:{v:"user-friends",classes:"bigger-md"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("member.network"))+"\n ")],1),e._v(" "),n("router-link",{staticClass:"tile-btn text-center",attrs:{to:{name:"memberGames",params:{username:e.$user.username}}}},[n("Icon",{attrs:{v:"gamepad",classes:"bigger-md"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("member.games"))+"\n ")],1)],1),e._v(" "),n("div",{staticClass:"d-flex justify-content-around"},[n("router-link",{staticClass:"tile-btn text-center",attrs:{to:{name:"forumTimeline"}}},[n("Icon",{attrs:{v:"pen-nib",classes:"bigger-md"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("posts.header"))+"\n ")],1),e._v(" "),n("router-link",{staticClass:"tile-btn text-center",attrs:{to:{name:"helpOut"}}},[n("Icon",{attrs:{v:"people-carry",classes:"bigger-md"}}
2),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("helpOut.header"))+"\n ")],1),e._v(" "),n("router-link",{staticClass:"tile-btn text-center",attrs:{to:{name:"account"}}},[n("Icon",{attrs:{v:"user-circle",classes:"bigger-md"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("account"))+"\n ")],1)],1)])],1),e._v(" "),n("MasonryGridItem",{directives:[{name:"show",rawName:"v-show",value:e.profileCompleteness<100,expression:"profileCompleteness < 100"}]},[n("ProfileCompleteness",{attrs:{member:e.$user},on:{"update-profile-completeness":e.setProfileCompleteness}})],1),e._v(" "),e._l(e.groupConnections(e.$user),(function(e,t){return n("MasonryGridItem",{key:t},[n("MemberCard",{attrs:{member:e.counterpart,calendar:"",connections:e.connections}})],1)}))],2)],1)]):e._e(),e._v(" "),n("div",{staticClass:"slide bg-stats border-top"},[n("ScrollButton",{attrs:{dir:"up"}}),e._v(" "),n("div",{staticClass:"container slide d-flex"},[n("Loading",{attrs:{value:e.stats}},[n("div",{staticClass:"row align-self-center m-lg-4 justify-content-center"},e._l(e.stats,(function(e){return n("Stat",{key:e.name,attrs:{stat:e}})})),1)])],1)],1)],1)};fp._withStripped=!0;var pp=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{ref:"btn",class:["scroll-"+e.dir,"btn","btn-"+e.color,"btn-lg","shadow","d-none","d-lg-block"],on:{click:e.scroll}},[n("Icon",{attrs:{v:"arrow-alt-"+e.dir}}),e._v(" "),e.text?n("span",{staticClass:"ml-2"},[e._v(e._s(e.text))]):e._e()],1)};pp._withStripped=!0;var hp=Ca({props:{dir:{},color:{default:"primary"},text:{default:null}},methods:{scroll:function(){var e=Xo()(this.$refs.btn).parent(),t="down"===this.dir?e.next():e.prev();Xo()("html, body").animate({scrollTop:t.offset().top},1e3)}}},pp,[],!1,null,"03caafcc",null);hp.options.__file="components/widgets/ScrollButton.vue";const mp=hp.exports;var vp=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"col-12 col-md-6 col-lg-4"},[n("div",{staticClass:"card mb-4 w-100 py-5 border-secondary shadow"},[n("div",{staticClass:"card-body text-center"},[n("p",{staticClass:"h1 card-title"},["blueskyFollowers"!==e.stat.name?n("Icon",{attrs:{v:e.stat.icon}}):n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","shape-rendering":"geometricPrecision","text-rendering":"geometricPrecision","image-rendering":"optimizeQuality","fill-rule":"evenodd","clip-rule":"evenodd",viewBox:"0 0 511.999 452.266",width:"1em"}},[n("path",{attrs:{fill:"currentColor","fill-rule":"nonzero",d:"M110.985 30.442c58.695 44.217 121.837 133.856 145.013 181.961 23.176-48.105 86.322-137.744 145.016-181.961 42.361-31.897 110.985-56.584 110.985 21.96 0 15.681-8.962 131.776-14.223 150.628-18.272 65.516-84.873 82.228-144.112 72.116 103.55 17.68 129.889 76.238 73 134.8-108.04 111.223-155.288-27.905-167.385-63.554-3.489-10.262-2.991-10.498-6.561 0-12.098 35.649-59.342 174.777-167.382 63.554-56.89-58.562-30.551-117.12 72.999-134.8-59.239 10.112-125.84-6.6-144.112-72.116C8.962 184.178 0 68.083 0 52.402c0-78.544 68.633-53.857 110.985-21.96z"}})]),e._v("\n "+e._s(e.stat.value)+"\n ")],1),e._v(" "),n("p",{staticClass:"h5 card-subtitle"},["twitterFollowers"===e.stat.name?n("a",{staticClass:"text-white",attrs:{href:"https://twitter.com/TeamLockedMen",target:"_blank",rel:"noopener"}},[e._v("\n "+e._s(e.$t("stat."+e.stat.name))+"\n ")]):"blueskyFollowers"===e.stat.name?n("a",{staticClass:"text-white",attrs:{href:"https://bsky.app/profile/teamlocked.men",target:"_blank",rel:"noopener"}},[e._v("\n "+e._s(e.$t("stat."+e.stat.name))+"\n ")]):n("span",[e._v("\n "+e._s(e.$t("stat."+e.stat.name))+"\n ")])])])])])};vp._withStripped=!0;var gp=Ca({props:{stat:{}}},vp,[],!1,null,"207fb80e",null);gp.options.__file="components/pages/Home/Stat.vue";const yp=gp.exports;var bp=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:"card shadow "+e.classes},[e.$slots.header?n("div",{class:{"card-header":!0,foldable:e.foldable},on:{click:e.toggle}},[n("span",{class:[e.headerClasses,"d-flex justify-content-between"]},[e._t("header"),e._v(" "),e.foldable&&e.isFolded?n("Icon",{attrs:{v:"caret-down"}}
2):e._e(),e._v(" "),e.foldable&&!e.isFolded?n("Icon",{attrs:{v:"caret-up"}}):e._e()],2)]):e._e(),e._v(" "),!e.$slots.default||e.foldable&&e.isFolded?e._e():n("div",{staticClass:"card-body"},[e._t("default")],2),e._v(" "),!e.$slots.footer||e.foldable&&e.isFolded?e._e():n("div",{staticClass:"card-footer"},[e._t("footer")],2)])};bp._withStripped=!0;var _p=Ca({props:{classes:{default:""},headerClasses:{default:""},foldable:{type:Boolean},folded:{type:Boolean}},data:function(){return{isFolded:this.folded}},methods:{toggle:function(){this.foldable&&(this.isFolded=!this.isFolded,this.$emit("fold",this,this.isFolded))},fold:function(){this.isFolded=!0},unfold:function(){this.isFolded=!1}}},bp,[],!1,null,"866a6d6a",null);_p.options.__file="components/widgets/Card.vue";const wp=_p.exports;var kp=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Card",{attrs:{classes:!1===e.member.active?"half-opacity":""},scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 mb-0"},[n("router-link",{attrs:{to:{name:"memberProfile",params:{username:e.member.username}}}},[n("Username",{attrs:{user:e.member}}),e._v(" "),n("Status",{attrs:{user:e.member}})],1)],1)]},proxy:!0}])},[e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-4 text-center pb-4"},[n("router-link",{attrs:{to:{name:"memberProfile",params:{username:e.member.username}}}},[n("Avatar",{attrs:{member:e.member,size:"7rem"}})],1)],1),e._v(" "),n("div",{staticClass:"col-md-8"},[e.member.description?n("Twemoji",e._l(e.member.description.split("\n"),(function(e){return n("p",[n("SafeHtml",{attrs:{html:e}})],1)})),0):e._e(),e._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:e.member.country||e.member.province||e.member.city,expression:"member.country || member.province || member.city"}]},[e.member.country?n("span",[n("Country",{attrs:{code:e.member.country}})],1):e._e(),e._v(" "),n("small",{directives:[{name:"show",rawName:"v-show",value:e.member.province,expression:"member.province"}]},[e._v("\n â¢\n "+e._s(e.member.province)+"\n ")]),e._v(" "),n("small",{directives:[{name:"show",rawName:"v-show",value:e.member.city,expression:"member.city"}]},[e._v("\n â¢\n "+e._s(e.member.city)+"\n ")])]),e._v(" "),n("p",[n("span",{directives:[{name:"show",rawName:"v-show",value:null!==e.member.role,expression:"member.role !== null"}],staticClass:"mr-2 badge badge-secondary"},[n("RangeIcon",{attrs:{value:e.member.role,icon1:"pray",icon2:"fist-raised"}})],1),e._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:null!==e.member.gender,expression:"member.gender !== null"}],staticClass:"mr-2 badge badge-secondary"},[n("Icon",{attrs:{v:e.genderOptions[e.member.gender]}})],1),e._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:null!==e.member.orientation,expression:"member.orientation !== null"}],staticClass:"mr-2 badge badge-secondary"},[-1==e.member.orientation?n("span",[e._v("a")]):n("RangeIcon",{attrs:{value:e.member.orientation,icon1:"female",icon2:"male"}})],1),e._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:null!==e.member.age,expression:"member.age !== null"}],staticClass:"mr-2 badge badge-secondary"},[n("Icon",{attrs:{v:"birthday-cake"}}),e._v("\n "+e._s(e.member.age)+"\n ")],1),e._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:null!==e.member.cock,expression:"member.cock !== null"}],staticClass:"mr-2 badge badge-secondary"},[n("Icon",{attrs:{v:"ruler"}}),e._v("\n "+e._s(e.cockOptions[e.member.cock])+"\n ")],1),e._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:e.member.postsCount>0,expression:"member.postsCount > 0"}],staticClass:"mr-2 badge badge-secondary"},[n("Icon",{attrs:{v:"pen-nib"}}),e._v("\n "+e._s(e.member.postsCount)+"\n ")],1)]),e._v(" "),e.connections&&e.connections.length?n("p",e._l(e.connections,(function(e){return n("span",{staticClass:"mr-2"},[n("Relation",{attrs:{relation:e}})],1)}
2)),0):e._e(),e._v(" "),n("div",{staticClass:"btn-group btn-block"},[n("router-link",{staticClass:"btn btn-outline-primary",attrs:{to:{name:"memberProfile",params:{username:e.member.username}}}},[n("Icon",{attrs:{v:"id-card"}}),e._v("\n "+e._s(e.$t("member.profile"))+"\n ")],1),e._v(" "),n("ImpersonationStart",{attrs:{member:e.member}})],1)],1)]),e._v(" "),e.calendar&&e.member.currentChastityPeriod?n("div",[n("hr"),e._v(" "),e.member.currentChastityPeriod?n("ChastityPeriod",{attrs:{period:e.member.currentChastityPeriod}}):e._e()],1):e._e(),e._v(" "),e.member.stats?n("div",[n("hr"),e._v(" "),n("div",{staticClass:"d-flex justify-content-around text-center"},e._l(JSON.parse(e.member.stats),(function(t,r){return n("div",[n("strong",{staticClass:"bigger"},[e._v(e._s(t))]),e._v(" "),n("br"),e._v(" "),n("small",[e._v(e._s(e.$t("stat."+r)))])])})),0)]):e._e()])};kp._withStripped=!0;var xp=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[n("Flag",{attrs:{code:e.code}}),e._v("\n "+e._s(e.getCountryName(e.code))+"\n")],1)};function Cp(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Sp(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Sp(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Sp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}xp._withStripped=!0;var Ep=Ca({components:{Flag:Ec},props:{code:{}},data:function(){return{countries:[],countriesFetching:null}},mounted:function(){var e=this;this.$cache.get("countries").then((function(t){e.countries=t.data.countries}))},methods:{getCountryName:function(e){var t,n=Cp(this.countries);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.code===e)return r.name}}catch(e){n.e(e)}finally{n.f()}return e}}},xp,[],!1,null,null,null);Ep.options.__file="components/widgets/Country.vue";const Tp=Ep.exports;var Op=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[n("Icon",{attrs:{v:e.icon1,classes:{"d-none":6==e.value||-1==e.value,smaller:5==e.value,small:4==e.value}}}),e._v(" "),n("Icon",{attrs:{v:e.icon2,classes:{"d-none":0==e.value||-1==e.value,smaller:1==e.value,small:2==e.value}}})],1)};Op._withStripped=!0;var Ip=Ca({props:{value:{required:!0},icon1:{required:!0},icon2:{required:!0}}},Op,[],!1,null,"acbd75aa",null);Ip.options.__file="components/widgets/RangeIcon.vue";const Ap=Ip.exports;var Dp=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{class:"badge badge-"+e.color},[n("Icon",{attrs:{v:e.icon}}),e._v("\n "+e._s(e.$t("relation."+e.relation))+"\n")],1)};Dp._withStripped=!0;var Pp={follower:{color:"tertiary",icon:"glasses"},followee:{color:"tertiary",icon:"glasses"},known:{color:"success",icon:"handshake-alt"},knows:{color:"success",icon:"handshake-alt"},keyholder:{color:"danger",icon:"key"},sub:{color:"primary",icon:"lock-alt"}};var Mp=Ca({props:{relation:{required:!0}},computed:{color:function(){return Pp[this.relation].color},icon:function(){return Pp[this.relation].icon}}},Dp,[],!1,null,null,null);Mp.options.__file="components/widgets/Relation.vue";const $p=Mp.exports;var Np,Rp=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.$user&&e.$user.admin?n("button",{class:["btn btn-outline-info "+e.classes,{"btn-sm":e.small}],on:{click:e.impersonate}},[e.loading?n("Spinner"):n("span",[n("Icon",{attrs:{v:"user-ninja"}}),e._v("\n "+e._s(e.$t("impersonate.start"))+"\n ")],1)],1):e._e(
2)};Rp._withStripped=!0;const Lp={components:{Spinner:Da},props:{member:{required:!0},small:{type:Boolean},classes:{default:""}},data:function(){return{loading:!1}},methods:{impersonate:function(){var e,t,n=this;this.loading=!0,this.$apollo.mutate({mutation:ma(Np||(e=["\n mutation Impersonate($username: String!) {\n token: impersonate(username: $username)\n }\n "],t||(t=e.slice(0)),Np=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})))),variables:{username:this.member.username}}).then((function(e){n.loading=!1,Jo.set("impersonator",Jo.get("user")),Jo.set("user",e.data.token),n.$router.push({name:"memberProfile",params:{username:n.member.username}}),window.location.reload()})).catch((function(e){console.error(e)}))}}};var jp=Ca(Lp,Rp,[],!1,null,null,null);jp.options.__file="components/widgets/ImpersonationStart.vue";const Fp=jp.exports;var Bp=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"my-4"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-6"},[n("Icon",{attrs:{v:"lock"}}),e._v("\n "+e._s(e.$t("calendar.period.lockedAt"))+":\n "),n("br"),e._v("\n "+e._s(e.$date(e.start.toSeconds()))+"\n ")],1),e._v(" "),n("div",{staticClass:"col-6 text-right"},[n("Icon",{attrs:{v:"lock-open"}}),e._v("\n "+e._s(e.$t("calendar.period.releaseAt"))+":\n "),n("br"),e._v(" "),e.period.permanent?n("strong",[e._v("\n "+e._s(e.$t("calendar.change.permanent"))+"\n ")]):n("strong",[e._v("\n "+e._s(e.$date(e.earliestEnd.toSeconds()))+"\n ")])],1)])]),e._v(" "),e.period.permanent?e._e():n("div",{staticClass:"my-4"},[n("ProgressBar",{attrs:{value:e.now.diff(e.start),domain:e.earliestEnd.diff(e.start),failed:null!==e.prematureEnd,blocked:!e.period.terminatable}})],1),e._v(" "),n("div",{staticClass:"my-4"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-6"},[n("Icon",{attrs:{v:"check-square"}}),e._v("\n "+e._s(e.$t("calendar.period.doneAlready"))+":\n "),n("br"),e._v("\n "+e._s(e.$duration((e.earliestEnd>e.now?e.now:e.earliestEnd).diff(e.start)))+"\n ")],1),e._v(" "),n("div",{staticClass:"col-6 text-right"},[n("Icon",{attrs:{v:"hourglass-start"}}),e._v("\n "+e._s(e.$t("calendar.period.timeLeft"))+":\n "),n("br"),e._v(" "),e.period.permanent?n("span",[e._v("\n â\n ")]):n("span",[e._v("\n "+e._s(e.$duration(e.earliestEnd.diff(e.earliestEnd>e.now?e.now:e.earliestEnd)))+"\n "),e.hasBlockingChange?n("span",{staticClass:"mx-2 badge badge-danger"},[n("Icon",{attrs:{v:"hand-paper"}}),e._v("\n "+e._s(e.$t("calendar.period.blocksTermination"))+"\n ")],1):e._e()])],1)])]),e._v(" "),e.rules?[n("hr"),e._v(" "),n("p",[n("strong",[e._v(e._s(e.$t("calendar.period.rules"))+":")])]),e._v(" "),e._l(["wank","cum","sleep","locker"],(function(t){return n("div",{class:["mb-1",e.rules[t]?"text-success":"text-danger"]},[n("Icon",{attrs:{v:e.rules[t]?"check-square":"times-square"}}),e._v("\n "+e._s(e.$t("calendar.period.rules."+t+"."+(e.rules[t]?"yes":"no")))+"\n ")],1)})),e._v(" "),n("div",{staticClass:"mb-1 text-success"},[n("Icon",{attrs:{v:"check-square"}}),e._v("\n "+e._s(e.$t("calendar.period.rules.medical.yes"))+"\n ")],1),e._v(" "),e.rules.custom?n("div",[n("Icon",{attrs:{v:"plus-square"}}),e._v("\n "+e._s(e.rules.custom)+"\n ")],1):e._e()]:e._e(),e._v(" "),e.detailed&&e.period.changes.length?[n("hr"),e._v(" "),n("h4",{staticClass:"h5"},[e._v("\n "+e._s(e.$t("calendar.changesEvents"))+":\n ")]),e._v(" "),n("ul",{staticClass:"list-unstyled"},[e._l(e.generateEntries(e.period),(function(t){return n("li",{staticClass:"mb-2"},["ChastityPeriodChange"===t.__typename?n("ChastityPeriodChange",{attrs:{change:t,period:e.period,duration:e.getDuration(t.delta),"can-manage":e.canManage,"can-manage-self":e.canManageSelf}}
2):e._e(),e._v(" "),"Event"===t.__typename?n("EventEntry",{attrs:{event:t}}):e._e(),e._v(" "),"Post"===t.__typename?n("JournalEntry",{attrs:{post:t}}):e._e()],1)})),e._v(" "),e.period.prematureEnd?n("li",{staticClass:"mb-2"},[n("Icon",{attrs:{v:"ban"}}),e._v(" "),n("span",{staticClass:"badge badge-danger cursor-pointer",on:{click:function(t){return e.$emit("setdate",e.period.id+"|prematureEnd")}}},[e._v("\n "+e._s(e.$date(e.period.prematureEnd))+"\n ")]),e._v(" "),n("span",{staticClass:"badge badge-danger"},[e._v("\n "+e._s(e.$t("calendar.terminated"))+"\n ")]),e._v(" "),n("SafeHtml",{attrs:{html:e.period.terminationReason}})],1):e._e()],2),e._v(" "),n("AdminerLink",{attrs:{table:"chastity_period",value:e.period.id,label:"Period"}}),e._v(" "),n("AdminerLink",{attrs:{table:"chastity_period_change",column:"period_id",value:e.period.id,label:"Changes"}})]:e._e()],2)};Bp._withStripped=!0;var qp=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"progress"},[n("div",{class:["progress-bar","bg-"+e.progressStatus],style:"width: "+e.progress+"%",attrs:{role:"progressbar"}},[e._v("\n "+e._s(e.progress)+"%\n ")])])};qp._withStripped=!0;var Hp=Ca({props:{value:{required:!0},domain:{default:100},failed:{type:Boolean},blocked:{type:Boolean}},computed:{progress:function(){return Math.round(100*Math.max(0,Math.min(this.value/this.domain,1)))},progressStatus:function(){return this.failed?"danger":this.blocked?"primary":this.value>=this.domain?"success":"primary"}}},qp,[],!1,null,"6b78f53b",null);Hp.options.__file="components/widgets/ProgressBar.vue";const zp=Hp.exports;var Up=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.$user&&e.$user.admin?n("a",{class:"btn btn-"+(e.nooutline?"":"outline-")+"primary btn-xs m-1 "+e.classes,attrs:{href:e.buildLink(),target:"_blank",rel:"noopener"}},[n("Icon",{attrs:{v:"database"}}),e._v("\n "+e._s(e.label)+"\n")],1):e._e()};Up._withStripped=!0;var Vp=Ca({props:{table:{required:!0},column:{default:"id"},value:{required:!0},nooutline:{type:Boolean},label:{default:""},classes:{default:""}},methods:{buildLink:function(){var e=new URL("http://db.avris.it/");return e.searchParams.append("username","root"),e.searchParams.append("db","teamlocked"),e.searchParams.append("select",this.table),e.searchParams.append("where[0][col]",this.column),e.searchParams.append("where[0][op]","="),e.searchParams.append("where[0][val]",this.value),e}}},Up,[],!1,null,null,null);Vp.options.__file="components/widgets/AdminerLink.vue";const Gp=Vp.exports;var Wp,Yp,Kp=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[n("Icon",{attrs:{v:"calendar-edit"}}),e._v(" "),n("span",{class:"badge badge-"+e.getColour(e.change)+" cursor-pointer",on:{click:function(t){return e.$emit("setdate",e.period.id+"|"+e.event.id)}}},[e._v("\n "+e._s(e.$date(e.change.createdAt))+"\n ")]),e._v(" "),e.change.permanent?n("span",{staticClass:"badge badge-danger"},[e._v("\n "+e._s(e.$t("calendar.change.permanent"))+"\n ")]):n("span",[e._v("\n "+e._s(e.duration)+"\n ")]),e._v("\n "+e._s(e.$t("calendar.timeAddedBy"))+"\n "),n("router-link",{attrs:{to:{name:"memberProfile",params:{username:e.change.fromUser.username}}}},[n("Avatar",{attrs:{member:e.change.fromUser,size:"2rem"}}),e._v(" "),n("Username",{attrs:{user:e.change.fromUser}})],1),e._v(" "),e.change.description?n("em",[e._v("â "+e._s(e.change.description))]):e._e(),e._v(" "),e.change.gameRound?n("span",{staticClass:"mx-2 text-nowrap"},[e._v("\n â\n "),n("router-link",{attrs:{to:{name:"gamePlay",params:{game:e.change.gameRound.game.name,round:e.change.gameRound.id}}}},[n("Icon",{attrs:{v:e.change.gameRound.game.icon}}),e._v("\n "+e._s(e.$t("games."+e.change.gameRound.game.name+".name"))+"\n ")],1)],1):e._e(),e._v(" "),e.change.releaseCondition?n("span",{staticClass:"mx-2 badge badge-warning"},[n("Icon",{attrs:{v:"tasks"}}),e._v("\n "+e._s(e.$t("calendar.period.releaseCondition"))+":\n "+e._s(e.change.releaseCondition)+"\n ")],1):e._e(
2),e._v(" "),e.canManage&&(e.canManageSelf||e.change.fromUser.username==e.$user.username)&&e.change.releaseCondition&&e.change.blocksTermination?n("button",{staticClass:"btn btn-outline-success btn-sm",on:{click:function(t){return e.conditionMet(e.change.id)}}},[n("Icon",{attrs:{v:"check"}}),e._v("\n "+e._s(e.$t("calendar.period.releaseCondition.markMet"))+"\n ")],1):e._e(),e._v(" "),e.change.blocksTermination?n("span",{staticClass:"mx-2 badge badge-danger"},[n("Icon",{attrs:{v:"hand-paper"}}),e._v("\n "+e._s(e.$t("calendar.period.blocksTermination"))+"\n ")],1):e._e(),e._v(" "),e.$user&&e.period.user.username==e.$user.username?n("button",{staticClass:"btn btn-outline-danger btn-xs",on:{click:function(t){return e.remove(e.change)}}},[n("Icon",{attrs:{v:"trash"}})],1):e._e(),e._v(" "),n("AdminerLink",{attrs:{table:"chastity_period_change",value:e.change.id}})],1)};function Qp(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}Kp._withStripped=!0;var Jp=Ca({components:{AdminerLink:Gp,Avatar:Xs,Username:Zl},props:{period:{required:!0},change:{required:!0},canManage:{type:Boolean},canManageSelf:{type:Boolean},duration:{required:!0}},methods:{conditionMet:function(e){var t=this;this.$confirm(this.$t("calendar.period.releaseCondition.markMetConfirm")).then((function(n){t.$apollo.mutate({mutation:ma(Wp||(Wp=Qp(["\n mutation ReleaseConditionMet($changeId: String!) {\n releaseConditionMet(changeId: $changeId)\n }\n "]))),variables:{changeId:e}}).then((function(e){window.location.reload()})).catch((function(e){console.error(e)}))}))},remove:function(e){var t=this;this.$confirm(this.$t("calendar.remove.confirm"),"danger").then((function(n){t.$apollo.mutate({mutation:ma(Yp||(Yp=Qp(["\n mutation RemoveCalendarEntry($id: String!) {\n removeCalendarEntry(id: $id)\n }\n "]))),variables:{id:t.period.id+"|"+e.id}}).then((function(e){e.data.removeCalendarEntry?window.location.reload():alert(t.$t("error.generic"))})).catch((function(e){console.error(e)}))}))},getColour:function(e){return e.delta>0?"warning":e.blocksTermination?"danger":"success"}}},Kp,[],!1,null,null,null);Jp.options.__file="components/pages/Calendar/ChastityPeriodChange.vue";const Zp=Jp.exports;var Xp,eh=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[n("Icon",{attrs:{v:"raindrops"}}),e._v(" "),n("span",{staticClass:"badge badge-dark cursor-pointer",on:{click:function(t){return e.$emit("setdate","event-"+e.event.id)}}},[e._v("\n "+e._s(e.$date(e.event.doneAt))+"\n ")]),e._v(" "),e.event.custom?n("span",[e._v("\n "+e._s(e.event.custom)+"\n ")]):n("span",[e._v("\n "+e._s(e.$t("calendar.event.orgasm."+e.event.orgasm))+":\n "+e._s(e.$t("calendar.event.company."+e.event.company))+",\n "+e._s(e.$t("calendar.event.type."+e.event.type))+"\n ")]),e._v(" "),e.event.gameRound?n("span",{staticClass:"mx-2 text-nowrap"},[e._v("\n â\n "),n("router-link",{attrs:{to:{name:"gamePlay",params:{game:e.event.gameRound.game.name,round:e.event.gameRound.id}}}},[n("Icon",{attrs:{v:e.event.gameRound.game.icon}}),e._v("\n "+e._s(e.$t("games."+e.event.gameRound.game.name+".name"))+"\n ")],1)],1):e._e(),e._v(" "),e.$user&&e.event.user.username==e.$user.username?n("button",{staticClass:"btn btn-outline-danger btn-xs",on:{click:function(t){return e.remove(e.event)}}},[n("Icon",{attrs:{v:"trash"}})],1):e._e(),e._v(" "),n("AdminerLink",{attrs:{table:"event",value:e.event.id}})],1)};eh._withStripped=!0;const th={components:{AdminerLink:Gp},props:{event:{required:!0}},methods:{remove:function(e){var t=this;this.$confirm(this.$t("calendar.remove.confirm"),"danger").then((function(n){var r,o;t.$apollo.mutate({mutation:ma(Xp||(r=["\n mutation RemoveCalendarEntry($id: String!) {\n removeCalendarEntry(id: $
2id)\n }\n "],o||(o=r.slice(0)),Xp=Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}})))),variables:{id:"event-"+e.id}}).then((function(e){window.location.reload()})).catch((function(e){console.error(e)}))}))}}};var nh=Ca(th,eh,[],!1,null,null,null);nh.options.__file="components/pages/Calendar/EventEntry.vue";const rh=nh.exports;var oh=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[n("Icon",{attrs:{v:"pen-nib"}}),e._v(" "),n("span",{staticClass:"badge badge-tertiary cursor-pointer",on:{click:function(t){return e.$emit("setdate","post-"+e.post.id)}}},[e._v("\n "+e._s(e.$date(e.post.createdAt))+"\n ")]),e._v(" "),n("router-link",{attrs:{to:{name:"post",params:{id:e.post.id}}}},[e._v("\n "+e._s(e.post.description)+"â¦\n ")]),e._v(" "),n("AdminerLink",{attrs:{table:"post",value:e.post.id}})],1)};oh._withStripped=!0;var ih=Ca({components:{AdminerLink:Gp},props:{post:{required:!0}}},oh,[],!1,null,null,null);ih.options.__file="components/pages/Calendar/JournalEntry.vue";const ah=ih.exports;function sh(e){return function(e){if(Array.isArray(e))return ch(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||lh(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function lh(e,t){if(e){if("string"==typeof e)return ch(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ch(e,t):void 0}}function ch(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const uh={components:{JournalEntry:ah,EventEntry:rh,ChastityPeriodChange:Zp,ProgressBar:zp,SafeHtml:xl,AdminerLink:Gp},props:{period:{},detailed:{type:Boolean},canManage:{type:Boolean},canManageSelf:{type:Boolean}},data:function(){return{now:this.period.prematureEnd?tl.c9.fromSeconds(this.period.prematureEnd):tl.c9.local(),start:tl.c9.fromSeconds(this.period.start),earliestEnd:tl.c9.fromSeconds(this.period.earliestEnd),prematureEnd:this.period.prematureEnd?tl.c9.fromSeconds(this.period.prematureEnd):null}},methods:{getDiff:function(e,t){return this.$duration(tl.c9.fromSeconds(e).diff(tl.c9.fromSeconds(t)))},getDuration:function(e){return this.$duration(tl.dw.fromObject({hours:e}))},generateEntries:function(e){return[].concat(sh(e.changes),sh(e.events),sh(e.journal)).sort((function(e,t){return(t.start||t.doneAt||t.createdAt)-(e.start||e.doneAt||e.createdAt)}))}},computed:{hasBlockingChange:function(){var e,t=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=lh(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(this.period.changes||[]);try{for(t.s();!(e=t.n()).done;){if(e.value.blocksTermination)return!0}}catch(e){t.e(e)}finally{t.f()}return!1},rules:function(){return this.period.rules?JSON.parse(this.period.rules):null}}};var dh=Ca(uh,Bp,[],!1,null,null,null);dh.options.__file="components/pages/Calendar/ChastityPeriod.vue";const fh=dh.exports;var ph=Ca({components:{Card:wp,Avatar:Xs,Username:Zl,Twemoji:Ol,Country:Tp,RangeIcon:Ap,Relation:$p,Status:tc,ImpersonationStart:Fp,SafeHtml:xl,ChastityPeriod:fh},props:{member:{},connections:{default:void 0},calendar:{type:Boolean}},data:function(){return{cockOptions:{0:"â
",1:"XS",2:"S",3:"M",4:"L",5:"XL",6:"XXL"},genderOptions:{0:"mars",1:"venus",2:"transgender"}}}},kp,[],!1,null,"5a0c1076",null);ph.options.__file="components/widgets/MemberCard.vue";
2const hh=ph.exports;var mh=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{class:["row","columnist",e.classes]},[e._t("default")],2)};mh._withStripped=!0;var vh=__webpack_require__(228),gh=__webpack_require__.n(vh);var yh=Ca({props:{columns:{default:3},columnsTablet:{default:null},refresh:{default:100},classes:{default:""}},mounted:function(){this.columnist=new(gh())(this.$el),this.columnist.start(this.refresh)},unmounted:function(){this.columnist.destroy()},methods:{getColumnClasses:function(){return["columnist-item col-12","col-lg-"+Math.floor(12/(this.columnsTablet||this.columns)),"col-xl-"+Math.floor(12/this.columns)]},reset:function(){this.columnist.destroy().start(this.refresh)}}},mh,[],!1,null,"00e10740",null);yh.options.__file="components/widgets/MasonryGrid.vue";const bh=yh.exports;var _h=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{class:[e.$parent.getColumnClasses(),e.classes]},[e._t("default")],2)};_h._withStripped=!0;var wh=Ca({props:{classes:{default:"pb-4"}}},_h,[],!1,null,null,null);wh.options.__file="components/widgets/MasonryGridItem.vue";const kh=wh.exports;var xh=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Card",{attrs:{classes:e.classes},scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 text-center mb-0"},[n("Icon",{attrs:{v:"id-badge"}}),e._v("\n "+e._s(e.$t("profileCompleteness.header",[e.percent]))+"\n ")],1)]},proxy:!0}])},[e._v(" "),n("p",[n("ProgressBar",{attrs:{value:e.percent}})],1),e._v(" "),e.onlyYou?n("p",[n("small",[e._v(e._s(e.$t("profileCompleteness.onlyYou")))])]):e._e(),e._v(" "),n("ul",{staticClass:"list-unstyled"},e._l(e.profileCompleteness,(function(t,r){return n("li",[t.checked?n("span",{staticClass:"text-success"},[n("span",{staticClass:"fal fa-check-circle fa-fw"}),e._v("\n "+e._s(e.$t("profileCompleteness."+r+".done"))+"\n ")]):n("span",[n("span",{staticClass:"fal fa-circle fa-fw"}),e._v(" "),e.inProfile&&void 0===t.link?n("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.$emit("start-edit")}}},[e._v("\n "+e._s(e.$t("profileCompleteness."+r))+"\n ")]):n("router-link",{attrs:{to:t.link||{name:"memberProfile",params:{username:e.member.username}}}},[e._v("\n "+e._s(e.$t("profileCompleteness."+r))+"\n ")])],1)])})),0)])};xh._withStripped=!0;var Ch=Ca({components:{Card:wp,ProgressBar:zp},props:{member:{required:!0},classes:{default:""},onlyYou:{type:Boolean},inProfile:{type:Boolean}},computed:{profileCompleteness:function(){return{description:{checked:!!this.member.description},role:{checked:null!==this.member.role},gender:{checked:null!==this.member.gender},location:{checked:null!==this.member.country},cock:{checked:null!==this.member.cock},age:{checked:null!==this.member.age},orientation:{checked:null!==this.member.orientation},avatar:{checked:null!==this.member.avatar,link:{name:"memberPics",params:{username:this.member.username}}},post:{checked:null!==this.member.latestPost,link:{name:"memberBlog",params:{username:this.member.username}}},game:{checked:this.member.hasPlayedGames,link:{name:"gamesList"}}}},percent:function(){var e=0,t=0;ba(this.profileCompleteness,(function(n){n.checked&&e++,t++}));var n=parseInt(Math.round(100*e/t));return this.$emit("update-profile-completeness",n),n}}},xh,[],!1,null,null,null);Ch.options.__file="components/fragments/ProfileCompleteness.vue";const Sh=Ch.exports;var Eh=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("ul",[n("li",[e._v(e._s(e.$t("why.reason.1")))]),e._v(" "),n("li",[e._v(e._s(e.$t("why.reason.2")))]),e._v(" "),n("li",[e._v(e._s(e.$t("why.reason.3")))]),e._v(" "),n("li",[e._v(e._s(e.$t("why.reason.4")))]),e._v(" "),n("li",[e._v(e._s(e.$t("why.reason.5")))])]),e._v(" "),n("p",[e._v(e._s(e.$t("why.reason.kinkshame")))])])};Eh._withStripped=!0;var Th=Ca({},Eh,[],!1,null,null,null);Th.options.__file="components/fragments/Why.vue";const Oh=Th.exports;var Ih=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.status,expression:"status"}]},[n("Card",{scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 mb-0"},[n("Icon",{attrs:{v:"calendar-star"}}),e._v("\n "+e._s(e.$t("locktober.name"))+"\n ")],1)]},proxy:!0}])},[e._v(" "),n("LocktoberManage",{attrs:{locktober:e.locktober,status:e.status,user:e.$user}})],1)],1)};Ih._withStripped=!0;var Ah,Dh,Ph=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[1===e.status?n("div",[n("p",{domProps:{innerHTML:e._s(e.$t("locktober.description"))}}),e._v(" "),n("button",{staticClass:"btn btn-primary btn-block",attrs:{disabled:e.saving},on:{click:e.signUp}},[e._v("\n "+e._s(e.$t("locktober.signUp"))+"\n ")])]):2===e.status?n("div",[n("p",[e._v(e._s(e.$t("locktober.signedUp")))])]):3===e.status?n("div",[n("p",{staticClass:"small"},[e._v("\n "+e._s(e.$t("locktober.info"))+"\n ")]),e._v(" "),n("ul",{staticClass:"list-unstyled"},e._l(Array(31).keys(),(function(t){return n("li",[n("span",{staticClass:"badge badge-primary"},[e._v(e._s(t+1))]),e._v(" "),void 0===e.params[t+1]?n("span",[n("Icon",{attrs:{v:"ellipsis-h"}})],1):e.params[t+1][1]?"number"==typeof e.params[t+1][0]?n("span",[e._v("\n +"+e._s(e.params[t+1][0])+"h\n ")]):n("span",[e._v("\n "+e._s(e.params[t+1][0])+"\n "),e.params[t+1][2]?e._e():n("a",{staticClass:"badge badge-light border border-success",attrs:{href:"#",disabled:e.saving},on:{click:function(n){return n.preventDefault(),e.done(t+1)}}},[e._v("\n "+e._s(e.$t("locktober.done"))+"\n ")]),e._v(" "),e.params[t+1][2]?e._e():n("a",{staticClass:"badge badge-light border border-warning",attrs:{href:"#",disabled:e.saving},on:{click:function(n){return n.preventDefault(),e.wontDo(t+1)}}},[e._v("\n "+e._s(e.$t("locktober.wontDo"))+"\n ")])]):n("span",[t+1===e.lastDay?n("a",{staticClass:"badge badge-light border border-primary",attrs:{href:"#",disabled:e.saving},on:{click:function(n){return n.preventDefault(),e.roll(t+1)}}},[e._v("\n "+e._s(e.$t("locktober.roll"))+"\n ")]):n("span",{staticClass:"badge badge-danger"},[n("Icon",{attrs:{v:"exclamation-triangle"}}),e._v("\n "+e._s(e.$t("locktober.missed"))+"\n ")],1)])])}
2)),0)]):e._e()])};function Mh(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}Ph._withStripped=!0;tl.c9.utc();var $h=Ca({props:{locktober:{required:!0},status:{required:!0}},data:function(){return{saving:!1}},methods:{signUp:function(){var e=this;this.$confirm(this.$t("confirm")).then((function(t){e.saving=!0,e.$apollo.mutate({mutation:ma(Ah||(Ah=Mh(["\n mutation {\n locktoberSignup {\n year\n params\n result\n }\n }\n "])))}).then((function(t){e.saving=!1,e.$user.locktobers.push(t.data.locktoberSignup)})).catch((function(t){e.saving=!1}))}))},roll:function(e){this.update("Roll",e)},done:function(e){this.update("Done",e)},wontDo:function(e){this.update("WontDo",e)},update:function(e,t){var n=this;this.saving=!0,this.$apollo.mutate({mutation:ma(Dh||(Dh=Mh(["\n mutation LocktoberUpdate($day: Int!) {\n locktoberUpdate: locktober","(day: $day) {\n year\n params\n result\n }\n }\n "])),e),variables:{day:t}}).then((function(e){n.saving=!1,n.locktober.params=e.data.locktoberUpdate.params,n.$forceUpdate()})).catch((function(e){n.saving=!1}))}},computed:{params:function(){return JSON.parse(this.locktober.params)},lastDay:function(){var e=Object.keys(this.params);return e.length?parseInt(e[e.length-1]):0}}},Ph,[],!1,null,null,null);$h.options.__file="components/fragments/Locktober/LocktoberManage.vue";const Nh=$h.exports;var Rh=tl.c9.utc();var Lh=Ca({components:{Card:wp,LocktoberManage:Nh},computed:{locktober:function(){var e=this.$user.locktobers.filter((function(e){return e.year===Rh.year}));return e.length?e[0]:null},status:function(){if(!this.$user)return 0;var e=null!==this.locktober;return this.locktober&&null!==this.locktober.result?0:9===Rh.month?e?2:1:10===Rh.month&&e?3:0}}},Ih,[],!1,null,null,null);Lh.options.__file="components/fragments/Locktober/LocktoberManageWrapper.vue";const jh=Lh.exports;var Fh=Ca({components:{Login:ms,ScrollButton:mp,Stat:yp,Loading:us,Card:wp,MemberCard:hh,MasonryGrid:bh,MasonryGridItem:kh,Checkbox:ns,ProfileCompleteness:Sh,LanguageSwitch:Ac,Why:Oh,LocktoberManageWrapper:jh,ModeSwitch:jc,Merger:qc},data:function(){return{stats:void 0,profileCompleteness:0,hideBranding:Jo.get("hideBranding")||!1,blurPics:Jo.get("blurPics")||!1,muteSounds:Jo.get("muteSounds")||!1}},mounted:function(){var e=this;this.$cache.get("stats").then((function(t){e.stats=t.data.stats}))},methods:{groupConnections:function(e){var t={};return t[e.username]={counterpart:e,connections:[]},ba(e.importantConnections,(function(e){var n=e.counterpart.username;void 0===t[n]&&(t[n]={counterpart:e.counterpart,connections:[]}),t[n].connections.push(e.relationOfCounterpart)})),t},setProfileCompleteness:function(e){this.profileCompleteness=e},getFeatureUrl:function(e){return __webpack_require__(8950)("./feature-".concat(e,".png"))}},watch:{hideBranding:function(e){Jo.set("hideBranding",e),this.$eventHub.$emit("set-hide-branding",e)},blurPics:function(e){Jo.set("blurPics",e),this.$eventHub.$emit("set-blur-pics",e)},muteSounds:function(e){Jo.set("muteSounds",e),this.$eventHub.$emit("set-mute-sounds",e)}}},fp,[],!1,null,"0456d6e5",null);Fh.options.__file="components/pages/Home.vue";const Bh=Fh.exports;var qh=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"container"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col-12 col-xl-4 offset-xl-4 col-md-6 offset-md-3 pt-4"},[t("LoginFragment")],1)])])};qh._withStripped=!0;var Hh=Ca({components:{LoginFragment:ms},mounted:function(){this.$user&&this.$router.push({name:"home"})}},qh,[],!1,null,null,null);Hh.options.__file="components/pages/Login.vue";const zh=Hh.exports;var Uh,Vh=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[e.errorMessage?n("div",{staticClass:"alert alert-danger"},[e._v("\n "+e._s(e.errorMessage)+"\n ")]):n("p",{staticClass:"text-center"},[n("Spinner",{attrs:{size:"5rem"}})],1)])};Vh._withStripped=!0;const Gh={components:{Spinner:Da},mixins:[La],data:function(){return{errorMessage:null}},mounted:function(){var e,t,n=this;Jo.get("social")?this.$apollo.query({query:ma(Uh||(e=["\n query SocialLoginCallback($provider: String!, $data: Json!, $session: String!) {\n login: socialLoginCallback(provider: $provider, data: $data, session: $session) {\n username\n jwt\n }\n }\n "],t||(t=e.slice(0)),Uh=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})))),variables:{provider:this.$route.params.provider,data:JSON.stringify(this.$route.query),session:Jo.get("social")}}).then((function(e){if(e.errors){var t=e.errors[0];if("socialEmailTaken"===t.category)return void(n.errorMessage=n.$t("error.social.emailTaken",{email:t.message,provider:n.ucfirst(n.$route.params.provider)}));throw t}Jo.remove("social"),n.doLogin(e.data.login.username,e.data.login.jwt)})).catch((function(e){n.errorMessage=n.$t("error.generic")})):this.errorMessage=this.$t("error.social.noSession",{provider:this.ucfirst(this.$route.params.provider)})}};var Wh=Ca(Gh,Vh,[],!1,null,null,null);Wh.options.__file="components/pages/LoginSocial.vue";const Yh=Wh.exports;var Kh,Qh=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[e.errorMessage?n("div",{staticClass:"alert alert-danger"},[e._v("\n "+e._s(e.$t("login.error."+e.errorMessage))+"\n ")]):n("p",{staticClass:"text-center"},[n("Spinner",{attrs:{size:"5rem"}})],1)])};Qh._withStripped=!0;const Jh={components:{Spinner:Da},mixins:[La],data:function(){return{errorMessage:""}},mounted:function(){var e,t,n=this;this.$apollo.query({query:ma(Kh||(e=["\n query TokenLogin($token: String!) {\n login: tokenLogin(token: $token) {\n username\n jwt\n }\n }\n "],t||(t=e.slice(0)),Kh=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})))),variables:{token:this.$route.params.token}}).then((function(e){n.doLogin(e.data.login.username,e.data.login.jwt)})).catch((function(){n.errorMessage="invalidToken"}))}};var Zh=Ca(Jh,Qh,[],!1,null,null,null);Zh.options.__file="components/pages/LoginToken.vue";const Xh=Zh.exports;var em,tm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[e.errorMessage?n("div",{staticClass:"alert alert-danger"},[e._v("\n "+e._s(e.errorMessage)+"\n ")]):n("p",{staticClass:"text-center"},[n("Spinner",{attrs:{size:"5rem"}})],1)])};tm._withStripped=!0;const nm={components:{Spinner:Da},mixins:[La],data:function(){return{errorMessage:""}},mounted:function(){var e,t,n=this;this.$apollo.query({query:ma(em||(e=["\n query ConfirmEmail($token: String!) {\n login: confirmEmail(token: $token) {\n username\n email\n jwt\n }\n }\n "],t||(t=e.slice(0)),em=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})))),variables:{token:this.$route.params.token}}).then((function(e){if(e.errors){var t=e.errors[0];if("changeEmailTaken"===t.category)return void(n.errorMessage=n.$t("error.changeEmail.taken",{email:t.message}));throw t}n.$user&&(n.$user.email=e.data.login.email),n.doLogin(e.data.login.username,e.data.login.jwt)})).catch((function(){n.errorMessage=n.$t("confirmEmail.error.invali
2dToken")}))}};var rm=Ca(nm,tm,[],!1,null,null,null);rm.options.__file="components/pages/ConfirmEmail.vue";const om=rm.exports;var im=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-lg-4 offset-lg-4 offset-4"},[n("FinishRegistrationForm"),e._v(" "),n("a",{staticClass:"btn btn-block mt-5 btn-sm",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.logout.apply(null,arguments)}}},[n("Icon",{attrs:{v:"sign-out"}}),e._v("\n "+e._s(e.$t("logout"))+"\n ")],1)],1)])])};im._withStripped=!0;var am,sm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("h3",[n("Icon",{attrs:{v:"user-edit"}}),e._v("\n "+e._s(e.$t("finishRegistration.header"))+"\n ")],1),e._v(" "),n("Form",{ref:"form",on:{submit:e.signup},scopedSlots:e._u([{key:"default",fn:function(t){return[e.sent?e._e():n("div",[n("FormGroup",{attrs:{error:t.errors.username,label:e.$t("username")},scopedSlots:e._u([{key:"default",fn:function(t){return[n("input",{directives:[{name:"model",rawName:"v-model",value:e.username,expression:"username"}],class:t.controlClass,attrs:{placeholder:e.$t("username")},domProps:{value:e.username},on:{input:function(t){t.target.composing||(e.username=t.target.value)}}})]}}],null,!0)}),e._v(" "),e.$user.email?n("div",[n("input",{staticClass:"form-control",attrs:{placeholder:e.$user.email,disabled:""}})]):n("FormGroup",{attrs:{error:t.errors.email,helper:e.$t("email.real")},scopedSlots:e._u([{key:"default",fn:function(t){return[n("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"}],class:t.controlClass,attrs:{type:"email",placeholder:e.$t("email")},domProps:{value:e.email},on:{input:function(t){t.target.composing||(e.email=t.target.value)}}})]}}],null,!0)}),e._v(" "),n("FormGroup",{attrs:{error:t.errors.password,label:e.$t("finishRegistration.passwordOptional")},scopedSlots:e._u([{key:"default",fn:function(t){return[n("PasswordField",{attrs:{classes:t.controlClass,placeholder:e.$t("password"),pwned:""},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}})]}}],null,!0)}),e._v(" "),n("FormGroup",{attrs:{error:t.errors.terms},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Checkbox",{model:{value:e.terms,callback:function(t){e.terms=t},expression:"terms"}},[e._v("\n "+e._s(e.$t("terms.agree"))+"\n "),n("router-link",{attrs:{to:{name:"terms"},target:"_blank"}},[e._v(e._s(e.$t("terms.header")))])],1)]}}],null,!0)}),e._v(" "),n("div",{staticClass:"form-group"},[n("button",{staticClass:"btn btn-primary btn-block"},[n("Icon",{attrs:{v:"user-edit"}}),e._v("\n "+e._s(e.$t("finishRegistration.header"))+"\n ")],1)])],1)]}}])})],1)};sm._withStripped=!0;const lm={components:{PasswordField:Ea,FormGroup:Za,Checkbox:ns,Form:Ra},props:{user:{default:null}},data:function(){return{username:this.$user.username,email:this.$user.email||"",password:"",terms:this.$user.acceptedTerms,sent:!1}},mounted:function(){this.$user&&!this.$user.active||this.$router.push({name:"home"})},watch:{username:"clearMessages",email:"clearMessages",password:"clearMessages"},methods:{signup:function(e){var t,n,r=this;this.formErrors={},this.clearMessages(),this.$apollo.query({query:ma(am||(t=["\n query SocialFinishRegistration($username: String!, $email: String!, $password: String!, $terms: Boolean!) {\n confirmationSent: socialFinishRegistration(username: $username, email: $email, password: $password, terms: $terms)\n }\n "],n||(n=t.slice(0)),am=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}})))),variables:{username:this.username,email:this.email,password:this.password,terms:this.terms}}).then((function(t){if(t.errors)throw{graphQLErrors:t.errors};t.data.confirmationSent?(e.success(r.$t("register.success")),r.sent=!0):(r.$router.push({name:"memberProfile",params:{username:r.username}}),window.location.reload())})).catch((function(t){e.validate(t)}
2)).catch((function(t){e.error()}))},clearMessages:function(){this.$refs.form.clear()}}};var cm=Ca(lm,sm,[],!1,null,null,null);cm.options.__file="components/fragments/Login/FinishRegistrationForm.vue";var um=Ca({components:{FinishRegistrationForm:cm.exports},mounted:function(){this.$user&&!this.$user.active||this.$router.push({name:"home"})},methods:{logout:function(){Jo.remove("user"),window.location.reload()}}},im,[],!1,null,null,null);um.options.__file="components/pages/FinishRegistration.vue";const dm=um.exports;var fm,pm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-lg-6 offset-lg-3 col-xl-4 offset-xl-4 "},[n("Form",{on:{submit:e.confirm},scopedSlots:e._u([{key:"default",fn:function(t){return[n("h3",[n("Icon",{attrs:{v:"shield-check"}}),e._v("\n "+e._s(e.$t("mfa.header"))+"\n ")],1),e._v(" "),n("FormGroup",{attrs:{error:t.errors.code,classes:"mt-4"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"input-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.code,expression:"code"}],ref:"code",class:t.controlClass,attrs:{type:"text",placeholder:e.$t("mfa.code"),required:"",pattern:"\\d{6}",autofocus:""},domProps:{value:e.code},on:{input:function(t){t.target.composing||(e.code=t.target.value)}}}),e._v(" "),n("div",{staticClass:"input-group-append"},[n("button",{staticClass:"btn btn-outline-primary"},[e._v(e._s(e.$t("mfa.submit")))])])])]}}],null,!0)})]}}])}),e._v(" "),n("p",[n("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.logout.apply(null,arguments)}}},[n("Icon",{attrs:{v:"sign-out"}}),e._v("\n "+e._s(e.$t("logout"))+"\n ")],1)])],1)])])};pm._withStripped=!0;const hm={components:{Form:Ra,FormGroup:Za},mixins:[La],data:function(){return{code:""}},mounted:function(){this.$user&&this.$user.requiresMfa||this.$router.push({name:"home"}),this.$refs.code.focus()},methods:{confirm:function(e){var t,n,r=this;this.$apollo.mutate({mutation:ma(fm||(t=["\n mutation MfaValidate($code: String!) {\n login: mfaValidate(code: $code) {\n username\n jwt\n }\n }\n "],n||(n=t.slice(0)),fm=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}})))),variables:{code:this.code}}).then((function(t){e.success(""),r.doLogin(t.data.login.username,t.data.login.jwt)})).catch((function(t){e.validate(t),r.code=""})).catch((function(t){e.error()}))},logout:function(){Jo.remove("user"),this.$router.push({name:"home"}),window.location.reload()}}};var mm=Ca(hm,pm,[],!1,null,null,null);mm.options.__file="components/pages/LoginMfa.vue";const vm=mm.exports;var gm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$t("account")}}),e._v(" "),n("h2",[n("Icon",{attrs:{v:"user-circle"}}),e._v("\n "+e._s(e.$t("account"))+"\n ")],1),e._v(" "),n("Loading",{attrs:{value:e.providers}},[n("MasonryGrid",{ref:"grid",attrs:{columns:"3",columnsTablet:"2",classes:"my-4"}},[n("MasonryGridItem",[n("Card",{scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 mb-0"},[n("Icon",{attrs:{v:"envelope"}}),e._v("\n "+e._s(e.$t("email"))+"\n "),n("small",[e._v("\n "+e._s(e.$user.email)+"\n ")])],1)]},proxy:!0}])},[e._v(" "),n("Form",{on:{submit:e.changeEmail},scopedSlots:e._u([{key:"default",fn:function(t){return[n("FormGroup",{attrs:{error:t.errors.email,classes:"mb-0"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"input-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"}],class:t.controlClass,attrs:{type:"email",placeholder:e.$t("account.change.email"),required:""},domProps:{value:e.email},on:{input:function(t){t.target.composing||(e.email=t.target.value)}}}),e._v(" "),n("div",{staticClass:"input-group-append"},[n("button",{staticClass:"btn btn-outline-danger"},[e._v(e._s(e.$t("account.change.action")))])])])]}}],null,!0)})]}}])})],1)],1),e._v(" "),n("MasonryGridItem",[n("Card",{scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 mb-0"},[n("Icon",{attrs:{v:"key"}}),e._v("\n "+e._s(e.$t("password"))+"\n ")],1)]},proxy:!0}])},[e._v(" "),n("Form",{on:{submit:e.changePassword},scopedSlots:e._u([{key:"default",fn:function(t){return[n("FormGroup",{attrs:{error:t.errors.password,classes:"mb-0"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"input-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.password,expression:"password"}],class:t.controlClass,attrs:{type:"password",placeholder:e.$t("account.change.password"),required:"",minlength:"7"},domProps:{value:e.password},on:{input:function(t){t.target.composing||(e.password=t.target.value)}}}),e._v(" "),n("div",{staticClass:"input-group-append"},[n("button",{staticClass:"btn btn-outline-danger"},[e._v(e._s(e.$t("account.change.action")))])])])]}}],null,!0)})]}}])})],1)],1),e._v(" "),n("MasonryGridItem",[n("MultiFactor")],1),e._v(" "),n("MasonryGridItem",[n("Card",{scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 mb-0"},[n("Icon",{attrs:{v:"sliders-h-square"}}),e._v("\n "+e._s(e.$t("account.settings"))+"\n ")],1)]},proxy:!0}])},[e._v(" "),e.notificationPermission?n("div",[n("p",{staticClass:"text-center mb-0"},["default"===e.notificationPermission?n("button",{staticClass:"btn btn-outline-primary",on:{click:function(t){return e.$pushManager.enablePush()}}},[n("Icon",{attrs:{v:"bell-on"}}),e._v("\n "+e._s(e.$t("notification.browser.default"))+"\n ")],1):"granted"===e.n
2otificationPermission?n("span",{staticClass:"text-success"},[n("Icon",{attrs:{v:"check-circle"}}),e._v("\n "+e._s(e.$t("notification.browser.granted"))+"\n ")],1):"denied"===e.notificationPermission?n("span",{staticClass:"text-muted"},[n("Icon",{attrs:{v:"times-circle"}}),e._v("\n "+e._s(e.$t("notification.browser.denied"))+"\n ")],1):e._e()]),e._v(" "),n("hr")]):e._e(),e._v(" "),n("Form",{on:{submit:e.updateSettings},scopedSlots:e._u([{key:"default",fn:function(t){return[n("FormGroup",{attrs:{error:t.errors.hideCircumcision},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Checkbox",{attrs:{toggle:""},model:{value:e.hideCircumcision,callback:function(t){e.hideCircumcision=t},expression:"hideCircumcision"}},[e._v("\n "+e._s(e.$t("account.settings.hideCircumcision"))+"\n ")])]}}],null,!0)}),e._v(" "),n("FormGroup",{attrs:{error:t.errors.emailNotificationsFrequency},scopedSlots:e._u([{key:"default",fn:function(t){return[n("p",{staticClass:"mb-0"},[n("Icon",{attrs:{v:"envelope"}}),e._v("\n "+e._s(e.$t("account.settings.emailNotificationsFrequency"))+":\n ")],1),e._v(" "),n("RadioButtonGroup",{attrs:{options:{1:"clock",24:"calendar-day",168:"calendar-week",720:"calendar",null:"ban"},classes:"p-2 mt-2 lh-1",block:"",color:"outline-primary"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Icon",{attrs:{v:t.option}}),e._v(" "),n("br"),e._v(" "),n("small",[e._v("\n "+e._s(e.$t("account.settings.emailNotificationsFrequency."+t.optionValue))+"\n ")])]}}],null,!0),model:{value:e.emailNotificationsFrequency,callback:function(t){e.emailNotificationsFrequency=t},expression:"emailNotificationsFrequency"}})]}}],null,!0)}),e._v(" "),n("button",{staticClass:"btn btn-outline-primary btn-block"},[n("Icon",{attrs:{v:"save"}}),e._v("\n "+e._s(e.$t("save"))+"\n ")],1)]}}])})],1)],1),e._v(" "),n("MasonryGridItem",[n("Card",{scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 mb-0"},[n("Icon",{attrs:{v:"signature"}}),e._v("\n "+e._s(e.$t("username"))+"\n "),n("small",[e._v("\n @"+e._s(e.$user.username)+"\n ")])],1)]},proxy:!0}])},[e._v(" "),n("Form",{on:{submit:e.changeUsername},scopedSlots:e._u([{key:"default",fn:function(t){return[n("p",{staticClass:"small"},[e._v(e._s(e.$t("account.changeUsername.info")))]),e._v(" "),Object.keys(e.$user.previousUsernames).length?n("ul",e._l(e.$user.previousUsernames,(function(t,r){return n("li",[e._v("\n "+e._s(t)+" "),n("small",[e._v("("+e._s(r)+")")])])})),0):e._e(),e._v(" "),e.canChangeUsername()?[n("FormGroup",{attrs:{error:t.errors.username},scopedSlots:e._u([{key:"default",fn:function(t){return[n("input",{directives:[{name:"model",rawName:"v-model",value:e.username,expression:"username"}],class:t.controlClass,attrs:{placeholder:e.$t("username"),required:"",minlength:"5",maxlength:"16"},domProps:{value:e.username},on:{input:function(t){t.target.composing||(e.username=t.target.value)}}})]}}],null,!0)}),e._v(" "),n("button",{staticClass:"btn btn-outline-primary btn-block"},[n("Icon",{attrs:{v:"save"}}),e._v("\n "+e._s(e.$t("account.changeUsername.action"))+"\n ")],1)]:e._e()]}}])})],1)],1),e._v(" "),e._l(e.providers||[],(function(e,t){return n("MasonryGridItem",{key:t},[n("SocialConnection",{attrs:{provider:t,data:e}})],1)})),e._v(" "),n("MasonryGridItem",[n("Card",{scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 mb-0"},[n("Icon",{attrs:{v:"trash"}}),e._v("\n "+e._s(e.$t("account.delete"))+"\n ")],1)]},proxy:!0}])},[e._v(" "),n("Form",{on:{submit:e.disableAccount},scopedSlots:e._u([{key:"default",fn:function(t){return[n("button",{staticClass:"btn btn-outline-warning btn-block"},[n("Icon",{attrs:{v:"island-tropical"}}),e._v("\n "+e._s(e.$t("account.disable"))+"\n ")],1)]}}])}),e._v(" "),n("Form",{on:{submit:e.deleteAccount},scopedSlots:e._u([{key:"default",fn:function(t){return[n("button",{staticClass:"btn btn-outline-danger btn-block"},[n("Icon",{attrs:{v:"trash"}}),e._v("\n "+e._s(e.$t("account.delete"))+"\n ")],1)]}}])})],1)],1)],2)],1)],1)};gm._withStripped=!0;var ym,bm,_m=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Card",{attrs:{classes:"overlay-container"},scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 mb-0"},[n("Icon",{attrs:{v:e.provider,set:"brand"}}),e._v("\n "+e._s(e.ucfirst(e.provider))+"\n ")],1),e._v(" "),null!==e.data?n("span",[n("a",{attrs:{href:"#","data-toggle":"tooltip",title:e.$t("social.update"),"data-container":"body"},on:{click:function(t){return t.preventDefault(),e.login.apply(null,arguments)}}},[n("Icon",{attrs:{v:"sync"}})],1),e._v(" "),n("a",{staticClass:"ml-3 text-danger",attrs:{href:"#","data-toggle":"tooltip",title:e.$t("social.disconnect"),"data-container":"body"},on:{click:function(t){return t.preventDefault(),e.disconnect.apply(null,arguments)}}},[n("Icon",{attrs:{v:"trash"}}
2)],1)]):e._e()]},proxy:!0}])},[n("Overlay",{attrs:{show:e.overlay}}),e._v(" "),e._v(" "),null===e.data?n("div",[n("button",{staticClass:"btn btn-outline-primary btn-block",on:{click:e.login}},[n("Icon",{attrs:{v:e.provider,set:"brand"}}),e._v("\n "+e._s(e.$t("social.connect"))+"\n ")],1)]):n("div",[n("p",{staticClass:"h4 mb-0"},[e.data.avatar?n("img",{staticClass:"avatar rounded-circle shadow mr-2",attrs:{src:e.data.avatar}}):e._e(),e._v(" "),n("Twemoji",[e.url?n("a",{attrs:{href:e.url,target:"_blank",rel:"noopener"}},[e._v("\n "+e._s(e.data.name)+"\n ")]):e._e()]),e._v(" "),e.data.username?n("small",{staticClass:"ml-2"},[e._v("\n ("+e._s(e.data.username)+")\n ")]):e._e(),e._v(" "),e.data.email?n("small",{staticClass:"ml-2"},[n("br"),e._v("\n "+e._s(e.data.email)+"\n ")]):e._e()],1)])],1)};function wm(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}_m._withStripped=!0;var km=Ca({components:{Card:wp,Twemoji:Ol,Overlay:Ma},props:{provider:{},data:{}},data:function(){return{overlay:!1}},mounted:function(){Xo()(this.$el).find('[data-toggle="tooltip"]').tooltip()},methods:{login:function(){var e=this;this.overlay=!0,this.$apollo.query({query:ma(ym||(ym=wm(["\n query login($provider: String!) {\n socialLogin(provider: $provider) {\n redirectUri\n session\n }\n }\n "]))),variables:{provider:this.provider}}).then((function(t){e.overlay=!1,Jo.set("social",t.data.socialLogin.session),e.$user&&Jo.set("redirectAfterLogin",{name:"account"}),window.location.href=t.data.socialLogin.redirectUri}))},disconnect:function(){var e=this;this.$confirm(this.$t("social.disconnect.confirm")).then((function(t){e.overlay=!0,e.$apollo.mutate({mutation:ma(bm||(bm=wm(["\n mutation SocialDisconnect($provider: String!) {\n socialDisconnect(provider: $provider)\n }\n "]))),variables:{provider:e.provider}}).then((function(t){e.overlay=!1,window.location.reload()}))}))}},computed:{url:function(){return"twitter"===this.provider?"https://twitter.com/".concat(this.data.username):"facebook"===this.provider?"https://facebook.com/".concat(this.data.username):null}}},_m,[],!1,null,"b2e39c1a",null);km.options.__file="components/pages/Account/SocialConnection.vue";const xm=km.exports;var Cm,Sm,Em,Tm,Om,Im=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Card",{attrs:{classes:"overlay-container"},scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 mb-0"},[n("Icon",{attrs:{v:"shield-check"}}),e._v("\n "+e._s(e.$t("account.mfa.header"))+"\n ")],1)]},proxy:!0}])},[n("Overlay",{attrs:{show:e.overlay}}),e._v(" "),e._v(" "),e.user.mfa?n("div",[n("p",[n("Icon",{attrs:{v:"shield-check"}}),e._v("\n "+e._s(e.$t("account.mfa.fallbacks.instruction"))+"\n ")],1),e._v(" "),n("ul",{staticClass:"list list-horizontal hover-show"},[e._l(e.user.mfaFallbacks,(function(t){return n("li",[e._v("\n "+e._s(t)+"\n ")])})),e._v(" "),e.regenerated?e._e():n("li",[n("small",[n("a",{staticClass:"text-nowrap",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.regenerate.apply(null,arguments)}}},[n("Icon",{attrs:{v:"redo"}}),e._v("\n "+e._s(e.$t("account.mfa.fallbacks.regenerate"))+"\n ")],1)])])],2),e._v(" "),n("small",[n("Icon",{staticClass:"ml-2",attrs:{v:"mouse-pointer",fluidWidth:""}}),e._v("\n "+e._s(e.$t("account.mfa.hovershow"))+"\n ")],1),e._v(" "),n("a",{staticClass:"small text-danger",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.disable.apply(null,arguments)}}},[n("Icon",{staticClass:"ml-2",attrs:{v:"power-off",fluidWidth:""}}),e._v("\n "+e._s(e.$t("account.mfa.disable.action"))+"\n ")],1)]):n("div",[e.secret?n("div",[n("div",{staticClass:"text-center"},[n("img",{attrs:{src:e.url}}),e._v(" "),n("br"),e._v("\n ("+e._s(e.secret)+")\n ")]),e._v(" "),n("p",{staticClass:"mt-2",domProps:{innerHTML:e._s(e.$t("account.mfa.init.instruction"))}}),e._v(" "),n("Form",{on:{submit:e.init},scopedSlots:e._u([{key:"default",fn:function(t){return[n("FormGroup",{attrs:{error:t.errors.code,classes:"mb-0"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"input-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.code,expression:"code"}],class:t.controlClass,attrs:{type:"text",placeholder:e.$t("account.mfa.code"),required:"",pattern:"\\d{6}",autofocus:""},domProps:{value:e.code},on:{input:function(t){t.target.composing||(e.code=t.target.value)}}}),e._v(" "),n("div",{staticClass:"input-group-append"},[n("button",{staticClass:"btn btn-outline-primary"},[e._v(e._s(e.$t("account.mfa.code.send")))])])])]}}],null,!0)})]}}],null,!1,676833770)})],1):n("div",[n("button",{staticClass:"btn btn-outline-primary btn-block",on:{click:function(t){return t.preventDefault(),e.getUrl.apply(null,arguments)}}},[n("Icon",{attrs:{v:"tools"}}),e._v("\n "+e._s(e.$t("account.mfa.init"))+"\n ")],1)])])],1
2)};function Am(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}Im._withStripped=!0;var Dm=Ca({components:{Card:wp,Overlay:Ma,Form:Ra,FormGroup:Za},props:{},data:function(){return{overlay:!1,user:{},secret:null,url:null,code:"",showFallback:!1,regenerated:!1}},apollo:{user:{query:ma(Cm||(Cm=Am(["\n query {\n user: currentUser {\n mfa\n mfaFallbacks\n }\n }\n "])))}},methods:{getUrl:function(){var e=this;this.overlay=!0,this.$apollo.query({query:ma(Sm||(Sm=Am(["\n query {\n mfaGetUrl {\n secret\n url\n }\n }\n "])))}).then((function(t){e.overlay=!1,e.secret=t.data.mfaGetUrl.secret,e.url=t.data.mfaGetUrl.url}))},init:function(e){var t=this;this.$apollo.mutate({mutation:ma(Em||(Em=Am(["\n mutation MfaInit($secret: String!, $code: String!) {\n mfaInit(secret: $secret, code: $code)\n }\n "]))),variables:{code:this.code,secret:this.secret}}).then((function(n){e.success(""),t.user.mfa=!0,t.user.mfaFallbacks=n.data.mfaInit,t.secret=null})).catch((function(t){e.validate(t)})).catch((function(t){e.error()}))},regenerate:function(){var e=this;this.overlay=!0,this.$apollo.mutate({mutation:ma(Tm||(Tm=Am(["\n mutation {\n mfaRegenerate\n }\n "])))}).then((function(t){e.overlay=!1,e.user.mfaFallbacks=t.data.mfaRegenerate,e.regenerated=!0}))},disable:function(){var e=this;this.$confirm(this.$t("account.mfa.disable.confirm")).then((function(t){e.$apollo.mutate({mutation:ma(Om||(Om=Am(["\n mutation MfaDisable {\n mfaDisable\n }\n "])))}).then((function(e){window.location.reload()})).catch((function(e){console.error(e)}))}))}}},Im,[],!1,null,"45fa7dd0",null);Dm.options.__file="components/pages/Account/MultiFactor.vue";const Pm=Dm.exports;var Mm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:{"btn-group flex-column":!0,"flex-lg-row":!e.vertical,"btn-block":e.block}},e._l(e.options,(function(t,r){return n("button",{class:["btn","btn-"+e.color,e.classes,{active:e.isSelected(e.getValue(r))}],attrs:{type:"button"},on:{click:function(t){t.preventDefault(),e.setValue(e.getValue(r))}}},[e._t("default",(function(){return[e._v("\n "+e._s(t)+"\n ")]}),{option:t,optionValue:r})],2)})),0)};Mm._withStripped=!0;var $m=Ca(__webpack_require__(9944).A,Mm,[],!1,null,null,null);$m.options.__file="components/widgets/RadioButtonGroup.vue";const Nm=$m.exports;var Rm,Lm,jm,Fm,Bm,qm,Hm;function zm(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Um=Ca({components:{MasonryGrid:bh,MasonryGridItem:kh,Loading:us,Card:wp,FormGroup:Za,Form:Ra,SocialConnection:xm,MultiFactor:Pm,Checkbox:ns,RadioButtonGroup:Nm},data:function(){return{email:"",password:"",username:"",hideCircumcision:this.$user.hideCircumcision,emailNotificationsFrequency:this.$user.emailNotificationsFrequency+"",providers:void 0,notificationPermission:this.$pushManager.getPermission()}},mounted:function(){var e=this;this.$user?setInterval((function(t){e.notificationPermission=e.$pushManager.getPermission()}),1e3):this.$router.push({name:"home"})},apollo:{providers:{query:ma(Rm||(Rm=zm(["\n query {\n providers: accountSocialProviders\n }\n "]))),result:function(){var e=this;this.providers=JSON.parse(this.providers),this.$nextTick((function(t){Xo()(e.$refs.grid.$el).find('[data-toggle="tooltip"]').tooltip()}))}}},methods:{changeEmail:function(e){var t=this;this.$apollo.mutate({mutation:ma(Lm||(Lm=zm(["\n mutation ChangeEmail($email: String!) {\n changeEmail(email: $email)\n }\n "]))),variables:{email:this.email}}).then((function(n){Jo.set("redirectAfterLogin",{name:"account"}),e.success(t.$t("account.success.emailSent"))})).catch((function(t){e.validate(t)}
2)).catch((function(t){e.error()}))},changePassword:function(e){var t=this;this.$apollo.mutate({mutation:ma(jm||(jm=zm(["\n mutation ChangePassword($password: String!) {\n changePassword(password: $password)\n }\n "]))),variables:{password:this.password}}).then((function(n){e.success(t.$t("account.success.passwordChanged"))})).catch((function(t){e.validate(t)})).catch((function(t){e.error()}))},updateSettings:function(e){var t=this;this.$apollo.mutate({mutation:ma(Fm||(Fm=zm(["\n mutation AccountSettings($hideCircumcision: Boolean!, $emailNotificationsFrequency: Int) {\n user: accountSettings(hideCircumcision: $hideCircumcision, emailNotificationsFrequency: $emailNotificationsFrequency) {\n hideCircumcision\n emailNotificationsFrequency\n }\n }\n "]))),variables:{hideCircumcision:this.hideCircumcision,emailNotificationsFrequency:"null"===this.emailNotificationsFrequency?null:parseInt(this.emailNotificationsFrequency)}}).then((function(n){e.success(),t.$user.hideCircumcision=n.data.user.hideCircumcision,t.$user.emailNotificationsFrequency=n.data.user.emailNotificationsFrequency})).catch((function(t){e.validate(t)})).catch((function(t){e.error("")}))},canChangeUsername:function(){if(0===Object.keys(this.$user.previousUsernames).length)return!0;var e=Object.keys(this.$user.previousUsernames)[Object.keys(this.$user.previousUsernames).length-1];return tl.c9.fromISO(e.replace(" ","T")).toSeconds()<tl.c9.local().minus(tl.dw.fromObject({years:1})).toSeconds()},changeUsername:function(e){this.$apollo.mutate({mutation:ma(Bm||(Bm=zm(["\n mutation ChangeUsername($to: String!) {\n result: changeUsername(to: $to)\n }\n "]))),variables:{to:this.username}}).then((function(t){t.data.result?(e.success(),Jo.remove("user"),window.location.reload()):e.error()})).catch((function(t){e.validate(t)})).catch((function(t){e.error()}))},deleteAccount:function(e){var t=this;this.$confirm(this.$t("account.delete.confirm"),"danger").then((function(n){t.$apollo.mutate({mutation:ma(qm||(qm=zm(["\n mutation {\n deleteAccount\n }\n "])))}).then((function(t){Jo.remove("user"),window.location.reload(),e.success()})).catch((function(t){console.error(t),e.error()}))})).catch((function(t){return e.cancel()}))},disableAccount:function(e){var t=this;this.$confirm(this.$t("account.disable.confirm"),"warning").then((function(n){t.$apollo.mutate({mutation:ma(Hm||(Hm=zm(["\n mutation {\n disableAccount\n }\n "])))}).then((function(n){t.$user.disabled=!0,window.location.reload(),e.success()})).catch((function(t){console.error(t),e.error()}))})).catch((function(t){return e.cancel()}))}}},gm,[],!1,null,null,null);Um.options.__file="components/pages/Account.vue";const Vm=Um.exports;var Gm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$t("terms.header")}}),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-xl-6 offset-xl-3"},[n("h2",[n("Icon",{attrs:{v:"gavel"}}),e._v("\n "+e._s(e.$t("terms.header"))+"\n ")],1),e._v(" "),n("h3",[e._v("1. Terms")]),e._v(" "),n("p",[e._v("By accessing this Website, accessible from https://teamlocked.men, you are agreeing to be bound by these Website Terms and Conditions of Use and agree that you are responsible for the agreement with any applicable local laws. If you disagree with any of these terms, you are prohibited from accessing this site. The materials contained in this Website are protected by copyright and trade mark law.")]),e._v(" "),n("p",[e._v("By using the Services you agree to be bound by these Terms of Service and you consent to us collecting and processing your data as described
2in our Privacy Policy.")]),e._v(" "),n("h3",[e._v("2. Use License")]),e._v(" "),n("p",[e._v("Permission is granted to temporarily download one copy of the materials on TeamLocked's Website for personal, non-commercial transitory viewing only. This is the grant of a license, not a transfer of title, and under this license you may not:")]),e._v(" "),e._m(0),e._v(" "),n("p",[e._v("This will let TeamLocked to terminate upon violations of any of these restrictions. Upon termination, your viewing right will also be terminated and you should destroy any downloaded materials in your possession whether it is printed or electronic format.")]),e._v(" "),n("p",[e._v("The Service contains adult content, mostly related to male chastity. By using it you consent to seeing such content and you confirm that you are a least the minimum age allowed in your jurisdiction to be shown such content.")]),e._v(" "),n("p",[e._v("When you create an account with us, you are responsible for safeguarding the password that you use to access the Service, whether your password is with our Service or a third-party service. You agree not to disclose your password to any third party. You must notify us immediately when you become aware of any breach of security or unauthorized use of your account.")]),e._v(" "),n("p",[e._v("The Content you post on the Service is yours. By posting it, you grant us a worldwide, royalty-free license to use, copy, reproduce, process, adapt, modify, publish, transmit, display and distribute such Content in any way.")]),e._v(" "),n("p",[e._v("It is forbidden to post on the Service any Content that might break the law or violate social norms, including but not limited to: propagation of totalitarian regimes, hate speech, racism, xenophobia, homophobia, transphobia, queerphobia, misogyny, harassment, impersonation, child pornography, unlawful conduct, misinformation, sharing of someone else's personal data, spam, advertisement, copyright or trademark violations.")]),e._v(" "),n("p",[e._v("You are responsible for any Content posted on the Service. If you violate these Terms of Service, we will remove your Content without prior notice and we might revoke your license to use the Service. If you break the law, we will pass your information to law enforcement agencies.")]),e._v(" "),n("h3",[e._v("3. Disclaimer")]),e._v(" "),n("p",[e._v('All the materials on TeamLockedâs Website are provided "as is". TeamLocked makes no warranties, may it be expressed or implied, therefore negates all other warranties. Furthermore, TeamLocked does not make any representations concerning the accuracy or reliability of the use of the materials on its Website or otherwise relating to such materials or any sites linked to this Website.')]),e._v(" "),n("h3",[e._v("4. Limitations")]),e._v(" "),n("p",[e._v("TeamLocked or its suppliers will not be hold accountable for any damages that will arise with the use or inability to use the materials on TeamLockedâs Website, even if TeamLocked or an authorize representative of this Website has been notified, orally or written, of the possibility of such damage. Some jurisdiction does not allow limitations on implied warranties or limitations of liability for incidental damages, these limitations may not apply to you.")]),e._v(" "),n("h3",[e._v("5. Revisions and Errata")]),e._v(" "),n("p",[e._v("The materials appearing on TeamLockedâs Website may include technical, typographical, or photographic errors. TeamLocked will not promise that any of the materials in this Website are accurate, complete, or current. TeamLocked may change the materials contained on its Website at any time without notice. TeamLocked does not make any commitment to update the materials.")]),e._v(" "),n("h3",[e._v("6. Links")]),e._v(" "),n("p",[e._v("TeamLocked has not reviewed all of the sites linked to its Website and is not responsible for the contents of any such linked site. The presence of any link does not imply endorsement by TeamLocked of the site. The use of any linked website is at the userâs own risk.")]),e._v(" "),n("h3",[e._v("7. Site Terms of Use Modifications")]),e._v(" "),n("p",[e._v("TeamLocked may revise these Terms of Use for its Website at any time without prior notice. By using this Website, you are agreeing to be bound by the current version of these Terms and Conditions of Use.")]),e._v(" "),n("h3",[e._v("8. Your Privacy")]),e._v(" "),n("p",[e._v("Please read our Privacy Policy.")]),e._v(" "),e._m(1),e._v(" "),n("h3",[e._v("9. Governing Law")]),e._v(" "),n("p",[e._v("Any claim related to TeamLocked's Website shall be governed by the laws of de without regards to its conflict of law provisions.")])])])],1
2)};Gm._withStripped=!0;var Wm=Ca({},Gm,[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",[n("li",[e._v("modify or copy the materials")]),e._v(" "),n("li",[e._v("use the materials for any commercial purpose or for any public display")]),e._v(" "),n("li",[e._v("attempt to reverse engineer any software contained on TeamLocked's Website")]),e._v(" "),n("li",[e._v("remove any copyright or other proprietary notations from the materials or")]),e._v(" "),n("li",[e._v('transferring the materials to another person or "mirror" the materials on any other server.')])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("p",[e._v("You can read the Privacy Policy in "),n("a",{attrs:{href:"/privacy_en"}},[e._v("English")]),e._v(", "),n("a",{attrs:{href:"/privacy_fr"}},[e._v("French")]),e._v(" and "),n("a",{attrs:{href:"/privacy_de"}},[e._v("German")])])}],!1,null,null,null);Wm.options.__file="components/pages/Terms.vue";const Ym=Wm.exports;var Km=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$t("privacy.header")}}),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-xl-6 offset-xl-3"},[n("h2",[n("Icon",{attrs:{v:"gavel"}}),e._v("\n "+e._s(e.$t("privacy.header"))+"\n ")],1),e._v(" "),n("h4",[e._v("Privacy Policy")]),e._v(" "),n("p",[e._v("We are very delighted that you have shown interest in our enterprise. Data protection is of a particularly high priority for the management of the TeamLocked. The use of the Internet pages of the TeamLocked is possible without any indication of personal data; however, if a data subject wants to use special enterprise services via our website, processing of personal data could become necessary. If the processing of personal data is necessary and there is no statutory basis for such processing, we generally obtain consent from the data subject.")]),e._v(" "),n("p",[e._v("The processing of personal data, such as the name, address, e-mail address, or telephone number of a data subject shall always be in line with the General Data Protection Regulation (GDPR), and in accordance with the country-specific data protection regulations applicable to the TeamLocked. By means of this data protection declaration, our enterprise would like to inform the general public of the nature, scope, and purpose of the personal data we collect, use and process. Furthermore, data subjects are informed, by means of this data protection declaration, of the rights to which they are entitled.")]),e._v(" "),n("p",[e._v("As the controller, the TeamLocked has implemented numerous technical and organizational measures to ensure the most complete protection of personal data processed through this website. However, Internet-based data transmissions may in principle have security gaps, so absolute protection may not be guaranteed. For this reason, every data subject is free to transfer personal data to us via alternative means, e.g. by telephone. ")]),e._v(" "),n("h4",[e._v("1. Definitions")]),e._v(" "),n("p",[e._v("The data protection declaration of the TeamLocked is based on the terms used by the European legislator for the adoption of the General Data Protection Regulation (GDPR). Our data protection declaration should be legible and understandable for the general public, as well as our customers and business partners. To ensure this, we would like to first explain the terminology used.")]),e._v(" "),n("p",[e._v("In this data protection declaration, we use, inter alia, the following terms:")]),e._v(" "),e._m(0),e._v(" "),n("h4",[e._v("2. Name and Address of the controller")]),e._v(" "),n("p",[e._v("Controller for the purposes of the General Data Protection Regulation (GDPR), other data protection laws applicable in Member states of the European Union and other provisions related to data protection is:\n\n ")]),e._v(" "),e._m(1),e._v(" "),e._m(2),e._v(" "),n("h4",[e._v("3. Cookies")]),e._v(" "),n("p",[e._v("The Internet pages of the TeamLocked use cookies. Cookies are text files that are stored in a computer system via an Internet browser.")]),e._v(" "),n("p",[e._v("Many Internet sites and servers use cookies. Many cookies contain a so-called cookie ID. A cookie ID is a unique identifier of the cookie. It consists of a character string through which Internet pages and servers can be assigned to the specific Internet browser in which the cookie was stored. This allows visited Internet sites and servers to differentiate the individual browser of the dats subject from other Internet browsers that contain other cookies. A specific Internet browser can be recognized and identified using the unique cookie ID.")]),e._v(" "),n("p",[e._v("Through the use of cookies, the TeamLocked can provide the users of this website with more user-friendly services that would not be possible without the cookie setting.")]),e._v(" "),n("p",[e._v("By means of a cookie, the information and offers on our website can be optimized with the user in mind. Cookies allow us, as previously mentioned, to recognize our website users. The purpose of this recognition is to make it easier for users to utilize our website. The website user that uses co
2okies, e.g. does not have to enter access data each time the website is accessed, because this is taken over by the website, and the cookie is thus stored on the user's computer system. Another example is the cookie of a shopping cart in an online shop. The online store remembers the articles that a customer has placed in the virtual shopping cart via a cookie.")]),e._v(" "),n("p",[e._v("The data subject may, at any time, prevent the setting of cookies through our website by means of a corresponding setting of the Internet browser used, and may thus permanently deny the setting of cookies. Furthermore, already set cookies may be deleted at any time via an Internet browser or other software programs. This is possible in all popular Internet browsers. If the data subject deactivates the setting of cookies in the Internet browser used, not all functions of our website may be entirely usable.")]),e._v(" "),n("h4",[e._v("4. Collection of general data and information")]),e._v(" "),n("p",[e._v("The website of the TeamLocked collects a series of general data and information when a data subject or automated system calls up the website. This general data and information are stored in the server log files. Collected may be (1) the browser types and versions used, (2) the operating system used by the accessing system, (3) the website from which an accessing system reaches our website (so-called referrers), (4) the sub-websites, (5) the date and time of access to the Internet site, (6) an Internet protocol address (IP address), (7) the Internet service provider of the accessing system, and (8) any other similar data and information that may be used in the event of attacks on our information technology systems.")]),e._v(" "),n("p",[e._v("When using these general data and information, the TeamLocked does not draw any conclusions about the data subject. Rather, this information is needed to (1) deliver the content of our website correctly, (2) optimize the content of our website as well as its advertisement, (3) ensure the long-term viability of our information technology systems and website technology, and (4) provide law enforcement authorities with the information necessary for criminal prosecution in case of a cyber-attack. Therefore, the TeamLocked analyzes anonymously collected data and information statistically, with the aim of increasing the data protection and data security of our enterprise, and to ensure an optimal level of protection for the personal data we process. The anonymous data of the server log files are stored separately from all personal data provided by a data subject.")]),e._v(" "),n("h4",[e._v("5. Registration on our website")]),e._v(" "),n("p",[e._v("The data subject has the possibility to register on the website of the controller with the indication of personal data. Which personal data are transmitted to the controller is determined by the respective input mask used for the registration. The personal data entered by the data subject are collected and stored exclusively for internal use by the controller, and for his own purposes. The controller may request transfer to one or more processors (e.g. a parcel service) that also uses personal data for an internal purpose which is attributable to the controller.")]),e._v(" "),n("p",[e._v("By registering on the website of the controller, the IP addressâassigned by the Internet service provider (ISP) and used by the data subjectâdate, and time of the registration are also stored. The storage of this data takes place against the background that this is the only way to prevent the misuse of our services, and, if necessary, to make it possible to investigate committed offenses. Insofar, the storage of this data is necessary to secure the controller. This data is not passed on to third parties unless there is a statutory obligation to pass on the data, or if the transfer serves the aim of criminal prosecution.\n\n ")]),e._v(" "),n("p",[e._v("The registration of the data subject, with the voluntary indication of personal data, is intended to enable the controller to offer the data subject contents or services that may only be offered to registered users due to the nature of the matter in question. Registered persons are free to change the personal data specified during the registration at any time, or to have them completely deleted from the data stock of the controller.")]),e._v(" "),n("p",[e._v("The data controller shall, at any time, provide information upon request to each data subject as to what personal data are stored about the data subject. In addition, the data controller shall correct or erase personal data at the request or indication of the data subject, insofar as there are no statutory storage obligations. The entirety of the controllerâs employees are available to the data subject in this respect as contact persons.")]),e._v(" "),n("h4",[e._v("6. Contact possibility via the website ")]),e._v(" "),n("p",[e._v("The website of the TeamLocked contains information that enables a quick electronic contact to our enterprise, as well as direct communication with us, which also includes a general address of the so-called electronic mail
2(e-mail address). If a data subject contacts the controller by e-mail or via a contact form, the personal data transmitted by the data subject are automatically stored. Such personal data transmitted on a voluntary basis by a data subject to the data controller are stored for the purpose of processing or contacting the data subject. There is no transfer of this personal data to third parties.")]),e._v(" "),n("h4",[e._v("7. Comments function in the blog on the website")]),e._v(" "),n("p",[e._v("The TeamLocked offers users the possibility to leave individual comments on individual blog contributions on a blog, which is on the website of the controller. A blog is a web-based, publicly-accessible portal, through which one or more people called bloggers or web-bloggers may post articles or write down thoughts in so-called blogposts. Blogposts may usually be commented by third parties.")]),e._v(" "),n("p",[e._v("If a data subject leaves a comment on the blog published on this website, the comments made by the data subject are also stored and published, as well as information on the date of the commentary and on the user's (pseudonym) chosen by the data subject. In addition, the IP address assigned by the Internet service provider (ISP) to the data subject is also logged. This storage of the IP address takes place for security reasons, and in case the data subject violates the rights of third parties, or posts illegal content through a given comment. The storage of these personal data is, therefore, in the own interest of the data controller, so that he can exculpate in the event of an infringement. This collected personal data will not be passed to third parties, unless such a transfer is required by law or serves the aim of the defense of the data controller.")]),e._v(" "),n("h4",[e._v("8. Subscription to comments in the blog on the website")]),e._v(" "),n("p",[e._v("\n The comments made in the blog of the TeamLocked may be subscribed to by third parties. In particular, there is the possibility that a commenter subscribes to the comments following his comments on a particular blog post.\n ")]),e._v(" "),n("p",[e._v("If a data subject decides to subscribe to the option, the controller will send an automatic confirmation e-mail to check the double opt-in procedure as to whether the owner of the specified e-mail address decided in favor of this option. The option to subscribe to comments may be terminated at any time.")]),e._v(" "),n("h4",[e._v("9. Routine erasure and blocking of personal data")]),e._v(" "),n("p",[e._v("The data controller shall process and store the personal data of the data subject only for the period necessary to achieve the purpose of storage, or as far as this is granted by the European legislator or other legislators in laws or regulations to which the controller is subject to.")]),e._v(" "),n("p",[e._v("If the storage purpose is not applicable, or if a storage period prescribed by the European legislator or another competent legislator expires, the personal data are routinely blocked or erased in accordance with legal requirements.")]),e._v(" "),n("h4",[e._v("10. Rights of the data subject")]),e._v(" "),e._m(3),e._v(" "),n("h4",[e._v("11. Legal basis for the processing ")]),e._v(" "),n("p",[e._v("Art. 6(1) lit. a GDPR serves as the legal basis for processing operations for which we obtain consent for a specific processing purpose. If the processing of personal data is necessary for the performance of a contract to which the data subject is party, as is the case, for example, when processing operations are necessary for the supply of goods or to provide any other service, the processing is based on Article 6(1) lit. b GDPR. The same applies to such processing operations which are necessary for carrying out pre-contractual measures, for example in the case of inquiries concerning our products or services. Is our company subject to a legal obligation by which processing of personal data is required, such as for the fulfillment of tax obligations, the processing is based on Art. 6(1) lit. c GDPR.\n In rare cases, the processing of personal data may be necessary to protect the vital interests of the data subject or of another natural person. This would be the case, for example, if a visitor were injured in our company and his name, age, health insurance data or other vital information would have to be passed on to a doctor, hospital or other third party. Then the processing would be based on Art. 6(1) lit. d GDPR.\n Finally, processing operations could be based on Article 6(1) lit. f GDPR. This legal basis is used for processing operations which are not covered by any of the abovementioned legal grounds, if processing is necessary for the purposes of the legitimate interests pursued by our company or by a third party, except where such interests are overridden by the interests or fundamental rights and freedoms of the data subject which require protection of personal data. Such processing operations are particularly permissible because they have been specifically mentioned by the European legislator. He considered that a legitimate interest could be assumed if the data subject is a client of the controller (Recital 47 Sentence 2 GDPR).\n ")]),e._v(" "),n("h4",[e._v("12. The legitimate interests pursued by the controller or by a third party")]),e._v(" "),n("p",[e._v("Where the processing of personal data is based on Article 6(1) lit. f GDPR our legitimate interest is to carry out our business in favor of the well-being of all our employees and the shareholders.")]),e._v(" "),n("h4",[e._v("13. Period for which the personal data will be stored")]),e._v(" "),n("p",[e._v("The criteria used to determine the peri
2od of storage of personal data is the respective statutory retention period. After expiration of that period, the corresponding data is routinely deleted, as long as it is no longer necessary for the fulfillment of the contract or the initiation of a contract.")]),e._v(" "),n("h4",[e._v("14. Provision of personal data as statutory or contractual requirement; Requirement necessary to enter into a contract; Obligation of the data subject to provide the personal data; possible consequences of failure to provide such data ")]),e._v(" "),n("p",[e._v("We clarify that the provision of personal data is partly required by law (e.g. tax regulations) or can also result from contractual provisions (e.g. information on the contractual partner).\n\n Sometimes it may be necessary to conclude a contract that the data subject provides us with personal data, which must subsequently be processed by us. The data subject is, for example, obliged to provide us with personal data when our company signs a contract with him or her. The non-
2provision of the personal data would have the consequence that the contract with the data subject could not be concluded.\n\n Before personal data is provided by the data subject, the data subject must contact any employee. The employee clarifies to the data subject whether the provision of the personal data is required by law or contract or is necessary for the conclusion of the contract, whether there is an obligation to provide the personal data and the consequences of non-provision of the personal data.\n ")]),e._v(" "),n("h4",[e._v("15. Existence of automated decision-making")]),e._v(" "),n("p",[e._v("As a responsible company, we do not use automatic decision-making or profiling.")]),e._v(" "),e._m(4)])])],1)};Km._withStripped=!0;var Qm=Ca({},Km,[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticStyle:{"list-style":"none"}},[n("li",[n("h4",[e._v("a) Personal data")]),e._v(" "),n("p",[e._v("Personal data means any information relating to an identified or identifiable natural person (âdata subjectâ). An identifiable natural person is one who can be identified, directly or indirectly, in particular by reference to an identifier such as a name, an identification number, location data, an online identifier or to one or more factors specific to the physical, physiological, genetic, mental, economic, cultural or social identity of that natural person.")])]),e._v(" "),n("li",[n("h4",[e._v("b) Data subject")]),e._v(" "),n("p",[e._v("Data subject is any identified or identifiable natural person, whose personal data is processed by the controller responsible for the processing.")])]),e._v(" "),n("li",[n("h4",[e._v("c) Processing")]),e._v(" "),n("p",[e._v("Processing is any operation or set of operations which is performed on personal data or on sets of personal data, whether or not by automated means, such as collection, recording, organisation, structuring, storage, adaptation or alteration, retrieval, consultation, use, disclosure by transmission, dissemination or otherwise making available, alignment or combination, restriction, erasure or destruction. ")])]),e._v(" "),n("li",[n("h4",[e._v("d) Restriction of processing")]),e._v(" "),n("p",[e._v("Restriction of processing is the marking of stored personal data with the aim of limiting their processing in the future. ")])]),e._v(" "),n("li",[n("h4",[e._v("e) Profiling")]),e._v(" "),n("p",[e._v("Profiling means any form of automated processing of personal data consisting of the use of personal data to evaluate certain personal aspects relating to a natural person, in particular to analyse or predict aspects concerning that natural person's performance at work, economic situation, health, personal preferences, interests, reliability, behaviour, location or movements. ")])]),e._v(" "),n("li",[n("h4",[e._v("f) Pseudonymisation")]),e._v(" "),n("p",[e._v("Pseudonymisation is the processing of personal data in such a manner that the personal data can no longer be attributed to a specific data subject without the use of additional information, provided that such additional information is kept separately and is subject to technical and organisational measures to ensure that the personal data are not attributed to an identified or identifiable natural person. ")])]),e._v(" "),n("li",[n("h4",[e._v("g) Controller or controller responsible for the processing")]),e._v(" "),n("p",[e._v("Controller or controller responsible for the processing is the natural or legal person, public authority, agency or other body which, alone or jointly with others, determines the purposes and means of the processing of personal data; where the purposes and means of such processing are determined by Union or Member State law, the controller or the specific criteria for its nomination may be provided for by Union or Member State law. ")])]),e._v(" "),n("li",[n("h4",[e._v("h) Processor")]),e._v(" "),n("p",[e._v("Processor is a natural or legal person, public authority, agency or other body which processes personal data on behalf of the controller. ")])]),e._v(" "),n("li",[n("h4",[e._v("i) Recipient")]),e._v(" "),n("p",[e._v("Recipient is a natural or legal person, public authority, agency or another body, to which the personal data are disclosed, whether a third party or not. However, public authorities which may receive personal data in the framework of a particular inquiry in accordance with Union or Member State law shall not be regarded as recipients; the processing of those data by those public authorities shall be in compliance with the applicable data protection rules according to the purposes of the processing. ")])]),e._v(" "),n("li",[n("h4",[e._v("j) Third party")]),e._v(" "),n("p",[e._v("Third party is a natural or legal person, public authority, agency or body other than the data subject, controller, processor and persons who, under the direct authority of the controller or processor, are authorised to process personal data.")])]),e._v(" "),n("li",[n("h4",[e._v("k) Consent")]),e._v(" "),n("p",[e._v("Consent of the data subject is any freely given, specific, informed and unambiguou
2s indication of the data subject's wishes by which he or she, by a statement or by a clear affirmative action, signifies agreement to the processing of personal data relating to him or her. ")])])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("p",[e._v("TeamLocked"),n("br"),e._v("\n Steenknüll"),n("br"),e._v("\n 24598 Boostedt"),n("br"),e._v("\n Deutschland")])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("p",[e._v("Phone: +49 (0)176 82 03 88 83"),n("br"),e._v("\n E-Mail: [email protected]"),n("br"),e._v("\n Website: teamlocked.men")])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticStyle:{"list-style":"none"}},[n("li",[n("h4",[e._v("a) Right of confirmation")]),e._v(" "),n("p",[e._v("Each data subject shall have the right granted by the European legislator to obtain from the controller the confirmation as to whether or not personal data concerning him or her are being processed. If a data subject wishes to avail himself of this right of confirmation, he or she may, at any time, contact any employee of the controller.")])]),e._v(" "),n("li",[n("h4",[e._v("b) Right of access")]),e._v(" "),n("p",[e._v("Each data subject shall have the right granted by the European legislator to obtain from the controller free information about his or her personal data stored at any time and a copy of this information. Furthermore, the European directives and regulations grant the data subject access to the following information:")]),e._v(" "),n("ul",{staticStyle:{"list-style":"none"}},[n("li",[e._v("the purposes of the processing;")]),e._v(" "),n("li",[e._v("the categories of personal data concerned;")]),e._v(" "),n("li",[e._v("the recipients or categories of recipients to whom the personal data have been or will be disclosed, in particular recipients in third countries or international organisations;")]),e._v(" "),n("li",[e._v("where possible, the envisaged period for which the personal data will be stored, or, if not possible, the criteria used to determine that period;")]),e._v(" "),n("li",[e._v("the existence of the right to request from the controller rectification or erasure of personal data, or restriction of processing of personal data concerning the data subject, or to object to such processing;")]),e._v(" "),n("li",[e._v("the existence of the right to lodge a complaint with a supervisory authority;")]),e._v(" "),n("li",[e._v("where the personal data are not collected from the data subject, any available information as to their source;")]),e._v(" "),n("li",[e._v("the existence of automated decision-making, including profiling, referred to in Article 22(1) and (4) of the GDPR and, at least in those cases, meaningful information about the logic involved, as well as the significance and envisaged consequences of such processing for the data subject.")])]),e._v(" "),n("p",[e._v("Furthermore, the data subject shall have a right to obtain information as to whether personal data are transferred to a third country or to an international organisation. Where this is the case, the data subject shall have the right to be informed of the appropriate safeguards relating to the transfer.")]),e._v(" "),n("p",[e._v("If a data subject wishes to avail himself of this right of access, he or she may, at any time, contact any employee of the controller.")])]),e._v(" "),n("li",[n("h4",[e._v("c) Right to rectification ")]),e._v(" "),n("p",[e._v("Each data subject shall have the right granted by the European legislator to obtain from the controller without undue delay the rectification of inaccurate personal data concerning him or her. Taking into account the purposes of the processing, the data subject shall have the right to have incomplete personal data completed, including by means of providing a supplementary statement.")]),e._v(" "),n("p",[e._v("If a data subject wishes to exercise this right to rectification, he or she may, at any time, contact any employee of the controller.")])]),e._v(" "),n("li",[n("h4",[e._v("d) Right to erasure (Right to be forgotten) ")]),e._v(" "),n("p",[e._v("Each data subject shall have the right granted by the European legislator to obtain from the controller the erasure of personal data concerning him or her without undue delay, and the controller shall have the obligation to erase personal data without undue delay where one of the following grounds applies, as long as the processing is not necessary: ")]),e._v(" "),n("ul",{staticStyle:{"list-style":"none"}},[n("li",[e._v("The personal data are no longer necessary in relation to the purposes for which they were collected or otherwise processed.")]),e._v(" "),n("li",[e._v("The data subject withdraws consent to which the processing is based according to point (a) of Article 6(1) of the GDPR, or point (a) of Article 9(2) of the GDPR, and where there is no other legal ground for the processing.")]),e._v(" "),n("li",[e._v("The data subject objects to the processing pursuant to Article 21(1) of the GDPR and there are no overriding legitimate grounds for the processing, or the data subject objects to the processing pursuant to Article 21(2) of the GDPR. ")]),e._v(" "),n("li",[e._v("The personal data have been unlawfully processed.")]),e._v(" "),n("li",[e._v("The personal data must be erased for c
2ompliance with a legal obligation in Union or Member State law to which the controller is subject.")]),e._v(" "),n("li",[e._v("The personal data have been collected in relation to the offer of information society services referred to in Article 8(1) of the GDPR.")])]),e._v(" "),n("p",[e._v("If one of the aforementioned reasons applies, and a data subject wishes to request the erasure of personal data stored by the TeamLocked, he or she may, at any time, contact any employee of the controller. An employee of TeamLocked shall promptly ensure that the erasure request is complied with immediately.")]),e._v(" "),n("p",[e._v("Where the controller has made personal data public and is obliged pursuant to Article 17(1) to erase the personal data, the controller, taking account of available technology and the cost of implementation, shall take reasonable steps, including technical measures, to inform other controllers processing the personal data that the data subject has requested erasure by such controllers of any links to, or copy or replication of, those personal data, as far as processing is not required. An employees of the TeamLocked will arrange the necessary measures in individual cases.")])]),e._v(" "),n("li",[n("h4",[e._v("e) Right of restriction of processing")]),e._v(" "),n("p",[e._v("Each data subject shall have the right granted by the European legislator to obtain from the controller restriction of processing where one of the following applies:")]),e._v(" "),n("ul",{staticStyle:{"list-style":"none"}},[n("li",[e._v("The accuracy of the personal data is contested by the data subject, for a period enabling the controller to verify the accuracy of the personal data. ")]),e._v(" "),n("li",[e._v("The processing is unlawful and the data subject opposes the erasure of the personal data and requests instead the restriction of their use instead.")]),e._v(" "),n("li",[e._v("The controller no longer needs the personal data for the purposes of the processing, but they are required by the data subject for the establishment, exercise or defence of legal claims.")]),e._v(" "),n("li",[e._v("The data subject has objected to processing pursuant to Article 21(1) of the GDPR pending the verification whether the legitimate grounds of the controller override those of the data subject.")])]),e._v(" "),n("p",[e._v("If one of the aforementioned conditions is met, and a data subject wishes to request the restriction of the processing of personal data stored by the TeamLocked, he or she may at any time contact any employee of the controller. The employee of the TeamLocked will arrange the restriction of the processing. ")])]),e._v(" "),n("li",[n("h4",[e._v("f) Right to data portability")]),e._v(" "),n("p",[e._v("Each data subject shall have the right granted by the European legislator, to receive the personal data concerning him or her, which was provided to a controller, in a structured, commonly used and machine-readable format. He or she shall have the right to transmit those data to another controller without hindrance from the controller to which the personal data have been provided, as long as the processing is based on consent pursuant to point (a) of Article 6(1) of the GDPR or point (a) of Article 9(2) of the GDPR, or on a contract pursuant to point (b) of Article 6(1) of the GDPR, and the processing is carried out by automated means, as long as the processing is not necessary for the performance of a task carried out in the public interest or in the exercise of official authority vested in the controller.")]),e._v(" "),n("p",[e._v("Furthermore, in exercising his or her right to data portability pursuant to Article 20(1) of the GDPR, the data subject shall have the right to have personal data transmitted directly from one controller to another, where technically feasible and when doing so does not adversely affect the rights and freedoms of others.")]),e._v(" "),n("p",[e._v("In order to assert the right to data portability, the data subject may at any time contact any employee of the TeamLocked.")])]),e._v(" "),n("li",[n("h4",[e._v("g) Right to object")]),e._v(" "),n("p",[e._v("Each data subject shall have the right granted by the European legislator to object, on grounds relating to his or her particular situation, at any time, to processing of personal data concerning him or her, which is based on point (e) or (f) of Article 6(1) of the GDPR. This also applies to profiling based on these provisions.")]),e._v(" "),n("p",[e._v("The TeamLocked shall no longer process the personal data in the event of the objection, unless we can demonstrate compelling legitimate grounds for the processing which override the interests, rights and freedoms of the data subject, or for the establishment, exercise or defence of legal claims.")]),e._v(" "),n("p",[e._v("If the TeamLocked processes personal data for direct marketing purposes, the data subject shall have the right to object at any time to processing of personal data concerning him or her for such marketing. This applies to profiling to the extent that it is related to such direct marketing. If the data subject objects to the TeamLocked to the processing for direct marketing purposes, the TeamLocked will no longer process the personal data for these purposes.")]),e._v(" "),n("p",[e._v("In addition, the data subject has the right, on grounds relating to his or her particular situation, to object to processing of personal data concerning him or her by the TeamLocked for scientific or historical research purposes, or for statistical purposes pursuant to Article 89(1) of the GDPR, unless the processing is necessary for the performance of a task carried out for reasons of public interest.")]),e._v(" "),n("p",[e._v("In order to exercise the right to object, the data subject may contact any employee of the TeamLocked. In addition, the data subject is free in the context of the use of information society services, and notwithstanding Directive 2002/58/EC, to use his or her right to object by automated means using technical specifications.")])]),e._v(" "),n("li",[n("h4",[e._v("h) Automated individual decision-making, including profiling")]),e._v(" "),n("p",[e._v("Each data subject shall have the right granted by the European legislator not to be subject to a decision based solely on automated processing, including profiling, which produces legal effects concerning him or her, or similarly significantly affects him or her, as long as the decision (1) is not is necessary for entering into, or the performance of, a contract between the data subject and a data controller, or (2) is not authorised by Union or Member State law to which the controller is subject and which also lays down suitable measures to safeguard the data subject's rights and freedoms and legitimate interests, or (3) is not based on the data subject's explicit consent.")]),e._v(" "),n("p",[e._v("If the decision (1) is necessary for entering into, or the performance of, a contract between the data subject and a data controller, or (2) it is based on the data subject's explicit consent, the TeamLocked shall implement suitable measures to safeguard the data subject's rights and freedoms and legitimate interests, at least the right to obtain human intervention on the part of the controller, to express his or her point of view and contest the decision.")]),e._v(" "),n("p",[e._v("If the data subject wishes to exercise the rights concerning automated individual decision-making, he or she may, at any time, contact any employee of the TeamLocked.")])]),e._v(" "),n("li",[n("h4",[e._v("i) Right to withdraw data protection consent ")]),e._v(" "),n("p",[e._v("Each data subject shall have the right granted by the European legislator to withdraw his or her consent to processing of his or her personal data at any time. ")]),e._v(" "),n("p",[e._v("If the data subject wishes to exercise the right to withdraw the consent, he or she may, at any time, contact any employee of the TeamLocked.")])])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("p",[e._v("Developed by the specialists for "),n("a",{attrs:{href:"https://willing-able.com/"}},[e._v("LegalTech")]),e._v(" at Willing & Able that also developed the system for "),n("a",{attrs:{href:"https://abletorecords.com/"}},[e._v("DPIA")]),e._v(". The legal texts contained in our privacy policy generator have been provided and published by "),n("a",{attrs:{href:"https://dg-datenschutz.de/"}},[e._v("Prof. Dr. h.c. Heiko Jonny Maniero")]),e._v(" from the German Association for Data Protection and "),n("a",{attrs:{href:"https://www.wbs-law.de/",rel:"nofollow"}},[e._v("Christian Solmecke")]),e._v(" from WBS law.")])}],!1,null,null,null);Qm.options.__file="components/pages/Privacy_en.vue";const Jm=Qm.exports;var Zm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$t("privacy.header")}}),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-xl-6 offset-xl-3"},[n("h2",[n("Icon",{attrs:{v:"gavel"}}),e._v("\n "+e._s(e.$t("privacy.header"))+"\n ")],1),e._v(" "),n("h4",[e._v("Politique de confidentialité ")]),e._v(" "),n("p",[e._v("Nous sommes ravis que vous exprimez de l'intérêt pour notre entreprise. La protection des données est une priorité très élevée du management de TeamLocked. L' utilisation des pages Internet de TeamLocked est possible sans aucune indication des données à caractère personnel. Cependant, si une personne concernée veux utiliser des services d'entreprise spéciaux via notre page Internet, le traite des données à caractère personnel pourrait devenir nécessaire. Si le traitement des données à caractère personnel est nécessaire et il n'y existe pas de base légale de tel traitement, nous acquérons généralement du consentement de la personne concernée.")]),e._v(" "),n("p",[e._v("Le traitement des données à caractère personnel, comme le nom, l' adresse, l' adresse électronique (e-mail) ou la numéro de téléphone de la personne concernée doit toujours être c
2onforme au règlement général sur la protection des données (RGPD, GDPR) et à la réglementation de protection des données spécifique au pays applicable à TeamLocked. Au moyen de cette déclaration de la protection des données, notre entreprise veux informer la grande public de la nature, la portée et la finalité des données à caractère personnel que nous collectons, utilisons et traitons. En outre, au moyen de cette déclaration de la protection des données, des personnes concernées sont informées de votre droits. ")]),e._v(" "),n("p",[e._v("Comme le responsable du traitement, TeamLocked a mis en Åuvre de nombreuses mesures techniques et organisationnelles pour assurer la protection la plus complète des données à caractère personnel traitées par cette page Internet. Cependant, les transmissions des données sur Internet peuvent en principe comporter des lacunes de sécurité, donc de la protection absolue ne peut pas être garantie. De cette raison, chaque personne concernée est libre de nous transférer des données à caractère personnel pas des moyens alternatifs, pas exemple par téléphone. ")]),e._v(" "),n("h4",[e._v("1. Définitions ")]),e._v(" "),n("p",[e._v("La déclaration de la protection des données de TeamLocked est base sur les termes utilisés par le législateur européen pour lâadoption du règlement général sur la protection des données (RGPD, GDPR). Notre déclaration de la protection des données doit être lisible et compréhensible pour la grande public, Our data protection déclaration doivent être lisibles et compréhensibles for the général public, aussi bien que nos clients et partenaires commerciaux. Pour sâassurer, nous aimerons d'abord expliquer la terminologie utilisée.")]),e._v(" "),n("p",[e._v("Dans cette déclaration de la protection des données, nous utilisons les termes suivants:")]),e._v(" "),e._m(0),e._v(" "),n("h4",[e._v("2. Nom et adresse du responsable du traitement")]),e._v(" "),n("p",[e._v("Le responsable du traitement aux fins du règlement général sur la protection des données (RGPD, GDPR), d' autres lois sur la protection des données applicables aux Ãtats membres de l' Union européenne et d' autres dispositions relatifs a la protection des données est:\n ")]),e._v(" "),e._m(1),e._v(" "),e._m(2),e._v(" "),n("h4",[e._v("3. Cookies")]),e._v(" "),n("p",[e._v("La site Internet de TeamLocked utilise de cookies. Les Cookies sont fichiers textes conserves sur un système informatique via un programme de navigation sur le Web.")]),e._v(" "),n("p",[e._v("Beaucoup des sites Internet utilisent des cookies. Beaucoup des cookies contiennent un soi-disant identifiant de cookie. Le cookie ID est un identifiant unique de cookie. Il consiste en une chaîne de caractères à travers laquelle les sites Internet et serveurs peuvent etre assignés sur un navigateur Internet spécifique dans lequel les cookies sont conservés. Cela permet aux sites Internet visites et aux serveurs de se différencier du navigateur Internet individuel de la personne concernée à partir d' autres navigateurs Internet contenants d' autre cookies. Chaque navigateur Internet spécifique peut être reconnu et identifié à l' aide de la cookie ID unique.")]),e._v(" "),n("p",[e._v("Grâce à l'utilisation de cookies, TeamLocked peut fournir des utilisateurs de ce site Web des services plus conviviaux qui ne serait pas possible sans la configuration des cookies.")]),e._v(" "),n("p",[e._v("Au moyen de cookie, les information et les offres sur notre site Web peuvent être optimisées en tenant compte de l' utilisateur. Les cookies nous permettent, comme mentionné précédemment, de reconnaître les utilisateurs de notre site Web. Le but de cette reconnaissance est de faciliter l' utilisation de notre site Web pour les utilisateurs. L' utilisateur du site Web qu' utilise des cookies ne doit pas, par exemple, entrer des données d' accès chaque fois qu' il accède au site, parce que c'est pris en charge par le site Web et le cookie est ainsi conservé sur le system informatique de l' utilisateur. Un autre exemple est le cookie dâun panier d' achat sur une boutique en ligne. La boutique en ligne se souvient les produits quâun client a placés sur le panier d'achat virtuel via un cookie.")]),e._v(" "),n("p",[e._v("La personne concernée peut, à tout moment, empêcher la configuration des cookies via notre site Web au moyen de la configuration correspondante du navigateur Internet utilisé, et peut donc refuser en permanence la configuration des cookies. En outre, les cookies déjà c
2onfigurés peuvent être effaces à tout moment via un navigateur Internet ou d' autre logiciel. Ceci est possible sur tous les navigateurs Internet populaires. Si la personne concernée désactive le paramétrage des cookies sur le navigateur Internet entièrement utilisables.")]),e._v(" "),n("h4",[e._v("4. La collection des données et informations générales")]),e._v(" "),n("p",[e._v("Le site Web de TeamLocked collecte une série des données et d' information générales quand une personne concernée ou un système automatisé appelle le site Web. Ces données et informations générales sont conservées dans les fichiers journaux du serveur. Collectées peuvent être (1) les types des navigateurs Internet et les versions utilisés, (2) le système d' opération utilisé par le système d'accès, (3) le site Web à partir duquel un système d'accès atteint notre site Web (soi-disant référents), (4) les sous-sites Web, (5) la date et l' heure de l' accès au site Internet, (6) une adresse de protocole Internet (IP address), (7) le fournisseur de services Internet du système d'accès, et (8) tout autre donnée et information similaire pouvant être utilisée en cas d' attaque de nos systèmes informatiques.")]),e._v(" "),n("p",[e._v("En utilisant ces données et informations générales, TeamLocked n' arrive pas aux conclusions sur la personne concernée. Cette information est plutôt utilisée pour (1) livrer correctement le contenu de notre site Web, (2) optimiser le contenu de notre site Web ainsi que sa publicité, (3) assurer la viabilité à long terme de nos systèmes informatiques et de notre technologie de site Web, et (4) fournir autorités chargées de l'application des lois avec d' information nécessaire aux poursuites pénales en cas de cyberattaque. Dont, TeamLocked analyse en manière statistique les données et informations collectées anonymement, dans le but d'accroître la protection et la sécurité des données de notre entreprise, et d' assurer un niveau optimal de la protection pour les données à caractère personnel que nous traitons. Les données anonymes des fichiers journaux du serveur sont conserves séparément de toutes les données à caractère personnel fournies par la personne concernée.")]),e._v(" "),n("h4",[e._v("5. Enregistrement sur notre site Internet")]),e._v(" "),n("p",[e._v("La personne concernée a la possibilité de s' enregistrer sur le site Web du responsable du traitement à l' indication des données à caractère personnel. Les données à caractère personnel quelles vont être transmises au responsable du traitement sont déterminées par le masque de saisie respectif utilisé pour l'enregistrement. Les données à caractère personnel saisies par la personne concernée sont collectées et conservées exclusivement pour l' usage interne par le responsable du traitement, à ses propres fins. Le responsable du traitement peut demander la transmission à un ou plusieurs processeurs (p.e. un service de colis) qui utilisent également des données à caractère personnel pour un but interne imputable au responsable du traitement.")]),e._v(" "),n("p",[e._v("En vous enregistrant sur le site Web du responsable du traitement, l' adresse IP - attribuée par le fournisseur de services Internet (ISP) et utilisée par la personne concernée â la date et l' heure d' enregistrement sont aussi conservées. La conservation de ces données a lieu dans la contexte que c'est le seul moyen d' empêcher l' utilisation abusive de nos services, et, si nécessaire, de permettre l' investigation des infractions commises. Dans cette mesure, la conservation de ces données est nécessaire pour sécuriser le responsable du traitement. Ces données ne sont pas transmises aux tiers, sauf il existe une obligation légale de transmettre ces données ou si la transmission servi le but des poursuites pénales. \n\n ")]),e._v(" "),n("p",[e._v("L' enregistrement de la personne concernée par l' indication volontaire des données à caractère personnel est destine à permettre le responsable du traitement d' offrir à la personne concernée du contenu ou des services qui ne peuvent être offertes qu' aux utilisateurs enregistrés en raison de la nature du sujet en question. Des personnes enregistrées peuvent modifier, à tout temps, sans contraints des données à caractère personnel spécifiées pendant lâenregistrement ou de les supprimer complètement du stock des données du responsable du traitement.")]),e._v(" "),n("p",[e._v("Le responsable du traitement des données doit, à tout moment, fournir à la demande de chaque personne concernée des informations sur les données à caractère personnel conservées sur la personne concernée. En outre, le responsable du traitement doit corriger ou effacer les données à caractère personnel à la demande ou à l'indication de la personne concernée, pour autant qu' il n' existe pas d'obligation légale de conservation. Tous les employés du responsable du traitement sont à la disposition de la personne concernée comme personnes de contact. ")]),e._v(" "),n("h4",[e._v("6. Possibilité de contact via le site Web ")]),e._v(" "),n("p",[e._v("Le site Web de TeamLocked contient des informations permettant le contact électronique rapide avec notre entreprise, ainsi que la communication directe avec nous, aussi comprenant une adresse générale du soi-disant courrier électronique (e-mail address). Si la personne concernée contacte le responsable du traitement via e-mail ou un formulaire de contact, les données à caractère personnel transmises par la personne concernée sont automatiquement stockées. Ces données à caractère personnel transmises volontairement par la personne concernée au responsable du traitement sont conservées dans le but de procéder ou communication avec la personne concernée. Il n' y a pas de transmission de ces données à caractère personnel à des tiers. ")]),e._v(" "),n("h4",[e._v("7. Fonction des commentaires sur le blog du site Web")]),e._v(" "),n("p",[e._v("TeamLocked offre aux utilisateurs la possibilité de laisser des commentaires individuels sur des contributions de blog individuelles sur le site Web du responsable de traitement. Un blog est un portail Web accessible au public, à travers lequel une ou plusieurs personnes appelées les bloggeurs ou web-bloggeurs peuvent poster des articles ou recorder leurs pensées dans de soi-disant articles de blog (blogposts). Blogposts peuvent être commentés par des tiers.")]),e._v(" "),n("p",[e._v("Si une personne concernée commente sur le blog publié sur ce site Web, ce commentaire de la personne concernée est également conservé et publié, ainsi que des informations sur la date du commentaire et le pseudonyme de l' utilisateur choisi par la personne concernée. En plus, l' adresse IP attribuée par le fournisseur de services Internet à la personne concernée est aussi re
2cordée. Ce stockage de l' adresse IP a lieu pour des raisons de sécurité et en cas que la personne concernée viole les droits des tiers ou poste du contenu illégal via un commentaire. Le stockage de ces données à caractère personnel est donc dans lâintérêt du responsable du traitement des données, afin qu' il puisse disculper en cas d' infraction. Ces données à caractère personnel collectées ne seront pas transmises à des tiers, sauf une telle transmission est requis par la loi ou sert à la défense du responsable du traitement des données.")]),e._v(" "),n("h4",[e._v("8. Inscription aux commentaires sur le blog du site Web ")]),e._v(" "),n("p",[e._v("\n Les commentaires sur le blog de TeamLocked peuvent être inscrits par des tiers. En particulier, il est possible quâun commentateur est inscrit aux commentaires qui suivre ses commentaires sur un blog post particulaire.\n ")]),e._v(" "),n("p",[e._v("Si la personne concernée décide dâinscrire à cette option, le responsable du traitement enverra un e-mail de confirmation automatique pour vérifier via la procédure de double opt-in si le propriétaire de l' e-mail a décidé pour cette option. Lâoption d' inscrire aux commentaires peut être terminée à tout moment.")]),e._v(" "),n("h4",[e._v("9. Effacement de routine et blockage des données à caractère personnel")]),e._v(" "),n("p",[e._v("Le responsable du traitement doit procéder et conserver les données à caractère personnel de la personne concernée seulement pendant la période nécessaire pour atteindre la finalité de conservation ou autant que cela est accordé par le législateur européen ou d'autres législateurs dans les lois ou règlements auxquels le responsable du traitement est soumis. ")]),e._v(" "),n("p",[e._v("Si la finalité de conservation n' est pas applicable, ou si la période de conservation prescrite par le législateur européen ou un autre législateur compétent expire, les données à caractère personnel sont bloquées ou effacées de façon routinière conformément aux exigences légales.")]),e._v(" "),n("h4",[e._v("10. Droits de la personne concernée")]),e._v(" "),e._m(3),e._v(" "),n("h4",[e._v("11. Base légale pour le traitement")]),e._v(" "),n("p",[e._v("Article 6(1)(a) RGPD sert comme la base légale aux opérations de traitement pour lesquelles nous obtenons de consentement pour la finalité du traitement spécifique. Si le traitement des données à caractère personnel est nécessaire pour l'exécution d'un contrat auquel la personne concernée est partie, par exemple lorsque des opérations de traitement sont nécessaires pour la fourniture de biens ou pour tout d' autre service, le traitement est basé sur l'article (1) (b) RGPD. La même chose s'applique a telles opérations de traitement qui sont nécessaires pour la réalisation de mesures précontractuelles, par exemple dans le cas de demande concernant nos produits ou services. Si notre société est soumise à une obligation légale de traitement des données à caractère personnel, par exemple pour le respect des obligations fiscales, le traitement est basé sur l'art. 6 (1) (c) RGPD.\n Dans de certains cas, le traitement des données à caractère personnel peut être nécessaire pour protéger les intérêts vitaux de la personne concernée ou d'une autre personne physique. Tel serait le cas, par exemple, si le visiteur était blessé dans notre entreprise et que son nom, son âge, ses données dâassurance maladie ou dâautres informations vitales devaient être transmises à un médecin, à un hôpital ou à un tiers. Ce traitement est alors basé sur l'article 6(1)(d) RGPD.\n Enfin, les opérations de traitement peuvent être basées sur l'article 6(1)(f). Cette base légale est utilisée pour des opérations de traitement qui ne sont pas couverts par aucun des articles susmentionnés, si le traitement est nécessaire aux fins des intérêts légitimes poursuivis par notre société ou par un tiers, sauf dans le cas où les intérêts ou les droits et libertés fondamentaux de la personne concernée ont préséance sur de tels intérêts qui exigent la protection des données à caractère personnel. De telles opérations de traitement sont particulièrement permises car elles ont été spécifiquement mentionnées par le législateur européen. Il a estimé qu'un intérêt légitime pouvait être supposé si la personne concernée était un client du responsable du traitement (Récital 47 phrase 2 RGPD).\n ")]),e._v(" "),n("h4",[e._v("12. Les intérêts légitimes poursuivis par le responsable du traitement ou par un tiers")]),e._v(" "),n("p",[e._v("Lorsque le traitement des données personnelles est basé sur l'article 6(1) (f) RGPD, notre intérêt légitime est d' exécuter nos activités en faveur du bien-être de tous nos employés et de nos actionnaires.")]),e._v(" "),n("h4",[e._v("13. Période pour laquelle les données à caractère personnel sont conservées")]),e._v(" "),n("p",[e._v("Les critères utilisés pour déterminer la période de conservation est la période de conservation légale respective. Après l'expiration de cette période, les données sont systématiquement supprimées, tant qu'elles ne sont plus nécessaires à l'exécution du contrat ou à l'ouverture d'un contrat.")]),e._v(" "),n("h4",[e._v("14. Fourniture de données à caractère personnel comme des exigences légales ou contractuelles; Exigence nécessaire pour conclure un contrat; Obligation de la personne concernée de fournir les données à caractère personnel; conséquences possibles de la non-fourniture de ces données")]),e._v(" "),n("p",[e._v("Nous clarifions que la fourniture des données à caractère personnel est requise en partie par la loi (par ex. des dis
2positions fiscales) ou des dispositions contractuelles (par ex. information sur le partenaire contractuel).\n\n Parfois, il peut être nécessaire de conclure un contrat avec des données que la personne concernée nous a fournies et qu'ils peuvent ensuite être traités par nous. La personne concernée est, par exemple, obligée de nous fournir des données à caractère personnel quand notre entreprise signe un contrat avec lui. La non-fourniture des données à caractère personnel aurait pour conséquence que le contrat avec la personne concernée ne pourrait être conclu.\n\n Avant que les données à caractère personnel sont fournies par la personne concernée, la personne concernée doit contacter un employé. L'employé clarifie a la personne concernée, si la fourniture des données à caractère personnel est nécessaire par la loi ou par un contrat ou c'est nécessaire pour la conclusion d'un contrat, s'il existe une obligation de fournir les données personnelles et les conséquences de la non-fourniture du personnel des données à caractère personnel.\n ")]),e._v(" "),n("h4",[e._v("15. Existence d'un mécanisme de prise de décision automatisée")]),e._v(" "),n("p",[e._v("En tant qu'entreprise responsable, nous n'utilisons pas de processus de décision ou de profilage automatique.")]),e._v(" "),e._m(4)])])],1)};Zm._withStripped=!0;var Xm=Ca({},Zm,[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticStyle:{"list-style":"none"}},[n("li",[n("h4",[e._v("a) Données à caractère personnel")]),e._v(" "),n("p",[e._v("Données à caractère personnel est toute information se rapportant à une personne physique identifiée ou identifiable\n (ci-après dénommée «personne concernée»); est réputée être une «personne physique identifiable» une personne\n physique qui peut être identifiée, directement ou indirectement, notamment par référence à un identifiant, tel qu'un\n nom, un numéro d'identification, des données de localisation, un identifiant en ligne, ou à un ou plusieurs éléments\n spécifiques propres à l' identité physique, physiologique, génétique, psychique, économique, culturelle ou sociale de cette personne physique.")])]),e._v(" "),n("li",[n("h4",[e._v("b) Personne concernée")]),e._v(" "),n("p",[e._v("La personne concernée signifie chaqune personne physique identifiée, dont les données à caractère personnel sont traitées par la personne responsable de cet traitement.")])]),e._v(" "),n("li",[n("h4",[e._v("c) Traitement ")]),e._v(" "),n("p",[e._v("Le traitement signifie toute opération ou tout ensemble d'opérations effectuées ou non à l'aide de procédés automatisés et appliquées à des données ou des ensembles de données à caractère personnel, telles que la collecte, l'enregistrement,\n l'organisation, la structuration, la conservation, l'adaptation ou la modification, l'extraction, la consultation, l'utilisation, la communication par transmission, la diffusion ou toute autre forme de mise à disposition, le rapprochement ou l'interconnexion, la limitation, l'effacement ou la destruction.")])]),e._v(" "),n("li",[n("h4",[e._v("d) Limitation du traitement")]),e._v(" "),n("p",[e._v("La limitation du traitement signifie le marquage de données à caractère personnel conservées, en vue de limiter leur\n traitement futur.")])]),e._v(" "),n("li",[n("h4",[e._v("e) Profilage")]),e._v(" "),n("p",[e._v("Le profilage signifie toute forme de traitement automatisé de données à caractère personnel consistant à utiliser ces données à caractère personnel pour évaluer certains aspects personnels relatifs à une personne physique, notamment pour analyser ou prédire des éléments concernant le rendement au travail, la situation économique, la santé, les préférences personnelles, les intérêts, la fiabilité, le comportement, la localisation ou les déplacements de cette\n personne physique.")])]),e._v(" "),n("li",[n("h4",[e._v("f) Pseudonymisation")]),e._v(" "),n("p",[e._v("Le pseudonymisation signifie le traitement de données à caractère personnel de telle façon que celles-ci ne puissent plus être attribuées à une personne concernée précise sans avoir recours à des informations supplémentaires, pour autant que ces informations supplémentaires soient conservées séparément et soumises à des mesures techniques et organisationnelles afin de garantir que les données à caractère personnel ne sont pas attribuées à une personne physique identifiée ou identifiable.")])]),e._v(" "),n("li",[n("h4",[e._v("g) Responsable du traitement")]),e._v(" "),n("p",[e._v("Le responsable du traitement est a personne physique ou morale, l'autorité publique, le service ou un autre organisme\n qui, seul ou conjointement avec d'autres, détermine les finalités et les moyens du traitement; lorsque les finalités et\n les moyens de ce traitement sont déterminés par le droit de l'Union ou le droit d'un Ãtat membre, le responsable du\n traitement peut être désigné ou les critères spécifiques applicables à sa désignation peuvent être prévus par le droit\n de l'Union ou par le droit d'un Ãtat membre.")])]),e._v(" "),n("li",[n("h4",[e._v("h) Sous-traitant")]),e._v(" "),n("p",[e._v("Le sous-traitant est la personne physique ou morale, l'autorité publique, le service ou un autre organisme qui traite des\n données à caractère personnel pour le compte du responsable du traitement.")])]),e._v(" "),n("li",[n("h4",[e._v("i) Destinataire")]),e._v(" "),n("p",[e._v("Le destinataire est la personne physique ou morale, l'autorité publique, le service ou tout autre organisme qui reçoit\n communication de données à caractère personnel, qu'il s'agisse ou non d'un tiers. Toutefois, les autorités publiques qui sont susceptibles de recevoir communication de données à caractère personnel dans le cadre d'une mission d'enquête particulière conformément au droit de l'Union ou au droit d'un Ãtat membre ne sont pas considérées comme des destinataires; le traitement de ces données par les autorités publiques en question est c
2onforme aux règles applicables en matière de protection des données en fonction des finalités du traitement.")])]),e._v(" "),n("li",[n("h4",[e._v("j) Τiers")]),e._v(" "),n("p",[e._v("Le tiers est une personne physique ou morale, une autorité publique, un service ou un organisme autre que la personne\n concernée, le responsable du traitement, le sous-traitant et les personnes qui, placées sous l'autorité directe du\n responsable du traitement ou du sous-traitant, sont autorisées à traiter les données à caractère personnel.")])]),e._v(" "),n("li",[n("h4",[e._v("k) Consentement")]),e._v(" "),n("p",[e._v("Le consentement de la personne concernée est toute manifestation de volonté, libre, spécifique, éclairée et univoque par\n laquelle la personne concernée accepte, par une déclaration ou par un acte positif clair, que des données à caractère\n personnel la concernant fassent l'objet d'un traitement.")])])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("p",[e._v("TeamLocked"),n("br"),e._v("\n Steenknüll"),n("br"),e._v("\n 24598 Boostedt"),n("br"),e._v("\n Deutschland")])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("p",[e._v("Numéro de téléphone: +49 (0)176 82 03 88 83"),n("br"),e._v("\n Email: [email protected]"),n("br"),e._v("\n Site Web: teamlocked.men")])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticStyle:{"list-style":"none"}},[n("li",[n("h4",[e._v("a) Droit de confirmation ")]),e._v(" "),n("p",[e._v("Chaque personne concernée a le droit d'obtenir du responsable du traitement la confirmation que des données à \n caractère personnel la concernant sont ou ne sont pas traitées. Si la personne concernee veut se prévaloir de ce droit de confirmation, la peut à tout moment, contacter un employé du responsable du traitement.")])]),e._v(" "),n("li",[n("h4",[e._v("b) Droit d'accès")]),e._v(" "),n("p",[e._v("La personne concernée a le droit donné par le législateur européen d' obtenir, à tout moment, accès par le responsable du traitement aux informations de ses données à caractère personnel conservées et une copie de ces informations. En outre, les directives et règlements européens accordent a la personne concernée d' accès aux informations suivantes: ")]),e._v(" "),n("ul",{staticStyle:{"list-style":"none"}},[n("li",[e._v("les finalités du traitement;")]),e._v(" "),n("li",[e._v("les catégories de données à caractère personnel concernées;")]),e._v(" "),n("li",[e._v("les destinataires ou catégories de destinataires auxquels les données à caractère personnel ont été ou seront communiquées, en particulier les destinataires qui sont établis dans des pays tiers ou les organisations internationale;")]),e._v(" "),n("li",[e._v("lorsque cela est possible, la durée de conservation des données à caractère personnel envisagée ou, lorsque ce n'est\n pas possible, les critères utilisés pour déterminer cette durée;")]),e._v(" "),n("li",[e._v("l'existence du droit de demander au responsable du traitement la rectification ou l'effacement de données à caractère\n personnel, ou une limitation du traitement des données à caractère personnel relatives à la personne concernée, ou\n du droit de s'opposer à ce traitement;")]),e._v(" "),n("li",[e._v("le droit d'introduire une réclamation auprès d'une autorité de contrôle;")]),e._v(" "),n("li",[e._v("lorsque les données à caractère personnel ne sont pas collectées auprès de la personne concernée, toute information disponible quant à leur source;")]),e._v(" "),n("li",[e._v("l'existence d'une prise de décision automatisée, y compris un profilage, visée à l'article 22, paragraphes 1 et 4, et, au\n moins en pareils cas, des informations utiles concernant la logique sous-jacente, ainsi que l'importance et les\n conséquences prévues de ce traitement pour la personne concernée.")])]),e._v(" "),n("p",[e._v("En plus, la personne concernée a le droit d'être informée si des données à caractère personnel sont transférées vers un pays tiers ou à une organisation internationale. Où c'est le cas, la personne concernée a le droit d'être informée des garanties appropriées, en ce qui concerne ce transfert.")]),e._v(" "),n("p",[e._v("Si la personne concernée veut se prévaloir de ce droit d'accès, il ou elle peut, à tout moment, contacter un employé du responsable du traitement.")])]),e._v(" "),n("li",[n("h4",[e._v("c) Droit de rectification")]),e._v(" "),n("p",[e._v("La personne concernée a le droit accordé par le législateur européen d'obtenir du responsable du traitement, dans les meilleurs délais, la rectification des données à caractère personnel la concernant qui sont inexactes. Compte tenu des finalités du traitement, la personne concernée a le droit d'obtenir que les données à caractère personnel incomplètes soient complétées, y compris en fournissant une déclaration complémentaire.")]),e._v(" "),n("p",[e._v("Si la personne concernée veut exercer ce droit de rectification, il ou elle peut, à tout moment, contacter un employé du responsable du traitement. ")
2])]),e._v(" "),n("li",[n("h4",[e._v("d) Droit à l'effacement («droit à l'oubli») ")]),e._v(" "),n("p",[e._v("La personne concernée a le droit accordé par le législateur européen d'obtenir du responsable du traitement l'effacement, dans les meilleurs délais, de données à caractère personnel la concernant et le responsable du traitement a l'obligation d'effacer ces données à caractère personnel dans les meilleurs délais, lorsque l'un des motifs suivants s'applique:")]),e._v(" "),n("ul",{staticStyle:{"list-style":"none"}},[n("li",[e._v("Les données à caractère personnel ne sont plus nécessaires au regard des finalités pour lesquelles elles ont été collectées ou traitées d'une autre manière.")]),e._v(" "),n("li",[e._v("La personne concernée retire le consentement sur lequel est fondé le traitement, conformément à l'article 6, paragraphe 1, point a), ou à l'article 9, paragraphe 2, point a) de RGDP et il n'existe pas d'autre fondement juridique au traitement.")]),e._v(" "),n("li",[e._v("La personne concernée s'oppose au traitement en vertu de l'article 21, paragraphe 1 de RGPD, et il n'existe pas de motif légitime impérieux pour le traitement, ou la personne concernée s'oppose au traitement en vertu de l'article 21, paragraphe 2 de RGPD.")]),e._v(" "),n("li",[e._v("Les données à caractère personnel ont fait l'objet d'un traitement illicite.")]),e._v(" "),n("li",[e._v("Les données à caractère personnel doivent être effacées pour respecter une obligation légale qui est prévue par le droit\n de l'Union ou par le droit de l'Ãtat membre auquel le responsable du traitement est soumis.")]),e._v(" "),n("li",[e._v("Les données à caractère personnel ont été collectées dans le cadre de l'offre de services de la société de l'information\n visée à l'article 8, paragraphe 1 de RGPD.")])]),e._v(" "),n("p",[e._v("Si une des raisons susmentionnées s'applique et la personne concernée veut demander lâeffacement de données à caractère personnel conservées par TeamLocked, la personne concernée peut, à tout moment, contacter un employé du responsable du traitement. Un employé de TeamLocked doit rapidement l' assurer que l' effacement demandé à été immédiatement complété.")]),e._v(" "),n("p",[e._v("Lorsque le responsable du traitement a rendu publiques les données à caractère personnel et qu'il est tenu de les effacer en vertu de l'article 17, paragraphe 1, le responsable du traitement, compte tenu des technologies disponibles et des coûts de mise en Åuvre, prend des mesures raisonnables, y compris d'ordre technique, pour informer les responsables du traitement qui traitent ces données à caractère personnel que la personne concernée a demandé l'effacement par ces responsables du traitement de tout lien vers ces données à caractère personnel, ou de toute copie ou reproduction de celles-ci, autant que le traitement n' est pas requis. Un employé de TeamLocked arrangera les mesures nécessaires dans des cas individuels.")])]),e._v(" "),n("li",[n("h4",[e._v("e) Droit à la limitation du traitement ")]),e._v(" "),n("p",[e._v("La personne concernée a le droit accordé par le législateur européen d'obtenir du responsable du traitement la limitation du traitement lorsque l'un des éléments suivants s'applique:")]),e._v(" "),n("ul",{staticStyle:{"list-style":"none"}},[n("li",[e._v("L'exactitude des données à caractère personnel est contestée par la personne concernée, pendant une durée permettant\n au responsable du traitement de vérifier l'exactitude des données à caractère personnel. ")]),e._v(" "),n("li",[e._v("Le traitement est illicite et la personne concernée s'oppose à leur effacement et exige à la place la limitation de leur utilisation.")]),e._v(" "),n("li",[e._v("Le responsable du traitement n'a plus besoin des données à caractère personnel aux fins du traitement mais celles-ci sont encore nécessaires à la personne concernée pour la constatation, l'exercice ou la défense de droits en justice")]),e._v(" "),n("li",[e._v("La personne concernée s'est opposée au traitement en vertu de l'article 21, paragraphe 1 de RGPD pendant la vérification portant sur le point de savoir si les motifs légitimes poursuivis par le responsable du traitement prévalent sur ceux de la personne concernée.")])]),e._v(" "),n("p",[e._v("Si l'un des éléments suivants s'applique et la personne concernée veut demander la limitation du traitement de données à caractère personnel conservées par TeamLocked, la personne concernée peut, à tout moment, contacter un employé du responsable du traitement. Un employé de TeamLocked organisera la limitation du traitement. ")
2])]),e._v(" "),n("li",[n("h4",[e._v("f) Droit à la portabilité des données ")]),e._v(" "),n("p",[e._v("Les personnes concernées ont le droit accordé par le législateur européen de recevoir les données à caractère personnel les concernant qu'elles ont fournies à un responsable du traitement, dans un format structuré, couramment utilisé et lisible par machine. Les personnes concernées doivent avoir le droit de transmettre ces données à un autre responsable du traitement sans que le responsable du traitement auquel les données à caractère personnel ont été communiquées y fasse obstacle, lorsque le traitement est fondé sur le consentement en application de l'article 6, paragraphe 1, point a), ou de l'article 9, paragraphe 2, point a) RGPD, ou sur un contrat en application de l'article 6, paragraphe 1, point b) de RGPD, et le traitement est effectué à l'aide de procédés automatisés, si le traitement n' est pas nécessaire à l'exécution d'une mission d'intérêt public ou relevant de l'exercice de l'autorité publique dont est investi le responsable du traitement.")]),e._v(" "),n("p",[e._v("En outre, en exerçant le droit à la portabilité en application de l' article 20, paragraphe 1 de RGPD, la personne concernée a\n le droit d'obtenir que les données à caractère personnel soient transmises directement d'un responsable du traitement à un autre, lorsque cela est techniquement possible et lorsque cela ne porte pas atteinte aux droits et libertés d'autrui.")]),e._v(" "),n("p",[e._v("Afin de faire valoir le droit à la portabilité des données, la personne concernée peut, à tout moment, contacter un employé de TeamLocked.")])]),e._v(" "),n("li",[n("h4",[e._v("g) Droit d'opposition ")]),e._v(" "),n("p",[e._v("La personne concernée a le droit accordé par le législateur européen de s'opposer à tout moment, pour des raisons tenant à sa situation particulière, à un traitement des données à caractère personnel la concernant fondé sur l'article 6, paragraphe 1, point e) ou f) de RGPD. Cela s' applique également au profilage fondé sur ces dispositions.")]),e._v(" "),n("p",[e._v("TeamLocked ne traite plus les données à caractère personnel, à moins qu'il ne démontre qu'il existe des motifs légitimes et impérieux pour le traitement qui prévalent sur les intérêts et les droits et libertés de la personne concernée, ou pour la constatation, l'exercice ou la défense de droits en justice.")]),e._v(" "),n("p",[e._v("Si TeamLocked traite les données à caractère personnel à des fins de prospection, la personne concernée a le droit\n de s'opposer à tout moment au traitement des données à caractère personnel la concernant à de telles fins de prospection. Cela s' applique également au profilage dans la mesure où il est lié à une telle prospection. Si la personne concernée s'oppose au traitement à des fins de prospection, les données à caractère personnel ne sont plus traitées à ces fins.")]),e._v(" "),n("p",[e._v("En plus, la personne concernée a le droit, pour des raisons tenant à sa situation particulière, de s' opposer au traitement de données à caractère personnel la concernant pas TeamLocked à des fins de recherche scientifique ou historique ou à des fins statistiques en application de l'article 89, paragraphe 1 de RDPG, sauf si le traitement est nécessaire à l'exécution d'une mission d'intérêt public.")]),e._v(" "),n("p",[e._v("Afin de faire valoir le droit d' opposition, la personne concernée peut, à tout moment, contacter un employé de TeamLocked. En outre, dans le cadre de l'utilisation de services de la société de l'information, et nonobstant la directive 2002/58/CE, la personne concernée peut exercer son droit d'opposition à l'aide de procédés automatisés utilisant des spécifications techniques.")])]),e._v(" "),n("li",[n("h4",[e._v("h) Décision individuelle automatisée et profilage")]),e._v(" "),n("p",[e._v("La personne concernée a le droit accordé par le législateur européen de ne pas faire l'objet d'une décision fondée exclusivement sur un traitement automatisé, y compris le profilage, produisant des effets juridiques la concernant ou l'affectant de manière significative de façon similaire, lorsque la décision (1) n' est pas nécessaire à la conclusion ou à l'exécution d'un contrat entre la personne concernée et un responsable du traitement, ou (2) n' est pas autorisée par le droit de l'Union ou le droit de l'Ãtat membre auquel le responsable du traitement est soumis et qui prévoit également des mesures appropriées pour la sauvegarde des droits et libertés et des intérêts légitimes de la personne concernée, ou (3) n' est pas fondée sur le consentement explicite de la personne concernée. ")]),e._v(" "),n("p",[e._v("Si la décision (1) est nécessaire à la conclusion ou à l'exécution d'un contrat entre la personne concernée et un responsable du\n traitement, ou (2) est fondée sur le consentement explicite de la personne concernée, TeamLocked met en Åuvre des mesures appropriées pour la sauvegarde des droits et libertés et des intérêts légitimes de la personne concernée, au moins du\n droit d'obtenir une intervention humaine de la part du responsable du traitement, d'exprimer son point de vue et de contester la décision.")]),e._v(" "),n("p",[e._v("Si la personne concernée veut exercer les droits relatifs à la prise de décision individuelle automatisée, elle peut à tout moment contacter un employé du TeamLocked.")])]),e._v(" "),n("li",[n("h4",[e._v("i) Droit de retirer de consentement au traitement")]),e._v(" "),n("p",[e._v("La personne concernée a le droit accordé par le législateur européen de retirer son consentement au traitement de ses données à caractère personnel à tout moment.")]),e._v(" "),n("p",[e._v("Si la personne concernée veut exercer le droit de retirer de consentement, elle peut à tout moment contacter un employé du TeamLocked.")])])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("p",[e._v("Developed by the specialists for "),n("a",{attrs:{href:"https://willing-able.com/"}},[e._v("LegalTech")]),e._v(" at Willing & Able that also developed the system for "),n("a",{attrs:{href:"https://abletotrain.com/"}},[e._v("gdpr certification training")]),e._v(". The legal texts contained in our privacy policy generator have been provided and published by "),n("a",{attrs:{href:"https://dg-datenschutz.de/"}},[e._v("Prof. Dr. h.c. Heiko Jonny Maniero")]),e._v(" from the German Association for Data Protection and "),n("a",{attrs:{href:"https://www.wbs-law.de/",rel:"nofollow"}},[e._v("Christian Solmecke")]),e._v(" from WBS law.")])}],!1,null,null,null);Xm.options.__file="components/pages/Privacy_fr.vue";const ev=Xm.exports;var tv=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$t("privacy.header")}}),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-xl-6 offset-xl-3"},[n("h2",[n("Icon",{attrs:{v:"gavel"}}),e._v("\n "+e._s(e.$t("privacy.header"))+"\n ")],1),e._v(" "),n("p",[e._v("Wir freuen uns sehr über Ihr Interesse an unserem Unternehmen. Datenschutz hat einen besonders hohen Stellenwert für die Geschäftsleitung der TeamLocked. Eine Nutzung der Internetseiten der TeamLocked ist grundsätzlich ohne jede Angabe personenbezogener Daten möglich. Sofern eine betroffene Person besondere Services unseres Unternehmens über unsere Internetseite in Anspruch nehmen möchte, könnte jedoch eine Verarbeitung personenbezogener Daten erforderlich werden. Ist die Verarbeitung personenbezogener Daten erforderlich und besteht für eine solche Verarbeitung keine gesetzliche Grundlage, holen wir generell eine Einwilligung der betroffenen Person ein.")]),e._v(" "),n("p",[e._v("Die Verarbeitung personenbezogener Daten, beispielsweise des Namens, der Anschrift, E-Mail-Adresse oder Telefonnummer einer betroffenen Person, erfolgt stets im Einklang mit der Datenschutz-Grundverordnung und in Ãbereinstimmung mit den für die TeamLocked geltenden landesspezifischen Datenschutzbestimmungen. Mittels dieser Datenschutzerklärung möchte unser Unternehmen die Ãffentlichkeit über Art, Umfang und Zweck der von uns erhobenen, genutzten und verarbeiteten personenbezogenen Daten informieren. Ferner werden betroffene Personen mittels dieser Datenschutzerklärung über die ihnen zustehenden Rechte aufgeklärt.")]),e._v(" "),n("p",[e._v("Die TeamLocked hat als für die Verarbeitung Verantwortlicher zahlreiche technische und organisatorische MaÃnahmen umgesetzt, um einen möglichst lückenlosen Schutz der über diese Internetseite verarbeiteten personenbezogenen Daten sicherzustellen. Dennoch können Internetbasierte Datenübertragungen grundsätzlich Sicherheitslücken aufweisen, sodass ein absoluter Schutz nicht gewährleistet werden kann. Aus diesem Grund steht es jeder betroffenen Person frei, personenbezogene Daten auch auf alternativen Wegen, beispielsweise telefonisch, an uns zu übermitteln.")]),e._v(" "),n("h4",[e._v("1. Begriffsbestimmungen")]),e._v(" "),n("p",[e._v("Die Datenschutzerklärung der TeamLocked beruht auf den Begrifflichkeiten, die durch den Europäischen Richtlinien- und Verordnungsgeber beim Erlass der Datenschutz-Grundverordnung (DS-GVO) verwendet wurden. Unsere Datenschutzerklärung soll sowohl für die Ãffentlichkeit als auch für unsere Kunden und Geschäftspartner einfach lesbar und verständlich sein. Um dies zu gewährleisten, möchten wir vorab die verwendeten Begrifflichkeiten erläutern.")]),e._v(" "),n("p",[e._v("Wir verwenden in dieser Datenschutzerklärung unter anderem die folgenden Begriffe:")]),e._v(" "),e._m(0),e._v(" "),n("h4",[e._v("2. Name und Anschrift des für die Verarbeitung Verantwortlichen")]),e._v(" "),n("p",[e._v("Verantwortlicher im Sinne der Datenschutz-Grundverordnung, sonstiger in den Mitgliedstaaten der Europäischen Union geltenden Datenschutzgesetze und anderer Bestimmungen mit datenschutzrechtlichem Charakter ist die:")]),e._v(" "),e._m(1),e._v(" "),e._m(2),e._v(" "),n("h4",[e._v("3. Cookies")]),e._v(" "),n("p",[e._v("Die Internetseiten der TeamLocked verwenden Cookies. Cookies sind Textdateien, welche über einen Internetbrowser auf einem Computersystem abgelegt und gespeichert werden.")]),e._v(" "),n("p",[e._v("Zahlreiche Internetseiten und Server verwenden Cookies. Viele Cookies enthalten eine sogenannte Cookie-ID. Eine Cookie-ID ist eine eindeutige Kennung des Cookies. Sie besteht aus einer Zeichenfolge, durch welche Internetseiten und Server dem konkreten Internetbrowser zugeordnet werden können, in dem das Cookie gespeichert wurde. Dies ermöglicht es den besuchten Internetseiten und Servern, den individuellen Browser der betroffenen Person von anderen Internetbrowsern, die andere Cookies enthalten, zu unterscheiden. Ein bestimmter Internetbrowser kann über die eindeutige Cookie-ID wiedererkannt und identifiziert werden.")]),e._v(" "),n("p",[e._v("Durch den Einsatz von Cookies kann die TeamLocked den Nutzern dieser Internetseite nutzerfreundlichere Services bereitstellen, die ohne die Cookie-Setzung nicht möglich wären.")]),e._v(" "),n("p",[e._v("Mittels eines Cookies können die Informationen und Angebote auf unserer Internetseite im Sinne des Benutzers optimiert werden. Cookies ermöglichen uns, wie bereits erwÃ
2¤hnt, die Benutzer unserer Internetseite wiederzuerkennen. Zweck dieser Wiedererkennung ist es, den Nutzern die Verwendung unserer Internetseite zu erleichtern. Der Benutzer einer Internetseite, die Cookies verwendet, muss beispielsweise nicht bei jedem Besuch der Internetseite erneut seine Zugangsdaten eingeben, weil dies von der Internetseite und dem auf dem Computersystem des Benutzers abgelegten Cookie übernommen wird. Ein weiteres Beispiel ist das Cookie eines Warenkorbes im Online-Shop. Der Online-Shop merkt sich die Artikel, die ein Kunde in den virtuellen Warenkorb gelegt hat, über ein Cookie.")]),e._v(" "),n("p",[e._v("Die betroffene Person kann die Setzung von Cookies durch unsere Internetseite jederzeit mittels einer entsprechenden Einstellung des genutzten Internetbrowsers verhindern und damit der Setzung von Cookies dauerhaft widersprechen. Ferner können bereits gesetzte Cookies jederzeit über einen Internetbrowser oder andere Softwareprogramme gelöscht werden. Dies ist in allen gängigen Internetbrowsern möglich. Deaktiviert die betroffene Person die Setzung von Cookies in dem genutzten Internetbrowser, sind unter Umständen nicht alle Funktionen unserer Internetseite vollumfänglich nutzbar.")]),e._v(" "),n("h4",[e._v("4. Erfassung von allgemeinen Daten und Informationen")]),e._v(" "),n("p",[e._v("Die Internetseite der TeamLocked erfasst mit jedem Aufruf der Internetseite durch eine betroffene Person oder ein automatisiertes System eine Reihe von allgemeinen Daten und Informationen. Diese allgemeinen Daten und Informationen werden in den Logfiles des Servers gespeichert. Erfasst werden können die (1) verwendeten Browsertypen und Versionen, (2) das vom zugreifenden System verwendete Betriebssystem, (3) die Internetseite, von welcher ein zugreifendes System auf unsere Internetseite gelangt (sogenannte Referrer), (4) die Unterwebseiten, welche über ein zugreifendes System auf unserer Internetseite angesteuert werden, (5) das Datum und die Uhrzeit eines Zugriffs auf die Internetseite, (6) eine Internet-Protokoll-Adresse (IP-Adresse), (7) der Internet-Service-Provider des zugreifenden Systems und (8) sonstige ähnliche Daten und Informationen, die der Gefahrenabwehr im Falle von Angriffen auf unsere informationstechnologischen Systeme dienen.")]),e._v(" "),n("p",[e._v("Bei der Nutzung dieser allgemeinen Daten und Informationen zieht die TeamLocked keine Rückschlüsse auf die betroffene Person. Diese Informationen werden vielmehr benötigt, um (1) die Inhalte unserer Internetseite korrekt auszuliefern, (2) die Inhalte unserer Internetseite sowie die Werbung für diese zu optimieren, (3) die dauerhafte Funktionsfähigkeit unserer informationstechnologischen Systeme und der Technik unserer Internetseite zu gewährleisten sowie (4) um Strafverfolgungsbehörden im Falle eines Cyberangriffes die zur Strafverfolgung notwendigen Informationen bereitzustellen. Diese anonym erhobenen Daten und Informationen werden durch die TeamLocked daher einerseits statistisch und ferner mit dem Ziel ausgewertet, den Datenschutz und die Datensicherheit in unserem Unternehmen zu erhöhen, um letztlich ein optimales Schutzniveau für die von uns verarbeiteten personenbezogenen Daten sicherzustellen. Die anonymen Daten der Server-Logfiles werden getrennt von allen durch eine betroffene Person angegebenen personenbezogenen Daten gespeichert.")]),e._v(" "),n("h4",[e._v("5. Registrierung auf unserer Internetseite")]),e._v(" "),n("p",[e._v("Die betroffene Person hat die Möglichkeit, sich auf der Internetseite des für die Verarbeitung Verantwortlichen unter Angabe von personenbezogenen Daten zu registrieren. Welche personenbezogenen Daten dabei an den für die Verarbeitung Verantwortlichen übermittelt werden, ergibt sich aus der jeweiligen Eingabemaske, die für die Registrierung verwendet wird. Die von der betroffenen Person eingegebenen personenbezogenen Daten werden ausschlieÃlich für die interne Verwendung bei dem für die Verarbeitung Verantwortlichen und für eigene Zwecke erhoben und gespeichert. Der für die Verarbeitung Verantwortliche kann die Weitergabe an einen oder mehrere Auftragsverarbeiter, beispielsweise einen Paketdienstleister, veranlassen, der die personenbezogenen Daten ebenfalls ausschlieÃlich für eine interne Verwendung, die dem für die Verarbeitung Verantwortlichen zuzurechnen ist, nutzt.")]),e._v(" "),n("p",[e._v("Durch eine Registrierung auf der Internetseite des für die Verarbeitung Verantwortlichen wird ferner die vom Internet-Service-Provider (ISP) der betroffenen Person vergebene IP-Adresse, das Datum sowie die Uhrzeit der Registrierung gespeichert. Die Speicherung dieser Daten erfolgt vor dem Hintergrund, dass nur so der Missbrauch unserer Dienste verhindert werden kann, und diese Daten im Bedarfsfall ermöglichen, begangene Straftaten aufzuklären. Insofern ist die Speicherung dieser Daten zur Absicherung des für die Verarbeitung Verantwortlichen erforderlich. Eine Weitergabe dieser Daten an Dritte erfolgt grundsätzlich nicht, sofern keine gesetzliche Pflicht zur Weitergabe besteht oder die Weitergabe der Strafverfolgung dient.")]),e._v(" "),n("p",[e._v("Die Registrierung der betroffenen Person unter freiwilliger Angabe personenbezogener Daten dient dem für die Verarbeitung Verantwortlichen dazu, der betroffenen Person Inhalte oder Leistungen anzubieten, die aufgrund der Natur der Sache nur registrierten Benutzern angeboten werden können. Registrierten Personen steht die Möglichkeit frei, die bei der Registrierung angegebenen personenbezogenen Daten jederzeit abzuändern oder vollständig aus dem Datenbestand des für die Verarbeitung Verantwortlichen löschen zu lassen.")]),e._v(" "),n("p",[e._v("Der für die Verarbeitung Verantwortliche erteilt jeder betroffenen Person jederzeit auf Anfrage Auskunft darüber, welche personenbezogenen Daten über die betroffene Person gespeichert sind. Ferner berichtigt oder löscht der für die Verarbeitung Verantwortliche personenbezogene Daten auf Wunsch oder Hinweis der betroffenen Person, soweit dem keine gesetzlichen Aufbewahrungspflichten entgegenstehen. Die Gesamtheit der Mitarbeiter des für die Verarbeitung Verantwortlichen stehen der betroffenen Person in diesem Zusammenhang als Ansprechpartner zur Verfügung.")]),e._v(" "),n("h4",[e._v("6. Kontaktmöglichkeit über die Internetseite")]),e._v(" "),n("p",[e._v("Die Internetseite der TeamLocked enthält aufgrund von gesetzlichen Vorschriften Angaben, die eine schnelle elektronische Kontaktauf
2nahme zu unserem Unternehmen sowie eine unmittelbare Kommunikation mit uns ermöglichen, was ebenfalls eine allgemeine Adresse der sogenannten elektronischen Post (E-Mail-Adresse) umfasst. Sofern eine betroffene Person per E-Mail oder über ein Kontaktformular den Kontakt mit dem für die Verarbeitung Verantwortlichen aufnimmt, werden die von der betroffenen Person übermittelten personenbezogenen Daten automatisch gespeichert. Solche auf freiwilliger Basis von einer betroffenen Person an den für die Verarbeitung Verantwortlichen übermittelten personenbezogenen Daten werden für Zwecke der Bearbeitung oder der Kontaktaufnahme zur betroffenen Person gespeichert. Es erfolgt keine Weitergabe dieser personenbezogenen Daten an Dritte.")]),e._v(" "),n("h4",[e._v("7. Kommentarfunktion im Blog auf der Internetseite")]),e._v(" "),n("p",[e._v("Die TeamLocked bietet den Nutzern auf einem Blog, der sich auf der Internetseite des für die Verarbeitung Verantwortlichen befindet, die Möglichkeit, individuelle Kommentare zu einzelnen Blog-Beiträgen zu hinterlassen. Ein Blog ist ein auf einer Internetseite geführtes, in der Regel öffentlich einsehbares Portal, in welchem eine oder mehrere Personen, die Blogger oder Web-Blogger genannt werden, Artikel posten oder Gedanken in sogenannten Blogposts niederschreiben können. Die Blogposts können in der Regel von Dritten kommentiert werden.")]),e._v(" "),n("p",[e._v("Hinterlässt eine betroffene Person einen Kommentar in dem auf dieser Internetseite veröffentlichten Blog, werden neben den von der betroffenen Person hinterlassenen Kommentaren auch Angaben zum Zeitpunkt der Kommentareingabe sowie zu dem von der betroffenen Person gewählten Nutzernamen (Pseudonym) gespeichert und veröffentlicht. Ferner wird die vom Internet-Service-Provider (ISP) der betroffenen Person vergebene IP-Adresse mitprotokolliert. Diese Speicherung der IP-Adresse erfolgt aus Sicherheitsgründen und für den Fall, dass die betroffene Person durch einen abgegebenen Kommentar die Rechte Dritter verletzt oder rechtswidrige Inhalte postet. Die Speicherung dieser personenbezogenen Daten erfolgt daher im eigenen Interesse des für die Verarbeitung Verantwortlichen, damit sich dieser im Falle einer Rechtsverletzung gegebenenfalls exkulpieren könnte. Es erfolgt keine Weitergabe dieser erhobenen personenbezogenen Daten an Dritte, sofern eine solche Weitergabe nicht gesetzlich vorgeschrieben ist oder der Rechtsverteidigung des für die Verarbeitung Verantwortlichen dient.")]),e._v(" "),n("h4",[e._v("8. Abonnement von Kommentaren im Blog auf der Internetseite")]),e._v(" "),n("p",[e._v("Die im Blog der TeamLocked abgegebenen Kommentare können grundsätzlich von Dritten abonniert werden. Insbesondere besteht die Möglichkeit, dass ein Kommentator die seinem Kommentar nachfolgenden Kommentare zu einem bestimmten Blog-Beitrag abonniert.")]),e._v(" "),n("p",[e._v("Sofern sich eine betroffene Person für die Option entscheidet, Kommentare zu abonnieren, versendet der für die Verarbeitung Verantwortliche eine automatische Bestätigungsmail, um im Double-Opt-In-Verfahren zu überprüfen, ob sich wirklich der Inhaber der angegebenen E-Mail-Adresse für diese Option entschieden hat. Die Option zum Abonnement von Kommentaren kann jederzeit beendet werden.")]),e._v(" "),n("h4",[e._v("9. RoutinemäÃige Löschung und Sperrung von personenbezogenen Daten")]),e._v(" "),n("p",[e._v("Der für die Verarbeitung Verantwortliche verarbeitet und speichert personenbezogene Daten der betroffenen Person nur für den Zeitraum, der zur Erreichung des Speicherungszwecks erforderlich ist oder sofern dies durch den Europäischen Richtlinien- und Verordnungsgeber oder einen anderen Gesetzgeber in Gesetzen oder Vorschriften, welchen der für die Verarbeitung Verantwortliche unterliegt, vorgesehen wurde.")]),e._v(" "),n("p",[e._v("Entfällt der Speicherungszweck oder läuft eine vom Europäischen Richtlinien- und Verordnungsgeber oder einem anderen zuständigen Gesetzgeber vorgeschriebene Speicherfrist ab, werden die personenbezogenen Daten routinemäÃig und entsprechend den gesetzlichen Vorschriften gesperrt oder gelöscht.")]),e._v(" "),n("h4",[e._v("10. Rechte der betroffenen Person")]),e._v(" "),e._m(3),e._v(" "),n("h4",[e._v("11. Rechtsgrundlage der Verarbeitung")]),e._v(" "),n("p",[e._v("Art. 6 I lit. a DS-GVO dient unserem Unternehmen als Rechtsgrundlage für Verarbeitungsvorgänge, bei denen wir eine Einwilligung für einen bestimmten Verarbeitungszweck einholen. Ist die Verarbeitung personenbezogener Daten zur Erfüllung eines Vertrags, dessen Vertragspartei die betroffene Person ist, erforderlich, wie dies beispielsweise bei Verarbeitungsvorgängen der Fall ist, die für eine Lieferung von Waren oder die Erbringung einer sonstigen Leistung oder Gegenleistung notwendig sind, so beruht die Verarbeitung auf Art. 6 I lit. b DS-GVO. Gleiches gilt für solche Verarbeitungsvorgänge die zur Durchführung vorvertraglicher MaÃnahmen erforderlich sind, etwa in Fällen von Anfragen zur unseren Produkten oder Leistungen. Unterliegt unser Unternehmen einer rechtlichen Verpflichtung durch welche eine Verarbeitung von personenbezogenen Daten erforderlich wird, wie beispielsweise zur Erfüllung steuerlicher Pflichten, so basiert die Verarbeitung auf Art. 6 I lit. c DS-GVO. In seltenen Fällen könnte die Verarbeitung von personenbezogenen Daten erforderlich werden, um lebenswichtige Interessen der betroffenen Person oder einer anderen natürlichen Person zu schützen. Dies wäre beispielsweise der Fall, wenn ein Besucher in unserem Betrieb verletzt werden würde und daraufhin sein Name, sein Alter, seine Krankenkassendaten oder sonstige lebenswichtige Informationen an einen Arzt, ein Krankenhaus oder sonstige Dritte weitergegeben werden müssten. Dann würde die Verarbeitung auf Art. 6 I lit. d DS-GVO beruhen.\n Letztlich könnten Verarbeitungsvorgänge auf Art. 6 I lit. f DS-GVO beruhen. Auf dieser Rechtsgrundlage basieren Verarbeitungsvorgänge, die von keiner der vorgenannten Rechtsgrundlagen erfasst werden, wenn die Verarbeitung zur Wahrung eines berechtigten Interesses unseres Unternehmens oder eines Dritten erforderlich ist, sofern die Interessen, Grundrechte und Grundfreiheiten des Betroffenen nicht überwiegen. Solche Verarbeitungsvorgänge sind uns insbesondere deshalb gestattet, weil sie durch den Europäischen Gesetzgeber besonders erwähnt wurden. Er vertrat insoweit die Auffassung, dass ein berechtigtes Interesse anzunehmen sein könnte, wenn die betroffene Person ein Kunde des Verantwortlichen ist (Erwägungsgrund 47 Satz 2 DS-GVO).\n ")]),e._v(" "),n("h4",[e._v("12. Berechtigte Interessen an der Verarbeitung, die von dem Verantwortlichen oder einem Dritten verfolgt werden")]),e._v(" "),n("p",[e._v("Basiert die Verarbeitung personenbezogener Daten auf Artikel 6 I lit. f DS-GVO ist unser berechtigtes Interesse die Durchführung unserer Geschäftstätigkeit zugunsten des Wohlergehens all unserer Mitarbeiter und unserer Anteilseigner.")]),e._v(" "),n("h4",[e._v("13. Dauer, für die die personenbezogenen Daten gespeichert werden")]),e._v(" "),n("p",[e._v("Das Kriterium für die Dauer der Speicherung von personenbezogenen Daten ist die jeweilige gesetzliche Aufbewahrungsfrist. Nach Ablauf der Frist werden die entsprechenden Daten routinemäÃig gelöscht, sofern sie nicht mehr zur Vertragserfüllung oder Vertragsanbahnung erforderlich sind.")]),e._v(" "),n("h4",[e._v("14. Gesetzliche oder vertragliche Vorschriften zur Bereitstellung der personenbezogenen Daten; Erforderlichkeit für den Vertragsabschluss; Verpflichtung der betroffenen Person, die personenbezogenen Daten bereitzustellen; mögliche Folgen der Nichtbereitstellung")]),e._v(" "),n("p",[e._v("Wir klären Sie darüber auf, dass die Bereitstellung personenbezogener Daten zum Teil gesetzlich vorgeschrieben ist (z.B. Steuervorschriften) oder sich auch aus vertraglichen Regelungen (z.B. Angaben zum Vertragspartner) ergeben kann.\n Mitunter kann es zu einem Vertragsschluss erforderlich sein, dass eine betroffene Person uns personenbezogene Daten zur Verfügung stellt, die in der Folge durch uns verarbeitet werden müssen. Die betroffene Person ist beispielsweise verpflichtet uns personenbezogene Daten bereitzustellen, wenn unser Unternehmen mit ihr einen Vertrag abschlieÃt. Eine Nichtbereitstellung der personenbezogenen Daten hätte zur Folge, dass der Vertrag mit dem Betroffenen nicht geschlossen werden könnte.\n Vor einer Bereitstellung personenbezogener Daten durch den Betroffenen muss sich der Betroffene an einen unserer Mitarbeiter wenden. Unser Mitarbeiter klärt den Betroffenen einzelfallbezogen darüber auf, ob die Bereitstellung der personenbezogenen Daten gesetzlich oder vertraglich vorgeschrieben oder für den Vertragsabschluss erforderlich ist, ob eine Verpflichtung besteht, die personenbezogenen Daten bereitzustellen, und welche Folgen die Nichtbereitstellung der personenbezogenen Daten hätte.\n ")]),e._v(" "),n("h4",[e._v("15. Bestehen einer automatisierten Entscheidungsfindung")]),e._v(" "),n("p",[e._v("Als verantwortungsbewusstes Unternehmen verzichten wir auf eine automatische Entscheidungsfindung oder ein Profiling.")]),e._v(" "),e._m(4)])])],1)};tv._withStripped=!0;var nv=Ca({},tv,[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticStyle:{"list-style":"none"}},[n("li",[n("h4",[e._v("a) personenbezogene Daten")]),e._v(" "),n("p",[e._v("Personenbezogene Daten sind alle Informationen, die sich auf eine identifizierte oder identifizierbare natürliche Person (im Folgenden âbetroffene Personâ) beziehen. Als identifizierbar wird eine natürliche Person angesehen, die direkt oder indirekt, insbesondere mittels Zuordnung zu einer Kennung wie einem Namen, zu einer Kennnummer, zu Standortdaten, zu einer Online-Kennung oder zu einem oder mehreren besonderen Merkmalen, die Ausdruck der physischen, physiologischen, genetischen, psychischen, wirtschaftlichen, kulturellen oder sozialen Identität dieser natürlichen Person sind, identifiziert werden kann.")])]),e._v(" "),n("li",[n("h4",[e._v("b) betroffene Person")]),e._v(" "),n("p",[e._v("Betroffene Person ist jede identifizierte oder identifizierbare natürliche Person, deren personenbezogene Daten von dem für die Verarbeitung Verantwortlichen verarbeitet werden.")])]),e._v(" "),n("li",[n("h4",[e._v("c) Verarbeitung")]),e._v(" "),n("p",[e._v("Verarbeitung ist jeder mit oder ohne Hilfe automatisierter Verfahren ausgeführte Vorgang oder jede solche Vorgangsreihe im Zusammenhang mit personenbezogenen Daten wie das Erheben, das Erfassen, die Organisation, das Ordne
2n, die Speicherung, die Anpassung oder Veränderung, das Auslesen, das Abfragen, die Verwendung, die Offenlegung durch Ãbermittlung, Verbreitung oder eine andere Form der Bereitstellung, den Abgleich oder die Verknüpfung, die Einschränkung, das Löschen oder die Vernichtung.")])]),e._v(" "),n("li",[n("h4",[e._v("d) Einschränkung der Verarbeitung")]),e._v(" "),n("p",[e._v("Einschränkung der Verarbeitung ist die Markierung gespeicherter personenbezogener Daten mit dem Ziel, ihre künftige Verarbeitung einzuschränken.")])]),e._v(" "),n("li",[n("h4",[e._v("e) Profiling")]),e._v(" "),n("p",[e._v("Profiling ist jede Art der automatisierten Verarbeitung personenbezogener Daten, die darin besteht, dass diese personenbezogenen Daten verwendet werden, um bestimmte persönliche Aspekte, die sich auf eine natürliche Person beziehen, zu bewerten, insbesondere, um Aspekte bezüglich Arbeitsleistung, wirtschaftlicher Lage, Gesundheit, persönlicher Vorlieben, Interessen, Zuverlässigkeit, Verhalten, Aufenthaltsort oder Ortswechsel dieser natürlichen Person zu analysieren oder vorherzusagen.")])]),e._v(" "),n("li",[n("h4",[e._v("f) Pseudonymisierung")]),e._v(" "),n("p",[e._v("Pseudonymisierung ist die Verarbeitung personenbezogener Daten in einer Weise, auf welche die personenbezogenen Daten ohne Hinzuziehung zusätzlicher Informationen nicht mehr einer spezifischen betroffenen Person zugeordnet werden können, sofern diese zusätzlichen Informationen gesondert aufbewahrt werden und technischen und organisatorischen MaÃnahmen unterliegen, die gewährleisten, dass die personenbezogenen Daten nicht einer identifizierten oder identifizierbaren natürlichen Person zugewiesen werden.")])]),e._v(" "),n("li",[n("h4",[e._v("g) Verantwortlicher oder für die Verarbeitung Verantwortlicher")]),e._v(" "),n("p",[e._v("Verantwortlicher oder für die Verarbeitung Verantwortlicher ist die natürliche oder juristische Person, Behörde, Einrichtung oder andere Stelle, die allein oder gemeinsam mit anderen über die Zwecke und Mittel der Verarbeitung von personenbezogenen Daten entscheidet. Sind die Zwecke und Mittel dieser Verarbeitung durch das Unionsrecht oder das Recht der Mitgliedstaaten vorgegeben, so kann der Verantwortliche beziehungsweise können die bestimmten Kriterien seiner Benennung nach dem Unionsrecht oder dem Recht der Mitgliedstaaten vorgesehen werden.")])]),e._v(" "),n("li",[n("h4",[e._v("h) Auftragsverarbeiter")]),e._v(" "),n("p",[e._v("Auftragsverarbeiter ist eine natürliche oder juristische Person, Behörde, Einrichtung oder andere Stelle, die personenbezogene Daten im Auftrag des Verantwortlichen verarbeitet.")])]),e._v(" "),n("li",[n("h4",[e._v("i) Empfänger")]),e._v(" "),n("p",[e._v("Empfänger ist eine natürliche oder juristische Person, Behörde, Einrichtung oder andere Stelle, der personenbezogene Daten offengelegt werden, unabhängig davon, ob es sich bei ihr um einen Dritten handelt oder nicht. Behörden, die im Rahmen eines bestimmten Untersuchungsauftrags nach dem Unionsrecht oder dem Recht der Mitgliedstaaten möglicherweise personenbezogene Daten erhalten, gelten jedoch nicht als Empfänger.")])]),e._v(" "),n("li",[n("h4",[e._v("j) Dritter")]),e._v(" "),n("p",[e._v("Dritter ist eine natürliche oder juristische Person, Behörde, Einrichtung oder andere Stelle auÃer der betroffenen Person, dem Verantwortlichen, dem Auftragsverarbeiter und den Personen, die unter der unmittelbaren Verantwortung des Verantwortlichen oder des Auftragsverarbeiters befugt sind, die personenbezogenen Daten zu verarbeiten.")])]),e._v(" "),n("li",[n("h4",[e._v("k) Einwilligung")]),e._v(" "),n("p",[e._v("Einwilligung ist jede von der betroffenen Person freiwillig für den bestimmten Fall in informierter Weise und unmissverständlich abgegebene Willensbekundung in Form einer Erklärung oder einer sonstigen eindeutigen bestätigenden Handlung, mit der die betroffene Person zu verstehen gibt, dass sie mit der Verarbeitung der sie betreffenden personenbezogenen Daten einverstanden ist.")])])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("p",[e._v("TeamLocked"),n("br"),e._v("\n Steenknüll"),n("br"),e._v("\n 24598 Boostedt"),n("br"),e._v("\n Deutschland")])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("p",[e._v("Tel.: +49 (0)176 82 03 88 83"),n("br"),e._v("\n E-Mail: [email protected]"),n("br"),e._v("\n Website: teamlocked.men")])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticStyle:{"list-style":"none"}},[n("li",[n("h4",[e._v("a) Recht auf Bestätigung")]),e._v(" "),n("p",[e._v("Jede betroffene Person hat das vom Europäischen Richtlinien- und Verordnungsgeber eingeräumte Recht, von dem für die Verarbeitung Verantwortlichen eine Bestätigung darüber zu verlangen, ob sie betreffende personenbezogene Daten verarbeitet werden. Möchte eine betroffene Person dieses Bestätigungsrecht in Anspruch nehmen, kann sie sich hierzu jederzeit an einen Mitarbeiter des für die Verarbeitung Verantwortlichen wenden.")])]),e._v(" "),n("li",[n("h4",[e._v("b) Recht auf Auskunft")]),e._v(" "),n("p",[e._v("Jede von der Verarbeitung personenbezogener Daten betroffene Person hat das vom Europäischen Richtlinien- und Verordnungsgeber gewährte Recht, jederzeit von dem für die Verarbeitung Verantwortlichen unentgeltliche Auskunft über die zu seiner Person gespeicherten personenbezogenen Daten und eine Kopie dieser Auskunft zu erhalten. Ferner hat der Europäische Richtlinien- und Verordnungsgeber der betroffenen Person Auskunft über folgende Informationen zugestanden:")]),e._v(" "),n("ul",{staticStyle:{"list-style":"none"}},[n("li",[e._v("die Verarbeitungszwecke")]),e._v(" "),n("li",[e._v("die Kategorien personenbezogener Daten, die verarbeitet werden")]),e._v(" "),n("li",[e._v("die Empfänger oder Kategorien von Empfängern, gegenüber denen die personenbezogenen Daten offengelegt worden sind oder noch offengelegt werden, insbesondere bei Empfängern in Drittländern oder bei internationalen Organisationen")]),e._v(" "),n("li",[e._v("falls möglich die geplante Dauer, für die die personenbezogenen Daten gespeichert werden, oder, falls die
2s nicht möglich ist, die Kriterien für die Festlegung dieser Dauer")]),e._v(" "),n("li",[e._v("das Bestehen eines Rechts auf Berichtigung oder Löschung der sie betreffenden personenbezogenen Daten oder auf Einschränkung der Verarbeitung durch den Verantwortlichen oder eines Widerspruchsrechts gegen diese Verarbeitung")]),e._v(" "),n("li",[e._v("das Bestehen eines Beschwerderechts bei einer Aufsichtsbehörde")]),e._v(" "),n("li",[e._v("wenn die personenbezogenen Daten nicht bei der betroffenen Person erhoben werden: Alle verfügbaren Informationen über die Herkunft der Daten")]),e._v(" "),n("li",[e._v("das Bestehen einer automatisierten Entscheidungsfindung einschlieÃlich Profiling gemäà Artikel 22 Abs.1 und 4 DS-GVO und â zumindest in diesen Fällen â aussagekräftige Informationen über die involvierte Logik sowie die Tragweite und die angestrebten Auswirkungen einer derartigen Verarbeitung für die betroffene Person")])]),e._v(" "),n("p",[e._v("Ferner steht der betroffenen Person ein Auskunftsrecht darüber zu, ob personenbezogene Daten an ein Drittland oder an eine internationale Organisation übermittelt wurden. Sofern dies der Fall ist, so steht der betroffenen Person im Ãbrigen das Recht zu, Auskunft über die geeigneten Garantien im Zusammenhang mit der Ãbermittlung zu erhalten.")]),e._v(" "),n("p",[e._v("Möchte eine betroffene Person dieses Auskunftsrecht in Anspruch nehmen, kann sie sich hierzu jederzeit an einen Mitarbeiter des für die Verarbeitung Verantwortlichen wenden.")])]),e._v(" "),n("li",[n("h4",[e._v("c) Recht auf Berichtigung")]),e._v(" "),n("p",[e._v("Jede von der Verarbeitung personenbezogener Daten betroffene Person hat das vom Europäischen Richtlinien- und Verordnungsgeber gewährte Recht, die unverzügliche Berichtigung sie betreffender unrichtiger personenbezogener Daten zu verlangen. Ferner steht der betroffenen Person das Recht zu, unter Berücksichtigung der Zwecke der Verarbeitung, die Vervollständigung unvollständiger personenbezogener Daten â auch mittels einer ergänzenden Erklärung â zu verlangen.")]),e._v(" "),n("p",[e._v("Möchte eine betroffene Person dieses Berichtigungsrecht in Anspruch nehmen, kann sie sich hierzu jederzeit an einen Mitarbeiter des für die Verarbeitung Verantwortlichen wenden.")])]),e._v(" "),n("li",[n("h4",[e._v("d) Recht auf Löschung (Recht auf Vergessen werden)")]),e._v(" "),n("p",[e._v("Jede von der Verarbeitung personenbezogener Daten betroffene Person hat das vom Europäischen Richtlinien- und Verordnungsgeber gewährte Recht, von dem Verantwortlichen zu verlangen, dass die sie betreffenden personenbezogenen Daten unverzüglich gelöscht werden, sofern einer der folgenden Gründe zutrifft und soweit die Verarbeitung nicht erforderlich ist:")]),e._v(" "),n("ul",{staticStyle:{"list-style":"none"}},[n("li",[e._v("Die personenbezogenen Daten wurden für solche Zwecke erhoben oder auf sonstige Weise verarbeitet, für welche sie nicht mehr notwendig sind.")]),e._v(" "),n("li",[e._v("Die betroffene Person widerruft ihre Einwilligung, auf die sich die Verarbeitung gemäà Art. 6 Abs. 1 Buchstabe a DS-GVO oder Art. 9 Abs. 2 Buchstabe a DS-GVO stützte, und es fehlt an einer anderweitigen Rechtsgrundlage für die Verarbeitung.")]),e._v(" "),n("li",[e._v("Die betroffene Person legt gemäà Art. 21 Abs. 1 DS-GVO Widerspruch gegen die Verarbeitung ein, und es liegen keine vorrangigen berechtigten Gründe für die Verarbeitung vor, oder die betroffene Person legt gemäà Art. 21 Abs. 2 DS-GVO Widerspruch gegen die Verarbeitung ein.")]),e._v(" "),n("li",[e._v("Die personenbezogenen Daten wurden unrechtmäÃig verarbeitet.")]),e._v(" "),n("li",[e._v("Die Löschung der personenbezogenen Daten ist zur Erfüllung einer rechtlichen Verpflichtung nach dem Unionsrecht oder dem Recht der Mitgliedstaaten erforderlich, dem der Verantwortliche unterliegt.")]),e._v(" "),n("li",[e._v("Die personenbezogenen Daten wurden in Bezug auf angebotene Dienste der Informationsgesellschaft gemäà Art. 8 Abs. 1 DS-GVO erhoben.")])]),e._v(" "),n("p",[e._v("Sofern einer der oben genannten Gründe zutrifft und eine betroffene Person die Löschung von personenbezogenen Daten, die bei der TeamLocked gespeichert sind, veranlassen möchte, kann sie sich hierzu jederzeit an einen Mitarbeiter des für die Verarbeitung Verantwortlichen wenden. Der Mitarbeiter der TeamLocked wird veranlassen, dass dem Löschverlangen unverzüglich nachgekommen wird.")]),e._v(" "),n("p",[e._v("Wurden die personenbezogenen Daten von der TeamLocked öffentlich gemacht und ist unser Unternehmen als Verantwortlicher gemäà Art. 17 Abs. 1 DS-GVO zur Löschung der personenbezogenen Daten verpflichtet, so trifft die TeamLocked unter Berücksichtigung der verfügbaren Technologie und der Implementierungskosten angemessene MaÃnahmen, auch technischer Art, um andere für die Datenverarbeitung Verantwortliche, welche die veröffentlichten personenbezogenen Daten verarbeiten, darüber in Kenntnis zu setzen, dass die betroffene Person von diesen anderen für die Datenverarbeitung Verantwortlichen die Löschung sämtlicher Links zu diesen personenbezogenen Daten oder von Kopien oder Replikationen dieser personenbezogenen Daten verlangt hat, soweit die Verarbeitung nicht erforderlich ist. Der Mitarbeiter der TeamLocked wird im Einzelfall das Notwendige veranlassen.")])]),e._v(" "),n("li",[n("h4",[e._v("e) Recht auf Einschränkung der Verarbeitung")]),e._v(" "),n("p",[e._v("Jede von der Verarbeitung personenbezogener Daten betroffene Person hat das vom Europäischen Richtlinien- und Verordnungsgeber gewährte Recht, von dem Verantwortlichen die Einschränkung der Verarbeitung zu verlangen, wenn eine der folgenden Voraussetzungen gegeben ist:")]),e._v(" "),n("ul",{staticStyle:{"list-style":"none"}},[n("li",[e._v("Die Richtigkeit der personenbezogenen Daten wird von der betroffenen Person bestritten, und zwar für eine Dauer, die es dem Verantwortlichen ermöglicht, die Richtigkeit der personenbezogenen Daten zu überprüfen.")]),e._v(" "),n("li",[e._v("Die Verarbeitung ist unrechtmäÃig, die betroffene Person lehnt die Löschung der personenbezogenen Daten ab und verlangt stattdessen die Einschränkung der Nutzung der personenbezogenen Daten.")]),e._v(" "),n("li",[e._v("Der Verantwortliche benötigt die personenbezogenen Daten für die Zwecke der Verarbeitung nicht länger, die betroffene Person benötigt sie jedoch zur Geltendmachung, Ausübung oder Verteidigung von Rechtsansprüchen.")]),e._v(" "),n("li",[e._v("Die betroffene Person hat Widerspruch gegen die
2Verarbeitung gem. Art. 21 Abs. 1 DS-GVO eingelegt und es steht noch nicht fest, ob die berechtigten Gründe des Verantwortlichen gegenüber denen der betroffenen Person überwiegen.")])]),e._v(" "),n("p",[e._v("Sofern eine der oben genannten Voraussetzungen gegeben ist und eine betroffene Person die Einschränkung von personenbezogenen Daten, die bei der TeamLocked gespeichert sind, verlangen möchte, kann sie sich hierzu jederzeit an einen Mitarbeiter des für die Verarbeitung Verantwortlichen wenden. Der Mitarbeiter der TeamLocked wird die Einschränkung der Verarbeitung veranlassen.")])]),e._v(" "),n("li",[n("h4",[e._v("f) Recht auf Datenübertragbarkeit")]),e._v(" "),n("p",[e._v("Jede von der Verarbeitung personenbezogener Daten betroffene Person hat das vom Europäischen Richtlinien- und Verordnungsgeber gewährte Recht, die sie betreffenden personenbezogenen Daten, welche durch die betroffene Person einem Verantwortlichen bereitgestellt wurden, in einem strukturierten, gängigen und maschinenlesbaren Format zu erhalten. Sie hat auÃerdem das Recht, diese Daten einem anderen Verantwortlichen ohne Behinderung durch den Verantwortlichen, dem die personenbezogenen Daten bereitgestellt wurden, zu übermitteln, sofern die Verarbeitung auf der Einwilligung gemäà Art. 6 Abs. 1 Buchstabe a DS-GVO oder Art. 9 Abs. 2 Buchstabe a DS-GVO oder auf einem Vertrag gemäà Art. 6 Abs. 1 Buchstabe b DS-GVO beruht und die Verarbeitung mithilfe automatisierter Verfahren erfolgt, sofern die Verarbeitung nicht für die Wahrnehmung einer Aufgabe erforderlich ist, die im öffentlichen Interesse liegt oder in Ausübung öffentlicher Gewalt erfolgt, welche dem Verantwortlichen übertragen wurde.")]),e._v(" "),n("p",[e._v("Ferner hat die betroffene Person bei der Ausübung ihres Rechts auf Datenübertragbarkeit gemäà Art. 20 Abs. 1 DS-GVO das Recht, zu erwirken, dass die personenbezogenen Daten direkt von einem Verantwortlichen an einen anderen Verantwortlichen übermittelt werden, soweit dies technisch machbar ist und sofern hiervon nicht die Rechte und Freiheiten anderer Personen beeinträchtigt werden.")]),e._v(" "),n("p",[e._v("Zur Geltendmachung des Rechts auf Datenübertragbarkeit kann sich die betroffene Person jederzeit an einen Mitarbeiter der TeamLocked wenden.")])]),e._v(" "),n("li",[n("h4",[e._v("g) Recht auf Widerspruch")]),e._v(" "),n("p",[e._v("Jede von der Verarbeitung personenbezogener Daten betroffene Person hat das vom Europäischen Richtlinien- und Verordnungsgeber gewährte Recht, aus Gründen, die sich aus ihrer besonderen Situation ergeben, jederzeit gegen die Verarbeitung sie betreffender personenbezogener Daten, die aufgrund von Art. 6 Abs. 1 Buchstaben e oder f DS-GVO erfolgt, Widerspruch einzulegen. Dies gilt auch für ein auf diese Bestimmungen gestütztes Profiling.")]),e._v(" "),n("p",[e._v("Die TeamLocked verarbeitet die personenbezogenen Daten im Falle des Widerspruchs nicht mehr, es sei denn, wir können zwingende schutzwürdige Gründe für die Verarbeitung nachweisen, die den Interessen, Rechten und Freiheiten der betroffenen Person überwiegen, oder die Verarbeitung dient der Geltendmachung, Ausübung oder Verteidigung von Rechtsansprüchen.")]),e._v(" "),n("p",[e._v("Verarbeitet die TeamLocked personenbezogene Daten, um Direktwerbung zu betreiben, so hat die betroffene Person das Recht, jederzeit Widerspruch gegen die Verarbeitung der personenbezogenen Daten zum Zwecke derartiger Werbung einzulegen. Dies gilt auch für das Profiling, soweit es mit solcher Direktwerbung in Verbindung steht. Widerspricht die betroffene Person gegenüber der TeamLocked der Verarbeitung für Zwecke der Direktwerbung, so wird die TeamLocked die personenbezogenen Daten nicht mehr für diese Zwecke verarbeiten.")]),e._v(" "),n("p",[e._v("Zudem hat die betroffene Person das Recht, aus Gründen, die sich aus ihrer besonderen Situation ergeben, gegen die sie betreffende Verarbeitung personenbezogener Daten, die bei der TeamLocked zu wissenschaftlichen oder historischen Forschungszwecken oder zu statistischen Zwecken gemäà Art. 89 Abs. 1 DS-GVO erfolgen, Widerspruch einzulegen, es sei denn, eine solche Verarbeitung ist zur Erfüllung einer im öffentlichen Interesse liegenden Aufgabe erforderlich.")]),e._v(" "),n("p",[e._v("Zur Ausübung des Rechts auf Widerspruch kann sich die betroffene Person direkt an jeden Mitarbeiter der TeamLocked oder einen anderen Mitarbeiter wenden. Der betroffenen Person steht es ferner frei, im Zusammenhang mit der Nutzung von Diensten der Informationsgesellschaft, ungeachtet der Richtlinie 2002/58/EG, ihr Widerspruchsrecht mittels automatisierter Verfahren auszuüben, bei denen technische Spezifikationen verwendet werden.")])]),e._v(" "),n("li",[n("h4",[e._v("h) Automatisierte Entscheidungen im Einzelfall einschlieÃlich Profiling")]),e._v(" "),n("p",[e._v("Jede von der Verarbeitung personenbezogener Daten betroffene Person hat das vom Europäischen Richtlinien- und Verordnungsgeber gewährte Recht, nicht einer ausschlieÃlich auf einer automatisierten Verarbeitung â einschlieÃlich Profiling â beruhenden Entscheidung unterworfen zu werden, die ihr gegenüber rechtliche Wirkung entfaltet oder sie in ähnlicher Weise erheblich beeinträchtigt, sofern die Entscheidung (1) nicht für den Abschluss oder die Erfüllung eines Vertrags zwischen der betroffenen Person und dem Verantwortlichen erforderlich ist, oder (2) aufgrund von Rechtsvorschriften der Union oder der Mitgliedstaaten, denen der Verantwortliche unterliegt, zulässig ist und diese Rechtsvorschriften angemessene MaÃnahmen zur Wahrung der Rechte und Freiheiten sowie der berechtigten Interessen der betroffenen Person enthalten oder (3) mit ausdrücklicher Einwilligung der betroffenen Person erfolgt.")]),e._v(" "),n("p",[e._v("Ist die Entscheidung (1) für den Abschluss oder die Erfüllung eines Vertrags zwischen der betroffenen Person und dem Verantwortlichen erforderlich oder (2) erfolgt sie mit ausdrücklicher Einwilligung der betroffenen Person, trifft die TeamLocked angemessene MaÃnahmen, um die Rechte und Freiheiten sowie die berechtigten Interessen der betroffenen Person zu wahren, wozu mindestens das Recht auf Erwirkung des Eingreifens einer Person seitens des Verantwortlichen, auf Darlegung des eigenen Standpunkts und auf Anfechtung der Entscheidung gehört.")]),e._v(" "),n("p",[e._v("Möchte die betroffene Person Rechte mit Bezug auf automatisierte Entscheidungen geltend machen, kann sie sich hierzu jederzeit an einen Mitarbeiter des für die Verarbeitung Verantwortlichen wenden.")])]),e._v(" "),n("li",[n("h4",[e._v("i) Recht auf Widerruf einer datenschutzrechtlichen Einwilligung")]),e._v(" "),n("p",[e._v("Jede von der Verarbeitung personenbezogener Daten betroffene Person hat das vom Europäischen Richtlinien- und Verordnungsgeber gewährte Recht, eine Einwilligung zur Verarbeitung personenbezogener Daten jederzeit zu widerrufen.")]),e._v(" "),n("p",[e._v("Möchte die betroffene Person ihr Recht auf Widerruf einer Einwilligung geltend machen, kann sie sich hierzu jederzeit an einen Mitarbeiter des für die Verarbeitung Verantwortlichen wenden.")])])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("p",[e._v("Diese Datenschutzerklärung wurde durch den Datenschutzerklärungs-Generator der DGD Deutsche Gesellschaft für Datenschutz GmbH, die als "),n("a",{attrs:{href:"https://dg-datenschutz.de/datenschutz-dienstleistungen/externer-datenschutzbeauftragter/"}},[e._v("Externer Datenschutzbeauftragter Dresden")]),e._v(" tätig ist, in Kooperation mit dem "),n("a",{attrs:{href:"https://www.wbs-law.de/"}},[e._v("Rechtsanwalt für Datenschutzrecht")]),e._v(" Christian Solmecke erstellt.\n ")])}],!1,null,null,null);nv.options.__file="components/pages/Privacy_de.vue";const rv=nv.exports;var ov=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$t("forum.header")+" » "+e.$t("posts.header")}}),e._v(" "),n("h2",{staticClass:"mb-4 d-flex justify-content-between"},[n("span",[n("router-link",{attrs:{to:{name:"forum"}}},[n("Icon",{attrs:{v:"comments"}}),e._v("\n "+e._s(e.$t("forum.header"))+"\n ")],1),e._v(" "),n("span",{staticClass:"badge badge-dark"},[n("Icon",{attrs:{v:"pen-nib"}}),e._v("\n "+e._s(e.$t("posts.header"))+"\n ")],1)],1),e._v(" "),n("span",[e.$user?n("button",{class:["btn",e.writeMode?"d-none":"btn-primary"],on:{click:function(t){e.writeMode=!e.writeMode}}},[n("Icon",{attrs:{v:"pen-nib"}}),e._v("\n "+e._s(e.$t("post.write"))+"\n ")],1):n("router-link",{staticClass:"btn btn-primary",attrs:{to:{name:"login"}}},[n("Icon",{attrs:{v:"pen-nib"}}),e._v("\n "+e._s(e.$t("post.write"))+"\n ")],1),e._v(" "),e.$user?n("button",{class:["btn",e.searchMode?"d-none":"btn-primary"],on:{click:function(t){e.searchMode=!e.searchMode}}},[n("Icon",{attrs:{v:"search"}}),e._v("\n "+e._s(e.$t("forum.search"))+"\n ")],1):n("router-link",{staticClass:"btn btn-primary",attrs:{to:{name:"login"}}},[n("Icon",{attrs:{v:"search"}}),e._v("\n "+e._s(e.$t("forum.search"))+"\n ")],1)],1)]),e._v(" "),n("p",{staticClass:"alert alert-info mb-4"},[n("Icon",{attrs:{v:"info-circle"}}),e._v("\n "+e._s(e.$t("forum.category.timeline.description"))+"\n ")],1),e._v(" "),e.$user?n("Accordion",{attrs:{shown:e.searchMode}},[n("div",{staticClass:"mt-4"}
2,[n("ForumSearchForm")],1)]):e._e(),e._v(" "),e.$user?n("Accordion",{attrs:{shown:e.writeMode}},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-xl-6 offset-xl-3 mb-4"},[n("PostForm")],1)])]):e._e(),e._v(" "),n("PostList")],1)};ov._withStripped=!0;var iv=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{class:{accordion:!0,shown:e.isShown}},[e._t("default")],2)};iv._withStripped=!0;var av=Ca({props:{shown:{type:Boolean}},data:function(){return{isShown:this.shown}},methods:{show:function(){this.isShown=!0},hide:function(){this.isShown=!1},toggle:function(){this.isShown=!this.isShown}},watch:{shown:function(e){this.isShown=e}}},iv,[],!1,null,"4f3083c6",null);av.options.__file="components/widgets/Accordion.vue";const sv=av.exports;var lv=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Form",{ref:"form",on:{submit:e.save},scopedSlots:e._u([{key:"default",fn:function(t){return[n("h4",{staticClass:"mb-3 d-flex justify-content-between"},[n("span",[n("Icon",{attrs:{v:"pen-nib"}}),e._v("\n "+e._s(e.$t(e.id?"post.edit":"post.write"))+"\n ")],1),e._v(" "),n("FormGroup",{attrs:{error:t.errors.internal,classes:"d-inline"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("RadioButtonGroup",{attrs:{options:e.internalOptions,classes:"p-2",eval:""},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Icon",{attrs:{v:t.option.icon}}),e._v("\n "+e._s(e.$t("internal."+t.option.name))+"\n ")]}}],null,!0),model:{value:e.internal,callback:function(t){e.internal=t},expression:"internal"}})]}}],null,!0)})],1),e._v(" "),n("FormGroup",{attrs:{error:t.errors.category}},[n("Loading",{attrs:{value:e.categories}},[n("RadioButtonGroup",{attrs:{options:e.categories,classes:"p-2",block:"",vertical:""},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Icon",{attrs:{v:t.option.icon}}),e._v(" "),n("span",{class:"badge badge-"+t.option.color},[e._v("\n "+e._s(e.$t("forum.category."+t.option.name+".name"))+"\n ")])]}}],null,!0),model:{value:e.category,callback:function(t){e.category=t},expression:"category"}})],1)],1),e._v(" "),e.category&&e.$t("forum.category."+e.category+".warning")?n("p",{staticClass:"alert alert-warning"},[n("Icon",{attrs:{v:"exclamation-triangle"}}),e._v("\n "+e._s(e.$t("forum.category."+e.category+".warning"))+"\n ")],1):e._e(),e._v(" "),n("FormGroup",{attrs:{error:t.errors.content},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Editor",{on:{"toggle-saving":e.toggleSaving},model:{value:e.content,callback:function(t){e.content=t},expression:"content"}})]}}],null,!0)}),e._v(" "),n("div",{staticClass:"form-group"},[n("button",{ref:"submit",class:{"btn btn-primary btn-block":!0,disabled:e.savingDisabled},attrs:{disabled:e.savingDisabled}},[n("Icon",{attrs:{v:"save"}}),e._v("\n "+e._s(e.$t("post.save"))+"\n ")],1)])]}}])})};function cv(e){return cv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},cv(e)}function uv(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,dv(r.key),r)}}function dv(e){var t=function(e,t){if("object"!=cv(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=cv(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==cv(t)?t:t+""}function fv(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return pv(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pv(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function pv(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}lv._withStripped=!0;var hv,mv=function(e,t){var n={};return e.forEach((function(e){n[e[t]]=e})),n},vv=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.data=t,this.index=0},(t=[{key:"get",value:function(){var e=this.data[this.index];return this.index=(this.index+1)%this.data.length,e}},{key:"reset",value:function(){this.index=0}}])&&uv(e.prototype,t),n&&uv(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}();const gv={components:{Form:Ra,FormGroup:Za,Editor:zs,RadioButtonGroup:Nm,Loading:us},props:{xCategory:{default:""},post:{default:null}},data:function(){return{id:this.post?this.post.id:null,category:this.post?this.post.category.name:this.xCategory,content:this.post?JSON.parse(this.post.content):[],categories:void 0,savingDisabled:!1,internal:this.post?this.post.internal:this.$user&&this.$user.internal,internalOptions:{true:{name:"internal",icon:"user-shield"},false:{name:"public",icon:"globe-africa"}}}},mounted:function(){var e=this;this.$cache.get("forumCategories").then((function(t){e.categories=mv(t.data.categories,"name")}))},methods:{toggleSaving:function(e){this.savingDisabled=!e},save:function(e){var t,n,r=this;this.$apollo.mutate({mutation:ma(hv||(t=["\n mutation SendPost($id: String, $category: String!, $content: Json!, $internal: Boolean!) {\n post: sendPost(id: $id, category: $category, content: $content, internal: $internal) { id }\n }\n "],n||(n=t.slice(0)),hv=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}})))),variables:{id:this.id,category:this.category,content:JSON.stringify(this.content),internal:this.internal}}).then((function(t){e.success(),r.$router.push({name:"post",params:{id:t.data.post.id}})})).catch((function(t){e.validate(t)}
2)).catch((function(t){e.error()}))}}};var yv=Ca(gv,lv,[],!1,null,"62859a8b",null);yv.options.__file="components/fragments/PostForm.vue";const bv=yv.exports;var _v=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("InfiniteScroll",{attrs:{columns:"3",columnsTablet:"2",query:e.query,variables:e.variables},scopedSlots:e._u([{key:"default",fn:function(e){return[n("PostCard",{attrs:{post:e.item}})]}}])})};_v._withStripped=!0;var wv=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Loading",{attrs:{value:e.items,orEmpty:"",emptyMessage:e.emptyMessage}},[void 0!==e.items?n("div",[n("MasonryGrid",{attrs:{columns:e.columns,columnsTablet:e.columnsTablet}},e._l(e.items,(function(t){return n("MasonryGridItem",{key:t.id},[e._t("default",(function(){return[e._v(e._s(t))]}),{item:t})],2)})),1),e._v(" "),n("p",{directives:[{name:"show",rawName:"v-show",value:e.hasMore,expression:"hasMore"}],staticClass:"text-center"},[n("Spinner",{attrs:{size:"5rem"}})],1)],1):e._e()])};wv._withStripped=!0;var kv=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.removed?e._e():n("div",[n("Card",{attrs:{classes:e.classes},scopedSlots:e._u([{key:"header",fn:function(){return[n("div",{staticClass:"d-flex justify-content-between w-100"},[n("h3",{staticClass:"h5 mb-0"},[n("router-link",{attrs:{to:{name:"memberProfile",params:{username:e.post.user.username}}}},[n("Avatar",{attrs:{member:e.post.user,size:"2rem"}}),e._v(" "),n("Username",{attrs:{user:e.post.user}}),e._v(" "),n("Status",{attrs:{user:e.post.user}})],1)],1),e._v(" "),n("span",[n("router-link",{attrs:{to:{name:"forumCategory",params:{category:e.post.category.name}}}},[n("span",{class:"badge badge-"+e.post.category.color},[n("Icon",{attrs:{v:e.post.category.icon}}),e._v("\n "+e._s(e.$t("forum.category."+e.post.category.name+".name"))+"\n ")],1)]),e._v(" "),e.narrow?e._e():n("span",{staticClass:"btn-group"},[n("button",{staticClass:"btn btn-sm",attrs:{type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}},[n("Icon",{attrs:{v:"ellipsis-v-alt"}})],1),e._v(" "),n("span",{staticClass:"dropdown-menu dropdown-menu-right"},[e.single?e._e():n("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"post",params:{id:e.post.id}}}},[n("Icon",{attrs:{v:"link"}}),e._v("\n "+e._s(e.$t("post.link"))+"\n ")],1),e._v(" "),e.$user&&e.post.user.username==e.$user.username?e._e():n("button",{staticClass:"dropdown-item text-danger cursor-pointer",on:{click:e.report}},[n("Icon",{attrs:{v:"spider"}}),e._v("\n "+e._s(e.$t("report.header"))+"\n ")],1),e._v(" "),e._l(e.categories,(function(t){return e.$user&&e.$user.moderator?n("button",{staticClass:"dropdown-item cursor-pointer",on:{click:function(n){return e.changeCategory(t)}}},[n("Icon",{attrs:{v:"arrow-from-left"}}),e._v(" "),n("span",{class:"badge badge-"+t.color},[n("Icon",{attrs:{v:t.icon}}),e._v("\n "+e._s(e.$t("forum.category."+t.name+".name"))+"\n ")],1)],1):e._e()})),e._v(" "),e.$user&&(e.post.user.username==e.$user.username||e.$user.moderator)?n("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"postEdit",params:{id:e.post.id}}}},[n("Icon",{attrs:{v:"pencil"}}),e._v("\n "+e._s(e.$t("edit"))+"\n ")],1):e._e(),e._v(" "),e.$user&&(e.post.user.username==e.$user.username||e.$user.admin)?n("a",{staticClass:"dropdown-item text-danger",attrs:{href:""},on:{click:function(t){return t.preventDefault(),e.remove.apply(null,arguments)}}},[n("Icon",{attrs:{v:"trash-alt"}}),e._v("\n "+e._s(e.$t("remove"))+"\n ")],1):e._e()],2)])],1)])]},proxy:!0},{key:"default",fn:function(){return[e.post.warning?n("div",{staticClass:"alert alert-tertiary"},[e._v("\n "+e._s(e.post.warning)+"\n ")]):e._e(),e._v(" "),n("div",{class:{"post-content":!0,"post-content-scrollable":!e.single}},e._l(e.content.blocks,(function(t,r){return n("PostBlock",{key:r,attrs:{type:t.type,data:t.data,owner:e.$user&&e.post.user.username===e.$user.username,post:e.single?e.post:null}})})),1)]},proxy:!0},{key:"footer",fn:function(){return[n("small",{staticClass:"d-flex justify-content-between text-center mb-3"},[n("span",e._l(e.reactions,(function(t,r){return n("button",{class:"btn btn-"+(r===e.post.reactionBy?"":"outline-")+"primary btn-sm mx-1 py-0 reaction-button",on:{click:function(t){return e.react(r)}}},[e.updatingReaction==r?n("Spinner"):n("span",[n("span",{staticClass:"reaction-icon"},[n("Twemoji",[e._v(e._s(r))])],1),e._v("\n "+e._s(t)+"\n ")])],1)})),0),e._v(" "),n("span",[e.single?e._e():n("router-link",{staticClass:"btn btn-outline-primary btn-sm mx-1 py-0",attrs:{to:{name:"post",params:{id:e.post.id}}}},[n("Icon",{attrs:{v:"comments"}}),e._v("\n "+e._s(e.post.commentCount)+"\n ")],1)],1)]),e._v(" "),n("small",{staticClass:"d-flex justify-content-between"},[n("span",[n("Icon",{attrs:{v:e.post.internal?"user-shield":"globe-africa",classes:"mr-1"}}),e._v("\n "+e._s(e.$date(e.post.createdAt))+"\n "),void 0!==e.content.prev?n("span",{staticClass:"badge badge-warning mx-1"},[n("Icon",{attrs:{v:"pencil"}}),e._v("\n "+e._s(e.$t("post.edited"))+"\n ")],1):e._e(
2)],1),e._v(" "),n("AdminerLink",{attrs:{table:"post",value:e.post.id,classes:"py-0"}}),e._v(" "),n("Translate",{attrs:{text:e.blocksToText(e.content.blocks)}}),e._v(" "),e.single?e._e():n("strong",[n("router-link",{attrs:{to:{name:"post",params:{id:e.post.id}}}},[n("Icon",{attrs:{v:"link"}}),e._v("\n "+e._s(e.$t("post.link"))+"\n "),n("Icon",{attrs:{v:"angle-double-right"}})],1)],1)],1),e._v(" "),e.post.fullReactions&&e.post.fullReactions.length?n("div",{staticClass:"small mt-3"},[n("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.showFullReactions=!e.showFullReactions}}},[n("Icon",{attrs:{v:"thumbs-up"}}),e._v("\n "+e._s(e.$tc("post.reactions",e.post.fullReactions.length))+"\n ")],1),e._v(" "),n("Accordion",{attrs:{shown:e.showFullReactions}},[n("ul",{staticClass:"list-unstyled m-2"},e._l(e.post.fullReactions,(function(t){return n("li",[n("Twemoji",[e._v(e._s(t.reaction))]),e._v(" "),n("router-link",{attrs:{to:{name:"memberProfile",params:{username:t.user.username}}}},[e._v("\n "+e._s(t.user.username)+"\n ")])],1)})),0)])],1):e._e()]},proxy:!0}],null,!1,778229761)})],1)};kv._withStripped=!0;var xv=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"btn-group btn-with-imgs"},[n("a",{class:["btn btn-sm btn-outline-primary",{"py-0":!e.mini},{"border-0":e.mini}],attrs:{href:e.getTranslateLink(),target:"_blank",rel:"noopener"}},[n("img",{attrs:{src:__webpack_require__(2683),alt:"DeepL"}}),e._v(" "),e.mini?e._e():n("span",{staticClass:"d-none d-sm-inline"},[e._v(e._s(e.$t("post.translate")))])]),e._v(" "),e.mini?e._e():n("button",{staticClass:"btn btn-sm btn-outline-primary py-0 dropdown-toggle dropdown-toggle-split",attrs:{"data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}},[n("Flag",{attrs:{code:e.languages[e.currentLanguage].code}}),e._v(" "),n("span",{staticClass:"sr-only"},[e._v("Toggle Dropdown")])],1),e._v(" "),e.mini?e._e():n("div",{staticClass:"dropdown-menu"},e._l(e.languages,(function(t,r){return n("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.setLanguage(r)}}},[n("Flag",{attrs:{code:t.code}}),e._v("\n "+e._s(t.name)+"\n ")],1)})),0)])};xv._withStripped=!0;var Cv="translate-language",Sv="translation-language-changed";var Ev=Ca({components:{Flag:Ec},props:{text:{},mini:{type:Boolean}},data:function(){return{languages:{en:{code:"GB",name:"English"},de:{code:"DE",name:"Deutsch"},fr:{code:"FR",name:"Français"},es:{code:"ES",name:"Español"},pt:{code:"PT",name:"Português"},it:{code:"IT",name:"Italian"},nl:{code:"NL",name:"Nederlands"},pl:{code:"PL",name:"Polski"},ru:{code:"RU",name:"ÑÑÑÑкий"},ja:{code:"JP",name:"æ¥æ¬èª"},zh:{code:"CN",name:"䏿ï¼ç®ä½ï¼"}},currentLanguage:(Jo.get(Cv)||this.$i18n.locale||"en").substring(0,2)}},mounted:function(){var e=this;this.$eventHub.$on(Sv,(function(t){e.currentLanguage=t}))},methods:{setLanguage:function(e){Jo.set(Cv,e),this.currentLanguage=e,this.$eventHub.$emit(Sv,e)},getTranslateLink:function(){return"https://www.deepl.com/translator#auto/".concat(this.currentLanguage,"/").concat(encodeURI(this.text.replace(/#|\|/g,"/")))}}},xv,[],!1,null,null,null);Ev.options.__file="components/widgets/Translate.vue";const Tv=Ev.exports;var Ov,Iv,Av;function Dv(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Pv=Ca({components:{Card:wp,Avatar:Xs,Username:Zl,Status:tc,PostBlock:Al,Twemoji:Ol,Spinner:Da,Accordion:sv,Translate:Tv,AdminerLink:Gp},props:{post:{},single:{type:Boolean},narrow:{type:Boolean},classes:{default:""}},data:function(){return{content:JSON.parse(this.post.content),reactions:JSON.parse(this.post.reactions),updatingReaction:null,removed:!1,showFullReactions:!1,categories:void 0}},mounted:function(){var e=this;this.$cache.get("forumCategories").then((function(t){e.categories=mv(t.data.categories,"name")}))},methods:{react:function(e){var t=this;if(!this.updatingReaction){this.updatingReaction=e;var n=this.post.reactionBy;this.$apollo.mutate({mutation:ma(Ov||(Ov=Dv(["\n mutation ReactPost($id: String!, $reaction: String!) {\n reaction: reactPost(id: $id, reaction: $reaction)\n }\n "]))),variables:{id:this.post.id,reaction:e}}).then((function(e){t.post.reactionBy=e.data.reaction,n&&t.reactions[n]--,t.post.reactionBy&&t.reactions[t.post.reactionBy]++,t.updatingReaction=null})).catch((function(e){t.updatingReaction=null,console.error(e)}))}},remove:function(){var e=this;this.$confirm(this.$t("post.remove.confirm")).then((function(t){e.$apollo.mutate({mutation:ma(Iv||(Iv=Dv(["\n mutation RemovePost($id: String!) {\n removed: removePost(id: $id)\n }\n "]))),variables:{id:e.post.id}}).then((function(t){e.removed=t.data.removed}
2)).catch((function(e){console.error(e)}))}))},report:function(){this.$eventHub.$emit("report","/post/"+this.post.id)},changeCategory:function(e){var t=this;this.$apollo.mutate({mutation:ma(Av||(Av=Dv(["\n mutation ChangeCategory($id: String!, $category: String!) {\n changeCategory(id: $id, category: $category)\n }\n "]))),variables:{id:this.post.id,category:e.name}}).then((function(n){t.post.category=e})).catch((function(e){console.error(e)}))}}},kv,[],!1,null,"46f69c8b",null);Pv.options.__file="components/widgets/PostCard.vue";const Mv=Pv.exports;function $v(e){return $v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$v(e)}function Nv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Rv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nv(Object(n),!0).forEach((function(t){Lv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Lv(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=$v(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=$v(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==$v(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jv=Ca({components:{Loading:us,MasonryGrid:bh,MasonryGridItem:kh,PostCard:Mv,Spinner:Da},props:{columns:{default:3},columnsTablet:{default:2},query:{required:!0},variables:{required:!0},mutation:{type:Boolean},idField:{default:"id"},orderField:{default:"createdAt"},emptyMessage:{default:"empty.default"}},data:function(){return{items:void 0,loading:!1,hasMore:!0,oldestLoaded:null,loadedIds:{},unmounted:!1}},mounted:function(){var e=this;this.fetchMore(),this.$eventHub.$on("scrollBottom",(function(){e.fetchMore()}))},destroyed:function(){this.unmounted=!0},methods:{fetchMore:function(){var e=this;this.loading||!this.hasMore||this.unmounted||(this.loading=!0,(this.mutation?this.$apollo.mutate({mutation:this.query,variables:Rv(Rv({},this.variables),{},{before:this.oldestLoaded})}):this.$apollo.query({query:this.query,variables:Rv(Rv({},this.variables),{},{before:this.oldestLoaded})})).then((function(t){e.loading=!1,void 0===e.items&&(e.items=[]);var n=e.items.length;t.data.items.forEach((function(t){void 0===e.loadedIds[t[e.idField]]&&(e.items.push(t),e.oldestLoaded=t[e.orderField],e.loadedIds[t[e.idField]]=!0)})),e.hasMore=e.items.length>n,e.$emit("items-loaded",e.items,e.hasMore),window.dispatchEvent(new Event("scroll"))})).catch((function(t){e.$emit("error",t),console.error(t),e.loading=!1})))},reset:function(){this.items=void 0,this.loading=!1,this.hasMore=!0,this.oldestLoaded=null,this.loadedIds={},this.unmounted=!1}}},wv,[],!1,null,null,null);jv.options.__file="components/widgets/InfiniteScroll.vue";const Fv=jv.exports;var Bv;const qv={components:{InfiniteScroll:Fv,PostCard:Mv},props:{category:{default:null},username:{default:null},text:{default:null}},data:function(){return{query:ma(Bv||(e=['\n query Posts ($category: String, $username: String, $currentUsername: String, $text: String, $before: DateTime) {\n items: posts(category: $category, username: $username, text: $text, before: $before) {\n id\n createdAt\n category { name icon color }\n user {\n username\n avatar { id links(size: "avatar") }\n admin\n moderator\n statusSub\n statusKeyholder\n currentChastityPeriod { start earliestEnd terminatable permanent }\n lastRequest\n }\n content\n reactions\n reactionBy(username: $currentUsername)\n warning\n commentCount\n internal\n }\n }\n '],t||(t=e.slice(0)),Bv=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})))),variables:{category:this.category,username:this.username,text:this.text,currentUsername:this.$user?this.$user.username:null}};var e,t}};var Hv=Ca(qv,_v,[],!1,null,null,null);Hv.options.__file="components/fragments/PostList.vue";
2const zv=Hv.exports;var Uv=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Form",{ref:"form",on:{submit:e.search},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"d-flex flex-column flex-md-row mb-4"},[n("FormGroup",{attrs:{error:t.errors.category,classes:"w-100 mr-md-2"}},[n("Loading",{attrs:{value:e.categories}},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.category,expression:"category"}],staticClass:"form-control",on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.category=t.target.multiple?n:n[0]}}},[n("option",{attrs:{value:""}},[e._v(e._s(e.$t("forum.search.category")))]),e._v(" "),e._l(e.categories,(function(t){return n("option",{domProps:{value:t.name}},[e._v(e._s(e.$t("forum.category."+t.name+".name")))])}))],2)])],1),e._v(" "),n("FormGroup",{attrs:{error:t.errors.user,classes:"w-100 mr-md-2"}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.user,expression:"user"}],staticClass:"form-control",attrs:{placeholder:e.$t("forum.search.user"),minlength:"5"},domProps:{value:e.user},on:{input:function(t){t.target.composing||(e.user=t.target.value)}}})]),e._v(" "),n("FormGroup",{attrs:{error:t.errors.text,classes:"w-100 mr-md-2"}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.text,expression:"text"}],staticClass:"form-control border-primary",attrs:{placeholder:e.$t("forum.search.text"),minlength:"5"},domProps:{value:e.text},on:{input:function(t){t.target.composing||(e.text=t.target.value)}}})]),e._v(" "),n("div",{staticClass:"form-group w-100"},[n("button",{staticClass:"btn btn-primary btn-block"},[n("Icon",{attrs:{v:"search"}}),e._v("\n "+e._s(e.$t("forum.search"))+"\n ")],1)])],1)]}}])})};Uv._withStripped=!0;var Vv=Ca({components:{Form:Ra,FormGroup:Za,Loading:us},props:{xCategory:{default:""},xUser:{default:""},xText:{default:""}},data:function(){return{categories:[],category:this.xCategory||"",user:this.xUser,text:this.xText}},mounted:function(){var e=this;this.$cache.get("forumCategories").then((function(t){e.categories=t.data.categories}))},methods:{search:function(e){this.specificity<2?e.error(this.$t("forum.search.error.specificity")):(this.$router.push({name:"forumSearch",params:{category:this.category||"_",user:this.user||"_",text:this.text||"_"}}),e.success(""))}},computed:{specificity:function(){var e=0;return this.category&&(e+=1),this.user&&(e+=1),this.text&&(e+=2),e}}},Uv,[],!1,null,"c4e4c154",null);Vv.options.__file="components/fragments/ForumSearchForm.vue";const Gv=Vv.exports;var Wv=Ca({components:{Loading:us,Accordion:sv,PostForm:bv,PostList:zv,ForumSearchForm:Gv},data:function(){return{writeMode:!1,searchMode:!1}}},ov,[],!1,null,null,null);Wv.options.__file="components/pages/Timeline.vue";const Yv=Wv.exports;var Kv=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.post?e.post.description:"",description:e.post?e.post.description:""}}),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-xl-6 offset-xl-3"},[n("Loading",{attrs:{value:e.post}},[void 0!==e.post?n("div",[n("PostCard",{attrs:{post:e.post,single:""}}),e._v(" "),e.$user||e.post.comments.length?n("div",[n("h3",{staticClass:"mt-5"},[n("Icon",{attrs:{v:"comments"}}),e._v("\n "+e._s(e.$t("comment.list"))+"\n ("+e._s(e.post.comments.length)+")\n ")],1),e._v(" "),e._l(e.post.comments,(function(t){return n("CommentCard",{key:t.id,ref:t.id,refInFor:!0,attrs:{comment:t,post:e.post},on:{"removed-comment":e.removedComment,"reply-comment":e.replyComment}})})),e._v(" "),e.post.comments.length?n("hr"):e._e(),e._v(" "),e.$user?n("CommentForm",{ref:"commentForm",attrs:{postId:e.post.id},on:{"new-comment":e.newComment}}):e._e()],2):e._e()],1):e._e()])],1)])],1)};Kv._withStripped=!0;var Qv,Jv=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.removed?e._e():n("div",{staticClass:"comment container py-3"},[n("Card",{attrs:{classes:[e.classes,e.$route.params.comment&&e.$route.params.comment===e.comment.id?"border border-primary":""]},scopedSlots:e._u([{key:"header",fn:function(){return[n("div",{staticClass:"d-flex justify-content-between w-100"},[n("h3",{staticClass:"h5 mb-0"},[n("router-link",{attrs:{to:{name:"memberProfile",params:{username:e.comment.user.username}}}},[n("Avatar",{attrs:{member:e.comment.user,size:"2rem"}}),e._v(" "),n("Username",{attrs:{user:e.comment.user}}),e._v(" "),n("Status",{attrs:{user:e.comment.user}})],1)],1),e._v(" "),n("span",[e._v("\n "+e._s(e.$date(e.comment.createdAt,!0,!1))+"\n "),n("Translate",{attrs:{text:e.blocksToText(JSON.parse(e.comment.content).blocks),mini:""}}),e._v(" "),n("span",{staticClass:"btn-group"},[e.$user&&e.comment.user.username!==e.$user.username?n("button",{staticClass:"btn btn-sm",attrs:{type:"button",title:e.$t("comment.reply")},on:{click:function(t){return e.$emit("reply-comment",e.comment.user.username)}}},[n("Icon",{attrs:{v:"reply"}}
2)],1):e._e(),e._v(" "),n("button",{staticClass:"btn btn-sm",attrs:{type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}},[n("Icon",{attrs:{v:"ellipsis-v-alt"}})],1),e._v(" "),n("span",{staticClass:"dropdown-menu dropdown-menu-right"},[e.$user&&e.comment.user.username!==e.$user.username?n("a",{staticClass:"dropdown-item",attrs:{href:""},on:{click:function(t){return t.preventDefault(),e.$emit("reply-comment",e.comment.user.username)}}},[n("Icon",{attrs:{v:"reply"}}),e._v("\n "+e._s(e.$t("comment.reply"))+"\n ")],1):e._e(),e._v(" "),n("router-link",{staticClass:"dropdown-item",attrs:{to:{name:"postComment",params:{id:e.post.id,comment:e.comment.id}}}},[n("Icon",{attrs:{v:"link"}}),e._v("\n "+e._s(e.$t("post.link"))+"\n ")],1),e._v(" "),e.$user&&e.comment.user.username===e.$user.username?n("a",{staticClass:"text-danger dropdown-item",attrs:{href:""},on:{click:function(t){return t.preventDefault(),e.remove.apply(null,arguments)}}},[n("Icon",{attrs:{v:"trash-alt"}}),e._v("\n "+e._s(e.$t("remove"))+"\n ")],1):n("button",{staticClass:"dropdown-item text-danger",on:{click:e.report}},[n("Icon",{attrs:{v:"spider"}}),e._v("\n "+e._s(e.$t("report.header"))+"\n ")],1)],1)])],1)])]},proxy:!0},{key:"default",fn:function(){return[n("div",{staticClass:"post-content"},e._l(JSON.parse(e.comment.content).blocks,(function(e,t){return n("PostBlock",{key:t,attrs:{type:e.type,data:e.data}})})),1)]},proxy:!0}],null,!1,1439635608)})],1)};Jv._withStripped=!0;const Zv={components:{Card:wp,Avatar:Xs,Username:Zl,Status:tc,PostBlock:Al,Twemoji:Ol,Translate:Tv},props:{comment:{},post:{},classes:{default:""}},data:function(){return{removed:!1}},methods:{remove:function(){var e=this;this.$confirm(this.$t("comment.remove.confirm")).then((function(t){var n,r;e.$apollo.mutate({mutation:ma(Qv||(n=["\n mutation RemoveComment($id: String!) {\n removed: removeComment(id: $id)\n }\n "],r||(r=n.slice(0)),Qv=Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(r)}})))),variables:{id:e.comment.id}}).then((function(t){e.removed=t.data.removed,e.$emit("removed-comment",e.comment)})).catch((function(e){console.error(e)}))}))},report:function(){this.$eventHub.$emit("report","/comment/"+this.comment.id)}}};var Xv=Ca(Zv,Jv,[],!1,null,"2c013824",null);Xv.options.__file="components/widgets/CommentCard.vue";const eg=Xv.exports;var tg,ng=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.sent?e._e():n("Form",{ref:"form",on:{submit:e.save},scopedSlots:e._u([{key:"default",fn:function(t){return[n("FormGroup",{attrs:{error:t.errors.content},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Editor",{ref:"editor",attrs:{short:"",simple:""},on:{"toggle-saving":e.toggleSaving},model:{value:e.content,callback:function(t){e.content=t},expression:"content"}})]}}],null,!0)}),e._v(" "),n("div",{staticClass:"form-group mt--2"},[n("button",{ref:"submit",class:{"btn btn-primary btn-block":!0,disabled:e.savingDisabled},attrs:{disabled:e.savingDisabled}},[n("Icon",{attrs:{v:"comment"}}),e._v("\n "+e._s(e.$t("comment.send"))+"\n ")],1)])]}}],null,!1,673858917)})};ng._withStripped=!0;const rg={components:{Form:Ra,FormGroup:Za,Editor:zs},props:{postId:{}},data:function(){return{content:[],savingDisabled:!1,sent:!1}},methods:{toggleSaving:function(e){this.savingDisabled=!e},save:function(e){var t,n,r=this;this.$apollo.mutate({mutation:ma(tg||(t=["\n mutation SendComment($postId: String!, $content: Json!) {\n comment: sendComment(postId: $postId, content: $content) {\n id\n createdAt\n content\n }\n }\n "],n||(n=t.slice(0)),tg=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}})))),variables:{postId:this.postId,content:JSON.stringify(this.content)}}).then((function(t){e.success();var n=t.data.comment;n.user=r.$user,r.$emit("new-comment",n),r.sent=!0})).catch((function(t){e.validate(t)}
2)).catch((function(t){e.error()}))},reply:function(e){this.$refs.editor.insert("paragraph",{text:e.map((function(e){return"@"+e})).join(" ")+" "})}}};var og=Ca(rg,ng,[],!1,null,"e77393e8",null);og.options.__file="components/fragments/CommentForm.vue";var ig;function ag(e){return function(e){if(Array.isArray(e))return sg(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return sg(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?sg(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function sg(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const lg={components:{Loading:us,PostCard:Mv,CommentCard:eg,CommentForm:og.exports},data:function(){return{post:void 0}},mounted:function(){this.fetchPost(this.$route.params.id)},beforeRouteUpdate:function(e,t,n){this.post=void 0,this.fetchPost(e.params.id),n(),this.scrollToComment(e.params.comment)},methods:{fetchPost:function(e){var t,n,r=this;this.$apollo.query({query:ma(ig||(t=['\n query Post($id: String!, $currentUsername: String) {\n post(id: $id) {\n id\n createdAt\n category { name icon color }\n user {\n username\n avatar { id links(size: "avatar") }\n admin\n moderator\n statusSub\n statusKeyholder\n currentChastityPeriod { start earliestEnd terminatable permanent }\n lastRequest\n }\n content\n description\n reactions\n reactionBy(username: $currentUsername)\n warning\n fullReactions {\n reaction\n user {\n username\n }\n }\n commentCount\n comments {\n id\n createdAt\n user {\n username\n avatar { id links(size: "avatar") }\n admin\n moderator\n statusSub\n statusKeyholder\n currentChastityPeriod { start earliestEnd terminatable permanent }\n lastRequest\n }\n content\n }\n internal\n }\n }\n '],n||(n=t.slice(0)),ig=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}})))),variables:{id:e,currentUsername:this.$user?this.$user.username:null}}).then((function(e){r.post=e.data.post,r.scrollToComment(r.$route.params.comment)})).catch((function(e){console.error(e)}))},newComment:function(e){this.post.comments=[].concat(ag(this.post.comments),[e])},removedComment:function(e){this.post.comments=this.post.comments.filter((function(t){return t.id!==e}))},replyComment:function(e){this.$refs.commentForm.reply([e]),Xo()("html, body").animate({scrollTop:Xo()(document).height()},1e3)},scrollToComment:function(e){var t=this;e&&this.$nextTick((function(n){var r=t.$refs[e];r&&r.length&&(window.x=r[0].$el,console.log(r[0].$el,Xo()(r[0].$el).offset(),Xo()(r[0].$el).position(),Xo()(r[0].$el).scrollTop()),setTimeout((function(e){Xo()("html, body").animate({scrollTop:Xo()(r[0].$el).offset().top-36},1e3)}),2e3))}))}}};var cg=Ca(lg,Kv,[],!1,null,null,null);cg.options.__file="components/pages/Post.vue";const ug=cg.exports;
2var dg,fg=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"container text-center"},[t("Spinner",{attrs:{size:"5rem"}})],1)};fg._withStripped=!0;const pg={components:{Spinner:Da},mounted:function(){var e,t,n=this;this.$apollo.query({query:ma(dg||(e=["\n query CommentPost($id: String!) {\n commentPost(id: $id) {\n id\n }\n }\n "],t||(t=e.slice(0)),dg=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})))),variables:{id:this.$route.params.id}}).then((function(e){n.$router.push({name:"postComment",params:{id:e.data.commentPost.id,comment:n.$route.params.id}})}))}};var hg=Ca(pg,fg,[],!1,null,null,null);hg.options.__file="components/pages/Comment.vue";const mg=hg.exports;var vg,gg=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.post?e.post.description:"",description:e.post?e.post.description:""}}),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-xl-6 offset-xl-3"},[n("Loading",{attrs:{value:e.post}},[void 0!==e.post?n("div",[n("PostForm",{attrs:{post:e.post}})],1):e._e()])],1)])],1)};gg._withStripped=!0;const yg={components:{Loading:us,PostForm:bv},data:function(){return{post:void 0}},mounted:function(){var e,t,n=this;this.$apollo.query({query:ma(vg||(e=["\n query Post($id: String!) {\n post(id: $id) {\n id\n createdAt\n category { name }\n user { username }\n content\n description\n internal\n }\n }\n "],t||(t=e.slice(0)),vg=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})))),variables:{id:this.$route.params.id}}).then((function(e){n.post=e.data.post,n.$user&&(n.post.user.username===n.$user.username||n.$user.moderator)||n.$router.push({name:"home"})})).catch((function(e){console.error(e)}))}};var bg=Ca(yg,gg,[],!1,null,null,null);bg.options.__file="components/pages/PostEdit.vue";const _g=bg.exports;var wg=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$t("forum.header")}}),e._v(" "),n("h2",{staticClass:"mb-4 d-flex justify-content-between"},[n("span",[n("Icon",{attrs:{v:"comments"}}),e._v("\n "+e._s(e.$t("forum.header"))+"\n ")],1),e._v(" "),n("span",[e.$user?n("button",{class:["btn",e.writeMode?"d-none":"btn-primary"],on:{click:function(t){e.writeMode=!e.writeMode}}},[n("Icon",{attrs:{v:"pen-nib"}}),e._v("\n "+e._s(e.$t("post.write"))+"\n ")],1):n("router-link",{staticClass:"btn btn-primary",attrs:{to:{name:"login"}}},[n("Icon",{attrs:{v:"pen-nib"}}),e._v("\n "+e._s(e.$t("post.write"))+"\n ")],1),e._v(" "),e.$user?n("button",{class:["btn",e.searchMode?"d-none":"btn-primary"],on:{click:function(t){e.searchMode=!e.searchMode}}},[n("Icon",{attrs:{v:"search"}}),e._v("\n "+e._s(e.$t("forum.search"))+"\n ")],1):n("router-link",{staticClass:"btn btn-primary",attrs:{to:{name:"login"}}},[n("Icon",{attrs:{v:"search"}}),e._v("\n "+e._s(e.$t("forum.search"))+"\n ")],1)],1)]),e._v(" "),e.$user?n("Accordion",{attrs:{shown:e.searchMode}},[n("div",{staticClass:"mt-4"},[n("ForumSearchForm")],1)]):e._e(),e._v(" "),e.$user?n("Accordion",{attrs:{shown:e.writeMode}},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-xl-6 offset-xl-3 mb-4"},[n("PostForm")],1)])]):e._e(),e._v(" "),n("Loading",{attrs:{value:e.categories,orEmpty:""}},[n("div",{staticClass:"list-group forum-categories mb-4 clearfix"},[n("router-link",{class:["list-group-item list-group-item-action d-flex flex-column flex-md-row forum-category-link",e.evenCategories?"forum-category-link-double justify-content-center":""],attrs:{to:{name:"forumTimeline"}}},[n("Icon",{attrs:{v:"pen-nib",size:"3",classes:"m-3"}}),e._v(" "),n("span",[n("h3",[n("span",{staticClass:"badge badge-dark"},[e._v("\n "+e._s(e.$t("forum.category.timeline.name"))+"\n ")])]),e._v(" "),n("p",[e._v("\n "+e._s(e.$t("forum.category.timeline.description"))+"\n ")])])],1),e._v(" "),e._l(e.categories,(function(t,r){return n("router-link",{key:t.name,class:["list-group-item list-group-item-action d-flex flex-column flex-md-row forum-category-link",e.evenCategories||0!==r?"":"border-top"],attrs:{to:{name:"forumCategory",params:{category:t.name}}}},[n("Icon",{attrs:{v:t.icon,size:"3",classes:"m-3"}}),e._v(" "),n("span",[n("h3",[n("span",{class:"badge badge-"+t.color},[e._v("\n "+e._s(e.$t("forum.category."+t.name+".name"))+"\n ")])]),e._v(" "),n("p",[e._v("\n "+e._s(e.$t("forum.category."+t.name+".description"))+"\n ")])])],1)}))],2)])],1)};wg._withStripped=!0;var kg=Ca({components:{Loading:us,Accordion:sv,PostForm:bv,ForumSearchForm:Gv},data:function(){return{categories:void 0,writeMode:!1,searchMode:!1}},mounted:function(){var e=this;this.$cache.get("forumCategories").then((function(t){e.categories=t.data.categories}))},computed:{evenCategories:function(){return this.categories%2==0}}}
2,wg,[],!1,null,"f5c223ea",null);kg.options.__file="components/pages/Forum.vue";const xg=kg.exports;var Cg=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("Loading",{attrs:{value:e.category}},[void 0!==e.category?n("div",[n("VueHeadful",{attrs:{title:e.$t("forum.header")+" » "+e.$t("forum.category."+e.category.name+".name")}}),e._v(" "),n("h2",{staticClass:"mb-4 d-flex justify-content-between"},[n("span",[n("router-link",{attrs:{to:{name:"forum"}}},[n("Icon",{attrs:{v:"comments"}}),e._v("\n "+e._s(e.$t("forum.header"))+"\n ")],1),e._v(" "),n("span",{class:"badge badge-"+e.category.color},[n("Icon",{attrs:{v:e.category.icon}}),e._v("\n "+e._s(e.$t("forum.category."+e.category.name+".name"))+"\n ")],1)],1),e._v(" "),n("span",[e.$user?n("button",{class:["btn",e.writeMode?"d-none":"btn-primary"],on:{click:function(t){e.writeMode=!e.writeMode}}},[n("Icon",{attrs:{v:"pen-nib"}}),e._v("\n "+e._s(e.$t("post.write"))+"\n ")],1):n("router-link",{staticClass:"btn btn-primary",attrs:{to:{name:"login"}}},[n("Icon",{attrs:{v:"pen-nib"}}),e._v("\n "+e._s(e.$t("post.write"))+"\n ")],1),e._v(" "),e.$user?n("button",{class:["btn",e.searchMode?"d-none":"btn-primary"],on:{click:function(t){e.searchMode=!e.searchMode}}},[n("Icon",{attrs:{v:"search"}}),e._v("\n "+e._s(e.$t("forum.search"))+"\n ")],1):n("router-link",{staticClass:"btn btn-primary",attrs:{to:{name:"login"}}},[n("Icon",{attrs:{v:"search"}}),e._v("\n "+e._s(e.$t("forum.search"))+"\n ")],1)],1)]),e._v(" "),n("p",{staticClass:"alert alert-info mb-4"},[n("Icon",{attrs:{v:"info-circle"}}),e._v("\n "+e._s(e.$t("forum.category."+e.category.name+".description"))+"\n ")],1),e._v(" "),e.$t("forum.category."+e.category.name+".warning")?n("p",{staticClass:"alert alert-warning"},[n("Icon",{attrs:{v:"exclamation-triangle"}}),e._v("\n "+e._s(e.$t("forum.category."+e.category.name+".warning"))+"\n ")],1):e._e(),e._v(" "),e.$user?n("Accordion",{attrs:{shown:e.searchMode}},[n("div",{staticClass:"mt-4"},[n("ForumSearchForm",{attrs:{xCategory:e.$route.params.category}}
2)],1)]):e._e(),e._v(" "),e.$user?n("Accordion",{attrs:{shown:e.writeMode}},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-xl-6 offset-xl-3 mb-4"},[n("PostForm",{attrs:{xCategory:e.category.name}})],1)])]):e._e(),e._v(" "),n("PostList",{attrs:{category:e.category.name}})],1):e._e()])],1)};Cg._withStripped=!0;var Sg=Ca({components:{Loading:us,MasonryGrid:bh,MasonryGridItem:kh,PostCard:Mv,Accordion:sv,PostForm:bv,ForumSearchForm:Gv,PostList:zv},data:function(){return{category:void 0,writeMode:!1,searchMode:!1}},mounted:function(){var e=this,t=this.$route.params.category;this.$cache.get("forumCategories").then((function(n){e.category=function(e,t,n){var r,o=fv(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;if(i[t]===n)return i}}catch(e){o.e(e)}finally{o.f()}return null}(n.data.categories,"name",t)||void 0,e.category||e.$eventHub.$emit("notFound")}))}},Cg,[],!1,null,null,null);Sg.options.__file="components/pages/ForumCategory.vue";const Eg=Sg.exports;var Tg=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$t("forum.search")}}),e._v(" "),n("h2",{staticClass:"mb-4 d-flex justify-content-between"},[n("span",[n("router-link",{attrs:{to:{name:"forum"}}},[n("Icon",{attrs:{v:"comments"}}),e._v("\n "+e._s(e.$t("forum.header"))+"\n ")],1),e._v(" "),n("span",{staticClass:"badge badge-primary"},[n("Icon",{attrs:{v:"search"}}),e._v("\n "+e._s(e.$t("forum.search"))+"\n ")],1)],1)]),e._v(" "),e.initialised?n("ForumSearchForm",{attrs:{xCategory:e.category,xUser:e.user,xText:e.text}}):e._e(),e._v(" "),e.error?n("p",{staticClass:"alert alert-danger"},[n("Icon",{attrs:{v:"times-octagon"}}),e._v("\n "+e._s(e.error)+"\n ")],1):e.initialised?n("PostList",{key:e.category+"_"+e.user+"_"+e.text+"_",attrs:{category:e.category,username:e.user,text:e.text}}):e._e()],1)};Tg._withStripped=!0;var Og=Ca({components:{Loading:us,PostList:zv,ForumSearchForm:Gv},data:function(){return{initialised:!1,category:void 0,user:void 0,text:void 0,error:null}},mounted:function(){this.updateForm()},beforeRouteUpdate:function(e,t,n){this.initialised=!1,n(),this.updateForm()},methods:{updateForm:function(){this.category="_"===this.$route.params.category?null:this.$route.params.category,this.user="_"===this.$route.params.user?null:this.$route.params.user,this.text="_"===this.$route.params.text?null:this.$route.params.text,this.initialised=!0,this.specificity<2&&(this.error=this.$t("forum.search.error.specificity"))}},computed:{specificity:function(){var e=0;return this.category&&(e+=1),this.user&&(e+=1),this.text&&(e+=2),e}}},Tg,[],!1,null,null,null);Og.options.__file="components/pages/ForumSearch.vue";const Ig=Og.exports;var Ag=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$t("members.header")}}),e._v(" "),n("h2",[n("Icon",{attrs:{v:"users"}}),e._v("\n "+e._s(e.$t("members.header"))+"\n "),n("a",{staticClass:"btn btn-outline-dark btn-sm d-inline-block d-sm-none float-right",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.reset.apply(null,arguments)}}},[n("Icon",{attrs:{v:"eraser"}})],1)],1),e._v(" "),n("Form",{ref:"form",on:{submit:e.search},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"card bg-light mb-5"},[n("div",{staticClass:"card-body"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-lg-6"},[n("label",[n("strong",[n("Icon",{attrs:{v:"pencil"}}),e._v("\n "+e._s(e.$t("members.search.text"))+"\n ")],1)]),e._v(" "),n("FormGroup",{attrs:{error:t.text},scopedSlots:e._u([{key:"default",fn:function(t){return[n("input",{directives:[{name:"model",rawName:"v-model",value:e.text,expression:"text"}],class:t.controlClass,attrs:{minlength:"3"},domProps:{value:e.text},on:{input:function(t){t.target.composing||(e.text=t.target.value)}}})]}}],null,!0)}),e._v(" "),n("label",[n("strong",[n("Icon",{attrs:{v:"transgender"}}),e._v("\n "+e._s(e.$t("gender.header"))+"\n ")],1)]),e._v(" "),n("FormGroup",{attrs:{error:t.gender},scopedSlots:e._u([{key:"default",fn:function(t){return[n("RadioButtonGroup",{attrs:{options:e.genderOptions,classes:"p-2",block:"",eval:"",multiple:""},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Icon",{attrs:{v:e.genderOptionsIcons[t.optionValue]}}),e._v("\n "+e._s(t.option)+"\n ")]}}],null,!0),model:{value:e.gender,callback:function(t){e.gender=t},expression:"gender"}})]}}],null,!0)}),e._v(" "),n("label",{staticClass:"mt-lg-3"},[n("strong",[n("Icon",{attrs:{v:"map-marker"}}),e._v("\n "+e._s(e.$t("country"))+"\n ")],1)]),e._v(" "),n("div",{staticClass:"row"},[n("div",{class:e.country&&e.getProvinces(e.country)&&e.getProvinces(e.country).length>0?"col-6":"col-12"},[n("FormGroup",{attrs:{error:t.country},scopedSlots:e._u([{key:"default",fn:function(t){return[n("select",{directives:[{name:"model",rawName:"v-model",value:e.country,expression:"country"}],class:t.controlClass,on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,
2(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.country=t.target.multiple?n:n[0]}}},[n("option",{staticClass:"placeholder",attrs:{value:""}}),e._v(" "),e._l(e.countries,(function(t){return n("option",{domProps:{value:t.code}},[e._v(e._s(t.name))])}))],2)]}}],null,!0)})],1),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.country&&e.getProvinces(e.country)&&e.getProvinces(e.country).length>0,expression:"country && getProvinces(country) && getProvinces(country).length > 0"}],staticClass:"col-6"},[n("FormGroup",{attrs:{error:t.region},scopedSlots:e._u([{key:"default",fn:function(t){return[n("select",{directives:[{name:"model",rawName:"v-model",value:e.province,expression:"province"}],class:t.controlClass,on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.province=t.target.multiple?n:n[0]}}},[n("option",{staticClass:"placeholder",attrs:{value:""}},[e._v(e._s(e.$t("province")))]),e._v(" "),e._l(e.getProvinces(e.country),(function(t){return n("option",{domProps:{value:t}},[e._v(e._s(t))])}))],2)]}}],null,!0)})],1)])],1),e._v(" "),n("div",{staticClass:"col-12 col-lg-6"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-lg-6"},[n("label",{staticClass:"mt-lg-3"},[n("strong",[n("Icon",{attrs:{v:"user-circle"}}),e._v("\n "+e._s(e.$t("avatar"))+"\n ")],1)]),e._v(" "),n("FormGroup",{attrs:{error:t.country},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Checkbox",{attrs:{toggle:""},model:{value:e.avatar,callback:function(t){e.avatar=t},expression:"avatar"}},[e._v("\n "+e._s(e.$t("members.search.avatar"))+"\n ")])]}}],null,!0)})],1),e._v(" "),n("div",{staticClass:"col-12 col-lg-6"},[n("label",{staticClass:"mt-lg-3"},[n("strong",[n("Icon",{attrs:{v:"signal-alt"}}),e._v("\n "+e._s(e.$t("members.search.online"))+"\n ")],1)]),e._v(" "),n("FormGroup",{attrs:{error:t.country},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Checkbox",{attrs:{toggle:""},model:{value:e.online,callback:function(t){e.online=t},expression:"online"}},[e._v("\n "+e._s(e.$t("members.search.online.currently"))+"\n ")])]}}],null,!0)})],1)]),e._v(" "),n("label",[n("strong",[n("Icon",{attrs:{v:"fist-raised"}}),e._v("\n "+e._s(e.$t("role.header"))+"\n ")],1)]),e._v(" "),n("FormGroup",{attrs:{error:t.role},scopedSlots:e._u([{key:"default",fn:function(t){return[n("RadioButtonGroup",{attrs:{options:e.roleOptions,classes:"p-2",block:"",eval:"",multiple:""},scopedSlots:e._u([{key:"default",fn:function(t){return[n("RangeIcon",{attrs:{value:t.optionValue,icon1:"pray",icon2:"fist-raised"}}),e._v("\n "+e._s(t.option)+"\n ")]}}],null,!0),model:{value:e.role,callback:function(t){e.role=t},expression:"role"}})]}}],null,!0)}),e._v(" "),n("label",{staticClass:"mt-lg-3"},[n("strong",[n("Icon",{attrs:{v:"birthday-cake"}}),e._v("\n "+e._s(e.$t("age.header"))+"\n ")],1)]),e._v(" "),n("FormGroup",{attrs:{error:t.age},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"px-4"},[n("Range",{attrs:{min:"18",max:"100",margin:"3"},model:{value:e.age,callback:function(t){e.age=t},expression:"age"}})],1)]}}],null,!0)})],1)])]),e._v(" "),n("div",{staticClass:"card-footer d-flex justify-content-between"},[n("a",{staticClass:"btn btn-outline-dark",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.reset.apply(null,arguments)}}},[n("Icon",{attrs:{v:"eraser"}}),e._v(" "),n("span",{staticClass:"d-none d-sm-inline"},[e._v("\n "+e._s(e.$t("members.reset"))+"\n ")])],1),e._v(" "),n("button",{staticClass:"btn btn-primary"},[n("Icon",{attrs:{v:"search"}}),e._v("\n "+e._s(e.$t("members.search"))+"\n ")],1)])])]}}])}),e._v(" "),e.moreCriteria?n("div",{staticClass:"alert alert-danger"},[n("p",{staticClass:"my-4"},[n("Icon",{attrs:{v:"search-plus"}}),e._v("\n "+e._s(e.$t("members.search.moreCriteria"))+"\n ")],1)]):void 0!==e.variables?n("div",[n("InfiniteScroll",{ref:"results",attrs:{columns:"3",columnsTablet:"2",query:e.query,mutation:"",variables:e.variables,emptyMessage:"members.empty",idField:"username"},on:{"items-loaded":e.loaded,error:e.error},scopedSlots:e._u([{key:"default",fn:function(e){return[n("MemberCard",{attrs:{member:e.item}})]}}])}
2)],1):e._e()],1)};Ag._withStripped=!0;var Dg=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{class:{"mt-5":!0,longtime:e.longtime}})};Dg._withStripped=!0;var Pg=__webpack_require__(3124),Mg=__webpack_require__.n(Pg),$g=__webpack_require__(7935),Ng=__webpack_require__.n($g),Rg=function(e,t){for(var n=[],r=0;r<t;r++)n.push(e);return n},Lg=null;var jg=Ca({props:{value:{required:!0},min:{required:!0},max:{required:!0},margin:{default:0},step:{default:1},unit:{default:""},decimals:{default:0},longtime:{type:Boolean}},data:function(){return{}},mounted:function(){var e,t=this,n="timediff"===(e=this.unit)?{to:function(e){return t.$duration(tl.dw.fromObject({hours:parseInt(e)}))}}:e?Ng()({decimals:t.decimals,suffix:" "+t.unit}):Ng()({decimals:t.decimals}),r={};r.min=parseFloat(this.min),this.longtime&&(r["33%"]=[334,12],r["66%"]=[1460,24]),r.max=parseFloat(this.max),Mg().create(this.$el,{range:r,step:parseFloat(this.step),margin:parseFloat(this.margin),start:this.value,connect:!0,format:Ng()({decimals:this.decimals}),tooltips:Rg(n,this.value.length)}).on("update",(function(e){t.$emit("input",e)}))},watch:{value:function(e){var t=this;if(Lg)return clearTimeout(Lg),void(Lg=null);Lg=setTimeout((function(n){t.$el.noUiSlider.set(e)}),100)}}},Dg,[],!1,null,null,null);jg.options.__file="components/widgets/Range.vue";const Fg=jg.exports;var Bg;function qg(e){return qg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qg(e)}function Hg(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return zg(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zg(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function zg(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Ug(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ug(Object(n),!0).forEach((function(t){Gg(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ug(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Gg(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=qg(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=qg(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==qg(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Wg={text:"",avatar:!1,online:!1,gender:[],role:[],country:"",province:"",age:[18,100]},Yg="members-search";const Kg={components:{MasonryGrid:bh,MasonryGridItem:kh,MemberCard:hh,Loading:us,Form:Ra,FormGroup:Za,RadioButtonGroup:Nm,Range:Fg,RangeIcon:Ap,Checkbox:ns,InfiniteScroll:Fv},data:function(){var e,t;return Vg(Vg({},Jo.get(Yg)||Wg),{},{members:null,moreCriteria:!1,genderOptions:{0:this.$t("gender.male"),1:this.$t("gender.female"),2:this.$t("gender.nonBinary")},genderOptionsIcons:{0:"mars",1:"venus",2:"transgender"},roleOptions:{0:this.$t("role.0-1"),3:this.$t("role.2-4"),6:this.$t("role.5-6")},countries:[],query:ma(Bg||(e=['\n mutation SearchMembers($text: String, $avatar: Boolean!, $online: Boolean!, $gender: [Int!]!, $role: [Int!]!, $country: String, $province: String, $age: [Int!]!, $before: DateTime) {\n items: searchMembers(text: $text, avatar: $avatar, online: $online, gender: $gender, role: $role, country: $country, province: $province, age: $age, before: $before) {\n username\n createdAt\n avatar { id links(size: "avatar") }\n active\n admin\n moderator\n statusSub\n statusKeyholder\n currentChastityPeriod { start earliestEnd terminatable permanent }\n description\n cock\n gender\n orientation\n age\n role\n country\n province\n city\n postsCount\n lastRequest\n }\n }\n '],t||(t=e.slice(0)),Bg=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})))),variables:void 0})},mounted:function(){var e=this;this.$cache.get("countries").then((function(t){e.countries=t.data.countries,Jo.has(Yg)&&e.$refs.form.submit()}))},methods:{search:function(e){var t=this;this.members=null,this.moreCriteria=!1;var n={text:this.text,avatar:this.avatar,online:this.online,gender:this.gender,role:this.role,country:this.country||null,province:this.province||null,age:this.age};Jo.set(Yg,n),this.$refs.results&&this.$refs.results.reset(),this.variables=n,this.$nextTick((function(e){t.$refs.results.fetchMore()}))},loaded:function(){this.$refs.form.success("")},error:function(e){var t=this;try{this.$refs.form.validate(e)}catch(n){ba(e.graphQLErrors,(function(n){if("moreCriteria"!==n.category)throw e;t.moreCriteria=!0}))}},reset:function(){var e=this;Jo.remove(Yg),ba(Wg,(function(t,n){e[n]=t}))},getProvinces:function(e){var t,n=Hg(this.countries);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.code===e)return r.provinces}}catch(e){n.e(e)}finally{n.f()}}}};var Qg=Ca(Kg,Ag,[],!1,null,null,null);Qg.options.__file="components/pages/Members.vue";const Jg=Qg.exports;var Zg=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$t("games.header")}}),e._v(" "),n("h2",[n("Icon",{attrs:{v:"gamepad"}}),e._v("\n "+e._s(e.$t("games.header"))+"\n ")],1),e._v(" "),n("Loading",{attrs:{value:e.games,orEmpty:""}},[n("MasonryGrid",{attrs:{columnsTablet:"2"}},[e._l(e.games,(function(t){return t.active?n("MasonryGridItem",{key:t.id},[n("GameCard",{attrs:{game:t}}
2)],1):e._e()})),e._v(" "),n("MasonryGridItem",[n("div",{staticClass:"card shadow"},[n("div",{staticClass:"card-body"},[n("div",{staticClass:"d-flex"},[n("Icon",{attrs:{v:"calendar-star",size:"5",classes:"mx-3"}}),e._v(" "),n("div",{staticClass:"flex-grow-1"},[n("h3",{staticClass:"h4 card-title"},[e._v(e._s(e.$t("locktober.name")))]),e._v(" "),n("p",{domProps:{innerHTML:e._s(e.$t("locktober.description"))}})])],1),e._v(" "),n("ul",e._l(e.years,(function(t){return n("li",[n("router-link",{attrs:{to:{name:"locktober",params:{year:t}}}},[e._v("\n "+e._s(e.$t("locktober.name"))+" "+e._s(t)+"\n ")])],1)})),0)])])])],2)],1)],1)};Zg._withStripped=!0;var Xg=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"card shadow"},[n("div",{staticClass:"card-body"},[n("div",{staticClass:"d-flex"},[n("Icon",{attrs:{v:e.game.icon,size:"5",classes:"mx-3"}}),e._v(" "),n("div",{staticClass:"flex-grow-1"},[n("h3",{staticClass:"h4 card-title"},[e._v(e._s(e.$t("games."+e.game.name+".name")))]),e._v(" "),n("p",[e._v(e._s(e.$t("games."+e.game.name+".description")))])])],1),e._v(" "),e.game.active?[n("router-link",{staticClass:"btn btn-primary btn-block",attrs:{to:{name:"gameStart",params:{game:e.game.name}}}},[n("Icon",{attrs:{v:"play"}}),e._v("\n "+e._s(e.$t("games.play"))+"\n ")],1)]:n("button",{staticClass:"btn btn-primary btn-block disabled"},[n("Icon",{attrs:{v:"user-hard-hat"}}),e._v("\n "+e._s(e.$t("construction"))+"\n ")],1)],2),e._v(" "),e.activeRounds.length?n("div",{staticClass:"card-footer border-top"},[n("ul",{staticClass:"mb-0"},e._l(e.activeRounds,(function(t){return n("li",[n("GameRoundLink",{attrs:{game:e.game,round:t}})],1)})),0)]):e._e(),e._v(" "),e.game.communal?n("div",{staticClass:"card-footer border-top"},[!1===e.communalActiveRounds?n("div",{staticClass:"history-button text-right"},[n("a",{attrs:{href:""},on:{click:function(t){return t.preventDefault(),e.loadCommunalActiveRounds()}}},[n("Icon",{attrs:{v:"play-circle"}}),e._v("\n "+e._s(e.$t("games.showRunning"))+"\n "),n("Icon",{attrs:{v:"angle-down"}})],1)]):e._e(),e._v(" "),n("Accordion",{attrs:{shown:!1!==e.communalActiveRounds}},[n("Loading",{attrs:{value:e.communalActiveRounds}},[n("ul",{staticClass:"mb-0"},e._l(e.communalActiveRounds,(function(t){return n("li",[n("GameRoundLink",{attrs:{game:e.game,round:t}})],1)})),0)])],1)],1):e._e(),e._v(" "),e.archiveRounds.length?n("div",{staticClass:"card-footer border-top"},[e.showHistory?e._e():n("div",{staticClass:"history-button text-right"},[n("a",{attrs:{href:""},on:{click:function(t){t.preventDefault(),e.showHistory=!0}}},[n("Icon",{attrs:{v:"history"}}),e._v("\n "+e._s(e.$t("games.showHistory"))+"\n "),n("Icon",{attrs:{v:"angle-down"}})],1)]),e._v(" "),n("Accordion",{attrs:{shown:e.showHistory}},[n("ul",{staticClass:"mb-0"},e._l(e.archiveRounds,(function(t){return n("li",[n("GameRoundLink",{attrs:{game:e.game,round:t}})],1)})),0)])],1):e._e()])};Xg._withStripped=!0;var ey=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[n("router-link",{attrs:{to:{name:"gamePlay",params:{game:e.game.name,round:e.round.id}}}},[n("RelativeTime",{attrs:{v:e.round.createdAt}})],1),e._v(" "),n("span",{staticClass:"mx-2"},[n("Icon",{attrs:{v:"pray"}}),e._v(" "),n("Avatar",{attrs:{member:e.round.player,size:"1.2rem"}})],1),e._v(" "),n("span",{staticClass:"mx-2"},[n("Icon",{attrs:{v:"fist-raised"}}),e._v(" "),n("Avatar",{attrs:{member:e.round.supervisor,size:"1.2rem"}})],1),e._v(" "),n("span",{staticClass:"mx-2"},[n("GameRoundStatus",{attrs:{round:e.round}})],1),e._v(" "),e.round.voted?n("span",{staticClass:"badge badge-success"},[n("Icon",{attrs:{v:"box-ballot"}}),e._v("\n "+e._s(e.$t("game.voted"))+"\n ")],1):e._e()],1)};ey._withStripped=!0;var ty=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[!0===e.round.result?n("span",{staticClass:"badge badge-success"},[n("Icon",{attrs:{v:"thumbs-up"}}),e._v("\n "+e._s(e.$t("gameRound.result.success"))+"\n ")],1):!1===e.round.result?n("span",{staticClass:"badge badge-danger"},[n("Icon",{attrs:{v:"thumbs-down"}}),e._v("\n "+e._s(e.$t("gameRound.result.failure"))+"\n ")],1):null===e.round.result?n("span",{staticClass:"badge badge-warning"},[n("Icon",{attrs:{v:"spinner"}}),e._v("\n "+e._s(e.$t("gameRound.result.running"))+"\n ")],1):e._e(
2)])};ty._withStripped=!0;var ny=Ca({props:{round:{required:!0}}},ty,[],!1,null,null,null);ny.options.__file="components/fragments/GameRoundStatus.vue";const ry=ny.exports;var oy=function(){var e=this,t=e.$createElement;return(e._self._c||t)("span",{attrs:{title:e.$date(e.v)}},[e._v("\n "+e._s(e.$t("time.ago",{diff:e.$timeDiff(e.now.toSeconds(),e.v)}))+"\n")])};oy._withStripped=!0;var iy=Ca({props:{v:{required:!0}},data:function(){return{now:tl.c9.local()}}},oy,[],!1,null,null,null);iy.options.__file="components/widgets/RelativeTime.vue";const ay=iy.exports;var sy=Ca({components:{Avatar:Xs,GameRoundStatus:ry,RelativeTime:ay},props:{game:{required:!0},round:{required:!0}}},ey,[],!1,null,null,null);sy.options.__file="components/fragments/GameRoundLink.vue";var ly;const cy={components:{Loading:us,Accordion:sv,GameRoundLink:sy.exports},props:{game:{required:!0}},data:function(){return{showHistory:!1,communalActiveRounds:!1}},computed:{activeRounds:function(){return this.game.rounds.filter((function(e){return null===e.result}))},archiveRounds:function(){return this.game.rounds.filter((function(e){return null!==e.result}))}},methods:{loadCommunalActiveRounds:function(){var e,t,n=this;this.communalActiveRounds=void 0,this.$apollo.query({query:ma(ly||(e=['\n query Game($name: String!, $username: String, $userId: String) {\n game(name: $name) {\n rounds: runningRounds {\n id\n createdAt\n player { username avatar { id links(size: "avatar") } }\n supervisor { username avatar { id links(size: "avatar") } }\n result\n voted(username: $username, userId: $userId)\n }\n }\n }\n '],t||(t=e.slice(0)),ly=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})))),variables:{name:this.game.name,username:this.$user?this.$user.username:null,userId:this.$user?this.$user.id:null}}).then((function(e){n.communalActiveRounds=e.data.game.rounds})).catch((function(e){console.error(e)}))}}};var uy=Ca(cy,Xg,[],!1,null,null,null);uy.options.__file="components/fragments/GameCard.vue";var dy,fy;function py(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function hy(e){return function(e){if(Array.isArray(e))return my(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return my(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?my(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function my(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var vy=Ca({components:{MasonryGrid:bh,MasonryGridItem:kh,Loading:us,GameCard:uy.exports},data:function(){var e=new Date,t=e.getMonth()<9?e.getFullYear()-1:e.getFullYear();return{games:void 0,gamesMappedByName:{},years:hy(Array(t-2020+1)).map((function(e,t){return t+2020}))}},mounted:function(){var e=this;this.$apollo.query({query:ma(dy||(dy=py(["\n query {\n games {\n name\n icon\n active\n communal\n }\n }\n "])))}).then((function(t){e.games=t.data.games.map((function(e){return e.rounds=[],e})),e.games.forEach((function(t,n){e.gamesMappedByName[t.name]=n}))})).catch((function(e){console.error(e)})),this.$apollo.query({query:ma(fy||(fy=py(['\n query GameRounds($username: String, $userId: String) {\n gameRounds(username: $username) {\n id\n createdAt\n player { username avatar { id links(size: "avatar") } }\n supervisor { username avatar { id links(size: "avatar") } }\n result\n voted(username: $username, userId: $userId)\n game { name }\n }\n }\n ']))),variables:{username:this.$user?this.$user.username:null,userId:this.$user?this.$user.id:null}}).then((function(t){var n=setInterval((function(){void 0!==e.games&&(clearInterval(n),t.data.gameRounds.forEach((function(t){e.games[e.gamesMappedByName[t.game.name]].rounds.push(t)})))}),100)})).catch((function(e){console.error(e)}))}},Zg,[],!1,null,null,null);vy.options.__file="components/pages/GamesList.vue";const gy=vy.exports;var yy=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("Loading",{attrs:{value:e.game}},[void 0!==e.game?n("div",[n("div",{staticClass:"row"},[n("div",{staticClass:"col col-xl-6 offset-xl-3"},[n("GameHeader",{attrs:{game:e.game}}),e._v(" "),n("div",{staticClass:"alert alert-info my-4"},[n("Icon",{attrs:{v:"info-circle"}}),e._v(" "),n("span",{domProps:{innerHTML:e._s(e.$t("games."+e.game.name+".description"))}}
2)],1),e._v(" "),n("Form",{ref:"form",on:{submit:e.submit},scopedSlots:e._u([{key:"default",fn:function(t){return[n("FormGroup",{directives:[{name:"show",rawName:"v-show",value:Object.keys(e.players).length>1,expression:"Object.keys(players).length > 1"}],attrs:{error:t.errors.durationShort},scopedSlots:e._u([{key:"default",fn:function(t){return[n("ListGroup",{attrs:{options:e.players},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Avatar",{attrs:{member:t.option,size:"2rem"}}),e._v(" "),n("Username",{attrs:{user:t.option}}),e._v(" "),n("Status",{attrs:{user:t.option}})]}}],null,!0),model:{value:e.player,callback:function(t){e.player=t},expression:"player"}})]}}],null,!0)}),e._v(" "),n("FormGroup",{attrs:{error:t.errors.mock},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Checkbox",{attrs:{toggle:""},model:{value:e.mock,callback:function(t){e.mock=t},expression:"mock"}},[n("span",{domProps:{innerHTML:e._s(e.$t("game.mock.description"))}})])]}}],null,!0)}),e._v(" "),n("FormGroup",{attrs:{error:t.errors.description},scopedSlots:e._u([{key:"default",fn:function(t){return[n("label",[e._v(e._s(e.$t("game.description")))]),e._v(" "),n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.description,expression:"description"}],staticClass:"form-control",attrs:{maxlength:"255"},domProps:{value:e.description},on:{input:function(t){t.target.composing||(e.description=t.target.value)}}}),e._v(" "),n("small",{staticClass:"text-muted"},[e._v(e._s(e.$t("game.description.helper")))])]}}],null,!0)}),e._v(" "),e.game.roundsFor.length?n("div",[n("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.copy=!e.copy}}},[n("Icon",{attrs:{v:"copy"}}),e._v("\n "+e._s(e.$t("game.copy"))+"\n "),n("Icon",{attrs:{v:"caret-down"}})],1),e._v(" "),e.copy?n("ul",{staticClass:"list-inline"},e._l(e.game.roundsFor,(function(t){return n("li",{staticClass:"list-inline-item"},[n("a",{staticClass:"badge badge-light border my-1",attrs:{href:"#"},on:{click:function(n){return n.preventDefault(),e.$refs.subform.copyParams(t)}}},[e._v("\n "+e._s(e.$date(t.createdAt))+"\n ")])])})),0):e._e()]):e._e(),e._v(" "),n("hr"),e._v(" "),n(e.ucfirst(e.game.name)+"Form",{ref:"subform",tag:"component",attrs:{players:e.players,player:e.players[e.player],form:t}}),e._v(" "),n("div",{staticClass:"form-group"},[!e.game.requiresJerking||!e.players[e.player].currentChastityPeriod||e.players[e.player].currentChastityPeriod.terminatable||e.mock?n("button",{staticClass:"btn btn-primary btn-block"},[n("Icon",{attrs:{v:"play"}}),e._v("\n "+e._s(e.$t("games.play"))+"\n ")],1):n("div",{staticClass:"alert alert-danger"},[n("Icon",{attrs:{v:"exclamation-circle"}}),e._v("\n "+e._s(e.$t("games.error.locked"))+"\n ")],1)])]}}],null,!1,3771018535)})],1)])]):e._e()])],1)};yy._withStripped=!0;var by,_y=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("h2",[n("span",[n("VueHeadful",{attrs:{title:e.$t("games.header")+" » "+e.$t("games."+e.game.name+".name")}}),e._v(" "),n("router-link",{attrs:{to:{name:"gamesList"}}},[n("Icon",{attrs:{v:"gamepad"}}),e._v("\n "+e._s(e.$t("games.header"))+"\n ")],1),e._v("\n »\n "),n("Icon",{attrs:{v:e.game.icon}}),e._v("\n "+e._s(e.$t("games."+e.game.name+".name"))+"\n ")],1),e._v(" "),e.player?n("small",[e._v("\n â "+e._s(e.$t("game.player"))+"\n "),n("router-link",{attrs:{to:{name:"memberProfile",params:{username:e.player.username}}}},[n("Avatar",{attrs:{member:e.player,size:"2rem"}}),e._v(" "),n("Username",{attrs:{user:e.player}})],1)],1):e._e(),e._v(" "),e.supervisor&&e.player.username!==e.supervisor.username?n("small",[e._v("\n â "+e._s(e.$t("game.supervisor"))+"\n "),n("router-link",{attrs:{to:{name:"memberProfile",params:{username:e.supervisor.username}}}},[n("Avatar",{attrs:{member:e.supervisor,size:"2rem"}}),e._v(" "),n("Username",{attrs:{user:e.supervisor}}
vendor: 4,771 bytes, line 2
2)],1)],1):e._e(),e._v(" "),e.round&&e.round.mock?n("small",{staticClass:"badge badge-warning"},[e._v("\n "+e._s(e.$t("game.mock"))+"\n ")]):e._e(),e._v(" "),e.round&&null===e.round.result&&e.$user&&(e.player&&e.player.username===e.$user.username||e.supervisor&&e.supervisor.username===e.$user.username)?n("small",[n("button",{staticClass:"btn btn-outline-warning btn-sm",on:{click:e.cancel}},[n("Icon",{attrs:{v:"power-off"}}),e._v("\n "+e._s(e.$t("game.cancel"))+"\n ")],1)]):e._e(),e._v(" "),e.round?n("AdminerLink",{attrs:{table:"game_round",value:e.round.id}}):e._e()],1)};function wy(e){return wy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wy(e)}function ky(){ky=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,a=Object.create(i.prototype),s=new A(r||[]);return o(a,"_invoke",{value:E(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var f="suspendedStart",p="suspendedYield",h="executing",m="completed",v={};function g(){}function y(){}function b(){}var _={};c(_,a,(function(){return this}));var w=Object.getPrototypeOf,k=w&&w(w(D([])));k&&k!==n&&r.call(k,a)&&(_=k);var x=b.prototype=g.prototype=Object.create(_);function C(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(o,i,a,s){var l=d(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==wy(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function E(t,n,r){var o=f;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=T(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===f)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?m:p,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=m,r.method="throw",r.arg=c.arg)}}}function T(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,T(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function D(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(wy(t)+" is not iterable")}return y.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},C(S.prototype),c(S.prototype,s,(function(){return this})),t.AsyncIterator=S,t.async=function(e,n,r,o,i){void 0===i&&(i=Prom
2ise);var a=new S(u(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},C(x),c(x,l,"Generator"),c(x,a,(function(){return this})),c(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=D,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),I(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;I(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:D(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function xy(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}_y._withStripped=!0;const Cy={components:{Avatar:Xs,Username:Zl,AdminerLink:Gp},props:{game:{required:!0},player:{},supervisor:{},round:{}},methods:{cancel:function(){var e,t=this;return(e=ky().mark((function e(){return ky().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$confirm(t.$t("game.cancel.confirm"));case 2:return e.next=4,t.$apollo.mutate({mutation:ma(by||(n=["\n mutation CancelGame($id: String!) {\n cancelGame(id: $id)\n }\n "],r=void 0,r||(r=n.slice(0)),by=Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(r)}})))),variables:{id:t.round.id}});case 4:t.$router.push({name:"memberGames",params:{username:t.player.username}});case 5:case"end":return e.stop()}var n,r}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){xy(i,r,o,a,s,"next",e)}function s(e){xy(i,r,o,a,s,"throw",e)}a(void 0)}))})()}}};var Sy=Ca(Cy,_y,[],!1,null,null,null);Sy.options.__file="components/fragments/GameHeader.vue";const Ey=Sy.exports;var Ty=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"list-group"},e._l(e.options,(function(t,r){return n("a",{class:{"list-group-item list-group-item-action":!0,active:e.getValue(r)===e.value},attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.$emit("input",e.getValue(r))}}},[e._t("default",(function(){return[e._v("\n "+e._s(t)+"\n ")]}),{option:t,optionValue:r})],2)})),0)};Ty._withStripped=!0;var Oy=Ca(__webpack_require__(8471).A,Ty,[],!1,null,null,null);Oy.options.__file="components/widgets/ListGroup.vue";const Iy=Oy.exports;var Ay=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("FormGroup",{attrs:{error:e.form.errors.durationShort},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Checkbox",{attrs:{toggle:""},model:{value:e.durationShort,callback:function(t){e.durationShort=t},expression:"durationShort"}},[n("span",{domProps:{innerHTML:e._s(e.$t("game.time.duration.short"))}})])]}}])}),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.durationShort,expression:"durationShort"}],staticClass:"border mt-2 mb-4 p-4"},[n("label",[e._v(e._s(e.$t("game.time.duration")))]),e._v(" "),n("FormGroup",{attrs:{error:e.form.errors.shortRange},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Range",{attrs:{min:"0.5",max:"12",step:"0.5",decimals:"1",margin:"1",unit:e.$t("units.minutes")},model:{value:e.shortRange,callback:function(t){e.shortRange=t},expression:"shortRange"}})]}}])}),e._v(" "),n("label",[e._v(e._s(e.$t("game.time.duration.short.punishment")))]),e._v(" "),n("FormGroup",{attrs:{error:e.form.errors.shortPunishment},scopedSlots:e._u([{key:"default",fn:function(t){return[n("RangeButtons",{attrs:{min:"24",max:"168"},model:{value:e.shortPunishment,callback:function(t){e.shortPunishment=t},expression:"shortPunishment"}})]}}])})],1),e._v(" "),n("FormGroup",{attrs:{error:e.form.errors.durationLong},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Checkbox",{attrs:{toggle:""},model:{value:e.durationLong,callback:function(t){e.durationLong=t},expression:"durationLong"}},[n("span",{domProps:{innerHTML:e._s(e.$t("game.time.duration.long"))}})])]}}])}),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.durationLong,expression:"durationLong"}],staticClass:"border mt-2 mb-4 p-4"},[n("label",[e._v(e._s(e.$t("game.time.duration")))]),e._v(" "),n("FormGroup",{attrs:{error:e.form.errors.longRange},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Range",{attrs:{min:"30",max:"90",margin:"5",unit:e.$t("units.minutes")},model:{value:e.longRange,callback:function(t){e.longRange=t},expression:"longRange"}})]}}])}),e._v(" "),n("label",[e._v(e._s(e.$t("game.time.duration.long.punishment")))]),e._v(" "),n("FormGroup",{attrs:{error:e.form.errors.longPunishment},scopedSlots:e._u([{key:"default",fn:function(t){return[n("RangeButtons",{attrs:{min:"24",max:"168"},model:{value:e.longPunishment,callback:function(t){e.longPunishment=t},expression:"longPunishment"}})]}}])})],1)],1)};Ay._withStripped=!0;var Dy=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"input-group btn-block my-4"},[n("div",{staticClass:"input-group-prepend"},[e.long?n("button",{staticClass:"btn btn-outline-primary",attrs:{type:"button",disabled:!e.inRange(-732)},on:{click:function(t){return e.modify(-732)}}}
2,[e._v("-1"+e._s(e.$t("timeunit.month")))]):e._e(),e._v(" "),e.long?n("button",{staticClass:"btn btn-outline-primary",attrs:{type:"button",disabled:!e.inRange(-168)},on:{click:function(t){return e.modify(-168)}}},[e._v("-1"+e._s(e.$t("timeunit.week")))]):e._e(),e._v(" "),n("button",{staticClass:"btn btn-outline-primary",attrs:{type:"button",disabled:!e.inRange(-24)},on:{click:function(t){return e.modify(-24)}}},[e._v("-1"+e._s(e.$t("timeunit.day")))]),e._v(" "),n("button",{staticClass:"btn btn-outline-primary",attrs:{type:"button",disabled:!e.inRange(-1)},on:{click:function(t){return e.modify(-1)}}},[e._v("-1"+e._s(e.$t("timeunit.hour")))])]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.duration,expression:"duration"}],staticClass:"form-control",attrs:{readonly:""},domProps:{value:e.duration},on:{input:function(t){t.target.composing||(e.duration=t.target.value)}}}),e._v(" "),n("div",{staticClass:"input-group-append"},[n("button",{staticClass:"btn btn-outline-primary",attrs:{type:"button",disabled:!e.inRange(1)},on:{click:function(t){return e.modify(1)}}},[e._v("+1"+e._s(e.$t("timeunit.hour")))]),e._v(" "),n("button",{staticClass:"btn btn-outline-primary",attrs:{type:"button",disabled:!e.inRange(24)},on:{click:function(t){return e.modify(24)}}},[e._v("+1"+e._s(e.$t("timeunit.day")))]),e._v(" "),e.long?n("button",{staticClass:"btn btn-outline-primary",attrs:{type:"button",disabled:!e.inRange(168)},on:{click:function(t){return e.modify(168)}}},[e._v("+1"+e._s(e.$t("timeunit.week")))]):e._e(),e._v(" "),e.long?n("button",{staticClass:"btn btn-outline-primary",attrs:{type:"button",disabled:!e.inRange(732)},on:{click:function(t){return e.modify(732)}}},[e._v("+1"+e._s(e.$t("timeunit.month")))]):e._e()])])};Dy._withStripped=!0;var Py=Ca({props:{value:{required:!0},min:{required:!0},max:{required:!0},long:{type:Boolean}},computed:{duration:function(){return this.$duration(tl.dw.fromObject({hours:parseInt(this.value)}))}},methods:{modify:function(e){this.$emit("input",Math.max(this.min,Math.min(this.max,parseInt(this.value)+e)))},inRange:function(e){var t=parseInt(this.value)+e;return t>=this.min&&t<=this.max}}},Dy,[],!1,null,"535d5e82",null);Py.options.__file="components/widgets/RangeButtons.vue";const My=Py.exports;var $y=Ca({components:{FormGroup:Za,Checkbox:ns,Range:Fg,RangeButtons:My},props:{form:{required:!0}},data:function(){return{durationShort:!0,durationLong:!1,shortRange:[0,10],shortPunishment:24,longRange:[45,60],longPunishment:48}},watch:{durationShort:function(e){e||(this.durationLong=!0)},durationLong:function(e){e||(this.durationShort=!0)}},methods:{params:function(){return{durationShort:this.durationShort,durationLong:this.durationLong,shortRange:this.shortRange,shortPunishment:this.shortPunishment,longRange:this.longRange,longPunishment:this.longPunishment}},copyParams:function(e){var t=JSON.parse(e.params);for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}}},Ay,[],!1,null,null,null);$y.options.__file="components/pages/Games/TimeForm.vue";const Ny=$y.exports;var Ry=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("FormGroup",{attrs:{error:e.form.errors.random},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Checkbox",{attrs:{toggle:""},model:{value:e.random,callback:function(t){e.random=t},expression:"random"}},[n("span",{domProps:{innerHTML:e._s(e.$t("game.porn.random"))}})])]}}])}),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.random,expression:"random"}],staticClass:"border mt-2 mb-4 p-4"},[n("FormGroup",{attrs:{error:e.form.errors.segmentStraight},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Checkbox",{attrs:{toggle:""},model:{value:e.segmentStraight,callback:function(t){e.segmentStraight=t},expression:"segmentStraight"}},[n("span",{domProps:{innerHTML:e._s(e.$t("game.porn.segment.straight"))}})])]}}])}),e._v(" "),n("FormGroup",{attrs:{error:e.form.errors.segmentGay},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Checkbox",{attrs:{toggle:""},model:{value:e.segmentGay,callback:function(t){e.segmentGay=t},expression:"segmentGay"}},[n("span",{domProps:{innerHTML:e._s(e.$t("game.porn.segment.gay"))}})])]}}])}),e._v(" "),n("hr"),e._v(" "),n("label",[e._v(e._s(e.$t("game.porn.duration")))]),e._v(" "),n("FormGroup",{attrs:{error:e.form.errors.range},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Range",{attrs:{min:"0",max:"90",margin:"3",unit:e.$t("units.minutes")},model:{value:e.range,callback:function(t){e.range=t},expression:"range"}})]}}])}),e._v(" "),n("hr"),e._v(" "),n("FormGroup",{attrs:{error:e.form.errors.reshuffles,helper:e.$t("games.porn.reshufflesInactive")},scopedSlots:e._u([{key:"default",fn:function(t){return[n("label",[e._v(e._s(e.$t("game.porn.reshuffles")))]),e._v(" "),n("Range",{attrs:{min:"0",max:"3"},model:{value:e.reshuffles,callback:function(t){e.reshuffles=t},expression:"reshuffles"}})]}}])})],1),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!e.random,expression:"!random"}],staticClass:"border mt-2 mb-4 p-4"},[n("FormGroup",{attrs:{error:e.videoUrlValid?null:["InvalidVideo",[]]},scopedSlots:e._u([{key:"default",fn:function(t){return[n("input",{directives:[{name:"model",rawName:"v-model",value:e.videoUrl,expression:"videoUrl"}],class:t.controlClass,attrs:{placeholder:"https://www.pornhub.com/view_video.php?viewkey=...",pattern:e.pornhubRegex},domProps:{value:e.videoUrl},on:{input:function(t){t.target.composing||(e.videoUrl=t.target.value)}}})]}}])}),e._v(" "),n("Loading",{attrs:{value:e.video}},[e.videoUrlValid?n("PornCard",{attrs:{video:e.video}}
2):e._e()],1)],1),e._v(" "),n("label",[e._v(e._s(e.$t("game.porn.cumWindow")))]),e._v(" "),n("FormGroup",{attrs:{error:e.form.errors.cumWindow,helper:e.$t("game.porn.cumWindow.help")},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Range",{attrs:{min:"0.25",max:"5",step:"0.25",decimals:"2",unit:e.$t("units.minutes")},model:{value:e.cumWindow,callback:function(t){e.cumWindow=t},expression:"cumWindow"}})]}}])}),e._v(" "),n("label",[e._v(e._s(e.$t("game.porn.punishment")))]),e._v(" "),n("FormGroup",{attrs:{error:e.form.errors.punishment,helper:e.$t("game.porn.punishment.help")},scopedSlots:e._u([{key:"default",fn:function(t){return[n("RangeButtons",{attrs:{min:"24",max:"168"},model:{value:e.punishment,callback:function(t){e.punishment=t},expression:"punishment"}})]}}])})],1)};Ry._withStripped=!0;var Ly=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Card",{attrs:{classes:"mb-4"}},[n("div",{staticClass:"row"},[n("div",{staticClass:"col col-lg-6"},[n("p",{staticClass:"h3"},[e._v("\n "+e._s(e.video.title)+"\n "),n("small",[e._v("\n ("+e._s(e.video.segment)+")\n ")])]),e._v(" "),n("p",e._l(e.video.categories,(function(t){return n("span",{staticClass:"badge badge-primary mr-2"},[e._v("\n "+e._s(t)+"\n ")])})),0)]),e._v(" "),n("div",{staticClass:"col col-lg-6"},[n("iframe",{staticClass:"my-4",attrs:{src:"https://www.pornhub.com/embed/"+e.video.id,frameborder:"0",width:"100%",height:"240",scrolling:"no",allowfullscreen:""}})])])])};Ly._withStripped=!0;var jy=Ca({components:{Card:wp},props:{video:{required:!0}}},Ly,[],!1,null,null,null);jy.options.__file="components/pages/Games/PornCard.vue";const Fy=jy.exports;var By;const qy={components:{FormGroup:Za,Checkbox:ns,Range:Fg,RangeButtons:My,Loading:us,PornCard:Fy},props:{form:{required:!0},player:{required:!0}},data:function(){return{random:!0,videoUrl:"",videoUrlValid:!1,video:null,pornhubRegex:"^https://(?:\\w+\\.)?pornhub\\.com/view_video\\.php\\?viewkey=([a-zA-Z0-9]+)$",segmentStraight:void 0===this.player.orientation||null===this.player.orientation||this.player.orientation<=4,segmentGay:void 0===this.player.orientation||null===this.player.orientation||this.player.orientation>=2,range:[3,6],punishment:24,reshuffles:[1],cumWindow:[2]}},watch:{segmentStraight:function(e){e||(this.segmentGay=!0)},segmentGay:function(e){e||(this.segmentStraight=!0)},player:function(e){this.segmentStraight=void 0===e.orientation||null===e.orientation||e.orientation<=4,this.segmentGay=void 0===e.orientation||null===e.orientation||e.orientation>=2},videoUrl:function(e){var t=this;this.videoUrlValid=!1,this.video=void 0;var n,r,o=e.match(new RegExp(this.pornhubRegex));o?this.$apollo.query({query:ma(By||(n=["\n query PornDetails($id: String!) {\n pornDetails(id: $id) {\n id\n title\n segment\n categories\n duration\n }\n }\n "],r||(r=n.slice(0)),By=Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(r)}})))),variables:{id:o[1]}}).then((function(e){t.videoUrlValid=!0,t.video=e.data.pornDetails})).catch((function(e){console.error(e)})):this.video=null}},methods:{params:function(){return{random:this.random,videoId:this.video?this.video.id:null,segmentStraight:this.segmentStraight,segmentGay:this.segmentGay,range:this.range,punishment:this.punishment,reshuffles:this.reshuffles,cumWindow:this.cumWindow}},copyParams:function(e){var t=JSON.parse(e.params);for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n],"videoId"===n&&(this.videoUrl="https://www.pornhub.com/view_video.php?viewkey="+t[n]))}}};var Hy=Ca(qy,Ry,[],!1,null,null,null);Hy.options.__file="components/pages/Games/PornForm.vue";const zy=Hy.exports;var Uy=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("FormGroup",{attrs:{error:e.form.errors.random},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Checkbox",{attrs:{toggle:""},model:{value:e.random,callback:function(t){e.random=t},expression:"random"}},[n("span",{domProps:{innerHTML:e._s(e.$t("game.orders.params.random"))}})])]}}])}),e._v(" "),e.player.username!==e.$user.username?n("FormGroup",{attrs:{error:e.form.errors.selfManage},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Checkbox",{attrs:{toggle:""},model:{value:e.selfManage,callback:function(t){e.selfManage=t},expression:"selfManage"}},[n("span",{domProps:{innerHTML:e._s(e.$t("game.orders.params.selfManage"))}})])]}}],null,!1,4223784876)}
2):e._e(),e._v(" "),n("FormGroup",{attrs:{error:e.form.errors.pointsTarget},scopedSlots:e._u([{key:"default",fn:function(t){return[n("label",[e._v(e._s(e.$t("game.orders.params.pointsTarget")))]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.pointsTarget,expression:"pointsTarget"}],class:t.controlClass,attrs:{type:"number",placeholder:e.$t("game.orders.params.pointsTarget"),required:"",min:"10",max:"1000"},domProps:{value:e.pointsTarget},on:{input:function(t){t.target.composing||(e.pointsTarget=t.target.value)}}})]}}])}),e._v(" "),n("FormGroup",{attrs:{error:e.form.errors.tasks},scopedSlots:e._u([{key:"default",fn:function(t){return[n("label",[e._v(e._s(e.$t("game.orders.params.tasks")))]),e._v(" "),n("table",{staticClass:"table"},[e._l(e.tasks,(function(r,o){return n("tr",{key:r.id},[n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.tasks[o].desc,expression:"tasks[i].desc"}],ref:"task",refInFor:!0,class:t.controlClass,attrs:{required:""},domProps:{value:e.tasks[o].desc},on:{input:function(t){t.target.composing||e.$set(e.tasks[o],"desc",t.target.value)}}})]),e._v(" "),n("td",[n("div",{staticClass:"input-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.tasks[o].points,expression:"tasks[i].points"}],class:t.controlClass,attrs:{type:"number",required:"",min:"1",max:"100"},domProps:{value:e.tasks[o].points},on:{input:function(t){t.target.composing||e.$set(e.tasks[o],"points",t.target.value)}}}),e._v(" "),n("div",{staticClass:"input-group-append"},[n("div",{staticClass:"input-group-text"},[e._v("\n "+e._s(e.$t("game.orders.params.points"))+"\n ")])])])]),e._v(" "),n("td",[e.tasks.length>1?n("button",{staticClass:"btn btn-outline-danger",on:{click:function(t){return t.preventDefault(),e.deleteTask(o)}}},[n("Icon",{attrs:{v:"minus-circle"}})],1):e._e()])])})),e._v(" "),n("tr",[e.tasks.length>0?n("td",{attrs:{colspan:"2"}}
2):e._e(),e._v(" "),n("td",[n("button",{class:{"btn btn-success":!0,"btn-block":0===e.tasks.length},on:{click:function(t){return t.preventDefault(),e.addTask()}}},[n("Icon",{attrs:{v:"plus-circle"}})],1)])])],2)]}}])}),e._v(" "),n("div",{staticClass:"small"},[n("hr"),e._v(" "),n("h3",[e._v(e._s(e.$t("game.orders.preset.header")))]),e._v(" "),["zh","fr","es"].includes(e.$i18n.locale)?n("FormGroup",{attrs:{error:e.form.errors.presetsTranslated},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Checkbox",{attrs:{toggle:""},model:{value:e.presetsTranslated,callback:function(t){e.presetsTranslated=t},expression:"presetsTranslated"}},[n("span",{domProps:{innerHTML:e._s(e.$t("game.orders.preset.translation"))}})])]}}],null,!1,1271508170)}):e._e(),e._v(" "),n("MasonryGrid",{attrs:{columns:"2",columnsTablet:"3"}},[e._l(e.presets,(function(t,r){return n("MasonryGridItem",{key:r},[n("Card",{scopedSlots:e._u([{key:"header",fn:function(){return[n("p",{staticClass:"h6 mb-0"},[e._v("\n "+e._s(e.$t("game.orders.preset."+r))+"\n ")])]},proxy:!0}],null,!0)},[e._v(" "),n("ul",e._l(t,(function(t){return n("li",[e._v("\n "+e._s(t.desc)+"\n ")])})),0),e._v(" "),n("button",{staticClass:"btn btn-success btn-block btn-sm",on:{click:function(t){return t.preventDefault(),e.addPreset(r)}}},[n("Icon",{attrs:{v:"plus-circle"}}),e._v("\n "+e._s(e.$t("game.orders.preset.apply"))+"\n ")],1)])],1)})),e._v(" "),n("MasonryGridItem",[n("Card",[n("button",{staticClass:"btn btn-danger btn-block btn-sm",on:{click:function(t){t.preventDefault(),e.tasks=[]}}},[n("Icon",{attrs:{v:"trash"}}),e._v("\n "+e._s(e.$t("game.orders.clear"))+"\n ")],1)])],1)],2)],1)],1)};function Vy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Gy(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Gy(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Gy(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}Uy._withStripped=!0;const Wy={components:{FormGroup:Za,Checkbox:ns,Range:Fg,MasonryGrid:bh,MasonryGridItem:kh,Card:wp},props:{form:{required:!0},player:{required:!0}},data:function(){return{random:!1,selfManage:!1,pointsTarget:100,tasks:[],presetsTranslated:!1,presets:{}}},mounted:function(){this.presets=this.loadPresets()},watch:{presetsTranslated:function(){this.presets=this.loadPresets()}},methods:{deleteTask:function(e){this.tasks.length>1&&this.tasks.splice(e,1)},addTask:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;this.tasks.push({id:es(6),desc:t,points:n}),this.$nextTick((function(t){e.$refs.task[e.$refs.task.length-1].focus()}))},addPreset:function(e){var t=this;this.presets[e].forEach((function(e){t.addTask(e.desc,e.points)}))},params:function(){return{random:this.random,selfManage:this.selfManage,pointsTarget:this.pointsTarget,tasks:this.tasks}},copyParams:function(e){var t=JSON.parse(e.params);for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])},loadPresets:function(){var e=this.$i18n.locale;this.presetsTranslated||(this.$i18n.locale="en");for(var t={},n=0,r=["selfTraining","cbt","withPartner","withPartnerGay","withPartnerStraight","slutty","sluttyGay","weightLoss","project"];n<r.length;n++){var o=r[n];t[o]=this.$t("game.orders.preset.".concat(o,".values")).split("|").map((function(e){var t=Vy(e.split("$"),2),n=t[0],r=t[1];return{desc:n,points:parseInt(r)}}))}return this.$i18n.locale=e,t}}};var Yy=Ca(Wy,Uy,[],!1,null,null,null);Yy.options.__file="components/pages/Games/OrdersForm.vue";const Ky=Yy.exports;var Qy=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("FormGroup",{attrs:{error:e.form.errors.options},scopedSlots:e._u([{key:"default",fn:function(t){return[n("table",{staticClass:"table table-striped"},[n("thead",[n("tr",[n("th",[e._v("\n "+e._s(e.$t("game.wheel.params.options"))+"\n ")]),e._v(" "),n("th")])]),e._v(" "),n("tbody",[e._l(e.options,
2(function(r,o){return n("tr",{key:r.id},[n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.options[o].desc,expression:"options[i].desc"}],ref:"options",refInFor:!0,class:t.controlClass,attrs:{required:""},domProps:{value:e.options[o].desc},on:{input:function(t){t.target.composing||e.$set(e.options[o],"desc",t.target.value)}}}),e._v(" "),n("RangeButtons",{attrs:{min:"0",max:"720"},model:{value:e.options[o].punishment,callback:function(t){e.$set(e.options[o],"punishment",t)},expression:"options[i].punishment"}})],1),e._v(" "),n("td",{staticClass:"text-right"},[e.options.length>3?n("button",{staticClass:"btn btn-outline-danger",on:{click:function(t){return t.preventDefault(),e.deleteOption(o)}}},[n("Icon",{attrs:{v:"minus-circle"}})],1):e._e()])])})),e._v(" "),n("tr",[n("td"),e._v(" "),n("td",{staticClass:"text-right"},[n("button",{staticClass:"btn btn-success",on:{click:function(t){return t.preventDefault(),e.addOption.apply(null,arguments)}}},[n("Icon",{attrs:{v:"plus-circle"}})],1)])])],2)])]}}])})],1)};Qy._withStripped=!0;var Jy=Ca({components:{FormGroup:Za,RangeButtons:My},props:{form:{required:!0}},data:function(){return{options:[{id:es(6),desc:"Full orgasm",punishment:0},{id:es(6),desc:"1h edging, orgasm",punishment:0},{id:es(6),desc:"Ruined orgasm",punishment:0},{id:es(6),desc:"1h edging, ruined orgasm",punishment:0},{id:es(6),desc:"No orgasm today",punishment:0},{id:es(6),desc:"1h edging, no orgasm",punishment:0},{id:es(6),desc:"+1 day",punishment:24},{id:es(6),desc:"30m edging, no orgasm, 1 day locked",punishment:24},{id:es(6),desc:"+3 days",punishment:72},{id:es(6),desc:"1h edging, no orgasm, 3 days locked",punishment:72},{id:es(6),desc:"+7 days",punishment:168},{id:es(6),desc:"2h edging, no orgasm, 7 days locked",punishment:168}]}},methods:{deleteOption:function(e){this.options.length>3&&this.options.splice(e,1)},addOption:function(){var e=this;this.options.push({id:es(6),desc:"",punishment:0}),this.$nextTick((function(t){e.$refs.options[e.$refs.options.length-1].focus()}))},params:function(){return{options:this.options}},copyParams:function(e){var t=JSON.parse(e.params);for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n])}}},Qy,[],!1,null,null,null);Jy.options.__file="components/pages/Games/WheelForm.vue";const Zy=Jy.exports;var Xy=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("FormGroup",{attrs:{error:e.form.errors.tweetUrl},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-lg-4"},[n("label",[e._v(e._s(e.$t("game.twitter.params.tweetUrl"))+":")])]),e._v(" "),n("div",{staticClass:"col-12 col-lg-8"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.tweetUrl,expression:"tweetUrl"}],class:t.controlClass,attrs:{type:"url",required:"",pattern:"https://(mobile\\.)?twitter.com/[^/]+/status/\\d+(\\?.*)?",placeholder:"https://twitter.com/???/status/???"},domProps:{value:e.tweetUrl},on:{input:function(t){t.target.composing||(e.tweetUrl=t.target.value)}}})])])]}}])}),e._v(" "),n("FormGroup",{attrs:{error:e.form.errors.repliesPunishment}},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-lg-4"},[n("label",[n("Icon",{attrs:{v:"comment"}}),e._v(" "+e._s(e.$t("game.twitter.params.repliesPunishment"))+":")],1)]),e._v(" "),n("div",{staticClass:"col-12 col-lg-8"},[n("RangeButtons",{attrs:{min:"0",max:"72"},model:{value:e.repliesPunishment,callback:function(t){e.repliesPunishment=t},expression:"repliesPunishment"}})],1),e._v(" "),n("div",{staticClass:"col-12 small"},[n("Icon",{attrs:{v:"exclamation-triangle"}}),e._v(" "),n("span",{domProps:{innerHTML:e._s(e.$t("game.twitter.params.repliesPunishment.warning"))}})],1)])]),e._v(" "),n("FormGroup",{attrs:{error:e.form.errors.favsPunishment}},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-lg-4"},[n("label",[n("Icon",{attrs:{v:"heart"}}),e._v(" "+e._s(e.$t("game.twitter.params.favsPunishment"))+":")],1)]),e._v(" "),n("div",{staticClass:"col-12 col-lg-8"},[n("RangeButtons",{attrs:{min:"0",max:"72"},model:{value:e.favsPunishment,callback:function(t){e.favsPunishment=t},expression:"favsPunishment"}})],1)])]),e._v(" "),n("FormGroup",{attrs:{error:e.form.errors.retweetsPunishment}},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-lg-4"},[n("label",[n("Icon",{attrs:{v:"retweet"}}),e._v(" "+e._s(e.$t("game.twitter.params.retweetsPunishment"))+":")],1)]),e._v(" "),n("div",{staticClass:"col-12 col-lg-8"},[n("RangeButtons",{attrs:{min:"0",max:"72"},model:{value:e.retweetsPunishment,callback:function(t){e.retweetsPunishment=t},expression:"retweetsPunishment"}})],1)])]),e._v(" "),n("FormGroup",{attrs:{error:e.form.errors.end},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-lg-4"},[n("label",[e._v(e._s(e.$t("game.twitter.params.end"))+":")])]),e._v(" "),n("div",{staticClass:"col-12 col-lg-8"},[n("DateTimePicker",{attrs:{withTime:"",minDate:e.endMin,maxDate:e.endMax},model:{value:e.end,callback:function(t){e.end=t},expression:"end"}})],1)])]}}])})],1)};Xy._withStripped=!0;var eb=function(){var e=this,t=e.$createElement;return(e._self._c||t)("input",{class:["flatpickr-input",{"d-none":!e.shown}]})};eb._withStripped=!0;const tb=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],nb={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:"object"==typeof window&&-1===window.navigator.userAgent.indexOf("MSIE"),ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:e=>"undefined"!=typeof console&&console.warn(e),getWeek:e=>{const t=new Date(e.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var n=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-n.getTime())/864e5-3+(n.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewB
2ox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},rb={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:e=>{const t=e%100;if(t>3&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},ob=rb,ib=(e,t=2)=>`000${e}`.slice(-1*t),ab=e=>!0===e?1:0;function sb(e,t){let n;return function(){clearTimeout(n),n=setTimeout((()=>e.apply(this,arguments)),t)}}const lb=e=>e instanceof Array?e:[e];function cb(e,t,n){if(!0===n)return e.classList.add(t);e.classList.remove(t)}function ub(e,t,n){const r=window.document.createElement(e);return t=t||"",n=n||"",r.className=t,void 0!==n&&(r.textContent=n),r}function db(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function fb(e,t){return t(e)?e:e.parentNode?fb(e.parentNode,t):void 0}function pb(e,t){const n=ub("div","numInputWrapper"),r=ub("input","numInput "+e),o=ub("span","arrowUp"),i=ub("span","arrowDown");if(-1===navigator.userAgent.indexOf("MSIE 9.0")?r.type="number":(r.type="text",r.pattern="\\d*"),void 0!==t)for(const e in t)r.setAttribute(e,t[e]);return n.appendChild(r),n.appendChild(o),n.appendChild(i),n}function hb(e){try{if("function"==typeof e.composedPath){return e.composedPath()[0]}return e.target}catch(t){return e.target}}const mb=()=>{},vb=(e,t,n)=>n.months[t?"shorthand":"longhand"][e],gb={D:mb,F:function(e,t,n){e.setMonth(n.months.longhand.indexOf(t))},G:(e,t)=>{e.setHours(parseFloat(t))},H:(e,t)=>{e.setHours(parseFloat(t))},J:(e,t)=>{e.setDate(parseFloat(t))},K:(e,t,n)=>{e.setHours(e.getHours()%12+12*ab(new RegExp(n.amPM[1],"i").test(t)))},M:function(e,t,n){e.setMonth(n.months.shorthand.indexOf(t))},S:(e,t)=>{e.setSeconds(parseFloat(t))},U:(e,t)=>new Date(1e3*parseFloat(t)),W:function(e,t,n){const r=parseInt(t),o=new Date(e.getFullYear(),0,2+7*(r-1),0,0,0,0);return o.setDate(o.getDate()-o.getDay()+n.firstDayOfWeek),o},Y:(e,t)=>{e.setFullYear(parseFloat(t))},Z:(e,t)=>new Date(t),d:(e,t)=>{e.setDate(parseFloat(t))},h:(e,t)=>{e.setHours(parseFloat(t))},i:(e,t)=>{e.setMinutes(parseFloat(t))},j:(e,t)=>{e.setDate(parseFloat(t))},l:mb,m:(e,t)=>{e.setMonth(parseFloat(t)-1)},n:(e,t)=>{e.setMonth(parseFloat(t)-1)},s:(e,t)=>{e.setSeconds(parseFloat(t))},u:(e,t)=>new Date(parseFloat(t)),w:mb,y:(e,t)=>{e.setFullYear(2e3+parseFloat(t))}},yb={D:"(\\w+)",F:"(\\w+)",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"(\\w+)",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"(\\w+)",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},bb={Z:e=>e.toISOString(),D:function(e,t,n){return t.weekdays.shorthand[bb.w(e,t,n)]},F:function(e,t,n){return vb(bb.n(e,t,n)-1,!1,t)},G:function(e,t,n){return ib(bb.h(e,t,n))},H:e=>ib(e.getHours()),J:function(e,t){return void 0!==t.ordinal?e.getDate()+t.ordinal(e.getDate()):e.getDate()},K:(e,t)=>t.amPM[ab(e.getHours()>11)],M:function(e,t){return vb(e.getMonth(),!0,t)},S:e=>ib(e.getSeconds()),U:e=>e.getTime()/1e3,W:function(e,t,n){return n.getWeek(e)},Y:e=>ib(e.getFullYear(),4),d:e=>ib(e.getDate()),h:e=>e.getHours()%12?e.getHours()%12:12,i:e=>ib(e.getMinutes()),j:e=>e.getDate(),l:function(e,t){return t.weekdays.longhand[e.getDay()]},m:e=>ib(e.getMonth()+1),n:e=>e.getMonth()+1,s:e=>e.getSeconds(),u:e=>e.getTime(),w:e=>e.getDay(),y:e=>String(e.getFullYear()).substring(2)},_b=({config:e=nb,l10n:t=rb,isMobile:n=!1})=>(r,o,i)=>{const a=i||t;return void 0===e.formatDate||n?o.split("").map(((t,n,o)=>bb[t]&&"\\"!==o[n-1]?bb[t](r,a,e):"\\"!==t?t:"")).join(""):e.formatDate(r,o,a)},wb=({config:e=nb,l10n:t=rb})=>(n,r,o,i)=>{if(0!==n&&!n)return;const a=i||t;let s;const l=n;if(n instanceof Date)s=new Date(n.getTime());else if("string"!=typeof n&&void 0!==n.toFixed)s=new Date(n);else if("string"==typeof n){const t=r||(e||nb).dateFormat,i=String(n).trim();if("today"===i)s=new Date,o=!0;else if(/Z$/.test(i)||/GMT$/.test(i))s=new Date(n);else if(e&&e.parseDate)s=e.parseDate(n,t);else{s=e&&e.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0);let r,o=[];for(let e=0,i=0,l="";e<t.length;e++){const c=t[e],u="\\"===c,d="\\"===t[e-1]||u;if(yb[c]&&!d){l+=yb[c];const e=new RegExp(l).exec(n);e&&(r=!0)&&o["Y"!==c?"push":"unshift"]({fn:gb[c],val:e[++i]})}else u||(l+=".");o.forEach((({fn:e,val:t})=>s=e(s,t,a)||s))}s=r?s:void 0}}if(s instanceof Date&&!isNaN(s.getTime()))return!0===o&&s.setHours(0,0,0,0),s;e.errorHandler(new Error(`Invalid date provided: ${l}`))};function kb(e,t,n=!0){return!1!==n?new Date(e.getTime()).setHours(0,0,0,0)-new Date(t.getTime()).setHours(0,0,0,0):e.getTime()-t.getTime()}const xb=864e5;function Cb(e){let t=e.defaultHour,n=e.defaultMinute,r=e.defaultSeconds;if(void 0!==e.minDate){const o=e.minDate.getHours(),i=e.minDate.getMinutes(),a=e.minDate.getSeconds();t<o&&(t=o),t===o&&n<i&&(n=i),t===o&&n===i&&r<a&&(r=e.minDate.getSeconds())}if(void 0!==e.maxDate){const o=e.maxDate.getHours(),i=e.maxDate.getMinutes();t=Math.min(t,o),t===o&&(n=Math.min(i,n)),t===o&&n===i&&(r=e.maxDate.getSeconds())}return{hours:t,minutes:n,seconds:r}}__webpack_require__(5990);function Sb(e,t){const n={config:Object.assign(Object.assign({},nb),Tb.defaultConfig),l10n:ob};function r(e){return e.bind(n)}function o(){const e=n.config;!1===e.weekNumbers&&1===e.showMonths||!0!==e.noCalendar&&window.requestAnimationFrame((function(){if(void 0!==n.calendarContainer&&(n.calendarContainer.style.visibility="hidden",n.calendarContainer.style.display="block"),void 0!==n.daysContainer){const t=(n.days.offsetWidth+1)*e.showMonths;n.daysContainer.style.width=t+"px",n.calendarContainer.style.width=t+(void 0!==n.weekWrapper?n.weekWrapper.offsetWidth:0)+"px",n.calendarContainer.style.removeProperty("visibility"),n.calendarContainer.style.removeProperty("display")}}))}function i(e){if(0===n.selectedDates.length){const e=void 0===n.config.minDate||kb(new Date,n.config.minDate)>=0?new Date:new Date(n.config.minDate.getTime()),t=Cb(n.config);e.setHours(t.hours,t.minutes,t.seconds,e.getMilliseconds()),n.selectedDates=[e],n.latestSelectedDateObj=e}void 0!==e&&"blur"!==e.type&&function(e){e.preventDefault();const t="keydown"===e.type,r=hb(e),o=r;void 0!==n.amPM&&r===n.amPM&&(n.amPM.textContent=n.l10n.amPM[ab(n.amPM.textContent===n.l10n.amPM[0])]);const i=parseFloat(o.getAttribute("min")),a=parseFloat(o.getAttribute("max")),s=parseFloat(o.getAttribute("step")),l=parseInt(o.value,10),c=e.delta||(t?38===e.which?1:-1:0);let u=l+s*c;if(void 0!==o.value&&2===o.value.length){const e=o===n.hourElement,t=o===n.minuteElement;u<i?(u=a+u+ab(!e)+(ab(e)&&ab(!n.amPM)),t&&h(void 0,-1,n.hourElement)):u>a&&(u=o===n.hourElement?u-a-ab(!n.amPM):i,t&&h(void 0,1,n.hourElement)),n.amPM&&e&&(1===s?u+l===23:Math.abs(u-l)>s)&&(n.amPM.textContent=n.l10n.amPM[ab(n.amPM.textContent===n.l10n.amPM[0])]),o.value=ib(u)}}(e);const t=n._input.value;a(),J(),n._input.value!==t&&n._debouncedChange()}function a(){if(void 0===n.hourElement||void 0===n.minuteElement)return;
vendor: 16,908 bytes, line 2
2let e=(parseInt(n.hourElement.value.slice(-2),10)||0)%24,t=(parseInt(n.minuteElement.value,10)||0)%60,r=void 0!==n.secondElement?(parseInt(n.secondElement.value,10)||0)%60:0;var o,i;void 0!==n.amPM&&(o=e,i=n.amPM.textContent,e=o%12+12*ab(i===n.l10n.amPM[1]));const a=void 0!==n.config.minTime||n.config.minDate&&n.minDateHasTime&&n.latestSelectedDateObj&&0===kb(n.latestSelectedDateObj,n.config.minDate,!0);if(void 0!==n.config.maxTime||n.config.maxDate&&n.maxDateHasTime&&n.latestSelectedDateObj&&0===kb(n.latestSelectedDateObj,n.config.maxDate,!0)){const o=void 0!==n.config.maxTime?n.config.maxTime:n.config.maxDate;e=Math.min(e,o.getHours()),e===o.getHours()&&(t=Math.min(t,o.getMinutes())),t===o.getMinutes()&&(r=Math.min(r,o.getSeconds()))}if(a){const o=void 0!==n.config.minTime?n.config.minTime:n.config.minDate;e=Math.max(e,o.getHours()),e===o.getHours()&&t<o.getMinutes()&&(t=o.getMinutes()),t===o.getMinutes()&&(r=Math.max(r,o.getSeconds()))}l(e,t,r)}function s(e){const t=e||n.latestSelectedDateObj;t&&l(t.getHours(),t.getMinutes(),t.getSeconds())}function l(e,t,r){void 0!==n.latestSelectedDateObj&&n.latestSelectedDateObj.setHours(e%24,t,r||0,0),n.hourElement&&n.minuteElement&&!n.isMobile&&(n.hourElement.value=ib(n.config.time_24hr?e:(12+e)%12+12*ab(e%12==0)),n.minuteElement.value=ib(t),void 0!==n.amPM&&(n.amPM.textContent=n.l10n.amPM[ab(e>=12)]),void 0!==n.secondElement&&(n.secondElement.value=ib(r)))}function c(e){const t=hb(e),n=parseInt(t.value)+(e.delta||0);(n/1e3>1||"Enter"===e.key&&!/[^\d]/.test(n.toString()))&&I(n)}function u(e,t,r,o){return t instanceof Array?t.forEach((t=>u(e,t,r,o))):e instanceof Array?e.forEach((e=>u(e,t,r,o))):(e.addEventListener(t,r,o),void n._handlers.push({remove:()=>e.removeEventListener(t,r)}))}function d(){G("onChange")}function f(e,t){const r=void 0!==e?n.parseDate(e):n.latestSelectedDateObj||(n.config.minDate&&n.config.minDate>n.now?n.config.minDate:n.config.maxDate&&n.config.maxDate<n.now?n.config.maxDate:n.now),o=n.currentYear,i=n.currentMonth;try{void 0!==r&&(n.currentYear=r.getFullYear(),n.currentMonth=r.getMonth())}catch(e){e.message="Invalid date supplied: "+r,n.config.errorHandler(e)}t&&n.currentYear!==o&&(G("onYearChange"),w()),!t||n.currentYear===o&&n.currentMonth===i||G("onMonthChange"),n.redraw()}function p(e){const t=hb(e);~t.className.indexOf("arrow")&&h(e,t.classList.contains("arrowUp")?1:-1)}function h(e,t,n){const r=e&&hb(e),o=n||r&&r.parentNode&&r.parentNode.firstChild,i=W("increment");i.delta=t,o&&o.dispatchEvent(i)}function m(e,t,r,o){const i=A(t,!0),a=ub("span","flatpickr-day "+e,t.getDate().toString());return a.dateObj=t,a.$i=o,a.setAttribute("aria-label",n.formatDate(t,n.config.ariaDateFormat)),-1===e.indexOf("hidden")&&0===kb(t,n.now)&&(n.todayDateElem=a,a.classList.add("today"),a.setAttribute("aria-current","date")),i?(a.tabIndex=-1,Y(t)&&(a.classList.add("selected"),n.selectedDateElem=a,"range"===n.config.mode&&(cb(a,"startRange",n.selectedDates[0]&&0===kb(t,n.selectedDates[0],!0)),cb(a,"endRange",n.selectedDates[1]&&0===kb(t,n.selectedDates[1],!0)),"nextMonthDay"===e&&a.classList.add("inRange")))):a.classList.add("flatpickr-disabled"),"range"===n.config.mode&&function(e){return!("range"!==n.config.mode||n.selectedDates.length<2)&&(kb(e,n.selectedDates[0])>=0&&kb(e,n.selectedDates[1])<=0)}(t)&&!Y(t)&&a.classList.add("inRange"),n.weekNumbers&&1===n.config.showMonths&&"prevMonthDay"!==e&&r%7==1&&n.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+n.config.getWeek(t)+"</span>"),G("onDayCreate",a),a}function v(e){e.focus(),"range"===n.config.mode&&$(e)}function g(e){const t=e>0?0:n.config.showMonths-1,r=e>0?n.config.showMonths:-1;for(let o=t;o!=r;o+=e){const t=n.daysContainer.children[o],r=e>0?0:t.children.length-1,i=e>0?t.children.length:-1;for(let n=r;n!=i;n+=e){const e=t.children[n];if(-1===e.className.indexOf("hidden")&&A(e.dateObj))return e}}}function y(e,t){const r=D(document.activeElement||document.body),o=void 0!==e?e:r?document.activeElement:void 0!==n.selectedDateElem&&D(n.selectedDateElem)?n.selectedDateElem:void 0!==n.todayDateElem&&D(n.todayDateElem)?n.todayDateElem:g(t>0?1:-1);void 0===o?n._input.focus():r?function(e,t){const r=-1===e.className.indexOf("Month")?e.dateObj.getMonth():n.currentMonth,o=t>0?n.config.showMonths:-1,i=t>0?1:-1;for(let a=r-n.currentMonth;a!=o;a+=i){const o=n.daysContainer.children[a],s=r-n.currentMonth===a?e.$i+t:t<0?o.children.length-1:0,l=o.children.length;for(let n=s;n>=0&&n<l&&n!=(t>0?l:-1);n+=i){const r=o.children[n];if(-1===r.className.indexOf("hidden")&&A(r.dateObj)&&Math.abs(e.$i-n)>=Math.abs(t))return v(r)}}n.changeMonth(i),y(g(i),0)}(o,t):v(o)}function b(e,t){const r=(new Date(e,t,1).getDay()-n.l10n.firstDayOfWeek+7)%7,o=n.utils.getDaysInMonth((t-1+12)%12,e),i=n.utils.getDaysInMonth(t,e),a=window.document.createDocumentFragment(),s=n.config.showMonths>1,l=s?"prevMonthDay hidden":"prevMonthDay",c=s?"nextMonthDay hidden":"nextMonthDay";let u=o+1-r,d=0;for(;u<=o;u++,d++)a.appendChild(m(l,new Date(e,t-1,u),u,d));for(u=1;u<=i;u++,d++)a.appendChild(m("",new Date(e,t,u),u,d));for(let o=i+1;o<=42-r&&(1===n.config.showMonths||d%7!=0);o++,d++)a.appendChild(m(c,new Date(e,t+1,o%i),o,d));const f=ub("div","dayContainer");return f.appendChild(a),f}function _(){if(void 0===n.daysContainer)return;db(n.daysContainer),n.weekNumbers&&db(n.weekNumbers);const e=document.createDocumentFragment();for(let t=0;t<n.config.showMonths;t++){const r=new Date(n.currentYear,n.currentMonth,1);r.setMonth(n.currentMonth+t),e.appendChild(b(r.getFullYear(),r.getMonth()))}n.daysContainer.appendChild(e),n.days=n.daysContainer.firstChild,"range"===n.config.mode&&1===n.selectedDates.length&&$()}function w(){if(n.config.showMonths>1||"dropdown"!==n.config.monthSelectorType)return;const e=function(e){return!(void 0!==n.config.minDate&&n.currentYear===n.config.minDate.getFullYear()&&e<n.config.minDate.getMonth())&&!(void 0!==n.config.maxDate&&n.currentYear===n.config.maxDate.getFullYear()&&e>n.config.maxDate.getMonth())};n.monthsDropdownContainer.tabIndex=-1,n.monthsDropdownContainer.innerHTML="";for(let t=0;t<12;t++){if(!e(t))continue;const r=ub("option","flatpickr-monthDropdown-month");r.value=new Date(n.currentYear,t).getMonth().toString(),r.textContent=vb(t,n.config.shorthandCurrentMonth,n.l10n),r.tabIndex=-1,n.currentMonth===t&&(r.selected=!0),n.monthsDropdownContainer.appendChild(r)}}function k(){const e=ub("div","flatpickr-month"),t=window.document.createDocumentFragment();let r;n.config.showMonths>1||"static"===n.config.monthSelectorType?r=ub("span","cur-month"):(n.monthsDropdownContainer=ub("select","flatpickr-monthDropdown-months"),n.monthsDropdownContainer.setAttribute("aria-label",n.l10n.monthAriaLabel),u(n.monthsDropdownContainer,"change",(e=>{const t=hb(e),r=parseInt(t.value,10);n.changeMonth(r-n.currentMonth),G("onMonthChange")})),w(),r=n.monthsDropdownContainer);const o=pb("cur-year",{tabindex:"-1"}),i=o.getElementsByTagName("input")[0];i.setAttribute("aria-label",n.l10n.yearAriaLabel),n.config.minDate&&i.setAttribute("min",n.config.minDate.getFullYear().toString()),n.config.maxDate&&(i.setAttribute("max",n.config.maxDate.getFullYear().toString()),i.disabled=!!n.config.minDate&&n.config.minDate.getFullYear()===n.config.maxDate.getFullYear());const a=ub("div","flatpickr-current-month");return a.appendChild(r),a.appendChild(o),t.appendChild(a),e.appendChild(t),{container:e,yearElement:i,monthElement:r}}function x(){db(n.monthNav),n.monthNav.appendChild(n.prevMonthNav),n.config.showMonths&&(n.yearElements=[],n.monthElements=[]);for(let e=n.config.showMonths;e--;){const e=k();n.yearElements.push(e.yearElement),n.monthElements.push(e.monthElement),n.monthNav.appendChild(e.container)}n.monthNav.appendChild(n.nextMonthNav)}function C(){n.weekdayContainer?db(n.weekdayContainer):n.weekdayContainer=ub("div","flatpickr-weekdays");for(let e=n.config.showMonths;e--;){const e=ub("div","flatpickr-weekdaycontainer");n.weekdayContainer.appendChild(e)}return S(),n.weekdayContainer}function S(){if(!n.weekdayContainer)return;const e=n.l10n.firstDayOfWeek;let t=[...n.l10n.weekdays.shorthand];e>0&&e<t.length&&(t=[...t.splice(e,t.length),...t.splice(0,e)]);for(let e=n.config.showMonths;e--;)n.weekdayContainer.children[e].innerHTML=`\n <span class='flatpickr-weekday'>\n ${t.join("</span><span class='flatpickr-weekday'>")}\n </span>\n `}function E(e,t=!0){const r=t?e:e-n.currentMonth;r<0&&!0===n._hidePrevMonthArrow||r>0&&!0===n._hideNextMonthArrow||(n.currentMonth+=r,(n.currentMonth<0||n.currentMonth>11)&&(n.currentYear+=n.currentMonth>11?1:-1,n.currentMonth=(n.currentMonth+12)%12,G("onYearChange"),w()),_(),G("onMonthChange"),K())}function T(e){return!(!n.config.appendTo||!n.config.appendTo.contains(e))||n.calendarContainer.contains(e)}function O(e){if(n.isOpen&&!n.config.inline){const t=hb(e),r=T(t),o=t===n.input||t===n.altInput||n.element.contains(t)||e.path&&e.path.indexOf&&(~e.path.indexOf(n.input)||~e.path.indexOf(n.altInput)),a="blur"===e.type?o&&e.relatedTarget&&!T(e.relatedTarget):!o&&!r&&!T(e.relatedTarget),s=!n.config.ignoredFocusElements.some((e=>e.contains(t)));a&&s&&(void 0!==n.timeContainer&&void 0!==n.minuteElement&&void 0!==n.hourElement&&""!==n.input.value&&void 0!==n.input.value&&i(),n.close(),n.config&&"range"===n.config.mode&&1===n.selectedDates.length&&(n.clear(!1),n.redraw()))}}function I(e){if(!e||n.config.minDate&&e<n.config.minDate.getFullYear()||n.config.maxDate&&e>n.config.maxDate.getFullYear())return;const t=e,r=n.currentYear!==t;n.currentYear=t||n.currentYear,n.config.maxDate&&n.currentYear===n.config.maxDate.getFullYear()?n.currentMonth=Math.min(n.config.maxDate.getMonth(),n.currentMonth):n.config.minDate&&n.currentYear===n.config.minDate.getFullYear()&&(n.currentMonth=Math.max(n.config.minDate.getMonth(),n.currentMonth)),r&&(n.redraw(),G("onYearChange"),w())}function A(e,t=!0){var r;const o=n.parseDate(e,void 0,t);if(n.config.minDate&&o&&kb(o,n.config.minDate,void 0!==t?t:!n.minDateHasTime)<0||n.config.maxDate&&o&&kb(o,n.config.maxDate,void 0!==t?t:!n.maxDateHasTime)>0)return!1;if(!n.config.enable&&0===n.config.disable.length)return!0;if(void 0===o)return!1;const i=!!n.config.enable,a=null!==(r=n.config.enable)&&void 0!==r?r:n.config.disable;for(let e,t=0;t<a.length;t++){if(e=a[t],"function"==typeof e&&e(o))return i;if(e instanceof Date&&void 0!==o&&e.getTime()===o.getTime())return i;if("string"==typeof e){const t=n.parseDate(e,void 0,!0);return t&&t.getTime()===o.getTime()?i:!i}if("object"==typeof e&&void 0!==o&&e.from&&e.to&&o.getTime()>=e.from.getTime()&&o.getTime()<=e.to.getTime())return i}return!i}function D(e){return void 0!==n.daysContainer&&(-1===e.className.indexOf("hidden")&&-1===e.className.indexOf("flatpickr-disabled")&&n.daysContainer.contains(e))}function P(e){!(e.target===n._input)||!(n.selectedDates.length>0||n._input.value.length>0)||e.relatedTarget&&T(e.relatedTarget)||n.setDate(n._input.value,!0,e.target===n.altInput?n.config.altFormat:n.config.dateFormat)}function M(t){const r=hb(t),o=n.config.wrap?e.contains(r):r===n._input,s=n.config.allowInput,l=n.isOpen&&(!s||!o),c=n.config.inline&&o&&!s;if(13===t.keyCode&&o){if(s)return n.setDate(n._input.value,!0,r===n.altInput?n.config.altFormat:n.config.dateFormat),r.blur();n.open()}else if(T(r)||l||c){const e=!!n.timeContainer&&n.timeContainer.contains(r);switch(t.keyCode){case 13:e?(t.preventDefault(),i(),q()):H(t);break;case 27:t.preventDefault(),q();break;case 8:case 46:o&&!n.config.allowInput&&(t.preventDefault(),n.clear());break;case 37:case 39:if(e||o)n.hourElement&&n.hourElement.focus();else if(t.preventDefault(),void 0!==n.daysContainer&&(!1===s||document.activeElement&&D(document.activeElement))){const e=39===t.keyCode?1:-1;t.ctrlKey?(t.stopPropagation(),E(e),y(g(1),0)):y(void 0,e)}break;case 38:case 40:t.preventDefault();const a=40===t.keyCode?1:-1;n.daysContainer&&void 0!==r.$i||r===n.input||r===n.altInput?t.ctrlKey?(t.stopPropagation(),I(n.currentYear-a),y(g(1),0)):e||y(void 0,7*a):r===n.currentYearElement?I(n.currentYear-a):n.config.enableTime&&(!e&&n.hourElement&&n.hourElement.focus(),i(t),n._debouncedChange());break;case 9:if(e){const e=[n.hourElement,n.minuteElement,n.secondElement,n.amPM].concat(n.pluginElements).filter((e=>e)),o=e.indexOf(r);if(-1!==o){const r=e[o+(t.shiftKey?-1:1)];t.preventDefault(),(r||n._input).focus()}}else!n.config.noCalendar&&n.daysContainer&&n.daysContainer.contains(r)&&t.shiftKey&&(t.preventDefault(),n._input.focus())}}if(void 0!==n.amPM&&r===n.amPM)switch(t.key){case n.l10n.amPM[0].charAt(0):case n.l10n.amPM[0].charAt(0).toLowerCase():n.amPM.textContent=n.l10n.amPM[0],a(),J();break;case n.l10n.amPM[1].charAt(0):case n.l10n.amPM[1].charAt(0).toLowerCase():n.amPM.textContent=n.l10n.amPM[1],a(),J()}(o||T(r))&&G("onKeyDown",t)}function $(e){if(1!==n.selectedDates.length||e&&(!e.classList.contains("flatpickr-day")||e.classList.contains("flatpickr-disabled")))return;const t=e?e.dateObj.getTime():n.days.firstElementChild.dateObj.getTime(),r=n.parseDate(n.selectedDates[0],void 0,!0).getTime(),o=Math.min(t,n.selectedDates[0].getTime()),i=Math.max(t,n.selectedDates[0].getTime());let a=!1,s=0,l=0;for(let e=o;e<i;e+=xb)A(new Date(e),!0)||(a=a||e>o&&e<i,e<r&&(!s||e>s)?s=e:e>r&&(!l||e<l)&&(l=e));for(let o=0;o<n.config.showMonths;o++){const i=n.daysContainer.children[o];for(let o=0,f=i.children.length;o<f;o++){const f=i.children[o],p=f.dateObj.getTime(),h=s>0&&p<s||l>0&&p>l;h?(f.classList.add("notAllowed"),["inRange","startRange","endRange"].forEach((e=>{f.classList.remove(e)}))):a&&!h||(["startRange","inRange","endRange","notAllowed"].forEach((e=>{f.classList.remove(e)})),void 0!==e&&(e.classList.add(t<=n.selectedDates[0].getTime()?"startRange":"endRange"),r<t&&p===r?f.classList.add("startRange"):r>t&&p===r&&f.classList.add("endRange"),p>=s&&(0===l||p<=l)&&(u=r,d=t,(c=p)>Math.min(u,d)&&c<Math.max(u,d))&&f.classList.add("inRange")))}}var c,u,d}function N(){!n.isOpen||n.config.static||n.config.inline||F()}function R(e){return t=>{const r=n.config[`_${e}Date`]=n.parseDate(t,n.config.dateFormat),o=n.config[`_${"min"===e?"max":"min"}Date`];void 0!==r&&(n["min"===e?"minDateHasTime":"maxDateHasTime"]=r.getHours()>0||r.getMinutes()>0||r.getSeconds()>0),n.selectedDates&&(n.selectedDates=n.selectedDates.filter((e=>A(e))),n.selectedDates.length||"min"!==e||s(r),J()),n.daysContainer&&(B(),void 0!==r?n.currentYearElement[e]=r.getFullYear().toString():n.currentYearElement.removeAttribute(e),n.currentYearElement.disabled=!!o&&void 0!==r&&o.getFullYear()===r.getFullYear())}}function L(){return n.config.wrap?e.querySelector("[data-input]"):e}function j(){"object"!=typeof n.config.locale&&void 0===Tb.l10ns[n.config.locale]&&n.config.errorHandler(new Error(`flatpickr: invalid locale ${n.config.locale}`)),n.l10n=Object.assign(Object.assign({},Tb.l10ns.default),"object"==typeof n.config.locale?n.config.locale:"default"!==n.config.locale?Tb.l10ns[n.config.locale]:void 0),yb.K=`(${n.l10n.amPM[0]}|${n.l10n.amPM[1]}|${n.l10n.amPM[0].toLowerCase()}|${n.l10n.amPM[1].toLowerCase()})`;void 0===Object.assign(Object.assign({},t),JSON.parse(JSON.stringify(e.dataset||{}))).time_24hr&&void 0===Tb.defaultConfig.time_24hr&&(n.config.time_24hr=n.l10n.time_24hr),n.formatDate=_b(n),n.parseDate=wb({config:n.config,l10n:n.l10n})}function F(e){if("function"==typeof n.config.position)return void n.config.position(n,e);if(void 0===n.calendarContainer)return;G("onPreCalendarPosition");const t=e||n._positionElement,r=Array.prototype.reduce.call(n.calendarContainer.children,((e,t)=>e+t.offsetHeight),0),o=n.calendarContainer.offsetWidth,i=n.config.position.split(" "),a=i[0],s=i.length>1?i[1]:null,l=t.getBoundingClientRect(),c=window.innerHeight-l.bottom,u="above"===a||"below"!==a&&c<r&&l.top>r,d=window.pageYOffset+l.top+(u?-r-2:t.offsetHeight+2);if(cb(n.calendarContainer,"arrowTop",!u),cb(n.calendarContainer,"arrowBottom",u),n.config.inline)return;let f=window.pageXOffset+l.left,p=!1,h=!1;"center"===s?(f-=(o-l.width)/2,p=!0):"right"===s&&(f-=o-l.width,h=!0),cb(n.calendarContainer,"arrowLeft",!p&&!h),cb(n.calendarContainer,"arrowCenter",p),cb(n.calendarContainer,"arrowRight",h);const m=window.document.body.offsetWidth-(window.pageXOffset+l.right),v=f+o>window.document.body.offsetWidth,g=m+o>window.document.body.offsetWidth;if(cb(n.calendarContainer,"rightMost",v),!n.config.static)if(n.calendarContainer.style.top=`${d}px`,v)if(g){const e=function(){let e=null;for(let t=0;t<document.styleSheets.length;t++){const n=document.styleSheets[t];try{n.cssRules}catch(e){continue}e=n;break}return null!=e?e:function(){const e=document.createElement("style");return document.head.appendChild(e),e.sheet}()}();if(void 0===e)return;const t=window.document.body.offsetWidth,r=Math.max(0,t/2-o/2),i=".flatpickr-calendar.centerMost:before",a=".flatpickr-calendar.centerMost:after",s=e.cssRules.length,c=`{left:${l.left}px;right:auto;}`;
2cb(n.calendarContainer,"rightMost",!1),cb(n.calendarContainer,"centerMost",!0),e.insertRule(`${i},${a}${c}`,s),n.calendarContainer.style.left=`${r}px`,n.calendarContainer.style.right="auto"}else n.calendarContainer.style.left="auto",n.calendarContainer.style.right=`${m}px`;else n.calendarContainer.style.left=`${f}px`,n.calendarContainer.style.right="auto"}function B(){n.config.noCalendar||n.isMobile||(w(),K(),_())}function q(){n._input.focus(),-1!==window.navigator.userAgent.indexOf("MSIE")||void 0!==navigator.msMaxTouchPoints?setTimeout(n.close,0):n.close()}function H(e){e.preventDefault(),e.stopPropagation();const t=fb(hb(e),(e=>e.classList&&e.classList.contains("flatpickr-day")&&!e.classList.contains("flatpickr-disabled")&&!e.classList.contains("notAllowed")));if(void 0===t)return;const r=t,o=n.latestSelectedDateObj=new Date(r.dateObj.getTime()),i=(o.getMonth()<n.currentMonth||o.getMonth()>n.currentMonth+n.config.showMonths-1)&&"range"!==n.config.mode;if(n.selectedDateElem=r,"single"===n.config.mode)n.selectedDates=[o];else if("multiple"===n.config.mode){const e=Y(o);e?n.selectedDates.splice(parseInt(e),1):n.selectedDates.push(o)}else"range"===n.config.mode&&(2===n.selectedDates.length&&n.clear(!1,!1),n.latestSelectedDateObj=o,n.selectedDates.push(o),0!==kb(o,n.selectedDates[0],!0)&&n.selectedDates.sort(((e,t)=>e.getTime()-t.getTime())));if(a(),i){const e=n.currentYear!==o.getFullYear();n.currentYear=o.getFullYear(),n.currentMonth=o.getMonth(),e&&(G("onYearChange"),w()),G("onMonthChange")}if(K(),_(),J(),i||"range"===n.config.mode||1!==n.config.showMonths?void 0!==n.selectedDateElem&&void 0===n.hourElement&&n.selectedDateElem&&n.selectedDateElem.focus():v(r),void 0!==n.hourElement&&void 0!==n.hourElement&&n.hourElement.focus(),n.config.closeOnSelect){const e="single"===n.config.mode&&!n.config.enableTime,t="range"===n.config.mode&&2===n.selectedDates.length&&!n.config.enableTime;(e||t)&&q()}d()}n.parseDate=wb({config:n.config,l10n:n.l10n}),n._handlers=[],n.pluginElements=[],n.loadedPlugins=[],n._bind=u,n._setHoursFromDate=s,n._positionCalendar=F,n.changeMonth=E,n.changeYear=I,n.clear=function(e=!0,t=!0){n.input.value="",void 0!==n.altInput&&(n.altInput.value="");void 0!==n.mobileInput&&(n.mobileInput.value="");n.selectedDates=[],n.latestSelectedDateObj=void 0,!0===t&&(n.currentYear=n._initialDate.getFullYear(),n.currentMonth=n._initialDate.getMonth());if(!0===n.config.enableTime){const{hours:e,minutes:t,seconds:r}=Cb(n.config);l(e,t,r)}n.redraw(),e&&G("onChange")},n.close=function(){n.isOpen=!1,n.isMobile||(void 0!==n.calendarContainer&&n.calendarContainer.classList.remove("open"),void 0!==n._input&&n._input.classList.remove("active"));G("onClose")},n._createElement=ub,n.destroy=function(){void 0!==n.config&&G("onDestroy");for(let e=n._handlers.length;e--;)n._handlers[e].remove();if(n._handlers=[],n.mobileInput)n.mobileInput.parentNode&&n.mobileInput.parentNode.removeChild(n.mobileInput),n.mobileInput=void 0;else if(n.calendarContainer&&n.calendarContainer.parentNode)if(n.config.static&&n.calendarContainer.parentNode){const e=n.calendarContainer.parentNode;if(e.lastChild&&e.removeChild(e.lastChild),e.parentNode){for(;e.firstChild;)e.parentNode.insertBefore(e.firstChild,e);e.parentNode.removeChild(e)}}else n.calendarContainer.parentNode.removeChild(n.calendarContainer);n.altInput&&(n.input.type="text",n.altInput.parentNode&&n.altInput.parentNode.removeChild(n.altInput),delete n.altInput);n.input&&(n.input.type=n.input._type,n.input.classList.remove("flatpickr-input"),n.input.removeAttribute("readonly"));["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach((e=>{try{delete n[e]}catch(e){}}))},n.isEnabled=A,n.jumpToDate=f,n.open=function(e,t=n._positionElement){if(!0===n.isMobile){if(e){e.preventDefault();const t=hb(e);t&&t.blur()}return void 0!==n.mobileInput&&(n.mobileInput.focus(),n.mobileInput.click()),void G("onOpen")}
vendor: 10,979 bytes, line 2
2if(n._input.disabled||n.config.inline)return;const r=n.isOpen;n.isOpen=!0,r||(n.calendarContainer.classList.add("open"),n._input.classList.add("active"),G("onOpen"),F(t));!0===n.config.enableTime&&!0===n.config.noCalendar&&(!1!==n.config.allowInput||void 0!==e&&n.timeContainer.contains(e.relatedTarget)||setTimeout((()=>n.hourElement.select()),50))},n.redraw=B,n.set=function(e,t){if(null!==e&&"object"==typeof e){Object.assign(n.config,e);for(const t in e)void 0!==z[t]&&z[t].forEach((e=>e()))}else n.config[e]=t,void 0!==z[e]?z[e].forEach((e=>e())):tb.indexOf(e)>-1&&(n.config[e]=lb(t));n.redraw(),J(!0)},n.setDate=function(e,t=!1,r=n.config.dateFormat){if(0!==e&&!e||e instanceof Array&&0===e.length)return n.clear(t);U(e,r),n.latestSelectedDateObj=n.selectedDates[n.selectedDates.length-1],n.redraw(),f(void 0,t),s(),0===n.selectedDates.length&&n.clear(!1);J(t),t&&G("onChange")},n.toggle=function(e){if(!0===n.isOpen)return n.close();n.open(e)};const z={locale:[j,S],showMonths:[x,o,C],minDate:[f],maxDate:[f],clickOpens:[()=>{!0===n.config.clickOpens?(u(n._input,"focus",n.open),u(n._input,"click",n.open)):(n._input.removeEventListener("focus",n.open),n._input.removeEventListener("click",n.open))}]};function U(e,t){let r=[];if(e instanceof Array)r=e.map((e=>n.parseDate(e,t)));else if(e instanceof Date||"number"==typeof e)r=[n.parseDate(e,t)];else if("string"==typeof e)switch(n.config.mode){case"single":case"time":r=[n.parseDate(e,t)];break;case"multiple":r=e.split(n.config.conjunction).map((e=>n.parseDate(e,t)));break;case"range":r=e.split(n.l10n.rangeSeparator).map((e=>n.parseDate(e,t)))}else n.config.errorHandler(new Error(`Invalid date supplied: ${JSON.stringify(e)}`));n.selectedDates=n.config.allowInvalidPreload?r:r.filter((e=>e instanceof Date&&A(e,!1))),"range"===n.config.mode&&n.selectedDates.sort(((e,t)=>e.getTime()-t.getTime()))}function V(e){return e.slice().map((e=>"string"==typeof e||"number"==typeof e||e instanceof Date?n.parseDate(e,void 0,!0):e&&"object"==typeof e&&e.from&&e.to?{from:n.parseDate(e.from,void 0),to:n.parseDate(e.to,void 0)}:e)).filter((e=>e))}function G(e,t){if(void 0===n.config)return;const r=n.config[e];if(void 0!==r&&r.length>0)for(let e=0;r[e]&&e<r.length;e++)r[e](n.selectedDates,n.input.value,n,t);"onChange"===e&&(n.input.dispatchEvent(W("change")),n.input.dispatchEvent(W("input")))}function W(e){const t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}function Y(e){for(let t=0;t<n.selectedDates.length;t++)if(0===kb(n.selectedDates[t],e))return""+t;return!1}function K(){n.config.noCalendar||n.isMobile||!n.monthNav||(n.yearElements.forEach(((e,t)=>{const r=new Date(n.currentYear,n.currentMonth,1);r.setMonth(n.currentMonth+t),n.config.showMonths>1||"static"===n.config.monthSelectorType?n.monthElements[t].textContent=vb(r.getMonth(),n.config.shorthandCurrentMonth,n.l10n)+" ":n.monthsDropdownContainer.value=r.getMonth().toString(),e.value=r.getFullYear().toString()})),n._hidePrevMonthArrow=void 0!==n.config.minDate&&(n.currentYear===n.config.minDate.getFullYear()?n.currentMonth<=n.config.minDate.getMonth():n.currentYear<n.config.minDate.getFullYear()),n._hideNextMonthArrow=void 0!==n.config.maxDate&&(n.currentYear===n.config.maxDate.getFullYear()?n.currentMonth+1>n.config.maxDate.getMonth():n.currentYear>n.config.maxDate.getFullYear()))}function Q(e){return n.selectedDates.map((t=>n.formatDate(t,e))).filter(((e,t,r)=>"range"!==n.config.mode||n.config.enableTime||r.indexOf(e)===t)).join("range"!==n.config.mode?n.config.conjunction:n.l10n.rangeSeparator)}function J(e=!0){void 0!==n.mobileInput&&n.mobileFormatStr&&(n.mobileInput.value=void 0!==n.latestSelectedDateObj?n.formatDate(n.latestSelectedDateObj,n.mobileFormatStr):""),n.input.value=Q(n.config.dateFormat),void 0!==n.altInput&&(n.altInput.value=Q(n.config.altFormat)),!1!==e&&G("onValueUpdate")}function Z(e){const t=hb(e),r=n.prevMonthNav.contains(t),o=n.nextMonthNav.contains(t);r||o?E(r?-1:1):n.yearElements.indexOf(t)>=0?t.select():t.classList.contains("arrowUp")?n.changeYear(n.currentYear+1):t.classList.contains("arrowDown")&&n.changeYear(n.currentYear-1)}return function(){n.element=n.input=e,n.isOpen=!1,function(){const o=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],i=Object.assign(Object.assign({},JSON.parse(JSON.stringify(e.dataset||{}))),t),a={};n.config.parseDate=i.parseDate,n.config.formatDate=i.formatDate,Object.defineProperty(n.config,"enable",{get:()=>n.config._enable,set:e=>{n.config._enable=V(e)}}),Object.defineProperty(n.config,"disable",{get:()=>n.config._disable,set:e=>{n.config._disable=V(e)}});const s="time"===i.mode;if(!i.dateFormat&&(i.enableTime||s)){const e=Tb.defaultConfig.dateFormat||nb.dateFormat;a.dateFormat=i.noCalendar||s?"H:i"+(i.enableSeconds?":S":""):e+" H:i"+(i.enableSeconds?":S":"")}if(i.altInput&&(i.enableTime||s)&&!i.altFormat){const e=Tb.defaultConfig.altFormat||nb.altFormat;a.altFormat=i.noCalendar||s?"h:i"+(i.enableSeconds?":S K":" K"):e+` h:i${i.enableSeconds?":S":""} K`}Object.defineProperty(n.config,"minDate",{get:()=>n.config._minDate,set:R("min")}),Object.defineProperty(n.config,"maxDate",{get:()=>n.config._maxDate,set:R("max")});const l=e=>t=>{n.config["min"===e?"_minTime":"_maxTime"]=n.parseDate(t,"H:i:S")};Object.defineProperty(n.config,"minTime",{get:()=>n.config._minTime,set:l("min")}),Object.defineProperty(n.config,"maxTime",{get:()=>n.config._maxTime,set:l("max")}),"time"===i.mode&&(n.config.noCalendar=!0,n.config.enableTime=!0);Object.assign(n.config,a,i);for(let e=0;e<o.length;e++)n.config[o[e]]=!0===n.config[o[e]]||"true"===n.config[o[e]];tb.filter((e=>void 0!==n.config[e])).forEach((e=>{n.config[e]=lb(n.config[e]||[]).map(r)})),n.isMobile=!n.config.disableMobile&&!n.config.inline&&"single"===n.config.mode&&!n.config.disable.length&&!n.config.enable&&!n.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(let e=0;e<n.config.plugins.length;e++){const t=n.config.plugins[e](n)||{};for(const e in t)tb.indexOf(e)>-1?n.config[e]=lb(t[e]).map(r).concat(n.config[e]):void 0===i[e]&&(n.config[e]=t[e])}i.altInputClass||(n.config.altInputClass=L().className+" "+n.config.altInputClass);G("onParseConfig")}(),j(),function(){if(n.input=L(),!n.input)return void n.config.errorHandler(new Error("Invalid input element specified"));n.input._type=n.input.type,n.input.type="text",n.input.classList.add("flatpickr-input"),n._input=n.input,n.config.altInput&&(n.altInput=ub(n.input.nodeName,n.config.altInputClass),n._input=n.altInput,n.altInput.placeholder=n.input.placeholder,n.altInput.disabled=n.input.disabled,n.altInput.required=n.input.required,n.altInput.tabIndex=n.input.tabIndex,n.altInput.type="text",n.input.setAttribute("type","hidden"),!n.config.static&&n.input.parentNode&&n.input.parentNode.insertBefore(n.altInput,n.input.nextSibling));n.config.allowInput||n._input.setAttribute("readonly","readonly");n._positionElement=n.config.positionElement||n._input}(),function(){n.selectedDates=[],n.now=n.parseDate(n.config.now)||new Date;const e=n.config.defaultDate||("INPUT"!==n.input.nodeName&&"TEXTAREA"!==n.input.nodeName||!n.input.placeholder||n.input.value!==n.input.placeholder?n.input.value:null);e&&U(e,n.config.dateFormat);n._initialDate=n.selectedDates.length>0?n.selectedDates[0]:n.config.minDate&&n.config.minDate.getTime()>n.now.getTime()?n.config.minDate:n.config.maxDate&&n.config.maxDate.getTime()<n.now.getTime()?n.config.maxDate:n.now,n.currentYear=n._initialDate.getFullYear(),n.currentMonth=n._initialDate.getMonth(),n.selectedDates.length>0&&(n.latestSelectedDateObj=n.selectedDates[0]);void 0!==n.config.minTime&&(n.config.minTime=n.parseDate(n.config.minTime,"H:i"));void 0!==n.config.maxTime&&(n.config.maxTime=n.parseDate(n.config.maxTime,"H:i"));n.minDateHasTime=!!n.config.minDate&&(n.config.minDate.getHours()>0||n.config.minDate.getMinutes()>0||n.config.minDate.getSeconds()>0),n.maxDateHasTime=!!n.config.maxDate&&(n.config.maxDate.getHours()>0||n.config.maxDate.getMinutes()>0||n.config.maxDate.getSeconds()>0)}(),n.utils={getDaysInMonth:(e=n.currentMonth,t=n.currentYear)=>1===e&&(t%4==0&&t%100!=0||t%400==0)?29:n.l10n.daysInMonth[e]},n.isMobile||function(){const e=window.document.createDocumentFragment();if(n.calendarContainer=ub("div","flatpickr-calendar"),n.calendarContainer.tabIndex=-1,!n.config.noCalendar){if(e.appendChild((n.monthNav=ub("div","flatpickr-months"),n.yearElements=[],n.monthElements=[],n.prevMonthNav=ub("span","flatpickr-prev-month"),n.prevMonthNav.innerHTML=n.config.prevArrow,n.nextMonthNav=ub("span","flatpickr-next-month"),n.nextMonthNav.innerHTML=n.config.nextArrow,x(),Object.defineProperty(n,"_hidePrevMonthArrow",{get:()=>n.__hidePrevMonthArrow,set(e){n.__hidePrevMonthArrow!==e&&(cb(n.prevMonthNav,"flatpickr-disabled",e),n.__hidePrevMonthArrow=e)}}),Object.defineProperty(n,"_hideNextMonthArrow",{get:()=>n.__hideNextMonthArrow,set(e){n.__hideNextMonthArrow!==e&&(cb(n.nextMonthNav,"flatpickr-disabled",e),n.__hideNextMonthArrow=e)}}),n.currentYearElement=n.yearElements[0],K(),n.monthNav)),n.innerContainer=ub("div","flatpickr-innerContainer"),n.config.weekNumbers){const{weekWrapper:e,weekNumbers:t}=function(){n.calendarContainer.classList.add("hasWeeks");const e=ub("div","flatpickr-weekwrapper");e.appendChild(ub("span","flatpickr-weekday",n.l10n.weekAbbreviation));const t=ub("div","flatpickr-weeks");return e.appendChild(t),{weekWrapper:e,weekNumbers:t}}();n.innerContainer.appendChild(e),n.weekNumbers=t,n.weekWrapper=e}n.rContainer=ub("div","flatpickr-rContainer"),n.rContainer.appendChild(C()),n.daysContainer||(n.daysContainer=ub("div","flatpickr-days"),n.daysContainer.tabIndex=-1),_(),n.rContainer.appendChild(n.daysContainer),n.innerContainer.appendChild(n.rContainer),e.appendChild(n.innerContainer)}n.config.enableTime&&e.appendChild(function(){n.calendarContainer.classList.add("hasTime"),n.config.noCalendar&&n.calendarContainer.classList.add("noCalendar");const e=Cb(n.config);n.timeContainer=ub("div","flatpickr-time"),n.timeContainer.tabIndex=-1;const t=ub("span","flatpickr-time-separator",":"),r=pb("flatpickr-hour",{"aria-label":n.l10n.hourAriaLabel});n.hourElement=r.getElementsByTagName("input")[0];const o=pb("flatpickr-minute",{"aria-label":n.l10n.minuteAriaLabel});n.minuteElement=o.getElementsByTagName("input")[0],n.hourElement.tabIndex=n.minuteElement.tabIndex=-1,n.hourElement.value=ib(n.latestSelectedDateObj?n.latestSelectedDateObj.getHours():n.config.time_24hr?e.hours:function(e){switch(e%24){case 0:case 12:return 12;default:return e%12}}(e.hours)),n.minuteElement.value=ib(n.latestSelectedDateObj?n.latestSelectedDateObj.getMinutes():e.minutes),n.hourElement.setAttribute("step",n.config.hourIncrement.toString()),n.minuteElement.setAttribute("step",n.config.minuteIncrement.toString()),n.hourElement.setAttribute("min",
2n.config.time_24hr?"0":"1"),n.hourElement.setAttribute("max",n.config.time_24hr?"23":"12"),n.hourElement.setAttribute("maxlength","2"),n.minuteElement.setAttribute("min","0"),n.minuteElement.setAttribute("max","59"),n.minuteElement.setAttribute("maxlength","2"),n.timeContainer.appendChild(r),n.timeContainer.appendChild(t),n.timeContainer.appendChild(o),n.config.time_24hr&&n.timeContainer.classList.add("time24hr");if(n.config.enableSeconds){n.timeContainer.classList.add("hasSeconds");const t=pb("flatpickr-second");n.secondElement=t.getElementsByTagName("input")[0],n.secondElement.value=ib(n.latestSelectedDateObj?n.latestSelectedDateObj.getSeconds():e.seconds),n.secondElement.setAttribute("step",n.minuteElement.getAttribute("step")),n.secondElement.setAttribute("min","0"),n.secondElement.setAttribute("max","59"),n.secondElement.setAttribute("maxlength","2"),n.timeContainer.appendChild(ub("span","flatpickr-time-separator",":")),n.timeContainer.appendChild(t)}n.config.time_24hr||(n.amPM=ub("span","flatpickr-am-pm",n.l10n.amPM[ab((n.latestSelectedDateObj?n.hourElement.value:n.config.defaultHour)>11)]),n.amPM.title=n.l10n.toggleTitle,n.amPM.tabIndex=-1,n.timeContainer.appendChild(n.amPM));return n.timeContainer}());cb(n.calendarContainer,"rangeMode","range"===n.config.mode),cb(n.calendarContainer,"animate",!0===n.config.animate),cb(n.calendarContainer,"multiMonth",n.config.showMonths>1),n.calendarContainer.appendChild(e);const t=void 0!==n.config.appendTo&&void 0!==n.config.appendTo.nodeType;if((n.config.inline||n.config.static)&&(n.calendarContainer.classList.add(n.config.inline?"inline":"static"),n.config.inline&&(!t&&n.element.parentNode?n.element.parentNode.insertBefore(n.calendarContainer,n._input.nextSibling):void 0!==n.config.appendTo&&n.config.appendTo.appendChild(n.calendarContainer)),n.config.static)){const e=ub("div","flatpickr-wrapper");n.element.parentNode&&n.element.parentNode.insertBefore(e,n.element),e.appendChild(n.element),n.altInput&&e.appendChild(n.altInput),e.appendChild(n.calendarContainer)}n.config.static||n.config.inline||(void 0!==n.config.appendTo?n.config.appendTo:window.document.body).appendChild(n.calendarContainer)}(),function(){n.config.wrap&&["open","close","toggle","clear"].forEach((e=>{Array.prototype.forEach.call(n.element.querySelectorAll(`[data-${e}]`),(t=>u(t,"click",n[e])))}));if(n.isMobile)return void function(){const e=n.config.enableTime?n.config.noCalendar?"time":"datetime-local":"date";n.mobileInput=ub("input",n.input.className+" flatpickr-mobile"),n.mobileInput.tabIndex=1,n.mobileInput.type=e,n.mobileInput.disabled=n.input.disabled,n.mobileInput.required=n.input.required,n.mobileInput.placeholder=n.input.placeholder,n.mobileFormatStr="datetime-local"===e?"Y-m-d\\TH:i:S":"date"===e?"Y-m-d":"H:i:S",n.selectedDates.length>0&&(n.mobileInput.defaultValue=n.mobileInput.value=n.formatDate(n.selectedDates[0],n.mobileFormatStr));n.config.minDate&&(n.mobileInput.min=n.formatDate(n.config.minDate,"Y-m-d"));n.config.maxDate&&(n.mobileInput.max=n.formatDate(n.config.maxDate,"Y-m-d"));n.input.getAttribute("step")&&(n.mobileInput.step=String(n.input.getAttribute("step")));n.input.type="hidden",void 0!==n.altInput&&(n.altInput.type="hidden");try{n.input.parentNode&&n.input.parentNode.insertBefore(n.mobileInput,n.input.nextSibling)}catch(e){}u(n.mobileInput,"change",(e=>{n.setDate(hb(e).value,!1,n.mobileFormatStr),G("onChange"),G("onClose")}))}();const e=sb(N,50);n._debouncedChange=sb(d,300),n.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&u(n.daysContainer,"mouseover",(e=>{"range"===n.config.mode&&$(hb(e))}));u(window.document.body,"keydown",M),n.config.inline||n.config.static||u(window,"resize",e);void 0!==window.ontouchstart?u(window.document,"touchstart",O):u(window.document,"mousedown",O);u(window.document,"focus",O,{capture:!0}),!0===n.config.clickOpens&&(u(n._input,"focus",n.open),u(n._input,"click",n.open));void 0!==n.daysContainer&&(u(n.monthNav,"click",Z),u(n.monthNav,["keyup","increment"],c),u(n.daysContainer,"click",H));if(void 0!==n.timeContainer&&void 0!==n.minuteElement&&void 0!==n.hourElement){const e=e=>hb(e).select();u(n.timeContainer,["increment"],i),u(n.timeContainer,"blur",i,{capture:!0}),u(n.timeContainer,"click",p),u([n.hourElement,n.minuteElement],["focus","click"],e),void 0!==n.secondElement&&u(n.secondElement,"focus",(()=>n.secondElement&&n.secondElement.select())),void 0!==n.amPM&&u(n.amPM,"click",(e=>{i(e),d()}))}n.config.allowInput&&u(n._input,"blur",P)}
2(),(n.selectedDates.length||n.config.noCalendar)&&(n.config.enableTime&&s(n.config.noCalendar?n.latestSelectedDateObj:void 0),J(!1)),o();const a=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!n.isMobile&&a&&F(),G("onReady")}(),n}function Eb(e,t){const n=Array.prototype.slice.call(e).filter((e=>e instanceof HTMLElement)),r=[];for(let e=0;e<n.length;e++){const o=n[e];try{if(null!==o.getAttribute("data-fp-omit"))continue;void 0!==o._flatpickr&&(o._flatpickr.destroy(),o._flatpickr=void 0),o._flatpickr=Sb(o,t||{}),r.push(o._flatpickr)}catch(e){console.error(e)}}return 1===r.length?r[0]:r}"undefined"!=typeof HTMLElement&&"undefined"!=typeof HTMLCollection&&"undefined"!=typeof NodeList&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(e){return Eb(this,e)},HTMLElement.prototype.flatpickr=function(e){return Eb([this],e)});var Tb=function(e,t){return"string"==typeof e?Eb(window.document.querySelectorAll(e),t):e instanceof Node?Eb([e],t):Eb(e,t)};Tb.defaultConfig={},Tb.l10ns={en:Object.assign({},ob),default:Object.assign({},ob)},Tb.localize=e=>{Tb.l10ns.default=Object.assign(Object.assign({},Tb.l10ns.default),e)},Tb.setDefaults=e=>{Tb.defaultConfig=Object.assign(Object.assign({},Tb.defaultConfig),e)},Tb.parseDate=wb({}),Tb.formatDate=_b({}),Tb.compareDates=kb,"undefined"!=typeof jQuery&&void 0!==jQuery.fn&&(jQuery.fn.flatpickr=function(e){return Eb(this,e)}),Date.prototype.fp_incr=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+("string"==typeof e?parseInt(e,10):e))},"undefined"!=typeof window&&(window.flatpickr=Tb);const Ob=Tb;var Ib=Ca({props:{value:{required:!0},shown:{type:Boolean},minDate:{default:null},maxDate:{default:null},withTime:{type:Boolean},range:{type:Boolean}},mounted:function(){var e=this;this.picker=Ob(this.$el,{enableTime:this.withTime,time_24hr:!0,altInput:!0,altFormat:this.withTime?"Y-m-d H:i":"Y-m-d",inline:!0,minuteIncrement:1,minDate:this.minDate?this.minDate.toISO():null,maxDate:this.maxDate?this.maxDate.toISO():null,mode:this.range?"range":"single",onChange:function(){var t=e.picker.input.value;e.withTime&&(t=t.split(" to ").map((function(e){return e.replace(" ","T")+":00"})).join(" to ")),e.$emit("input",e.range?t.split(" to ").map((function(e){return tl.c9.fromISO(e)})):tl.c9.fromISO(t))},locale:{firstDayOfWeek:1},allowInput:!0}),this.value&&this.picker.setDate(this.range?v.map((function(e){return e.toISO()})).join(" to "):this.value.toString())},watch:{value:function(e){this.picker.setDate(this.range?e.map((function(e){return e.toISO()})).join(" to "):e.toISO())}}},eb,[],!1,null,null,null);Ib.options.__file="components/widgets/DateTimePicker.vue";const Ab=Ib.exports;var Db=Ca({components:{FormGroup:Za,RangeButtons:My,DateTimePicker:Ab},props:{form:{required:!0}},data:function(){return{tweetUrl:"",repliesPunishment:1,retweetsPunishment:4,favsPunishment:2,end:tl.c9.local().plus({weeks:1}),endMin:tl.c9.local().plus({days:1}),endMax:tl.c9.local().plus({months:1})}},methods:{params:function(){return{tweetUrl:this.tweetUrl,repliesPunishment:0,retweetsPunishment:parseInt(this.retweetsPunishment,10),favsPunishment:parseInt(this.favsPunishment,10),end:parseInt(this.end.toSeconds())}},copyParams:function(e){var t=JSON.parse(e.params);for(var n in t)t.hasOwnProperty(n)&&"end"!==n&&(this[n]=t[n])}}},Xy,[],!1,null,null,null);Db.options.__file="components/pages/Games/TwitterForm.vue";const Pb=Db.exports;var Mb=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("FormGroup",{attrs:{error:e.form.errors.postUrl},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-lg-4"},[n("label",[e._v(e._s(e.$t("game.bluesky.params.postUrl"))+":")])]),e._v(" "),n("div",{staticClass:"col-12 col-lg-8"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.postUrl,expression:"postUrl"}],class:t.controlClass,attrs:{type:"url",required:"",pattern:"https://bsky.app/profile/.*/post/.*",placeholder:"https://bsky.app/profile/???/post/???"},domProps:{value:e.postUrl},on:{input:function(t){t.target.composing||(e.postUrl=t.target.value)}}})])])]}}])}),e._v(" "),n("FormGroup",{attrs:{error:e.form.errors.repliesPunishment}},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-lg-4"},[n("label",[n("Icon",{attrs:{v:"comment"}}),e._v(" "+e._s(e.$t("game.bluesky.params.repliesPunishment"))+":")],1)]),e._v(" "),n("div",{staticClass:"col-12 col-lg-8"},[n("RangeButtons",{attrs:{min:"0",max:"72"},model:{value:e.repliesPunishment,callback:function(t){e.repliesPunishment=t},expression:"repliesPunishment"}})],1)])]),e._v(" "),n("FormGroup",{attrs:{error:e.form.errors.favsPunishment}},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-lg-4"},[n("label",[n("Icon",{attrs:{v:"heart"}}),e._v(" "+e._s(e.$t("game.bluesky.params.favsPunishment"))+":")],1)]),e._v(" "),n("div",{staticClass:"col-12 col-lg-8"},[n("RangeButtons",{attrs:{min:"0",max:"72"},model:{value:e.favsPunishment,callback:function(t){e.favsPunishment=t},expression:"favsPunishment"}})],1)])]),e._v(" "),n("FormGroup",{attrs:{error:e.form.errors.repostsPunishment}},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-lg-4"},[n("label",[n("Icon",{attrs:{v:"retweet"}}),e._v(" "+e._s(e.$t("game.bluesky.params.repostsPunishment"))+":")],1)]),e._v(" "),n("div",{staticClass:"col-12 col-lg-8"},[n("RangeButtons",{attrs:{min:"0",max:"72"},model:{value:e.repostsPunishment,callback:function(t){e.repostsPunishment=t},expression:"repostsPunishment"}})],1)])]),e._v(" "),n("FormGroup",{attrs:{error:e.form.errors.end},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-lg-4"},[n("label",[e._v(e._s(e.$t("game.bluesky.params.end"))+":")])]),e._v(" "),n("div",{staticClass:"col-12 col-lg-8"},[n("DateTimePicker",{attrs:{withTime:"",minDate:e.endMin,maxDate:e.endMax},model:{value:e.end,callback:function(t){e.end=t},expression:"end"}})],1)])]}}])})],1)};Mb._withStripped=!0;var $b=Ca({components:{FormGroup:Za,RangeButtons:My,DateTimePicker:Ab},props:{form:{required:!0}},data:function(){return{postUrl:"",repliesPunishment:1,repostsPunishment:4,favsPunishment:2,end:tl.c9.local().plus({weeks:1}),endMin:tl.c9.local().plus({days:1}),endMax:tl.c9.local().plus({months:1})}},methods:{params:function(){return{postUrl:this.postUrl,repliesPunishment:parseInt(this.repliesPunishment,10),repostsPunishment:parseInt(this.repostsPunishment,10),favsPunishment:parseInt(this.favsPunishment,10),end:parseInt(this.end.toSeconds())}},copyParams:function(e){var t=JSON.parse(e.params);for(var n in t)t.hasOwnProperty(n)&&"end"!==n&&(this[n]=t[n])}}},Mb,[],!1,null,null,null);$b.options.__file="components/pages/Games/BlueskyForm.vue";const Nb=$b.exports;var Rb=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("FormGroup",{attrs:{error:e.form.errors.range},scopedSlots:e._u([{key:"default",fn:function(t){return[n("label",[e._v(e._s(e.$t("game.mercy.range"))+":")]),e._v(" "),n("Range",{attrs:{min:"-72",max:"168",margin:"1",unit:"timediff"},model:{value:e.range,callback:function(t){e.range=t},expression:"range"}})]}}])}),e._v(" "),n("FormGroup",{attrs:{error:e.form.errors.end},scopedSlots:e._u([{key:"default",fn:function(t){return[n("label",[e._v(e._s(e.$t("game.mercy.end"))+":")]),e._v(" "),n("DateTimePicker",{attrs:{withTime:"",minDate:e.endMin,maxDate:e.endMax},model:{value:e.end,callback:function(t){e.end=t},expression:"end"}})]}}])}),e._v(" "),n("div",{staticClass:"alert alert-info"},[n("p",[n("Icon",{attrs:{v:"info-circle"}}),e._v("\n "+e._s(e.$t("game.mercy.info.negative"))+"\n ")],1),e._v(" "),n("p",{staticClass:"mb-0"},[n("Icon",{attrs:{v:"info-circle"}}),e._v(" "),n("span",{domProps:{innerHTML:e._s(e.$t("game.mercy.info.share"))}}
2)],1)])],1)};Rb._withStripped=!0;var Lb=Ca({components:{FormGroup:Za,Range:Fg,DateTimePicker:Ab},props:{form:{required:!0}},data:function(){return{range:[-24,72],end:tl.c9.local().plus({days:1}),endMin:tl.c9.local().plus({days:1}),endMax:tl.c9.local().plus({months:1})}},methods:{params:function(){return{range:this.range,end:parseInt(this.end.toSeconds())}},copyParams:function(e){var t=JSON.parse(e.params);for(var n in t)t.hasOwnProperty(n)&&"end"!==n&&(this[n]=t[n])}}},Rb,[],!1,null,null,null);Lb.options.__file="components/pages/Games/MercyForm.vue";var jb,Fb;function Bb(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var qb=Ca({components:{Form:Ra,FormGroup:Za,Checkbox:ns,Range:Fg,Loading:us,ProgressBar:zp,GameHeader:Ey,ListGroup:Iy,Avatar:Xs,Username:Zl,Status:tc,TimeForm:Ny,PornForm:zy,OrdersForm:Ky,WheelForm:Zy,TwitterForm:Pb,BlueskyForm:Nb,MercyForm:Lb.exports},data:function(){return{game:void 0,players:this.getPlayers(),player:this.$user.username,mock:!1,description:"",copy:!1}},mounted:function(){var e=this;this.$user?this.$apollo.query({query:ma(jb||(jb=Bb(["\n query Game($name: String!, $username: String!) {\n game(name: $name) {\n name\n icon\n active\n requiresJerking\n roundsFor(username: $username) {\n createdAt\n params\n }\n }\n }\n "]))),variables:{name:this.$route.params.game,username:this.$user.username}}).then((function(t){e.game=t.data.game})).catch((function(e){console.error(e)})):this.$router.replace({name:"login"})},methods:{submit:function(e){var t=this;this.$apollo.mutate({mutation:ma(Fb||(Fb=Bb(["\n mutation StartGame($name: String!, $player: String!, $params: Json!, $mock: Boolean!, $description: String) {\n round: startGame(name: $name, player: $player, params: $params, mock: $mock, description: $description) {\n id\n createdAt\n finishAt\n params\n generated\n result\n mock\n description\n }\n }\n "]))),variables:{name:this.game.name,player:this.player,params:JSON.stringify(this.$refs.subform.params()),mock:this.mock,description:this.description}}).then((function(n){t.$router.push({name:"gamePlay",params:{game:t.game.name,round:n.data.round.id}}),e.success()})).catch((function(t){e.validate(t)})).catch((function(t){e.error()}))},getPlayers:function(){var e={};return e[this.$user.username]=this.$user,this.$user.importantConnections.forEach((function(t){"sub"===t.relationOfCounterpart&&(e[t.counterpart.username]=t.counterpart)})),e}}},yy,[],!1,null,null,null);qb.options.__file="components/pages/GameStart.vue";const Hb=qb.exports;var zb=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("Loading",{attrs:{value:e.round}},[void 0!==e.round?n("div",[n("GameHeader",{attrs:{game:e.round.game,player:e.round?e.round.player:null,supervisor:e.round?e.round.supervisor:null,round:e.round}}),e._v(" "),n("div",{staticClass:"alert alert-info my-4"},[n("Icon",{attrs:{v:"info-circle"}}),e._v(" "),n("span",{domProps:{innerHTML:e._s(e.$t("games."+e.round.game.name+".description"))}})],1),e._v(" "),e.round.description?n("div",{staticClass:"alert alert-info my-4"},[n("p",[n("Icon",{attrs:{v:"info-circle"}}),e._v(" "),n("strong",[e._v(e._s(e.$t("game.description.show"))+":")])],1),e._v(" "),n("Twemoji",e._l(e.round.description.split("\n"),(function(t){return n("p",[e._v(e._s(t))])})),0)],1):e._e(),e._v(" "),!0===e.round.result?n("div",[n("div",{staticClass:"alert alert-success p-4 text-center"},[n("Icon",{attrs:{v:"thumbs-up",size:"4",classes:"pb-4"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("game.result.success"))+"\n ")],1)]):!1===e.round.result?n("div",[n("div",{staticClass:"alert alert-danger p-4 text-center"},[n("Icon",{attrs:{v:"thumbs-down",size:"4",classes:"pb-4"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("game.result.fail"))+"\n ")],1)]):null!==e.round.result||e.self?e._e():n("div",[n("div",{staticClass:"alert alert-info p-4 text-center"},[e._v("\n "+e._s(e.$t("game.result.running"))+"\n ")])]),e._v(" "),n("div",{staticClass:"overlay-container"},[n("Overlay",{attrs:{show:e.updating}}),e._v(" "),n(e.ucfirst(e.round.game.name)+"Play",{tag:"component",attrs:{round:e.round,self:e.self,supervisor:e.supervisor},on:{"update-game":e.update}}
2)],1)],1):e._e()])],1)};zb._withStripped=!0;var Ub=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"row"},[n("div",{staticClass:"col-xl-6 offset-xl-3"},[n("h3",{staticClass:"h1"},[e._v("\n "+e._s(e.$t("game.time.countdown.challenge"))+"\n "+e._s(e.$formatTimeSeconds(e.round.generated.time))+"\n ")]),e._v(" "),e.self&&null===e.round.result?n("div",[e.round.generated.startedAt?n("div",[n("div",{class:"alert alert-"+e.countdownClass+" text-center"},[n("span",{staticClass:"h1"},[e._v(e._s(e.countdown))]),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("game.time.countdown."+e.countdownMsg))+"\n ")]),e._v(" "),n("button",{staticClass:"btn btn-primary btn-lg btn-block py-5",on:{click:function(t){return t.preventDefault(),e.saveResult(!0)}}},[n("Icon",{attrs:{v:"clipboard-check"}}),e._v("\n "+e._s(e.$t("game.time.came"))+"\n ")],1)]):e.self?n("div",[n("button",{staticClass:"btn btn-primary btn-lg btn-block py-5",on:{click:function(t){return t.preventDefault(),e.$emit("update-game",{start:!0})}}},[n("Icon",{attrs:{v:"play"}}),e._v("\n "+e._s(e.$t("games.play"))+"\n ")],1)]):e._e()]):null!==e.round.result?n("div",{staticClass:"h2 mt-2"},[e._v("\n "+e._s(e.$t("game.time.result.duration"))+":\n "+e._s(e.$countdown(e.round.generated.finishedAt,e.round.generated.startedAt))+"\n ")]):e._e(),e._v(" "),n("hr"),e._v(" "),n("div",{staticClass:"alert alert-info mt-3"},[n("p",[n("strong",[n("Icon",{attrs:{v:"info-circle"}}),e._v("\n "+e._s(e.$t("game.params"))+":\n ")],1)]),e._v(" "),e.round.params.durationShort?n("div",[n("Icon",{attrs:{v:"dice"}}),e._v(" "+e._s(e.$t("game.time.params.short"))+":\n "+e._s(e.round.params.shortRange[0])+"m â "+e._s(e.round.params.shortRange[1])+"m\n ("),n("Icon",{attrs:{v:"lock"}}),e._v(" "+e._s(e.duration(e.getPunishment(e.round.params.shortPunishment)))+")\n ")],1):e._e(),e._v(" "),e.round.params.durationLong?n("div",[n("Icon",{attrs:{v:"dice"}}),e._v(" "+e._s(e.$t("game.time.params.long"))+":\n "+e._s(e.round.params.longRange[0])+"m â "+e._s(e.round.params.longRange[1])+"m\n ("),n("Icon",{attrs:{v:"lock"}}),e._v(" "+e._s(e.duration(e.getPunishment(e.round.params.longPunishment)))+")\n ")],1):e._e()])])])};Ub._withStripped=!0;var Vb=__webpack_require__(7570);const Gb=function(e){return(0,Vb.A)(Wb(e))};var Wb=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&void 0!==e[n]&&"notifications"!==n&&(t[n]=e[n]);var r="#TeamLocked";return t.title&&(r=t.title+" » "+r),e.notifications&&(r="(".concat(e.notifications,") ")+r),t.title=r,t};const Yb=__webpack_require__.p+"assets/ticking.3f4186cf.mp3";function Kb(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Qb(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Qb(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qb(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Jb=new Audio(Yb);Jb.loop=!0;var Zb=Ca({components:{Spinner:Da},props:{round:{required:!0},self:{type:Boolean},supervisor:{type:Boolean}},data:function(){return{countdown:null,countdownClass:"",countdownMsg:"",lockedUntil:null}},mounted:function(){var e=this;this.self&&null===this.round.result&&(this.timer=setInterval((function(t){if(e.round&&e.round.finishAt){e.countdown=e.$countdown(e.round.finishAt),"00:00:00"===e.countdown&&e.saveResult(!1);var n=Kb(e.getCountdown(e.round.generated.duration,e.countdown),2);e.countdownClass=n[0],e.countdownMsg=n[1],Gb({title:"[".concat(e.countdown,"] ").concat(e.$t("games.time.name"))});var r=["hurry","cum"].includes(e.countdownMsg);r&&Jb.paused?Jb.play():r||Jb.paused||Jb.pause()}}),300))},beforeDestroy:function(){this.timer&&clearInterval(this.timer),Gb({title:""})},methods:{getCountdown:function(e,t){return"short"===e?"00:00:00"===t?["danger","timeUp"]:t<="00:00:30"?["warning","hurry"]:["success","jerk"]:"00:00:00"===t?["danger","timeUp"]:t<="00:02:00"?["success","cum"]:["warning","edge"]},saveResult:function(e){this.timer&&(clearInterval(this.timer),Jb.pause()),this.$emit("update-game",{success:e,failed:!e})},duration:function(e){return this.$duration(tl.dw.fromObject({hours:parseInt(e)}))},getPunishment:function(e){return Array.isArray(e)?e[0]:e}}},Ub,[],!1,null,null,null);Zb.options.__file="components/pages/Games/TimePlay.vue";const Xb=Zb.exports;var e_=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"row"},[e.round.generated.startedAt?n("div",{staticClass:"col-lg-6"},[n("iframe",{staticClass:"my-4",attrs:{src:"https://www.pornhub.com/embed/"+e.round.generated.video.id,frameborder:"0",width:"100%",height:"480",scrolling:"no",allowfullscreen:""}}
2)]):e._e(),e._v(" "),n("div",{class:["col-lg-6",e.round.generated.startedAt?"":"offset-lg-3"]},[n("h3",[e._v("\n "+e._s(e.round.generated.video.title)+"\n "),n("small",[e._v("\n ("+e._s(e.round.generated.video.segment)+")\n ")])]),e._v(" "),n("p",e._l(e.round.generated.video.categories,(function(t){return n("span",{staticClass:"badge badge-primary mr-2"},[e._v("\n "+e._s(t)+"\n ")])})),0),e._v(" "),!e.isOld&&e.round.generated.startedAt?n("div",{staticClass:"progress d-flex justify-content-between mb-3",staticStyle:{height:"1rem"}},[n("div",{staticClass:"progress-bar",style:"width: "+e.progress[1]+"%",attrs:{role:"progressbar"}},[e._v(e._s(e.$formatTime(parseInt(e.progress[0]),!1)))]),e._v(" "),n("div",{staticClass:"progress-bar bg-warning",style:"width: "+e.progress[3]+"%",attrs:{role:"progressbar"}},[e._v(e._s(e.$formatTime(parseInt(e.progress[2]),!1)))])]):e._e(),e._v(" "),e.self&&null===e.round.result?n("div",[e.round.generated.startedAt?n("div",[n("div",{class:"alert alert-"+e.countdownClass+" text-center"},[n("span",{staticClass:"h1"},[e._v(e._s(e.countdown))]),e._v(" "),n("br"),e._v("\n "+e._s(e.$t("game.porn.countdown."+e.countdownMsg))+"\n ")]),e._v(" "),n("button",{staticClass:"btn btn-primary btn-lg btn-block py-5",on:{click:function(t){return t.preventDefault(),e.saveResult(!0)}}},[n("Icon",{attrs:{v:"clipboard-check"}}),e._v("\n "+e._s(e.$t("game.porn.came"))+"\n ")],1),e._v(" "),e.reshufflesAvailable()>0&&e.reshuffleCountdown>0?n("button",{staticClass:"btn btn-warning btn-block",on:{click:function(t){return t.preventDefault(),e.reshuffle.apply(null,arguments)}}},[n("Icon",{attrs:{v:"random"}}),e._v("\n "+e._s(e.$t("game.porn.reshuffle",{count:e.reshufflesAvailable(),countdown:e.reshuffleCountdown}))+"\n ")],1):e._e()]):e.self?n("div",[n("button",{staticClass:"btn btn-primary btn-lg btn-block py-5",on:{click:function(t){return t.preventDefault(),e.$emit("update-game",{start:!0})}}},[n("Icon",{attrs:{v:"play"}}),e._v("\n "+e._s(e.$t("games.play"))+"\n ")],1)]):n("div",{staticClass:"text-center"},[n("Spinner",{attrs:{size:"3rem"}})],1)]):null!==e.round.result?n("div",{staticClass:"h2 mt-2"},[e._v("\n "+e._s(e.$t("game.porn.result.duration"))+":\n "+e._s(e.$countdown(e.round.generated.finishedAt,e.round.generated.startedAt))+"\n ")]):e._e(),e._v(" "),n("hr"),e._v(" "),e.isOld?n("div",{staticClass:"alert alert-info mt-3"},[n("p",[n("strong",[n("Icon",{attrs:{v:"info-circle"}}),e._v("\n "+e._s(e.$t("game.params"))+":\n ")],1)]),e._v(" "),n("div",[n("Icon",{attrs:{v:"dice"}}),e._v(" "),e.round.params.segmentStraight?n("span",[e._v(e._s(e.$t("game.porn.params.segmentStraight")))]):e._e(),e._v(" "),e.round.params.segmentStraight&&e.round.params.segmentGay?n("span",[e._v(" / ")]):e._e(),e._v(" "),e.round.params.segmentGay?n("span",[e._v(e._s(e.$t("game.porn.params.segmentGay")))]):e._e()],1),e._v(" "),e.round.params.durationShort?n("div",[n("Icon",{attrs:{v:"dice"}}),e._v(" "+e._s(e.$t("game.porn.params.short"))+":\n "+e._s(e.round.params.shortRange[0])+"m â "+e._s(e.round.params.shortRange[1])+"m\n ("),n("Icon",{attrs:{v:"lock"}}),e._v(" "+e._s(e.duration(e.getPunishment(e.round.params.shortPunishment)))+")\n ")],1):e._e(),e._v(" "),e.round.params.durationLong?n("div",[n("Icon",{attrs:{v:"dice"}}),e._v(" "+e._s(e.$t("game.porn.params.long"))+":\n "+e._s(e.round.params.longRange[0])+"m â "+e._s(e.round.params.longRange[1])+"m\n ("),n("Icon",{attrs:{v:"lock"}}),e._v(" "+e._s(e.duration(e.getPunishment(e.round.params.longPunishment)))+")\n ")],1):e._e(),e._v(" "),n("div",[e._v("\n "+e._s(e.$t("game.porn.reshuffles.allowed"))+":\n "+e._s((e.round.params.reshuffles||[0])[0])+"\n ")])]):n("div",{staticClass:"alert alert-info mt-3"},[n("p",[n("strong",[n("Icon",{attrs:{v:"info-circle"}}),e._v("\n "+e._s(e.$t("game.params"))+":\n ")],1)]),e._v(" "),e.round.params.random?n("div",[n("Icon",{attrs:{v:"dice"}}),e._v(" "),n("span",{domProps:{innerHTML:e._s(e.$t("game.porn.random"))}}),e._v(":\n "),e.round.params.segmentStraight?n("span",[e._v(e._s(e.$t("game.porn.params.segmentStraight")))]):e._e(
2),e._v(" "),e.round.params.segmentStraight&&e.round.params.segmentGay?n("span",[e._v(" / ")]):e._e(),e._v(" "),e.round.params.segmentGay?n("span",[e._v(e._s(e.$t("game.porn.params.segmentGay")))]):e._e(),e._v("\n ("+e._s(e.round.params.range[0])+"m â "+e._s(e.round.params.range[1])+"m)\n\n "),n("div",[e._v("\n "+e._s(e.$t("game.porn.reshuffles.allowed"))+":\n "+e._s((e.round.params.reshuffles||[0])[0])+"\n ")])],1):e._e(),e._v(" "),n("div",[n("Icon",{attrs:{v:"alarm-clock"}}),e._v(" "+e._s(e.$t("game.porn.cumWindow"))+": "+e._s(e.round.params.cumWindow[0])+"m\n ")],1),e._v(" "),n("div",[n("Icon",{attrs:{v:"lock"}}),e._v(" "+e._s(e.duration(e.getPunishment(e.round.params.punishment)))+"\n ")],1)]),e._v(" "),e.round.generated.reshuffledAt&&Object.keys(e.round.generated.reshuffledAt).length>0?n("div",[n("hr"),e._v(" "),n("h4",[e._v(e._s(e.$t("game.porn.reshuffles.done"))+":")]),e._v(" "),n("ul",{staticClass:"list-unstyled"},e._l(e.round.generated.reshuffledAt,(function(e,t){return n("li",[n("PornCard",{attrs:{video:e}})],1)})),0)]):e._e()])])])};function t_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return n_(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?n_(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}e_._withStripped=!0;var r_=new Audio(Yb);r_.loop=!0;var o_=Ca({components:{Spinner:Da,PornCard:Fy},props:{round:{required:!0},self:{type:Boolean},supervisor:{type:Boolean}},data:function(){return{countdown:null,countdownClass:"",countdownMsg:"",lockedUntil:null,reshuffleCountdown:0,progress:[0,0,0,0]}},mounted:function(){var e=this;this.progress=this.calcProgress(),this.self&&null===this.round.result&&(this.timer=setInterval((function(t){if(e.round&&e.round.finishAt){e.reshuffleCountdown=parseInt(20-(tl.c9.local().toSeconds()-e.round.generated.startedAt),10),e.countdown=e.$countdown(e.round.finishAt),"00:00:00"===e.countdown&&e.saveResult(!1);var n=t_(e.getCountdown(e.round.generated.duration,e.countdown),2);e.countdownClass=n[0],e.countdownMsg=n[1],Gb({title:"[".concat(e.countdown,"] ").concat(e.$t("games.porn.name"))});var r=["hurry","cum"].includes(e.countdownMsg);r&&r_.paused?r_.play():r||r_.paused||r_.pause(),e.progress=e.calcProgress()}}),300))},beforeDestroy:function(){this.timer&&clearInterval(this.timer),Gb({title:""})},methods:{getCountdown:function(e,t){return"00:00:00"===t?["danger","timeUp"]:this.isOld?"short"===e?t<="00:00:30"?["warning","hurry"]:["success","jerk"]:t<="00:02:00"?["success","cum"]:["warning","edge"]:t<="00:".concat((""+Math.floor(this.round.params.cumWindow)).padStart(2,"0"),":").concat((""+this.round.params.cumWindow%1*60).padStart(2,"0"))?["success","cum"]:["warning","edge"]},saveResult:function(e){this.timer&&(clearInterval(this.timer),r_.pause()),this.$emit("update-game",{success:e,failed:!e})},duration:function(e){return this.$duration(tl.dw.fromObject({hours:parseInt(e)}))},reshufflesAvailable:function(){return(this.round.params.reshuffles||[0])[0]-Object.keys(this.round.generated.reshuffledAt||{}).length},reshuffle:function(){this.$emit("update-game",{reshuffle:!0})},getPunishment:function(e){return Array.isArray(e)?e[0]:e},calcProgress:function(){if(!this.round.generated.startedAt||this.isOld)return[0,0,0,0];var e=this.round.generated.video.duration,t=(null===this.round.result?tl.c9.local().toSeconds():this.round.generated.finishedAt)-this.round.generated.startedAt,n=e-60*this.round.params.cumWindow[0];if(t>e)return[e,100,0,0];if(t>n){var r=Math.round(100*t/e);return[t,r,e-t,100-r]}return[t,Math.round(100*t/e),e-n,Math.round(100*(e-n)/e)]}},computed:{isOld:function(){return void 0!==this.round.generated.duration}}},e_,[],!1,null,null,null);o_.options.__file="components/pages/Games/PornPlay.vue";const i_=o_.exports;var a_=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-6"},[n("h3",{staticClass:"h1"},[e._v("\n "+e._s(e.$t("game.orders.counter.points"))+"\n "+e._s(e.round.generated.points)+"/"+e._s(e.round.params.pointsTarget)+"\n ")]),e._v(" "),n("h4",[e._v("\n "+e._s(e.$t("game.orders.tasks.done"))+"\n ")]),e._v(" "),n("div",{staticClass:"my-4"},[n("ProgressBar",{attrs:{value:e.round.generated.points,domain:e.round.params.pointsTarget}})],1),e._v(" "),(e.self||e.supervisor)&&null===e.round.result&&e.round.generated.points>=e.round.params.pointsTarget?n("div",{staticClass:"alert alert-success my-4 d-flex"},[n("div",{staticClass:"flex-grow-1 my-2"},[e._v("\n "+e._s(e.$t("game.result.success"))+"\n ")]),e._v(" "),n("button",{staticClass:"btn btn-outline-success",on:{click:e.finish}},[e._v("\n "+e._s(e.$t("game.orders.result.finish"))+"\n ")])]):e._e(
2),e._v(" "),n("table",{staticClass:"table"},[e._l(e.reverse(e.round.generated.done),(function(t,r){return n("tr",[n("td",[e._v("\n "+e._s(e.round.params.tasks[t.task].desc)+"\n ")]),e._v(" "),n("td",{staticClass:"text-nowrap"},[e._v("\n "+e._s(e.round.params.tasks[t.task].points)+"\n "+e._s(e.$t("game.orders.params.points"))+"\n ")]),e._v(" "),n("td",[n("Icon",{attrs:{v:"check"}}),e._v("\n "+e._s(e.$date(t.time))+"\n ")],1),e._v(" "),e.supervisor||e.self&&e.round.params.selfManage?n("td",[n("button",{staticClass:"btn btn-sm btn-outline-danger",on:{click:function(t){return e.undo(e.round.generated.done.length-r-1)}}},[n("Icon",{attrs:{v:"times"}})],1)]):e._e()])})),e._v(" "),0===e.round.generated.done.length?n("tr",[n("td",[e._v("\n "+e._s(e.$t("game.orders.done.empty"))+"\n ")])]):e._e()],2)]),e._v(" "),n("div",{staticClass:"col-lg-6"},[n("p",{staticClass:"alert alert-info"},[n("Icon",{attrs:{v:"info-circle"}}),e._v("\n "+e._s(e.$t(e.round.params.random?"game.orders.random.true":"game.orders.random.false"))+"\n ")],1),e._v(" "),n("table",{staticClass:"table table-sm"},e._l(e.round.params.tasks,(function(t,r){return n("tr",{key:r},[n("td",[e._v("\n "+e._s(e.round.params.tasks[r].desc)+"\n ")]),e._v(" "),n("td",{staticClass:"text-nowrap"},[e._v("\n "+e._s(e.round.params.tasks[r].points)+"\n "+e._s(e.$t("game.orders.params.points"))+"\n ")]),e._v(" "),null===e.round.result?n("td",[!(e.supervisor||e.self&&e.round.params.selfManage)||null!==e.round.generated.next&&e.round.generated.next!==r?e.supervisor||e.round.generated.next!==r?e._e():n("span",{staticClass:"badge badge-warning"},[n("Icon",{attrs:{v:"arrow-left"}}),e._v("\n "+e._s(e.$t("game.orders.task.next"))+"\n ")],1):n("button",{staticClass:"btn btn-outline-success btn-sm",on:{click:function(t){return t.preventDefault(),e.done(r)}}},[n("Icon",{attrs:{v:"clipboard-check"}}),e._v("\n "+e._s(e.$t("game.orders.task.done"))+"\n ")],1)]):e._e()])})),0)])])};function s_(e){return function(e){if(Array.isArray(e))return l_(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return l_(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l_(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}a_._withStripped=!0;var c_=Ca({components:{ProgressBar:zp},props:{round:{required:!0},self:{type:Boolean},supervisor:{type:Boolean}},methods:{done:function(e){var t=this;this.$confirm(this.$t("game.orders.task.done.confirm",{task:this.round.params.tasks[e].desc})).then((function(n){t.$emit("update-game",{doneTask:e})}))},undo:function(e){var t=this;this.$confirm(this.$t("game.orders.task.undo.confirm",{task:this.round.params.tasks[this.round.generated.done[e].task].desc})).then((function(n){t.$emit("update-game",{undoTask:e})}))},finish:function(){this.$emit("update-game",{finish:!0})},reverse:function(e){return s_(e).reverse()}}},a_,[],!1,null,null,null);c_.options.__file="components/pages/Games/OrdersPlay.vue";const u_=c_.exports;var d_=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"row"},[n("div",{staticClass:"col-xl-6 offset-xl-3"},[n("div",{staticClass:"list-group"},e._l(e.round.params.options,(function(t,r){return n("div",{class:{"list-group-item list-group-item":!0,"bg-secondary":!e.animationFinished&&r===e.selected,"bg-primary text-white":e.animationFinished&&r===e.selected}},[n("div",{staticClass:"d-flex w-100 justify-content-between"},[n("span",[e._v(e._s(t.desc))]),e._v(" "),n("span",{class:["badge",e.getPunishment(t.punishment)>0?"badge-danger":"badge-success"]},[e._v("\n "+e._s(e.duration(e.getPunishment(t.punishment)))+"\n ")])])])})),0)])])};function f_(e){return function(e){if(Array.isArray(e))return p_(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return p_(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p_(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}d_._withStripped=!0;var h_=Ca({components:{},props:{round:{required:!0},self:{type:Boolean},supervisor:{type:Boolean}},data:function(){return{selected:void 0,animationFinished:!1}},mounted:function(){var e=this;if(null!==this.round.result)return this.selected=this.round.generated.selected,void(this.animationFinished=!0);if(this.$user&&this.round.player.username===this.$user.username){var t=this.round.params.options.length-1,n=function(n,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],a=0;e.timer=setInterval((function(){!function(){if(t<1)e.selected=e.round.generated.selected;else for(;;){var n=e.getRandomInt(0,t);if(n!==e.selected){e.selected=n;break}}}(),a++>=r&&(clearInterval(e.timer),e.timer=null,o&&o.apply(void 0,f_(i)))}),n)};n(100,40,n,[200,10,n,[500,6,function(){e.selected=e.round.generated.selected,setTimeout((function(){e.animationFinished=!0,e.$emit("update-game",{})}),1e3)}]])}},beforeDestroy:function(){this.timer&&clearInterval(this.timer)},methods:{getRandomInt:function(e,t){return Math.floor(Math.random()*(t-e+1))+e},duration:function(e){return this.$duration(tl.dw.fromObject({hours:parseInt(e)}))},getPunishment:function(e){return Array.isArray(e)?e[0]:e}}},d_,[],!1,null,null,null);h_.options.__file="components/pages/Games/WheelPlay.vue";
2const m_=h_.exports;var v_=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-lg-8 offset-lg-2"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-body d-flex flex-column flex-lg-row justify-content-around"},[n("blockquote",{staticClass:"twitter-tweet",attrs:{"data-lang":"en"}},[n("a",{attrs:{href:e.round.params.tweetUrl,target:"_blank",rel:"noopener"}},[n("Icon",{attrs:{v:"link"}}),e._v(" "+e._s(e.$t("game.twitter.linkDescription"))+"\n ")],1)]),e._v(" "),n("div",{staticClass:"text-center text-bigger d-flex"},[n("div",{staticClass:"align-self-center w-100 w-lg-auto"},[e.round.params.repliesPunishment?n("p",[n("strong",[e._v(e._s(e.round.generated.replies))]),e._v(" "),n("Icon",{attrs:{v:"comment"}}),e._v("\n Ã\n "+e._s(e.duration(e.round.params.repliesPunishment))+"\n "),(e.self||e.supervisor)&&void 0===e.manualReplies&&null===e.round.result?n("button",{staticClass:"btn btn-outline-primary btn-sm",on:{click:function(t){e.manualReplies=e.round.generated.replies}}},[n("Icon",{attrs:{v:"pencil"}})],1):e._e()],1):e._e(),e._v(" "),void 0!==e.manualReplies?n("Form",{on:{submit:e.setManualReplies},scopedSlots:e._u([{key:"default",fn:function(t){return[n("FormGroup",{attrs:{error:t.errors.manualReplies},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"input-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.manualReplies,expression:"manualReplies"}],class:t.controlClass,attrs:{type:"number",required:"",min:"0",autofocus:""},domProps:{value:e.manualReplies},on:{input:function(t){t.target.composing||(e.manualReplies=t.target.value)}}}),e._v(" "),n("button",{staticClass:"btn btn-outline-primary input-group-append"},[n("Icon",{attrs:{v:"save"}})],1)])]}}],null,!0)})]}}],null,!1,560033173)}):e._e(),e._v(" "),e.round.params.retweetsPunishment?n("p",[n("strong",[e._v(e._s(e.round.generated.retweets))]),e._v(" "),n("Icon",{attrs:{v:"retweet"}}),e._v("\n Ã\n "+e._s(e.duration(e.round.params.retweetsPunishment))+"\n ")],1):e._e(),e._v(" "),e.round.params.favsPunishment?n("p",[n("strong",[e._v(e._s(e.round.generated.favs))]),e._v(" "),n("Icon",{attrs:{v:"heart"}}),e._v("\n Ã\n "+e._s(e.duration(e.round.params.favsPunishment))+"\n ")],1):e._e(),e._v(" "),n("p",{staticClass:"h4"},[e._v("\n =\n "+e._s(e.duration(e.round.generated.punishment))+"\n ")])],1)])]),e._v(" "),n("div",{staticClass:"card-footer"},[e.round.generated.cantfetch?n("p",{staticClass:"alert alert-danger"},[n("Icon",{attrs:{v:"exclamation-triangle"}}),e._v("\n "+e._s(e.$t("game.twitter.cantfetch"))+"\n ")],1):e._e(),e._v(" "),null===e.round.result?n("p",{staticClass:"small"},[n("Icon",{attrs:{v:"info-circle"}}),e._v("\n "+e._s(e.$t("game.twitter.refreshInterval"))+"\n ")],1):e._e(),e._v(" "),n("p",{staticClass:"small"},[n("Icon",{attrs:{v:"stopwatch"}}),e._v("\n "+e._s(e.$t("game.twitter.end"))+"\n "),n("strong",[e._v(e._s(e.$date(e.round.params.end)))]),e._v(" "),null!==e.round.result?n("span",{staticClass:"badge badge-primary"},[e._v("\n "+e._s(e.$t("game.twitter.finished"))+"\n ")]):e._e()],1),e._v(" "),e.round.params.repliesPunishment?n("p",{staticClass:"small"},[n("Icon",{attrs:{v:"exclamation-triangle"}}),e._v(" "),n("span",{domProps:{innerHTML:e._s(e.$t("game.twitter.params.repliesPunishment.warning"))}})],1):e._e()])])])])};v_._withStripped=!0;var g_=Ca({components:{Form:Ra,FormGroup:Za},props:{round:{required:!0},self:{type:Boolean},supervisor:{type:Boolean}},data:function(){return{manualReplies:void 0}},created:function(){this.$loadScript("twitter","https://platform.twitter.com/widgets.js")},methods:{duration:function(e){return this.$duration(tl.dw.fromObject({hours:parseInt(e)}))},setManualReplies:function(e){e.success(""),this.$emit("update-game",{setReplies:this.manualReplies}),this.manualReplies=void 0}},mounted:function(){var e=this;if(null===this.round.result)var t=setInterval((function(){var n=e.$el.querySelector("twitter-widget");n&&(clearInterval(t),setTimeout((function(){var t=n.shadowRoot.querySelector(".CallToAction-text");if(t){var r=parseInt(t.innerText.trim().split(" ")[0])-e.round.generated.retweets;r&&r!==e.round.generated.replies&&e.$emit("update-game",{setReplies:r})}}),200))}),200)}},v_,[],!1,null,"0fa0efc3",null);g_.options.__file="components/pages/Games/TwitterPlay.vue";const y_=g_.exports;var b_=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-lg-8 offset-lg-2"},[n("div",{staticClass:"card"},[n("div",{staticClass:"card-body d-flex flex-column flex-lg-row justify-content-around"},[n("blockquote",{staticClass:"bluesky-embed",attrs:{"data-bluesky-uri":e.round.params.atUrl}},[n("a",{attrs:{href:e.round.params.postUrl,target:"_blank",rel:"noopener"}},[n("Icon",{attrs:{v:"link"}}),e._v(" "+e._s(e.$t("game.bluesky.linkDescription"))+"\n ")],1)]),e._v(" "),n("div",{staticClass:"text-center text-bigger d-flex"},[n("div",{staticClass:"align-self-center w-100 w-lg-auto"},[e.round.params.repliesPunishment?n("p",[n("strong",[e._v(e._s(e.round.generated.replies))]),e._v(" "),n("Icon",{attrs:{v:"comment"}}),e._v("\n Ã\n "+e._s(e.duration(e.round.params.repliesPunishment))+"\n ")],1):e._e(
2),e._v(" "),e.round.params.repostsPunishment?n("p",[n("strong",[e._v(e._s(e.round.generated.reposts))]),e._v(" "),n("Icon",{attrs:{v:"retweet"}}),e._v("\n Ã\n "+e._s(e.duration(e.round.params.repostsPunishment))+"\n ")],1):e._e(),e._v(" "),e.round.params.favsPunishment?n("p",[n("strong",[e._v(e._s(e.round.generated.favs))]),e._v(" "),n("Icon",{attrs:{v:"heart"}}),e._v("\n Ã\n "+e._s(e.duration(e.round.params.favsPunishment))+"\n ")],1):e._e(),e._v(" "),n("p",{staticClass:"h4"},[e._v("\n =\n "+e._s(e.duration(e.round.generated.punishment))+"\n ")])])])]),e._v(" "),n("div",{staticClass:"card-footer"},[e.round.generated.cantfetch?n("p",{staticClass:"alert alert-danger"},[n("Icon",{attrs:{v:"exclamation-triangle"}}),e._v("\n "+e._s(e.$t("game.bluesky.cantfetch"))+"\n ")],1):e._e(),e._v(" "),null===e.round.result?n("p",{staticClass:"small"},[n("Icon",{attrs:{v:"info-circle"}}),e._v("\n "+e._s(e.$t("game.bluesky.refreshInterval"))+"\n ")],1):e._e(),e._v(" "),n("p",{staticClass:"small"},[n("Icon",{attrs:{v:"stopwatch"}}),e._v("\n "+e._s(e.$t("game.bluesky.end"))+"\n "),n("strong",[e._v(e._s(e.$date(e.round.params.end)))]),e._v(" "),null!==e.round.result?n("span",{staticClass:"badge badge-primary"},[e._v("\n "+e._s(e.$t("game.bluesky.finished"))+"\n ")]):e._e()],1)])])])])};b_._withStripped=!0;var __=Ca({components:{Form:Ra,FormGroup:Za},props:{round:{required:!0},self:{type:Boolean},supervisor:{type:Boolean}},created:function(){this.$loadScript("bluesky","https://embed.bsky.app/static/embed.js")},methods:{duration:function(e){return this.$duration(tl.dw.fromObject({hours:parseInt(e)}))}},mounted:function(){var e=this;if(null===this.round.result)var t=setInterval((function(){var n=e.$el.querySelector("twitter-widget");n&&(clearInterval(t),setTimeout((function(){var t=n.shadowRoot.querySelector(".CallToAction-text");if(t){var r=parseInt(t.innerText.trim().split(" ")[0])-e.round.generated.reposts;r&&r!==e.round.generated.replies&&e.$emit("update-game",{setReplies:r})}}),200))}),200)}},b_,[],!1,null,"11cb3052",null);__.options.__file="components/pages/Games/BlueskyPlay.vue";const w_=__.exports;var k_=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-6"},[n("Card",{attrs:{classes:"bg-primary text-white"}},[n("h3",{staticClass:"h1"},[e._v("\n "+e._s(e.$t("game.mercy.result"))+":\n "+e._s(e.duration(e.round.generated.result))+"\n ")])]),e._v(" "),n("div",{staticClass:"alert alert-info mt-3"},[n("p",[n("strong",[n("Icon",{attrs:{v:"info-circle"}}),e._v("\n "+e._s(e.$t("game.params"))+":\n ")],1)]),e._v(" "),n("div",[n("Icon",{attrs:{v:"box-ballot"}}),e._v("\n "+e._s(e.$t("game.mercy.range"))+":\n "),n("p",[e._v("\n "+e._s(e.duration(e.round.params.range[0]))+"\n â\n "+e._s(e.duration(e.round.params.range[1]))+"\n ")])],1),e._v(" "),n("div",[n("Icon",{attrs:{v:"calendar"}}),e._v("\n "+e._s(e.$t("game.mercy.end"))+":\n "),n("p",[e._v("\n "+e._s(e.$date(e.round.params.end))+"\n ")])],1)])],1),e._v(" "),n("div",{staticClass:"col-lg-6"},[null!==e.round.result||e.voted?e._e():n("Card",{attrs:{classes:"border-primary"},scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4"},[n("Icon",{attrs:{v:"box-ballot"}}),e._v("\n "+e._s(e.$t("game.mercy.castVote"))+"\n ")],1)]},proxy:!0}],null,!1,2120794166)},[e._v(" "),e.$user?n("div",[n("p",[n("Range",{attrs:{min:e.round.params.range[0],max:e.round.params.range[1],unit:"timediff"},model:{value:e.vote,callback:function(t){e.vote=t},expression:"vote"}})],1),e._v(" "),n("p",{staticClass:"text-right"},[n("button",{staticClass:"btn btn-primary",on:{click:e.castVote}},[e._v("\n "+e._s(e.$t("game.mercy.castVote"))+"\n ")])])]):n("div",[n("p",{staticClass:"text-center my-5"},[e._v("\n "+e._s(e.$t("game.mercy.castVote.anon"))+"\n ")])])]),e._v(" "),n("table",{staticClass:"table mt-4"},[n("tr",[n("th",[e._v(e._s(e.$t("game.mercy.user")))]),e._v(" "),n("th",[e._v(e._s(e.$t("game.mercy.vote")))])]),e._v(" "),e._l(e.votes,(function(t){return n("tr",[n("td",[n("router-link",{attrs:{to:{name:"memberProfile",params:{username:t.username}}}},[!e.$user||e.$user.id!==t.userId&&e.$user.username!==t.username?n("span",[e._v("\n "+e._s(t.username)+"\n ")]):n("strong",[e._v("\n "+e._s(t.username)+"\n ")])])],1),e._v(" "),n("td",{staticClass:"text-nowrap"},[e._v("\n "+e._s(e.duration(t.vote))+"\n ")])])}))],2)],1)])};k_._withStripped=!0;var x_=Ca({components:{Card:wp,Range:Fg},props:{round:{required:!0},self:{type:Boolean},supervisor:{type:Boolean}},data:function(){return{vote:[24],voted:!1}},methods:{duration:function(e){return this.$duration(tl.dw.fromObject({hours:parseInt(e)}))},castVote:function(){this.$emit("update-game",{vote:this.vote[0]}),this.voted=!0}},computed:{votes:function(){var e=[];for(var t in this.round.generated.votes)if(this.round.generated.votes.hasOwnProperty(t)){var n=this.round.generated.votes[t];Array.isArray(n)?e.push({vote:n[0],userId:t,username:n[1]}):e.push({vote:n,userId:null,username:t})}return e}}},k_,[],!1,null,null,null);x_.options.__file="components/pages/Games/MercyPlay.vue";var C_,S_;function E_(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var T_=Ca({components:{Loading:us,GameHeader:Ey,Overlay:Ma,Twemoji:Ol,TimePlay:Xb,PornPlay:i_,OrdersPlay:u_,WheelPlay:m_,TwitterPlay:y_,BlueskyPlay:w_,MercyPlay:x_.exports},data:function(){return{round:void 0,self:!1,supervisor:!1,updating:!1}},mounted:function(){this.fetchRound(this.$route.params.round)},beforeRouteUpdate:function(e,t,n){this.round&&e.params.round===this.round.id||(this.round=void 0,this.fetchRound(e.params.round)),n()},methods:{fetchRound:function(e){var t=this;this.$apollo.query({query:ma(C_||(C_=E_(['\n query GameRound($id: String!) {\n gameRound(id: $
2id) {\n id\n createdAt\n finishAt\n params\n generated\n result\n game { name icon active }\n player { username avatar { id links(size: "avatar") } }\n supervisor { username avatar { id links(size: "avatar") } }\n mock\n description\n }\n }\n ']))),variables:{id:e}}).then((function(e){t.round=t.buildRound(e.data.gameRound),t.self=t.$user&&t.$user.username===e.data.gameRound.player.username,t.supervisor=t.$user&&t.$user.username===e.data.gameRound.supervisor.username})).catch((function(e){console.error(e)}))},buildRound:function(e){var t=e;return t.params=JSON.parse(t.params),t.generated=JSON.parse(t.generated),t},update:function(e){var t=this;this.updating=!0,this.$apollo.mutate({mutation:ma(S_||(S_=E_(['\n mutation UpdateGame($id: String!, $params: Json!) {\n round: updateGame(id: $id, params: $params) {\n id\n createdAt\n finishAt\n params\n generated\n result\n game { name icon active }\n player {\n username\n avatar { id links(size: "avatar") }\n admin\n moderator\n statusSub\n statusKeyholder\n currentChastityPeriod { start earliestEnd terminatable permanent }\n }\n supervisor {\n username\n avatar { id links(size: "avatar") }\n admin\n moderator\n statusSub\n statusKeyholder\n currentChastityPeriod { start earliestEnd terminatable permanent }\n }\n mock\n }\n }\n ']))),variables:{id:this.round.id,params:JSON.stringify(e)}}).then((function(e){t.updating=!1,t.round=t.buildRound(e.data.round),e.data.round.player.username===t.$user.username&&(t.$user.currentChastityPeriod=e.data.round.player.currentChastityPeriod,t.$eventHub.$emit("refreshUser"))})).catch((function(e){t.updating=!1,console.error(e)}))}}},zb,[],!1,null,null,null);T_.options.__file="components/pages/GamePlay.vue";const O_=T_.exports;var I_,A_,D_=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$t("chat.header")}}),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-md-8 offset-md-2"},[n("h2",{staticClass:"mb-3"},[n("Icon",{attrs:{v:"comments-alt"}}),e._v("\n "+e._s(e.$t("chat.header"))+"\n ")],1),e._v(" "),n("ul",{staticClass:"list-inline"},e._l(e.channels,(function(t,r){return n("li",{staticClass:"list-inline-item"},[n("a",{class:["badge","px-3 py-2 my-1",r===e.channel?"badge-primary":"badge-secondary"],attrs:{href:"#"+r},on:{click:function(t){t.preventDefault(),e.channel=r}}},[e._v("\n "+e._s(t)+"\n ")])])})),0),e._v(" "),n("div",{ref:"chat",staticClass:"chat border border-bottom-0 p-3"},[n("Loading",{attrs:{value:e.messages}},e._l(e.messages,(function(t){return n("p",{staticClass:"mb-4"},[n("span",{staticClass:"d-flex justify-content-between"},[n("router-link",{attrs:{to:{name:"memberProfile",params:{username:t.user.username}}}},[n("Avatar",{attrs:{member:t.user,size:"2rem"}}),e._v(" "),n("Username",{attrs:{user:t.user}}),e._v(" "),n("Status",{attrs:{user:t.user}})],1),e._v(" "),n("small",[e._v("\n "+e._s(e.$date(t.createdAt,!0,!1))+"\n ")])],1),e._v("\n "+e._s(t.text)+"\n ")])})),0)],1),e._v(" "),n("Form",{ref:"form",on:{submit:e.send},scopedSlots:e._u([{key:"default",fn:function(t){return[n("FormGroup",{attrs:{error:t.errors.message},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"input-group mb-3"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.message,expression:"message"}],class:t.controlClass,attrs:{placeholder:e.$t("chat.send"),maxlength:"1000",required:""},domProps:{value:e.message},on:{input:function(t){t.target.composing||(e.message=t.target.value)}}}),e._v(" "),n("div",{staticClass:"input-group-append"},[n("button",{staticClass:"btn btn-primary"},[n("Icon",{attrs:{v:"paper-plane"}})],1)])])]}}],null,!0)})]}}])})],1)])],1)};function P_(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}D_._withStripped=!0;var M_=Ca({components:{Loading:us,Username:Zl,Avatar:Xs,Status:tc,Form:Ra,FormGroup:Za},data:function(){var e=window.location.hash.substring(1)||Jo.get("chatChannel")||"en";return window.location.hash=e,{channels:{},channel:e,messages:void 0,message:""}},mounted:function(){var e=this;this.$cache.get("chatChannels").then((function(t){e.channels=JSON.parse(t.data.chatChannels)})),this.loadChat(),this.$eventHub.$on("socket.chatMessage",(function(t){t.channel===e.channel&&t.user.username!==e.$user.username&&(e.messages.push(t),e.scrollBottom())}))},methods:{loadChat:function(){var e=this;this.$apollo.query({query:ma(I_||(I_=P_(['query ChatLoad($channel: String!) {\n chatLoad(channel: $channel) {\n id\n user {\n username\n avatar { id links(size: "avatar") }\n admin\n moderator\n statusSub\n statusKeyholder\n currentChastityPeriod { start earliestEnd terminatable permanent }\n lastRequest\n }\n createdAt\n text\n }\n }']))),variables:{channel:this.channel}}).then((function(t){e.messages=t.data.chatLoad,e.scrollBottom(!0)}))},send:function(e){var t=this;this.$apollo.mutate({mutation:ma(A_||(A_=P_(['\n mutation ChatSend($channel: String!, $message: String!) {\n message: chatSend(channel: $channel, message: $message) {\n id\n user {\n username\n avatar { id links(size: "avatar") }\n admin\n moderator\n statusSub\n statusKeyholder\n currentChastityPeriod { start earliestEnd terminatable permanent }\n lastRequest\n }\n createdAt\n text\n }\n }\n ']))),variables:{channel:this.channel,message:this.message}}
2).then((function(n){e.success(""),t.message="",t.messages.push(n.data.message),t.scrollBottom(!0)})).catch((function(n){e.validate(n),t.code=""})).catch((function(t){e.error()}))},scrollBottom:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.$refs.chat,n=Math.abs(t.scrollTop+t.offsetHeight-t.scrollHeight)<48;(e||n)&&(this.$nextTick((function(e){return t.scrollTop=t.scrollHeight})),setTimeout((function(e){return t.scrollTop=t.scrollHeight}),500))}},watch:{channel:function(){Jo.set("chatChannel",this.channel),window.location.hash=this.channel,this.messages=void 0,this.loadChat()}}},D_,[],!1,null,null,null);M_.options.__file="components/pages/Chat.vue";const $_=M_.exports;var N_,R_=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"page row no-gutters"},[e.member&&(e.member.active||e.$user&&e.$user.admin)?[n("VueHeadful",{attrs:{title:e.member.username}}),e._v(" "),n("div",{staticClass:"col-12 col-lg-3 col-xl-2 p-lg-0"},[n("div",{staticClass:"bg-primary text-white sidebar pt-4 pt-lg-0"},[n("h2",{staticClass:"text-center p-4"},[n("span",{staticClass:"avatar"},[e.member.avatar?n("span",[n("Picture",{attrs:{image:e.member.avatar,classes:"rounded-circle",type:"avatar"}})],1):n("span",[n("img",{staticClass:"rounded-circle",attrs:{src:e.fallbackAvatar}})])]),e._v(" "),n("br"),e._v(" "),n("Username",{attrs:{user:e.member}})],1),e._v(" "),n("div",{staticClass:"p-2"},[e.member.currentChastityPeriod?n("div",[n("p",{staticClass:"text-center"},[n("Icon",{attrs:{v:"lock"}}),e._v(" "),e.member.currentChastityPeriod.permanent?n("span",[n("strong",[e._v(e._s(e.$t("calendar.status.locked.permanent")))])]):n("span",[n("strong",[e._v(e._s(e.$t("calendar.status.locked")))]),e._v("\n "+e._s(e.$t("calendar.status.locked.least"))+":\n "),n("br"),e._v("\n "+e._s(e.$date(e.member.currentChastityPeriod.earliestEnd,!1,!1))+"\n ")]),e._v(" "),n("Status",{attrs:{user:e.member,noicon:""}})],1),e._v(" "),e.member.currentChastityPeriod.permanent?e._e():n("div",{staticClass:"progress mb-3"},[n("div",{staticClass:"progress-bar bg-warning",style:"width: "+e.progress(e.member.currentChastityPeriod.start,e.member.currentChastityPeriod.earliestEnd)+"%",attrs:{role:"progressbar","aria-valuenow":"25","aria-valuemin":"0","aria-valuemax":"100"}})])]):e.member.statusSub?n("div",[n("p",{staticClass:"text-center"},[n("Icon",{attrs:{v:"lock-open"}}),e._v(" "),n("strong",[e._v(e._s(e.$t("calendar.status.unlocked")))])],1)]):e._e(),e._v(" "),1==e.member.statusKeyholder?n("div",[n("p",{staticClass:"text-center"},[n("Icon",{attrs:{v:"key"}}),e._v(" "),n("strong",[e._v(e._s(e.$t("profile.status.keyholder.1")))])],1)]):2==e.member.statusKeyholder?n("div",[n("p",{staticClass:"text-center"},[n("Icon",{attrs:{v:"bullhorn"}}),e._v(" "),n("strong",[e._v(e._s(e.$t("profile.status.keyholder.2")))])],1)]):e._e(),e._v(" "),n("p",{staticClass:"text-center small"},[e._v("\n "+e._s(e.$t("member.joined"))+":\n "+e._s(e.$date(e.member.createdAt,!1,!1))+"\n "),n("br"),e._v("\n "+e._s(e.$t("member.last_active"))+"\n "),n("RelativeTime",{attrs:{v:e.member.lastRequest}}),e._v(" "),e.$user.admin&&e.member.lastIp?n("span",[n("br"),n("br"),e._v(e._s(e.member.lastIp)),n("br"),e._v(e._s(e.member.ipInfo))]):e._e()],1)]),e._v(" "),n("div",{staticClass:"overflow-auto"},[n("ul",{staticClass:"list pb-lg-0 d-flex d-md-block"},[n("li",[n("router-link",{attrs:{to:{name:"memberProfile"}}},[n("Icon",{attrs:{v:"id-card"}}),e._v("\n "+e._s(e.$t("member.profile"))+"\n ")],1)],1),e._v(" "),n("li",[n("router-link",{attrs:{to:{name:"memberCalendar"}}},[n("Icon",{attrs:{v:"calendar"}}),e._v("\n "+e._s(e.$t("member.calendar"))+"\n ")],1)],1),e._v(" "),n("li",[n("router-link",{attrs:{to:{name:"memberBlog"}}},[n("Icon",{attrs:{v:"pen-nib"}}),e._v("\n "+e._s(e.$t("member.blog"))+"\n ")],1)],1),e._v(" "),n("li",[n("router-link",{attrs:{to:{name:"memberPics"}}},[n("Icon",{attrs:{v:"camera-alt"}}),e._v("\n "+e._s(e.$t("member.pics"))+"\n ")],1)],1),e._v(" "),"teamlocked"!==e.member.username?n("li",[n("router-link",{attrs:{to:{name:"memberNetwork"}}},[n("Icon",{attrs:{v:"user-friends"}}),e._v("\n "+e._s(e.$t("member.network"))+"\n ")],1)],1):e._e(
vendor: 5,432 bytes, line 2
2),e._v(" "),n("li",[n("router-link",{attrs:{to:{name:"memberGames"}}},[n("Icon",{attrs:{v:"gamepad"}}),e._v("\n "+e._s(e.$t("member.games"))+"\n ")],1)],1),e._v(" "),n("li",{directives:[{name:"show",rawName:"v-show",value:this.$user&&this.$user.username!==e.member.username,expression:"this.$user && this.$user.username !== member.username"}]},[n("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.$eventHub.$emit("selectConversation",e.member.username)}}},[n("Icon",{attrs:{v:"comment"}}),e._v("\n "+e._s(e.$t("member.message"))+"\n ")],1)])])])])]),e._v(" "),n("div",{staticClass:"col-12 col-lg-9 col-xl-10 p-0"},[n("Sponsor"),e._v(" "),e.member.active?e._e():n("div",{staticClass:"alert alert-danger"},[n("Icon",{attrs:{v:"exclamation-triangle"}}),e._v("\n USER INACTIVE!\n ")],1),e._v(" "),n("div",{staticClass:"p-4"},[n("router-view")],1)],1)]:n("div",{staticClass:"container mt-5"},[e.errorMessage?n("div",{staticClass:"alert alert-danger"},[e._v("\n "+e._s(e.$t("error."+e.errorMessage))+"\n ")]):n("p",{staticClass:"text-center"},[n("Spinner",{attrs:{size:"5rem"}})],1)])],2)};function L_(e){return L_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},L_(e)}function j_(){j_=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,a=Object.create(i.prototype),s=new A(r||[]);return o(a,"_invoke",{value:E(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var f="suspendedStart",p="suspendedYield",h="executing",m="completed",v={};function g(){}function y(){}function b(){}var _={};c(_,a,(function(){return this}));var w=Object.getPrototypeOf,k=w&&w(w(D([])));k&&k!==n&&r.call(k,a)&&(_=k);var x=b.prototype=g.prototype=Object.create(_);function C(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(o,i,a,s){var l=d(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==L_(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function E(t,n,r){var o=f;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=T(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===f)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?m:p,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=m,r.method="throw",r.arg=c.arg)}}}function T(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,T(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function D(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(L_(t)+" is not iterable")}return y.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},C(S.prototype),c(S.prototype,s,(function(){return this})),t.AsyncIterator=S,t.async=function(e,n,r,o,i){void 0===i&&(i=Prom
vendor: 4,166 bytes, line 2
2ise);var a=new S(u(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},C(x),c(x,l,"Generator"),c(x,a,(function(){return this})),c(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=D,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),I(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;I(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:D(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function F_(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function B_(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return q_(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?q_(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function q_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}R_._withStripped=!0;const H_={components:{Spinner:Da,Picture:_l,Status:tc,Username:Zl,Sponsor:wc,RelativeTime:ay},data:function(){return{member:void 0,errorMessage:""}},mounted:function(){var e=this;this.fetchMember(this.$route.params.username),this.$eventHub.$on("refreshUser",(function(t){e.$forceUpdate()}))},beforeRouteUpdate:function(e,t,n){this.member&&e.params.username===this.member.username||(this.member=void 0,this.fetchMember(e.params.username)),n()}
2,methods:{fetchMember:function(e){var t,n,r=this;this.$apollo.query({query:ma(N_||(t=['\n query User($username: String!, $self: String, $currentUsername: String) {\n user(username: $username) {\n id\n username\n active\n admin\n moderator\n avatar { id micro links }\n description\n cock\n circumcised\n role\n gender\n trans\n pronouns\n orientation\n orientationType\n pan\n birthday\n age\n country\n province\n city\n twitterAccount\n twitterPublic\n blueskyAccount\n images: publicImages {\n id\n profile\n micro\n links\n }\n currentChastityPeriod {\n start\n earliestEnd\n terminatable\n permanent\n changes {\n blocksTermination\n }\n rules\n }\n periodLimit\n languages\n followersCount\n followeesCount\n importantConnections {\n relationOfCounterpart\n counterpart {\n username\n avatar { id links(size: "avatar") }\n admin\n moderator\n statusSub\n statusKeyholder\n currentChastityPeriod {\n start\n earliestEnd\n permanent\n }\n }\n }\n connectionsWith (username: $self) {\n relationOfCounterpart\n accepted\n }\n latestPost {\n id\n createdAt\n category { name icon color }\n user {\n username\n avatar { id links(size: "avatar") }\n admin\n moderator\n statusSub\n statusKeyholder\n currentChastityPeriod { start earliestEnd terminatable permanent }\n }\n content\n reactions\n reactionBy(username: $currentUsername)\n warning\n commentCount\n internal\n }\n isDominatedByYou: dominatedBy(master: $currentUsername)\n internal\n lastRequest\n lastIp\n hasPlayedGames: playedGames\n createdAt\n allowKeyholderRequests\n allowSubRequests\n allowKnownRequests\n statusSub\n statusKeyholder\n locktobers {\n id\n year\n params\n result\n }\n bannedUntilAdmin\n bannedReasonAdmin\n }\n }\n '],n||(n=t.slice(0)),N_=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}})))),variables:{username:e,self:this.$user?this.$user.username:null,currentUsername:this.$user?this.$user.username:null}}).then((function(e){var t=e.data.user;
2if(t.active||r.$user&&r.$user.admin){t.birthday&&(t.birthday=tl.c9.fromSeconds(t.birthday).toISODate()),t.hasNoKeyholder=!0;var n,o=B_(t.importantConnections);try{for(o.s();!(n=o.n()).done;){if("keyholder"===n.value.relationOfCounterpart){t.hasNoKeyholder=!1;break}}}catch(e){o.e(e)}finally{o.f()}t.languages=JSON.parse(t.languages||"[]"),r.member=t,r.$user.admin&&r.member.lastIp&&r.fetchIpInfo(r.member)}else r.errorMessage="memberNotFound"})).catch((function(e){r.errorMessage="memberNotFound"}))},progress:function(e,t){var n=tl.c9.local().toSeconds();return Math.round(100*Math.max(0,Math.min((n-e)/(t-e),1)))},fetchIpInfo:function(e){var t,n=this;return(t=j_().mark((function t(){var r,o;return j_().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,e.lastIp){t.next=3;break}return t.abrupt("return");case 3:return t.next=5,fetch("https://ip.hr-hosting.com/"+e.lastIp);case 5:return r=t.sent,t.next=8,r.json();case 8:(o=t.sent).message?n.$set(e,"ipInfo","Error: "+o.message):n.$set(e,"ipInfo",o.country+", "+o.region+" ("+o.regionCode+"), "+o.city),t.next=15;break;case 12:t.prev=12,t.t0=t.catch(0),n.$set(e,"ipInfo","Error: "+t.t0);case 15:case"end":return t.stop()}}),t,null,[[0,12]])})),function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(e){F_(i,r,o,a,s,"next",e)}function s(e){F_(i,r,o,a,s,"throw",e)}a(void 0)}))})()}},computed:{fallbackAvatar:function(){return"https://api.emlalock.com/profile/default.png"}}};var z_=Ca(H_,R_,[],!1,null,"038f13a0",null);z_.options.__file="components/pages/Member.vue";const U_=z_.exports;var V_=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$parent.member.username}}),e._v(" "),n("h2",{staticClass:"mb-4 d-flex justify-content-between flex-column flex-lg-row"},[n("span",[n("Icon",{attrs:{v:"user"}}),e._v("\n "+e._s(e.member.username)+"\n\n "),e.self&&e.editMode?n("FormGroup",{attrs:{error:e.formErrors.internal,classes:"d-inline"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("RadioButtonGroup",{attrs:{options:e.internalOptions,classes:"p-2",eval:""},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Icon",{attrs:{v:t.option.icon}}),e._v("\n "+e._s(e.$t("internal."+t.option.name))+"\n ")]}}],null,!0),model:{value:e.member.internal,callback:function(t){e.$set(e.member,"internal",t)},expression:"member.internal"}})]}}],null,!1,901094086)}):n("small",[n("Icon",{attrs:{v:e.member.internal?"user-shield":"globe-africa"}})],1),e._v(" "),n("AdminerLink",{attrs:{table:"user",value:e.member.id,label:"User"}}),e._v(" "),n("AdminerLink",{attrs:{table:"authenticator",column:"user_id",value:e.member.id,label:"Auth"}})],1),e._v(" "),e.self?n("span",[e.saving?n("span",[n("Spinner")],1):n("span",[e.editMode?e._e():n("button",{staticClass:"btn btn-outline-primary",on:{click:e.startEdit}},[n("Icon",{attrs:{v:"pencil"}}),e._v("\n "+e._s(e.$t("edit"))+"\n ")],1),e._v(" "),e.editMode?n("button",{staticClass:"btn btn-outline-success",on:{click:e.save}},[n("Icon",{attrs:{v:"save"}}),e._v("\n "+e._s(e.$t("save"))+"\n ")],1):e._e(),e._v(" "),e.editMode?n("button",{staticClass:"btn btn-outline-warning",on:{click:e.cancelEdit}},[n("Icon",{attrs:{v:"times"}}),e._v("\n "+e._s(e.$t("cancel"))+"\n ")],1):e._e()])]):e._e()]),e._v(" "),e.errorMessage?n("div",{staticClass:"alert alert-danger"},[e._v("\n "+e._s(e.$t("error."+e.errorMessage))+"\n ")]):e._e(),e._v(" "),e.successMessage?n("div",{staticClass:"alert alert-success"},[e._v("\n "+e._s(e.$t("success."+e.successMessage))+"\n ")]):e._e(),e._v(" "),n("MasonryGrid",{ref:"grid",attrs:{columnsTablet:"2"}},[n("MasonryGridItem",{directives:[{name:"show",rawName:"v-show",value:e.self&&e.profileCompleteness<100,expression:"self && profileCompleteness < 100"}]},[n("ProfileCompleteness",{attrs:{member:e.member,classes:"border-primary",onlyYou:"",inProfile:""},on:{"start-edit":e.startEdit,"update-profile-completeness":e.setProfileCompleteness}})],1),e._v(" "),n("MasonryGridItem",{directives:[{name:"show",rawName:"v-show",value:e.member.admin||e.member.moderator||e.member.currentChastityPeriod||e.member.statusSub||e.member.statusKeyholder||e.editMode,expression:"member.admin || member.moderator || member.currentChastityPeriod || member.statusSub || member.statusKeyholder || editMode"}]},[n("Card",{scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 text-center mb-0"}
2,[n("Icon",{attrs:{v:"tachometer"}}),e._v("\n "+e._s(e.$t("profile.status"))+"\n ")],1)]},proxy:!0},{key:"footer",fn:function(){return[n("small",{staticClass:"float-right"},[n("router-link",{attrs:{to:{name:"memberCalendar"}}},[n("Icon",{attrs:{v:"calendar"}}),e._v("\n "+e._s(e.$t("member.calendar"))+"\n "),n("Icon",{attrs:{v:"angle-double-right"}})],1)],1)]},proxy:!0}])},[e._v(" "),e.member.admin?n("div",[n("p",{staticClass:"h3 text-center"},[n("Icon",{attrs:{v:"user-cog"}}),e._v(" "+e._s(e.$t("admin.badge"))+"\n ")],1),e._v(" "),n("hr")]):e.member.moderator?n("div",[n("p",{staticClass:"h3 text-center"},[n("Icon",{attrs:{v:"badge-sheriff"}}),e._v(" "+e._s(e.$t("admin.moderator.badge"))+"\n ")],1),e._v(" "),n("hr")]):e._e(),e._v(" "),e.member.currentChastityPeriod?n("div",[n("p",{staticClass:"h3 text-center"},[n("Icon",{attrs:{v:"lock"}}),e._v("\n "+e._s(e.$t("calendar.status.locked"))+"\n "),n("Status",{attrs:{user:e.member,noicon:""}})],1),e._v(" "),n("ChastityPeriod",{attrs:{period:e.member.currentChastityPeriod}})],1):n("div",[e.member.statusSub?n("div",[n("p",{staticClass:"h3 text-center"},[n("Icon",{attrs:{v:"lock-open"}}),e._v("\n "+e._s(e.$t("calendar.status.unlocked"))+"\n ")],1)]):e._e(),e._v(" "),e.editMode?n("FormGroup",{attrs:{error:e.formErrors.statusSub},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Checkbox",{attrs:{toggle:""},model:{value:e.member.statusSub,callback:function(t){e.$set(e.member,"statusSub",t)},expression:"member.statusSub"}},[e._v("\n "+e._s(e.$t("profile.status.sub"))+"\n ")])]}}],null,!1,3578643986)}):e._e()],1),e._v(" "),(e.member.currentChastityPeriod||e.member.statusSub)&&e.member.statusKeyholder||e.editMode?n("hr"):e._e(),e._v(" "),e.member.statusKeyholder||e.editMode?n("div",[1==e.member.statusKeyholder?n("p",{staticClass:"h3 text-center"},[n("Icon",{attrs:{v:"key"}}),e._v("\n "+e._s(e.$t("profile.status.keyholder.1"))+"\n ")],1):2==e.member.statusKeyholder?n("p",{staticClass:"h3 text-center"},[n("Icon",{attrs:{v:"bullhorn"}}),e._v("\n "+e._s(e.$t("profile.status.keyholder.2"))+"\n ")],1):e._e(),e._v(" "),e.editMode?n("FormGroup",{attrs:{error:e.formErrors.statusKeyholder},scopedSlots:e._u([{key:"default",fn:function(t){return[n("label",{staticClass:"d-block"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.member.statusKeyholder,expression:"member.statusKeyholder"}],attrs:{type:"radio",value:"0"},domProps:{checked:e._q(e.member.statusKeyholder,"0")},on:{change:function(t){return e.$set(e.member,"statusKeyholder","0")}}}),e._v("\n "+e._s(e.$t("profile.status.keyholder.0"))+"\n ")]),e._v(" "),n("label",{staticClass:"d-block"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.member.statusKeyholder,expression:"member.statusKeyholder"}],attrs:{type:"radio",value:"1"},domProps:{checked:e._q(e.member.statusKeyholder,"1")},on:{change:function(t){return e.$set(e.member,"statusKeyholder","1")}}}),e._v(" "),n("Icon",{attrs:{v:"key"}}),e._v("\n "+e._s(e.$t("profile.status.keyholder.1"))+"\n ")],1),e._v(" "),n("label",{staticClass:"d-block"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.member.statusKeyholder,expression:"member.statusKeyholder"}],attrs:{type:"radio",value:"2"},domProps:{checked:e._q(e.member.statusKeyholder,"2")},on:{change:function(t){return e.$set(e.member,"statusKeyholder","2")}}}),e._v(" "),n("Icon",{attrs:{v:"bullhorn"}}),e._v("\n "+e._s(e.$t("profile.status.keyholder.2"))+"\n ")],1)]}}],null,!1,728778004)}):e._e()],1):e._e()])],1),e._v(" "),n("MasonryGridItem",{directives:[{name:"show",rawName:"v-show",value:e.member.description||e.self&&e.editMode,expression:"member.description || (self && editMode)"}]},[n("Card",{scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 mb-0"},[n("Icon",{attrs:{v:"pencil"}}),e._v("\n "+e._s(e.$t("member.description"))+"\n ")],1),e._v(" "),e.self&&e.editMode?n("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.member.description=null}}},[n("Icon",{attrs:{v:"trash"}}
2)],1):e._e()]},proxy:!0}])},[e._v(" "),e.editMode?n("FormGroup",{attrs:{error:e.formErrors.description},scopedSlots:e._u([{key:"default",fn:function(t){return[n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.member.description,expression:"member.description"}],class:t.controlClass,attrs:{placeholder:e.$t("member.description"),rows:"4",maxlength:"320"},domProps:{value:e.member.description},on:{input:function(t){t.target.composing||e.$set(e.member,"description",t.target.value)}}}),e._v(" "),n("small",{staticClass:"form-text text-muted text-right"},[e._v("\n "+e._s(e.$t("member.description.charactersLeft",[320-(e.member.description||"").length]))+"\n ")])]}}])}):n("div",[n("Twemoji",e._l((e.member.description||"").split("\n"),(function(e){return n("p",[n("SafeHtml",{attrs:{html:e}})],1)})),0),e._v(" "),n("div",{staticClass:"text-right"},[n("Translate",{attrs:{text:e.member.description}})],1)],1)],1)],1),e._v(" "),n("MasonryGridItem",[n("Card",{scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 mb-0"},[n("Icon",{attrs:{v:"user-friends"}}),e._v("\n "+e._s(e.$t("member.network"))+"\n ")],1)]},proxy:!0},{key:"footer",fn:function(){return[n("small",{staticClass:"float-right"},[n("router-link",{attrs:{to:{name:"memberNetwork"}}},[n("Icon",{attrs:{v:"user-friends"}}),e._v("\n "+e._s(e.$t("showAll"))+"\n "),n("Icon",{attrs:{v:"angle-double-right"}})],1)],1)]},proxy:!0}])},[e._v(" "),e.self?e._e():n("div",[n("Connections",{attrs:{fromMember:e.$user,toMember:e.member,connections:e.member.connectionsWith,vertical:""}}),e._v(" "),n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"mb-2"},[n("ImpersonationStart",{attrs:{member:e.member,small:"",classes:"btn-block"}})],1),e._v(" "),n("li",{staticClass:"mb-2"},[n("button",{staticClass:"btn btn-text btn-sm text-danger btn-block",on:{click:function(t){return e.$eventHub.$emit("report","/@"+e.member.username+"?id="+e.member.id)}}},[n("Icon",{attrs:{v:"spider"}}),e._v("\n "+e._s(e.$t("report.header"))+"\n ")],1)])]),e._v(" "),n("hr")],1),e._v(" "),e.editMode?n("div",[n("FormGroup",{attrs:{error:e.formErrors.allowKeyholderRequests},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Checkbox",{attrs:{toggle:""},model:{value:e.member.allowKeyholderRequests,callback:function(t){e.$set(e.member,"allowKeyholderRequests",t)},expression:"member.allowKeyholderRequests"}},[e._v("\n "+e._s(e.$t("relation.allowRequests.keyholder"))+"\n ")])]}}],null,!1,170259583)}),e._v(" "),n("FormGroup",{attrs:{error:e.formErrors.allowSubRequests},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Checkbox",{attrs:{toggle:""},model:{value:e.member.allowSubRequests,callback:function(t){e.$set(e.member,"allowSubRequests",t)},expression:"member.allowSubRequests"}},[e._v("\n "+e._s(e.$t("relation.allowRequests.sub"))+"\n ")])]}}],null,!1,3341619295)}),e._v(" "),n("FormGroup",{attrs:{error:e.formErrors.allowKnownRequests},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Checkbox",{attrs:{toggle:""},model:{value:e.member.allowKnownRequests,callback:function(t){e.$set(e.member,"allowKnownRequests",t)},expression:"member.allowKnownRequests"}},[e._v("\n "+e._s(e.$t("relation.allowRequests.known"))+"\n ")])]}}],null,!1,2882015935)}),e._v(" "),n("hr")],1):e._e(),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-6 text-center"},[e._v("\n "+e._s(e.$t("relation.follower.list"))+"\n "),n("br"),e._v(" "),n("strong",{staticClass:"h3"},[e._v(e._s(e.member.followersCount))])]),e._v(" "),n("div",{staticClass:"col-6 text-center"},[e._v("\n "+e._s(e.$t("relation.followee.list"))+"\n "),n("br"),e._v(" "),n("strong",{staticClass:"h3"},[e._v(e._s(e.member.followeesCount))])])]),e._v(" "),n("hr"),e._v(" "),n("ul",{staticClass:"list"},e._l(e.groupedConnections,(function(t,r){return n("li",{staticClass:"row mb-4"},[n("div",{staticClass:"col-3"},[n("router-link",{attrs:{to:{name:"memberProfile",params:{username:t.counterpart.username}}}},[n("Avatar",{attrs:{member:t.counterpart,size:"100%",classes:"float-left mr-2"}})],1)],1),e._v(" "),n("div",{staticClass:"col-9"},[n("router-link",{staticClass:"h5",attrs:{to:{name:"memberProfile",params:{username:t.counterpart.username}}}},[n("Username",{attrs:{user:t.counterpart,bold:""}}),e._v(" "),n("Status",{attrs:{user:t.counterpart}})],1),e._v(" "),n("br"),e._v(" "),e._l(t.connections,(function(e){return n("span",{staticClass:"mr-2"},[n("Relation",{attrs:{relation:e}})],1)}))],2)])})),0)])],1),e._v(" "),e.$user&&e.$user.admin?n("MasonryGridItem",[n("Card",{scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 mb-0"},[n("Icon",{attrs:{v:"ban"}}),e._v("\n Ban\n ")],1)]},proxy:!0}],null,!1,1775577787)},[e._v(" "),n("FormGroup",{attrs:{error:e.formErrors.bannedPermanently},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Checkbox",{attrs:{toggle:""},model:{value:e.bannedPermanently,callback:function(t){e.bannedPermanently=t},expression:"bannedPermanently"}},[e._v("\n Permanent\n ")])]}}],null,!1,4049431896)}),e._v(" "),n("FormGroup",{directives:[{name:"show",rawName:"v-show",value:!e.bannedPermanently,expression:"!bannedPermanently"}],attrs:{error:e.formErrors.bannedUntil},scopedSlots:e._u([{key:"default",fn:function(t){return[n("DateTimePicker",{attrs:{withTime:""},model:{value:e.bannedUntil,callback:function(t){e.bannedUntil=t},expression:"bannedUntil"}})]}}],null,!1,1074088532)}),e._v(" "),n("FormGroup",{attrs:{error:e.formErrors.bannedReason},scopedSlots:e._u([{key:"default",fn:function(t){return[n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.bannedReason,expression:"bannedReason"}],class:t.controlClass,attrs:{placeholder:"Reason",rows:"4",maxlength:"320"},domProps:{value:e.bannedReason},on:{input:function(t){t.target.composing||(e.bannedReason=t.target.value)}}})]}}],null,!1,2260367744)}),e._v(" "),n("button",{staticClass:"btn btn-primary btn-block",on:{click:e.ban}},[n("Icon",{attrs:{v:"ban"}}),e._v("\n Ban\n ")],1)],1)],1):e._e(
2),e._v(" "),e._l(e.member.locktobers,(function(t){return n("MasonryGridItem",{key:t.year},[n("LocktoberProgress",{attrs:{locktober:t,self:e.self}})],1)})),e._v(" "),n("MasonryGridItem",{directives:[{name:"show",rawName:"v-show",value:null!==e.member.cock||null!==e.member.circumcised||e.self&&e.editMode,expression:"member.cock !== null || member.circumcised !== null || (self && editMode)"}]},[n("Card",{scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 mb-0"},[n("Icon",{attrs:{v:"ruler"}}),e._v("\n "+e._s(e.$t("cock.header"))+"\n ")],1),e._v(" "),e.self&&e.editMode?n("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.member.cock=null,e.member.circumcised=null}}},[n("Icon",{attrs:{v:"trash"}})],1):e._e()]},proxy:!0}])},[e._v(" "),n("p",{staticClass:"h1 text-center"},[null!==e.member.cock?n("span",[e.member.cock>0?n("span",[e._v("\n "+e._s(e.stripAfter(e.cockOptions[e.member.cock],"<"))+"\n ")]):n("small",[e._v("\n "+e._s(e.stripAfter(e.cockOptions[e.member.cock],"<"))+"\n ")])]):e._e(),e._v(" "),e.$user&&e.$user.hideCircumcision||null===e.member.circumcised||0===e.member.cock?e._e():n("small",[e._v("\n "+e._s(e.$t("cock.circumcised."+(e.member.circumcised?"1":"0")))+"\n ")])]),e._v(" "),n("hr",{directives:[{name:"show",rawName:"v-show",value:e.self&&e.editMode,expression:"self && editMode"}]}),e._v(" "),n("FormGroup",{directives:[{name:"show",rawName:"v-show",value:e.self&&e.editMode,expression:"self && editMode"}],attrs:{error:e.formErrors.cock},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Scale",{attrs:{from:"battery-empty",to:"battery-full"}},[n("Slider",{attrs:{options:e.cockOptions,enabled:e.self&&e.editMode},model:{value:e.member.cock,callback:function(t){e.$set(e.member,"cock",t)},expression:"member.cock"}})],1)]}}])}),e._v(" "),n("FormGroup",{directives:[{name:"show",rawName:"v-show",value:e.$user&&!e.$user.hideCircumcision&&e.self&&e.editMode,expression:"$user && !$user.hideCircumcision && self && editMode"}],attrs:{error:e.formErrors.circumcised},scopedSlots:e._u([{key:"default",fn:function(t){return[n("RadioButtonGroup",{attrs:{options:e.circumcisedOptions,classes:"p-2",block:"",eval:""},model:{value:e.member.circumcised,callback:function(t){e.$set(e.member,"circumcised",t)},expression:"member.circumcised"}})]}}])})],1)],1),e._v(" "),n("MasonryGridItem",{directives:[{name:"show",rawName:"v-show",value:null!==e.member.gender||null!==e.member.pronouns||e.self&&e.editMode,expression:"member.gender !== null || member.pronouns !== null || (self && editMode)"}]},[n("Card",{scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 mb-0"},[n("Icon",{attrs:{v:"transgender"}}),e._v("\n "+e._s(e.$t("gender.header"))+"\n ")],1),e._v(" "),e.self&&e.editMode?n("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.member.gender=null,e.member.trans=null,e.member.pronouns=null}}},[n("Icon",{attrs:{v:"trash"}})],1):e._e()]},proxy:!0}])},[e._v(" "),null!==e.member.gender?n("p",{staticClass:"h1 text-center"},[n("small",[e._v("\n "+e._s(e.genderString(e.member))+"\n ")])]):e._e(),e._v(" "),null!==e.member.pronouns?n("p",{staticClass:"h4 text-center"},[n("small",[n("Pronouns",{attrs:{pronouns:e.member.pronouns}})],1)]):e._e(),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.self&&e.editMode,expression:"self && editMode"}]},[n("hr"),e._v(" "),n("FormGroup",{attrs:{error:e.formErrors.gender},scopedSlots:e._u([{key:"default",fn:function(t){return[n("RadioButtonGroup",{attrs:{options:e.genderOptions,classes:"p-2",block:"",eval:""},model:{value:e.member.gender,callback:function(t){e.$set(e.member,"gender",t)},expression:"member.gender"}})]}}])}),e._v(" "),n("FormGroup",{attrs:{error:e.formErrors.trans},scopedSlots:e._u([{key:"default",fn:function(t){return[n("RadioButtonGroup",{attrs:{options:e.transOptions,classes:"p-2",block:"",eval:""},model:{value:e.member.trans,callback:function(t){e.$set(e.member,"trans",t)},expression:"member.trans"}})]}}])}),e._v(" "),n("hr"),e._v(" "),n("FormGroup",{attrs:{error:e.formErrors.pronouns},scopedSlots:e._u([{key:"default",fn:function(t){return[n("p",{staticClass:"small"},[n("SafeHtml",{attrs:{html:e.$t("pronouns.helper")}})],1),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.member.pronouns,expression:"member.pronouns"}],class:t.controlClass,attrs:{type:"text",maxlength:"128"},domProps:{value:e.member.pronouns},on:{input:function(t){t.target.composing||e.$set(e.member,"pronouns",t.target.value)}}})]}}])})],1)])],1),e._v(" "),n("MasonryGridItem",{directives:[{name:"show",rawName:"v-show",value:null!==e.member.age||e.self&&e.editMode,expression:"member.age !== null || (self && editMode)"}]},[n("Card",{scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 mb-0"},[n("Icon",{attrs:{v:"birthday-cake"}}),e._v("\n "+e._s(e.$t("age.header"))+"\n ")],1),e._v(" "),e.self&&e.editMode?n("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.member.birthday=null,e.member.age=null}}},[n("Icon",{attrs:{v:"trash"}}
2)],1):e._e()]},proxy:!0}])},[e._v(" "),null!==e.member.age?n("p",{staticClass:"h1 text-center"},[e._v("\n "+e._s(e.member.age)+"\n ")]):e._e(),e._v(" "),n("hr",{directives:[{name:"show",rawName:"v-show",value:e.self&&e.editMode,expression:"self && editMode"}]}),e._v(" "),n("FormGroup",{directives:[{name:"show",rawName:"v-show",value:e.self&&e.editMode,expression:"self && editMode"}],attrs:{error:e.formErrors.birthday},scopedSlots:e._u([{key:"default",fn:function(t){return[n("DateTimePicker",{attrs:{minDate:e.birthdayMin,maxDate:e.birthdayMax},on:{input:e.birthdayChanged},model:{value:e.member.birthday,callback:function(t){e.$set(e.member,"birthday",t)},expression:"member.birthday"}})]}}])})],1)],1),e._v(" "),n("MasonryGridItem",{directives:[{name:"show",rawName:"v-show",value:null!==e.member.orientation||e.member.orientationType||e.self&&e.editMode,expression:"member.orientation !== null || member.orientationType || (self && editMode)"}]},[n("Card",{scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 mb-0"},[n("Icon",{attrs:{v:"venus-mars"}}),e._v("\n "+e._s(e.$t("orientation.header"))+"\n ")],1),e._v(" "),e.self&&e.editMode?n("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.member.orientation=null,e.member.pan=!1}}},[n("Icon",{attrs:{v:"trash"}})],1):e._e()]},proxy:!0}])},[e._v(" "),null!==e.member.orientation||e.member.orientationType?n("p",{staticClass:"h1 text-center"},[null!==e.member.orientation?[n("RangeIcon",{attrs:{value:e.member.orientation,icon1:"female",icon2:"male"}}
2),e._v(" "),n("br")]:e._e(),e._v(" "),n("small",[e.member.orientationType?[e._v("\n "+e._s(e.$t(-1===e.member.orientationType?"orientation.demisexual":"orientation.asexual"))+"\n ")]:e._e(),e._v("\n "+e._s(e.orientationOptions[e.member.orientation])+"\n ")],2)],2):e._e(),e._v(" "),n("hr",{directives:[{name:"show",rawName:"v-show",value:e.self&&e.editMode,expression:"self && editMode"}]}),e._v(" "),n("FormGroup",{directives:[{name:"show",rawName:"v-show",value:e.self&&e.editMode,expression:"self && editMode"}],attrs:{error:e.formErrors.role},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Scale",{attrs:{from:"female",to:"male"}},[n("Slider",{attrs:{options:e.orientationOptions,enabled:e.self&&e.editMode},model:{value:e.member.orientation,callback:function(t){e.$set(e.member,"orientation",t)},expression:"member.orientation"}})],1)]}}])}),e._v(" "),n("FormGroup",{directives:[{name:"show",rawName:"v-show",value:e.self&&e.editMode,expression:"self && editMode"}],attrs:{error:e.formErrors.pan},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Checkbox",{attrs:{toggle:""},model:{value:e.member.pan,callback:function(t){e.$set(e.member,"pan",t)},expression:"member.pan"}},[e._v("\n "+e._s(e.$t("pan"))+"\n ")])]}}])}),e._v(" "),n("FormGroup",{directives:[{name:"show",rawName:"v-show",value:e.self&&e.editMode,expression:"self && editMode"}],attrs:{error:e.formErrors.ace},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Checkbox",{attrs:{toggle:""},model:{value:e.ace,callback:function(t){e.ace=t},expression:"ace"}},[e._v("\n "+e._s(e.$t("orientation.asexual"))+"\n ")])]}}])}),e._v(" "),n("FormGroup",{directives:[{name:"show",rawName:"v-show",value:e.self&&e.editMode,expression:"self && editMode"}],attrs:{error:e.formErrors.demi},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Checkbox",{attrs:{toggle:""},model:{value:e.demi,callback:function(t){e.demi=t},expression:"demi"}},[e._v("\n "+e._s(e.$t("orientation.demisexual"))+"\n ")])]}}])})],1)],1),e._v(" "),n("MasonryGridItem",{directives:[{name:"show",rawName:"v-show",value:null!==e.member.role||e.self&&e.editMode,expression:"member.role !== null || (self && editMode)"}]},[n("Card",{scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 mb-0"},[n("Icon",{attrs:{v:"fist-raised"}}),e._v("\n "+e._s(e.$t("role.header"))+"\n ")],1),e._v(" "),e.self&&e.editMode?n("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.member.role=null}}},[n("Icon",{attrs:{v:"trash"}})],1):e._e()]},proxy:!0}])},[e._v(" "),null!==e.member.role?n("p",{staticClass:"h1 text-center"},[n("RangeIcon",{attrs:{value:e.member.role,icon1:"pray",icon2:"fist-raised"}}),e._v(" "),n("br"),e._v(" "),n("small",[e._v("\n "+e._s(e.roleOptions[e.member.role])+"\n ")])],1):e._e(),e._v(" "),n("hr",{directives:[{name:"show",rawName:"v-show",value:e.self&&e.editMode,expression:"self && editMode"}]}),e._v(" "),n("FormGroup",{directives:[{name:"show",rawName:"v-show",value:e.self&&e.editMode,expression:"self && editMode"}],attrs:{error:e.formErrors.role},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Scale",{attrs:{from:"pray",to:"fist-raised"}},[n("Slider",{attrs:{options:e.roleOptions,enabled:e.self&&e.editMode},model:{value:e.member.role,callback:function(t){e.$set(e.member,"role",t)},expression:"member.role"}})],1)]}}])})],1)],1),e._v(" "),n("MasonryGridItem",{directives:[{name:"show",rawName:"v-show",value:e.member.country||e.member.province||e.member.city||e.self&&e.editMode,expression:"member.country || member.province || member.city || (self && editMode)"}]},[n("Card",{scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 mb-0"},[n("Icon",{attrs:{v:"map-marker"}}),e._v("\n "+e._s(e.$t("location.header"))+"\n ")],1),e._v(" "),e.self&&e.editMode?n("a",{attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.$refs.locationWidget.clear()}}},[n("Icon",{attrs:{v:"trash"}}
2)],1):e._e()]},proxy:!0}])},[e._v(" "),e.editMode?n("FormGroup",{attrs:{error:e.formErrors._object},scopedSlots:e._u([{key:"default",fn:function(t){return[n("LocationWidget",{ref:"locationWidget",attrs:{model:e.member,controlClass:t.controlClass},on:{changed:e.updateLocation}})]}}])}):n("div",{staticClass:"h3 text-center"},[e.member.country?n("span",[n("Country",{attrs:{code:e.member.country}})],1):e._e(),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.member.province||e.member.city,expression:"member.province || member.city"}]},[n("small",{directives:[{name:"show",rawName:"v-show",value:e.member.province,expression:"member.province"}]},[e._v("\n "+e._s(e.member.province)+"\n ")]),e._v(" "),n("small",{directives:[{name:"show",rawName:"v-show",value:e.member.city,expression:"member.city"}]},[n("br",{directives:[{name:"show",rawName:"v-show",value:e.member.province,expression:"member.province"}]}),e._v("\n "+e._s(e.member.city)+"\n ")])])])],1)],1),e._v(" "),n("MasonryGridItem",{directives:[{name:"show",rawName:"v-show",value:e.member.languages.length||e.self&&e.editMode,expression:"member.languages.length || (self && editMode)"}]},[n("Card",{scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 mb-0"},[n("Icon",{attrs:{v:"language"}}),e._v("\n "+e._s(e.$t("member.languages"))+"\n ")],1),e._v(" "),e.self&&e.editMode?n("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.member.languages=[]}}},[n("Icon",{attrs:{v:"trash"}})],1):e._e()]},proxy:!0}])},[e._v(" "),e.editMode?n("FormGroup",{attrs:{error:e.formErrors.languages},scopedSlots:e._u([{key:"default",fn:function(t){return[e._l(e.member.languages,(function(t,r){return n("div",{staticClass:"row mb-3"},[n("div",{staticClass:"col"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.member.languages[r].lang,expression:"member.languages[i].lang"}],staticClass:"form-control",on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.member.languages[r],"lang",t.target.multiple?n:n[0])}}},[n("option",{attrs:{value:""}}),e._v(" "),e._l(e.allLanguages,(function(t,r){return n("option",{domProps:{value:r}},[e._v("\n "+e._s(t.name)+"\n ("+e._s(t.nativeName)+")\n ")])}))],2)]),e._v(" "),n("div",{staticClass:"col"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.member.languages[r].level,expression:"member.languages[i].level"}],staticClass:"form-control",on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.$set(e.member.languages[r],"level",t.target.multiple?n:n[0])}}},e._l([1,2,3,4,5],(function(t){return n("option",{domProps:{value:t}},[e._v("\n "+e._s(e.$t("member.languages.level."+t))+"\n ")])})),0)])])})),e._v(" "),n("button",{staticClass:"btn btn-success",on:{click:function(t){return e.member.languages.push({lang:null,level:5})}}},[n("Icon",{attrs:{v:"plus"}})],1)]}}])}):n("ul",{staticClass:"list-unstyled"},e._l(e.member.languages,(function(t){return t.lang&&t.level?n("li",[n("span",{class:e.languageLevels[t.level].colour,attrs:{title:e.$t("member.languages.level."+t.level)}},[n("Icon",{attrs:{v:e.languageLevels[t.level].icon}})],1),e._v(" "),n("strong",[e._v("\n "+e._s(e.allLanguages[t.lang].name)+"\n ")]),e._v("\n ("+e._s(e.allLanguages[t.lang].nativeName)+")\n ")]):e._e()})),0)],1)],1),e._v(" "),n("MasonryGridItem",{directives:[{name:"show",rawName:"v-show",value:e.blueskyAccount||e.self&&e.editMode,expression:"blueskyAccount || (self && editMode)"}]},[n("Card",{scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 mb-0"},[n("svg",{staticStyle:{"margin-right":".1em","padding-bottom":".1em"},attrs:{xmlns:"http://www.w3.org/2000/svg","shape-rendering":"geometricPrecision","text-rendering":"geometricPrecision","image-rendering":"optimizeQuality","fill-rule":"evenodd","clip-rule":"evenodd",viewBox:"0 0 511.999 452.266",width:"1em"}}
2,[n("path",{attrs:{fill:"currentColor","fill-rule":"nonzero",d:"M110.985 30.442c58.695 44.217 121.837 133.856 145.013 181.961 23.176-48.105 86.322-137.744 145.016-181.961 42.361-31.897 110.985-56.584 110.985 21.96 0 15.681-8.962 131.776-14.223 150.628-18.272 65.516-84.873 82.228-144.112 72.116 103.55 17.68 129.889 76.238 73 134.8-108.04 111.223-155.288-27.905-167.385-63.554-3.489-10.262-2.991-10.498-6.561 0-12.098 35.649-59.342 174.777-167.382 63.554-56.89-58.562-30.551-117.12 72.999-134.8-59.239 10.112-125.84-6.6-144.112-72.116C8.962 184.178 0 68.083 0 52.402c0-78.544 68.633-53.857 110.985-21.96z"}})]),e._v("\n "+e._s(e.$t("bluesky.account"))+"\n ")])]},proxy:!0}])},[e._v(" "),e.blueskyAccount?n("div",{staticClass:"h3 text-center mb-3"},[e.blueskyAccount.avatar?n("img",{staticClass:"avatar rounded-circle shadow mr-2",staticStyle:{"max-height":"48px","max-width":"48px"},attrs:{src:e.blueskyAccount.avatar}}):e._e(),e._v(" "),n("Twemoji",[n("a",{attrs:{href:"https://bsky.app/profile/"+e.blueskyAccount.handle,target:"_blank",rel:"noopener"}},[e._v("\n "+e._s(e.blueskyAccount.name)+"\n ")])]),e._v(" "),n("small",{staticClass:"ml-2"},[e._v("\n "+e._s(e.blueskyAccount.handle)+"\n ")])],1):e._e(),e._v(" "),e.editMode?n("FormGroup",{attrs:{error:e.formErrors.blueskyServerToggle},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Checkbox",{attrs:{toggle:""},model:{value:e.blueskyServerToggle,callback:function(t){e.blueskyServerToggle=t},expression:"blueskyServerToggle"}},[e._v("\n "+e._s(e.$t("bluesky.hasOwnServer"))+"\n ")])]}}],null,!1,4129298915)}):e._e(),e._v(" "),e.editMode&&e.blueskyServerToggle?n("FormGroup",{attrs:{error:e.formErrors.blueskyServer},scopedSlots:e._u([{key:"default",fn:function(t){return[n("input",{directives:[{name:"model",rawName:"v-model",value:e.blueskyServer,expression:"blueskyServer"}],staticClass:"form-control",attrs:{placeholder:e.$t("bluesky.server")},domProps:{value:e.blueskyServer},on:{input:function(t){t.target.composing||(e.blueskyServer=t.target.value)}}})]}}],null,!1,3557688585)}):e._e(),e._v(" "),e.editMode?n("FormGroup",{attrs:{error:e.formErrors.blueskyUser},scopedSlots:e._u([{key:"default",fn:function(t){return[n("input",{directives:[{name:"model",rawName:"v-model",value:e.blueskyUser,expression:"blueskyUser"}],staticClass:"form-control",attrs:{placeholder:e.$t("bluesky.handleOrDid")},domProps:{value:e.blueskyUser},on:{input:function(t){t.target.composing||(e.blueskyUser=t.target.value)}}})]}}],null,!1,1348168914)}
2):e._e(),e._v(" "),e.editMode?n("FormGroup",{attrs:{error:e.formErrors.blueskyAppPassword},scopedSlots:e._u([{key:"default",fn:function(t){return[n("input",{directives:[{name:"model",rawName:"v-model",value:e.blueskyAppPassword,expression:"blueskyAppPassword"}],staticClass:"form-control",attrs:{placeholder:e.$t("bluesky.appPassword")},domProps:{value:e.blueskyAppPassword},on:{input:function(t){t.target.composing||(e.blueskyAppPassword=t.target.value)}}})]}}],null,!1,324207314)}):e._e(),e._v(" "),e.editMode?n("div",{staticClass:"col-12 small"},[n("Icon",{attrs:{v:"exclamation-triangle"}}),e._v(" "),n("span",{domProps:{innerHTML:e._s(e.$t("bluesky.appPasswordInfo"))}})],1):e._e(),e._v(" "),e.editMode?n("button",{staticClass:"btn btn-outline-success",on:{click:e.verifyBluesky}},[n("Icon",{attrs:{v:"save"}}),e._v("\n "+e._s(e.$t("save"))+"\n ")],1):e._e(),e._v(" "),e.editMode&&e.blueskyAccount?n("button",{staticClass:"btn btn-outline-danger",on:{click:e.removeBluesky}},[n("Icon",{attrs:{v:"trash"}}),e._v("\n "+e._s(e.$t("remove"))+"\n ")],1):e._e()],1)],1),e._v(" "),n("MasonryGridItem",{directives:[{name:"show",rawName:"v-show",value:e.twitterAccount||e.self&&e.editMode,expression:"twitterAccount || (self && editMode)"}]},[n("Card",{scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 mb-0"},[n("Icon",{attrs:{v:"twitter",set:"brand"}}),e._v("\n "+e._s(e.$t("twitter.account"))+"\n ")],1)]},proxy:!0}])},[e._v(" "),e.twitterAccount?n("div",{staticClass:"h3 text-center mb-3"},[e.twitterAccount.avatar?n("img",{staticClass:"avatar rounded-circle shadow mr-2",attrs:{src:e.twitterAccount.avatar}}):e._e(),e._v(" "),n("Twemoji",[n("a",{attrs:{href:"https://twitter.com/"+e.twitterAccount.username,target:"_blank",rel:"noopener"}},[e._v("\n "+e._s(e.twitterAccount.name)+"\n ")])]),e._v(" "),n("small",{staticClass:"ml-2"},[e._v("\n @"+e._s(e.twitterAccount.username)+"\n ")])],1):e._e(),e._v(" "),e.editMode?n("FormGroup",{attrs:{error:e.formErrors.twitterPublic},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Checkbox",{attrs:{toggle:""},model:{value:e.member.twitterPublic,callback:function(t){e.$set(e.member,"twitterPublic",t)},expression:"member.twitterPublic"}},[e._v("\n "+e._s(e.$t("twitter.public"))+"\n ")])]}}],null,!1,1156101335)}):e._e()],1)],1),e._v(" "),e.member.latestPost?n("MasonryGridItem",[n("Card",{scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 mb-0"},[n("Icon",{attrs:{v:"pen-nib"}}),e._v("\n "+e._s(e.$t("posts.latest"))+"\n ")],1)]},proxy:!0},{key:"footer",fn:function(){return[n("small",{staticClass:"float-right"},[n("router-link",{attrs:{to:{name:"memberBlog"}}},[n("Icon",{attrs:{v:"pen-nib"}}),e._v("\n "+e._s(e.$t("showAll"))+"\n "),n("Icon",{attrs:{v:"angle-double-right"}})],1)],1)]},proxy:!0}],null,!1,1995882906)},[e._v(" "),n("PostCard",{attrs:{post:e.member.latestPost,narrow:"",classes:"embeded no-shadow"}})],1)],1):e._e(),e._v(" "),n("MasonryGridItem",{directives:[{name:"show",rawName:"v-show",value:e.member.images.length,expression:"member.images.length"}]},[n("Card",{scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 mb-0"},[n("Icon",{attrs:{v:"camera-alt"}}),e._v("\n "+e._s(e.$t("images.header"))+"\n ")],1)]},proxy:!0},{key:"footer",fn:function(){return[n("small",{staticClass:"float-right"},[n("router-link",{attrs:{to:{name:"memberPics"}}},[n("Icon",{attrs:{v:"camera-alt"}}),e._v("\n "+e._s(e.$t("showAll"))+"\n "),n("Icon",{attrs:{v:"angle-double-right"}})],1)],1)]},proxy:!0}])},[e._v(" "),n("div",[n("MasonryGrid",e._l(e.member.images,(function(e){return n("MasonryGridItem",{key:e.id,attrs:{classes:"p-1"}},[n("Picture",{attrs:{image:e,type:"thumb"}})],1)})),1)],1)])],1),e._v(" "),e.$user&&e.$user.admin?n("MasonryGridItem",[n("Card",{scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 mb-0"},[n("Icon",{attrs:{v:"envelope"}}),e._v("\n "+e._s(e.$t("messages.header"))+"\n ")],1)]},proxy:!0}],null,!1,1704157408)},[e._v(" "),n("div",{staticClass:"alert alert-info"},[n("small",[e._v("Displayed only to admins in order to detect spam. Only the most recent messages, only sent ones, with no context.")])]),e._v(" "),e._l(e.messages,(function(t){return n("div",{staticClass:"rounded border small p-2 mb-2"},[n("div",[e._l(JSON.parse(t.content).blocks,(function(e,t){return n("PostBlock",{key:t,attrs:{type:e.type,data:e.data}})})),e._v(" "),e._l(t.fromParticipant.conversation.participants,(function(t){return n("small",[t.user.username!==e.member.username?n("router-link",{attrs:{to:{name:"memberProfile",params:{username:t.user.username}}}},[e._v("\n "+e._s(t.user.username)+"\n ")]):e._e(
2)],1)}))],2)])}))],2)],1):e._e()],2)],1)};V_._withStripped=!0;var G_=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"form-group"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.country,expression:"country"}],class:e.controlClass,on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.country=t.target.multiple?n:n[0]}}},[n("option",{staticClass:"placeholder",attrs:{value:""}},[e._v(e._s(e.$t("country")))]),e._v(" "),e._l(e.countries,(function(t){return n("option",{domProps:{value:t.code}},[e._v(e._s(t.name))])}))],2)]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.country&&e.getProvinces(e.country)&&e.getProvinces(e.country).length>0,expression:"country && getProvinces(country) && getProvinces(country).length > 0"}],staticClass:"form-group"},[n("select",{directives:[{name:"model",rawName:"v-model",value:e.province,expression:"province"}],class:e.controlClass,on:{change:function(t){var n=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){return"_value"in e?e._value:e.value}));e.province=t.target.multiple?n:n[0]}}},[n("option",{staticClass:"placeholder",attrs:{value:""}},[e._v(e._s(e.$t("province")))]),e._v(" "),e._l(e.getProvinces(e.country),(function(t){return n("option",{domProps:{value:t}},[e._v(e._s(t))])}))],2)]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.province||e.country&&(!e.getProvinces(e.country)||!e.getProvinces(e.country).length),expression:"province || (country && (!getProvinces(country) || !getProvinces(country).length))"}],staticClass:"form-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.city,expression:"city"}],class:e.controlClass,attrs:{placeholder:e.$t("city")},domProps:{value:e.city},on:{input:function(t){t.target.composing||(e.city=t.target.value)}}})])])};function W_(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Y_(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Y_(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function Y_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}G_._withStripped=!0;var K_=Ca({components:{FormGroup:Za},props:{model:{required:!0},controlClass:{required:!0}},data:function(){return{countries:[],country:this.model.country,province:this.model.province,city:this.model.city,formErrors:[]}},mounted:function(){var e=this;this.$cache.get("countries").then((function(t){e.countries=t.data.countries}))},methods:{getProvinces:function(e){var t,n=W_(this.countries);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.code===e)return r.provinces}}catch(e){n.e(e)}finally{n.f()}},clear:function(){this.country=null}},watch:{country:function(){this.province=null,this.city=null,this.$emit("changed","country",this.country)},province:function(){this.city=null,this.$emit("changed","province",this.province)},city:function(){this.$emit("changed","city",this.city)}}},G_,[],!1,null,null,null);K_.options.__file="components/widgets/LocationWidget.vue";const Q_=K_.exports;var J_=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"slider form-group"},[n("div",{staticClass:"line"}),e._v(" "),n("div",{staticClass:"scale"}
2,e._l(e.options,(function(t,r){return n("div",{staticClass:"option custom-control custom-radio",attrs:{"data-toggle":"tooltip",title:t,"data-container":"body","data-html":"true","data-placement":"bottom"}},[n("input",{staticClass:"custom-control-input",attrs:{type:"radio",id:e.id+"-"+r,name:e.id,disabled:!e.enabled},domProps:{checked:r==e.selected},on:{input:function(t){return e.updateValue(r)}}}),e._v(" "),n("label",{staticClass:"custom-control-label",attrs:{for:e.id+"-"+r}})])})),0)])};J_._withStripped=!0;var Z_=Ca({props:{value:{required:!0},options:{required:!0},enabled:{type:Boolean,default:!0}},data:function(){return{id:es(6),selected:this.value}},methods:{updateValue:function(e){this.selected=e,this.$emit("input",e)}},mounted:function(){Xo()(this.$el).find('[data-toggle="tooltip"]').tooltip()},watch:{value:function(){this.selected=this.value}}},J_,[],!1,null,"0f5d19dc",null);Z_.options.__file="components/widgets/Slider.vue";const X_=Z_.exports;var ew=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"d-flex"},[n("div",{staticClass:"px-3"},[n("Icon",{attrs:{v:e.from}})],1),e._v(" "),n("div",{staticClass:"flex-grow-1"},[e._t("default")],2),e._v(" "),n("div",{staticClass:"px-3"},[n("Icon",{attrs:{v:e.to}})],1)])};ew._withStripped=!0;var tw=Ca({props:{from:{required:!0},to:{required:!0}}},ew,[],!1,null,null,null);tw.options.__file="components/widgets/Scale.vue";const nw=tw.exports;var rw,ow=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{class:e.vertical?"list-unstyled":"list-inline"},e._l(e.connectionOptions,(function(t,r){return n("li",{directives:[{name:"show",rawName:"v-show",value:"follower"!==r&&e.allowsRequests(r)||!0===t,expression:"(type !== 'follower' && allowsRequests(type)) || accepted === true"}],class:e.vertical?"mb-2":"list-inline-item"},[n("button",{class:["btn btn-sm","btn-"+(!0===t?"":"outline-")+e.relations[r].color,"follower"===r?"disabled":"",e.vertical?"btn-block":""],attrs:{title:e.needsMoreInfo(r,t)?e.$t("relation."+r+".apply.tooltip",{username:e.toMember.username}):""},on:{click:function(n){return n.preventDefault(),e.toggle(r,null===t)}}},[e.saving[r]?n("span",[n("Spinner")],1):n("span",[n("Icon",{attrs:{v:e.relations[r].icon}}),e._v("\n "+e._s(e.$t("relation."+r+e.getTranslationForState(t)))+"\n ")],1)])])})),0)};ow._withStripped=!0;const iw={components:{Spinner:Da},props:{fromMember:{},toMember:{},connections:{},options:{default:null},vertical:{type:Boolean}},data:function(){return{relations:Pp,connectionOptions:this.buildConnectionOptions(),saving:{}}},methods:{buildConnectionOptions:function(){var e=this.options||{follower:null,followee:null,known:null,keyholder:null,sub:null};return ba(this.connections,(function(t){var n=t.relationOfCounterpart;"knows"===n&&(n="known"),void 0!==e[n]&&(e[n]=t.accepted)})),e},getButtonClass:function(e,t){var n=["btn"];return n.push(),n},getTranslationForState:function(e){return!0===e?".you":!1===e?".pending":null===e?".apply":void 0},toggle:function(e,t){var n=this;if("follower"===e)return!1;var r=function(){var r,o;n.saving[e]=!0,n.$forceUpdate(),n.$apollo.mutate({mutation:ma(rw||(r=["\n mutation MakeConnection($username: String!, $relation: String!, $active: Boolean!) {\n connection: makeConnection(username: $username, relation: $relation, active: $active) {\n accepted\n }\n }\n "],o||(o=r.slice(0)),rw=Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}})))),variables:{username:n.toMember.username,relation:e,active:t}}).then((function(t){n.connectionOptions[e]=t.data.connection?t.data.connection.accepted:null,n.saving[e]=!1})).catch((function(t){console.error(t),n.saving[e]=!1}))};this.needsMoreInfo(e,!!t&&null)?this.$confirm(this.$t("relation.".concat(e,".apply.confirm"),{username:this.toMember.username})).then((function(e){r()})):t?r():this.$confirm(this.$t("relation.".concat(e,".confirmStop"),{username:this.toMember.username})).then((function(e){r()}))},needsMoreInfo:function(e,t){return["keyholder","sub"].includes(e)&&null===t},allowsRequests:function(e){return"keyholder"===e?this.toMember.allowKeyholderRequests:"sub"===e?this.toMember.allowSubRequests:"known"!==e||this.toMember.allowKnownRequests}}};var aw=Ca(iw,ow,[],!1,null,null,null);aw.options.__file="components/fragments/Connections.vue";const sw=aw.exports,lw={ab:{name:"Abkhaz",nativeName:"аҧÑÑа"},aa:{name:"Afar",nativeName:"Afaraf"},af:{name:"Afrikaans",nativeName:"Afrikaans"},ak:{name:"Akan",nativeName:"Akan"}
2,sq:{name:"Albanian",nativeName:"Shqip"},am:{name:"Amharic",nativeName:"á ááá"},ar:{name:"Arabic",nativeName:"Ø§ÙØ¹Ø±Ø¨ÙØ©"},an:{name:"Aragonese",nativeName:"Aragonés"},hy:{name:"Armenian",nativeName:"ÕÕ¡ÕµÕ¥ÖÕ¥Õ¶"},as:{name:"Assamese",nativeName:"à¦
সমà§à¦¯à¦¼à¦¾"},av:{name:"Avaric",nativeName:"Ð°Ð²Ð°Ñ Ð¼Ð°ÑÓ, магÓаÑÑл маÑÓ"},ae:{name:"Avestan",nativeName:"avesta"},ay:{name:"Aymara",nativeName:"aymar aru"},az:{name:"Azerbaijani",nativeName:"azÉrbaycan dili"},bm:{name:"Bambara",nativeName:"bamanankan"},ba:{name:"Bashkir",nativeName:"баÑҡоÑÑ Ñеле"},eu:{name:"Basque",nativeName:"euskara, euskera"},be:{name:"Belarusian",nativeName:"ÐелаÑÑÑкаÑ"},bn:{name:"Bengali",nativeName:"বাà¦à¦²à¦¾"},bh:{name:"Bihari",nativeName:"à¤à¥à¤à¤ªà¥à¤°à¥"},bi:{name:"Bislama",nativeName:"Bislama"},bs:{name:"Bosnian",nativeName:"bosanski jezik"},br:{name:"Breton",nativeName:"brezhoneg"},bg:{name:"Bulgarian",nativeName:"бÑлгаÑÑки език"},my:{name:"Burmese",nativeName:"ááá¬á
á¬"},ca:{name:"Catalan; Valencian",nativeName:"Català "},ch:{name:"Chamorro",nativeName:"Chamoru"},ce:{name:"Chechen",nativeName:"ноÑ
Ñийн моÑÑ"},ny:{name:"Chichewa; Chewa; Nyanja",nativeName:"chiCheŵa, chinyanja"},zh:{name:"Chinese",nativeName:"䏿 (ZhÅngwén), æ±è¯, æ¼¢èª"},cv:{name:"Chuvash",nativeName:"ÑÓÐ²Ð°Ñ ÑÓлÑ
и"},kw:{name:"Cornish",nativeName:"Kernewek"},co:{name:"Corsican",nativeName:"corsu, lingua corsa"},cr:{name:"Cree",nativeName:"áá¦ááááá£"},hr:{name:"Croatian",nativeName:"hrvatski"},cs:{name:"Czech",nativeName:"Äesky, ÄeÅ¡tina"},da:{name:"Danish",nativeName:"dansk"},dv:{name:"Divehi; Dhivehi; Maldivian;",nativeName:"ÞÞ¨ÞÞ¬ÞÞ¨"},nl:{name:"Dutch",nativeName:"Nederlands, Vlaams"},en:{name:"English",nativeName:"English"},eo:{name:"Esperanto",nativeName:"Esperanto"},et:{name:"Estonian",nativeName:"eesti, eesti keel"},ee:{name:"Ewe",nativeName:"EÊegbe"},fo:{name:"Faroese",nativeName:"føroyskt"},fj:{name:"Fijian",nativeName:"vosa Vakaviti"},fi:{name:"Finnish",nativeName:"suomi, suomen kieli"},fr:{name:"French",nativeName:"français, langue française"},ff:{name:"Fula; Fulah; Pulaar; Pular",nativeName:"Fulfulde, Pulaar, Pular"},gl:{name:"Galician",nativeName:"Galego"},ka:{name:"Georgian",nativeName:"á¥áá áá£áá"},de:{name:"German",nativeName:"Deutsch"},el:{name:"Greek, Modern",nativeName:"Îλληνικά"},gn:{name:"GuaranÃ",nativeName:"Avañeẽ"},gu:{name:"Gujarati",nativeName:"àªà«àªàª°àª¾àª¤à«"},ht:{name:"Haitian; Haitian Creole",nativeName:"Kreyòl ayisyen"},ha:{name:"Hausa",nativeName:"Hausa, ÙÙÙÙØ³Ù"},he:{name:"Hebrew (modern)",nativeName:"×¢×ר×ת"},hz:{name:"Herero",nativeName:"Otjiherero"},hi:{name:"Hindi",nativeName:"हिनà¥à¤¦à¥, हिà¤à¤¦à¥"},ho:{name:"Hiri Motu",nativeName:"Hiri Motu"},hu:{name:"Hungarian",nativeName:"Magyar"},ia:{name:"Interlingua",nativeName:"Interlingua"},id:{name:"Indonesian",nativeName:"Bahasa Indonesia"},ie:{name:"Interlingue",nativeName:"Interlingua"},ga:{name:"Irish",nativeName:"Gaeilge"},ig:{name:"Igbo",nativeName:"Asụsụ Igbo"},ik:{name:"Inupiaq",nativeName:"Iñupiaq, Iñupiatun"},io:{name:"Ido",nativeName:"Ido"},is:{name:"Icelandic",nativeName:"Ãslenska"},it:{name:"Italian",nativeName:"Italiano"},iu:{name:"Inuktitut",nativeName:"áááááá¦"},ja:{name:"Japanese",nativeName:"æ¥æ¬èª (ã«ã»ããï¼ã«ã£ã½ãã)"},jv:{name:"Javanese",nativeName:"basa Jawa"},kl:{name:"Kalaallisut, Greenlandic",nativeName:"kalaallisut, kalaallit oqaasii"},kn:{name:"Kannada",nativeName:"à²à²¨à³à²¨à²¡"},kr:{name:"Kanuri",nativeName:"Kanuri"},ks:{name:"Kashmiri",nativeName:"à¤à¤¶à¥à¤®à¥à¤°à¥, ÙØ´Ù
ÙØ±Ùâ"},kk:{name:"Kazakh",nativeName:"ÒÐ°Ð·Ð°Ò ÑÑлÑ"},km:{name:"Khmer",nativeName:"áá¶áá¶ááááá"},ki:{name:"Kikuyu, Gikuyu",nativeName:"GÄ©kÅ©yÅ©"},rw:{name:"Kinyarwanda",nativeName:"Ikinyarwanda"},ky:{name:"Kirghiz, Kyrgyz",nativeName:"кÑÑгÑз Ñили"},kv:{name:"Komi",nativeName:"коми кÑв"},kg:{name:"Kongo",nativeName:"KiKongo"},ko:{name:"Korean",nativeName:"íêµì´ (éåèª), ì¡°ì ë§ (æé®®èª)"},ku:{name:"Kurdish",nativeName:"Kurdî, ÙÙØ±Ø¯Ûâ"},kj:{name:"Kwanyama, Kuanyama",nativeName:"Kuanyama"},la:{name:"Latin",nativeName:"latine, lingua latina"},lb:{name:"Luxembourgish, Letzeburgesch",nativeName:"Lëtzebuergesch"},lg:{name:"Luganda",nativeName:"Luganda"},li:{name:"Limburgish, Limburgan, Limburger",nativeName:"Limburgs"},ln:{name:"Lingala",nativeName:"Lingála"},lo:{name:"Lao",nativeName:"àºàº²àºªàº²àº¥àº²àº§"}
2,lt:{name:"Lithuanian",nativeName:"lietuvių kalba"},lu:{name:"Luba-Katanga",nativeName:""},lv:{name:"Latvian",nativeName:"latvieÅ¡u valoda"},gv:{name:"Manx",nativeName:"Gaelg, Gailck"},mk:{name:"Macedonian",nativeName:"македонÑки Ñазик"},mg:{name:"Malagasy",nativeName:"Malagasy fiteny"},ms:{name:"Malay",nativeName:"bahasa Melayu, Ø¨ÙØ§Ø³ Ù
ÙØ§ÙÙâ"},ml:{name:"Malayalam",nativeName:"മലയാളà´"},mt:{name:"Maltese",nativeName:"Malti"},mi:{name:"MÄori",nativeName:"te reo MÄori"},mr:{name:"Marathi (MarÄá¹hÄ«)",nativeName:"मराठà¥"},mh:{name:"Marshallese",nativeName:"Kajin M̧ajeļ"},mn:{name:"Mongolian",nativeName:"монгол"},na:{name:"Nauru",nativeName:"EkakairÅ© Naoero"},nv:{name:"Navajo, Navaho",nativeName:"Diné bizaad, DinékʼehǰÃ"},nb:{name:"Norwegian BokmÃ¥l",nativeName:"Norsk bokmÃ¥l"},nd:{name:"North Ndebele",nativeName:"isiNdebele"},ne:{name:"Nepali",nativeName:"नà¥à¤ªà¤¾à¤²à¥"},ng:{name:"Ndonga",nativeName:"Owambo"},nn:{name:"Norwegian Nynorsk",nativeName:"Norsk nynorsk"},no:{name:"Norwegian",nativeName:"Norsk"},ii:{name:"Nuosu",nativeName:"êê ê¿ Nuosuhxop"},nr:{name:"South Ndebele",nativeName:"isiNdebele"},oc:{name:"Occitan",nativeName:"Occitan"},oj:{name:"Ojibwe, Ojibwa",nativeName:"ááááá¯á§áá"},cu:{name:"Old Church Slavonic",nativeName:"ѩзÑÐºÑ ÑловѣнÑÑкÑ"},om:{name:"Oromo",nativeName:"Afaan Oromoo"},or:{name:"Oriya",nativeName:"à¬à¬¡à¬¼à¬¿à¬"},os:{name:"Ossetian, Ossetic",nativeName:"иÑон æвзаг"},pa:{name:"Panjabi, Punjabi",nativeName:"ਪੰà¨à¨¾à¨¬à©, Ù¾ÙØ¬Ø§Ø¨Ûâ"},pi:{name:"PÄli",nativeName:"पाऴि"},fa:{name:"Persian",nativeName:"ÙØ§Ø±Ø³Û"},pl:{name:"Polish",nativeName:"polski"},ps:{name:"Pashto, Pushto",nativeName:"Ù¾ÚØªÙ"},pt:{name:"Portuguese",nativeName:"Português"},qu:{name:"Quechua",nativeName:"Runa Simi, Kichwa"},rm:{name:"Romansh",nativeName:"rumantsch grischun"},rn:{name:"Kirundi",nativeName:"kiRundi"},ro:{name:"Romanian, Moldavian, Moldovan",nativeName:"românÄ"},ru:{name:"Russian",nativeName:"ÑÑÑÑкий ÑзÑк"},sa:{name:"Sanskrit (Saá¹ská¹ta)",nativeName:"सà¤à¤¸à¥à¤à¥à¤¤à¤®à¥"}
2,sc:{name:"Sardinian",nativeName:"sardu"},sd:{name:"Sindhi",nativeName:"सिनà¥à¤§à¥, سÙÚÙØ Ø³ÙØ¯Ú¾Ûâ"},se:{name:"Northern Sami",nativeName:"Davvisámegiella"},sm:{name:"Samoan",nativeName:"gagana faa Samoa"},sg:{name:"Sango",nativeName:"yângâ tî sängö"},sr:{name:"Serbian",nativeName:"ÑÑпÑки Ñезик"},gd:{name:"Scottish Gaelic; Gaelic",nativeName:"Gà idhlig"},sn:{name:"Shona",nativeName:"chiShona"},si:{name:"Sinhala, Sinhalese",nativeName:"à·à·à¶à·à¶½"},sk:{name:"Slovak",nativeName:"slovenÄina"},sl:{name:"Slovene",nativeName:"slovenÅ¡Äina"},so:{name:"Somali",nativeName:"Soomaaliga, af Soomaali"},st:{name:"Southern Sotho",nativeName:"Sesotho"},es:{name:"Spanish; Castilian",nativeName:"español, castellano"},su:{name:"Sundanese",nativeName:"Basa Sunda"},sw:{name:"Swahili",nativeName:"Kiswahili"},ss:{name:"Swati",nativeName:"SiSwati"},sv:{name:"Swedish",nativeName:"svenska"},ta:{name:"Tamil",nativeName:"தமிழà¯"},te:{name:"Telugu",nativeName:"à°¤à±à°²à±à°à±"},tg:{name:"Tajik",nativeName:"Ñоҷикӣ, toÄikÄ«, تاجÛÚ©Ûâ"},th:{name:"Thai",nativeName:"à¹à¸à¸¢"},ti:{name:"Tigrinya",nativeName:"áµááá"},bo:{name:"Tibetan Standard, Tibetan, Central",nativeName:"à½à½¼à½à¼à½¡à½²à½"},tk:{name:"Turkmen",nativeName:"Türkmen, ТүÑкмен"},tl:{name:"Tagalog",nativeName:"Wikang Tagalog, áááá
á áááááá"},tn:{name:"Tswana",nativeName:"Setswana"},to:{name:"Tonga (Tonga Islands)",nativeName:"faka Tonga"},tr:{name:"Turkish",nativeName:"Türkçe"},ts:{name:"Tsonga",nativeName:"Xitsonga"},tt:{name:"Tatar",nativeName:"ÑаÑаÑÑа, tatarça, ØªØ§ØªØ§Ø±ÚØ§â"},tw:{name:"Twi",nativeName:"Twi"},ty:{name:"Tahitian",nativeName:"Reo Tahiti"},ug:{name:"Uighur, Uyghur",nativeName:"UyÆ£urqÉ, ئÛÙØºÛرÚÛâ"},uk:{name:"Ukrainian",nativeName:"ÑкÑаÑнÑÑка"},ur:{name:"Urdu",nativeName:"اردÙ"},uz:{name:"Uzbek",nativeName:"zbek, Ðзбек, Ø£ÛØ²Ø¨ÛÙâ"},ve:{name:"Venda",nativeName:"Tshivená¸a"},vi:{name:"Vietnamese",nativeName:"Tiếng Viá»t"},vo:{name:"Volapük",nativeName:"Volapük"},wa:{name:"Walloon",nativeName:"Walon"},cy:{name:"Welsh",nativeName:"Cymraeg"},wo:{name:"Wolof",nativeName:"Wollof"},fy:{name:"Western Frisian",nativeName:"Frysk"},xh:{name:"Xhosa",nativeName:"isiXhosa"},yi:{name:"Yiddish",nativeName:"××Ö´××ש"},yo:{name:"Yoruba",nativeName:"Yorùbá"},za:{name:"Zhuang, Chuang",nativeName:"Saɯ cueÅÆ
, Saw cuengh"}};var cw=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Card",{scopedSlots:e._u([{key:"header",fn:function(){return[n("h3",{staticClass:"h4 mb-0"},[e.locktober.user?n("router-link",{attrs:{to:{name:"memberProfile",params:{username:e.locktober.user.username}}}},[n("Avatar",{attrs:{member:e.locktober.user,size:"2rem"}}),e._v(" "),n("Username",{attrs:{user:e.locktober.user}}),e._v(" "),n("Status",{attrs:{user:e.locktober.user}})],1):[n("Icon",{attrs:{v:"calendar-star"}}),e._v("\n "+e._s(e.$t("locktober.name"))+"\n "+e._s(e.locktober.year)+"\n ")],e._v(" "),n("AdminerLink",{attrs:{table:"locktober",value:e.locktober.id}})],2)]},proxy:!0}])},[e._v(" "),null===e.locktober.result?n("div",[e.self?[n("LocktoberManage",{attrs:{locktober:e.locktober,status:3}})]:n("LocktoberProgressDetails",{attrs:{params:e.params}})],2):0===e.locktober.result?n("div",[n("div",{staticClass:"text-center p-4"},[n("Icon",{attrs:{v:"thumbs-down",size:"5"}}),e._v(" "),n("div",{staticClass:"mt-4"},[e._v("\n "+e._s(e.$t("locktober.result.0"))+"\n "),e.details?e._e():n("button",{staticClass:"btn btn-outline-primary btn-sm",on:{click:function(t){e.details=!0}}},[n("Icon",{attrs:{v:"info-circle"}})],1)])],1),e._v(" "),e.details?n("LocktoberProgressDetails",{attrs:{params:e.params}}):e._e()],1):1===e.locktober.result?n("div",[n("div",{staticClass:"text-center p-4"},[n("Icon",{attrs:{v:"trophy",size:"5"}}),e._v(" "),n("div",{staticClass:"mt-4"},[e._v("\n "+e._s(e.$t("locktober.result.1"))+"\n "),e.details?e._e():n("button",{staticClass:"btn btn-outline-primary btn-sm",on:{click:function(t){e.details=!0}}},[n("Icon",{attrs:{v:"info-circle"}}
2)],1)])],1),e._v(" "),e.details?n("LocktoberProgressDetails",{attrs:{params:e.params}}):e._e()],1):2===e.locktober.result?n("div",[n("div",{staticClass:"text-center p-4"},[n("Icon",{attrs:{v:"trophy-alt",size:"5"}}),e._v(" "),n("div",{staticClass:"mt-4"},[e._v("\n "+e._s(e.$t("locktober.result.2"))+"\n "),e.details?e._e():n("button",{staticClass:"btn btn-outline-primary btn-sm",on:{click:function(t){e.details=!0}}},[n("Icon",{attrs:{v:"info-circle"}})],1)])],1),e._v(" "),e.details?n("LocktoberProgressDetails",{attrs:{params:e.params}}):e._e()],1):e._e()])};cw._withStripped=!0;var uw=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticClass:"list-unstyled"},e._l(Array(31).keys(),(function(t){return n("li",[n("span",{staticClass:"badge badge-primary"},[e._v(e._s(t+1))]),e._v(" "),void 0===e.params[t+1]?n("span",[n("Icon",{attrs:{v:"ellipsis-h"}})],1):e.params[t+1][1]?"number"==typeof e.params[t+1][0]?n("span",[e._v("\n +"+e._s(e.params[t+1][0])+"h\n ")]):n("span",[e._v("\n "+e._s(e.params[t+1][0])+"\n ")]):n("span",[t+1===e.lastDay?n("span",{staticClass:"badge badge-warning"},[n("Icon",{attrs:{v:"alarm-clock"}})],1):n("span",{staticClass:"badge badge-danger"},[n("Icon",{attrs:{v:"exclamation-triangle"}}),e._v("\n "+e._s(e.$t("locktober.missed"))+"\n ")],1)])])})),0)};uw._withStripped=!0;var dw=Ca({props:{params:{required:!0}},methods:{lastDay:function(){var e=Object.keys(this.params);return e.length?parseInt(e[e.length-1]):0}}},uw,[],!1,null,null,null);dw.options.__file="components/fragments/Locktober/LocktoberProgressDetails.vue";var fw=Ca({components:{LocktoberProgressDetails:dw.exports,Status:tc,Username:Zl,Avatar:Xs,LocktoberManage:Nh,Card:wp,AdminerLink:Gp},props:{locktober:{required:!0},self:{type:Boolean}},data:function(){return{details:!1}},computed:{params:function(){return JSON.parse(this.locktober.params)},lastDay:function(){var e=Object.keys(this.params);return e.length?parseInt(e[e.length-1]):0}}},cw,[],!1,null,null,null);fw.options.__file="components/fragments/Locktober/LocktoberProgress.vue";const pw=fw.exports;var hw=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.account?n("div",[n("Icon",{attrs:{v:"tags"}}),e._v(" "),n("a",{attrs:{href:e.base+"/@"+e.account,target:"_blank",rel:"noopener"}},[e._v("pronouns.page/@"+e._s(e.account))]),e._v(" "),e.accountData?n("ul",{staticClass:"list-unstyled mt-3 text-left"},e._l(e.accountData.profiles,(function(t,r){return n("li",[n("strong",[e._v(e._s(e.versions[r].name)+":")]),e._v(" "),e._l(t.pronouns,(function(t,o){return t>=0?n("a",{attrs:{href:e.versions[r].url+"/"+o,target:"_blank",rel:"noopener"}},[e._v("\n "+e._s(e.linkDisplayRelative(o))+"\n ")]):e._e()}))],2)})),0):e._e()],1):n("div",[n("Icon",{attrs:{v:"tags"}}),e._v(" "),e.linkDisplay(e.pronouns)?n("a",{attrs:{href:e.pronouns,target:"_blank",rel:"noopener"}},[e._v(e._s(e.linkDisplay(e.pronouns)))]):n("span",[e._v(e._s(e.pronouns))])],1)};function mw(e){return mw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mw(e)}function vw(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return gw(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g
vendor: 4,575 bytes, line 2
2w(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function gw(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function yw(){yw=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,a=Object.create(i.prototype),s=new A(r||[]);return o(a,"_invoke",{value:E(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var f="suspendedStart",p="suspendedYield",h="executing",m="completed",v={};function g(){}function y(){}function b(){}var _={};c(_,a,(function(){return this}));var w=Object.getPrototypeOf,k=w&&w(w(D([])));k&&k!==n&&r.call(k,a)&&(_=k);var x=b.prototype=g.prototype=Object.create(_);function C(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(o,i,a,s){var l=d(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==mw(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function E(t,n,r){var o=f;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=T(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===f)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?m:p,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=m,r.method="throw",r.arg=c.arg)}}}function T(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,T(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function D(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(mw(t)+" is not iterable")}return y.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},C(S.prototype),c(S.prototype,s,(function(){return this})),t.AsyncIterator=S,t.async=function(e,n,r,o,i){void 0===i&&(i=Prom
2ise);var a=new S(u(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},C(x),c(x,l,"Generator"),c(x,a,(function(){return this})),c(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=D,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),I(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;I(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:D(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function bw(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function _w(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){bw(i,r,o,a,s,"next",e)}function s(e){bw(i,r,o,a,s,"throw",e)}a(void 0)}))}}hw._withStripped=!0;var ww="https://pronouns.page";var kw=Ca({props:{pronouns:{}},data:function(){return{base:ww,versions:null,domains:null,account:null,accountData:null}},mounted:function(){var e=this;return _w(yw().mark((function t(){return yw().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$cache.fetch("pronounspage-versions",fetch(ww+"/api/versions"),86400);case 2:return e.versions=t.sent,t.next=5,e.init();case 5:case"end":return t.stop()}}),t)})))()},methods:{init:function(){var e=this;return _w(yw().mark((function t(){return yw().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.domains=e.calcDomains(),e.account=e.calcAccount(),t.next=4,e.fetchAccountData();case 4:e.accountData=t.sent;case 5:case"end":return t.stop()}}),t)})))()},calcDomains:function(){var e=[ww];for(var t in this.versions||{})this.versions.hasOwnProperty(t)&&e.push(this.versions[t].url);return e},calcAccount:function(){if(this.pronouns.startsWith("@"))return this.pronouns.substring(1);var e,t=vw(this.domains);try{for(t.s();!(e=t.n()).done;){var n=e.value;if(this.pronouns.startsWith(n+"/@"))return this.pronouns.substring(n.length+2)}}catch(e){t.e(e)}finally{t.f()}return null},fetchAccountData:function(){var e=this;return _w(yw().mark((function t(){return yw().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.account){t.next=2;break}return t.abrupt("return",null);case 2:return t.next=4,e.$cache.fetch("pronounspage-@"+e.account,fetch(ww+"/api/profile/get/"+e.account),86400);case 4:return t.abrupt("return",t.sent);case 5:case"end":return t.stop()}}),t)})))()},linkDisplay:function(e){if(!this.domains)return null;var t,n=vw(this.domains);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(e.startsWith(r+"/"))return this.linkDisplayRelative(e.substring(r.length+1))}}catch(e){n.e(e)}finally{n.f()}return null},linkDisplayRelative:function(e){return-1!==e.indexOf(",")?e.substr(0,e.indexOf(",")):e.split("/").slice(0,2).join("/")}},watch:{pronouns:function(){this.init()}}},hw,[],!1,null,null,null);kw.options.__file="components/widgets/Pronouns.vue";var xw,Cw,Sw,Ew,Tw,Ow;function Iw(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Aw=Ca({components:{FormGroup:Za,LocationWidget:Q_,Slider:X_,Scale:nw,MasonryGrid:bh,MasonryGridItem:kh,Card:wp,Twemoji:Ol,Checkbox:ns,ChastityPeriod:fh,Spinner:Da,Picture:_l,Username:Zl,Avatar:Xs,Relation:$p,Country:Tp,RangeIcon:Ap,Connections:sw,Status:tc,PostCard:Mv,RadioButtonGroup:Nm,ImpersonationStart:Fp,ProgressBar:zp,SafeHtml:xl,ProfileCompleteness:Sh,DateTimePicker:Ab,Translate:Tv,AdminerLink:Gp,LocktoberProgress:pw,PostBlock:Al,Pronouns:kw.exports},data:function(){return{member:this.$parent.member,originalMember:Object.assign({},this.$parent.member),self:this.$user&&this.$user.username===this.$parent.member.username,editMode:!1,saving:!1,formErrors:{},successMessage:"",errorMessage:"",twitterAccount:this.$parent.member.twitterAccount?JSON.parse(this.$parent.member.twitterAccount):null,blueskyAccount:this.$parent.member.blueskyAccount?JSON.parse(this.$parent.member.blueskyAccount):null,blueskyUser:this.$parent.member.blueskyAccount?JSON.parse(this.$parent.member.blueskyAccount).handle:null,blueskyAppPassword:null,blueskyServer:null,blueskyServerToggle:!1,birthdayMin:tl.c9.fromISO("1900-01-01"),birthdayMax:tl.c9.local().minus(tl.dw.fromObject({years:18})),countries:[],cockOptions:{0:this.$t("cock.none"),1:'XS<br/>< 9 cm<br/>< 3.5"',2:'S<br/>9 cm â 12 cm<br/>3,5" â 5"',3:'M<br/>12 cm â 15 cm<br/>5" â 6"',4:'L<br/>
215 cm â 18 cm<br/>6" â 7"',5:'XL<br/>18 cm â 21 cm<br/>7" â 8.5"',6:'XXL<br/>> 21cm<br/>> 8.5"'},circumcisedOptions:{null:this.$t("cock.circumcised.empty"),false:this.$t("cock.circumcised.0"),true:this.$t("cock.circumcised.1")},roleOptions:{0:this.$t("role.0"),1:this.$t("role.1"),2:this.$t("role.2"),3:this.$t("role.3"),4:this.$t("role.4"),5:this.$t("role.5"),6:this.$t("role.6")},transOptions:{false:this.$t("cisTrans.cis",{gender:""}),true:this.$t("cisTrans.trans",{gender:""}),null:this.$t("cisTrans.empty",{gender:""})},genderOptions:{0:this.$t("gender.male"),1:this.$t("gender.female"),2:this.$t("gender.nonBinary")},internalOptions:{true:{name:"internal",icon:"user-shield"},false:{name:"public",icon:"globe-africa"}},profileCompleteness:0,allLanguages:lw,languageLevels:{1:{icon:"battery-empty",colour:"text-muted"},2:{icon:"battery-quarter",colour:"text-tertiary"},3:{icon:"battery-half",colour:"text-warning"},4:{icon:"battery-three-quarters",colour:"text-success"},5:{icon:"battery-full",colour:"text-success"}},bannedUntil:this.$parent.member.bannedUntilAdmin?tl.c9.fromSeconds(this.$parent.member.bannedUntilAdmin):null,bannedPermanently:this.$parent.member.bannedUntilAdmin>4e9,bannedReason:this.$parent.member.bannedReasonAdmin,messages:void 0}},mounted:function(){var e=this;this.$user&&this.$user.admin&&this.$apollo.query({query:ma(xw||(xw=Iw(["\n query AdminMessages($userId: String!) {\n adminMessages(userId: $userId) {\n content\n fromParticipant {\n conversation {\n participants {\n user {\n username\n }\n }\n }\n }\n }\n }\n "]))),variables:{userId:this.member.id}}).then((function(t){e.messages=t.data.adminMessages}))},methods:{birthdayChanged:function(e,t){this.member.age=parseInt(Math.floor(tl.c9.local().diff(tl.c9.fromISO(e)).reconfigure({conversionAccuracy:"longterm"}).as("years")),10)},startEdit:function(){var e=this;this.editMode=!0,this.$nextTick((function(t){return e.$refs.grid.reset()}))},cancelEdit:function(){var e=this;this.member=Object.assign({},this.originalMember),this.editMode=!1,this.$nextTick((function(t){return e.$refs.grid.reset()}))},verifyBluesky:function(){var e=this;this.$apollo.mutate({mutation:ma(Cw||(Cw=Iw(["\n mutation VerifyBluesky($handle: String!, $password: String!, $server: String) {\n verifyBluesky(handle: $handle, password: $password, server: $server) {\n blueskyAccount\n }\n }\n "]))),variables:{handle:this.blueskyUser,password:this.blueskyAppPassword,server:this.blueskyServerToggle?this.blueskyServer:null}}).then((function(t){e.blueskyAccount=t.data.verifyBluesky.blueskyAccount?JSON.parse(t.data.verifyBluesky.blueskyAccount):null,e.blueskyUser=t.data.verifyBluesky.blueskyAccount?JSON.parse(t.data.verifyBluesky.blueskyAccount).handle:null,e.blueskyAppPassword=null,e.$nextTick((function(t){return e.$refs.grid.reset()}))})).catch((function(t){e.blueskyAccount=null,e.errorMessage="bluesky"}))},removeBluesky:function(){var e=this;this.$apollo.mutate({mutation:ma(Sw||(Sw=Iw(["\n mutation RemoveBluesky($member: String) {\n removeBluesky(member: $member) {\n blueskyAccount\n }\n }\n "]))),variables:{member:this.member.id}}).then((function(t){e.blueskyAccount=null,e.blueskyUser=null,e.blueskyAppPassword=null,e.blueskyServer=null,e.blueskyServerToggle=!1,e.$nextTick((function(t){return e.$refs.grid.reset()}))})).catch((function(t){e.errorMessage="bluesky"}))},save:function(){var e=this;this.saving=!0,this.successMessage="",this.errorMessage="",this.$apollo.mutate({mutation:ma(Ew||(Ew=Iw(["\n mutation UpdateProfile($description: String, $cock: Int, $circumcised: Boolean, $gender: Int, $trans: Boolean, $pronouns: String, $orientation: Int, $orientationType: Int, $pan: Boolean, $role: Int, $b
2irthday: DateTime, $country: String, $province: String, $city: String, $languages: Json!, $twitterPublic: Boolean!, $internal: Boolean!, $allowKeyholderRequests: Boolean!, $allowSubRequests: Boolean!, $allowKnownRequests: Boolean!, $statusSub: Int!, $statusKeyholder: Int!) {\n updateProfile(description: $description, cock: $cock, circumcised: $circumcised, gender: $gender, trans: $trans, pronouns: $pronouns, orientation: $orientation, orientationType: $orientationType, pan: $pan, role: $role, birthday: $birthday, country: $country, province: $province, city: $city, languages: $languages, twitterPublic: $twitterPublic, internal: $internal, allowKeyholderRequests: $allowKeyholderRequests, allowSubRequests: $allowSubRequests, allowKnownRequests: $allowKnownRequests, statusSub: $statusSub, statusKeyholder: $statusKeyholder) {\n username\n twitterAccount\n blueskyAccount\n }\n }\n "]))),variables:{description:this.member.description,cock:this.member.cock,circumcised:this.member.circumcised,gender:this.member.gender,trans:this.member.trans,pronouns:this.member.pronouns||null,orientation:this.member.orientation,orientationType:this.member.orientationType,pan:this.member.pan,birthday:this.member.birthday?parseInt(tl.c9.fromISO(this.member.birthday).toSeconds()):null,role:this.member.role,country:this.member.country,province:this.member.province,city:this.member.city,languages:JSON.stringify(this.member.languages),twitterPublic:this.member.twitterPublic,internal:this.member.internal,allowKeyholderRequests:this.member.allowKeyholderRequests,allowSubRequests:this.member.allowSubRequests,allowKnownRequests:this.member.allowKnownRequests,statusSub:this.member.statusSub?1:0,statusKeyholder:this.member.statusKeyholder}}).then((function(t){e.saving=!1,e.successMessage="saved",e.editMode=!1,e.twitterAccount=t.data.updateProfile.twitterAccount?JSON.parse(t.data.updateProfile.twitterAccount):null,e.blueskyAccount=t.data.updateProfile.blueskyAccount?JSON.parse(t.data.updateProfile.blueskyAccount):null,e.blueskyUser=t.data.updateProfile.blueskyAccount?JSON.parse(t.data.updateProfile.blueskyAccount).handle:null,e.blueskyAppPassword=null,e.$nextTick((function(t){return e.$refs.grid.reset()}))})).catch((function(t){e.saving=!1,e.errorMessage="validation",e.formErrors=$a(t),e.$nextTick((function(t){return e.$refs.grid.reset()}))})).catch((function(t){e.saving=!1,e.errorMessage="generic",e.$nextTick((function(t){return e.$refs.grid.reset()}))}))},stripAfter:function(e,t){var n=(e||"").indexOf(t);return n<0?e:e.substr(0,n)},updateLocation:function(e,t){this.member[e]=t||null},groupConnections:function(e){var t={};return ba(e,(function(e){var n=e.counterpart.username;void 0===t[n]&&(t[n]={counterpart:e.counterpart,connections:[]}),t[n].connections.push(e.relationOfCounterpart)})),t},setProfileCompleteness:function(e){this.profileCompleteness=e},genderString:function(e){var t=0===e.gender?this.$t("gender.male"):1===e.gender?this.$t("gender.female"):2===e.gender?this.$t("gender.nonBinary"):"";return!1===e.trans?this.$t("cisTrans.cis",{gender:t}):!0===e.trans?this.$t("cisTrans.trans",{gender:t}):t},ban:function(){this.$apollo.mutate({mutation:ma(Tw||(Tw=Iw(["\n mutation BanMember($userId: String!, $permanently: Boolean!, $until: DateTime!, $reason: String!) {\n banMember(userId: $userId, permanently: $permanently, until: $until, reason: $reason)\n }\n "]))),variables:{userId:this.member.id,permanently:this.bannedPermanently,until:parseInt(this.bannedUntil?this.bannedUntil.toSeconds():0),reason:this.bannedReason}}).then((function(e){window.location.reload()}))}},computed:{groupedConnections:function(){return this.groupConnections(this.member.importantConnections)},orientationOptions:function(){var e=[this.member.pan?"pan":"bi"];return{0:this.$t("orientation.0",e),1:this.$t("orientation.1",e),2:this.$t("orientation.2",e),3:this.$t("orientation.3",e),4:this.$t("orientation.4",e),5:this.$t("orientation.5",e),6:this.$t("orientation.6",e)}},ace:{get:function(){return-2===this.member.orientationType},set:function(e){this.member.orientationType=e?-2:0}},demi:{get:function(){return-1===this.member.orientationType},set:function(e){this.member.orientationType=e?-1:0}}},apollo:{countries:{query:ma(Ow||(Ow=Iw(["\n query {\n countries: geo { code name }\n }\n "])))}}},V_,[],!1,null,null,null);Aw.options.__file="components/pages/Member/Profile.vue";const Dw=Aw.exports;var Pw=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$parent.member.username+" » "+e.$t("member.blog")}}),e._v(" "),n("h2",{staticClass:"mb-4 d-flex justify-content-between"},[n("span",[n("Icon",{attrs:{v:"pen-nib"}}),e._v("\n "+e._s(e.$t("member.blog"))+"\n ")],1),e._v(" "),e.self?e._e():n("Connections",{attrs:{fromMember:e.$user,toMember:e.$parent.member,connections:e.$parent.member.connectionsWith,options:{followee:null}}}),e._v(" "),e.self?n("button",{class:["btn",e.writeMode?"d-none":"btn-primary"],on:{click:function(t){e.writeMode=!e.writeMode}}},[n("Icon",{attrs:{v:"pen-nib"}}),e._v("\n "+e._s(e.$t("post.write"))+"\n ")],1):e._e(
2)],1),e._v(" "),n("Accordion",{attrs:{shown:e.writeMode}},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-xl-6 offset-xl-3 mb-4"},[n("PostForm")],1)])]),e._v(" "),n("PostList",{attrs:{username:e.$parent.member.username},on:{"posts-loaded":e.loaded}})],1)};Pw._withStripped=!0;var Mw=Ca({components:{Accordion:sv,PostForm:bv,Connections:sw,PostList:zv},data:function(){return{self:this.$user&&this.$user.username===this.$parent.member.username,writeMode:!1}},methods:{loaded:function(e,t){this.self&&0===e.length&&!t&&(this.writeMode=!0)}}},Pw,[],!1,null,null,null);Mw.options.__file="components/pages/Member/Blog.vue";const $w=Mw.exports;var Nw=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{key:e.key,staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$parent.member.username+" » "+e.$t("member.pics")}}),e._v(" "),n("h2",[n("Icon",{attrs:{v:"camera-alt"}}),e._v("\n "+e._s(e.$t("member.pics"))+"\n ")],1),e._v(" "),e.owner?n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-xl-6 pb-4"},[e.owner?n("div",[n("PhotoUpload",{attrs:{multiple:""},on:{uploaded:e.addFiles}}),e._v(" "),n("div",{staticClass:"d-none d-md-block"},[n("hr"),e._v(" "),n("Webcam",{attrs:{multiple:""},on:{uploaded:e.addFiles}})],1)],1):e._e(),e._v(" "),n("div",{staticClass:"py-4"},[n("h3",[e._v(e._s(e.$t("pics.public")))]),e._v(" "),n("OrEmpty",{attrs:{value:e.images,emptyMessage:e.owner?"pics.publicEmpty":"empty.default"}},[n("MasonryGrid",{attrs:{columns:e.owner?2:6}},e._l(e.images,(function(t){return n("MasonryGridItem",{key:t.id},[n("Picture",{attrs:{image:t,type:"thumb",owner:e.owner},on:{pin:e.pinChanged}})],1)})),1)],1)],1)]),e._v(" "),n("div",{class:[e.owner?"col-12 col-xl-6":"col","bg-secondary","py-3"]},[n("h3",[e._v(e._s(e.$t("pics.private")))]),e._v(" "),n("Loading",{attrs:{value:e.privateImages,orEmpty:""}},[n("MasonryGrid",{attrs:{columns:e.owner?2:6,classes:"mb-5"}},e._l(e.privateImages,(function(t){return n("MasonryGridItem",{key:t.id},[n("Picture",{attrs:{image:t,type:"thumb",owner:e.owner,canPin:e.images.length<e.$user.maxProfilePics},on:{pin:e.pinChanged}})],1)})),1)],1)],1)]):n("div",[n("OrEmpty",{attrs:{value:e.images}},[n("MasonryGrid",{attrs:{columns:"6"}},e._l(e.images,(function(e){return n("MasonryGridItem",{key:e.id},[n("Picture",{attrs:{image:e,type:"thumb"}})],1)})),1)],1),e._v(" "),e.$user&&e.$user.admin?n("div",[n("h3",[e._v(e._s(e.$t("pics.private")))]),e._v(" "),n("Loading",{attrs:{value:e.privateImages,orEmpty:""}},[n("MasonryGrid",{attrs:{columns:e.owner?2:6,classes:"mb-5"}},e._l(e.privateImages,(function(t){return n("MasonryGridItem",{key:t.id},[n("Picture",{attrs:{image:t,type:"thumb",owner:e.owner,canPin:e.images.length<e.$user.maxProfilePics},on:{pin:e.pinChanged}})],1)})),1)],1)],1):e._e()],1)],1)};Nw._withStripped=!0;var Rw=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("form",{class:["text-center","p-5","border","border-primary","shadow",e.drag?"drag":""],attrs:{enctype:"multipart/form-data",novalidate:""},on:{dragover:function(t){e.drag=!0},dragleave:function(t){e.drag=!1}}},[n("input",{attrs:{type:"file",name:e.name+(e.multiple?"[]":""),multiple:e.multiple,disabled:e.uploading,accept:"image/*"},on:{change:function(t){return e.filesChange(t.target.name,t.target.files)}}}),e._v(" "),e.uploading?e._e():n("div",[n("h3",[n("Icon",{attrs:{v:"upload"}}),e._v("\n "+e._s(e.$t("pics.upload.header"))+"\n ")],1),e._v(" "),n("p",[e._v(e._s(e.$t("pics.upload.instruction")))])]),e._v(" "),e.uploading?n("p",[n("Spinner",{attrs:{size:"5rem"}})],1):e._e(),e._v(" "),e.errorMessage?n("div",{staticClass:"alert alert-danger"},[e._v("\n "+e._s(e.errorMessage)+"\n ")]):e._e()])};Rw._withStripped=!0;var Lw=Ca({components:{Spinner:Da},props:{multiple:{type:Boolean},name:{default:"images"}},data:function(){return{uploading:!1,drag:!1,errorMessage:""}},methods:{filesChange:function(e,t){if(t.length){var n=new FormData;ba(t,(function(t){n.append(e,t,t.name)})),this.save(n)}},save:function(e){var t=this;this.uploading=!0,this.errorMessage="",Xo().ajax({type:"POST",url:"https://api.teamlocked.men/image/upload",data:e,processData:!1,contentType:!1,headers:{authorization:"Bearer ".concat(Jo.get("user"))}}).then((function(e){t.$emit("uploaded",e),t.uploading=!1})).catch((function(e){t.errorMessage=t.$t("pics.upload.error.generic"),t.uploading=!1}))}}},Rw,[],!1,null,"9d662a30",null);Lw.options.__file="components/widgets/PhotoUpload.vue";const jw=Lw.exports;var Fw=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"text-center"},[n("div",{directives:[{name:"show",rawName:"v-show",value:0==e.state,expression:"state == 0"}]},[n("button",{staticClass:"btn btn-outline-primary btn-block",on:{click:e.start}},[n("Icon",{attrs:{v:"webcam"}}),e._v("\n "+e._s(e.$t("webcam.start"))+"\n ")],1)]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:1==e.state,expression:"state == 1"}]},[n("video",{ref:"video",staticClass:"mb-2",attrs:{autoplay:""}}),e._v(" "),n("button",{staticClass:"btn btn-primary btn-block",on:{click:e.take}},[n("Icon",{attrs:{v:"webcam"}}),e._v("\n "+e._s(e.$t("webcam.take"))+"\n ")],1)]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:2==e.state,expression:"state == 2"}]},[n("img",{ref:"pic",staticClass:"mb-2"}),e._v(" "),n("button",{staticClass:"btn btn-primary btn-block",on:{click:e.upload}},[n("Icon",{attrs:{v:"upload"}}),e._v("\n "+e._s(e.$t("webcam.upload"))+"\n ")],1),e._v(" "),n("button",{staticClass:"btn btn-outline-warning btn-block",on:{click:e.retry}},[n("Icon",{attrs:{v:"redo"}}),e._v("\n "+e._s(e.$t("webcam.retry"))+"\n ")],1)]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:3==e.state,expression:"state == 3"}]},[n("Spinner",{attrs:{size:"4rem"}})],1)])};Fw._withStripped=!0;var Bw=Ca({components:{Spinner:Da},props:{multiple:{type:Boolean},name:{default:"images"}},data:function(){return{state:0,fieldName:this.name+(this.multiple?"[]":"")}},methods:{start:function(){var e=this;this.state=1,navigator.mediaDevices.getUserMedia&&navigator.mediaDevices.getUserMedia({video:!0}).then((function(t){e.$refs.video.srcObject=t}))},take:function(){var e=this.$refs.video,t=document.createElement("canvas");t.height=e.videoHeight,t.width=e.videoWidth,t.getContext("2d").drawImage(e,0,0,t.width,t.height),this.$refs.pic.src=t.toDataURL();for(var n=e.srcObject.getTracks(),r=0;r<n.length;r++)n[r].stop();e.srcObject=null,this.state=2},retry:function(){this.$refs.pic.src="",this.start()},dataUrlToBlob:function(e){for(var t=e.split(","),n=t[0].match(/:(.*?);/)[1],r=atob(t[1]),o=r.length,i=new Uint8Array(o);o--;)i[o]=r.charCodeAt(o);return new Blob([i],{type:n})},upload:function(){this.state=3;var e=new FormData;e.append(this.fieldName,this.dataUrlToBlob(this.$refs.pic.src),"webcam.png"),this.save(e)},save:function(e){var t=this;Xo().ajax({type:"POST",url:"https://api.teamlocked.men/image/upload",data:e,processData:!1,contentType:!1,headers:{authorization:"Bearer ".concat(Jo.get("user"))}}).then((function(e){console.log(e),t.$emit("uploaded",e),t.state=0})).catch((function(e,n){console.error(e),t.state=0}))}}},Fw,[],!1,null,"8108f014",null);Bw.options.__file="components/widgets/Webcam.vue";const qw=Bw.exports;var Hw=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.empty?n("p",{staticClass:"text-center"},[n("Icon",{attrs:{v:e.emptyIcon,size:"3",classes:"mb-2"}}),e._v(" "),n("br"),e._v("\n "+e._s(e.$t(e.emptyMessage))+"\n ")],1):n("div",[e._t("default")],2)])};Hw._withStripped=!0;var zw=Ca({props:{value:{required:!0},emptyIcon:{default:"sad-tear"},emptyMessage:{default:"empty.default"}},computed:{empty:function(){return void 0===this.value||(void 0!==this.value.length?0===this.value.length:!this.value)}}},Hw,[],!1,null,null,null);zw.options.__file="components/widgets/OrEmpty.vue";var Uw;const Vw={components:{PhotoUpload:jw,Picture:_l,MasonryGrid:bh,MasonryGridItem:kh,Webcam:qw,Loading:us,OrEmpty:zw.exports},data:function(){return{images:this.$parent.member.images,owner:this.$user&&this.$parent.member.username===this.$user.username,privateImages:void 0,key:es()}},mounted:function(){var e,t,n=this;(this.owner||this.$user&&this.$user.admin)&&this.$apollo.query({query:ma(Uw||(e=["\n query PrivateImages($username: String!) {\n privateImages(username: $username) {\n id\n profile\n micro\n links\n }\n }\n "],t||(t=e.slice(0)),Uw=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})))),variables:{username:this.$parent.member.username}}).then((function(e){n.privateImages=e.data.privateImages})).catch((function(e){console.error(e)}))},methods:{addFiles:function(e){this.privateImages=e.concat(this.privateImages)},pinChanged:function(e,t){if(t){var n=-1,r=void 0;ba(this.privateImages,(function(t,o){t.id===e&&(n=o,r=t)})),r.profile=t,this.privateImages.splice(n,1),this.images.push(r)}else{var o=-1,i=void 0;ba(this.images,(function(t,n){t.id===e&&(o=n,i=t)})),i.profile=t,this.images.splice(o,1),this.privateImages.push(i)}this.key=es()}}};var Gw=Ca(Vw,Nw,[],!1,null,null,null);Gw.options.__file="components/pages/Member/Pics.vue";const Ww=Gw.exports;var Yw=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$parent.member.username+" » "+e.$t("member.vids")}}),e._v(" "),n("h2",[n("Icon",{attrs:{v:"video"}}
2),e._v("\n "+e._s(e.$t("member.vids"))+"\n ")],1),e._v(" "),e.url?n("Video",{attrs:{url:e.url}}):e._e()],1)};Yw._withStripped=!0;var Kw=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"video"},[n("video",{ref:"video",attrs:{poster:"/path/to/poster.jpg",playsinline:"",controls:""}},[n("source",{attrs:{src:e.url,type:"video/mp4"}})])])};Kw._withStripped=!0;var Qw=__webpack_require__(4330),Jw=__webpack_require__.n(Qw);var Zw=Ca({props:{url:{required:!0}},mounted:function(){this.player=new(Jw())(this.$refs.video)}},Kw,[],!1,null,"3d3ce250",null);Zw.options.__file="components/widgets/Video.vue";var Xw;const ek={components:{Video:Zw.exports},data:function(){return{id:"ab30246e-3573-11e9-a336-10f005bd0eed",url:null}},mounted:function(){var e,t,n=this;this.$apollo.query({query:ma(Xw||(e=["\n query WatchVideo($id: String!) {\n url: watchVideo(id: $id)\n }\n "],t||(t=e.slice(0)),Xw=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})))),variables:{id:this.id}}).then((function(e){n.url=e.data.url}))}};var tk=Ca(ek,Yw,[],!1,null,null,null);tk.options.__file="components/pages/Member/Vids.vue";const nk=tk.exports;var rk=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$parent.member.username+" » "+e.$t("member.calendar")}}),e._v(" "),n("h2",[n("Icon",{attrs:{v:"calendar fa-fw"}}),e._v("\n "+e._s(e.$t("member.calendar"))+"\n ")],1),e._v(" "),n("div",{staticClass:"row"},[n("div",{ref:"calendarColumn",staticClass:"col-lg-6 pb-4"},[n("div",{ref:"calendar"},[n("Loading",{directives:[{name:"show",rawName:"v-show",value:!e.loaded,expression:"!loaded"}],attrs:{value:void 0}})],1)]),e._v(" "),n("div",{staticClass:"col-lg-6"},[n("Card",{attrs:{classes:"mb-4 border-primary"}},[e.$parent.member.currentChastityPeriod?n("div",{staticClass:"text-center"},[n("h3",[n("Icon",{attrs:{v:"lock"}}),e._v("\n "+e._s(e.$t("calendar.status.locked"))+"\n "),n("Status",{attrs:{user:e.$parent.member,noicon:""}})],1),e._v(" "),e.own||e.$parent.member.isDominatedByYou?n("p",[!e.own&&!e.$parent.member.isDominatedByYou||e.$parent.member.currentChastityPeriod&&e.$parent.member.currentChastityPeriod.permanent?e._e():n("router-link",{staticClass:"btn btn-outline-primary m-1",attrs:{to:{name:"memberCalendarAdd"}}},[n("Icon",{attrs:{v:"key"}}),e._v("\n "+e._s(e.$t("calendar.add"))+"\n ")],1),e._v(" "),!e.$parent.member.isDominatedByYou||e.$parent.member.currentChastityPeriod.terminatable||e.$parent.member.currentChastityPeriod.permanent?e._e():n("router-link",{staticClass:"btn btn-outline-warning m-1",attrs:{to:{name:"memberCalendarReward"}}},[n("Icon",{attrs:{v:"calendar-minus"}}),e._v("\n "+e._s(e.$t("calendar.reward"))+"\n ")],1),e._v(" "),e.own&&e.$parent.member.currentChastityPeriod.terminatable?n("router-link",{staticClass:"btn btn-outline-success m-1",attrs:{to:{name:"memberCalendarUnlock"}}},[n("Icon",{attrs:{v:"key"}}),e._v("\n "+e._s(e.$t("calendar.end"))+"\n ")],1):e._e(),e._v(" "),e.$parent.member.currentChastityPeriod.terminatable&&!e.own?n("span",{staticClass:"badge badge-success m-1"},[e._v("\n "+e._s(e.$t("calendar.end.allowed"))+"\n ")]):e._e(),e._v(" "),e.$parent.member.currentChastityPeriod.terminatable?e._e():n("span",{staticClass:"badge badge-danger"},[e._v("\n "+e._s(e.$t("calendar.end.denied"))+"\n ")]),e._v(" "),e.own&&!e.$parent.member.currentChastityPeriod.terminatable?n("router-link",{staticClass:"btn btn-outline-danger m-1",attrs:{to:{name:"memberCalendarTerminate"}}},[n("Icon",{attrs:{v:"ban"}}),e._v("\n "+e._s(e.$t("calendar.terminate"))+"\n ")],1):e._e(),e._v(" "),e.own?n("router-link",{staticClass:"btn btn-outline-primary m-1",attrs:{to:{name:"memberCalendarEvent"}}},[n("Icon",{attrs:{v:"raindrops"}}),e._v("\n "+e._s(e.$t("calendar.event.add"))+"\n ")],1):e._e(
2),e._v(" "),e.own?n("router-link",{staticClass:"btn btn-outline-secondary m-1",attrs:{to:{name:"memberCalendarAddArchival"}}},[n("Icon",{attrs:{v:"archive"}}),e._v("\n "+e._s(e.$t("calendar.period.archival.add"))+"\n ")],1):e._e()],1):e._e()]):n("div",{staticClass:"text-center"},[n("h3",[n("Icon",{attrs:{v:"lock-open"}}),e._v("\n "+e._s(e.$t("calendar.status.unlocked"))+"\n ")],1),e._v(" "),e.own||e.$parent.member.isDominatedByYou?n("p",[n("router-link",{staticClass:"btn btn-outline-primary m-1",attrs:{to:{name:"memberCalendarAdd"}}},[n("Icon",{attrs:{v:"key"}}),e._v("\n "+e._s(e.$t("calendar.start"))+"\n ")],1),e._v(" "),e.own?n("router-link",{staticClass:"btn btn-outline-primary m-1",attrs:{to:{name:"memberCalendarEvent"}}},[n("Icon",{attrs:{v:"raindrops"}}),e._v("\n "+e._s(e.$t("calendar.event.add"))+"\n ")],1):e._e(),e._v(" "),e.own?n("router-link",{staticClass:"btn btn-outline-secondary m-1",attrs:{to:{name:"memberCalendarAddArchival"}}},[n("Icon",{attrs:{v:"archive"}}),e._v("\n "+e._s(e.$t("calendar.period.archival.add"))+"\n ")],1):e._e()],1):e._e()]),e._v(" "),n("hr"),e._v(" "),n("p",[e._v("\n "+e._s(e.$t("calendar.periodLimit"))+":\n "),e.$parent.member.periodLimit?n("strong",{staticClass:"d-inline-block mx-3"},[e._v("\n "+e._s(e.duration(e.$parent.member.periodLimit))+"\n ")]):n("strong",{staticClass:"d-inline-block mx-3"},[e._v("\n â\n ")]),e._v(" "),!e.own||e.$parent.member.currentChastityPeriod&&!e.$parent.member.periodLimit?e._e():n("button",{staticClass:"btn btn-outline-warning btn-sm",on:{click:function(t){e.periodLimitEdit=!e.periodLimitEdit}}},[n("Icon",{attrs:{v:"pencil"}})],1),e._v(" "),e.own&&e.$parent.member.periodLimit&&!e.periodLimitRemoving?n("button",{staticClass:"btn btn-outline-danger btn-sm",on:{click:e.removePeriodLimit}},[n("Icon",{attrs:{v:"trash"}})],1):e._e(),e._v(" "),n("br"),e._v(" "),n("small",[e._v(e._s(e.$t("calendar.periodLimit.info")))])]),e._v(" "),n("Form",{directives:[{name:"show",rawName:"v-show",value:e.periodLimitEdit,expression:"periodLimitEdit"}],on:{submit:e.changePeriodLimit},scopedSlots:e._u([{key:"default",fn:function(t){return[n("FormGroup",{attrs:{error:t.errors.periodLimit}},[n("RangeButtons",{attrs:{min:e.minPeriodLimit,max:"8766",long:""},model:{value:e.periodLimit,callback:function(t){e.periodLimit=t},expression:"periodLimit"}})],1),e._v(" "),n("div",{staticClass:"form-group my-4"},[n("button",{staticClass:"btn btn-primary btn-block"},[e._v("\n "+e._s(e.$t("save"))+"\n ")])])]}}])})],1),e._v(" "),n("ul",{staticClass:"list-unstyled"},e._l(e.entries,(function(t){return n("li",{key:t.id,staticClass:"mb-4"},["ChastityPeriod"===t.__typename?n("Card",{ref:"periods",refInFor:!0,attrs:{headerClasses:"h5 mb-0",foldable:"",folded:!t.active,"data-id":t.id},on:{fold:e.cardFolded},scopedSlots:e._u([{key:"header",fn:function(){return[n("span",[e._v("\n "+e._s(e.formatPeriod(t.start,t.end||t.earliestEnd))+"\n "),t.permanent?n("small",{staticClass:"badge badge-danger"},[e._v("\n "+e._s(e.$t("calendar.change.permanent"))+"\n ")]):n("small",[e._v("\n ("+e._s(e.$timeDiff(t.earliestEnd,t.start))+")\n ")]),e._v(" "),t.prematureEnd?n("span",{staticClass:"ml-2 badge badge-danger"},[n("Icon",{attrs:{v:"ban"}}),e._v("\n "+e._s(e.$t("calendar.terminated"))+"\n ")],1):e._e(),e._v(" "),t.archival?n("span",{staticClass:"badge badge-warning"},[n("Icon",{attrs:{v:"archive"}}),e._v("\n "+e._s(e.$t("calendar.period.archival.badge"))+"\n ")],1):e._e(
vendor: 14,152 bytes, line 2
2)])]},proxy:!0}],null,!0)},[e._v(" "),n("ChastityPeriod",{attrs:{detailed:"",period:t,canManage:e.own||e.$parent.member.isDominatedByYou,canManageSelf:e.own&&e.$parent.member.hasNoKeyholder||e.$parent.member.isDominatedByYou}})],1):e._e(),e._v(" "),"Event"===t.__typename?n("EventEntry",{attrs:{event:t},on:{setdate:e.setdate}}):e._e(),e._v(" "),"Post"===t.__typename?n("JournalEntry",{attrs:{post:t}}):e._e()],1)})),0)],1)])],1)};rk._withStripped=!0;var ok,ik,ak,sk,lk,ck,uk,dk={},fk=[],pk=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function hk(e,t){for(var n in t)e[n]=t[n];return e}function mk(e){var t=e.parentNode;t&&t.removeChild(e)}function vk(e,t,n){var r,o,i,a={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?ok.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===a[i]&&(a[i]=e.defaultProps[i]);return gk(e,a,r,o,null)}function gk(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++ak:o};return null==o&&null!=ik.vnode&&ik.vnode(i),i}function yk(){return{current:null}}function bk(e){return e.children}function _k(e,t){this.props=e,this.context=t}function wk(e,t){if(null==t)return e.__?wk(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?wk(e):null}function kk(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return kk(e)}}function xk(e){(!e.__d&&(e.__d=!0)&&sk.push(e)&&!Ck.__r++||ck!==ik.debounceRendering)&&((ck=ik.debounceRendering)||lk)(Ck)}function Ck(){for(var e;Ck.__r=sk.length;)e=sk.sort((function(e,t){return e.__v.__b-t.__v.__b})),sk=[],e.some((function(e){var t,n,r,o,i,a;e.__d&&(i=(o=(t=e).__v).__e,(a=t.__P)&&(n=[],(r=hk({},o)).__v=o.__v+1,Mk(a,o,r,t.__n,void 0!==a.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?wk(o):i,o.__h),$k(n,o),o.__e!=i&&kk(o)))}))}function Sk(e,t,n,r,o,i,a,s,l,c){var u,d,f,p,h,m,v,g=r&&r.__k||fk,y=g.length;for(n.__k=[],u=0;u<t.length;u++)if(null!=(p=n.__k[u]=null==(p=t[u])||"boolean"==typeof p?null:"string"==typeof p||"number"==typeof p||"bigint"==typeof p?gk(null,p,null,null,p):Array.isArray(p)?gk(bk,{children:p},null,null,null):p.__b>0?gk(p.type,p.props,p.key,null,p.__v):p)){if(p.__=n,p.__b=n.__b+1,null===(f=g[u])||f&&p.key==f.key&&p.type===f.type)g[u]=void 0;else for(d=0;d<y;d++){if((f=g[d])&&p.key==f.key&&p.type===f.type){g[d]=void 0;break}f=null}Mk(e,p,f=f||dk,o,i,a,s,l,c),h=p.__e,(d=p.ref)&&f.ref!=d&&(v||(v=[]),f.ref&&v.push(f.ref,null,p),v.push(d,p.__c||h,p)),null!=h?(null==m&&(m=h),"function"==typeof p.type&&p.__k===f.__k?p.__d=l=Ek(p,l,e):l=Ok(e,p,f,g,h,l),"function"==typeof n.type&&(n.__d=l)):l&&f.__e==l&&l.parentNode!=e&&(l=wk(f))}for(n.__e=m,u=y;u--;)null!=g[u]&&("function"==typeof n.type&&null!=g[u].__e&&g[u].__e==n.__d&&(n.__d=wk(r,u+1)),Rk(g[u],g[u]));if(v)for(u=0;u<v.length;u++)Nk(v[u],v[++u],v[++u])}function Ek(e,t,n){for(var r,o=e.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=e,t="function"==typeof r.type?Ek(r,t,n):Ok(n,r,r,o,r.__e,t));return t}function Tk(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){Tk(e,t)})):t.push(e)),t}function Ok(e,t,n,r,o,i){var a,s,l;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),a=null;else{for(s=i,l=0;(s=s.nextSibling)&&l<r.length;l+=2)if(s==o)break e;e.insertBefore(o,i),a=i}return void 0!==a?a:o.nextSibling}function Ik(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||pk.test(t)?n:n+"px"}function Ak(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Ik(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Ik(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?Pk:Dk,i):e.removeEventListener(t,i?Pk:Dk,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function Dk(e){this.l[e.type+!1](ik.event?ik.event(e):e)}function Pk(e){this.l[e.type+!0](ik.event?ik.event(e):e)}function Mk(e,t,n,r,o,i,a,s,l){var c,u,d,f,p,h,m,v,g,y,b,_=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(l=n.__h,s=t.__e=n.__e,t.__h=null,i=[s]),(c=ik.__b)&&c(t);try{e:if("function"==typeof _){if(v=t.props,g=(c=_.contextType)&&r[c.__c],y=c?g?g.props.value:c.__:r,n.__c?m=(u=t.__c=n.__c).__=u.__E:("prototype"in _&&_.prototype.render?t.__c=u=new _(v,y):(t.__c=u=new _k(v,y),u.constructor=_,u.render=Lk),g&&g.sub(u),u.props=v,u.state||(u.state={}),u.context=y,u.__n=r,d=u.__d=!0,u.__h=[]),null==u.__s&&(u.__s=u.state),null!=_.getDerivedStateFromProps&&(u.__s==u.state&&(u.__s=hk({},u.__s)),hk(u.__s,_.getDerivedStateFromProps(v,u.__s))),f=u.props,p=u.state,d)null==_.getDerivedStateFromProps&&null!=u.componentWillMount&&u.componentWillMount(),null!=u.componentDidMount&&u.__h.push(u.componentDidMount);else{if(null==_.getDerivedStateFromProps&&v!==f&&null!=u.componentWillReceiveProps&&u.componentWillReceiveProps(v,y),!u.__e&&null!=u.shouldComponentUpdate&&!1===u.shouldComponentUpdate(v,u.__s,y)||t.__v===n.__v){u.props=v,u.state=u.__s,t.__v!==n.__v&&(u.__d=!1),u.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),u.__h.length&&a.push(u);break e}null!=u.componentWillUpdate&&u.componentWillUpdate(v,u.__s,y),null!=u.componentDidUpdate&&u.__h.push((function(){u.componentDidUpdate(f,p,h)}))}u.context=y,u.props=v,u.state=u.__s,(c=ik.__r)&&c(t),u.__d=!1,u.__v=t,u.__P=e,c=u.render(u.props,u.state,u.context),u.state=u.__s,null!=u.getChildContext&&(r=hk(hk({},r),u.getChildContext())),d||null==u.getSnapshotBeforeUpdate||(h=u.getSnapshotBeforeUpdate(f,p)),b=null!=c&&c.type===bk&&null==c.key?c.props.children:c,Sk(e,Array.isArray(b)?b:[b],t,n,r,o,i,a,s,l),u.base=t.__e,t.__h=null,u.__h.length&&a.push(u),m&&(u.__E=u.__=null),u.__e=!1}else null==i&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,r,o,i,a,s){var l,c,u,d=n.props,f=t.props,p=t.type,h=0;if("svg"===p&&(o=!0),null!=i)for(;h<i.length;h++)if((l=i[h])&&(l===e||(p?l.localName==p:3==l.nodeType))){e=l,i[h]=null;break}if(null==e){if(null===p)return document.createTextNode(f);e=o?document.createElementNS("http://www.w3.org/2000/svg",p):document.createElement(p,f.is&&f),i=null,s=!1}if(null===p)d===f||s&&e.data===f||(e.data=f);else{if(i=i&&ok.call(e.childNodes),c=(d=n.props||dk).dangerouslySetInnerHTML,u=f.dangerouslySetInnerHTML,!s){if(null!=i)for(d={},h=0;h<e.attributes.length;h++)d[e.attributes[h].name]=e.attributes[h].value;(u||c)&&(u&&(c&&u.__html==c.__html||u.__html===e.innerHTML)||(e.innerHTML=u&&u.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||Ak(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||Ak(e,i,t[i],n[i],r)}(e,f,d,o,s),u)t.__k=[];else if(h=t.props.children,Sk(e,Array.isArray(h)?h:[h],t,n,r,o&&"foreignObject"!==p,i,a,i?i[0]:n.__k&&wk(n,0),s),null!=i)for(h=i.length;h--;)null!=i[h]&&mk(i[h]);s||("value"in f&&void 0!==(h=f.value)&&(h!==e.value||"progress"===p&&!h)&&Ak(e,"value",h,d.value,!1),"checked"in f&&void 0!==(h=f.checked)&&h!==e.checked&&Ak(e,"checked",h,d.checked,!1))}return e}(n.__e,t,n,r,o,i,a,l);(c=ik.diffed)&&c(t)}catch(e){t.__v=null,(l||null!=i)&&(t.__e=s,t.__h=!!l,i[i.indexOf(s)]=null),ik.__e(e,t,n)}}function $k(e,t){ik.__c&&ik.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){ik.__e(e,t.__v)}}))}function Nk(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){ik.__e(e,n)}}function Rk(e,t,n){var r,o;if(ik.unmount&&ik.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Nk(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){ik.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&Rk(r[o],t,"function"!=typeof e.type);n||null==e.__e||mk(e.__e),e.__e=e.__d=void 0}function Lk(e,t,n){return this.constructor(e,n)}function jk(e,t,n){var r,o,i;ik.__&&ik.__(e,t),o=(r="function"==typeof n)?null:n&&n.__k||t.__k,i=[],Mk(t,e=(!r&&n||t).__k=vk(bk,null,[e]),o||dk,dk,void 0!==t.ownerSVGElement,!r&&n?[n]:o?null:t.firstChild?ok.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r),$k(i,e)}function Fk(e,t){var n={__c:t="__cC"+uk++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(xk)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}ok=fk.slice,ik={__e:function(e,t){for(var n,r,o;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),o=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),o=n.__d),o)return n.__E=n}catch(t){e=t}throw e}},ak=0,_k.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=hk({},this.state),"function"==typeof e&&(e=e(hk({},n),this.props)),e&&hk(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),xk(this))},_k.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),xk(this))},_k.prototype.render=bk,sk=[],lk="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Ck.__r=0,uk=0;var Bk,qk,Hk=[],zk=ik.__b,Uk=ik.__r,Vk=ik.diffed,Gk=ik.__c,Wk=ik.unmount;function Yk(){Hk.forEach((function(e){if(e.__P)try{e.__H.__h.forEach(Qk),e.__H.__h.forEach(Jk),e.__H.__h=[]}catch(t){e.__H.__h=[],ik.__e(t,e.__v)}})),Hk=[]}ik.__b=function(e){Bk=null,zk&&zk(e)},ik.__r=function(e){Uk&&Uk(e);var t=(Bk=e.__c).__H;t&&(t.__h.forEach(Qk),t.__h.forEach(Jk),t.__h=[])},ik.diffed=function(e){Vk&&Vk(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==Hk.push(t)&&qk===ik.requestAnimationFrame||((qk=ik.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),Kk&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Kk&&(t=requestAnimationFrame(n))})(Yk)),Bk=null},ik.__c=function(e,t){t.some((function(e){try{e.__h.forEach(Qk),e.__h=e.__h.filter((function(e){return!e.__||Jk(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],ik.__e(n,e.__v)}})),Gk&&Gk(e,t)},ik.unmount=function(e){Wk&&Wk(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(Qk)}catch(e){ik.__e(e,t.__v)}};var Kk="function"==typeof requestAnimationFrame;function Qk(e){var t=Bk;"function"==typeof e.__c&&e.__c(),Bk=t}function Jk(e){var t=Bk;e.__c=e.__(),Bk=t}function Zk(e,t){for(var n in t)e[n]=t[n];return e}function Xk(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function ex(e){this.props=e}(ex.prototype=new _k).isPureReactComponent=!0,ex.prototype.shouldComponentUpdate=function(e,t){return Xk(this.props,e)||Xk(this.state,t)};var tx=ik.__b;ik.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),tx&&tx(e)};"undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref");var nx=ik.__e;ik.__e=function(e,t,n){if(e.then)for(var r,o=t;o=o.__;)if((r=o.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);nx(e,t,n)};var rx=ik.unmount;function ox(){this.__u=0,this.t=null,this.__b=null}function ix(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function ax(){this.u=null,this.o=null}ik.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),rx&&rx(e)},(ox.prototype=new _k).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=ix(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(! --r.__u){if(r.state.__e){var e=r.state.__e;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__e:r.__b=null});t=r.t.pop();)t.forceUpdate()}},l=!0===t.__h;r.__u++||l||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(a,a)},ox.prototype.componentWillUnmount=function(){this.t=[]},ox.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=Zk({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)}))),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__e&&vk(bk,null,e.fallback);return o&&(o.__h=null),[vk(bk,null,t.__e?null:e.children),o]};var sx=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function lx(e){return this.getChildContext=function(){return e.context},e.children}function cx(e){var t=this,n=e.i;t.componentWillUnmount=function(){jk(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),jk(vk(lx,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function ux(e,t){return vk(cx,{__v:e,i:t})}
2(ax.prototype=new _k).__e=function(e){var t=this,n=ix(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),sx(t,e,r)):o()};n?n(i):i()}},ax.prototype.render=function(e){this.u=null,this.o=new Map;var t=Tk(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},ax.prototype.componentDidUpdate=ax.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){sx(e,n,t)}))};var dx="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,fx=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,px="undefined"!=typeof document,hx=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};_k.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(_k.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var mx=ik.event;function vx(){}function gx(){return this.cancelBubble}function yx(){return this.defaultPrevented}ik.event=function(e){return mx&&(e=mx(e)),e.persist=vx,e.isPropagationStopped=gx,e.isDefaultPrevented=yx,e.nativeEvent=e};var bx={configurable:!0,get:function(){return this.class}},_x=ik.vnode;ik.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){var o=-1===t.indexOf("-");for(var i in r={},n){var a=n[i];px&&"children"===i&&"noscript"===t||"value"===i&&"defaultValue"in n&&null==a||("defaultValue"===i&&"value"in n&&null==n.value?i="value":"download"===i&&!0===a?a="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!hx(n.type)?i="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(i)?i=i.toLowerCase():o&&fx.test(i)?i=i.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===a&&(a=void 0),r[i]=a)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=Tk(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=Tk(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r}t&&n.class!=n.className&&(bx.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",bx)),e.$$typeof=dx,_x&&_x(e)};var wx=ik.__r;ik.__r=function(e){wx&&wx(e),e.__c};var kx="undefined"!=typeof globalThis?globalThis:window;kx.FullCalendarVDom?console.warn("FullCalendar VDOM already loaded"):kx.FullCalendarVDom={Component:_k,createElement:vk,render:jk,createRef:yk,Fragment:bk,createContext:function(e){var t=Fk(e),n=t.Provider;return t.Provider=function(){var e=this,t=!this.getChildContext,r=n.apply(this,arguments);if(t){var o=[];this.shouldComponentUpdate=function(t){e.props.value!==t.value&&o.forEach((function(e){e.context=t.value,e.forceUpdate()}))},this.sub=function(e){o.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){o.splice(o.indexOf(e),1),t&&t.call(e)}}}return r},t},createPortal:ux,flushToDom:function(){var e=ik.debounceRendering,t=[];function n(e){t.push(e)}ik.debounceRendering=n,jk(vk(xx,{}),document.createElement("div"));for(;t.length;)t.shift()();ik.debounceRendering=e},unmountComponentAtNode:function(e){jk(null,e)}};var xx=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ri(t,e),t.prototype.render=function(){return vk("div",{})},t.prototype.componentDidMount=function(){this.setState({})},t}(_k);if("undefined"==typeof FullCalendarVDom)throw new Error("Please import the top-level fullcalendar lib before attempting to import a plugin.");var Cx=FullCalendarVDom.Component,Sx=FullCalendarVDom.createElement,Ex=FullCalendarVDom.render,Tx=FullCalendarVDom.createRef,Ox=FullCalendarVDom.Fragment,Ix=Full
2CalendarVDom.createContext,Ax=FullCalendarVDom.createPortal,Dx=FullCalendarVDom.flushToDom,Px=FullCalendarVDom.unmountComponentAtNode,Mx=function(){function e(e,t){this.context=e,this.internalEventSource=t}return e.prototype.remove=function(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})},e.prototype.refetch=function(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId],isRefetch:!0})},Object.defineProperty(e.prototype,"id",{get:function(){return this.internalEventSource.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this.internalEventSource.meta.url},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"format",{get:function(){return this.internalEventSource.meta.format},enumerable:!1,configurable:!0}),e}();function $x(e){e.parentNode&&e.parentNode.removeChild(e)}function Nx(e,t){if(e.closest)return e.closest(t);if(!document.documentElement.contains(e))return null;do{if(Rx(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}function Rx(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector).call(e,t)}var Lx=/(top|left|right|bottom|width|height)$/i;
2function jx(e,t){for(var n in t)Fx(e,n,t[n])}function Fx(e,t,n){null==n?e.style[t]="":"number"==typeof n&&Lx.test(t)?e.style[t]=n+"px":e.style[t]=n}var Bx=0;function qx(){return"fc-dom-"+(Bx+=1)}function Hx(e,t,n,r){var o=function(e,t){return function(n){var r=Nx(n.target,e);r&&t.call(r,n,r)}}(n,r);return e.addEventListener(t,o),function(){e.removeEventListener(t,o)}}function zx(e){return oi({onClick:e},Ux(e))}function Ux(e){return{tabIndex:0,onKeyDown:function(t){"Enter"!==t.key&&" "!==t.key||(e(t),t.preventDefault())}}}var Vx=0;function Gx(){return String(Vx+=1)}function Wx(e,t,n){return n.func?n.func(e,t):function(e,t){if(!e&&!t)return 0;if(null==t)return-1;if(null==e)return 1;if("string"==typeof e||"string"==typeof t)return String(e).localeCompare(String(t));return e-t}(e[n.field],t[n.field])*(n.order||1)}function Yx(e,t){var n=String(e);return"000".substr(0,t-n.length)+n}function Kx(e,t,n){return"function"==typeof e?e.apply(void 0,t):"string"==typeof e?t.reduce((function(e,t,n){return e.replace("$"+n,t||"")}),e):n}function Qx(e){return e%1==0}function Jx(e){var t=e.querySelector(".fc-scrollgrid-shrink-frame"),n=e.querySelector(".fc-scrollgrid-shrink-cushion");if(!t)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!n)throw new Error("needs fc-scrollgrid-shrink-cushion className");return e.getBoundingClientRect().width-t.getBoundingClientRect().width+n.getBoundingClientRect().width}var Zx=["sun","mon","tue","wed","thu","fri","sat"];function Xx(e,t){var n=cC(e);return n[2]+=7*t,uC(n)}function eC(e,t){var n=cC(e);return n[2]+=t,uC(n)}function tC(e,t){var n=cC(e);return n[6]+=t,uC(n)}function nC(e,t){return(t.valueOf()-e.valueOf())/864e5}function rC(e,t){return fC(e)===fC(t)?Math.round(nC(e,t)):null}function oC(e){return uC([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()])}function iC(e,t,n,r){var o=uC([t,0,1+aC(t,n,r)]),i=oC(e),a=Math.round(nC(o,i));return Math.floor(a/7)+1}function aC(e,t,n){var r=7+t-n;return-((7+uC([e,0,r]).getUTCDay()-t)%7)+r-1}function sC(e){return[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()]}function lC(e){return new Date(e[0],e[1]||0,null==e[2]?1:e[2],e[3]||0,e[4]||0,e[5]||0)}function cC(e){return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()]}function uC(e){return 1===e.length&&(e=e.concat([0])),new Date(Date.UTC.apply(Date,e))}function dC(e){return!isNaN(e.valueOf())}function fC(e){return 1e3*e.getUTCHours()*60*60+1e3*e.getUTCMinutes()*60+1e3*e.getUTCSeconds()+e.getUTCMilliseconds()}function pC(e,t,n,r){return{instanceId:Gx(),defId:e,range:t,forcedStartTzo:null==n?null:n,forcedEndTzo:null==r?null:r}}var hC=Object.prototype.hasOwnProperty;function mC(e,t){var n={};if(t)for(var r in t){for(var o=[],i=e.length-1;i>=0;i-=1){var a=e[i][r];if("object"==typeof a&&a)o.unshift(a);else if(void 0!==a){n[r]=a;break}}o.length&&(n[r]=mC(o))}for(i=e.length-1;i>=0;i-=1){var s=e[i];for(var l in s)l in n||(n[l]=s[l])}return n}function vC(e,t){var n={};for(var r in e)t(e[r],r)&&(n[r]=e[r]);return n}function gC(e,t){var n={};for(var r in e)n[r]=t(e[r],r);return n}function yC(e){for(var t={},n=0,r=e;n<r.length;n++){t[r[n]]=!0}return t}function bC(e){var t=[];for(var n in e)t.push(e[n]);return t}function _C(e,t){if(e===t)return!0;for(var n in e)if(hC.call(e,n)&&!(n in t))return!1;for(var n in t)if(hC.call(t,n)&&e[n]!==t[n])return!1;return!0}function wC(e,t){var n=[];for(var r in e)hC.call(e,r)&&(r in t||n.push(r));for(var r in t)hC.call(t,r)&&e[r]!==t[r]&&n.push(r);return n}function kC(e,t,n){if(void 0===n&&(n={}),e===t)return!0;for(var r in t)if(!(r in e)||!xC(e[r],t[r],n[r]))return!1;for(var r in e)if(!(r in t))return!1;return!0}function xC(e,t,n){return e===t||!0===n||!!n&&n(e,t)}function CC(e,t,n){var r=n.dateEnv,o=n.pluginHooks,i=n.options,a=e.defs,s=e.instances;for(var l in s=vC(s,(function(e){return!a[e.defId].recurringDef})),a){var c=a[l];if(c.recurringDef){var u=c.recurringDef.duration;u||(u=c.allDay?i.defaultAllDayEventDuration:i.defaultTimedEventDuration);for(var d=0,f=SC(c,u,t,r,o.recurringTypes);d<f.length;d++){var p=f[d],h=pC(l,{start:p,end:r.add(p,u)});s[h.instanceId]=h}}}return{defs:a,instances:s}}function SC(e,t,n,r,o){var i=o[e.recurringDef.typeId].expand(e.recurringDef.typeData,{start:r.subtract(n.start,t),end:n.end},r);return e.allDay&&(i=i.map(oC)),i}var EC=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function TC(e,t){var n;return"string"==typeof e?function(e){var t=EC.exec(e);if(t){var n=t[1]?-1:1;return{years:0,months:0,days:n*(t[2]?parseInt(t[2],10):0),milliseconds:n*(60*(t[3]?parseInt(t[3],10):0)*60*1e3+60*(t[4]?parseInt(t[4],10):0)*1e3+1e3*(t[5]?parseInt(t[5],10):0)+(t[6]?parseInt(t[6],10):0))}}return null}(e):"object"==typeof e&&e?OC(e):"number"==typeof e?OC(((n={})[t||"milliseconds"]=e,n)):null}function OC(e){var t={years:e.years||e.year||0,months:e.months||e.month||0,days:e.days||e.day||0,milliseconds:60*(e.hours||e.hour||0)*60*1e3+60*(e.minutes||e.minute||0)*1e3+1e3*(e.seconds||e.second||0)+(e.milliseconds||e.millisecond||e.ms||0)},n=e.weeks||e.week;return n&&(t.days+=7*n,t.specifiedWeeks=!0),t}function IC(e){return AC(e)/864e5}
2function AC(e){return 31536e6*e.years+2592e6*e.months+864e5*e.days+e.milliseconds}function DC(e){var t=e.milliseconds;if(t){if(t%1e3!=0)return{unit:"millisecond",value:t};if(t%6e4!=0)return{unit:"second",value:t/1e3};if(t%36e5!=0)return{unit:"minute",value:t/6e4};if(t)return{unit:"hour",value:t/36e5}}return e.days?e.specifiedWeeks&&e.days%7==0?{unit:"week",value:e.days/7}:{unit:"day",value:e.days}:e.months?{unit:"month",value:e.months}:e.years?{unit:"year",value:e.years}:{unit:"millisecond",value:0}}function PC(e){return e.toISOString().replace(/T.*$/,"")}function MC(e,t){void 0===t&&(t=!1);var n=e<0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),i=Math.round(r%60);return t?n+Yx(o,2)+":"+Yx(i,2):"GMT"+n+o+(i?":"+Yx(i,2):"")}function $C(e,t,n){if(e===t)return!0;var r,o=e.length;if(o!==t.length)return!1;for(r=0;r<o;r+=1)if(!(n?n(e[r],t[r]):e[r]===t[r]))return!1;return!0}function NC(e,t,n){var r,o;return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(r){if(!$C(r,i)){n&&n(o);var s=e.apply(this,i);t&&t(s,o)||(o=s)}}else o=e.apply(this,i);return r=i,o}}function RC(e,t,n){var r,o,i=this;return function(a){if(r){if(!_C(r,a)){n&&n(o);var s=e.call(i,a);t&&t(s,o)||(o=s)}}else o=e.call(i,a);return r=a,o}}var LC={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},jC={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},FC=/\s*([ap])\.?m\.?/i,BC=/,/g,qC=/\s+/g,HC=/\u200e/g,zC=/UTC|GMT/,UC=function(){function e(e){var t={},n={},r=0;for(var o in e)o in LC?(n[o]=e[o],r=Math.max(LC[o],r)):(t[o]=e[o],o in jC&&(r=Math.max(jC[o],r)));this.standardDateProps=t,this.extendedSettings=n,this.severity=r,this.buildFormattingFunc=NC(VC)}return e.prototype.format=function(e,t){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,t)(e)},e.prototype.formatRange=function(e,t,n,r){var o=this.standardDateProps,i=this.extendedSettings,a=function(e,t,n){if(n.getMarkerYear(e)!==n.getMarkerYear(t))return 5;if(n.getMarkerMonth(e)!==n.getMarkerMonth(t))return 4;if(n.getMarkerDay(e)!==n.getMarkerDay(t))return 2;if(fC(e)!==fC(t))return 1;return 0}(e.marker,t.marker,n.calendarSystem);if(!a)return this.format(e,n);var s=a;!(s>1)||"numeric"!==o.year&&"2-digit"!==o.year||"numeric"!==o.month&&"2-digit"!==o.month||"numeric"!==o.day&&"2-digit"!==o.day||(s=1);var l=this.format(e,n),c=this.format(t,n);if(l===c)return l;var u=VC(function(e,t){var n={};for(var r in e)(!(r in jC)||jC[r]<=t)&&(n[r]=e[r]);return n}(o,s),i,n),d=u(e),f=u(t),p=function(e,t,n,r){var o=0;for(;o<e.length;){var i=e.indexOf(t,o);if(-1===i)break;var a=e.substr(0,i);o=i+t.length;for(var s=e.substr(o),l=0;l<n.length;){var c=n.indexOf(r,l);if(-1===c)break;var u=n.substr(0,c);l=c+r.length;var d=n.substr(l);if(a===u&&s===d)return{before:a,after:s}}}return null}(l,d,c,f),h=i.separator||r||n.defaultSeparator||"";return p?p.before+d+h+f+p.after:l+h+c},e.prototype.getLargestUnit=function(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}},e}();function VC(e,t,n){var r=Object.keys(e).length;return 1===r&&"short"===e.timeZoneName?function(e){return MC(e.timeZoneOffset)}:0===r&&t.week?function(e){return function(e,t,n,r,o){var i=[];"long"===o?i.push(n):"short"!==o&&"narrow"!==o||i.push(t);"long"!==o&&"short"!==o||i.push(" ");i.push(r.simpleNumberFormat.format(e)),"rtl"===r.options.direction&&i.reverse();return i.join("")}(n.computeWeekNumber(e.marker),n.weekText,n.weekTextLong,n.locale,t.week)}:function(e,t,n){e=oi({},e),t=oi({},t),function(e,t){e.timeZoneName&&(e.hour||(e.hour="2-digit"),e.minute||(e.minute="2-digit"));"long"===e.timeZoneName&&(e.timeZoneName="short");t.omitZeroMinute&&(e.second||e.millisecond)&&delete t.omitZeroMinute}(e,t),e.timeZone="UTC";var r,o=new Intl.DateTimeFormat(n.locale.codes,e);if(t.omitZeroMinute){var i=oi({},e);delete i.minute,r=new Intl.DateTimeFormat(n.locale.codes,i)}return function(i){var a=i.marker;return function(e,t,n,r,o){e=e.replace(HC,""),"short"===n.timeZoneName&&(e=function(e,t){var n=!1;e=e.replace(zC,(function(){return n=!0,t})),n||(e+=" "+t);return e}(e,"UTC"===o.timeZone||null==t.timeZoneOffset?"UTC":MC(t.timeZoneOffset)));r.omitCommas&&(e=e.replace(BC,"").trim());r.omitZeroMinute&&(e=e.replace(":00",""));
2!1===r.meridiem?e=e.replace(FC,"").trim():"narrow"===r.meridiem?e=e.replace(FC,(function(e,t){return t.toLocaleLowerCase()})):"short"===r.meridiem?e=e.replace(FC,(function(e,t){return t.toLocaleLowerCase()+"m"})):"lowercase"===r.meridiem&&(e=e.replace(FC,(function(e){return e.toLocaleLowerCase()})));return e=e.replace(qC," "),e=e.trim(),e}((r&&!a.getUTCMinutes()?r:o).format(a),i,e,t,n)}}(e,t,n)}function GC(e,t){var n=t.markerToArray(e.marker);return{marker:e.marker,timeZoneOffset:e.timeZoneOffset,array:n,year:n[0],month:n[1],day:n[2],hour:n[3],minute:n[4],second:n[5],millisecond:n[6]}}function WC(e,t,n,r){var o=GC(e,n.calendarSystem);return{date:o,start:o,end:t?GC(t,n.calendarSystem):null,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:r||n.defaultSeparator}}var YC=function(){function e(e){this.cmdStr=e}return e.prototype.format=function(e,t,n){return t.cmdFormatter(this.cmdStr,WC(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return n.cmdFormatter(this.cmdStr,WC(e,t,n,r))},e}(),KC=function(){function e(e){this.func=e}return e.prototype.format=function(e,t,n){return this.func(WC(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return this.func(WC(e,t,n,r))},e}();function QC(e){return"object"==typeof e&&e?new UC(e):"string"==typeof e?new YC(e):"function"==typeof e?new KC(e):null}var JC={navLinkDayClick:aS,navLinkWeekClick:aS,duration:TC,bootstrapFontAwesome:aS,buttonIcons:aS,customButtons:aS,defaultAllDayEventDuration:TC,defaultTimedEventDuration:TC,nextDayThreshold:TC,scrollTime:TC,scrollTimeReset:Boolean,slotMinTime:TC,slotMaxTime:TC,dayPopoverFormat:QC,slotDuration:TC,snapDuration:TC,headerToolbar:aS,footerToolbar:aS,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:QC,dayHeaderClassNames:aS,dayHeaderContent:aS,dayHeaderDidMount:aS,dayHeaderWillUnmount:aS,dayCellClassNames:aS,dayCellContent:aS,dayCellDidMount:aS,dayCellWillUnmount:aS,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:aS,weekNumbers:Boolean,weekNumberClassNames:aS,weekNumberContent:aS,weekNumberDidMount:aS,weekNumberWillUnmount:aS,editable:Boolean,viewClassNames:aS,viewDidMount:aS,viewWillUnmount:aS,nowIndicator:Boolean,nowIndicatorClassNames:aS,nowIndicatorContent:aS,nowIndicatorDidMount:aS,nowIndicatorWillUnmount:aS,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:aS,locale:aS,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:aS,eventOrder:function(e){var t,n,r=[],o=[];for("string"==typeof e?o=e.split(/\s*,\s*/):"function"==typeof e?o=[e]:Array.isArray(e)&&(o=e),t=0;t<o.length;t+=1)"string"==typeof(n=o[t])?r.push("-"===n.charAt(0)?{field:n.substring(1),order:-1}:{field:n,order:1}):"function"==typeof n&&r.push({func:n});return r},eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:aS,contentHeight:aS,direction:String,weekNumberFormat:QC,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:aS,initialDate:aS,now:aS,eventDataTransform:aS,stickyHeaderDates:aS,stickyFooterScrollbar:aS,viewHeight:aS,defaultAllDay:Boolean,eventSourceFailure:aS,eventSourceSuccess:aS,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:aS,eventConstraint:aS,eventAllow:aS,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:aS,eventContent:aS,eventDidMount:aS,eventWillUnmount:aS,selectConstraint:aS,selectOverlap:aS,selectAllow:aS,droppable:Boolean,unselectCancel:String,slotLabelFormat:aS,slotLaneClassNames:aS,slotLaneContent:aS,slotLaneDidMount:aS,slotLaneWillUnmount:aS,slotLabelClassNames:aS,slotLabelContent:aS,slotLabelDidMount:aS,slotLabelWillUnmount:aS,dayMaxEvents:aS,dayMaxEventRows:aS,dayMinWidth:Number,slotLabelInterval:TC,allDayText:String,allDayClassNames:aS,allDayContent:aS,allDayDidMount:aS,allDayWillUnmount:aS,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:QC,rerenderDelay:Number,moreLinkText:aS,moreLinkHint:aS,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:aS,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:TC,hiddenDays:aS,monthMode:Boolean,fixedWeekCount:Boolean,validRange:aS,visibleRange:aS,titleFormat:aS,eventInteractive:Boolean,noEventsText:String,viewHint:aS,navLinkHint:aS,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:aS,moreLinkClassNames:aS,moreLinkContent:aS,moreLinkDidMount:aS,moreLinkWillUnmount:aS},ZC={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" â ",defaultTimedEventDuration:"01:00:00",defaultAllDayEventDuration:{day:1},forceEventDuration:!1,nextDayThreshold:"00:00:00",dayHeaders:!0,initialView:"",aspectRatio:1.35,headerToolbar:{start:"title",center:"",end:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"local",editable:!1,nowIndicator:!1,scrollTime:"06:00:00",scrollTimeReset:!0,slotMinTime:"00:00:00",slotMaxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timeZoneParam:"timeZone",timeZone:"local",locales:[],locale:"",themeSystem:"standard",dragRevertDuration:500,dragScroll:!0,allDayMaintainDuration:!1,unselectAuto:!0,dropAccept:"*",eventOrder:"start,-duration,allDay,title",dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3,eventDragMinDistance:5,expandRows:!1,navLinks:!1,selectable:!1,eventMinHeight:15,eventMinWidth:30,eventShortHeight:30},XC={datesSet:aS,eventsSet:aS,eventAdd:aS,eventChange:aS,eventRemove:aS,windowResize:aS,eventClick:aS,eventMouseEnter:aS,eventMouseLeave:aS,select:aS,unselect:aS,loading:aS,_unmount:aS,_beforeprint:aS,_afterprint:aS,_noEventDrop:aS,_noEventResize:aS,_resize:aS,_scrollRequest:aS},eS={buttonText:aS,buttonHints:aS,views:aS,plugins:aS,initialEvents:aS,events:aS,eventSources:aS},tS={headerToolbar:nS,footerToolbar:nS,buttonText:nS,buttonHints:nS,buttonIcons:nS};function nS(e,t){return"object"==typeof e&&"object"==typeof t&&e&&t?_C(e,t):e===t}var rS={type:String,component:aS,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:aS,usesMinMaxTime:Boolean,classNames:aS,content:aS,didMount:aS,willUnmount:aS};function oS(e){return mC(e,tS)}function iS(e,t){var n={},r={};
2for(var o in t)o in e&&(n[o]=t[o](e[o]));for(var o in e)o in t||(r[o]=e[o]);return{refined:n,extra:r}}function aS(e){return e}function sS(e,t,n,r){for(var o={defs:{},instances:{}},i=xS(n),a=0,s=e;a<s.length;a++){var l=wS(s[a],t,n,r,i);l&&lS(l,o)}return o}function lS(e,t){return void 0===t&&(t={defs:{},instances:{}}),t.defs[e.def.defId]=e.def,e.instance&&(t.instances[e.instance.instanceId]=e.instance),t}function cS(e,t){var n=e.instances[t];if(n){var r=e.defs[n.defId],o=dS(e,(function(e){return t=r,n=e,Boolean(t.groupId&&t.groupId===n.groupId);var t,n}));return o.defs[r.defId]=r,o.instances[n.instanceId]=n,o}return{defs:{},instances:{}}}function uS(e,t){return{defs:oi(oi({},e.defs),t.defs),instances:oi(oi({},e.instances),t.instances)}}function dS(e,t){var n=vC(e.defs,t),r=vC(e.instances,(function(e){return n[e.defId]}));return{defs:n,instances:r}}function fS(e){return Array.isArray(e)?e:"string"==typeof e?e.split(/\s+/):[]}var pS={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:aS,overlap:aS,allow:aS,className:fS,classNames:fS,color:String,backgroundColor:String,borderColor:String,textColor:String},hS={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function mS(e,t){var n=function(e,t){return Array.isArray(e)?sS(e,null,t,!0):"object"==typeof e&&e?sS([e],null,t,!0):null!=e?String(e):null}(e.constraint,t);return{display:e.display||null,startEditable:null!=e.startEditable?e.startEditable:e.editable,durationEditable:null!=e.durationEditable?e.durationEditable:e.editable,constraints:null!=n?[n]:[],overlap:null!=e.overlap?e.overlap:null,allows:null!=e.allow?[e.allow]:[],backgroundColor:e.backgroundColor||e.color||"",borderColor:e.borderColor||e.color||"",textColor:e.textColor||"",classNames:(e.className||[]).concat(e.classNames||[])}}function vS(e){return e.reduce(gS,hS)}function gS(e,t){return{display:null!=t.display?t.display:e.display,startEditable:null!=t.startEditable?t.startEditable:e.startEditable,durationEditable:null!=t.durationEditable?t.durationEditable:e.durationEditable,constraints:e.constraints.concat(t.constraints),overlap:"boolean"==typeof t.overlap?t.overlap:e.overlap,allows:e.allows.concat(t.allows),backgroundColor:t.backgroundColor||e.backgroundColor,borderColor:t.borderColor||e.borderColor,textColor:t.textColor||e.textColor,classNames:e.classNames.concat(t.classNames)}}var yS={id:String,groupId:String,title:String,url:String,interactive:Boolean},bS={start:aS,end:aS,date:aS,allDay:Boolean},_S=oi(oi(oi({},yS),bS),{extendedProps:aS});function wS(e,t,n,r,o){void 0===o&&(o=xS(n));var i=kS(e,n,o),a=i.refined,s=i.extra,l=function(e,t){var n=null;e&&(n=e.defaultAllDay);null==n&&(n=t.options.defaultAllDay);return n}(t,n),c=function(e,t,n,r){for(var o=0;o<r.length;o+=1){var i=r[o].parse(e,n);if(i){var a=e.allDay;return null==a&&null==(a=t)&&null==(a=i.allDayGuess)&&(a=!1),{allDay:a,duration:i.duration,typeData:i.typeData,typeId:o}}}return null}(a,l,n.dateEnv,n.pluginHooks.recurringTypes);if(c)return(u=CS(a,s,t?t.sourceId:"",c.allDay,Boolean(c.duration),n)).recurringDef={typeId:c.typeId,typeData:c.typeData,duration:c.duration},{def:u,instance:null};var u,d=function(e,t,n,r){var o,i,a=e.allDay,s=null,l=!1,c=null,u=null!=e.start?e.start:e.date;if(o=n.dateEnv.createMarkerMeta(u),o)s=o.marker;else if(!r)return null;null!=e.end&&(i=n.dateEnv.createMarkerMeta(e.end));null==a&&(a=null!=t?t:(!o||o.isTimeUnspecified)&&(!i||i.isTimeUnspecified));a&&s&&(s=oC(s));i&&(c=i.marker,a&&(c=oC(c)),s&&c<=s&&(c=null));c?l=!0:r||(l=n.options.forceEventDuration||!1,c=n.dateEnv.add(s,a?n.options.defaultAllDayEventDuration:n.options.defaultTimedEventDuration));return{allDay:a,hasEnd:l,range:{start:s,end:c},forcedStartTzo:o?o.forcedTzo:null,forcedEndTzo:i?i.forcedTzo:null}}(a,l,n,r);return d?{def:u=CS(a,s,t?t.sourceId:"",d.allDay,d.hasEnd,n),instance:pC(u.defId,d.range,d.forcedStartTzo,d.forcedEndTzo)}:null}function kS(e,t,n){return void 0===n&&(n=xS(t)),iS(e,n)}function xS(e){return oi(oi(oi({},pS),_S),e.pluginHooks.eventRefiners)}function CS(e,t,n,r,o,i){for(var a={title:e.title||"",groupId:e.groupId||"",publicId:e.id||"",url:e.url||"",recurringDef:null,defId:Gx(),sourceId:n,allDay:r,hasEnd:o,interactive:e.interactive,ui:mS(e,i),extendedProps:oi(oi({},e.extendedProps||{}),t)},s=0,l=i.pluginHooks.eventDefMemberAdders;s<l.length;s++){var c=l[s];oi(a,c(e))}return Object.freeze(a.ui.classNames),Object.freeze(a.extendedProps),a}function SS(e){var t=Math.floor(nC(e.start,e.end))||1,n=oC(e.start);return{start:n,end:eC(n,t)}}function ES(e,t){void 0===t&&(t=TC(0));var n=null,r=null;if(e.end){r=oC(e.end);var o=e.end.valueOf()-r.valueOf();o&&o>=AC(t)&&(r=eC(r,1))}return e.start&&(n=oC(e.start),r&&r<=n&&(r=eC(n,1))),{start:n,end:r}}function TS(e,t,n,r){return"year"===r?TC(n.diffWholeYears(e,t),"year"):"month"===r?TC(n.diffWholeMonths(e,t),"month"):(i=t,a=oC(o=e),s=oC(i),{years:0,months:0,days:Math.round(nC(a,s)),milliseconds:i.valueOf()-s.valueOf()-(o.valueOf()-a.valueOf())});var o,i,a,s}function OS(e,t){var n,r,o=[],i=t.start;for(e.sort(IS),n=0;n<e.length;n+=1)(r=e[n]).start>i&&o.push({start:i,end:r.start}),r.end>
2i&&(i=r.end);return i<t.end&&o.push({start:i,end:t.end}),o}function IS(e,t){return e.start.valueOf()-t.start.valueOf()}function AS(e,t){var n=e.start,r=e.end,o=null;return null!==t.start&&(n=null===n?t.start:new Date(Math.max(n.valueOf(),t.start.valueOf()))),null!=t.end&&(r=null===r?t.end:new Date(Math.min(r.valueOf(),t.end.valueOf()))),(null===n||null===r||n<r)&&(o={start:n,end:r}),o}function DS(e,t){return(null===e.end||null===t.start||e.end>t.start)&&(null===e.start||null===t.end||e.start<t.end)}function PS(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t<e.end)}function MS(e,t,n,r){var o={},i={},a={},s=[],l=[],c=RS(e.defs,t);for(var u in e.defs){"inverse-background"===(p=c[(_=e.defs[u]).defId]).display&&(_.groupId?(o[_.groupId]=[],a[_.groupId]||(a[_.groupId]=_)):i[u]=[])}for(var d in e.instances){var f=e.instances[d],p=c[(_=e.defs[f.defId]).defId],h=f.range,m=!_.allDay&&r?ES(h,r):h,v=AS(m,n);v&&("inverse-background"===p.display?_.groupId?o[_.groupId].push(v):i[f.defId].push(v):"none"!==p.display&&("background"===p.display?s:l).push({def:_,ui:p,instance:f,range:v,isStart:m.start&&m.start.valueOf()===v.start.valueOf(),isEnd:m.end&&m.end.valueOf()===v.end.valueOf()}))}for(var g in o)for(var y=0,b=OS(o[g],n);y<b.length;y++){var _,w=b[y];p=c[(_=a[g]).defId];s.push({def:_,ui:p,instance:null,range:w,isStart:!1,isEnd:!1})}for(var u in i)for(var k=0,x=OS(i[u],n);k<x.length;k++){w=x[k];s.push({def:e.defs[u],ui:c[u],instance:null,range:w,isStart:!1,isEnd:!1})}return{bg:s,fg:l}}function $S(e,t){e.fcSeg=t}function NS(e){return e.fcSeg||e.parentNode.fcSeg||null}function RS(e,t){return gC(e,(function(e){return LS(e,t)}))}function LS(e,t){var n=[];return t[""]&&n.push(t[""]),t[e.defId]&&n.push(t[e.defId]),n.push(e.ui),vS(n)}function jS(e,t){var n=e.map(FS);return n.sort((function(e,n){return function(e,t,n){var r,o;for(r=0;r<n.length;r+=1)if(o=Wx(e,t,n[r]))return o;return 0}(e,n,t)})),n.map((function(e){return e._seg}))}function FS(e){var t=e.eventRange,n=t.def,r=t.instance?t.instance.range:t.range,o=r.start?r.start.valueOf():0,i=r.end?r.end.valueOf():0;return oi(oi(oi({},n.extendedProps),n),{id:n.publicId,start:o,end:i,duration:i-o,allDay:Number(n.allDay),_seg:e})}function BS(e,t){for(var n=t.pluginHooks.isDraggableTransformers,r=e.eventRange,o=r.def,i=r.ui,a=i.startEditable,s=0,l=n;s<l.length;s++){a=(0,l[s])(a,o,i,t)}return a}function qS(e,t){return e.isStart&&e.eventRange.ui.durationEditable&&t.options.eventResizableFromStart}function HS(e,t){return e.isEnd&&e.eventRange.ui.durationEditable}function zS(e,t,n,r,o,i,a){var s=n.dateEnv,l=n.options,c=l.displayEventTime,u=l.displayEventEnd,d=e.eventRange.def,f=e.eventRange.instance;null==c&&(c=!1!==r),null==u&&(u=!1!==o);var p=f.range.start,h=f.range.end,m=i||e.start||e.eventRange.range.start,v=a||e.end||e.eventRange.range.end,g=oC(p).valueOf()===oC(m).valueOf(),y=oC(tC(h,-1)).valueOf()===oC(tC(v,-1)).valueOf();return c&&!d.allDay&&(g||y)?(m=g?p:m,v=y?h:v,u&&d.hasEnd?s.formatRange(m,v,t,{forcedStartTzo:i?null:f.forcedStartTzo,forcedEndTzo:a?null:f.forcedEndTzo}):s.format(m,t,{forcedTzo:i?null:f.forcedStartTzo})):""}function US(e,t,n){var r=e.eventRange.range;return{isPast:r.end<(n||t.start),isFuture:r.start>=(n||t.end),isToday:t&&PS(t,r.start)}}function VS(e,t){var n=e.eventRange,r=n.def,o=n.instance,i=r.url;if(i)return{href:i};var a=t.emitter,s=t.options.eventInteractive;return null==s&&null==(s=r.interactive)&&(s=Boolean(a.hasHandlers("eventClick"))),s?Ux((function(e){a.trigger("eventClick",{el:e.target,event:new aE(t,r,o),jsEvent:e,view:t.viewApi})})):{}}var GS={start:aS,end:aS,allDay:Boolean};function WS(e,t,n){var r=function(e,t){var n=iS(e,GS),r=n.refined,o=n.extra,i=r.start?t.createMarkerMeta(r.start):null,a=r.end?t.createMarkerMeta(r.end):null,s=r.allDay;null==s&&(s=i&&i.isTimeUnspecified&&(!a||a.isTimeUnspecified));return oi({range:{start:i?i.marker:null,end:a?a.marker:null},allDay:s},o)}(e,t),o=r.range;if(!o.start)return null;if(!o.end){if(null==n)return null;o.end=t.add(o.start,n)}return r}function YS(e,t,n){return oi(oi({},KS(e,t,n)),{timeZone:t.timeZone})}function KS(e,t,n){return{start:t.toDate(e.start),end:t.toDate(e.end),startStr:t.formatIso(e.start,{omitTime:n}),endStr:t.formatIso(e.end,{omitTime:n})}}function QS(e,t){for(var n,r,o={},i=0,a=t.pluginHooks.dateSpanTransforms;i<a.length;i++){var s=a[i];oi(o,s(e,t))}return oi(o,(n=e,r=t.dateEnv,oi(oi({},KS(n.range,r,n.allDay)),{allDay:n.allDay}))),o}
2function JS(e,t,n){var r=n.dateEnv,o=n.options,i=t;return e?(i=oC(i),i=r.add(i,o.defaultAllDayEventDuration)):i=r.add(i,o.defaultTimedEventDuration),i}function ZS(e,t,n,r){var o=n.standardProps||{};null==o.hasEnd&&t.durationEditable&&(n.startDelta||n.endDelta)&&(o.hasEnd=!0);var i=oi(oi(oi({},e),o),{ui:oi(oi({},e.ui),o.ui)});n.extendedProps&&(i.extendedProps=oi(oi({},i.extendedProps),n.extendedProps));for(var a=0,s=r.pluginHooks.eventDefMutationAppliers;a<s.length;a++){(0,s[a])(i,n,r)}return!i.hasEnd&&r.options.forceEventDuration&&(i.hasEnd=!0),i}function XS(e,t,n,r,o){var i=o.dateEnv,a=r.standardProps&&!0===r.standardProps.allDay,s=r.standardProps&&!1===r.standardProps.hasEnd,l=oi({},e);return a&&(l.range=SS(l.range)),r.datesDelta&&n.startEditable&&(l.range={start:i.add(l.range.start,r.datesDelta),end:i.add(l.range.end,r.datesDelta)}),r.startDelta&&n.durationEditable&&(l.range={start:i.add(l.range.start,r.startDelta),end:l.range.end}),r.endDelta&&n.durationEditable&&(l.range={start:l.range.start,end:i.add(l.range.end,r.endDelta)}),s&&(l.range={start:l.range.start,end:JS(t.allDay,l.range.start,o)}),t.allDay&&(l.range={start:oC(l.range.start),end:oC(l.range.end)}),l.range.end<l.range.start&&(l.range.end=JS(t.allDay,l.range.start,o)),l}var eE=function(){function e(e,t,n){this.type=e,this.getCurrentData=t,this.dateEnv=n}return Object.defineProperty(e.prototype,"calendar",{get:function(){return this.getCurrentData().calendarApi},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this.getCurrentData().viewTitle},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)},enumerable:!1,configurable:!0}),e.prototype.getOption=function(e){return this.getCurrentData().options[e]},e}(),tE={id:String,defaultAllDay:Boolean,url:String,format:String,events:aS,eventDataTransform:aS,success:aS,failure:aS};function nE(e,t,n){var r;if(void 0===n&&(n=rE(t)),"string"==typeof e?r={url:e}:"function"==typeof e||Array.isArray(e)?r={events:e}:"object"==typeof e&&e&&(r=e),r){var o=iS(r,n),i=o.refined,a=o.extra,s=function(e,t){for(var n=t.pluginHooks.eventSourceDefs,r=n.length-1;r>=0;r-=1){var o=n[r].parseMeta(e);if(o)return{sourceDefId:r,meta:o}}return null}(i,t);if(s)return{_raw:e,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:i.defaultAllDay,eventDataTransform:i.eventDataTransform,success:i.success,failure:i.failure,publicId:i.id||"",sourceId:Gx(),sourceDefId:s.sourceDefId,meta:s.meta,ui:mS(i,t),extendedProps:a}}return null}function rE(e){return oi(oi(oi({},pS),tE),e.pluginHooks.eventSourceRefiners)}function oE(e,t){return"function"==typeof e&&(e=e()),null==e?t.createNowMarker():t.createMarker(e)}var iE=function(){function e(){}return e.prototype.getCurrentData=function(){return this.currentDataManager.getCurrentData()},e.prototype.dispatch=function(e){return this.currentDataManager.dispatch(e)},Object.defineProperty(e.prototype,"view",{get:function(){return this.getCurrentData().viewApi},enumerable:!1,configurable:!0}),e.prototype.batchRendering=function(e){e()},e.prototype.updateSize=function(){this.trigger("_resize",!0)},e.prototype.setOption=function(e,t){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:t})},e.prototype.getOption=function(e){return this.currentDataManager.currentCalendarOptionsInput[e]},e.prototype.getAvailableLocaleCodes=function(){return Object.keys(this.getCurrentData().availableRawLocales)},e.prototype.on=function(e,t){var n=this.currentDataManager;n.currentCalendarOptionsRefiners[e]?n.emitter.on(e,t):console.warn("Unknown listener name '"+e+"'")},e.prototype.off=function(e,t){this.currentDataManager.emitter.off(e,t)},e.prototype.trigger=function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];(t=this.currentDataManager.emitter).trigger.apply(t,ii([e],n))},e.prototype.changeView=function(e,t){var n=this;this.batchRendering((function(){if(n.unselect(),t)if(t.start&&t.end)n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e}),n.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:t});else{var r=n.getCurrentData().dateEnv;n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e,dateMarker:r.createMarker(t)})}else n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e})}))},e.prototype.zoomTo=function(e,t){var n;t=t||"day",n=this.getCurrentData().viewSpecs[t]||this.getUnitViewSpec(t),this.unselect(),n?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:n.type,dateMarker:e}):this.dispatch({type:"CHANGE_DATE",dateMarker:e})},e.prototype.getUnitViewSpec=function(e){var t,n,r=this.getCurrentData(),o=r.viewSpecs,i=r.toolbarConfig,a=[].concat(i.header?i.header.viewsWithButtons:[],i.footer?i.footer.viewsWithButtons:[]);for(var s in o)a.push(s);for(t=0;t<a.length;t+=1)if((n=o[a[t]])&&n.singleUnit===e)return n;return null},e.prototype.prev=function(){this.unselect(),this.dispatch({type:"PREV"})},e.prototype.next=function(){this.unselect(),this.dispatch({type:"NEXT"})},e.prototype.prevYear=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,-1)})},e.prototype.nextYear=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,1)})},e.prototype.today=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:oE(e.calendarOptions.now,e.dateEnv)})},e.prototype.gotoDate=function(e){var t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.createMarker(e)})},e.prototype.incrementDate=function(e){var t=this.getCurrentData(),n=TC(e);n&&(this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.add(t.currentDate,n)}))},e.prototype.getDate=function(){var e=this.getCurrentData();return e.dateEnv.toDate(e.currentDate)},e.prototype.formatDate=function(e,t){var n=this.getCurrentData().dateEnv;return n.format(n.createMarker(e),QC(t))},e.prototype.formatRange=function(e,t,n){var r=this.getCurrentData().dateEnv;return r.formatRange(r.createMarker(e),r.createMarker(t),QC(n),n)},e.prototype.formatIso=function(e,t){var n=this.getCurrentData().dateEnv;return n.formatIso(n.createMarker(e),{omitTime:t})},e.prototype.select=function(e,t){var n;n=null==t?null!=e.start?e:{start:e,end:null}:{start:e,end:t};var r=this.getCurrentData(),o=WS(n,r.dateEnv,TC({days:1}));o&&(this.dispatch({type:"SELECT_DATES",selection:o}),function(e,t,n){n.emitter.trigger("select",oi(oi({},QS(e,n)),{jsEvent:t?t.origEvent:null,view:n.viewApi||n.calendarApi.view}))}(o,null,r))},e.prototype.unselect=function(e){var t=this.getCurrentData();t.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),function(e,t){t.emitter.trigger("unselect",{jsEvent:e?e.origEvent:null,view:t.viewApi||t.calendarApi.view})}(e,t))},e.prototype.addEvent=function(e,t){if(e instanceof aE){var n=e._def,r=e._instance;return this.getCurrentData().eventStore.defs[n.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:lS({def
2:n,instance:r})}),this.triggerEventAdd(e)),e}var o,i=this.getCurrentData();if(t instanceof Mx)o=t.internalEventSource;else if("boolean"==typeof t)t&&(o=bC(i.eventSources)[0]);else if(null!=t){var a=this.getEventSourceById(t);if(!a)return console.warn('Could not find an event source with ID "'+t+'"'),null;o=a.internalEventSource}var s=wS(e,o,i,!1);if(s){var l=new aE(i,s.def,s.def.recurringDef?null:s.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:lS(s)}),this.triggerEventAdd(l),l}return null},e.prototype.triggerEventAdd=function(e){var t=this;this.getCurrentData().emitter.trigger("eventAdd",{event:e,relatedEvents:[],revert:function(){t.dispatch({type:"REMOVE_EVENTS",eventStore:sE(e)})}})},e.prototype.getEventById=function(e){var t=this.getCurrentData(),n=t.eventStore,r=n.defs,o=n.instances;for(var i in e=String(e),r){var a=r[i];if(a.publicId===e){if(a.recurringDef)return new aE(t,a,null);for(var s in o){var l=o[s];if(l.defId===a.defId)return new aE(t,a,l)}}}return null},e.prototype.getEvents=function(){var e=this.getCurrentData();return lE(e.eventStore,e)},e.prototype.removeAllEvents=function(){this.dispatch({type:"REMOVE_ALL_EVENTS"})},e.prototype.getEventSources=function(){var e=this.getCurrentData(),t=e.eventSources,n=[];for(var r in t)n.push(new Mx(e,t[r]));return n},e.prototype.getEventSourceById=function(e){var t=this.getCurrentData(),n=t.eventSources;for(var r in e=String(e),n)if(n[r].publicId===e)return new Mx(t,n[r]);return null},e.prototype.addEventSource=function(e){var t=this.getCurrentData();if(e instanceof Mx)return t.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;var n=nE(e,t);return n?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[n]}),new Mx(t,n)):null},e.prototype.removeAllEventSources=function(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})},e.prototype.refetchEvents=function(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})},e.prototype.scrollToTime=function(e){var t=TC(e);t&&this.trigger("_scrollRequest",{time:t})},e}(),aE=function(){function e(e,t,n){this._context=e,this._def=t,this._instance=n||null}return e.prototype.setProp=function(e,t){var n,r;if(e in bS)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if("id"===e)t=yS[e](t),this.mutate({standardProps:{publicId:t}});else if(e in yS)t=yS[e](t),this.mutate({standardProps:(n={},n[e]=t,n)});else if(e in pS){var o=pS[e](t);"color"===e?o={backgroundColor:t,borderColor:t}:"editable"===e?o={startEditable:t,durationEditable:t}:((r={})[e]=t,o=r),this.mutate({standardProps:{ui:o}})}else console.warn("Could not set prop '"+e+"'. Use setExtendedProp instead.")},e.prototype.setExtendedProp=function(e,t){var n;this.mutate({extendedProps:(n={},n[e]=t,n)})},e.prototype.setStart=function(e,t){void 0===t&&(t={});var n=this._context.dateEnv,r=n.createMarker(e);if(r&&this._instance){var o=TS(this._instance.range.start,r,n,t.granularity);t.maintainDuration?this.mutate({datesDelta:o}):this.mutate({startDelta:o})}},e.prototype.setEnd=function(e,t){void 0===t&&(t={});var n,r=this._context.dateEnv;if((null==e||(n=r.createMarker(e)))&&this._instance)if(n){var o=TS(this._instance.range.end,n,r,t.granularity);this.mutate({endDelta:o})}else this.mutate({standardProps:{hasEnd:!1}})},e.prototype.setDates=function(e,t,n){void 0===n&&(n={});var r,o,i,a=this._context.dateEnv,s={allDay:n.allDay},l=a.createMarker(e);if(l&&((null==t||(r=a.createMarker(t)))&&this._instance)){var c=this._instance.range;!0===n.allDay&&(c=SS(c));var u=TS(c.start,l,a,n.granularity);if(r){var d=TS(c.end,r,a,n.granularity);i=d,(o=u).years===i.years&&o.months===i.months&&o.days===i.days&&o.milliseconds===i.milliseconds?this.mutate({datesDelta:u,standardProps:s}):this.mutate({startDelta:u,endDelta:d,standardProps:s})}else s.hasEnd=!1,this.mutate({datesDelta:u,standardProps:s})}},e.prototype.moveStart=function(e){var t=TC(e);t&&this.mutate({startDelta:t})},e.prototype.moveEnd=function(e){var t=TC(e);t&&this.mutate({endDelta:t})},e.prototype.moveDates=function(e){var t=TC(e);t&&this.mutate({datesDelta:t})},e.prototype.setAllDay=function(e,t){void 0===t&&(t={});var n={allDay:e},r=t.maintainDuration;null==r&&(r=this._context.options.allDayMaintainDuration),this._def.allDay!==e&&(n.hasEnd=r),this.mutate({standardProps:n})},e.prototype.formatRange=function(e){var t=this._context.dateEnv,n=this._instance,r=QC(e);return this._def.hasEnd?t.formatRange(n.range.start,n.range.end,r,{forcedStartTzo:n.forcedStartTzo,forcedEndTzo:n.forcedEndTzo}):t.format(n.range.start,r,{forcedTzo:n.forcedStartTzo})},e.prototype.mutate=function(t){var n=this._instance;if(n){var r=this._def,o=this._context,i=o.getCurrentData().eventStore,a=cS(i,n.instanceId);a=function(e,t,n,r){var o=RS(e.defs,t),i={defs:{},instances:{}};for(var a in e.defs){var s=e.defs[a];i.defs[a]=ZS(s,o[a],n,r)}for(var l in e.instances){var c=e.instances[l];s=i.defs[c.defId],i.instances[l]=XS(c,s,o[c.defId],n,r)}return i}(a,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},t,o);var s=new e(o,r,n);this._def=a.defs[r.defId],this._instance=a.instances[n.instanceId],o.dispatch({type:"MERGE_EVENTS",eventStore:a}),o.emitter.trigger("eventChange",{oldEvent:s,event:this,relatedEvents:lE(a,o,n),revert:function(){o.dispatch({type:"RESET_EVENTS",eventStore:i})}})}},e.prototype.remove=function(){var e=this._context,t=sE(this);e.dispatch({type:"REMOVE_EVENTS",eventStore:t}),e.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert:function(){e.dispatch({type:"MERGE_EVENTS",eventStore:t})}})}
2,Object.defineProperty(e.prototype,"source",{get:function(){var e=this._def.sourceId;return e?new Mx(this._context,this._context.getCurrentData().eventSources[e]):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return this._instance?this._context.dateEnv.toDate(this._instance.range.start):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._instance&&this._def.hasEnd?this._context.dateEnv.toDate(this._instance.range.end):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startStr",{get:function(){var e=this._instance;return e?this._context.dateEnv.formatIso(e.range.start,{omitTime:this._def.allDay,forcedTzo:e.forcedStartTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"endStr",{get:function(){var e=this._instance;return e&&this._def.hasEnd?this._context.dateEnv.formatIso(e.range.end,{omitTime:this._def.allDay,forcedTzo:e.forcedEndTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._def.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"groupId",{get:function(){return this._def.groupId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allDay",{get:function(){return this._def.allDay},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this._def.title},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._def.url},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"display",{get:function(){return this._def.ui.display||"auto"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startEditable",{get:function(){return this._def.ui.startEditable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"durationEditable",{get:function(){return this._def.ui.durationEditable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"constraint",{get:function(){return this._def.ui.constraints[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"overlap",{get:function(){return this._def.ui.overlap},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allow",{get:function(){return this._def.ui.allows[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._def.ui.backgroundColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"borderColor",{get:function(){return this._def.ui.borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textColor",{get:function(){return this._def.ui.textColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"classNames",{get:function(){return this._def.ui.classNames},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"extendedProps",{get:function(){return this._def.extendedProps},enumerable:!1,configurable:!0}),e.prototype.toPlainObject=function(e){void 0===e&&(e={});var t=this._def,n=t.ui,r=this.startStr,o=this.endStr,i={};return t.title&&(i.title=t.title),r&&(i.start=r),o&&(i.end=o),t.publicId&&(i.id=t.publicId),t.groupId&&(i.groupId=t.groupId),t.url&&(i.url=t.url),n.display&&"auto"!==n.display&&(i.display=n.display),e.collapseColor&&n.backgroundColor&&n.backgroundColor===n.borderColor?i.color=n.backgroundColor:(n.backgroundColor&&(i.backgroundColor=n.backgroundColor),n.borderColor&&(i.borderColor=n.borderColor)),n.textColor&&(i.textColor=n.textColor),n.classNames.length&&(i.classNames=n.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?oi(i,t.extendedProps):i.extendedProps=t.extendedProps),i},e.prototype.toJSON=function(){return this.toPlainObject()},e}();function sE(e){var t,n,r=e._def,o=e._instance;return{defs:(t={},t[r.defId]=r,t),instances:o?(n={},n[o.instanceId]=o,n):{}}}function lE(e,t,n){var r=e.defs,o=e.instances,i=[],a=n?n.instanceId:"";for(var s in o){var l=o[s],c=r[l.defId];l.instanceId!==a&&i.push(new aE(t,c,l))}return i}var cE={};var uE,dE=function(){function e(){}return e.prototype.getMarkerYear=function(e){return e.getUTCFullYear()},e.prototype.getMarkerMonth=function(e){return e.getUTCMonth()},e.prototype.getMarkerDay=function(e){return e.getUTCDate()},e.prototype.arrayToMarker=function(e){return uC(e)},e.prototype.markerToArray=function(e){return cC(e)},e}();uE=dE,cE["gregory"]=uE;var fE=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;var pE=function(){function e(e){var t=this.timeZone=e.timeZone,n="local"!==t&&"UTC"!==t;e.namedTimeZoneImpl&&n&&(this.namedTimeZoneImpl=new e.namedTimeZoneImpl(t)),this.canComputeOffset=Boolean(!n||this.namedTimeZoneImpl),this.calendarSystem=function(e){return new cE[e]}(e.calendarSystem),this.locale=e.locale,this.weekDow=e.locale.week.dow,this.weekDoy=e.locale.week.doy,"ISO"===e.weekNumberCalculation&&(this.weekDow=1,this.weekDoy=4),"number"==typeof e.firstDay&&(this.weekDow=e.firstDay),"function"==typeof e.weekNumberCalculation&&(this.weekNumberFunc=e.weekNumberCalculation),this.weekText=null!=e.weekText?e.weekText:e.locale.options.weekText,this.weekTextLong=(null!=e.weekTextLong?e.weekTextLong:e.locale.options.weekTextLong)||this.weekText,this.cmdFormatter=e.cmdFormatter,this.defaultSeparator=e.defaultSeparator}return e.prototype.createMarker=function(e){var t=this.createMarkerMeta(e);return null===t?null:t.marker},e.prototype.createNowMarker=function(){return this.canComputeOffset?this.timestampToMarker((new Date).valueOf()):uC(sC(new Date))},e.prototype.createMarkerMeta=function(e){if("string"==typeof e)return this.parse(e);var t=null;return"number"==typeof e?t=this.timestampToMarker(e):e instanceof Date?(e=e.valueOf(),isNaN(e)||(t=this.timestampToMarker(e))):Array.isArray(e)&&(t=uC(e)),null!==t&&dC(t)?{marker:t,isTimeUnspecified:!1,forcedTzo:null}:null},e.prototype.parse=function(e){var t=function(e){var t=fE.exec(e);if(t){var n=new Date(Date.UTC(Number(t[1]),t[3]?Number(t[3])-1:0,Number(t[5]||1),Number(t[7]||0),Number(t[8]||0),Number(t[10]||0),t[12]?1e3*Number("0."+t[12]):0));if(dC(n)){var r=null;return t[13]&&(r=("-"===t[15]?-1:1)*(60*Number(t[16]||0)+Number(t[18]||0))),{marker:n,isTimeUnspecified:!t[6],timeZoneOffset:r}}}return null}(e);if(null===t)return null;var n=t.marker,r=null;return null!==t.timeZoneOffset&&(this.canComputeOffset?n=this.timestampToMarker(n.valueOf()-60*t.timeZoneOffset*1e3):r=t.timeZoneOffset),{marker:n,isTimeUnspecified:t.isTimeUnspecified,forcedTzo:r}},e.prototype.getYear=function(e){return this.calendarSystem.getMarkerYear(e)},e.prototype.getMonth=function(e){return this.calendarSystem.getMarkerMonth(e)},e.prototype.add=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]+=t.years,n[1]+=t.months,n[2]+=t.days,n[6]+=t.milliseconds,this.calendarSystem.arrayToMarker(n)},e.prototype.subtract=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]-=t.years,n[1]-=t.months,n[2]-=t.days,n[6]-=t.milliseconds,this.calendarSystem.arrayToMarker(n)},e.prototype.addYears=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]+=t,this.calendarSystem.arrayToMarker(n)},e.prototype.addMonths=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[1]+=t,this.calendarSystem.arrayToMarker(n)},e.prototype.diffWholeYears=function(e,t){var n=this.calendarSystem;return fC(e)===fC(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)&&n.getMarkerMonth(e)===n.getMarkerMonth(t)?n.getMarkerYear(t)-n.getMarkerYear(e):null},e.prototype.diffWholeMonths=function(e,t){var n=this.calendarSystem;return fC(e)===fC(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)?n.getMarkerMonth(t)-n.getMarkerMonth(e)+12*(n.getMarkerYear(t)-n.getMarkerYear(e)):null},e.prototype.greatestWholeUnit=function(e,t){var n=this.diffWholeYears(e,t);return null!==n?{unit:"year",value:n}:null!==(n=this.diffWholeMonths(e,t))?{unit:"month",value:n}:(n=function(e,t){var n=rC(e,t);return null!==n&&n%7==0?n/7:null}(e,t),null!==n?{unit:"week",value:n}:null!==(n=rC(e,t))?{unit:"day",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/36e5}(e,t),Qx(n)?{unit:"hour",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/6e4}(e,t),Qx(n)?{unit:"minute",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/1e3}(e,t),Qx(n)?{unit:"second",value:n}:{unit:"millisecond",value:t.valueOf()-e.valueOf()}))))},e.prototype.countDurationsBetween=function(e,t,n){var r;return n.years&&null!==(r=this.diffWholeYears(e,t))?r/(IC(n)/365):n.months&&null!==(r=this.diffWholeMonths(e,t))?r/function(e){return IC(e)/30}(n):n.days&&null!==(r=rC(e,t))?r/IC(n):(t.valueOf()-e.valueOf())/AC(n)},e.prototype.startOf=function(e,t){return"year"===t?this.startOfYear(e):"month"===t?this.startOfMonth(e):"week"===t?this.startOfWeek(e):"day"===t?oC(e):"hour"===t?function(e){return uC([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours()])}(e):"minute"===t?function(e){return uC([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes()])}(e):"second"===t?function(e){return uC([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds()])}(e):null},e.prototype.startOfYear=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e)])},e.prototype.startOfMonth=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e)])},e.prototype.startOfWeek=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),e.getUTCDate()-(e.getUTCDay()-this.weekDow+7)%7])},e.prototype.computeWeekNumber=function(e){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(e)):function(e,t,n){var r=e.getUTCFullYear(),o=iC(e,r,t,n);if(o<1)return iC(e,r-1,t,n);var i=iC(e,r+1,t,n);return i>=1?Math.min(o,i):o}(e,this.weekDow,this.weekDoy)},e.prototype.format=function(e,t,n){return void 0===n&&(n={}),t.format({marker:e,timeZoneOffset:null!=n.forcedTzo?n.forcedTzo:this.offsetForMarker(e)},this)},e.prototype.formatRange=function(e,t,n,r){return void 0===r&&(r={}),r.isEndExclusive&&(t=tC(t,-1)),n.formatRange({marker:e,timeZoneOffset:null!=r.forcedStartTzo?r.forcedStartTzo:this.offsetForMarker(e)},{marker:t,timeZoneOffset:null!=r.forcedEndTzo?r.forcedEndTzo:this.offsetForMarker(t)},this,r.defaultSeparator)},e.prototype.formatIso=function(e,t){void 0===t&&(t={});var n=null;return t.omitTimeZoneOffset||(n=null!=t.forcedTzo?t.forcedTzo:this.offsetForMarker(e)),function(e,t,n){void 0===n&&(n=!1);var r=e.toISOString();return r=r.replace(".000",""),n&&(r=r.replace("T00:00:00Z","")),r.length>10&&(null==t?r=r.replace("Z",""):0!==t&&(r=r.replace("Z",MC(t,!0)))),r}(e,n,t.omitTime)},e.prototype.timestampToMarker=function(e){return"local"===this.timeZone?uC(sC(new Date(e))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?uC(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)},e.prototype.offsetForMarker=function(e){return"local"===this.timeZone?-lC(cC(e)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(cC(e)):null},e.prototype.toDate=function(e,t){return"local"===this.timeZone?lC(cC(e)):"UTC"===this.timeZone?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(cC(e))*60):new Date(e.valueOf()-(t||0))},e}(),hE=[],mE={code:"en",week:{dow:0,doy:4},direction:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekText:"W",weekTextLong:"Week",closeHint:"Close",timeHint:"Time",eventHint:"Event",allDayText:"all-day",moreLinkText:"more",noEventsText:"No events to display"},vE=oi(oi({},mE),{buttonHints:{prev:"Previous $0",next:"Next $0",today:function(e,t){return"day"===t?"Today":"This "+e}},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:function(e){return"Show "+e+" more event"+(1===e?"":"s")}});function gE(e){for(var t=e.length>0?e[0].code:"en",n=hE.concat(e),r={en:vE},o=0,i=n;o<i.length;o++){var a=i[o];r[a.code]=a}return{map:r,defaultCode:t}}function yE(e,t){return"object"!=typeof e||Array.isArray(e)?function(e,t){var n=[].concat(e||[]),r=function(e,t){for(var n=0;n<e.length;n+=1)for(var r=e[n].toLocaleLowerCase().split("-"),o=r.length;o>0;o-=1){var i=r.slice(0,o).join("-");if(t[i])return t[i]}return null}(n,t)||vE;return bE(e,n,r)}(e,t):bE(e.code,[e.code],e)}function bE(e,t,n){var r=mC([mE,n],["buttonText"]);delete r.code;var o=r.week;return delete r.week,{codeArg:e,codes:t,week:o,simpleNumberFormat:new Intl.NumberFormat(e),options:r}}var _E,wE={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function kE(e,t){return sS(function(e){var t;t=!0===e?[{}]:Array.isArray(e)?e.filter((function(e){return e.daysOfWeek})):"object"==typeof e&&e?[e]:[];return t=t.map((function(e){return oi(oi({},wE),e)}))}(e),null,t)}function xE(){return null==_E&&(_E=function(){if("undefined"==typeof document)return!0;var e=document.createElement("div");e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.innerHTML="<table><tr><td><div></div></td></tr></table>",e.querySelector("table").style.height="100px",e.querySelector("div").style.height="100%",document.body.appendChild(e);var t=e.querySelector("div").offsetHeight>0;return document.body.removeChild(e),t}()),_E}var CE={defs:{},instances:{}};
2!function(){function e(){this.getKeysForEventDefs=NC(this._getKeysForEventDefs),this.splitDateSelection=NC(this._splitDateSpan),this.splitEventStore=NC(this._splitEventStore),this.splitIndividualUi=NC(this._splitIndividualUi),this.splitEventDrag=NC(this._splitInteraction),this.splitEventResize=NC(this._splitInteraction),this.eventUiBuilders={}}e.prototype.splitProps=function(e){var t=this,n=this.getKeyInfo(e),r=this.getKeysForEventDefs(e.eventStore),o=this.splitDateSelection(e.dateSelection),i=this.splitIndividualUi(e.eventUiBases,r),a=this.splitEventStore(e.eventStore,r),s=this.splitEventDrag(e.eventDrag),l=this.splitEventResize(e.eventResize),c={};for(var u in this.eventUiBuilders=gC(n,(function(e,n){return t.eventUiBuilders[n]||NC(SE)})),n){var d=n[u],f=a[u]||CE,p=this.eventUiBuilders[u];c[u]={businessHours:d.businessHours||e.businessHours,dateSelection:o[u]||null,eventStore:f,eventUiBases:p(e.eventUiBases[""],d.ui,i[u]),eventSelection:f.instances[e.eventSelection]?e.eventSelection:"",eventDrag:s[u]||null,eventResize:l[u]||null}}return c},e.prototype._splitDateSpan=function(e){var t={};if(e)for(var n=0,r=this.getKeysForDateSpan(e);n<r.length;n++){t[r[n]]=e}return t},e.prototype._getKeysForEventDefs=function(e){var t=this;return gC(e.defs,(function(e){return t.getKeysForEventDef(e)}))},e.prototype._splitEventStore=function(e,t){var n=e.defs,r=e.instances,o={};for(var i in n)for(var a=0,s=t[i];a<s.length;a++){o[f=s[a]]||(o[f]={defs:{},instances:{}}),o[f].defs[i]=n[i]}for(var l in r)for(var c=r[l],u=0,d=t[c.defId];u<d.length;u++){var f;o[f=d[u]]&&(o[f].instances[l]=c)}return o},e.prototype._splitIndividualUi=function(e,t){var n={};for(var r in e)if(r)for(var o=0,i=t[r];o<i.length;o++){var a=i[o];
2n[a]||(n[a]={}),n[a][r]=e[r]}return n},e.prototype._splitInteraction=function(e){var t={};if(e){var n=this._splitEventStore(e.affectedEvents,this._getKeysForEventDefs(e.affectedEvents)),r=this._getKeysForEventDefs(e.mutatedEvents),o=this._splitEventStore(e.mutatedEvents,r),i=function(r){t[r]||(t[r]={affectedEvents:n[r]||CE,mutatedEvents:o[r]||CE,isEvent:e.isEvent})};for(var a in n)i(a);for(var a in o)i(a)}return t}}();function SE(e,t,n){var r=[];e&&r.push(e),t&&r.push(t);var o={"":vS(r)};return n&&oi(o,n),o}function EE(e,t,n,r){return{dow:e.getUTCDay(),isDisabled:Boolean(r&&!PS(r.activeRange,e)),isOther:Boolean(r&&!PS(r.currentRange,e)),isToday:Boolean(t&&PS(t,e)),isPast:Boolean(n?e<n:!!t&&e<t.start),isFuture:Boolean(n?e>n:!!t&&e>=t.end)}}function TE(e,t){var n=["fc-day","fc-day-"+Zx[e.dow]];return e.isDisabled?n.push("fc-day-disabled"):(e.isToday&&(n.push("fc-day-today"),n.push(t.getClass("today"))),e.isPast&&n.push("fc-day-past"),e.isFuture&&n.push("fc-day-future"),e.isOther&&n.push("fc-day-other")),n}var OE=QC({year:"numeric",month:"long",day:"numeric"}),IE=QC({week:"long"});function AE(e,t,n,r){void 0===n&&(n="day"),void 0===r&&(r=!0);var o=e.dateEnv,i=e.options,a=e.calendarApi,s=o.format(t,"week"===n?IE:OE);if(i.navLinks){var l=o.toDate(t),c=function(e){var r="day"===n?i.navLinkDayClick:"week"===n?i.navLinkWeekClick:null;"function"==typeof r?r.call(a,o.toDate(t),e):("string"==typeof r&&(n=r),a.zoomTo(t,n))};return oi({title:Kx(i.navLinkHint,[s,l],s),"data-navlink":""},r?zx(c):{onClick:c})}return{"aria-label":s}}var DE;function PE(){return DE||(DE=function(){var e=document.createElement("div");e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",e.style.left="-9999px",document.body.appendChild(e);var t=ME(e);return document.body.removeChild(e),t}()),DE}function ME(e){return{x:e.offsetHeight-e.clientHeight,y:e.offsetWidth-e.clientWidth}}function $E(e){for(var t,n,r,o=function(e){var t=[];for(;e instanceof HTMLElement;){var n=window.getComputedStyle(e);if("fixed"===n.position)break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&t.push(e),e=e.parentNode}return t}(e),i=e.getBoundingClientRect(),a=0,s=o;a<s.length;a++){var l=s[a],c=(t=i,n=l.getBoundingClientRect(),r=void 0,(r={left:Math.max(t.left,n.left),right:Math.min(t.right,n.right),top:Math.max(t.top,n.top),bottom:Math.min(t.bottom,n.bottom)}).left<r.right&&r.top<r.bottom&&r);if(!c)return null;i=c}return i}var NE=function(){function e(){this.handlers={},this.thisContext=null}return e.prototype.setThisContext=function(e){this.thisContext=e},e.prototype.setOptions=function(e){this.options=e},e.prototype.on=function(e,t){!function(e,t,n){(e[t]||(e[t]=[])).push(n)}(this.handlers,e,t)},e.prototype.off=function(e,t){!function(e,t,n){n?e[t]&&(e[t]=e[t].filter((function(e){return e!==n}))):delete e[t]}(this.handlers,e,t)},e.prototype.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=this.handlers[e]||[],o=this.options&&this.options[e],i=0,a=[].concat(o||[],r);i<a.length;i++){a[i].apply(this.thisContext,t)}},e.prototype.hasHandlers=function(e){return Boolean(this.handlers[e]&&this.handlers[e].length||this.options&&this.options[e])},e}();var RE=function(){function e(e,t,n,r){this.els=t;var o=this.originClientRect=e.getBoundingClientRect();n&&this.buildElHorizontals(o.left),r&&this.buildElVerticals(o.top)}return e.prototype.buildElHorizontals=function(e){for(var t=[],n=[],r=0,o=this.els;r<o.length;r++){var i=o[r].getBoundingClientRect();t.push(i.left-e),n.push(i.right-e)}this.lefts=t,this.rights=n},e.prototype.buildElVerticals=function(e){for(var t=[],n=[],r=0,o=this.els;r<o.length;r++){var i=o[r].getBoundingClientRect();t.push(i.top-e),n.push(i.bottom-e)}this.tops=t,this.bottoms=n},e.prototype.leftToIndex=function(e){var t,n=this.lefts,r=this.rights,o=n.length;for(t=0;t<o;t+=1)if(e>=n[t]&&e<r[t])return t},e.prototype.topToIndex=function(e){var t,n=this.tops,r=this.bottoms,o=n.length;for(t=0;t<o;t+=1)if(e>=n[t]&&e<r[t])return t},e.prototype.getWidth=function(e){return this.rights[e]-this.lefts[e]},e.prototype.getHeight=function(e){return this.bottoms[e]-this.tops[e]},e}(),LE=function(){function e(){}
2return e.prototype.getMaxScrollTop=function(){return this.getScrollHeight()-this.getClientHeight()},e.prototype.getMaxScrollLeft=function(){return this.getScrollWidth()-this.getClientWidth()},e.prototype.canScrollVertically=function(){return this.getMaxScrollTop()>0},e.prototype.canScrollHorizontally=function(){return this.getMaxScrollLeft()>0},e.prototype.canScrollUp=function(){return this.getScrollTop()>0},e.prototype.canScrollDown=function(){return this.getScrollTop()<this.getMaxScrollTop()},e.prototype.canScrollLeft=function(){return this.getScrollLeft()>0},e.prototype.canScrollRight=function(){return this.getScrollLeft()<this.getMaxScrollLeft()},e}(),jE=(function(e){function t(t){var n=e.call(this)||this;return n.el=t,n}ri(t,e),t.prototype.getScrollTop=function(){return this.el.scrollTop},t.prototype.getScrollLeft=function(){return this.el.scrollLeft},t.prototype.setScrollTop=function(e){this.el.scrollTop=e},t.prototype.setScrollLeft=function(e){this.el.scrollLeft=e},t.prototype.getScrollWidth=function(){return this.el.scrollWidth},t.prototype.getScrollHeight=function(){return this.el.scrollHeight},t.prototype.getClientHeight=function(){return this.el.clientHeight},t.prototype.getClientWidth=function(){return this.el.clientWidth}}(LE),function(e){function t(){return null!==e&&e.apply(this,arguments)||this}ri(t,e),t.prototype.getScrollTop=function(){return window.pageYOffset},t.prototype.getScrollLeft=function(){return window.pageXOffset},t.prototype.setScrollTop=function(e){window.scroll(window.pageXOffset,e)},t.prototype.setScrollLeft=function(e){window.scroll(e,window.pageYOffset)},t.prototype.getScrollWidth=function(){return document.documentElement.scrollWidth},t.prototype.getScrollHeight=function(){return document.documentElement.scrollHeight},t.prototype.getClientHeight=function(){return document.documentElement.clientHeight},t.prototype.getClientWidth=function(){return document.documentElement.clientWidth}}(LE),function(){function e(e){this.iconOverrideOption&&this.setIconOverride(e[this.iconOverrideOption])}return e.prototype.setIconOverride=function(e){var t,n;if("object"==typeof e&&e){for(n in t=oi({},this.iconClasses),e)t[n]=this.applyIconOverridePrefix(e[n]);this.iconClasses=t}else!1===e&&(this.iconClasses={})},e.prototype.applyIconOverridePrefix=function(e){var t=this.iconOverridePrefix;return t&&0!==e.indexOf(t)&&(e=t+e),e},e.prototype.getClass=function(e){return this.classes[e]||""},e.prototype.getIconClass=function(e,t){var n;return(n=t&&this.rtlIconClasses&&this.rtlIconClasses[e]||this.iconClasses[e])?this.baseIconClass+" "+n:""},e.prototype.getCustomButtonIconClass=function(e){var t;return this.iconOverrideCustomButtonOption&&(t=e[this.iconOverrideCustomButtonOption])?this.baseIconClass+" "+this.applyIconOverridePrefix(t):""},e}());jE.prototype.classes={},jE.prototype.iconClasses={},jE.prototype.baseIconClass="",jE.prototype.iconOverridePrefix="";var FE=function(){function e(e,t,n,r){var o=this;this.execFunc=e,this.emitter=t,this.scrollTime=n,this.scrollTimeReset=r,this.handleScrollRequest=function(e){o.queuedRequest=oi({},o.queuedRequest||{},e),o.drain()},t.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}return e.prototype.detach=function(){this.emitter.off("_scrollRequest",this.handleScrollRequest)},e.prototype.update=function(e){e&&this.scrollTimeReset?this.fireInitialScroll():this.drain()},e.prototype.fireInitialScroll=function(){this.handleScrollRequest({time:this.scrollTime})},e.prototype.drain=function(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)},e}(),BE=Ix({});function qE(e,t,n,r,o,i,a,s,l,c,u,d,f){return{dateEnv:o,options:n,pluginHooks:a,emitter:c,dispatch:s,getCurrentData:l,calendarApi:u,viewSpec:e,viewApi:t,dateProfileGenerator:r,theme:i,isRtl:"rtl"===n.direction,addResizeHandler:function(e){c.on("_resize",e)},removeResizeHandler:function(e){c.off("_resize",e)},createScrollResponder:function(e){return new FE(e,c,TC(n.scrollTime),n.scrollTimeReset)},registerInteractiveComponent:d,unregisterInteractiveComponent:f}}var HE=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ri(t,e),t.prototype.shouldComponentUpdate=function(e,t){return this.debug&&console.log(wC(e,this.props),wC(t,this.state)),!kC(this.props,e,this.propEquality)||!kC(this.state,t,this.stateEquality)},t.addPropsEquality=UE,t.addStateEquality=VE,t.contextType=BE,t}(Cx);HE.prototype.propEquality={},HE.prototype.stateEquality={};var zE=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ri(t,e),t.contextType=BE,t}(HE);function UE(e){var t=Object.create(this.prototype.propEquality);oi(t,e),this.prototype.propEquality=t}function VE(e){var t=Object.create(this.prototype.stateEquality);oi(t,e),this.prototype.stateEquality=t}function GE(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var WE=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.uid=Gx(),t}return ri(t,e),t.prototype.prepareHits=function(){},t.prototype.queryHit=function(e,t,n,r){return null},t.prototype.isValidSegDownEl=function(e){return!this.props.eventDrag&&!this.props.eventResize&&!Nx(e,".fc-event-mirror")},t.prototype.isValidDateDownEl=function(e){return!(Nx(e,".fc-event:not(.fc-bg-event)")||Nx(e,".fc-more-link")||Nx(e,"a[data-navlink]")||Nx(e,".fc-popover"))},t}(zE);function YE(e){return{id:Gx(),deps:e.deps||[],reducers:e.reducers||[],isLoadingFuncs:e.isLoadingFuncs||[],contextInit:[].concat(e.contextInit||[]),eventRefiners:e.eventRefiners||{},eventDefMemberAdders:e.eventDefMemberAdders||[],eventSourceRefiners:e.eventSourceRefiners||{},isDraggableTransformers:e.isDraggableTransformers||[],eventDragMutationMassagers:e.eventDragMutationMassagers||[],eventDefMutationAppliers:e.eventDefMutationAppliers||[],dateSelectionTransformers:e.dateSelectionTransformers||[],datePointTransforms:e.datePointTransforms||[],dateSpanTransforms:e.dateSpanTransforms||[],views:e.views||{},viewPropsTransformers:e.viewPropsTransformers||[],isPropsValid:e.isPropsValid||null,externalDefTransforms:e.externalDefTransforms||[],viewContainerAppends:e.viewContainerAppends||[],eventDropTransformers:e.eventDropTransformers||[],componentInteractions:e.componentInteractions||[],calendarInteractions:e.calendarInteractions||[],themeClasses:e.themeClasses||{},eventSourceDefs:e.eventSourceDefs||[],cmdFormatter:e.cmdFormatter,recurringTypes:e.recurringTypes||[],namedTimeZonedImpl:e.namedTimeZonedImpl,initialView:e.initialView||"",elementDraggingImpl:e.elementDraggingImpl,optionChangeHandlers:e.optionChangeHandlers||{},scrollGridImpl:e.scrollGridImpl||null,contentTypeHandlers:e.contentTypeHandlers||{},listenerRefiners:e.listenerRefiners||{},optionRefiners:e.optionRefiners||{},propSetHandlers:e.propSetHandlers||{}}}function KE(){var e,t=[],n=[];return function(r,o){return e&&$C(r,t)&&$C(o,n)||(e=function(e,t){var n={},r={reducers:[],isLoadingFuncs:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,contentTypeHandlers:{},listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function o(e){for(var t=0,i=e;t<i.length;t++){var a=i[t];n[a.id]||(n[a.id]=!0,o(a.deps),l=a,r={reducers:(s=r).reducers.concat(l.reducers),isLoadingFuncs:s.isLoadingFuncs.concat(l.isLoadingFuncs),contextInit:s.contextInit.concat(l.contextInit),eventRefiners:oi(oi({},s.eventRefiners),l.eventRefiners),eventDefMemberAdders:s.eventDefMemberAdders.concat(l.eventDefMemberAdders),eventSourceRefiners:oi(oi({},s.eventSourceRefiners),l.eventSourceRefiners),isDraggableTransformers:s.isDraggableTransformers.concat(l.isDraggableTransformers),eventDragMutationMassagers:s.eventDragMutationMassagers.concat(l.eventDragMutationMassagers),eventDefMutationAppliers:s.eventDefMutationAppliers.concat(l.eventDefMutationAppliers),dateSelectionTransformers:s.dateSelectionTransformers.concat(l.dateSelectionTransformers),datePointTransforms:s.datePointTransforms.concat(l.datePointTransforms),dateSpanTransforms:s.dateSpanTransforms.concat(l.dateSpanTransforms),views:oi(oi({},s.views),l.views),viewPropsTransformers:s.viewPropsTransformers.concat(l.viewPropsTransformers),isPropsValid:l.isPropsValid||s.isPropsValid,externalDefTransforms:s.externalDefTransforms.concat(l.externalDefTransforms),viewContainerAppends:s.viewContainerAppends.concat(l.viewContainerAppends),eventDropTransformers:s.eventDropTransformers.concat(l.eventDropTransformers),calendarInteractions:s.calendarInteractions.concat(l.calendarInteractions),componentInteractions:s.componentInteractions.concat(l.componentInteractions),theme
2Classes:oi(oi({},s.themeClasses),l.themeClasses),eventSourceDefs:s.eventSourceDefs.concat(l.eventSourceDefs),cmdFormatter:l.cmdFormatter||s.cmdFormatter,recurringTypes:s.recurringTypes.concat(l.recurringTypes),namedTimeZonedImpl:l.namedTimeZonedImpl||s.namedTimeZonedImpl,initialView:s.initialView||l.initialView,elementDraggingImpl:s.elementDraggingImpl||l.elementDraggingImpl,optionChangeHandlers:oi(oi({},s.optionChangeHandlers),l.optionChangeHandlers),scrollGridImpl:l.scrollGridImpl||s.scrollGridImpl,contentTypeHandlers:oi(oi({},s.contentTypeHandlers),l.contentTypeHandlers),listenerRefiners:oi(oi({},s.listenerRefiners),l.listenerRefiners),optionRefiners:oi(oi({},s.optionRefiners),l.optionRefiners),propSetHandlers:oi(oi({},s.propSetHandlers),l.propSetHandlers)})}var s,l}return e&&o(e),o(t),r}(r,o)),t=r,n=o,e}}var QE=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ri(t,e),t}(jE);function JE(e,t,n,r){if(t[e])return t[e];var o=function(e,t,n,r){var o=n[e],i=r[e],a=function(e){return o&&null!==o[e]?o[e]:i&&null!==i[e]?i[e]:null},s=a("component"),l=a("superType"),c=null;if(l){if(l===e)throw new Error("Can't have a custom view type that references itself");c=JE(l,t,n,r)}!s&&c&&(s=c.component);if(!s)return null;return{type:e,component:s,defaults:oi(oi({},c?c.defaults:{}),o?o.rawOptions:{}),overrides:oi(oi({},c?c.overrides:{}),i?i.rawOptions:{})}}(e,t,n,r);return o&&(t[e]=o),o}QE.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},QE.prototype.baseIconClass="fc-icon",QE.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-chevron-left",next:"fc-icon-chevron-right",prevYear:"fc-icon-chevrons-left",nextYear:"fc-icon-chevrons-right"},QE.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},QE.prototype.iconOverrideOption="buttonIcons",QE.prototype.iconOverrideCustomButtonOption="icon",QE.prototype.iconOverridePrefix="fc-icon-";var ZE=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=Tx(),t.handleRootEl=function(e){GE(t.rootElRef,e),t.props.elRef&&GE(t.props.elRef,e)},t}return ri(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.hookProps;return Sx(nT,{hookProps:n,didMount:t.didMount,willUnmount:t.willUnmount,elRef:this.handleRootEl},(function(r){return Sx(eT,{hookProps:n,content:t.content,defaultContent:t.defaultContent,backupElRef:e.rootElRef},(function(e,o){return t.children(r,oT(t.classNames,n),e,o)}))}))},t}(zE),XE=Ix(0);function eT(e){return Sx(XE.Consumer,null,(function(t){return Sx(tT,oi({renderId:t},e))}))}var tT=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.innerElRef=Tx(),t}return ri(t,e),t.prototype.render=function(){return this.props.children(this.innerElRef,this.renderInnerContent())},t.prototype.componentDidMount=function(){this.updateCustomContent()},t.prototype.componentDidUpdate=function(){this.updateCustomContent()},t.prototype.componentWillUnmount=function(){this.customContentInfo&&this.customContentInfo.destroy&&this.customContentInfo.destroy()},t.prototype.renderInnerContent=function(){var e=this.customContentInfo,t=this.getInnerContent(),n=this.getContentMeta(t);return e&&e.contentKey===n.contentKey?e&&(e.contentVal=t[n.contentKey]):(e&&(e.destroy&&e.destroy(),e=this.customContentInfo=null),n.contentKey&&(e=this.customContentInfo=oi({contentKey:n.contentKey,contentVal:t[n.contentKey]},n.buildLifecycleFuncs()))),e?[]:t},t.prototype.getInnerContent=function(){var e=this.props,t=iT(e.content,e.hookProps);return void 0===t&&(t=iT(e.defaultContent,e.hookProps)),null==t?null:t},t.prototype.getContentMeta=function(e){var t=this.context.pluginHooks.contentTypeHandlers,n="",r=null;if(e)for(var o in t)if(void 0!==e[o]){n=o,r=t[o];break}return{contentKey:n,buildLifecycleFuncs:r}},t.prototype.updateCustomContent=function(){this.customContentInfo&&this.customContentInfo.render(this.innerElRef.current||this.props.backupElRef.current,this.customContentInfo.contentVal)},t}(zE),nT=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&GE(t.props.elRef,e)},t}return ri(t,e),t.prototype.render=function(){return this.props.children(this.handleRootEl)},t.prototype.componentDidMount=function(){var e=this.props.didMount;e&&e(oi(oi({},this.props.hookProps),{el:this.rootEl}))},t.prototype.componentWillUnmount=function(){var e=this.props.willUnmount;e&&e(oi(oi({},this.props.hookProps),{el:this.rootEl}))},t}(zE);function rT(){var e,t,n=[];return function(r,o){return t&&_C(t,o)&&r===e||(e=r,t=o,n=oT(r,o)),n}}function oT(e,t){return"function"==typeof e&&(e=e(t)),fS(e)}function iT(e,t){return"function"==typeof e?e(t,Sx):e}var aT=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.normalizeClassNames=rT(),t}return ri(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r={view:t.viewApi},o=this.normalizeClassNames(n.viewClassNames,r);return Sx(nT,{hookProps:r,didMount:n.viewDidMount,willUnmount:n.viewWillUnmount,elRef:e.elRef},(function(t){return e.children(t,["fc-"+e.viewSpec.type+"-view","fc-view"].concat(o))}))},t}(zE);function sT(e){return gC(e,lT)}function lT(e){var t,n="function"==typeof e?{component:e}:e,r=n.component;return n.content&&(t=n,r=function(e){return Sx(BE.Consumer,null,(function(n){return Sx(aT,{viewSpec:n.viewSpec},(function(r,o){var i=oi(oi({},e),{nextDayThreshold:n.options.nextDayThreshold});return Sx(ZE,{hookProps:i,classNames:t.classNames,content:t.content,didMount:t.didMount,willUnmount:t.willUnmount,elRef:r},(function(e,t,n,r){return Sx("div",{className:o.concat(t).join(" "),ref:e},r)}))}))}))}),{superType:n.type,component:r,rawOptions:n}}function cT(e,t,n,r){var o=sT(e),i=sT(t.views),a=function(e,t){var n,r={};for(n in e)JE(n,r,e,t);for(n in t)JE(n,r,e,t);return r}(o,i);return gC(a,(function(e){return function(e,t,n,r,o){var i=e.overrides.duration||e.defaults.duration||r.duration||n.duration,a=null,s="",l="",c={};if(i&&(a=function(e){var t=JSON.stringify(e),n=uT[t];void 0===n&&(n=TC(e),uT[t]=n);return n}(i),a)){var u=DC(a);s=u.unit,1===u.value&&(l=s,c=t[s]?t[s].rawOptions:{})}var d=function(t){var n=t.buttonText||{},r=e.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[e.type]?n[e.type]:null!=n[l]?n[l]:null},f=function(t){var n=t.buttonHints||{},r=e.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[e.type]?n[e.type]:null!=n[l]?n[l]:null};return{type:e.type,component:e.component,duration:a,durationUnit:s,singleUnit:l,optionDefaults:e.defaults,optionOverrides:oi(oi({},c),e.overrides),buttonTextOverride:d(r)||d(n)||e.overrides.buttonText,buttonTextDefault:d(o)||e.defaults.buttonText||d(ZC)||e.type,buttonTitleOverride:f(r)||f(n)||e.overrides.buttonHint,buttonTitleDefault:f(o)||e.defaults.buttonHint||f(ZC)}}(e,i,t,n,r)}))}var uT={};var dT=function(){function e(e){this.props=e,this.nowDate=oE(e.nowInput,e.dateEnv),this.initHiddenDays()}return e.prototype.buildPrev=function(e,t,n){var r=this.props.dateEnv,o=r.subtract(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,-1,n)},e.prototype.buildNext=function(e,t,n){var r=this.props.dateEnv,o=r.add(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,1,n)},e.prototype.build=function(e,t,n){void 0===n&&(n=!0);var r,o,i,a,s,l,c,u,d=this.props;return r=this.buildValidRange(),r=this.trimHiddenDays(r),n&&(c=e,e=null!=(u=r).start&&c<u.start?u.start:null!=u.end&&c>=u.end?new Date(u.end.valueOf()-1):c),o=this.buildCurrentRangeInfo(e,t),i=/^(year|month|week|day)$/.test(o.unit),a=this.buildRenderRange(this.trimHiddenDays(o.range),o.unit,i),s=a=this.trimHiddenDays(a),d.showNonCurrentDates||(s=AS(s,o.range)),s=AS(s=this.adjustActiveRange(s),r),l=DS(o.range,r),{validRange:r,currentRange:o.range,currentRangeUnit:o.unit,isRangeAllDay:i,activeRange:s,renderRange:a,slotMinTime:d.slotMinTime,slotMaxTime:d.slotMaxTime,isValid:l,dateIncrement:this.buildDateIncrement(o.duration)}},e.prototype.buildValidRange=function(){var e=this.props.validRangeInput,t="function"==typeof e?e.call(this.props.calendarApi,this.nowDate):e;return this.refineRange(t)||{start:null,end:null}},e.prototype.buildCurrentRangeInfo=function(e,t){var n,r=this.props,o=null,i=null,a=null;return r.duration?(o=r.duration,i=r.durationUnit,a=this.buildRangeFromDuration(e,t,o,i)):(n=this.props.dayCount)?(i="day",a=this.buildRangeFromDayCount(e,t,n)):(a=this.buildCustomVisibleRange(e))?i=r.dateEnv.greatestWholeUnit(a.start,a.end).unit:(i=DC(o=this.getFallbackDuration()).unit,a=this.buildRangeFromDuration(e,t,o,i)),{duration:o,unit:i,range:a}},e.prototype.getFallbackDuration=function(){return TC({day:1})},e.prototype.adjustActiveRange=function(e){var t=this.props,n=t.dateEnv,r=t.usesMinMaxTime,o=t.slotMinTime,i=t.slotMaxTime,a=e.start,s=e.end;return r&&(IC(o)<0&&(a=oC(a),a=n.add(a,o)),IC(i)>1&&(s=eC(s=oC(s),-1),s=n.add(s,i))),{start:a,end:s}},e.prototype.buildRangeFromDuration=function(e,t,n,r){var o,i,a,s=this.props,l=s.dateEnv,c=s.dateAlignment;if(!c){var u=this.props.dateIncrement;c=u&&AC(u)<AC(n)?DC(u).unit:r}function d(){o=l.startOf(e,c),i=l.add(o,n),a={start:o,end:i}}
2return IC(n)<=1&&this.isHiddenDay(o)&&(o=oC(o=this.skipHiddenDays(o,t))),d(),this.trimHiddenDays(a)||(e=this.skipHiddenDays(e,t),d()),a},e.prototype.buildRangeFromDayCount=function(e,t,n){var r,o=this.props,i=o.dateEnv,a=o.dateAlignment,s=0,l=e;a&&(l=i.startOf(l,a)),l=oC(l),r=l=this.skipHiddenDays(l,t);do{r=eC(r,1),this.isHiddenDay(r)||(s+=1)}while(s<n);return{start:l,end:r}},e.prototype.buildCustomVisibleRange=function(e){var t=this.props,n=t.visibleRangeInput,r="function"==typeof n?n.call(t.calendarApi,t.dateEnv.toDate(e)):n,o=this.refineRange(r);return!o||null!=o.start&&null!=o.end?o:null},e.prototype.buildRenderRange=function(e,t,n){return e},e.prototype.buildDateIncrement=function(e){var t,n=this.props.dateIncrement;return n||((t=this.props.dateAlignment)?TC(1,t):e||TC({days:1}))},e.prototype.refineRange=function(e){if(e){var t=(n=e,r=this.props.dateEnv,o=null,i=null,n.start&&(o=r.createMarker(n.start)),n.end&&(i=r.createMarker(n.end)),o||i?o&&i&&i<o?null:{start:o,end:i}:null);return t&&(t=ES(t)),t}var n,r,o,i;return null},e.prototype.initHiddenDays=function(){var e,t=this.props.hiddenDays||[],n=[],r=0;for(!1===this.props.weekends&&t.push(0,6),e=0;e<7;e+=1)(n[e]=-1!==t.indexOf(e))||(r+=1);if(!r)throw new Error("invalid hiddenDays");this.isHiddenDayHash=n},e.prototype.trimHiddenDays=function(e){var t=e.start,n=e.end;return t&&(t=this.skipHiddenDays(t)),n&&(n=this.skipHiddenDays(n,-1,!0)),null==t||null==n||t<n?{start:t,end:n}:null},e.prototype.isHiddenDay=function(e){return e instanceof Date&&(e=e.getUTCDay()),this.isHiddenDayHash[e]},e.prototype.skipHiddenDays=function(e,t,n){for(void 0===t&&(t=1),void 0===n&&(n=!1);this.isHiddenDayHash[(e.getUTCDay()+(n?t:0)+7)%7];)e=eC(e,t);return e},e}();function fT(e,t,n){var r=t?t.activeRange:null;return mT({},function(e,t){var n=rE(t),r=[].concat(e.eventSources||[]),o=[];e.initialEvents&&r.unshift(e.initialEvents);e.events&&r.unshift(e.events);for(var i=0,a=r;i<a.length;i++){var s=nE(a[i],t,n);s&&o.push(s)}return o}(e,n),r,n)}function pT(e,t,n,r){var o,i,a=n?n.activeRange:null;switch(t.type){case"ADD_EVENT_SOURCES":return mT(e,t.sources,a,r);case"REMOVE_EVENT_SOURCE":return o=e,i=t.sourceId,vC(o,(function(e){return e.sourceId!==i}));case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return n?vT(e,a,r):e;case"FETCH_EVENT_SOURCES":return gT(e,t.sourceIds?yC(t.sourceIds):bT(e,r),a,t.isRefetch||!1,r);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return function(e,t,n,r){var o,i=e[t];if(i&&n===i.latestFetchId)return oi(oi({},e),((o={})[t]=oi(oi({},i),{isFetching:!1,fetchRange:r}),o));return e}(e,t.sourceId,t.fetchId,t.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return e}}function hT(e){for(var t in e)if(e[t].isFetching)return!0;return!1}function mT(e,t,n,r){for(var o={},i=0,a=t;i<a.length;i++){var s=a[i];o[s.sourceId]=s}return n&&(o=vT(o,n,r)),oi(oi({},e),o)}function vT(e,t,n){return gT(e,vC(e,(function(e){return function(e,t,n){if(!_T(e,n))return!e.latestFetchId;return!n.options.lazyFetching||!e.fetchRange||e.isFetching||t.start<e.fetchRange.start||t.end>e.fetchRange.end}(e,t,n)})),t,!1,n)}function gT(e,t,n,r,o){var i={};for(var a in e){var s=e[a];t[a]?i[a]=yT(s,n,r,o):i[a]=s}return i}function yT(e,t,n,r){var o=r.options,i=r.calendarApi,a=r.pluginHooks.eventSourceDefs[e.sourceDefId],s=Gx();return a.fetch({eventSource:e,range:t,isRefetch:n,context:r},(function(n){var a=n.rawEvents;o.eventSourceSuccess&&(a=o.eventSourceSuccess.call(i,a,n.xhr)||a),e.success&&(a=e.success.call(i,a,n.xhr)||a),r.dispatch({type:"RECEIVE_EVENTS",sourceId:e.sourceId,fetchId:s,fetchRange:t,rawEvents:a})}),(function(n){console.warn(n.message,n),o.eventSourceFailure&&o.eventSourceFailure.call(i,n),e.failure&&e.failure(n),r.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:e.sourceId,fetchId:s,fetchRange:t,error:n})})),oi(oi({},e),{isFetching:!0,latestFetchId:s})}function bT(e,t){return vC(e,(function(e){return _T(e,t)}))}function _T(e,t){return!t.pluginHooks.eventSourceDefs[e.sourceDefId].ignoreRange}function wT(e,t,n,r,o){switch(t.type){case"RECEIVE_EVENTS":return function(e,t,n,r,o,i){if
2(t&&n===t.latestFetchId){var a=sS(function(e,t,n){var r=n.options.eventDataTransform,o=t?t.eventDataTransform:null;o&&(e=kT(e,o));r&&(e=kT(e,r));return e}(o,t,i),t,i);return r&&(a=CC(a,r,i)),uS(xT(e,t.sourceId),a)}return e}(e,n[t.sourceId],t.fetchId,t.fetchRange,t.rawEvents,o);case"ADD_EVENTS":return function(e,t,n,r){n&&(t=CC(t,n,r));return uS(e,t)}(e,t.eventStore,r?r.activeRange:null,o);case"RESET_EVENTS":return t.eventStore;case"MERGE_EVENTS":return uS(e,t.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return r?CC(e,r.activeRange,o):e;case"REMOVE_EVENTS":return function(e,t){var n=e.defs,r=e.instances,o={},i={};for(var a in n)t.defs[a]||(o[a]=n[a]);for(var s in r)!t.instances[s]&&o[r[s].defId]&&(i[s]=r[s]);return{defs:o,instances:i}}(e,t.eventStore);case"REMOVE_EVENT_SOURCE":return xT(e,t.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return dS(e,(function(e){return!e.sourceId}));case"REMOVE_ALL_EVENTS":return{defs:{},instances:{}};default:return e}}function kT(e,t){var n;if(t){n=[];for(var r=0,o=e;r<o.length;r++){var i=o[r],a=t(i);a?n.push(a):null==a&&n.push(i)}}else n=e;return n}function xT(e,t){return dS(e,(function(e){return e.sourceId!==t}))}function CT(e,t){switch(t.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return t.selection;default:return e}}function ST(e,t){switch(t.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return t.eventInstanceId;default:return e}}function ET(e,t){var n;switch(t.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function TT(e,t){var n;switch(t.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function OT(e,t,n,r,o){return{header:e.headerToolbar?IT(e.headerToolbar,e,t,n,r,o):null,footer:e.footerToolbar?IT(e.footerToolbar,e,t,n,r,o):null}}function IT(e,t,n,r,o,i){var a={},s=[],l=!1;for(var c in e){var u=AT(e[c],t,n,r,o,i);a[c]=u.widgets,s.push.apply(s,u.viewsWithButtons),l=l||u.hasTitle}return{sectionWidgets:a,viewsWithButtons:s,hasTitle:l}}function AT(e,t,n,r,o,i){var a="rtl"===t.direction,s=t.customButtons||{},l=n.buttonText||{},c=t.buttonText||{},u=n.buttonHints||{},d=t.buttonHints||{},f=e?e.split(" "):[],p=[],h=!1;return{widgets:f.map((function(e){return e.split(",").map((function(e){if("title"===e)return h=!0,{buttonName:e};var n,f,m,v,g,y;if(n=s[e])m=function(e){n.click&&n.click.call(e.target,e,e.target)},(v=r.getCustomButtonIconClass(n))||(v=r.getIconClass(e,a))||(g=n.text),y=n.hint||n.text;else if(f=o[e]){p.push(e),m=function(){i.changeView(e)},(g=f.buttonTextOverride)||(v=r.getIconClass(e,a))||(g=f.buttonTextDefault);var b=f.buttonTextOverride||f.buttonTextDefault;y=Kx(f.buttonTitleOverride||f.buttonTitleDefault||t.viewHint,[b,e],b)}else if(i[e])if(m=function(){i[e]()},(g=l[e])||(v=r.getIconClass(e,a))||(g=c[e]),"prevYear"===e||"nextYear"===e){var _="prevYear"===e?"prev":"next";y=Kx(u[_]||d[_],[c.year||"year","year"],c[e])}else y=function(t){return Kx(u[e]||d[e],[c[t]||t,t],c[e])};return{buttonName:e,buttonClick:m,buttonIcon:v,buttonText:g,buttonHint:y}}))})),viewsWithButtons:p,hasTitle:h}}function DT(e,t,n,r,o){var i=null;"GET"===(e=e.toUpperCase())?t=function(e,t){return e+(-1===e.indexOf("?")?"?":"&")+PT(t)}(t,n):i=PT(n);var a=new XMLHttpRequest;a.open(e,t,!0),"GET"!==e&&a.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),a.onload=function(){if(a.status>=200&&a.status<400){var e=!1,t=void 0;try{t=JSON.parse(a.responseText),e=!0}catch(e){}e?r(t,a):o("Failure parsing JSON",a)}else o("Request failed",a)},a.onerror=function(){o("Request failed",a)},a.send(i)}function PT(e){var t=[];for(var n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}function MT(e,t){for(var n=bC(t.getCurrentData().eventSources),r=[],o=0,i=e;o<i.length;o++){for(var a=i[o],s=!1,l=0;l<n.length;l+=1)if(n[l]._raw===a){n.splice(l,1),s=!0;break}s||r.push(a)}for(var c=0,u=n;c<u.length;c++){var d=u[c];t.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:d.sourceId})}for(var f=0,p=r;f<p.length;f++){var h=p[f];t.calendarApi.addEventSource(h)}}var $T=[YE({eventSourceDefs:[{ignoreRange:!0,parseMeta:function(e){return Array.isArray(e.events)?e.events:null},fetch:function(e,t){t({rawEvents:e.eventSource.meta})}}]}),YE({eventSourceDefs:[{parseMeta:function(e){return"function"==typeof e.events?e.events:null},fetch:function(e,t,n){var r=e.context.dateEnv;
2!function(e,t,n){var r=!1,o=function(){r||(r=!0,t.apply(this,arguments))},i=function(){r||(r=!0,n&&n.apply(this,arguments))},a=e(o,i);a&&"function"==typeof a.then&&a.then(o,i)}(e.eventSource.meta.bind(null,YS(e.range,r)),(function(e){t({rawEvents:e})}),n)}}]}),YE({eventSourceRefiners:{method:String,extraParams:aS,startParam:String,endParam:String,timeZoneParam:String},eventSourceDefs:[{parseMeta:function(e){return!e.url||"json"!==e.format&&e.format?null:{url:e.url,format:"json",method:(e.method||"GET").toUpperCase(),extraParams:e.extraParams,startParam:e.startParam,endParam:e.endParam,timeZoneParam:e.timeZoneParam}},fetch:function(e,t,n){var r=e.eventSource.meta,o=function(e,t,n){var r,o,i,a,s=n.dateEnv,l=n.options,c={};r=e.startParam,null==r&&(r=l.startParam);o=e.endParam,null==o&&(o=l.endParam);i=e.timeZoneParam,null==i&&(i=l.timeZoneParam);a="function"==typeof e.extraParams?e.extraParams():e.extraParams||{};oi(c,a),c[r]=s.formatIso(t.start),c[o]=s.formatIso(t.end),"local"!==s.timeZone&&(c[i]=s.timeZone);return c}(r,e.range,e.context);DT(r.method,r.url,o,(function(e,n){t({rawEvents:e,xhr:n})}),(function(e,t){n({message:e,xhr:t})}))}}]}),YE({recurringTypes:[{parse:function(e,t){if(e.daysOfWeek||e.startTime||e.endTime||e.startRecur||e.endRecur){var n={daysOfWeek:e.daysOfWeek||null,startTime:e.startTime||null,endTime:e.endTime||null,startRecur:e.startRecur?t.createMarker(e.startRecur):null,endRecur:e.endRecur?t.createMarker(e.endRecur):null},r=void 0;return e.duration&&(r=e.duration),!r&&e.startTime&&e.endTime&&(o=e.endTime,i=e.startTime,r={years:o.years-i.years,months:o.months-i.months,days:o.days-i.days,milliseconds:o.milliseconds-i.milliseconds}),{allDayGuess:Boolean(!e.startTime&&!e.endTime),duration:r,typeData:n}}var o,i;return null},expand:function(e,t,n){var r=AS(t,{start:e.startRecur,end:e.endRecur});return r?function(e,t,n,r){var o=e?yC(e):null,i=oC(n.start),a=n.end,s=[];for(;i<a;){var l=void 0;o&&!o[i.getUTCDay()]||(l=t?r.add(i,t):i,s.push(l)),i=eC(i,1)}return s}(e.daysOfWeek,e.startTime,r,n):[]}}],eventRefiners:{daysOfWeek:aS,startTime:TC,endTime:TC,duration:TC,startRecur:aS,endRecur:aS}}),YE({optionChangeHandlers:{events:function(e,t){MT([e],t)},eventSources:MT}}),YE({isLoadingFuncs:[function(e){return hT(e.eventSources)}],contentTypeHandlers:{html:function(){var e=null,t="";return{render:function(n,r){n===e&&r===t||(n.innerHTML=r),e=n,t=r},destroy:function(){e.innerHTML="",e=null,t=""}}},domNodes:function(){var e=null,t=[];function n(){t.forEach($x),t=[],e=null}return{render:function(r,o){var i=Array.prototype.slice.call(o);if(r!==e||!$C(t,i)){for(var a=0,s=i;a<s.length;a++){var l=s[a];r.appendChild(l)}n()}e=r,t=i},destroy:n}}},propSetHandlers:{dateProfile:function(e,t){t.emitter.trigger("datesSet",oi(oi({},YS(e.activeRange,t.dateEnv)),{view:t.viewApi}))},eventStore:function(e,t){var n=t.emitter;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",lE(e,t))}}})];var NT=function(){function e(e){this.drainedOption=e,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}return e.prototype.request=function(e){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),null==e?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),e))},e.prototype.pause=function(e){void 0===e&&(e="");var t=this.pauseDepths;t[e]=(t[e]||0)+1,this.clearTimeout()},e.prototype.resume=function(e,t){void 0===e&&(e="");var n=this.pauseDepths;if(e in n){if(t)delete n[e];else n[e]-=1,n[e]<=0&&delete n[e];this.tryDrain()}},e.prototype.isPaused=function(){return Object.keys(this.pauseDepths).length},e.prototype.tryDrain=function(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}},e.prototype.clear=function(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}},e.prototype.clearTimeout=function(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)},e.prototype.drained=function(){this.drainedOption&&this.drainedOption()},e}(),RT=function(){function e(e,t){this.runTaskOption=e,this.drainedOption=t,this.queue=[],this.delayedRunner=new NT(this.drain.bind(this))}return e.prototype.request=function(e,t){this.queue.push(e),this.delayedRunner.request(t)},e.prototype.pause=function(e){this.delayedRunner.pause(e)},e.prototype.resume=function(e,t){this.delayedRunner.resume(e,t)},e.prototype.drain=function(){for(var e=this.queue;e.length;){for(var t=[],n=void 0;n=e.shift();)this.runTask(n),t.push(n);this.drained(t)}},e.prototype.runTask=function(e){this.runTaskOption&&this.runTaskOption(e)},e.prototype.drained=function(e){this.drainedOption&&this.drainedOption(e)},e}();function LT(e,t,n){var r;return r=/^(year|month)$/.test(e.currentRangeUnit)?e.currentRange:e.activeRange,n.formatRange(r.start,r.end,QC(t.titleFormat||function(e){var t=e.currentRangeUnit;if("year"===t)return{year:"numeric"};
2if("month"===t)return{year:"numeric",month:"long"};var n=rC(e.currentRange.start,e.currentRange.end);if(null!==n&&n>1)return{year:"numeric",month:"short",day:"numeric"};return{year:"numeric",month:"long",day:"numeric"}}(e)),{isEndExclusive:e.isRangeAllDay,defaultSeparator:t.titleRangeSeparator})}var jT=function(){function e(e){var t=this;this.computeOptionsData=NC(this._computeOptionsData),this.computeCurrentViewData=NC(this._computeCurrentViewData),this.organizeRawLocales=NC(gE),this.buildLocale=NC(yE),this.buildPluginHooks=KE(),this.buildDateEnv=NC(FT),this.buildTheme=NC(BT),this.parseToolbars=NC(OT),this.buildViewSpecs=NC(cT),this.buildDateProfileGenerator=RC(qT),this.buildViewApi=NC(HT),this.buildViewUiProps=RC(VT),this.buildEventUiBySource=NC(zT,_C),this.buildEventUiBases=NC(UT),this.parseContextBusinessHours=RC(WT),this.buildTitle=NC(LT),this.emitter=new NE,this.actionRunner=new RT(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.getCurrentData=function(){return t.data},this.dispatch=function(e){t.actionRunner.request(e)},this.props=e,this.actionRunner.pause();var n={},r=this.computeOptionsData(e.optionOverrides,n,e.calendarApi),o=r.calendarOptions.initialView||r.pluginHooks.initialView,i=this.computeCurrentViewData(o,r,e.optionOverrides,n);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(i.options);var a,s,l,c=(a=r.calendarOptions,s=r.dateEnv,null!=(l=a.initialDate)?s.createMarker(l):oE(a.now,s)),u=i.dateProfileGenerator.build(c);PS(u.activeRange,c)||(c=u.currentRange.start);for(var d={dateEnv:r.dateEnv,options:r.calendarOptions,pluginHooks:r.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},f=0,p=r.pluginHooks.contextInit;f<p.length;f++){(0,p[f])(d)}for(var h=fT(r.calendarOptions,u,d),m={dynamicOptionOverrides:n,currentViewType:o,currentDate:c,dateProfile:u,businessHours:this.parseContextBusinessHours(d),eventSources:h,eventUiBases:{},eventStore:{defs:{},instances:{}},renderableEventStore:{defs:{},instances:{}},dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(d).selectionConfig},v=oi(oi({},d),m),g=0,y=r.pluginHooks.reducers;g<y.length;g++){var b=y[g];oi(m,b(null,null,v))}GT(m,d)&&this.emitter.trigger("loading",!0),this.state=m,this.updateData(),this.actionRunner.resume()}return e.prototype.resetOptions=function(e,t){var n=this.props;n.optionOverrides=t?oi(oi({},n.optionOverrides),e):e,this.actionRunner.request({type:"NOTHING"})},e.prototype._handleAction=function(e){var t=this,n=t.props,r=t.state,o=t.emitter,i=function(e,t){var n;return"SET_OPTION"===t.type?oi(oi({},e),((n={})[t.optionName]=t.rawOptionValue,n)):e}(r.dynamicOptionOverrides,e),a=this.computeOptionsData(n.optionOverrides,i,n.calendarApi),s=function(e,t){"CHANGE_VIEW_TYPE"===t.type&&(e=t.viewType);return e}(r.currentViewType,e),l=this.computeCurrentViewData(s,a,n.optionOverrides,i);n.calendarApi.currentDataManager=this,o.setThisContext(n.calendarApi),o.setOptions(l.options);var c={dateEnv:a.dateEnv,options:a.calendarOptions,pluginHooks:a.pluginHooks,calendarApi:n.calendarApi,dispatch:this.dispatch,emitter:o,getCurrentData:this.getCurrentData},u=r.currentDate,d=r.dateProfile;this.data&&this.data.dateProfileGenerator!==l.dateProfileGenerator&&(d=l.dateProfileGenerator.build(u)),u=function(e,t){return"CHANGE_DATE"===t.type?t.dateMarker:e}(u,e),d=function(e,t,n,r){var o;switch(t.type){case"CHANGE_VIEW_TYPE":return r.build(t.dateMarker||n);case"CHANGE_DATE":return r.build(t.dateMarker);case"PREV":if((o=r.buildPrev(e,n)).isValid)return o;break;case"NEXT":if((o=r.buildNext(e,n)).isValid)return o}return e}(d,e,u,l.dateProfileGenerator),"PREV"!==e.type&&"NEXT"!==e.type&&PS(d.currentRange,u)||(u=d.currentRange.start);for(var f=pT(r.eventSources,e,d,c),p=wT(r.eventStore,e,f,d,c),h=hT(f)&&!l.options.progressiveEventRendering&&r.renderableEventStore||p,m=this.buildViewUiProps(c),v=m.eventUiSingleBase,g=m.selectionConfig,y=this.buildEventUiBySource(f),b={dynamicOptionOverrides:i,currentViewType:s,currentDate:u,dateProfile:d,eventSources:f,eventStore:p,renderableEventStore:h,selectionConfig:g,eventUiBases:this.buildEventUiBases(h.defs,v,y),businessHours:this.parseContextBusinessHours(c),dateSelection:CT(r.dateSelection,e),eventSelection:ST(r.eventSelection,e),eventDrag:ET(r.eventDrag,e),eventResize:TT(r.eventResize,e)},_=oi(oi({},c),b),w=0,k=a.pluginHooks.reducers;w<k.length;w++){var x=k[w];oi(b,x(r,e,_))}var C=GT(r,c),S=GT(b,c);!C&&S?o.trigger("loading",!0):C&&!S&&o.trigger("loading",!1),this.state=b,n.onAction&&n.onAction(e)},e.prototype.updateData=function(){var e,t,n,r,o,i,a,s,l,c=this.props,u=this.state,d=this.data,f=this.computeOptionsData(c.optionOverrides,u.dynamicOptionOverrides,c.calendarApi),p=this.computeCurrentViewData(u.currentViewType,f,c.optionOverrides,u.dynamicOptionOverrides),h=this.data=oi(oi(oi({viewTitle:this.buildTitle(u.dateProfile,p.options,f.dateEnv),calendarApi:c.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},f),p),u),m=f.pluginHooks.optionChangeHandlers,v=d&&d.calendarOptions,g=f.calendarOptions;if(v&&v!==g)for(var y in v.timeZone!==g.timeZone&&(u.eventSources=h.eventSources=(i=h.eventSources,a=u.dateProfile,s=h,l=a?a.activeRange:null,gT(i,bT(i,s),l,!0,s)),u.eventStore=h.eventStore=(e=h.eventStore,t=d.dateEnv,n=h.dateEnv,r=e.defs,o=gC(e.instances,(function(e){var o=r[e.defId];return o.allDay||o.recurringDef?e:oi(oi({},e),{range:{start:n.createMarker(t.toDate(e.range.start,e.forcedStartTzo)),end:n.createMarker(t.toDate(e.range.end,e.forcedEndTzo))},forcedStartTzo:n.canComputeOffset?null:e.forcedStartTzo,forcedEndTzo:n.canComputeOffset?null:e.forcedEndTzo})})),{defs:r,instances:o})),m)v[y]!==g[y]&&m[y](g[y],h);c.onData&&c.onData(h)},e.prototype._computeOptionsData=function(e,t,n){var r=this.processRawCalendarOptions(e,t),o=r.refinedOptions,i=r.pluginHooks,a=r.localeDefaults,s=r.availableLocaleData;YT(r.extra);var l=this.buildDateEnv(o.timeZone,o.locale,o.weekNumberCalculation,o.firstDay,o.weekText,i,s,o.defaultRangeSeparator),c=this.buildViewSpecs(i.views,e,t,a),u=this.buildTheme(o,i);return{calendarOptions:o,pluginHooks:i,dateEnv:l,viewSpecs:c,theme:u,toolbarConfig:this.parseToolbars(o,e,u,c,n),localeDefaults:a,availableRawLocales:s.map}},e.prototype.processRawCalendarOptions=function(e,t){var n=oS([ZC,e,t]),r=n.locales,o=n.locale,i=this.organizeRawLocales(r),a=i.map,s=this.buildLocale(o||i.defaultCode,a).options,l=this.buildPluginHooks(e.plugins||[],$T),c=this.currentCalendarOptionsRefiners=oi(oi(oi(oi(oi({},JC),XC),eS),l.listenerRefiners),l.optionRefiners),u={},d=oS([ZC,s,e,t]),f={},p=this.currentCalendarOptionsInput,h=this.currentCalendarOptionsRefined,m=!1;for(var v in d)"plugins"!==v&&(d[v]===p[v]||tS[v]&&v in p&&tS[v](p[v],d[v])?f[v]=h[v]:c[v]?(f[v]=c[v](d[v]),m=!0):u[v]=p[v]);return m&&(this.currentCalendarOptionsInput=d,this.currentCalendarOptionsRefined=f),{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:l,availableLocaleData:i,localeDefaults:s,extra:u}},e.prototype._computeCurrentViewData=function(e,t,n,r){var o=t.viewSpecs[e];
2if(!o)throw new Error('viewType "'+e+"\" is not available. Please make sure you've loaded all neccessary plugins");var i=this.processRawViewOptions(o,t.pluginHooks,t.localeDefaults,n,r),a=i.refinedOptions;return YT(i.extra),{viewSpec:o,options:a,dateProfileGenerator:this.buildDateProfileGenerator({dateProfileGeneratorClass:o.optionDefaults.dateProfileGeneratorClass,duration:o.duration,durationUnit:o.durationUnit,usesMinMaxTime:o.optionDefaults.usesMinMaxTime,dateEnv:t.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:a.slotMinTime,slotMaxTime:a.slotMaxTime,showNonCurrentDates:a.showNonCurrentDates,dayCount:a.dayCount,dateAlignment:a.dateAlignment,dateIncrement:a.dateIncrement,hiddenDays:a.hiddenDays,weekends:a.weekends,nowInput:a.now,validRangeInput:a.validRange,visibleRangeInput:a.visibleRange,monthMode:a.monthMode,fixedWeekCount:a.fixedWeekCount}),viewApi:this.buildViewApi(e,this.getCurrentData,t.dateEnv)}},e.prototype.processRawViewOptions=function(e,t,n,r,o){var i=oS([ZC,e.optionDefaults,n,r,e.optionOverrides,o]),a=oi(oi(oi(oi(oi(oi({},JC),XC),eS),rS),t.listenerRefiners),t.optionRefiners),s={},l=this.currentViewOptionsInput,c=this.currentViewOptionsRefined,u=!1,d={};for(var f in i)i[f]===l[f]?s[f]=c[f]:(i[f]===this.currentCalendarOptionsInput[f]?f in this.currentCalendarOptionsRefined&&(s[f]=this.currentCalendarOptionsRefined[f]):a[f]?s[f]=a[f](i[f]):d[f]=i[f],u=!0);return u&&(this.currentViewOptionsInput=i,this.currentViewOptionsRefined=s),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:d}},e}();function FT(e,t,n,r,o,i,a,s){var l=yE(t||a.defaultCode,a.map);return new pE({calendarSystem:"gregory",timeZone:e,namedTimeZoneImpl:i.namedTimeZonedImpl,locale:l,weekNumberCalculation:n,firstDay:r,weekText:o,cmdFormatter:i.cmdFormatter,defaultSeparator:s})}function BT(e,t){return new(t.themeClasses[e.themeSystem]||QE)(e)}function qT(e){return new(e.dateProfileGeneratorClass||dT)(e)}function HT(e,t,n){return new eE(e,t,n)}function zT(e){return gC(e,(function(e){return e.ui}))}function UT(e,t,n){var r={"":t};for(var o in e){var i=e[o];i.sourceId&&n[i.sourceId]&&(r[o]=n[i.sourceId])}return r}function VT(e){var t=e.options;return{eventUiSingleBase:mS({display:t.eventDisplay,editable:t.editable,startEditable:t.eventStartEditable,durationEditable:t.eventDurationEditable,constraint:t.eventConstraint,overlap:"boolean"==typeof t.eventOverlap?t.eventOverlap:void 0,allow:t.eventAllow,backgroundColor:t.eventBackgroundColor,borderColor:t.eventBorderColor,textColor:t.eventTextColor,color:t.eventColor},e),selectionConfig:mS({constraint:t.selectConstraint,overlap:"boolean"==typeof t.selectOverlap?t.selectOverlap:void 0,allow:t.selectAllow},e)}}function GT(e,t){for(var n=0,r=t.pluginHooks.isLoadingFuncs;n<r.length;n++){if((0,r[n])(e))return!0}return!1}function WT(e){return kE(e.options.businessHours,e)}function YT(e,t){for(var n in e)console.warn("Unknown option '"+n+"'"+(t?" for view '"+t+"'":""))}!function(e){function t(t){var n=e.call(this,t)||this;return n.handleData=function(e){n.dataManager?n.setState(e):n.state=e},n.dataManager=new jT({optionOverrides:t.optionOverrides,calendarApi:t.calendarApi,onData:n.handleData}),n}ri(t,e),t.prototype.render=function(){return this.props.children(this.state)},t.prototype.componentDidUpdate=function(e){var t=this.props.optionOverrides;t!==e.optionOverrides&&this.dataManager.resetOptions(t)}}(Cx);var KT=function(e){this.timeZoneName=e},QT=function(){function e(){this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}return e.prototype.addSegs=function(e){for(var t=[],n=0,r=e;n<r.length;n++){var o=r[n];this.insertEntry(o,t)}return t},e.prototype.insertEntry=function(e,t){var n=this.findInsertion(e);return this.isInsertionValid(n,e)?(this.insertEntryAt(e,n),1):this.handleInvalidInsertion(n,e,t)},e.prototype.isInsertionValid=function(e,t){return(-1===this.maxCoord||e.levelCoord+t.thickness<=this.maxCoord)&&(-1===this.maxStackCnt||e.stackCnt<this.maxStackCnt)},e.prototype.handleInvalidInsertion=function(e,t,n){return this.allowReslicing&&e.touchingEntry?this.splitEntry(t,e.touchingEntry,n):(n.push(t),0)},e.prototype.splitEntry=function(e,t,n){var r=0,o=[],i=e.span,a=t.span;return i.start<a.start&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:i.start,end:a.start}},o)),i.end>a.end&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:a.end,end:i.end}}
2,o)),r?(n.push.apply(n,ii([{index:e.index,thickness:e.thickness,span:XT(a,i)}],o)),r):(n.push(e),0)},e.prototype.insertEntryAt=function(e,t){var n=this.entriesByLevel,r=this.levelCoords;-1===t.lateral?(eO(r,t.level,t.levelCoord),eO(n,t.level,[e])):eO(n[t.level],t.lateral,e),this.stackCnts[ZT(e)]=t.stackCnt},e.prototype.findInsertion=function(e){for(var t=this,n=t.levelCoords,r=t.entriesByLevel,o=t.strictOrder,i=t.stackCnts,a=n.length,s=0,l=-1,c=-1,u=null,d=0,f=0;f<a;f+=1){var p=n[f];if(!o&&p>=s+e.thickness)break;for(var h=r[f],m=void 0,v=tO(h,e.span.start,JT),g=v[0]+v[1];(m=h[g])&&m.span.start<e.span.end;){var y=p+m.thickness;y>s&&(s=y,u=m,l=f,c=g),y===s&&(d=Math.max(d,i[ZT(m)]+1)),g+=1}}var b=0;if(u)for(b=l+1;b<a&&n[b]<s;)b+=1;var _=-1;return b<a&&n[b]===s&&(_=tO(r[b],e.span.end,JT)[0]),{touchingLevel:l,touchingLateral:c,touchingEntry:u,stackCnt:d,levelCoord:s,level:b,lateral:_}},e.prototype.toRects=function(){for(var e=this.entriesByLevel,t=this.levelCoords,n=e.length,r=[],o=0;o<n;o+=1)for(var i=e[o],a=t[o],s=0,l=i;s<l.length;s++){var c=l[s];r.push(oi(oi({},c),{levelCoord:a}))}return r},e}();function JT(e){return e.span.end}function ZT(e){return e.index+":"+e.span.start}function XT(e,t){var n=Math.max(e.start,t.start),r=Math.min(e.end,t.end);return n<r?{start:n,end:r}:null}function eO(e,t,n){e.splice(t,0,n)}function tO(e,t,n){var r=0,o=e.length;if(!o||t<n(e[r]))return[0,0];if(t>n(e[o-1]))return[o,0];for(;r<o;){var i=Math.floor(r+(o-r)/2),a=n(e[i]);if(t<a)o=i;else{if(!(t>a))return[i,1];r=i+1}}return[r,0]}var nO=function(){function e(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}return e.prototype.destroy=function(){},e}();var rO={};(function(){function e(e,t){this.emitter=new NE}e.prototype.destroy=function(){},e.prototype.setMirrorIsVisible=function(e){},e.prototype.setMirrorNeedsRevert=function(e){},e.prototype.setAutoScrollEnabled=function(e){}})(),Boolean;var oO=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ri(t,e),t.prototype.render=function(){var e=this,t=this.props.widgetGroups.map((function(t){return e.renderWidgetGroup(t)}));return Sx.apply(void 0,ii(["div",{className:"fc-toolbar-chunk"}],t))},t.prototype.renderWidgetGroup=function(e){for(var t=this.props,n=this.context.theme,r=[],o=!0,i=0,a=e;i<a.length;i++){var s=a[i],l=s.buttonName,c=s.buttonClick,u=s.buttonText,d=s.buttonIcon,f=s.buttonHint;if("title"===l)o=!1,r.push(Sx("h2",{className:"fc-toolbar-title",id:t.titleId},t.title));else{var p=l===t.activeButton,h=!t.isTodayEnabled&&"today"===l||!t.isPrevEnabled&&"prev"===l||!t.isNextEnabled&&"next"===l,m=["fc-"+l+"-button",n.getClass("button")];p&&m.push(n.getClass("buttonActive")),r.push(Sx("button",{type:"button",title:"function"==typeof f?f(t.navUnit):f,disabled:h,"aria-pressed":p,className:m.join(" "),onClick:c},u||(d?Sx("span",{className:d}):"")))}}if(r.length>1){var v=o&&n.getClass("buttonGroup")||"";return Sx.apply(void 0,ii(["div",{className:v}],r))}return r[0]},t}(zE),iO=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ri(t,e),t.prototype.render=function(){var e,t,n=this.props,r=n.model,o=n.extraClassName,i=!1,a=r.sectionWidgets,s=a.center;return a.left?(i=!0,e=a.left):e=a.start,a.right?(i=!0,t=a.right):t=a.end,Sx("div",{className:[o||"","fc-toolbar",i?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",e||[]),this.renderSection("center",s||[]),this.renderSection("end",t||[]))},t.prototype.renderSection=function(e,t){var n=this.props;return Sx(oO,{key:e,widgetGroups:t,title:n.title,navUnit:n.navUnit,activeButton:n.activeButton,isTodayEnabled:n.isTodayEnabled,isPrevEnabled:n.isPrevEnabled,isNextEnabled:n.isNextEnabled,titleId:n.titleId})},t}(zE),aO=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={availableWidth:null},t.handleEl=function(e){t.el=e,GE(t.props.elRef,e),t.updateAvailableWidth()},t.handleResize=function(){t.updateAvailableWidth()},t}return ri(t,e),t.prototype.render=function(){var e=this.props,t=this.state,n=e.aspectRatio,r=["fc-view-harness",n||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-
2passive"],o="",i="";return n?null!==t.availableWidth?o=t.availableWidth/n:i=1/n*100+"%":o=e.height||"",Sx("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:r.join(" "),style:{height:o,paddingBottom:i}},e.children)},t.prototype.componentDidMount=function(){this.context.addResizeHandler(this.handleResize)},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleResize)},t.prototype.updateAvailableWidth=function(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})},t}(zE),sO=function(e){function t(t){var n=e.call(this,t)||this;return n.handleSegClick=function(e,t){var r=n.component,o=r.context,i=NS(t);if(i&&r.isValidSegDownEl(e.target)){var a=Nx(e.target,".fc-event-forced-url"),s=a?a.querySelector("a[href]").href:"";o.emitter.trigger("eventClick",{el:t,event:new aE(r.context,i.eventRange.def,i.eventRange.instance),jsEvent:e,view:o.viewApi}),s&&!e.defaultPrevented&&(window.location.href=s)}},n.destroy=Hx(t.el,"click",".fc-event",n.handleSegClick),n}return ri(t,e),t}(nO),lO=function(e){function t(t){var n,r,o,i,a,s=e.call(this,t)||this;return s.handleEventElRemove=function(e){e===s.currentSegEl&&s.handleSegLeave(null,s.currentSegEl)},s.handleSegEnter=function(e,t){NS(t)&&(s.currentSegEl=t,s.triggerEvent("eventMouseEnter",e,t))},s.handleSegLeave=function(e,t){s.currentSegEl&&(s.currentSegEl=null,s.triggerEvent("eventMouseLeave",e,t))},s.removeHoverListeners=(n=t.el,r=".fc-event",o=s.handleSegEnter,i=s.handleSegLeave,Hx(n,"mouseover",r,(function(e,t){if(t!==a){a=t,o(e,t);var n=function(e){a=null,i(e,t),t.removeEventListener("mouseleave",n)};t.addEventListener("mouseleave",n)}}))),s}return ri(t,e),t.prototype.destroy=function(){this.removeHoverListeners()},t.prototype.triggerEvent=function(e,t,n){var r=this.component,o=r.context,i=NS(n);t&&!r.isValidSegDownEl(t.target)||o.emitter.trigger(e,{el:n,event:new aE(o,i.eventRange.def,i.eventRange.instance),jsEvent:t,view:o.viewApi})},t}(nO),cO=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildViewContext=NC(qE),t.buildViewPropTransformers=NC(dO),t.buildToolbarProps=NC(uO),t.headerRef=Tx(),t.footerRef=Tx(),t.interactionsStore={},t.state={viewLabelId:qx()},t.registerInteractiveComponent=function(e,n){var r=function(e,t){return{component:e,el:t.el,useEventCenter:null==t.useEventCenter||t.useEventCenter,isHitComboAllowed:t.isHitComboAllowed||null}}(e,n),o=[sO,lO].concat(t.props.pluginHooks.componentInteractions).map((function(e){return new e(r)}));t.interactionsStore[e.uid]=o,rO[e.uid]=r},t.unregisterInteractiveComponent=function(e){for(var n=0,r=t.interactionsStore[e.uid];n<r.length;n++){r[n].destroy()}delete t.interactionsStore[e.uid],delete rO[e.uid]},t.resizeRunner=new NT((function(){t.props.emitter.trigger("_resize",!0),t.props.emitter.trigger("windowResize",{view:t.props.viewApi})})),t.handleWindowResize=function(e){var n=t.props.options;n.handleWindowResize&&e.target===window&&t.resizeRunner.request(n.windowResizeDelay)},t}return ri(t,e),t.prototype.render=function(){var e,t=this.props,n=t.toolbarConfig,r=t.options,o=this.buildToolbarProps(t.viewSpec,t.dateProfile,t.dateProfileGenerator,t.currentDate,oE(t.options.now,t.dateEnv),t.viewTitle),i=!1,a="";t.isHeightAuto||t.forPrint?a="":null!=r.height?i=!0:null!=r.contentHeight?a=r.contentHeight:e=Math.max(r.aspectRatio,.5);var s=this.buildViewContext(t.viewSpec,t.viewApi,t.options,t.dateProfileGenerator,t.dateEnv,t.theme,t.pluginHooks,t.dispatch,t.getCurrentData,t.emitter,t.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),l=n.header&&n.header.hasTitle?this.state.viewLabelId:"";return Sx(BE.Provider,{value:s},n.header&&Sx(iO,oi({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.header,titleId:l},o)),Sx(aO,{liquid:i,height:a,aspectRatio:e,labeledById:l},this.renderView(t),this.buildAppendContent()),n.footer&&Sx(iO,oi({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:n.footer,titleId:""},o)))},t.prototype.componentDidMount=function(){var e=this.props;this.calendarInteractions=e.pluginHooks.calendarInteractions.map((function(t){return new t(e)})),window.addEventListener("resize",this.handleWindowResize);var t=e.pluginHooks.propSetHandlers;for(var n in t)t[n](e[n],e)},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.pluginHooks.propSetHandlers;for(var r in n)t[r]!==e[r]&&n[r](t[r],t)},t.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(var e=0,t=this.calendarInteractions;e<t.length;e++){t[e].destroy()}this.props.emitter.trigger("_unmount")},t.prototype.buildAppendContent=function(){var e=this.props,t=e.pluginHooks.viewContainerAppends.map((function(t){return t(e)}));return Sx.apply(void 0,ii([Ox,{}],t))},t.prototype.renderView=function(e){for(var t=e.pluginHooks,n=e.viewSpec,r={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint},o=0,i=this.buildViewPropTransformers(t.viewPropsTransformers);o<i.length;o++){var a=i[o];oi(r,a.transform(r,e))}var s=n.component;return Sx(s,oi({},r))},t}(HE);function uO(e,t,n,r,o,i){var a=n.build(o,void 0,!1),s=n.buildPrev(t,r,!1),l=n.buildNext(t,r,!1);return{title:i,activeButton:e.type,navUnit:e.singleUnit,isTodayEnabled:a.isValid&&!PS(t.currentRange,o),isPrevEnabled:s.isValid,isNextEnabled:l.isValid}}function dO(e){return e.map((function(e){return new e}))}var fO=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={forPrint:!1},t.handleBeforePrint=function(){t.setState({forPrint:!0})},t.handleAfterPrint=function(){t.setState({forPrint:!1})},t}return ri(t,e),t.prototype.render=function(){var e=this.props,t=e.options,n=this.state.forPrint,r=n||"auto"===t.height||"auto"===t.contentHeight,o=r||null==t.height?"":t.height,i=["fc",n?"fc-media-print":"fc-media-screen","fc-direction-"+t.direction,e.theme.getClass("root")
2];return xE()||i.push("fc-liquid-hack"),e.children(i,o,r,n)},t.prototype.componentDidMount=function(){var e=this.props.emitter;e.on("_beforeprint",this.handleBeforePrint),e.on("_afterprint",this.handleAfterPrint)},t.prototype.componentWillUnmount=function(){var e=this.props.emitter;e.off("_beforeprint",this.handleBeforePrint),e.off("_afterprint",this.handleAfterPrint)},t}(zE);var pO="fc-col-header-cell";function hO(e){return e.text}var mO=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ri(t,e),t.prototype.render=function(){var e=this.context,t=e.dateEnv,n=e.options,r=e.theme,o=e.viewApi,i=this.props,a=i.date,s=i.dateProfile,l=EE(a,i.todayRange,null,s),c=[pO].concat(TE(l,r)),u=t.format(a,i.dayHeaderFormat),d=!l.isDisabled&&i.colCnt>1?AE(this.context,a):{},f=oi(oi(oi({date:t.toDate(a),view:o},i.extraHookProps),{text:u}),l);return Sx(ZE,{hookProps:f,classNames:n.dayHeaderClassNames,content:n.dayHeaderContent,defaultContent:hO,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},(function(e,t,n,r){return Sx("th",oi({ref:e,role:"columnheader",className:c.concat(t).join(" "),"data-date":l.isDisabled?void 0:PC(a),colSpan:i.colSpan},i.extraDataAttrs),Sx("div",{className:"fc-scrollgrid-sync-inner"},!l.isDisabled&&Sx("a",oi({ref:n,className:["fc-col-header-cell-cushion",i.isSticky?"fc-sticky":""].join(" ")},d),r)))}))},t}(zE),vO=QC({weekday:"long"}),gO=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ri(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.dateEnv,r=t.theme,o=t.viewApi,i=t.options,a=eC(new Date(2592e5),e.dow),s={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},l=[pO].concat(TE(s,r),e.extraClassNames||[]),c=n.format(a,e.dayHeaderFormat),u=oi(oi(oi(oi({date:a},s),{view:o}),e.extraHookProps),{text:c});return Sx(ZE,{hookProps:u,classNames:i.dayHeaderClassNames,content:i.dayHeaderContent,defaultContent:hO,didMount:i.dayHeaderDidMount,willUnmount:i.dayHeaderWillUnmount},(function(t,r,o,i){return Sx("th",oi({ref:t,role:"columnheader",className:l.concat(r).join(" "),colSpan:e.colSpan},e.extraDataAttrs),Sx("div",{className:"fc-scrollgrid-sync-inner"},Sx("a",{"aria-label":n.format(a,vO),className:["fc-col-header-cell-cushion",e.isSticky?"fc-sticky":""].join(" "),ref:o},i)))}))},t}(zE),yO=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.initialNowDate=oE(n.options.now,n.dateEnv),r.initialNowQueriedMs=(new Date).valueOf(),r.state=r.computeTiming().currentState,r}return ri(t,e),t.prototype.render=function(){var e=this.props,t=this.state;return e.children(t.nowDate,t.todayRange)},t.prototype.componentDidMount=function(){this.setTimeout()},t.prototype.componentDidUpdate=function(e){e.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())},t.prototype.componentWillUnmount=function(){this.clearTimeout()},t.prototype.computeTiming=function(){var e=this.props,t=this.context,n=tC(this.initialNowDate,(new Date).valueOf()-this.initialNowQueriedMs),r=t.dateEnv.startOf(n,e.unit),o=t.dateEnv.add(r,TC(1,e.unit)),i=o.valueOf()-n.valueOf();return i=Math.min(864e5,i),{currentState:{nowDate:r,todayRange:bO(r)},nextState:{nowDate:o,todayRange:bO(o)},waitMs:i}},t.prototype.setTimeout=function(){var e=this,t=this.computeTiming(),n=t.nextState,r=t.waitMs;this.timeoutId=setTimeout((function(){e.setState(n,(function(){e.setTimeout()}))}),r)},t.prototype.clearTimeout=function(){this.timeoutId&&clearTimeout(this.timeoutId)},t.contextType=BE,t}(Cx);function bO(e){var t=oC(e);return{start:t,end:eC(t,1)}}var _O=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.createDayHeaderFormatter=NC(wO),t}return ri(t,e),t.prototype.render=function(){var e=this.context,t=this.props,n=t.dates,r=t.dateProfile,o=t.datesRepDistinctDays,i=t.renderIntro,a=this.createDayHeaderFormatter(e.options.dayHeaderFormat,o,n.length);return Sx(yO,{unit:"day"},(function(e,t){return Sx("tr",{role:"row"},i&&i("day"),n.map((function(e){return o?Sx(mO,{key:e.toISOString(),date:e,dateProfile:r,todayRange:t,colCnt:n.length,dayHeaderFormat:a}):Sx(gO,{key:e.getUTCDay(),dow:e.getUTCDay(),dayHeaderFormat:a})})))}))},t}(zE);function wO(e,t,n){return e||function(e,t){return QC(!e||t>10?{weekday:"short"}:t>1?{weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}:{weekday:"long"})}(t,n)}var kO=function(){function e(e,t){for(var n=e.start,r=e.end,o=[],i=[],a=-1;n<r;
2)t.isHiddenDay(n)?o.push(a+.5):(a+=1,o.push(a),i.push(n)),n=eC(n,1);this.dates=i,this.indices=o,this.cnt=i.length}return e.prototype.sliceRange=function(e){var t=this.getDateDayIndex(e.start),n=this.getDateDayIndex(eC(e.end,-1)),r=Math.max(0,t),o=Math.min(this.cnt-1,n);return(r=Math.ceil(r))<=(o=Math.floor(o))?{firstIndex:r,lastIndex:o,isStart:t===r,isEnd:n===o}:null},e.prototype.getDateDayIndex=function(e){var t=this.indices,n=Math.floor(nC(this.dates[0],e));return n<0?t[0]-1:n>=t.length?t[t.length-1]+1:t[n]},e}(),xO=function(){function e(e,t){var n,r,o,i=e.dates;if(t){for(r=i[0].getUTCDay(),n=1;n<i.length&&i[n].getUTCDay()!==r;n+=1);o=Math.ceil(i.length/n)}else o=1,n=i.length;this.rowCnt=o,this.colCnt=n,this.daySeries=e,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}return e.prototype.buildCells=function(){for(var e=[],t=0;t<this.rowCnt;t+=1){for(var n=[],r=0;r<this.colCnt;r+=1)n.push(this.buildCell(t,r));e.push(n)}return e},e.prototype.buildCell=function(e,t){var n=this.daySeries.dates[e*this.colCnt+t];return{key:n.toISOString(),date:n}},e.prototype.buildHeaderDates=function(){for(var e=[],t=0;t<this.colCnt;t+=1)e.push(this.cells[0][t].date);return e},e.prototype.sliceRange=function(e){var t=this.colCnt,n=this.daySeries.sliceRange(e),r=[];if(n)for(var o=n.firstIndex,i=n.lastIndex,a=o;a<=i;){var s=Math.floor(a/t),l=Math.min((s+1)*t,i+1);r.push({row:s,firstCol:a%t,lastCol:(l-1)%t,isStart:n.isStart&&a===o,isEnd:n.isEnd&&l-1===i}),a=l}return r},e}(),CO=function(){function e(){this.sliceBusinessHours=NC(this._sliceBusinessHours),this.sliceDateSelection=NC(this._sliceDateSpan),this.sliceEventStore=NC(this._sliceEventStore),this.sliceEventDrag=NC(this._sliceInteraction),this.sliceEventResize=NC(this._sliceInteraction),this.forceDayIfListItem=!1}return e.prototype.sliceProps=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];var a=e.eventUiBases,s=this.sliceEventStore.apply(this,ii([e.eventStore,a,t,n],o));return{dateSelectionSegs:this.sliceDateSelection.apply(this,ii([e.dateSelection,a,r],o)),businessHourSegs:this.sliceBusinessHours.apply(this,ii([e.businessHours,t,n,r],o)),fgEventSegs:s.fg,bgEventSegs:s.bg,eventDrag:this.sliceEventDrag.apply(this,ii([e.eventDrag,a,t,n],o)),eventResize:this.sliceEventResize.apply(this,ii([e.eventResize,a,t,n],o)),eventSelection:e.eventSelection}},e.prototype.sliceNowDate=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this._sliceDateSpan.apply(this,ii([{range:{start:e,end:tC(e,1)},allDay:!1},{},t],n))},e.prototype._sliceBusinessHours=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];return e?this._sliceEventStore.apply(this,ii([CC(e,SO(t,Boolean(n)),r),{},t,n],o)).bg:[]},e.prototype._sliceEventStore=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];if(e){var a=MS(e,t,SO(n,Boolean(r)),r);return{bg:this.sliceEventRanges(a.bg,o),fg:this.sliceEventRanges(a.fg,o)}}return{bg:[],fg:[]}},e.prototype._sliceInteraction=function(e,t,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];if(!e)return null;var a=MS(e.mutatedEvents,t,SO(n,Boolean(r)),r);return{segs:this.sliceEventRanges(a.fg,o),affectedInstances:e.affectedEvents.instances,isEvent:e.isEvent}},e.prototype._sliceDateSpan=function(e,t,n){for(var r=[],o=3;o<arguments.length;o++)r[o-3]=arguments[o];if(!e)return[];for(var i=function(e,t,n){var r=kS({editable:!1},n),o=CS(r.refined,r.extra,"",e.allDay,!0,n);return{def:o,ui:LS(o,t),instance:pC(o.defId,e.range),range:e.range,isStart:!0,isEnd:!0}}(e,t,n),a=this.sliceRange.apply(this,ii([e.range],r)),s=0,l=a;s<l.length;s++){l[s].eventRange=i}return a},e.prototype.sliceEventRanges=function(e,t){for(var n=[],r=0,o=e;r<o.length;r++){var i=o[r];n.push.apply(n,this.sliceEventRange(i,t))}return n},e.prototype.sliceEventRange=function(e,t){var n=e.range;this.forceDayIfListItem&&"list-item"===e.ui.display&&(n={start:n.start,end:eC(n.start,1)});for(var r=this.sliceRange.apply(this,ii([n],t)),o=0,i=r;o<i.length;o++){var a=i[o];a.eventRange=e,a.isStart=e.isStart&&a.isStart,a.isEnd=e.isEnd&&a.isEnd}return r},e}();function SO(e,t){var n=e.activeRange;return t?n:{start:tC(n.start,e.slotMinTime.milliseconds),end:tC(n.end,e.slotMaxTime.milliseconds-864e5)}}var EO=/^(visible|hidden)$/,TO=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleEl=function(e){t.el=e,GE(t.props.elRef,e)},t}return ri(t,e),t.prototype.render=function(){var e=this.props,t=e.liquid,n=e.liquidIsAbsolute,r=t&&n,o=["fc-scroller"];return t&&(n?o.push("fc-scroller-liquid-absolute"):o.push("fc-scroller-liquid")),Sx("div",{ref:this.handleEl,className:o.join(" "),style:{overflowX:e.overflowX,overflowY:e.overflowY,left:r&&-(e.overcomeLeft||0)||"",right:r&&-(e.overcomeRight||0)||"",bottom:r&&-(e.overcomeBottom||0)||"",marginLeft:!r&&-(e.overcomeLeft||0)||"",marginRight:!r&&-(e.overcomeRight||0)||"",marginBottom:!r&&-(e.overcomeBottom||0)||"",maxHeight:e.maxHeight||""}},e.children)},t.prototype.needsXScrolling=function(){if(EO.test(this.props.overflowX))return!1;for(var e=this.el,t=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),n=e.children,r=0;r<n.length;r+=1){if(n[r].getBoundingClientRect().width>t)return!0}return!1},t.prototype.needsYScrolling=function(){if(EO.test(this.props.overflowY))return!1;for(var e=this.el,t=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),n=e.children,r=0;r<n.length;r+=1){if(n[r].getBoundingClientRect().height>t)return!0}return!1},t.prototype.getXScrollbarWidth=function(){return EO.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight},t.prototype.getYScrollbarWidth=function(){return EO.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth},t}(zE),OO=function(){function e(e){var t=this;this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=function(e,n){var r=t,o=r.depths,i=r.currentMap,a=!1,s=!1;null!==e?(a=n in i,i[n]=e,o[n]=(o[n]||0)+1,s=!0):(o[n]-=1,o[n]||(delete i[n],delete t.callbackMap[n],a=!0)),t.masterCallback&&(a&&t.masterCallback(null,String(n)),s&&t.masterCallback(e,String(n)))}}return e.prototype.createRef=function(e){var t=this,n=this.callbackMap[e];return n||(n=this.callbackMap[e]=function(n){t.handleValue(n,String(e))}),n},e.prototype.collect=function(e,t,n){return function(e,t,n,r){void 0===t&&(t=0),void 0===r&&(r=1);var o=[];null==n&&(n=Object.keys(e).length);for(var i=t;i<n;i+=r){var a=e[i];void 0!==a&&o.push(a)}return o}(this.currentMap,e,t,n)},e.prototype.getAll=function(){return bC(this.currentMap)},e}();function IO(e){for(var t=0,n=0,r=function(e,t){for(var n=e instanceof HTMLElement?[e]:e,r=[],o=0;o<n.length;o+=1)for(var i=n[o].querySelectorAll(t),a=0;a<i.length;a+=1)r.push(i[a]);return r}(e,".fc-scrollgrid-shrink");n<r.length;n++){var o=r[n];t=Math.max(t,Jx(o))}return Math.ceil(t)}function AO(e,t){return e.liquid&&t.liquid}function DO(e,t){return $C(e,t,_C)}function PO(e,t){for(var n=[],r=0,o=e;r<o.length;r++)for(var i=o[r],a=i.span||1,s=0;s<a;s+=1)n.push(Sx("col",{style:{width:"shrink"===i.width?MO(t):i.width||"",minWidth:i.minWidth||""}}));return Sx.apply(void 0,ii(["colgroup",{}],n))}function MO(e){return null==e?4:e}function $O(e,t){var n=["fc-scrollgrid-section","fc-scrollgrid-section-"+e.type,e.className];return t&&e.liquid&&null==e.maxHeight&&n.push("fc-scrollgrid-section-liquid"),e.isSticky&&n.push("fc-scrollgrid-section-sticky"),n}function NO(e){return Sx("div",{className:"fc-scrollgrid-sticky-shim",style:{width:e.clientWidth,minWidth:e.tableMinWidth}})}function RO(e){var t=e.stickyHeaderDates;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}var LO=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.processCols=NC((function(e){return e}),DO),t.renderMicroColGroup=NC(PO),t.scrollerRefs=new OO,t.scrollerElRefs=new OO(t._handleScrollerEl.bind(t)),t.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},t.handleSizing=function(){t.setState(oi({shrinkWidth:t.computeShrinkWidth()},t.computeScrollerDims()))},t}return ri(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,r=e.context,o=t.sections||[],i=this.processCols(t.cols),a=this.renderMicroColGroup(i,n.shrinkWidth),s=function(e,t){var n=["fc-scrollgrid",t.theme.getClass("table")];return e&&n.push("fc-scrollgrid-liquid"),n}(t.liquid,r);t.collapsibleWidth&&s.push("fc-scrollgrid-collapsible");for(var l,c=o.length,u=0,d=[],f=[],p=[];u<c&&"header"===(l=o[u]).type;)d.push(this.renderSection(l,a,!0)),u+=1;for(;u<c&&"body"===(l=o[u]).type;)f.push(this.renderSection(l,a,!1)),u+=1;for(;u<c&&"footer"===(l=o[u]).type;)p.push(this.renderSection(l,a,!0)),u+=1;var h=!xE(),m={role:"rowgroup"};return Sx("table",{role:"grid",className:s.join(" "),style:{height:t.height}},Boolean(!h&&d.length)&&Sx.apply(void 0,ii(["thead",m],d)),Boolean(!h&&f.length)&&Sx.apply(void 0,ii(["tbody",m],f)),Boolean(!h&&p.length)&&Sx.apply(void 0,ii(["tfoot",m],p)),h&&Sx.apply(void 0,ii(ii(ii(["tbody",m],d),f),p)))},t.prototype.renderSection=function(e,t,n){return"outerContent"in e?Sx(Ox,{key:e.key},e.outerContent):Sx("tr",{key:e.key,role:"presentation",className:$O(e,this.props.liquid
2).join(" ")},this.renderChunkTd(e,t,e.chunk,n))},t.prototype.renderChunkTd=function(e,t,n,r){if("outerContent"in n)return n.outerContent;var o=this.props,i=this.state,a=i.forceYScrollbars,s=i.scrollerClientWidths,l=i.scrollerClientHeights,c=function(e,t){return null!=t.maxHeight||AO(e,t)}(o,e),u=AO(o,e),d=o.liquid?a?"scroll":c?"auto":"hidden":"visible",f=e.key,p=function(e,t,n,r){var o=n.expandRows;return"function"==typeof t.content?t.content(n):Sx("table",{role:"presentation",className:[t.tableClassName,e.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:n.tableMinWidth,width:n.clientWidth,height:o?n.clientHeight:""}},n.tableColGroupNode,Sx(r?"thead":"tbody",{role:"presentation"},"function"==typeof t.rowContent?t.rowContent(n):t.rowContent))}(e,n,{tableColGroupNode:t,tableMinWidth:"",clientWidth:o.collapsibleWidth||void 0===s[f]?null:s[f],clientHeight:void 0!==l[f]?l[f]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:function(){}},r);return Sx(r?"th":"td",{ref:n.elRef,role:"presentation"},Sx("div",{className:"fc-scroller-harness"+(u?" fc-scroller-harness-liquid":"")},Sx(TO,{ref:this.scrollerRefs.createRef(f),elRef:this.scrollerElRefs.createRef(f),overflowY:d,overflowX:o.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:u,liquidIsAbsolute:!0},p)))},t.prototype._handleScrollerEl=function(e,t){var n=function(e,t){for(var n=0,r=e;n<r.length;n++){var o=r[n];if(o.key===t)return o}return null}(this.props.sections,t);n&&GE(n.chunk.scrollerElRef,e)},t.prototype.componentDidMount=function(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)},t.prototype.componentDidUpdate=function(){this.handleSizing()},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleSizing)},t.prototype.computeShrinkWidth=function(){return function(e){for(var t=0,n=e;t<n.length;t++)if("shrink"===n[t].width)return!0;return!1}(this.props.cols)?IO(this.scrollerElRefs.getAll()):0},t.prototype.computeScrollerDims=function(){var e=PE(),t=this.scrollerRefs,n=this.scrollerElRefs,r=!1,o={},i={};for(var a in t.currentMap){var s=t.currentMap[a];if(s&&s.needsYScrolling()){r=!0;break}}for(var l=0,c=this.props.sections;l<c.length;l++){a=c[l].key;var u=n.currentMap[a];if(u){var d=u.parentNode;o[a]=Math.floor(d.getBoundingClientRect().width-(r?e.y:0)),i[a]=Math.floor(d.getBoundingClientRect().height)}}return{forceYScrollbars:r,scrollerClientWidths:o,scrollerClientHeights:i}},t}(zE);LO.addStateEquality({scrollerClientWidths:_C,scrollerClientHeights:_C});var jO=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elRef=Tx(),t}return ri(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=e.seg,o=r.eventRange,i=o.ui,a={event:new aE(t,o.def,o.instance),view:t.viewApi,timeText:e.timeText,textColor:i.textColor,backgroundColor:i.backgroundColor,borderColor:i.borderColor,isDraggable:!e.disableDragging&&BS(r,t),isStartResizable:!e.disableResizing&&qS(r,t),isEndResizable:!e.disableResizing&&HS(r),isMirror:Boolean(e.isDragging||e.isResizing||e.isDateSelecting),isStart:Boolean(r.isStart),isEnd:Boolean(r.isEnd),isPast:Boolean(e.isPast),isFuture:Boolean(e.isFuture),isToday:Boolean(e.isToday),isSelected:Boolean(e.isSelected),isDragging:Boolean(e.isDragging),isResizing:Boolean(e.isResizing)},s=function(e){var t=["fc-event"];return e.isMirror&&t.push("fc-event-mirror"),e.isDraggable&&t.push("fc-event-draggable"),(e.isStartResizable||e.isEndResizable)&&t.push("fc-event-resizable"),e.isDragging&&t.push("fc-event-dragging"),e.isResizing&&t.push("fc-event-resizing"),e.isSelected&&t.push("fc-event-selected"),e.isStart&&t.push("fc-event-start"),e.isEnd&&t.push("fc-event-end"),e.isPast&&t.push("fc-event-past"),e.isToday&&t.push("fc-event-today"),e.isFuture&&t.push("fc-event-future"),t}(a).concat(i.classNames);return Sx(ZE,{hookProps:a,classNames:n.eventClassNames,content:n.eventContent,defaultContent:e.defaultContent,didMount:n.eventDidMount,willUnmount:n.eventWillUnmount,elRef:this.elRef},(function(t,n,r,o){return e.children(t,s.concat(n),r,o,a)}))},t.prototype.componentDidMount=function(){$S(this.elRef.current,this.props.seg)},t.prototype.componentDidUpdate=function(e){var t=this.props.seg;t!==e.seg&&$S(this.elRef.current,t)},t}(zE),FO=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ri(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.seg,r=t.options.eventTimeFormat||e.defaultTimeFormat,o=zS(n,r,t,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return Sx(jO,{seg:n,timeText:o,disableDragging:e.disableDragging,disableResizing:e.disableResizing,defaultContent:e.defaultContent||BO,isDragging:e.isDragging,isResizing:e.isResizing,isDateSelecting:e.isDateSelecting,isSelected:e.isSelected,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(r,o,i,a,s){return Sx("a",oi({className:e.extraClassNames.c
2oncat(o).join(" "),style:{borderColor:s.borderColor,backgroundColor:s.backgroundColor},ref:r},VS(n,t)),Sx("div",{className:"fc-event-main",ref:i,style:{color:s.textColor}},a),s.isStartResizable&&Sx("div",{className:"fc-event-resizer fc-event-resizer-start"}),s.isEndResizable&&Sx("div",{className:"fc-event-resizer fc-event-resizer-end"}))}))},t}(zE);function BO(e){return Sx("div",{className:"fc-event-main-frame"},e.timeText&&Sx("div",{className:"fc-event-time"},e.timeText),Sx("div",{className:"fc-event-title-container"},Sx("div",{className:"fc-event-title fc-sticky"},e.event.title||Sx(Ox,null,"Â "))))}var qO=QC({day:"numeric"}),HO=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ri(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=zO({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraProps:e.extraHookProps,viewApi:t.viewApi,dateEnv:t.dateEnv});return Sx(eT,{hookProps:r,content:n.dayCellContent,defaultContent:e.defaultContent},e.children)},t}(zE);function zO(e){var t=e.date,n=e.dateEnv,r=EE(t,e.todayRange,null,e.dateProfile);return oi(oi(oi({date:n.toDate(t),view:e.viewApi},r),{dayNumberText:e.showDayNumber?n.format(t,qO):""}),e.extraProps)}var UO=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.refineHookProps=RC(zO),t.normalizeClassNames=rT(),t}return ri(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=this.refineHookProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraProps:e.extraHookProps,viewApi:t.viewApi,dateEnv:t.dateEnv}),o=TE(r,t.theme).concat(r.isDisabled?[]:this.normalizeClassNames(n.dayCellClassNames,r)),i=r.isDisabled?{}:{"data-date":PC(e.date)};return Sx(nT,{hookProps:r,didMount:n.dayCellDidMount,willUnmount:n.dayCellWillUnmount,elRef:e.elRef},(function(t){return e.children(t,o,i,r.isDisabled)}))},t}(zE);function VO(e){return Sx("div",{className:"fc-"+e})}var GO=function(e){return Sx(jO,{defaultContent:WO,seg:e.seg,timeText:"",disableDragging:!0,disableResizing:!0,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(e,t,n,r,o){return Sx("div",{ref:e,className:["fc-bg-event"].concat(t).join(" "),style:{backgroundColor:o.backgroundColor}},r)}))};function WO(e){return e.event.title&&Sx("div",{className:"fc-event-title"},e.event.title)}var YO=function(e){return Sx(BE.Consumer,null,(function(t){var n=t.dateEnv,r=t.options,o=e.date,i=r.weekNumberFormat||e.defaultFormat,a=n.computeWeekNumber(o),s=n.format(o,i);return Sx(ZE,{hookProps:{num:a,text:s,date:o},classNames:r.weekNumberClassNames,content:r.weekNumberContent,defaultContent:KO,didMount:r.weekNumberDidMount,willUnmount:r.weekNumberWillUnmount},e.children)}))};function KO(e){return e.text}var QO=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={titleId:qx()},t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&GE(t.props.elRef,e)},t.handleDocumentMouseDown=function(e){var n=function(e){var t,n;return null!==(n=null===(t=e.composedPath)||void 0===t?void 0:t.call(e)[0])&&void 0!==n?n:e.target}(e);t.rootEl.contains(n)||t.handleCloseClick()},t.handleDocumentKeyDown=function(e){"Escape"===e.key&&t.handleCloseClick()},t.handleCloseClick=function(){var e=t.props.onClose;e&&e()},t}return ri(t,e),t.prototype.render=function(){var e=this.context,t=e.theme,n=e.options,r=this.props,o=this.state,i=["fc-popover",t.getClass("popover")].concat(r.extraClassNames||[]);return Ax(Sx("div",oi({id:r.id,className:i.join(" "),"aria-labelledby":o.titleId},r.extraAttrs,{ref:this.handleRootEl}),Sx("div",{className:"fc-popover-header "+t.getClass("popoverHeader")},Sx("span",{className:"fc-popover-title",id:o.titleId},r.title),Sx("span",{className:"fc-popover-close "+t.getIconClass("close"),title:n.closeHint,onClick:this.handleCloseClick})),Sx("div",{className:"fc-popover-body "+t.getClass("popoverContent")},r.children)),r.parentEl)},t.prototype.componentDidMount=function(){document.addEventListener("mousedown",this.handleDocumentMouseDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.updateSize()},t.prototype.componentWillUnmount=function(){document.removeEventListener("mousedown",this.handleDocumentMouseDown),document.removeEventListener("keydown",this.handleDocumentKeyDown)}
2,t.prototype.updateSize=function(){var e=this.context.isRtl,t=this.props,n=t.alignmentEl,r=t.alignGridTop,o=this.rootEl,i=$E(n);if(i){var a=o.getBoundingClientRect(),s=r?Nx(n,".fc-scrollgrid").getBoundingClientRect().top:i.top,l=e?i.right-a.width:i.left;s=Math.max(s,10),l=Math.min(l,document.documentElement.clientWidth-10-a.width),l=Math.max(l,10);var c=o.offsetParent.getBoundingClientRect();jx(o,{top:s-c.top,left:l-c.left})}},t}(zE),JO=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRootEl=function(e){t.rootEl=e,e?t.context.registerInteractiveComponent(t,{el:e,useEventCenter:!1}):t.context.unregisterInteractiveComponent(t)},t}return ri(t,e),t.prototype.render=function(){var e=this.context,t=e.options,n=e.dateEnv,r=this.props,o=r.startDate,i=r.todayRange,a=r.dateProfile,s=n.format(o,t.dayPopoverFormat);return Sx(UO,{date:o,dateProfile:a,todayRange:i,elRef:this.handleRootEl},(function(e,t,n){return Sx(QO,{elRef:e,id:r.id,title:s,extraClassNames:["fc-more-popover"].concat(t),extraAttrs:n,parentEl:r.parentEl,alignmentEl:r.alignmentEl,alignGridTop:r.alignGridTop,onClose:r.onClose},Sx(HO,{date:o,dateProfile:a,todayRange:i},(function(e,t){return t&&Sx("div",{className:"fc-more-popover-misc",ref:e},t)})),r.children)}))},t.prototype.queryHit=function(e,t,n,r){var o=this.rootEl,i=this.props;return e>=0&&e<n&&t>=0&&t<r?{dateProfile:i.dateProfile,dateSpan:oi({allDay:!0,range:{start:i.startDate,end:i.endDate}},i.extraDateSpan),dayEl:o,rect:{left:0,top:0,right:n,bottom:r},layer:1}:null},t}(WE),ZO=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.linkElRef=Tx(),t.state={isPopoverOpen:!1,popoverId:qx()},t.handleClick=function(e){var n=t,r=n.props,o=n.context,i=o.options.moreLinkClick,a=eI(r).start;function s(e){var t=e.eventRange,n=t.def,r=t.instance,i=t.range;return{event:new aE(o,n,r),start:o.dateEnv.toDate(i.start),end:o.dateEnv.toDate(i.end),isStart:e.isStart,isEnd:e.isEnd}}"function"==typeof i&&(i=i({date:a,allDay:Boolean(r.allDayDate),allSegs:r.allSegs.map(s),hiddenSegs:r.hiddenSegs.map(s),jsEvent:e,view:o.viewApi})),i&&"popover"!==i?"string"==typeof i&&o.calendarApi.zoomTo(a,i):t.setState({isPopoverOpen:!0})},t.handlePopoverClose=function(){t.setState({isPopoverOpen:!1})},t}return ri(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.state;return Sx(BE.Consumer,null,(function(r){var o=r.viewApi,i=r.options,a=r.calendarApi,s=i.moreLinkText,l=t.moreCnt,c=eI(t),u="function"==typeof s?s.call(a,l):"+"+l+" "+s,d=Kx(i.moreLinkHint,[l],u),f={num:l,shortText:"+"+l,text:u,view:o};return Sx(Ox,null,Boolean(t.moreCnt)&&Sx(ZE,{elRef:e.linkElRef,hookProps:f,classNames:i.moreLinkClassNames,content:i.moreLinkContent,defaultContent:t.defaultContent||XO,didMount:i.moreLinkDidMount,willUnmount:i.moreLinkWillUnmount},(function(r,o,i,a){return t.children(r,["fc-more-link"].concat(o),i,a,e.handleClick,d,n.isPopoverOpen,n.isPopoverOpen?n.popoverId:"")})),n.isPopoverOpen&&Sx(JO,{id:n.popoverId,startDate:c.start,endDate:c.end,dateProfile:t.dateProfile,todayRange:t.todayRange,extraDateSpan:t.extraDateSpan,parentEl:e.parentEl,alignmentEl:t.alignmentElRef.current,alignGridTop:t.alignGridTop,onClose:e.handlePopoverClose},t.popoverContent()))}))},t.prototype.componentDidMount=function(){this.updateParentEl()},t.prototype.componentDidUpdate=function(){this.updateParentEl()},t.prototype.updateParentEl=function(){this.linkElRef.current&&(this.parentEl=Nx(this.linkElRef.current,".fc-view-harness"))},t}(zE);function XO(e){return e.text}function eI(e){if(e.allDayDate)return{start:e.allDayDate,end:eC(e.allDayDate,1)};var t,n=e.hiddenSegs;return{start:(t=n,t.reduce(tI).eventRange.range.start),end:nI(n)}}function tI(e,t){return e.eventRange.range.start<t.eventRange.range.start?e:t}function nI(e){return e.reduce(rI).eventRange.range.end}function rI(e,t){return e.eventRange.range.end>t.eventRange.range.end?e:t}var oI=function(e){function t(t,n){void 0===n&&(n={});var r=e.call(this)||this;return r.isRendering=!1,r.isRendered=!1,r.currentClassNames=[],r.customContentRenderId=0,r.handleAction=function(e){switch(e.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":r.renderRunner.tryDrain()}},r.handleData=function(e){r.currentData=e,r.renderRunner.request(e.calendarOptions.rerenderDelay)},r.handleRenderRequest=function(){if(r.isRendering){r.isRendered=!0;var e=r.currentData;Ex(Sx(fO,{options:e.calendarOptions,theme:e.theme,emitter:e.emitter},(function(t,n,o,i){return r.setClassNames(t),r.setHeight(n),Sx(XE.Provider,{value:r.customContentRenderId},Sx(cO,oi({isHeightAuto:o,forPrint:i},e)))})),r.el)}else r.isRendered&&(r.isRendered=!1,Px(r.el),r.setClassNames([]),r.setHeight(""));Dx()},r.el=t,r.renderRunner=new NT(r.handleRenderRequest),new jT({optionOverrides:n,calendarApi:r,onAction:r.handleAction,onData:r.handleData}),r}return ri(t,e),Object.defineProperty(t.prototype,"view",{get:function(){return this.currentData.viewApi}
2,enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this.isRendering;e?this.customContentRenderId+=1:this.isRendering=!0,this.renderRunner.request(),e&&this.updateSize()},t.prototype.destroy=function(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())},t.prototype.updateSize=function(){e.prototype.updateSize.call(this),Dx()},t.prototype.batchRendering=function(e){this.renderRunner.pause("batchRendering"),e(),this.renderRunner.resume("batchRendering")},t.prototype.pauseRendering=function(){this.renderRunner.pause("pauseRendering")},t.prototype.resumeRendering=function(){this.renderRunner.resume("pauseRendering",!0)},t.prototype.resetOptions=function(e,t){this.currentDataManager.resetOptions(e,t)},t.prototype.setClassNames=function(e){if(!$C(e,this.currentClassNames)){for(var t=this.el.classList,n=0,r=this.currentClassNames;n<r.length;n++){var o=r[n];t.remove(o)}for(var i=0,a=e;i<a.length;i++){o=a[i];t.add(o)}this.currentClassNames=e}},t.prototype.setHeight=function(e){Fx(this.el,"height",e)},t}(iE),iI=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.headerElRef=Tx(),t}return ri(t,e),t.prototype.renderSimpleLayout=function(e,t){var n=this.props,r=this.context,o=[],i=RO(r.options);return e&&o.push({type:"header",key:"header",isSticky:i,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),o.push({type:"body",key:"body",liquid:!0,chunk:{content:t}}),Sx(aT,{viewSpec:r.viewSpec},(function(e,t){return Sx("div",{ref:e,className:["fc-daygrid"].concat(t).join(" ")},Sx(LO,{liquid:!n.isHeightAuto&&!n.forPrint,collapsibleWidth:n.forPrint,cols:[],sections:o}))}))},t.prototype.renderHScrollLayout=function(e,t,n,r){var o=this.context.pluginHooks.scrollGridImpl;if(!o)throw new Error("No ScrollGrid implementation");var i=this.props,a=this.context,s=!i.forPrint&&RO(a.options),l=!i.forPrint&&function(e){var t=e.stickyFooterScrollbar;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}(a.options),c=[];return e&&c.push({type:"header",key:"header",isSticky:s,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),c.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:t}]}),l&&c.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:NO}]}),Sx(aT,{viewSpec:a.viewSpec},(function(e,t){return Sx("div",{ref:e,className:["fc-daygrid"].concat(t).join(" ")},Sx(o,{liquid:!i.isHeightAuto&&!i.forPrint,collapsibleWidth:i.forPrint,colGroups:[{cols:[{span:n,minWidth:r}]}],sections:c}))}))},t}(WE);function aI(e,t){for(var n=[],r=0;r<t;r+=1)n[r]=[];for(var o=0,i=e;o<i.length;o++){var a=i[o];n[a.row].push(a)}return n}function sI(e,t){for(var n=[],r=0;r<t;r+=1)n[r]=[];for(var o=0,i=e;o<i.length;o++){var a=i[o];n[a.firstCol].push(a)}return n}function lI(e,t){var n=[];if(e){for(a=0;a<t;a+=1)n[a]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(var r=0,o=e.segs;r<o.length;r++){var i=o[r];n[i.row].segs.push(i)}}else for(var a=0;a<t;a+=1)n[a]=null;return n}var cI=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ri(t,e),t.prototype.render=function(){var e=this.props,t=AE(this.context,e.date);return Sx(HO,{date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraHookProps:e.extraHookProps,defaultContent:uI},(function(n,r){return(r||e.forceDayTop)&&Sx("div",{className:"fc-daygrid-day-top",ref:n},Sx("a",oi({id:e.dayNumberId,className:"fc-daygrid-day-number"},t),r||Sx(Ox,null,"Â ")))}))},t}(zE);function uI(e){return e.dayNumberText}var dI=QC({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function fI(e){var t=e.eventRange.ui.display;return"list-item"===t||"auto"===t&&!e.eventRange.def.allDay&&e.firstCol===e.lastCol&&e.isStart&&e.isEnd}var pI=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ri(t,e),t.prototype.render=function(){var e=this.props;return Sx(FO,oi({}
2,e,{extraClassNames:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:dI,defaultDisplayEventEnd:e.defaultDisplayEventEnd,disableResizing:!e.seg.eventRange.def.allDay}))},t}(zE),hI=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ri(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options.eventTimeFormat||dI,r=zS(e.seg,n,t,!0,e.defaultDisplayEventEnd);return Sx(jO,{seg:e.seg,timeText:r,defaultContent:mI,isDragging:e.isDragging,isResizing:!1,isDateSelecting:!1,isSelected:e.isSelected,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(n,r,o,i){return Sx("a",oi({className:["fc-daygrid-event","fc-daygrid-dot-event"].concat(r).join(" "),ref:n},VS(e.seg,t)),i)}))},t}(zE);function mI(e){return Sx(Ox,null,Sx("div",{className:"fc-daygrid-event-dot",style:{borderColor:e.borderColor||e.backgroundColor}}),e.timeText&&Sx("div",{className:"fc-event-time"},e.timeText),Sx("div",{className:"fc-event-title"},e.event.title||Sx(Ox,null,"Â ")))}var vI=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.compileSegs=NC(gI),t}return ri(t,e),t.prototype.render=function(){var e=this.props,t=this.compileSegs(e.singlePlacements),n=t.allSegs,r=t.invisibleSegs;return Sx(ZO,{dateProfile:e.dateProfile,todayRange:e.todayRange,allDayDate:e.allDayDate,moreCnt:e.moreCnt,allSegs:n,hiddenSegs:r,alignmentElRef:e.alignmentElRef,alignGridTop:e.alignGridTop,extraDateSpan:e.extraDateSpan,popoverContent:function(){var t=(e.eventDrag?e.eventDrag.affectedInstances:null)||(e.eventResize?e.eventResize.affectedInstances:null)||{};return Sx(Ox,null,n.map((function(n){var r=n.eventRange.instance.instanceId;return Sx("div",{className:"fc-daygrid-event-harness",key:r,style:{visibility:t[r]?"hidden":""}},fI(n)?Sx(hI,oi({seg:n,isDragging:!1,isSelected:r===e.eventSelection,defaultDisplayEventEnd:!1},US(n,e.todayRange))):Sx(pI,oi({seg:n,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:r===e.eventSelection,defaultDisplayEventEnd:!1},US(n,e.todayRange))))})))}},(function(e,t,n,r,o,i,a,s){return Sx("a",oi({ref:e,className:["fc-daygrid-more-link"].concat(t).join(" "),title:i,"aria-expanded":a,"aria-controls":s},zx(o)),r)}))},t}(zE);function gI(e){for(var t=[],n=[],r=0,o=e;r<o.length;r++){var i=o[r];t.push(i.seg),i.isVisible||n.push(i.seg)}return{allSegs:t,invisibleSegs:n}}var yI=QC({week:"narrow"}),bI=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=Tx(),t.state={dayNumberId:qx()},t.handleRootEl=function(e){GE(t.rootElRef,e),GE(t.props.elRef,e)},t}return ri(t,e),t.prototype.render=function(){var e=this,t=e.context,n=e.props,r=e.state,o=e.rootElRef,i=n.date,a=n.dateProfile,s=AE(t,i,"week");return Sx(UO,{date:i,dateProfile:a,todayRange:n.todayRange,showDayNumber:n.showDayNumber,extraHookProps:n.extraHookProps,elRef:this.handleRootEl},(function(e,t,l,c){return Sx("td",oi({ref:e,role:"gridcell",className:["fc-daygrid-day"].concat(t,n.extraClassNames||[]).join(" ")},l,n.extraDataAttrs,n.showDayNumber?{"aria-labelledby":r.dayNumberId}:{}),Sx("div",{className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",ref:n.innerElRef},n.showWeekNumber&&Sx(YO,{date:i,defaultFormat:yI},(function(e,t,n,r){return Sx("a",oi({ref:e,className:["fc-daygrid-week-number"].concat(t).join(" ")},s),r)})),!c&&Sx(cI,{date:i,dateProfile:a,showDayNumber:n.showDayNumber,dayNumberId:r.dayNumberId,forceDayTop:n.forceDayTop,todayRange:n.todayRange,extraHookProps:n.extraHookProps}),Sx("div",{className:"fc-daygrid-day-events",ref:n.fgContentElRef},n.fgContent,Sx("div",{className:"fc-daygrid-day-bottom",style:{marginTop:n.moreMarginTop}},Sx(vI,{allDayDate:i,singlePlacements:n.singlePlacements,moreCnt:n.moreCnt,alignmentElRef:o,alignGridTop:!n.showDayNumber,extraDateSpan:n.extraDateSpan,dateProfile:n.dateProfile,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,todayRange:n.todayRange}))),Sx("div",{className:"fc-daygrid-day-bg"},n.bgContent)))}))},t}(WE);function _I(e,t,n,r,o,i,a){var s=new kI;s.allowReslicing=!0,s.strictOrder=r,!0===t||!0===n?(s.maxCoord=i,s.hiddenConsumes=!0):"number"==typeof t?s.maxStackCnt=t:"number"==typeof n&&(s.maxStackCnt=n,s.hiddenConsumes=!0);for(var l=[],c=[],u=0;u<e.length;u+=1){var d=o[(S=e[u]).eventRange.instance.instanceId];null!=d?l.push({index:u,thickness:d,span:{start:S.firstCol,end:S.lastCol+1}}):c.push(S)}for(var f=s.addSegs(l),p=function(e,t,n){for(var r=function(e,t){for(var n=[],r=0;r<t;r+=1)n.push([]);for(var o=0,i=e;o<i.length;o++){var a=i[o];for(r=a.span.start;r<a.span.end;r+=1)n[r].push(a)}return n}(e,n.length),o=[],i=[],a=[],s=0;s<n.length;s+=1){for(var l=r[s],c=[],u=0,d=0,f=0,p=l;f<p.length;f++){var h=t[(y=p[f]).index];c.push({seg:wI(h,s,s+1,n),isVisible:!0,isAbsolute:!1,absoluteTop:y.levelCoord,marginTop:y.levelCoord-u}),u=y.levelCoord+y.thickness}var m=[];u=0,d=0;for(var v=0,g=l;v<g.length;v++){h=t[(y=g[v]).index];var y,b=y.span.end-y.span.start>1,_=y.span.start===s;d+=y.levelCoord-u,u=y.levelCoord+y.thickness,b?(d+=y.thickness,_&&m.push({seg:wI(h,y.span.start,y.span.end,n),isVisible:!0,isAbsolute:!0,absoluteTop:y.levelCoord,marginTop:0}
2)):_&&(m.push({seg:wI(h,y.span.start,y.span.end,n),isVisible:!0,isAbsolute:!1,absoluteTop:y.levelCoord,marginTop:d}),d=0)}o.push(c),i.push(m),a.push(d)}return{singleColPlacements:o,multiColPlacements:i,leftoverMargins:a}}(s.toRects(),e,a),h=p.singleColPlacements,m=p.multiColPlacements,v=p.leftoverMargins,g=[],y=[],b=0,_=c;b<_.length;b++){m[(S=_[b]).firstCol].push({seg:S,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(var w=S.firstCol;w<=S.lastCol;w+=1)h[w].push({seg:wI(S,w,w+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(w=0;w<a.length;w+=1)g.push(0);for(var k=0,x=f;k<x.length;k++){var C=x[k],S=e[C.index],E=C.span;m[E.start].push({seg:wI(S,E.start,E.end,a),isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(w=E.start;w<E.end;w+=1)g[w]+=1,h[w].push({seg:wI(S,w,w+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(w=0;w<a.length;w+=1)y.push(v[w]);return{singleColPlacements:h,multiColPlacements:m,moreCnts:g,moreMarginTops:y}}function wI(e,t,n,r){if(e.firstCol===t&&e.lastCol===n-1)return e;var o=e.eventRange,i=o.range,a=AS(i,{start:r[t].date,end:eC(r[n-1].date,1)});return oi(oi({},e),{firstCol:t,lastCol:n-1,eventRange:{def:o.def,ui:oi(oi({},o.ui),{durationEditable:!1}),instance:o.instance,range:a},isStart:e.isStart&&a.start.valueOf()===i.start.valueOf(),isEnd:e.isEnd&&a.end.valueOf()===i.end.valueOf()})}var kI=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.hiddenConsumes=!1,t.forceHidden={},t}return ri(t,e),t.prototype.addSegs=function(t){for(var n=this,r=e.prototype.addSegs.call(this,t),o=this.entriesByLevel,i=function(e){return!n.forceHidden[ZT(e)]},a=0;a<o.length;a+=1)o[a]=o[a].filter(i);return r},t.prototype.handleInvalidInsertion=function(t,n,r){var o=this.entriesByLevel,i=this.forceHidden,a=t.touchingEntry,s=t.touchingLevel,l=t.touchingLateral;if(this.hiddenConsumes&&a){var c=ZT(a);if(!i[c])if(this.allowReslicing){var u=oi(oi({},a),{span:XT(a.span,n.span)});i[ZT(u)]=!0,o[s][l]=u,this.splitEntry(a,n,r)}else i[c]=!0,r.push(a)}return e.prototype.handleInvalidInsertion.call(this,t,n,r)},t}(QT),xI=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cellElRefs=new OO,t.frameElRefs=new OO,t.fgElRefs=new OO,t.segHarnessRefs=new OO,t.rootElRef=Tx(),t.state={framePositions:null,maxContentHeight:null,eventInstanceHeights:{}},t}return ri(t,e),t.prototype.render=function(){var e=this,t=this,n=t.props,r=t.state,o=t.context.options,i=n.cells.length,a=sI(n.businessHourSegs,i),s=sI(n.bgEventSegs,i),l=sI(this.getHighlightSegs(),i),c=sI(this.getMirrorSegs(),i),u=_I(jS(n.fgEventSegs,o.eventOrder),n.dayMaxEvents,n.dayMaxEventRows,o.eventOrderStrict,r.eventInstanceHeights,r.maxContentHeight,n.cells),d=u.singleColPlacements,f=u.multiColPlacements,p=u.moreCnts,h=u.moreMarginTops,m=n.eventDrag&&n.eventDrag.affectedInstances||n.eventResize&&n.eventResize.affectedInstances||{};return Sx("tr",{ref:this.rootElRef,role:"row"},n.renderIntro&&n.renderIntro(),n.cells.map((function(t,r){var o=e.renderFgSegs(r,n.forPrint?d[r]:f[r],n.todayRange,m),i=e.renderFgSegs(r,function(e,t){if(!e.length)return[];var n=function(e){for(var t={},n=0,r=e;n<r.length;n++)for(var o=0,i=r[n];o<i.length;o++){var a=i[o];t[a.seg.eventRange.instance.instanceId]=a.absoluteTop}return t}(t);return e.map((function(e){return{seg:e,isVisible:!0,isAbsolute:!0,absoluteTop:n[e.eventRange.instance.instanceId],marginTop:0}}))}(c[r],f),n.todayRange,{},Boolean(n.eventDrag),Boolean(n.eventResize),!1);return Sx(bI,{key:t.key,elRef:e.cellElRefs.createRef(t.key),innerElRef:e.frameElRefs.createRef(t.key),dateProfile:n.dateProfile,date:t.date,showDayNumber:n.showDayNumbers,showWeekNumber:n.showWeekNumbers&&0===r,forceDayTop:n.showWeekNumbers,todayRange:n.todayRange,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,extraHookProps:t.extraHookProps,extraDataAttrs:t.extraDataAttrs,extraClassNames:t.extraClassNames,extraDateSpan:t.extraDateSpan,moreCnt:p[r],moreMarginTop:h[r],singlePlacements:d[r],fgContentElRef:e.fgElRefs.createRef(t.key),fgContent:Sx(Ox,null,Sx(Ox,null,o),Sx(Ox,null,i)),bgContent:Sx(Ox,null,e.renderFillSegs(l[r],"highlight"),e.renderFillSegs(a[r],"non-business"),e.renderFillSegs(s[r],"bg-event"))})})))},t.prototype.componentDidMount=function(){this.updateSizing(!0)},t.prototype.componentDidUpdate=function(e,t){var n=this.props;this.updateSizing(!_C(e,n))},t.prototype.getHighlightSegs=function(){var e=this.props;return e.eventDrag&&e.eventDrag.segs.length?e.eventDrag.segs:e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:e.dateSelectionSegs},t.prototype.getMirrorSegs=function(){var e=this.props;return e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:[]},t.prototype.renderFgSegs=function(e,t,n,r,o,i,a){var s=this.context,l=this.props.eventSelection,c=this.state.framePositions,u=1===this.props.cells.length,d=o||i||a,f=[];if(c)for(var p=0,h=t;p<h.length;p++){var m=h[p],v=m.seg,g=v.eventRange.instance.instanceId,y=g+":"+e,b=m.isVisible&&!r[g],_=m.isAbsolute,w="",k="";
2_&&(s.isRtl?(k=0,w=c.lefts[v.lastCol]-c.lefts[v.firstCol]):(w=0,k=c.rights[v.firstCol]-c.rights[v.lastCol])),f.push(Sx("div",{className:"fc-daygrid-event-harness"+(_?" fc-daygrid-event-harness-abs":""),key:y,ref:d?null:this.segHarnessRefs.createRef(y),style:{visibility:b?"":"hidden",marginTop:_?"":m.marginTop,top:_?m.absoluteTop:"",left:w,right:k}},fI(v)?Sx(hI,oi({seg:v,isDragging:o,isSelected:g===l,defaultDisplayEventEnd:u},US(v,n))):Sx(pI,oi({seg:v,isDragging:o,isResizing:i,isDateSelecting:a,isSelected:g===l,defaultDisplayEventEnd:u},US(v,n)))))}return f},t.prototype.renderFillSegs=function(e,t){var n,r=this.context.isRtl,o=this.props.todayRange,i=this.state.framePositions,a=[];if(i)for(var s=0,l=e;s<l.length;s++){var c=l[s],u=r?{right:0,left:i.lefts[c.lastCol]-i.lefts[c.firstCol]}:{left:0,right:i.rights[c.firstCol]-i.rights[c.lastCol]};a.push(Sx("div",{key:(n=c.eventRange,n.instance?n.instance.instanceId:n.def.defId+":"+n.range.start.toISOString()),className:"fc-daygrid-bg-harness",style:u},"bg-event"===t?Sx(GO,oi({seg:c},US(c,o))):VO(t)))}return Sx.apply(void 0,ii([Ox,{}],a))},t.prototype.updateSizing=function(e){var t=this.props,n=this.frameElRefs;if(!t.forPrint&&null!==t.clientWidth){if(e){var r=t.cells.map((function(e){return n.currentMap[e.key]}));if(r.length){var o=this.rootElRef.current;this.setState({framePositions:new RE(o,r,!0,!1)})}}var i=this.state.eventInstanceHeights,a=this.queryEventInstanceHeights(),s=!0===t.dayMaxEvents||!0===t.dayMaxEventRows;this.setState({eventInstanceHeights:oi(oi({},i),a),maxContentHeight:s?this.computeMaxContentHeight():null})}},t.prototype.queryEventInstanceHeights=function(){var e=this.segHarnessRefs.currentMap,t={};for(var n in e){var r=Math.round(e[n].getBoundingClientRect().height),o=n.split(":")[0];t[o]=Math.max(t[o]||0,r)}return t},t.prototype.computeMaxContentHeight=function(){var e=this.props.cells[0].key,t=this.cellElRefs.currentMap[e],n=this.fgElRefs.currentMap[e];return t.getBoundingClientRect().bottom-n.getBoundingClientRect().top},t.prototype.getCellEls=function(){var e=this.cellElRefs.currentMap;return this.props.cells.map((function(t){return e[t.key]}))},t}(WE);xI.addStateEquality({eventInstanceHeights:_C});var CI=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.splitBusinessHourSegs=NC(aI),t.splitBgEventSegs=NC(aI),t.splitFgEventSegs=NC(aI),t.splitDateSelectionSegs=NC(aI),t.splitEventDrag=NC(lI),t.splitEventResize=NC(lI),t.rowRefs=new OO,t.handleRootEl=function(e){t.rootEl=e,e?t.context.registerInteractiveComponent(t,{el:e,isHitComboAllowed:t.props.isHitComboAllowed}):t.context.unregisterInteractiveComponent(t)},t}return ri(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.dateProfile,r=t.dayMaxEventRows,o=t.dayMaxEvents,i=t.expandRows,a=t.cells.length,s=this.splitBusinessHourSegs(t.businessHourSegs,a),l=this.splitBgEventSegs(t.bgEventSegs,a),c=this.splitFgEventSegs(t.fgEventSegs,a),u=this.splitDateSelectionSegs(t.dateSelectionSegs,a),d=this.splitEventDrag(t.eventDrag,a),f=this.splitEventResize(t.eventResize,a),p=!0===o||!0===r;return p&&!i&&(p=!1,r=null,o=null),Sx("div",{className:["fc-daygrid-body",p?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",i?"":"fc-daygrid-body-natural"].join(" "),ref:this.handleRootEl,style:{width:t.clientWidth,minWidth:t.tableMinWidth}},Sx(yO,{unit:"day"},(function(p,h){return Sx(Ox,null,Sx("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:t.clientWidth,minWidth:t.tableMinWidth,height:i?t.clientHeight:""}},t.colGroupNode,Sx("tbody",{role:"presentation"},t.cells.map((function(i,p){return Sx(xI,{ref:e.rowRefs.createRef(p),key:i.length?i[0].date.toISOString():p,showDayNumbers:a>1,showWeekNumbers:t.showWeekNumbers,todayRange:h,dateProfile:n,cells:i,renderIntro:t.renderRowIntro,businessHourSegs:s[p],eventSelection:t.eventSelection,bgEventSegs:l[p].filter(SI),fgEventSegs:c[p],dateSelectionSegs:u[p],eventDrag:d[p],eventResize:f[p],dayMaxEvents:o,dayMaxEventRows:r,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:t.forPrint})})))))})))},t.prototype.prepareHits=function(){this.rowPositions=new RE(this.rootEl,this.rowRefs.collect().map((function(e){return e.getCellEls()[0]})),!1,!0),this.colPositions=new RE(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)},t.prototype.queryHit=function(e,t){var n=this.colPositions,r=this.rowPositions,o=n.leftToIndex(e),i=r.topToIndex(t);if(null!=i&&null!=o){var a=this.props.cells[i][o];return{dateProfile:this.props.dateProfile,dateSpan:oi({range:this.getCellRange(i,o),allDay:!0},a.extraDateSpan),dayEl:this.getCellEl(i,o),rect:{left:n.lefts[o],right:n.rights[o],top:r.tops[i],bottom:r.bottoms[i]},layer:0}}return null},t.prototype.getCellEl=function(e,t){return this.rowRefs.currentMap[e].getCellEls()[t]},t.prototype.getCellRange=function(e,t){var n=this.props.cells[e][t].date;return{start:n,end:eC(n,1)}},t}(WE);function SI(e){return e.eventRange.def.allDay}var EI=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.forceDayIfListItem=!0,t}return ri(t,e),t.prototype.sliceRange=function(e,t){return t.sliceRange(e)},t}(CO),TI=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.slicer=new EI,t.tableRef=Tx(),t}return ri(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return Sx(CI,oi({ref:this.tableRef},this.slicer.sliceProps(e,e.dateProfile,e.nextDayThreshold,t,e.dayTableModel),{dateProfile:e.dateProfile,cells:e.dayTableModel.cells,colGroupNode:e.colGroupNode,tableMinWidth:e.tableMinWidth,renderRowIntro:e.renderRowIntro,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.showWeekNumbers,expandRows:e.expandRows,headerAlignElRef:e.headerAlignElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:e.forPrint}))},t}(WE);function OI(e,t){var n=new kO(e.renderRange,t);return new xO(n,/year|month|week/.test(e.currentRangeUnit))}const II=YE({initialView:"dayGridMonth",views:{dayGrid:{component:function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildDayTableModel=NC(OI),t.headerRef=Tx(),t.tableRef=Tx(),t}return ri(t,e),t.prototype.render=function(){var e=this,t=this.context,n=t.options,r=t.dateProfileGenerator,o=this.props,i=this.buildDayTableModel(o.dateProfile,r),a=n.dayHeaders&&Sx(_O,{ref:this.headerRef,dateProfile:o.dateProfile,dates:i.headerDates,datesRepDistinctDays:1===i.rowCnt}),s=function(t){return Sx(TI,{ref:e.tableRef,dateProfile:o.dateProfile,dayTableModel:i,businessHours:o.businessHours,dateSelection:o.dateSelection,eventStore:o.eventStore,eventUiBases:o.eventUiBases,eventSelection:o.eventSelection,eventDrag:o.eventDrag,eventResize:o.eventResize,nextDayThreshold:n.nextDayThreshold,colGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,dayMaxEvents:n.dayMaxEvents,dayMaxEventRows:n.dayMaxEventRows,showWeekNumbers:n.weekNumbers,expandRows:!o.isHeightAuto,headerAlignElRef:e.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:o.forPrint})};return n.dayMinWidth?this.renderHScrollLayout(a,s,i.colCnt,n.dayMinWidth):this.renderSimpleLayout(a,s)},t}(iI),dateProfileGeneratorClass:function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ri(t,e),t.prototype.buildRenderRange=function(t,n,r){var o,i=this.props.dateEnv,a=e.prototype.buildRenderRange.call(this,t,n,r),s=a.start,l=a.end;(/^(year|month)$/.test(n)&&(s=i.startOfWeek(s),(o=i.startOfWeek(l)).valueOf()!==l.valueOf()&&(l=Xx(o,1))),this.props.monthMode&&this.props.fixedWeekCount)&&(l=Xx(l,6-Math.ceil(nC(s,l)/7)));return{start:s,end:l}},t}(dT)},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},monthMode:!0,fixedWeekCount:!0}}});function AI(e,t,n){return tl.c9.fromObject({zone:t,locale:n,year:e[0],month:e[1]+1,day:e[2],hour:e[3],minute:e[4],second:e[5],millisecond:e[6]})}function DI(e){var t=e.match(/^(.*?)\{(.*)\}(.*)$/);if(t){var n=DI(t[2]);return{head:t[1],middle:n,tail:t[3],whole:t[1]+n.whole+t[3]}}
2return{head:null,middle:null,tail:null,whole:e}}function PI(e,t,n,r){if(e.middle){var o=t(e.head),i=PI(e.middle,t,n,r),a=t(e.tail),s=n(e.head),l=PI(e.middle,t,n,r),c=n(e.tail);if(o===s&&a===c)return o+(i===l?i:i+r+l)+a}var u=t(e.whole),d=n(e.whole);return u===d?u:u+r+d}const MI=YE({cmdFormatter:function(e,t){var n=DI(e);if(t.end){var r=AI(t.start.array,t.timeZone,t.localeCodes[0]),o=AI(t.end.array,t.timeZone,t.localeCodes[0]);return PI(n,r.toFormat.bind(r),o.toFormat.bind(o),t.defaultSeparator)}return AI(t.date.array,t.timeZone,t.localeCodes[0]).toFormat(n.whole)},namedTimeZonedImpl:function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ri(t,e),t.prototype.offsetForArray=function(e){return AI(e,this.timeZoneName).offset},t.prototype.timestampToArray=function(e){return[(t=tl.c9.fromMillis(e,{zone:this.timeZoneName})).year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond];var t},t}(KT)});var $I=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ri(t,e),t}(jE);$I.prototype.classes={root:"fc-theme-bootstrap",table:"table-bordered",tableCellShaded:"table-active",buttonGroup:"btn-group",button:"btn btn-primary",buttonActive:"active",popover:"popover",popoverHeader:"popover-header",popoverContent:"popover-body"},$I.prototype.baseIconClass="fa",$I.prototype.iconClasses={close:"fa-times",prev:"fa-chevron-left",next:"fa-chevron-right",prevYear:"fa-angle-double-left",nextYear:"fa-angle-double-right"},$I.prototype.rtlIconClasses={prev:"fa-chevron-right",next:"fa-chevron-left",prevYear:"fa-angle-double-right",nextYear:"fa-angle-double-left"},$I.prototype.iconOverrideOption="bootstrapFontAwesome",$I.prototype.iconOverrideCustomButtonOption="bootstrapFontAwesome",$I.prototype.iconOverridePrefix="fa-";const NI=YE({themeClasses:{bootstrap:$I}}),RI="#806452",LI="#495057",jI="#3fb618",FI="#ff7518",BI="#ff0039",qI="#373a3c";var HI,zI,UI;function VI(e){return function(e){if(Array.isArray(e))return YI(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||WI(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function GI(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=WI(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function WI(e,t){if(e){if("string"==typeof e)return YI(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?YI(e,t):void 0}}function YI(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function KI(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var QI=Ca({components:{JournalEntry:ah,EventEntry:rh,ChastityPeriod:fh,Card:wp,Status:tc,Form:Ra,FormGroup:Za,RangeButtons:My,Loading:us},data:function(){return{chastityPeriods:[],events:[],journal:[],entries:[],own:this.$user&&this.$user.username===this.$parent.member.username,periodLimit:this.$user&&this.$parent.member.periodLimit?this.$parent.member.periodLimit:168,minPeriodLimit:this.$user&&this.$parent.member.currentChastityPeriod?this.$parent.member.periodLimit:168,periodLimitEdit:!1,periodLimitRemoving:!1,loaded:!1}},mounted:function(){var e=this;this.$apollo.query({query:ma(HI||(HI=KI(['\n query User($username: String!) {\n user (username: $username) {\n chastityPeriods {\n id\n start\n earliestEnd\n prematureEnd\n terminationReason\n end\n active\n createdAt\n permanent\n terminatable\n archival\n user { username }\n changes {\n id\n startAt\n delta\n description\n blocksTermination\n fromUser {\n username\n avatar { id links(size: "avatar") }\n }\n gameRound {\n id\n game { name icon }\n }\n releaseCondition\n createdAt\n permanent\n }\n rules\n }\n events {\n id\n doneAt\n company\n type\n orgasm\n custom\n gameRound {\n id\n game { name icon }\n }\n createdAt\n user { username }\n }\n journal: postsInCategory(category: "journal") {\n id\n createdAt\n description\n }\n }\n }\n ']))),variables:{username:this.$parent.member.username}}).then((function(t){e.chastityPeriods=t.data.user.chastityPeriods;var n,r=GI(e.chastityPeriods);try{for(r.s();!(n=r.n()).done;){var o=n.value;o.events=[],o.journal=[]}}catch(e){r.e(e)}finally{r.f()}e.events=t.data.user.events,e.journal=t.data.user.journal,e.entries=e.mergeEntries(e.chastityPeriods,e.events,e.journal),e.loaded=!0}));var t=Xo()("body"),n=Xo()(document);t.on("click",(function(e){Xo()(e.target).parents(".fc-event-container").length||(Xo()(".fc-event").popover("hide"),Xo()(".popover").remove())}
2)),n.on("scroll resize",(function(t){var n=e.$refs.calendarColumn,r=Xo()(n).position().top,o=Xo()(document).scrollTop();n.style.paddingTop=window.innerWidth>960&&o>r+24?o-r+24+"px":"0"}))},methods:{buildCalendar:function(e){this.calendar&&this.calendar.destroy();this.calendar=new oI(this.$refs.calendar,{plugins:[II,MI,NI],initialView:"dayGridMonth",themeSystem:"bootstrap",bootstrapFontAwesome:{close:"fa-times fal",prev:"fa-chevron-left fal",next:"fa-chevron-right fal",prevYear:"fa-angle-double-left fal",nextYear:"fa-angle-double-right fal"},eventTimeFormat:"H:mm",nowIndicator:!0,firstDay:1,locale:this.$i18n.locale.replace("_","-"),events:e,eventContent:function(e){return{html:e.event.title}}}),this.calendar.render()},formatPeriod:function(e,t){var n=this.$normaliseLocale(Jo.get("language")||"en");e=tl.c9.fromSeconds(e).setLocale(n),t=tl.c9.fromSeconds(t).setLocale(n);var r=e.toFormat("LLLL"),o=e.toFormat("yyyy"),i=t.toFormat("LLLL"),a=t.toFormat("yyyy");return o!==a?"".concat(r," ").concat(o," â ").concat(i," ").concat(a):r!==i?"".concat(r," â ").concat(i," ").concat(a):"".concat(r," ").concat(o)},cardFolded:function(e,t){if(!t){var n,r=GI(this.$refs.periods);try{for(r.s();!(n=r.n()).done;){var o=n.value;o!==e&&o.fold()}}catch(e){r.e(e)}finally{r.f()}this.calendar.gotoDate(this.calendar.getEventById(e.$el.dataset.id).start)}},changePeriodLimit:function(e){this.$apollo.mutate({mutation:ma(zI||(zI=KI(["\n mutation ChangePeriodLimit($limit: Int) {\n changePeriodLimit(limit: $limit)\n }\n "]))),variables:{limit:parseInt(this.periodLimit)}}).then((function(t){e.success(),window.location.reload()})).catch((function(t){e.validate(t)})).catch((function(t){e.error()}))},removePeriodLimit:function(){this.periodLimitRemoving=!0,this.$apollo.mutate({mutation:ma(UI||(UI=KI(["\n mutation ChangePeriodLimit($limit: Int) {\n changePeriodLimit(limit: $limit)\n }\n "]))),variables:{limit:null}}).then((function(e){window.location.reload()})).catch((function(e){console.error(e)}))},duration:function(e){return this.$duration(tl.dw.fromObject({hours:e}))},mergeEntries:function(e,t,n){var r,o=[],i=GI(t);try{for(i.s();!(r=i.n()).done;){var a,s=r.value,l=!1,c=GI(e);try{for(c.s();!(a=c.n()).done;){var u=a.value;if(s.doneAt>=u.start&&s.doneAt<=u.earliestEnd){u.events.push(s),l=!0;break}}}catch(e){c.e(e)}finally{c.f()}l||o.push(s)}}catch(e){i.e(e)}finally{i.f()}var d,f=[],p=GI(n);try{for(p.s();!(d=p.n()).done;){var h,m=d.value,v=!1,g=GI(e);try{for(g.s();!(h=g.n()).done;){var y=h.value;if(m.createdAt>=y.start&&m.createdAt<=y.earliestEnd){y.journal.push(m),v=!0;break}}}catch(e){g.e(e)}finally{g.f()}v||f.push(m)}}catch(e){p.e(e)}finally{p.f()}return[].concat(VI(e),o,f).sort((function(e,t){return(t.start||t.doneAt||t.createdAt)-(e.start||e.doneAt||e.createdAt)}))},setdate:function(e){this.calendar.gotoDate(this.calendar.getEventById(e).start)}},watch:{chastityPeriods:function(e){var t=this,n=[];ba(e,(function(e){var r=tl.c9.fromSeconds(e.start),o=e.prematureEnd?tl.c9.fromSeconds(e.earliestEnd):e.end?tl.c9.fromSeconds(e.end):null,i=e.earliestEnd?tl.c9.fromSeconds(e.earliestEnd):null,a=o?o.diff(r):null,s=i?i.diff(r):null,l=tl.c9.local(),c=o||tl.c9.fromMillis(Math.max(i,l));n.push({id:e.id,title:'<span class="fal fa-lock fa-fw"></span> '+(e.permanent?t.$t("calendar.change.permanent"):a?t.$duration(a):s?t.$duration(s)+"+":"...")+(e.archival?'<span class="fal fa-archive fa-fw"></span> ':""),start:r.toISO(),end:c.toISO(),color:e.prematureEnd?BI:RI,object:e,archival:e.archival,icon:"lock"}),ba(e.changes,(function(r){n.push({id:e.id+"|"+r.id,title:'<span class="fal fa-'.concat(r.gameRound?"gamepad":"pencil",' fa-fw"></span> ')+(r.blocksTermination?'<span class="fal fa-hand-paper fa-fw"></span> ':"")+(r.delta>0?"+":"")+(r.permanent?"â":t.$duration(tl.dw.fromObject({hours:r.delta}))),start:tl.c9.fromSeconds(r.createdAt).toISO(),color:r.delta>0?FI:r.blocksTermination?BI:jI,object:r,icon:r.gameRound?"gamepad":"pencil"})})),e.prematureEnd&&n.push({id:e.id+"|prematureEnd",title:'<span class="fal fa-ban fa-fw"></span> '+t.$t("calendar.terminated"),start:tl.c9.fromSeconds(e.prematureEnd).toISO(),color:BI,icon:"ban"})})),ba(this.events,(function(e){e.custom?n.push({id:"event-"+e.id,title:'<span class="fal fa-raindrops fa-fw"></span> '.concat(e.custom,","),description:"".concat(e.custom),start:tl.c9.fromSeconds(e.doneAt).toISO(),color:qI,object:e,icon:"raindrops"}):n.push({id:"event-"+e.id,title:'<span class="fal fa-raindrops fa-fw"></span> '.concat(t.$t("calendar.event.orgasm."+e.orgasm)),description:" ⢠".concat(t.$t("calendar.event.company."+e.company),"<br/>\n ⢠").concat(t.$t("calendar.event.type."+e.type),"<br/>\n ⢠").concat(t.$t("calendar.event.orgasm."+e.orgasm),"\n ").concat(e.gameRound?'<br/><a href="/games/'.concat(e.gameRound.game.name,"/").concat(e.gameRound.id,'"><span class="fal fa-').concat(e.gameRound.game.icon,'"></span> ').concat(t.$t("games."+e.gameRound.game.name+".name"),"</a>"):""),start:tl.c9.fromSeconds(e.doneAt).toISO(),color:qI,object:e,icon:"raindrops"})})),ba(this.journal,(function(e){n.push({id:"post-"+e.id,title:'<span class="fal fa-pen-nib fa-fw"></span> '.concat(e.description,"â¦"),description:'<a href="/post/'.concat(e.id,'"><span class="fal fa-pen-nib"></span> ').concat(e.description,"â¦</a>"),start:tl.c9.fromSeconds(e.createdAt).toISO(),color:LI,object:e,icon:"pen-nib"})})),this.buildCalendar(n)}}},rk,[],!1,null,"cf18a6c6",null);QI.options.__file="components/pages/Member/Calendar.vue";const JI=QI.exports;var ZI,XI=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("h2",{staticClass:"mb-4"},[n("router-link",{attrs:{to:{name:"memberCalendar"}}},[n("Icon",{attrs:{v:"calendar"}}),e._v("\n "+e._s(e.$t("member.calendar"))+"\n ")],1),e._v("\n »\n "),n("Icon",{attrs:{v:"key"}}),e._v("\n "+e._s(e.$t("calendar."+e.action))+"\n ")],1),e._v(" "),n("Form",{ref:"form",on:{submit:e.submit},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"d-flex flex-column flex-lg-row"},[n("div",[n("FormGroup",{attrs:{error:t.errors.startDate}},[n("label",[e._v(e._s(e.$t("calendar.add.start"))+":")]),e._v(" "),n("DateTimePicker",{attrs:{withTime:"",minDate:"start"===e.action?e.startDate.minus({months:9}):e.startDate,maxDate:e.startDate},model:{value:e.startDate,callback:function(t){e.startDate=t},expression:"startDate"}})],1)],1),e._v(" "),n("div",{staticClass:"flex-grow-1 mx-4"},[n("FormGroup",{attrs:{error:t.errors.minDuration}},[n("label",[e._v(e._s(e.$t("calendar.add.duration"))+":")]),e._v(" "),n("RangeButtons",{attrs:{min:0,max:87660,long:""},model:{value:e.minDuration,callback:function(t){e.minDuration=t},expression:"minDuration"}})],1),e._v(" "),n("FormGroup",{attrs:{error:t.errors.description,classes:"pt-3"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("label",[e._v(e._s(e.$t("calendar.change.description"))+":")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.description,expression:"description"}],class:t.controlClass,attrs:{maxlength:"255"},domProps:{value:e.description},on:{input:function(t){t.target.composing||(e.description=t.target.value)}}})]}}],null,!0)}),e._v(" "),n("FormGroup",{attrs:{error:t.errors.releaseCondition,classes:"pt-3",helper:e.$t("calendar.change.releaseCondition.helper")},scopedSlots:e._u([{key:"default",fn:function(t){return[n("label",[e._v(e._s(e.$t("calendar.change.releaseCondition"))+":")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.releaseCondition,expression:"releaseCondition"}],class:t.controlClass,attrs:{maxlength:"255"},domProps:{value:e.releaseCondition},on:{input:function(t){t.target.composing||(e.releaseCondition=t.target.value)}}})]}}],null,!0)}),e._v(" "),n("FormGroup",{directives:[{name:"show",rawName:"v-show",value:!e.$parent.member.periodLimit,expression:"!$parent.member.periodLimit"}],attrs:{error:t.errors.permanent,classes:"pt-3"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Checkbox",{model:{value:e.permanent,callback:function(t){e.permanent=t},expression:"permanent"}},[n("span",{staticClass:"text-danger",domProps:{innerHTML:e._s(e.$t("calendar.change.permanent"))}})])]}}],null,!0)}),e._v(" "),"start"===e.action?n("div",[n("p",[n("strong",[e._v(e._s(e.$t("calendar.period.rules"))+":")])]),e._v(" "),e._l(e.rules,(function(r,o){return n("FormGroup",{key:o,staticClass:"mb-1",attrs:{error:t.errors.rules?t.errors.rules[o]:null},scopedSlots:e._u([{key:"default",fn:function(t){return[n("Checkbox",{attrs:{toggle:"",disabled:"medical"===o},model:{value:e.rules[o],callback:function(t){e.$set(e.rules,o,t)},expression:"rules[name]"}},[e._v("\n "+e._s(e.$t("calendar.period.rules."+o+"."+(e.rules[o]?"yes":"no")))+"\n ")])]}}],null,!0)})})),e._v(" "),n("FormGroup",{attrs:{error:t.errors.rulesCustom},scopedSlots:e._u([{key:"default",fn:function(t){return[n("label",[e._v(e._s(e.$t("calendar.period.rules.custom"))+":")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.rulesCustom,expression:"rulesCustom"}],class:t.controlClass,attrs:{maxlength:"255"},domProps:{value:e.rulesCustom},on:{input:function(t){t.target.composing||(e.rulesCustom=t.target.value)}}})]}}],null,!0)})],2):e._e()],1),e._v(" "),n("div",[n("label",[e._v(e._s(e.$t("calendar.end.earliest"))+":")]),e._v(" "),n("DateTimePicker",{attrs:{withTime:"",minDate:e.startDate,maxDate:e.startDate.plus({years:10})},on:{input:e.endDateChanged},model:{value:e.endDate,callback:function(t){e.endDate=t},expression:"endDate"}})],1)]),e._v(" "),n("div",{staticClass:"form-group my-4"},[n("button",{staticClass:"btn btn-primary btn-block"},[n("Icon",{attrs:{v:"key"}}),e._v("\n "+e._s(e.$t("calendar."+e.action))+"\n ")],1)])]}}])})],1)};XI._withStripped=!0;const eA={components:{Form:Ra,FormGroup:Za,RangeButtons:My,Checkbox:ns,DateTimePicker:Ab},data:function(){var e=this.$parent.member.currentChastityPeriod?tl.c9.fromMillis(Math.max(tl.c9.fromSeconds(this.$parent.member.currentChastityPeriod.earliestEnd),tl.c9.local())):tl.c9.local();return{minDuration:168,action:this.$parent.member.currentChastityPeriod?"add":"start",startDate:e,endDate:e,description:"",releaseCondition:"",permanent:!1,rules:{wank:!1,cum:!1,sleep:!1,locker:!1,medical:!0},rulesCustom:""}},mounted:function(){this.$user&&(this.$parent.member.username===this.$user.username||this.$parent.member.isDominatedByYou)||this.$router.push({name:"memberCalendar"})},methods:{submit:function(e){var t=this,n=function(n){var r,o;
2t.$apollo.mutate({mutation:ma(ZI||(r=["\n mutation AddChastity($username: String!, $startDate: DateTime!, $hours: Int!, $description: String, $releaseCondition: String, $permanent: Boolean!, $rulesWank: Boolean!, $rulesCum: Boolean!, $rulesSleep: Boolean!, $rulesLocker: Boolean!, $rulesCustom: String!) {\n period: addChastity(username: $username, startDate: $startDate, hours: $hours, description: $description, releaseCondition: $releaseCondition, permanent: $permanent, rulesWank: $rulesWank, rulesCum: $rulesCum, rulesSleep: $rulesSleep, rulesLocker: $rulesLocker, rulesCustom: $rulesCustom) {\n start earliestEnd terminatable\n }\n }\n "],o||(o=r.slice(0)),ZI=Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(o)}})))),variables:{username:t.$parent.member.username,startDate:parseInt(t.startDate.toSeconds()),hours:t.minDuration,description:t.description||null,releaseCondition:t.releaseCondition||null,permanent:t.permanent,rulesWank:t.rules.wank,rulesCum:t.rules.cum,rulesSleep:t.rules.sleep,rulesLocker:t.rules.locker,rulesCustom:t.rulesCustom}}).then((function(n){e.success(),t.$router.push({name:"memberCalendar"}),t.$parent.member.currentChastityPeriod=n.data.period,t.$parent.member.username===t.$user.username&&(t.$user.currentChastityPeriod=n.data.period,t.$eventHub.$emit("refreshUser"))})).catch((function(t){e.validate(t)})).catch((function(t){e.error()}))};this.permanent?this.$confirm(this.$t("calendar.change.permanent.confirm"),"danger").then((function(e){n()})).catch((function(t){return e.cancel()})):n()},endDateChanged:function(e){this.minDuration=Math.round(e.diff(this.startDate).as("hours"))}},watch:{minDuration:function(e){this.endDate=this.startDate.plus({hours:e})},startDate:function(){this.endDate=this.startDate.plus({hours:this.minDuration})}}};var tA=Ca(eA,XI,[],!1,null,null,null);tA.options.__file="components/pages/Calendar/Add.vue";const nA=tA.exports;var rA,oA=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("h2",{staticClass:"mb-4"},[n("router-link",{attrs:{to:{name:"memberCalendar"}}},[n("Icon",{attrs:{v:"calendar"}}),e._v("\n "+e._s(e.$t("member.calendar"))+"\n ")],1),e._v("\n »\n "),n("Icon",{attrs:{v:"calendar-minus"}}),e._v("\n "+e._s(e.$t("calendar.reward"))+"\n ")],1),e._v(" "),n("Form",{ref:"form",on:{submit:e.submit},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"d-flex flex-column flex-lg-row"},[n("div",{staticClass:"flex-grow-1 mx-4"},[n("FormGroup",{attrs:{error:t.errors.reduction}},[n("label",[e._v(e._s(e.$t("calendar.reward.duration"))+":")]),e._v(" "),n("RangeButtons",{attrs:{min:e.maxReduction,max:0,long:""},model:{value:e.reduction,callback:function(t){e.reduction=t},expression:"reduction"}})],1),e._v(" "),n("FormGroup",{attrs:{error:t.errors.description,classes:"pt-3"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("label",[e._v(e._s(e.$t("calendar.change.description"))+":")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.description,expression:"description"}],class:t.controlClass,attrs:{maxlength:"255"},domProps:{value:e.description},on:{input:function(t){t.target.composing||(e.description=t.target.value)}}})]}}],null,!0)})],1),e._v(" "),n("div",[n("label",[e._v(e._s(e.$t("calendar.end.earliest"))+":")]),e._v(" "),n("DateTimePicker",{attrs:{withTime:"",minDate:e.minDate,maxDate:e.maxDate},on:{input:e.endDateChanged},model:{value:e.endDate,callback:function(t){e.endDate=t},expression:"endDate"}})],1)]),e._v(" "),n("div",{staticClass:"form-group my-4"},[n("button",{staticClass:"btn btn-primary btn-block"},[n("Icon",{attrs:{v:"calendar-minus"}}),e._v("\n "+e._s(e.$t("calendar.reward"))+"\n ")],1)])]}}])})],1)};oA._withStripped=!0;const iA={components:{Form:Ra,FormGroup:Za,RangeButtons:My,Checkbox:ns,DateTimePicker:Ab},data:function(){var e=tl.c9.local(),t=tl.c9.fromSeconds(this.$parent.member.currentChastityPeriod.earliestEnd);return console.log(t.diff(tl.dw.fromObject({hours:24}))),{reduction:-24,minDate:e,maxDate:t,endDate:t.minus(tl.dw.fromObject({hours:24})),maxReduction:Math.ceil(e.diff(t).as("hours")),description:"",releaseCondition:"",permanent:!1}},mounted:function(){this.$user&&this.$parent.member.isDominatedByYou&&this.$parent.member.currentChastityPeriod&&!this.$parent.member.currentChastityPeriod.terminatable||this.$router.push({name:"memberCalendar"})},methods:{submit:function(e){var t,n,r=this;this.$apollo.mutate({mutation:ma(rA||(t=["\n mutation AddReward($username: String!, $hours: Int!, $description: String) {\n period: addReward(username: $username, hours: $hours, description: $description) {\n start earliestEnd terminatable\n }\n }\n "],n||(n=t.slice(0)),rA=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}})))),variables:{username:this.$parent.member.username,hours:this.reduction,description:this.description||null}}).then((function(t){e.success(),r.$router.push({name:"memberCalendar"}),r.$parent.member.currentChastityPeriod=t.data.period,r.$parent.member.username===r.$user.username&&(r.$user.currentChastityPeriod=t.data.period,r.$eventHub.$emit("refreshUser"))})).catch((function(t){e.validate(t)}
2)).catch((function(t){e.error()}))},endDateChanged:function(e){this.reduction=Math.round(e.diff(this.maxDate).as("hours"))}},watch:{reduction:function(e){this.endDate=this.maxDate.plus({hours:e})}}};var aA=Ca(iA,oA,[],!1,null,null,null);aA.options.__file="components/pages/Calendar/Reward.vue";const sA=aA.exports;var lA,cA=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("h2",{staticClass:"mb-4"},[n("router-link",{attrs:{to:{name:"memberCalendar"}}},[n("Icon",{attrs:{v:"calendar"}}),e._v("\n "+e._s(e.$t("member.calendar"))+"\n ")],1),e._v("\n »\n "),n("Icon",{attrs:{v:"archive"}}),e._v("\n "+e._s(e.$t("calendar.period.archival.add"))+"\n ")],1),e._v(" "),n("div",{staticClass:"alert alert-info"},[n("p",[n("Icon",{attrs:{v:"info-circle"}}),e._v("\n "+e._s(e.$t("calendar.period.archival.add.info"))+"\n ")],1)]),e._v(" "),n("Form",{ref:"form",on:{submit:e.submit},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"row"},[n("div",{staticClass:"col-lg-6 offset-lg-3"},[n("FormGroup",{attrs:{error:t.errors.startDate}},[n("DateTimePicker",{attrs:{withTime:"",range:"",maxDate:e.maxDate},model:{value:e.period,callback:function(t){e.period=t},expression:"period"}})],1),e._v(" "),n("div",{staticClass:"mt-5"},[n("p",[n("strong",[e._v(e._s(e.$t("calendar.period.start"))+":")]),e._v("\n "+e._s(e.start?e.$date(e.start.toSeconds()):"â")+"\n ")]),e._v(" "),n("p",[n("strong",[e._v(e._s(e.$t("calendar.period.end"))+":")]),e._v("\n "+e._s(e.end?e.$date(e.end.toSeconds()):"â")+"\n ")])]),e._v(" "),n("FormGroup",{attrs:{error:t.errors.description,classes:"pt-3"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("label",[e._v(e._s(e.$t("calendar.change.description"))+":")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.description,expression:"description"}],class:t.controlClass,attrs:{maxlength:"255"},domProps:{value:e.description},on:{input:function(t){t.target.composing||(e.description=t.target.value)}}})]}}],null,!0)}),e._v(" "),n("div",{staticClass:"form-group my-4"},[n("button",{staticClass:"btn btn-primary btn-block",attrs:{disabled:!e.start||!e.end}},[n("Icon",{attrs:{v:"key"}}),e._v("\n "+e._s(e.$t("calendar.period.archival.add"))+"\n ")],1)])],1)])]}}])})],1)};function uA(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return dA(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?dA(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function dA(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}cA._withStripped=!0;const fA={components:{Form:Ra,FormGroup:Za,DateTimePicker:Ab},data:function(){return{period:null,description:"",maxDate:tl.c9.local(),start:null,end:null}},mounted:function(){this.$user&&(this.$parent.member.username===this.$user.username||this.$parent.member.isDominatedByYou)||this.$router.push({name:"memberCalendar"})},methods:{submit:function(e){var t,n,r=this;this.start&&this.end&&this.$apollo.mutate({mutation:ma(lA||(t=["\n mutation AddArchivalChastity($startDate: DateTime!, $endDate: DateTime!, $description: String) {\n period: addArchivalChastity(startDate: $
2startDate, endDate: $endDate, description: $description) { id }\n }\n "],n||(n=t.slice(0)),lA=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}})))),variables:{startDate:parseInt(this.start.toSeconds()),endDate:parseInt(this.end.toSeconds()),description:this.description||null}}).then((function(t){e.success(),r.$router.push({name:"memberCalendar"})})).catch((function(t){e.validate(t)})).catch((function(t){e.error()}))}},watch:{period:function(e){var t=uA(e,2);this.start=t[0],this.end=t[1]}}};var pA=Ca(fA,cA,[],!1,null,null,null);pA.options.__file="components/pages/Calendar/AddArchival.vue";const hA=pA.exports;var mA,vA,gA=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("h2",{staticClass:"mb-4"},[n("router-link",{attrs:{to:{name:"memberCalendar"}}},[n("Icon",{attrs:{v:"calendar"}}),e._v("\n "+e._s(e.$t("member.calendar"))+"\n ")],1),e._v("\n »\n "),n("Icon",{attrs:{v:"raindrops"}}),e._v("\n "+e._s(e.$t("calendar.event.add"))+"\n ")],1),e._v(" "),n("Form",{directives:[{name:"show",rawName:"v-show",value:!e.custom,expression:"!custom"}],on:{submit:e.submit},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"row"},[n("div",{staticClass:"col col-xl-8 offset-xl-2"},[n("p",[n("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.custom=!0}}},[n("Icon",{attrs:{v:"plus-circle"}}),e._v("\n "+e._s(e.$t("calendar.event.add.custom"))+"\n ")],1)]),e._v(" "),n("div",{staticClass:"row mb-4"},[n("div",{staticClass:"col-12 col-lg-6 offset-lg-3"},[n("FormGroup",{attrs:{error:t.errors.doneAt}},[n("DateTimePicker",{attrs:{withTime:"",maxDate:e.now},model:{value:e.doneAt,callback:function(t){e.doneAt=t},expression:"doneAt"}})],1)],1)]),e._v(" "),n("FormGroup",{attrs:{error:t.errors.company},scopedSlots:e._u([{key:"default",fn:function(t){return[n("RadioButtonGroup",{attrs:{options:[0,1,2],block:""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.$t("calendar.event.company."+t.option))+"\n ")]}}],null,!0),model:{value:e.company,callback:function(t){e.company=t},expression:"company"}})]}}],null,!0)}),e._v(" "),n("FormGroup",{attrs:{error:t.errors.type},scopedSlots:e._u([{key:"default",fn:function(t){return[n("RadioButtonGroup",{attrs:{options:[0,1,2,3,4,5],block:""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.$t("calendar.event.type."+t.option))+"\n ")]}}],null,!0),model:{value:e.type,callback:function(t){e.type=t},expression:"type"}})]}}],null,!0)}),e._v(" "),n("FormGroup",{attrs:{error:t.errors.orgasm},scopedSlots:e._u([{key:"default",fn:function(t){return[n("RadioButtonGroup",{attrs:{options:[0,1,2,3],block:""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.$t("calendar.event.orgasm."+t.option))+"\n ")]}}],null,!0),model:{value:e.orgasm,callback:function(t){e.orgasm=t},expression:"orgasm"}})]}}],null,!0)}),e._v(" "),n("div",{staticClass:"form-group my-4"},[n("button",{staticClass:"btn btn-primary btn-block"},[n("Icon",{attrs:{v:"raindrops"}}),e._v("\n "+e._s(e.$t("calendar.event.add"))+"\n ")],1)])],1)])]}}])}),e._v(" "),n("Form",{directives:[{name:"show",rawName:"v-show",value:e.custom,expression:"custom"}],on:{submit:e.submitCustom},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"row"},[n("div",{staticClass:"col col-xl-8 offset-xl-2"},[n("p",[n("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.custom=!1}}},[n("Icon",{attrs:{v:"plus-circle"}}),e._v("\n "+e._s(e.$t("calendar.event.add.regular"))+"\n ")],1)]),e._v(" "),n("div",{staticClass:"row mb-4"},[n("div",{staticClass:"col-12 col-lg-6 offset-lg-3"},[n("FormGroup",{attrs:{error:t.errors.doneAt}},[n("DateTimePicker",{attrs:{withTime:"",maxDate:e.now},model:{value:e.doneAt,callback:function(t){e.doneAt=t},expression:"doneAt"}})],1)],1)]),e._v(" "),n("FormGroup",{attrs:{error:t.errors.description},scopedSlots:e._u([{key:"default",fn:function(t){return[n("label",[e._v(e._s(e.$t("calendar.event.custom"))+":")]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.description,expression:"description"}],class:t.controlClass,attrs:{maxlength:"128"},domProps:{value:e.description},on:{input:function(t){t.target.composing||(e.description=t.target.value)}}})]}}],null,!0)}),e._v(" "),n("div",{staticClass:"form-group my-4"},[n("button",{staticClass:"btn btn-primary btn-block"},[n("Icon",{attrs:{v:"raindrops"}}),e._v("\n "+e._s(e.$t("calendar.event.add"))+"\n ")],1)])],1)])]}}])})],1)};function yA(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}gA._withStripped=!0;var bA=Ca({components:{Form:Ra,FormGroup:Za,Range:Fg,RadioButtonGroup:Nm,DateTimePicker:Ab},data:function(){return{doneAt:tl.c9.local(),now:tl.c9.local(),company:0,type:0,orgasm:0,description:"",custom:!1}},mounted:function(){this.$user&&this.$parent.member.username===this.$user.username||this.$router.push({name:"memberCalendar"})},methods:{submit:function(e){var t=this;this.$apollo.mutate({mutation:ma(mA||(mA=yA(["\n mutation AddEvent($doneAt: DateTime!, $company: Int!, $type: Int!, $orgasm: Int!
2) {\n period: addEvent(doneAt: $doneAt, company: $company, type: $type, orgasm: $orgasm) {\n id\n }\n }\n "]))),variables:{doneAt:parseInt(this.doneAt.toSeconds()),company:this.company,type:this.type,orgasm:this.orgasm}}).then((function(n){e.success(),t.$router.push({name:"memberCalendar"})})).catch((function(t){e.validate(t)})).catch((function(t){e.error()}))},submitCustom:function(e){var t=this;this.$apollo.mutate({mutation:ma(vA||(vA=yA(["\n mutation AddCustomEvent($doneAt: DateTime!, $description: String!) {\n period: addCustomEvent(doneAt: $doneAt, description: $description) {\n id\n }\n }\n "]))),variables:{doneAt:parseInt(this.doneAt.toSeconds()),description:this.description}}).then((function(n){e.success(),t.$router.push({name:"memberCalendar"})})).catch((function(t){e.validate(t)})).catch((function(t){e.error()}))}}},gA,[],!1,null,null,null);bA.options.__file="components/pages/Calendar/Event.vue";const _A=bA.exports;var wA,kA=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-xl-6 offset-xl-3"},[n("h2",{staticClass:"mb-4"},[n("router-link",{attrs:{to:{name:"memberCalendar"}}},[n("Icon",{attrs:{v:"calendar"}}),e._v("\n "+e._s(e.$t("member.calendar"))+"\n ")],1),e._v("\n »\n "),n("Icon",{attrs:{v:"key"}}),e._v("\n "+e._s(e.$t("calendar.end"))+"\n ")],1),e._v(" "),n("Form",{ref:"form",on:{submit:e.submit},scopedSlots:e._u([{key:"default",fn:function(t){return[n("p",[e._v("\n "+e._s(e.$t("chastity.end.confirm"))+"\n ")]),e._v(" "),n("div",{staticClass:"row mb-4"},[n("div",{staticClass:"col-12 col-lg-6 offset-lg-3"},[n("FormGroup",{attrs:{error:t.errors.finishedAt}},[n("DateTimePicker",{attrs:{withTime:"",minDate:e.minDate,maxDate:e.maxDate},model:{value:e.finishedAt,callback:function(t){e.finishedAt=t},expression:"finishedAt"}})],1)],1)]),e._v(" "),n("div",{staticClass:"form-group"},[n("button",{staticClass:"btn btn-primary btn-block"},[n("Icon",{attrs:{v:"key"}}),e._v("\n "+e._s(e.$t("calendar.end"))+"\n ")],1)])]}}])})],1)])};kA._withStripped=!0;const xA={components:{Form:Ra,FormGroup:Za,DateTimePicker:Ab},data:function(){return{finishedAt:tl.c9.local(),minDate:tl.c9.fromSeconds(this.$user.currentChastityPeriod.earliestEndReal),maxDate:tl.c9.local()}},mounted:function(){this.$user&&this.$parent.member.username===this.$user.username&&this.$user.currentChastityPeriod&&this.$user.currentChastityPeriod.terminatable||this.$router.push({name:"memberCalendar"})},methods:{submit:function(e){var t,n,r=this;this.$apollo.mutate({mutation:ma(wA||(t=["\n mutation EndChastity($finishedAt: DateTime!) {\n endChastity(finishedAt: $finishedAt)\n }\n "],n||(n=t.slice(0)),wA=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}})))),variables:{finishedAt:parseInt(this.finishedAt.toSeconds())}}).then((function(t){e.success(),r.$router.push({name:"memberCalendar"}),r.$user.currentChastityPeriod=null,r.$eventHub.$emit("refreshUser"),window.location.reload()})).catch((function(t){e.validate(t)})).catch((function(t){e.error()}))}}};var CA=Ca(xA,kA,[],!1,null,null,null);CA.options.__file="components/pages/Calendar/Unlock.vue";const SA=CA.exports;var EA,TA=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-xl-6 offset-xl-3"},[n("h2",{staticClass:"mb-4"},[n("router-link",{attrs:{to:{name:"memberCalendar"}}},[n("Icon",{attrs:{v:"calendar"}}),e._v("\n "+e._s(e.$t("member.calendar"))+"\n ")],1),e._v("\n »\n "),n("Icon",{attrs:{v:"ban"}}),e._v("\n "+e._s(e.$t("calendar.terminate"))+"\n ")],1),e._v(" "),n("Form",{ref:"form",on:{submit:e.submit},scopedSlots:e._u([{key:"default",fn:function(t){return[n("p",[e._v("\n "+e._s(e.$t("calendar.terminate.description"))+"\n ")]),e._v(" "),n("FormGroup",{attrs:{error:t.errors.reason},scopedSlots:e._u([{key:"default",fn:function(t){return[n("label",[e._v(e._s(e.$t("calendar.terminate.reason")))]),e._v(" "),n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.reason,expression:"reason"}],class:t.controlClass,attrs:{rows:"5",autofocus:""},domProps:{value:e.reason},on:{input:function(t){t.target.composing||(e.reason=t.target.value)}}})]}}],null,!0)}),e._v(" "),n("FormGroup",{attrs:{error:t.errors.finishedAt}},[n("DateTimePicker",{attrs:{withTime:"",minDate:e.minDate,maxDate:e.maxDate},model:{value:e.finishedAt,callback:function(t){e.finishedAt=t},expression:"finishedAt"}})],1),e._v(" "),n("div",{staticClass:"form-group"},[n("button",{staticClass:"btn btn-danger btn-block"},[n("Icon",{attrs:{v:"ban"}}),e._v("\n "+e._s(e.$t("calendar.terminate"))+"\n ")],1)])]}}])})],1)])};TA._withStripped=!0;const OA={components:{Form:Ra,FormGroup:Za,DateTimePicker:Ab},data:function(){return{reason:"",finishedAt:tl.c9.local(),minDate:tl.c9.fromSeconds(this.$user.currentChastityPeriod.start),maxDate:tl.c9.local()}},mounted:function(){this.$user&&this.$parent.member.username===this.$user.username&&this.$user.currentChastityPeriod&&!this.$user.currentChastityPeriod.terminatable||this.$router.push({name:"memberCalendar"})},methods:{submit:function(e){var t,n,r=this;this.$apollo.mutate({mutation:ma(EA||(t=["\n mutation TerminateChastity($reason: String!, $finishedAt: DateTime!) {\n terminateChastity(reason: $reason, finishedAt: $finishedAt)\n }\n "],n||(n=t.slice(0)),EA=Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(n)}})))),variables:{reason:this.reason,finishedAt:parseInt(this.finishedAt.toSeconds())}}).then((function(t){e.success(),r.$router.push({name:"memberCalendar"}),r.$user.currentChastityPeriod=null,r.$eventHub.$emit("refreshUser"),window.location.reload()})).catch((function(t){e.validate(t)}
2)).catch((function(t){e.error()}))}}};var IA=Ca(OA,TA,[],!1,null,null,null);IA.options.__file="components/pages/Calendar/Terminate.vue";const AA=IA.exports;var DA,PA=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$parent.member.username+" » "+e.$t("member.network")}}),e._v(" "),n("h2",{staticClass:"d-flex justify-content-between mb-4 flex-column flex-lg-row"},[n("span",[n("Icon",{attrs:{v:"user-friends"}}),e._v("\n "+e._s(e.$t("member.network"))+"\n ")],1),e._v(" "),n("span",e._l(e.relations,(function(t,r){return"knows"!==r?n("button",{class:["btn","btn-"+(e.filter===r?"":"outline-")+t.color,"ml-lg-4"],on:{click:function(t){t.preventDefault(),e.filter=r===e.filter?null:r}}},[n("Icon",{attrs:{v:t.icon}}),e._v("\n "+e._s(e.$t("relation."+r+".list"))+"\n ("+e._s(e.counts[r]||0)+")\n ")],1):e._e()})),0)]),e._v(" "),n("Loading",{attrs:{value:e.connections,orEmpty:""}},[n("MasonryGrid",{ref:"grid"},e._l(e.connections,(function(t){return null===e.filter||t.connections.includes(e.filter)?n("MasonryGridItem",{key:t.counterpart.username},[n("MemberCard",{attrs:{member:t.counterpart,connections:t.connections}})],1):e._e()})),1)],1)],1)};PA._withStripped=!0;const MA={components:{MasonryGrid:bh,MasonryGridItem:kh,MemberCard:hh,Loading:us},data:function(){return{connections:void 0,filter:null,relations:Pp,counts:{}}},mounted:function(){var e,t,n=this;this.$user?"teamlocked"!==this.$parent.member.username?this.$apollo.query({query:ma(DA||(e=['\n query User($username: String!) {\n user(username: $username) {\n connections {\n accepted\n relationOfCounterpart\n counterpart {\n username\n avatar { id links(size: "avatar") }\n active\n admin\n moderator\n statusSub\n statusKeyholder\n currentChastityPeriod { start earliestEnd terminatable permanent }\n description\n cock\n gender\n orientation\n age\n role\n country\n province\n city\n postsCount\n }\n }\n }\n }\n '],t||(t=e.slice(0)),DA=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})))),variables:{username:this.$parent.member.username}}).then((function(e){n.connections=n.groupConnections(e.data.user.connections),n.counts=n.countRelations(e.data.user.connections)})):this.$router.push({name:"memberProfile",params:{username:"teamlocked"}}):this.$router.push({name:"login"})},methods:{groupConnections:function(e){var t=this,n={};return ba(e,(function(e){if(e.accepted){var r=e.counterpart.username;void 0===n[r]&&(n[r]={counterpart:e.counterpart,connections:[]}),n[r].connections.push(t.normaliseRelation(e.relationOfCounterpart))}})),n},countRelations:function(e){var t=this,n={};return ba(e,(function(e){if(e.accepted){var r=t.normaliseRelation(e.relationOfCounterpart);void 0===n[r]&&(n[r]=0),n[r]++}})),n},normaliseRelation:function(e){return"knows"===e?"known":e}},watch:{filter:function(){this.$refs.grid.reset()}}};var $A=Ca(MA,PA,[],!1,null,null,null);$A.options.__file="components/pages/Member/Network.vue";const NA=$A.exports;var RA,LA=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$parent.member.username+" » "+e.$t("member.gameRounds")}}),e._v(" "),n("h2",{staticClass:"d-flex justify-content-between mb-4 flex-column flex-lg-row"},[n("span",[n("Icon",{attrs:{v:"gamepad"}}),e._v("\n "+e._s(e.$t("member.gameRounds"))+"\n ")],1)]),e._v(" "),n("Loading",{attrs:{value:e.rounds,orEmpty:""}},[void 0!==e.rounds?n("div",[n("table",{staticClass:"table table-striped"},[n("tbody",e._l(e.rounds,(function(t){return n("tr",[n("td",[n("Icon",{attrs:{v:t.game.icon}}),e._v("\n "+e._s(e.$t("games."+t.game.name+".name"))+"\n ")],1),e._v(" "),n("th",[n("AdminerLink",{attrs:{table:"game_roun
2d",value:t.id,classes:"py-0"}}),e._v(" "),n("router-link",{attrs:{to:{name:"gamePlay",params:{game:t.game.name,round:t.id}}}},[e._v("\n "+e._s(e.$date(t.createdAt))+"\n ")]),e._v(" "),t.mock?n("small",{staticClass:"badge badge-warning"},[e._v("\n "+e._s(e.$t("game.mock"))+"\n ")]):e._e()],1),e._v(" "),n("td",[n("Icon",{attrs:{v:"pray"}}),e._v(" "),n("router-link",{attrs:{to:{name:"memberProfile",params:{username:t.player.username}}}},[n("Avatar",{attrs:{member:t.player,size:"1.5rem"}})],1)],1),e._v(" "),n("td",[n("Icon",{attrs:{v:"fist-raised"}}),e._v(" "),n("router-link",{attrs:{to:{name:"memberProfile",params:{username:t.supervisor.username}}}},[n("Avatar",{attrs:{member:t.supervisor,size:"1.5rem"}})],1)],1),e._v(" "),n("td",[n("GameRoundStatus",{attrs:{round:t}}),e._v(" "),t.punishment?n("span",{staticClass:"ml-3"},[e._v("\n "+e._s(e.duration(t.punishment))+"\n ")]):e._e()],1)])})),0)])]):e._e()])],1)};LA._withStripped=!0;const jA={components:{Loading:us,Avatar:Xs,GameRoundStatus:ry,AdminerLink:Gp},data:function(){return{rounds:void 0}},mounted:function(){var e,t,n=this;this.$apollo.query({query:ma(RA||(e=['\n query GameRounds($username: String!) {\n gameRounds(username: $username) {\n id\n createdAt\n player { username avatar { id links(size: "avatar") } }\n supervisor { username avatar { id links(size: "avatar") } }\n result\n punishment\n mock\n game {\n name\n icon\n active\n }\n }\n }\n '],t||(t=e.slice(0)),RA=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})))),variables:{username:this.$parent.member.username}}).then((function(e){n.rounds=e.data.gameRounds})).catch((function(e){console.error(e)}))},methods:{duration:function(e){return this.$duration(tl.dw.fromObject({hours:parseInt(e)}))}}};var FA=Ca(jA,LA,[],!1,null,null,null);FA.options.__file="components/pages/Member/Games.vue";const BA=FA.exports;var qA,HA=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$t("locktober.name")+" "+e.year}}),e._v(" "),n("h2",[n("Icon",{attrs:{v:"calendar-star"}}),e._v("\n "+e._s(e.$t("locktober.name"))+" "+e._s(e.year)+"\n ")],1),e._v(" "),n("InfiniteScroll",{attrs:{columns:"4",columnsTablet:"3",query:e.query,variables:e.variables},scopedSlots:e._u([{key:"default",fn:function(e){return[n("LocktoberProgress",{attrs:{locktober:e.item}})]}}])})],1)};HA._withStripped=!0;const zA={components:{LocktoberProgress:pw,InfiniteScroll:Fv,Loading:us},data:function(){var e,t,n=parseInt(this.$route.params.year)||0;return{year:n,query:ma(qA||(e=['\n query LocktoberList ($year: Int!) {\n items: locktoberList(year: $year) {\n id\n year\n params\n result\n user {\n username\n avatar { id links(size: "avatar") }\n admin\n moderator\n statusSub\n statusKeyholder\n currentChastityPeriod { start earliestEnd terminatable permanent }\n lastRequest\n }\n }\n }\n '],t||(t=e.slice(0)),qA=Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})))),variables:{year:n}}}};var UA=Ca(zA,HA,[],!1,null,null,null);UA.options.__file="components/pages/Locktober.vue";const VA=UA.exports;var GA=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$t("helpOut.header")}}),e._v(" "),n("h2",[n("Icon",{attrs:{v:"people-carry"}}),e._v("\n "+e._s(e.$t("helpOut.header"))+"\n ")],1),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-xl-8"},[n("Twemoji",[n("p",[e._v("Hi there!")]),e._v(" "),n("p",[e._v("As you might have noticed, this website is currently "),n("strong",[e._v("free to use and free of intrusive ads")]),e._v(".")]),e._v(" "),n("p",[e._v("It was created as a hobby project by one person â "),n("router-link",{attrs:{to:{name:"memberProfile",params:{username:"esclavino"}}}},[e._v("@esclavino")]),e._v(" â with help from our wonderful "),n("router-link",{attrs:{to:{name:"translations"}}},[e._v("translators")]),e._v(".")],1),e._v(" "),n("p",[e._v("In September 2021 "),n("a",{attrs:{href:"https://www.emlalock.com",target:"_blank"}},[e._v("EmlaLock")]),e._v(" became the new owner of this project.")]),e._v(" "),n("p",[e._v("However, we do have some expenses, such as hosting and domain costs, and we'd like to keep the site ad-free.")]),e._v(" "),n("p",[e._v("If you'd like to supp
2ort our efforts, you can use the link below to share some "),n("del",[e._v("love")]),e._v(" cash. We'd really appreciate that ð")]),e._v(" "),n("p",[n("em",[e._v("\n â "),n("router-link",{attrs:{to:{name:"memberProfile",params:{username:"micr0"}}}},[e._v("@micr0")]),e._v(" & "),n("router-link",{attrs:{to:{name:"memberProfile",params:{username:"tjommel"}}}},[e._v("@tjommel")])],1)])]),e._v(" "),n("hr"),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-xl-6"},[n("ul",{staticClass:"list-inline"},e._l(e.methods,(function(t){return n("li",{staticClass:"mb-3 list-inline-item"},[n("a",{staticClass:"btn btn-outline-primary",attrs:{href:t.link,target:"_blank",rel:"noopener"}},[t.icon.v?n("Icon",{attrs:{v:t.icon.v,set:t.icon.set||"light"}}):t.icon.link?n("img",{staticClass:"emoji",attrs:{src:t.icon.link}}):e._e(),e._v("\n "+e._s(e.$t(t.text))+"\n "),e._l(t.tags||[],(function(t){return n("span",{class:"mx-1 badge badge-"+e.tags[t]},[e._v("\n "+e._s(e.$t("helpOut.tag."+t))+"\n ")])}))],2)])})),0)]),e._v(" "),n("div",{staticClass:"col-12 col-xl-6"},[n("p",[e._v("\n "+e._s(e.$t("helpOut.nonFinancial"))+"\n ")]),e._v(" "),n("ul",{staticClass:"list-unstyled"},[n("li",{staticClass:"mb-3"},[n("router-link",{attrs:{to:{name:"translations"}}},[n("Icon",{attrs:{v:"language"}}),e._v("\n "+e._s(e.$t("helpOut.translations"))+"\n ")],1)],1),e._v(" "),n("li",{staticClass:"mb-3"},[n("router-link",{attrs:{to:{name:"reportBug"}}},[n("Icon",{attrs:{v:"bug"}}),e._v("\n "+e._s(e.$t("reportBug.header"))+"\n ")],1),e._v("\n "+e._s(e.$t("helpOut.reportBug.more"))+"\n ")],1),e._v(" "),n("li",{staticClass:"mb-3"},[n("router-link",{attrs:{to:{name:"forumCategory",params:{category:"platform"}}}},[n("Icon",{attrs:{v:"lightbulb-on"}}),e._v("\n "+e._s(e.$t("helpOut.ideas"))+"\n ")],1),e._v("\n "+e._s(e.$t("helpOut.ideas.more"))+"\n ")],1),e._v(" "),n("li",{staticClass:"mb-3"},[n("Icon",{attrs:{v:"megaphone"}}),e._v("\n "+e._s(e.$t("helpOut.share"))+"\n ")],1)])])])],1),e._v(" "),e._m(0)])],1)},WA=[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"col-12 col-xl-4 py-3 py-xl-0"},[t("img",{attrs:{src:__webpack_require__(5690)}})])}];GA._withStripped=!0;__webpack_require__.p,__webpack_require__.p;var YA=Ca({components:{Deprecation:qc,Twemoji:Ol},data:function(){return{tags:{recurring:"primary",anonymous:"secondary",publicity:"warning"},methods:{paypal:{link:"https://www.paypal.com/donate/?hosted_button_id=V7JWKLPH26KKS",icon:{v:"paypal",set:"brand"},text:"helpOut.donate.paypal",tags:[]},paypalMonthly:{link:"https://www.paypal.com/donate/?hosted_button_id=V7JWKLPH26KKS",icon:{v:"paypal",set:"brand"},text:"helpOut.donate.paypal",tags:["recurring"]}}}}},GA,WA,!1,null,null,null);YA.options.__file="components/pages/HelpOut.vue";const KA=YA.exports;var QA,JA=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:"Translations"}}),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-xl-6 offset-xl-3"},[n("h3",[n("Icon",{attrs:{v:"language"}}),e._v("\n Translations\n ")],1),e._v(" "),n("Loading",{attrs:{value:e.translations}},[n("div",{staticClass:"table-responsive-sm"},[n("table",{staticClass:"table table-striped"},[n("tr",[n("th",[e._v("Language")]),e._v(" "),n("th",[e._v("Big kudos to")]),e._v(" "),n("th",[e._v("Missing translations"),n("br"),n("small",[e._v("for new features")])]),e._v(" "),n("th",[e._v("Download")])]),e._v(" "),e._l(e.translations,(function(t){return n("tr",{key:t.code},[n("th",[e._v("\n "+e._s(e.$languages[t.code])+"\n ")]),e._v(" "),n("td",[n("ul",{staticClass:"list-inline"},e._l(t.maintainers,(function(t){return n("li",{staticClass:"list-inline-item text-nowrap"},[n("Twemoji",[e._v("â¤")]),e._v(" "),n("router-link",{attrs:{to:{name:"memberProfile",params:{username:t}}}},[e._v("@"+e._s(t))])],1)})),0)]),e._v(" "),n("td",[t.missing?n("span",{staticClass:"badge badge-danger"},[n("Icon",{attrs:{v:"exclamation-circle"}}),e._v("\n "+e._s(t.missing)+"\n ")],1):n("span",{staticClass:"badge badge-success"},[n("Icon",{attrs:{v:"check-circle"}}),e._v("\n "+e._s(t.missing)+"\n ")],1)]),e._v(" "),n("td",[n("a",{staticClass:"btn btn-outline-primary",attrs:{href:e.translationDownload(t.code)}},[n("Icon",{attrs:{v:"download"}})],1)])])}))],2)])]),e._v(" "),n("Twemoji",[n("p",[e._v("\n Big thanks to everyone who contributed to translating #TeamLocked to other languages! â¤\n ")]),e._v(" "),n("p",[e._v("\n If you want to help as well, you can ð\n ")]),e._v(" "),n("p",[n("strong",[e._v("Instructions:")])]),e._v(" "),n("ul",[n("li",[e._v("\n If you want to add a "),n("strong",[e._v("new language version")]),e._v(", please first contact\n "),n("router-link",{attrs:{to:{name:"memberProfile",params:{username:"micr0"}}}},[e._v("@micr0")]),e._v(" first\n to coordinate â maybe someone else already started working on it? Would be a shame to duplicate your work.\n Please also consider if it makes sense to put your work into that language,\n as it might only have a handful of users.\n A good indication of whether a language version would be widely used is the list of channels\n "),n("router-link",{attrs:{to:{name:"chat"}}
2},[e._v("in the chat")]),e._v(".\n ")],1),e._v(" "),n("li",[e._v("\n To add missing translations in the "),n("strong",[e._v("existing language version")]),e._v(", download this language files and find lines that are commented out\n (starting with "),n("code",[e._v("//")]),e._v("). Also, check if some line contains "),n("code",[e._v("// TODO")]),e._v(".\n ")]),e._v(" "),n("li",[e._v("\n Files can be opened with any text editor.\n ")]),e._v(" "),n("li",[e._v("\n They are in format "),n("code",[e._v('"key": "value"')]),e._v(". Keys should always stay as they are, and values should be replaced with the translation.\n ")]),e._v(" "),n("li",[e._v("\n Values can contain âstrangeâ syntax, like placeholders ("),n("code",[e._v("{time}")]),e._v("), HTML tags ("),n("code",[e._v("<br/>")]),e._v(") or enumeration definitons ("),n("code",[e._v("]1,Inf[")]),e._v(").\n Just leave them as they are, without translating or changing them â except put in the right place in the sentence, of course.\n For example "),n("code",[e._v('"added {time} to your chastity period"')]),e._v(" will be displayed as: "),n("code",[e._v('"added 7d 5h to your chastity period"')]),e._v(".\n ")]),e._v(" "),n("li",[e._v("\n Keys starting with "),n("code",[e._v("format")]),e._v(" can be ignored, if they're causing trouble â we'll handle them.\n ")]),e._v(" "),n("li",[e._v("\n Please try to use inclusive language. Not everyone using this website is a men and using male pronouns.\n If your language distinguishes gendered forms, try to avoid them or use placeholders\n (eg. German version calls users âNutzer*innenâ).\n ")]),e._v(" "),n("li",[e._v("\n When you're done, you can send us the result to "),n("a",{attrs:{href:"mailto:[email protected]",target:"_blank",rel:"noopener"}},[e._v("[email protected]")]),e._v(".\n ")]),e._v(" "),n("li",[e._v("\n If you have any questions, just ask.\n ")]),e._v(" "),n("li",[e._v("\n Thank you so much! ð\n ")])])])],1)])],1)};JA._withStripped=!0;var ZA,XA;var eD=Ca({components:{Twemoji:Ol,Loading:us,Flag:Ec},data:function(){return{translations:void 0}},apollo:{translations:{query:ma(QA||(ZA=["query { translations { code maintainers missing } }"],XA||(XA=ZA.slice(0)),QA=Object.freeze(Object.defineProperties(ZA,{raw:{value:Object.freeze(XA)}}))))}},methods:{translationDownload:function(e){return"".concat("https://api.teamlocked.men","/translation/").concat(e,".txt")}}},JA,[],!1,null,null,null);eD.options.__file="components/pages/Translations.vue";const tD=eD.exports;var nD=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$t("faq.header.long")}}),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-xl-6 offset-xl-3"},[n("h2",{staticClass:"mb-3"},[n("Icon",{attrs:{v:"map-marker-question"}}),e._v("\n "+e._s(e.$t("faq.header.long"))+"\n ")],1),e._v(" "),e._l(e.questions,(function(t,r){return n("details",{key:r,staticClass:"my-3 border"},[n("summary",{staticClass:"h5 bg-light m-0 p-3 border-top border-bottom"},[e._v("\n "+e._s(e.$t(t.question||"faq."+r))+"\n ")]),e._v(" "),n("div",{staticClass:"p-4"},[t.answers.length?n("div",e._l(t.answers,(function(t,o){return n("p",{domProps:{innerHTML:e._s(e.$t("faq."+r+"."+o,t))}})})),0):n(t.answers,{tag:"div"})],1)])}))],2)])],1)};nD._withStripped=!0;var rD=Ca({components:{Why:Oh},data:function(){return{questions:{why:{question:"why.header",answers:Oh},start:{answers:[{login:this.link("login")},{forum:this.link("forum"),members:this.link("members"),games:this.link("gamesList")}]},cage:{answers:[{tips:this.link("forumCategory",{category:"tips"}),forum:this.link("forum")}]},bug:{answers:[{bugs:this.link("reportBug")}]},admins:{answers:[{},{platform:this.link("forumCategory",{category:"platform"})},{micr0:this.link("memberProfile",{username:"micr0"})},{},{}]},mobile:{answers:[{},{account:this.link("account")}]}}}}},nD,[],!1,null,null,null);rD.options.__file="components/pages/Faq.vue";const oD=rD.exports;var iD=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$t("reportBug.header")}}),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-xl-6 offset-xl-3"},[n("h2",[n("Icon",{attrs:{v:"bug"}}),e._v("\n "+e._s(e.$t("reportBug.header"))+"\n ")],1),e._v(" "),n("p",[e._v("\n Hi there!\n ")]),e._v(" "),n("p",[e._v("\n "+e._s(e.$t("reportBug.intro"))+"\n ")]),e._v(" "),n("p",[e._v("\n If you have found a bug in the app, I'd appreciate if you took some time to report it,\n so that I can fix the issue.\n ")]),e._v(" "),n("p",[e._v("\n You can do it by sending a DM either "),n("router-link",{attrs:{to:{name:"memberProfile",params:{username:"micr0"}}}},[e._v("here")]),e._v(",\n "),n("a",{attrs:{href:"https://twitter.com/TeamLockedMen",target:"_blank",rel:"noopener"}},[e._v("on Twitter")]),e._v(",\n or "),n("a",{attrs:{href:"mailto:[email protected]",target:"_blank",rel:"noopener"}},[e._v("by email")]),e._v(".\n ")],1),e._v(" "),n("p",[e._v("\n If it's related to a particular language version,\n please contact "),n("router-link",{attrs:{to:{name:"translations"}}},[e._v("the translators")]),e._v(" directly.\n ")],1),e._v(" "),n("p",[e._v("\n In your report please write:\n ")]),e._v(" "),e._m(0),e._v(" "),n("p",[e._v("\n Thank y
2ou for making #TeamLocked better!\n ")])])])],1)};iD._withStripped=!0;var aD=Ca({components:{Twemoji:Ol},data:function(){return{products:[]}}},iD,[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",[n("li",[e._v("what is wrong (and if it's not obvious, how do you expect it to work instead),")]),e._v(" "),n("li",[e._v("a screenshot of the problem,")]),e._v(" "),n("li",[e._v("which device, operating system and browser do you use,")]),e._v(" "),n("li",[e._v("\n ideally also a screenshot of the JS console\n (right click, "),n("code",[e._v("Inspect element")]),e._v(", switch to the "),n("code",[e._v("Console")]),e._v(" tab) â\n if you see a red "),n("code",[e._v("â¶ â¶ Object")]),e._v(" there, please unfold that line before taking a screenshot.\n ")])])}],!1,null,null,null);aD.options.__file="components/pages/ReportBug.vue";const sD=aD.exports;var lD=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-xl-4 offset-xl-4"},[n("h2",[n("Icon",{attrs:{v:"language"}}),e._v("\n "+e._s(e.$t("member.languages"))+"\n ")],1),e._v(" "),n("LanguageSwitch",{attrs:{expanded:""}}),e._v(" "),n("p",[n("router-link",{attrs:{to:{name:"translations"}}},[n("Icon",{attrs:{v:"language"}}),e._v("\n Translations\n ")],1)],1)],1)])])};lD._withStripped=!0;var cD=Ca({components:{LanguageSwitch:Ac}},lD,[],!1,null,null,null);cD.options.__file="components/pages/Language.vue";const uD=cD.exports;var dD,fD=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$t("admin.members.header")}}),e._v(" "),n("h2",[n("Icon",{attrs:{v:"users"}}),e._v("\n "+e._s(e.$t("admin.members.header"))+"\n ")],1),e._v(" "),n("InfiniteScroll",{attrs:{columns:"3",columnsTablet:"2",query:e.query,variables:{},idField:"username"},scopedSlots:e._u([{key:"default",fn:function(e){return[n("MemberCard",{attrs:{member:e.item}})]}}])})],1)};function pD(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}fD._withStripped=!0;var hD=Ca({components:{InfiniteScroll:Fv,MemberCard:hh},data:function(){return{query:ma(dD||(dD=pD(['\n query Members ($before: DateTime) {\n items: adminMembers(before: $before) {\n username\n avatar { id links(size: "avatar") }\n active\n admin\n moderator\n statusSub\n statusKeyholder\n currentChastityPeriod { start earliestEnd terminatable permanent }\n description\n cock\n gender\n orientation\n age\n role\n country\n province\n city\n postsCount\n lastRequest\n createdAt\n }\n }\n '])))}},mounted:function(){this.$user&&this.$user.admin||this.$router.push({name:"home"})}},fD,[],!1,null,null,null);hD.options.__file="components/pages/Admin/Members.vue";const mD=hD.exports;var vD,gD=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$t("admin.posts.header")}}),e._v(" "),n("h2",[n("Icon",{attrs:{v:"pen-nib"}}),e._v("\n "+e._s(e.$t("admin.posts.header"))+"\n ")],1),e._v(" "),n("InfiniteScroll",{attrs:{columns:"3",columnsTablet:"2",query:e.query,variables:{currentUsername:this.$user.username}},scopedSlots:e._u([{key:"default",fn:function(e){return[n("PostCard",{attrs:{post:e.item}})]}}])})],1)};function yD(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}gD._withStripped=!0;var bD=Ca({components:{InfiniteScroll:Fv,PostCard:Mv},data:function(){return{query:ma(vD||(vD=yD(['\n query Posts ($currentUsername: String, $before: DateTime) {\n items: adminPosts(before: $before) {\n id\n createdAt\n category { name icon color }\n user {\n username\n avatar { id links(size: "avatar") }\n admin\n moderator\n statusSub\n statusKeyholder\n currentChastityPeriod { start earliestEnd terminatable permanent }\n lastRequest\n }\n content\n reactions\n reactionBy(username: $currentUsername)\n warning\n commentCount\n internal\n }\n }\n '])))}},mounted:function(){this.$user&&this.$user.admin||this.$router.push({name:"home"})}},gD,[],!1,null,null,null);bD.options.__file="components/pages/Admin/Posts.vue";const _D=bD.exports;var wD,kD=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$t("admin.pics.header")}}),e._v(" "),n("h2",[n("Icon",{attrs:{v:"camera-alt"}}),e._v("\n "+e._s(e.$t("admin.pics.header"))+"\n ")],1),e._v(" "),n("InfiniteScroll",{attrs:{columns:"6",columnsTablet:"3",query:e.query,variables:{}},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"card"},[n("div",{staticClass:"card-body text-center"},[n("Picture",{attrs:{image:t.item,type:"thumb"}})],1),e._v(" "),n("div",{staticClass:"card-footer"},[n("router-link",{attrs:{to:{name:"memberProfile",params:{username:t.item.user.username}}}},[n("Avatar",{attrs:{member:t.item.user,size:"2rem"}}),e._v(" "),n("Username",{attrs:{user:t.item.user}}),e._v(" "),n("Status",{attrs:{user:t.item.user}})],1),e._v(" "),n("br"),e._v(" "),n("small",[e._v(e._s(e.$date(t.item.createdAt)))])],1
2)])]}}])})],1)};function xD(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}kD._withStripped=!0;var CD=Ca({components:{Picture:_l,InfiniteScroll:Fv,Avatar:Xs,Username:Zl,Status:tc},data:function(){return{query:ma(wD||(wD=xD(['\n query Images ($before: DateTime) {\n items: adminPics(before: $before) {\n id\n createdAt\n user {\n username\n avatar { id links(size: "avatar") }\n admin\n moderator\n statusSub\n statusKeyholder\n currentChastityPeriod { start earliestEnd permanent }\n lastRequest\n }\n links\n }\n }\n '])))}},mounted:function(){this.$user&&this.$user.admin||this.$router.push({name:"home"})}},kD,[],!1,null,null,null);CD.options.__file="components/pages/Admin/Pics.vue";const SD=CD.exports;var ED,TD=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$t("admin.stats.header")}}),e._v(" "),n("h2",[n("Icon",{attrs:{v:"chart-line"}}),e._v("\n "+e._s(e.$t("admin.stats.header"))+"\n ")],1),e._v(" "),n("div",e._l([-14,-31,0],(function(t){return n("button",{class:["btn",t===e.timeframe?"btn-primary":"btn-outline-primary","mr-2"],on:{click:function(n){e.timeframe=t,e.redrawCharts()}}},[e._v("\n "+e._s(t)+"\n ")])})),0),e._v(" "),e._l(["main","mainDiff","game"],(function(t){return n("div",{staticClass:"my-4"},[n("h3",[e._v(e._s(e.$t("admin.stats."+t)))]),e._v(" "),n("canvas",{ref:"chart-"+t,refInFor:!0})])}))],2)};function OD(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return ID(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ID(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function ID(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function AD(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}TD._withStripped=!0;var DD=Ca({created:function(){this.$loadScript("charts","https://cdn.jsdelivr.net/npm/[email protected]/dist/Chart.bundle.min.js")},data:function(){return{palette:new vv(["#f00","#f80","#ff0","#0f0","#0ff","#00f","#f0f","#888","#000"]),stats:void 0,timeframe:-14}}
2,mounted:function(){var e=this;this.$user&&this.$user.admin||this.$router.push({name:"home"}),this.$apollo.query({query:ma(ED||(ED=AD(["query { adminStats }"])))}).then((function(t){e.stats=JSON.parse(t.data.adminStats),e.redrawCharts()})).catch((function(e){console.error(e)}))},methods:{redrawCharts:function(){var e=Object.keys(this.stats[Object.keys(this.stats)[0]]),t=e.filter((function(e){return"daysLocked"!==e&&!e.startsWith("game.")})),n=e.filter((function(e){return e.startsWith("game.")}));this.drawChart("main",t),this.drawChart("mainDiff",t,!0),this.drawChart("game",n)},drawChart:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.palette.reset();var o=Object.keys(this.stats),i=function(e){var t=Object.values(n.stats).map((function(t){return t[e]}));return r?n.calcDiff(t):t};new Chart(this.$refs["chart-"+e][0].getContext("2d"),{type:"line",data:{labels:o.slice(this.timeframe),datasets:t.map((function(e){return{label:e,data:i(e).slice(n.timeframe),fill:!1,borderColor:n.palette.get()}}))}})},calcDiff:function(e){var t,n=[],r=0,o=OD(e);try{for(o.s();!(t=o.n()).done;){var i=t.value;n.push(i-r),r=i}}catch(e){o.e(e)}finally{o.f()}return n}}},TD,[],!1,null,null,null);DD.options.__file="components/pages/Admin/Stats.vue";const PD=DD.exports;var MD,$D=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$t("admin.notifications.header")}}),e._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-12 col-lg-6 offset-lg-3"},[n("h2",[n("Icon",{attrs:{v:"bell"}}),e._v("\n "+e._s(e.$t("admin.notifications.header"))+"\n ")],1),e._v(" "),n("Form",{on:{submit:e.disableNotifications},scopedSlots:e._u([{key:"default",fn:function(t){return[n("FormGroup",{attrs:{error:t.errors.email,classes:"mb-0"},scopedSlots:e._u([{key:"default",fn:function(t){return[n("div",{staticClass:"input-group"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.email,expression:"email"}],class:t.controlClass,attrs:{type:"email",placeholder:e.$t("admin.notifications.disable"),required:""},domProps:{value:e.email},on:{input:function(t){t.target.composing||(e.email=t.target.value)}}}),e._v(" "),n("div",{staticClass:"input-group-append"},[n("button",{staticClass:"btn btn-outline-primary"},[n("Icon",{attrs:{v:"paper-plane"}})],1)])])]}}],null,!0)})]}}])})],1)])],1)};function ND(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}$D._withStripped=!0;var RD=Ca({components:{FormGroup:Za,Form:Ra},data:function(){return{email:""}},methods:{disableNotifications:function(e){this.$apollo.mutate({mutation:ma(MD||(MD=ND(["\n mutation AdminDisableNotifications($email: String!) {\n adminDisableNotifications(email: $email)\n }\n "]))),variables:{email:this.email}}).then((function(t){e.success("â")})).catch((function(t){e.validate(t)})).catch((function(t){e.error()}))}}},$D,[],!1,null,null,null);RD.options.__file="components/pages/Admin/Notifications.vue";const LD=RD.exports;var jD,FD,BD=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"container"},[n("VueHeadful",{attrs:{title:e.$t("admin.reports.header")}}),e._v(" "),n("h2",[n("Icon",{attrs:{v:"spider"}}),e._v("\n "+e._s(e.$t("admin.reports.header"))+"\n ")],1),e._v(" "),n("Loading",{attrs:{value:e.reports}},[n("div",{staticClass:"table-responsive"},[void 0!==e.reports?n("table",{staticClass:"table table-striped"},[n("tr",[n("th",[e._v("Reported at")]),e._v(" "),n("th",[e._v("Reporter")]),e._v(" "),n("th",[e._v("Object")]),e._v(" "),n("th",[e._v("Reason")]),e._v(" "),n("th")]),e._v(" "),e._l(e.reports,(function(t){return n("tr",{key:t.id,class:[t.handled?"":"bg-light"]},[n("td",[e._v("\n "+e._s(e.$date(t.reportedAt))+"\n ")]),e._v(" "),n("td",[t.reporter?n("router-link",{attrs:{to:{name:"memberProfile",params:{username:t.reporter.username}}}},[e._v("\n @"+e._s(t.reporter.username)+"\n ")]):e._e(
vendor: 5,046 bytes, line 2
2),e._v(" "),t.automated?n("span",{staticClass:"badge badge-info"},[n("Icon",{attrs:{v:"robot"}}),e._v("\n Automated\n ")],1):e._e()],1),e._v(" "),n("td",[n("a",{attrs:{href:t.link}},[e._v("\n "+e._s(t.object)+"\n ")])]),e._v(" "),n("td",[n("ul",e._l(JSON.parse(t.reasons),(function(t){return n("li",{key:t},[e._v("\n "+e._s(e.$t("report.reason."+t))+"\n ")])})),0),e._v(" "),t.extraInfo?n("p",{staticClass:"details"},[e._v(e._s(t.extraInfo))]):e._e(),e._v(" "),t.ip?n("p",[e._v("IP: "+e._s(t.ip)),n("br"),e._v(e._s(t.ipInfo))]):e._e()]),e._v(" "),n("td",[t.handled?e._e():n("button",{staticClass:"btn btn-outline-primary btn-sm",on:{click:function(n){return e.handled(t)}}},[n("Icon",{attrs:{v:"check"}}),e._v("\n Handled\n ")],1)])])}))],2):e._e()])])],1)};function qD(e){return qD="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qD(e)}function HD(){HD=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,a=Object.create(i.prototype),s=new A(r||[]);return o(a,"_invoke",{value:E(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var f="suspendedStart",p="suspendedYield",h="executing",m="completed",v={};function g(){}function y(){}function b(){}var _={};c(_,a,(function(){return this}));var w=Object.getPrototypeOf,k=w&&w(w(D([])));k&&k!==n&&r.call(k,a)&&(_=k);var x=b.prototype=g.prototype=Object.create(_);function C(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(o,i,a,s){var l=d(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==qD(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function E(t,n,r){var o=f;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=T(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===f)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?m:p,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=m,r.method="throw",r.arg=c.arg)}}}function T(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,T(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function D(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(qD(t)+" is not iterable")}return y.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},C(S.prototype),c(S.prototype,s,(function(){return this})),t.AsyncIterator=S,t.async=function(e,n,r,o,i){void 0===i&&(i=Prom
vendor: 4,474 bytes, line 2
2ise);var a=new S(u(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},C(x),c(x,l,"Generator"),c(x,a,(function(){return this})),c(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=D,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(I),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),I(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;I(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:D(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function zD(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function UD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function VD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?UD(Object(n),!0).forEach((function(t){GD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):UD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function GD(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=qD(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=qD(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==qD(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function WD(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}BD._withStripped=!0;const YD={components:{Loading:us},data:function(){return{reports:void 0}},apollo:{reports:{query:ma(jD||(jD=WD(["\n query AdminReports($base: String!) {\n adminReports {\n id\n reportedAt\n reporter {\n username\n }\n object\n reasons\n link(base: $base)\n extraInfo\n automated\n handled\n ip\n }\n }\n "]))),variables:{base:""},update:function(e){return e.adminReports.map((function(e){return VD(VD({},e),{},{ipInfo:""})}))},result:function(e){var t=this;e.data;
2this.reports.forEach((function(e){t.fetchIpInfo(e)}))}}},methods:{handled:function(e){this.$apollo.mutate({mutation:ma(FD||(FD=WD(["\n mutation reportHandled($id: String!) {\n reportHandled(id: $id)\n }\n "]))),variables:{id:e.id}}).then((function(t){e.handled=!0}))},fetchIpInfo:function(e){var t,n=this;return(t=HD().mark((function t(){var r,o;return HD().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,e.ip){t.next=3;break}return t.abrupt("return");case 3:return t.next=5,fetch("https://ip.hr-hosting.com/"+e.ip);case 5:return r=t.sent,t.next=8,r.json();case 8:(o=t.sent).message?n.$set(e,"ipInfo","Error: "+o.message):n.$set(e,"ipInfo",o.country+", "+o.region+" ("+o.regionCode+"), "+o.city),t.next=15;break;case 12:t.prev=12,t.t0=t.catch(0),n.$set(e,"ipInfo","Error: "+t.t0);case 15:case"end":return t.stop()}}),t,null,[[0,12]])})),function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(e){zD(i,r,o,a,s,"next",e)}function s(e){zD(i,r,o,a,s,"throw",e)}a(void 0)}))})()}}};var KD=Ca(YD,BD,[],!1,null,"6ee8cac9",null);KD.options.__file="components/pages/Admin/Reports.vue";const QD=new dp({routes:[{name:"home",path:"/",component:Bh},{name:"login",path:"/login",component:zh},{name:"loginToken",path:"/login/link/:token",component:Xh},{name:"confirmEmail",path:"/confirm-email/:token",component:om},{name:"loginSocial",path:"/login/:provider",component:Yh},{name:"finishRegistration",path:"/finish-registration",component:dm},{name:"loginMfa",path:"/login-mfa",component:vm},{name:"account",path:"/account",component:Vm},{name:"terms",path:"/terms",component:Ym},{name:"privacy_en",path:"/privacy_en",component:Jm},{name:"privacy_fr",path:"/privacy_fr",component:ev},{name:"privacy_de",path:"/privacy_de",component:rv},{name:"forum",path:"/forum",component:xg},{name:"forumTimeline",path:"/forum/timeline",component:Yv},{name:"posts",path:"/posts",component:Yv},{name:"forumCategory",path:"/forum/:category",component:Eg},{name:"forumSearch",path:"/forum/search/:category/:user/:text",component:Ig},{name:"post",path:"/post/:id",component:ug},{name:"postComment",path:"/post/:id/:comment",component:ug},{name:"comment",path:"/comment/:id",component:mg},{name:"postEdit",path:"/post/:id/edit",component:_g},{name:"members",path:"/members",component:Jg},{name:"gamesList",path:"/games",component:gy},{name:"gameStart",path:"/games/:game/start",component:Hb},{name:"gamePlay",path:"/games/:game/:round",component:O_},{name:"locktober",path:"/locktober/:year",component:VA},{name:"chat",path:"/chat",component:$_},{name:"member",path:"/@:username",component:U_,children:[{name:"memberProfile",path:"",component:Dw},{name:"memberBlog",path:"blog",component:$w},{name:"memberPics",path:"pics",component:Ww},{name:"memberVids",path:"vids",component:nk},{name:"memberCalendar",path:"calendar",component:JI},{name:"memberCalendarAdd",path:"calendar/add",component:nA},{name:"memberCalendarReward",path:"calendar/reward",component:sA},{name:"memberCalendarAddArchival",path:"calendar/add-archival",component:hA},{name:"memberCalendarEvent",path:"calendar/event",component:_A},{name:"memberCalendarUnlock",path:"calendar/unlock",component:SA},{name:"memberCalendarTerminate",path:"calendar/terminate",component:AA},{name:"memberNetwork",path:"network",component:NA},{name:"memberGames",path:"games",component:BA}]},{name:"helpOut",path:"/help-out",component:KA},{name:"translations",path:"/translations",component:tD},{name:"faq",path:"/faq",component:oD},{name:"reportBug",path:"/report-bug",component:sD},{name:"language",path:"/language",component:uD},{name:"adminMembers",path:"/admin/members",component:mD},{name:"adminPosts",path:"/admin/posts",component:_D},{name:"adminPics",path:"/admin/pics",component:SD},{name:"adminStats",path:"/admin/stats",component:PD},{name:"adminNotifications",path:"/admin/notifications",component:LD},{name:"adminReports",path:"/admin/reports",component:KD.exports},{name:"maintenance",path:"/maintenance",component:au},{path:"*",component:ru}],mode:"history",scrollBehavior:function(e,t,n){return{x:0,y:0}}});
vendor: 4,589 bytes, line 2
2var JD=function(e,t){return JD=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},JD(e,t)};function ZD(e,t){function n(){this.constructor=e}JD(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var XD=function(){return XD=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},XD.apply(this,arguments)};function eP(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function tP(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}var nP={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},rP=Object.freeze({});function oP(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:nP,r=void 0,o=Array.isArray(e),i=[e],a=-1,s=[],l=void 0,c=void 0,u=void 0,d=[],f=[],p=e;do{var h=++a===i.length,m=h&&0!==s.length;if(h){if(c=0===f.length?void 0:d[d.length-1],l=u,u=f.pop(),m){if(o)l=l.slice();else{for(var v={},g=0,y=Object.keys(l);g<y.length;g++){var b=y[g];v[b]=l[b]}l=v}for(var _=0,w=0;w<s.length;w++){var k=s[w][0],x=s[w][1];o&&(k-=_),o&&null===x?(l.splice(k,1),_++):l[k]=x}}a=r.index,i=r.keys,s=r.edits,o=r.inArray,r=r.prev}else{if(c=u?o?a:i[a]:void 0,null==(l=u?u[c]:p))continue;u&&d.push(c)}var C,S=void 0;if(!Array.isArray(l)){if(!Ii(l))throw new Error("Invalid AST Node: ".concat(Pi(l),"."));var E=iP(t,l.kind,h);if(E){if((S=E.call(t,l,c,u,d,f))===rP)break;
vendor: 51,575 bytes, line 2
2if(!1===S){if(!h){d.pop();continue}}else if(void 0!==S&&(s.push([c,S]),!h)){if(!Ii(S)){d.pop();continue}l=S}}}if(void 0===S&&m&&s.push([c,l]),h)d.pop();else r={inArray:o,index:a,keys:i,edits:s,prev:r},i=(o=Array.isArray(l))?l:null!==(C=n[l.kind])&&void 0!==C?C:[],a=-1,s=[],u&&f.push(u),u=l}while(void 0!==r);return 0!==s.length&&(p=s[s.length-1][1]),p}function iP(e,t,n){var r=e[t];if(r){if(!n&&"function"==typeof r)return r;var o=n?r.leave:r.enter;if("function"==typeof o)return o}else{var i=n?e.leave:e.enter;if(i){if("function"==typeof i)return i;var a=i[t];if("function"==typeof a)return a}}}var aP=function(e,t){return aP=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},aP(e,t)};var sP="Invariant Violation",lP=Object.setPrototypeOf,cP=void 0===lP?function(e,t){return e.__proto__=t,e}:lP,uP=function(e){function t(n){void 0===n&&(n=sP);var r=e.call(this,"number"==typeof n?sP+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=sP,cP(r,t.prototype),r}return function(e,t){function n(){this.constructor=e}aP(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t}(Error);function dP(e,t){if(!e)throw new uP(t)}function fP(e){return function(){return console[e].apply(console,arguments)}}!function(e){e.warn=fP("warn"),e.error=fP("error")}(dP||(dP={}));var pP={env:{}};if("object"==typeof process)pP=process;else try{Function("stub","process = stub")(pP)}catch(e){}var hP=function(){return hP=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},hP.apply(this,arguments)};function mP(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r}var vP=__webpack_require__(2492),gP=__webpack_require__.n(vP),yP=Object.prototype,bP=yP.toString,_P=yP.hasOwnProperty,wP=new Map;function kP(e,t){try{return xP(e,t)}finally{wP.clear()}}function xP(e,t){if(e===t)return!0;var n=bP.call(e);if(n!==bP.call(t))return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":if(CP(e,t))return!0;var r=Object.keys(e),o=Object.keys(t),i=r.length;if(i!==o.length)return!1;for(var a=0;a<i;++a)if(!_P.call(t,r[a]))return!1;for(a=0;a<i;++a){var s=r[a];if(!xP(e[s],t[s]))return!1}return!0;case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!=e)return t!=t;case"[object Boolean]":case"[object Date]":return+e==+t;case"[object RegExp]":case"[object String]":return e==""+t;case"[object Map]":case"[object Set]":if(e.size!==t.size)return!1;if(CP(e,t))return!0;for(var l=e.entries(),c="[object Map]"===n;;){var u=l.next();if(u.done)break;var d=u.value,f=d[0],p=d[1];if(!t.has(f))return!1;if(c&&!xP(p,t.get(f)))return!1}return!0}return!1}function CP(e,t){var n=wP.get(e);if(n){if(n.has(t))return!0}else wP.set(e,n=new Set);return n.add(t),!1}function SP(e,t,n,r){if(function(e){return"IntValue"===e.kind}(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var o={};n.fields.map((function(e){return SP(o,e.name,e.value,r)})),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(n)){var i=(r||{})[n.name.value];e[t.value]=i}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map((function(e){var n={};return SP(n,t,e,r),n[t.value]}));else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw new uP(17);e[t.value]=null}}var EP=["connection","include","skip","client","rest","export"];function TP(e,t,n){if(n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var o=t,i={};return r.forEach((function(e){i[e]=o[e]})),n.connection.key+"("+JSON.stringify(i)+")"}return n.connection.key}var a=e;if(t){var s=gP()(t);a+="("+s+")"}return n&&Object.keys(n).forEach((function(e){-1===EP.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?a+="@"+e+"("+JSON.stringify(n[e])+")":a+="@"+e)})),a}function OP(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach((function(e){var r=e.name,o=e.value;return SP(n,r,o,t)})),n}return null}function IP(e){return e.alias?e.alias.value:e.name.value}function AP(e){return"Field"===e.kind}function DP(e){return"InlineFragment"===e.kind}function PP(e){return e&&"id"===e.type&&"boolean"==typeof e.generated}function MP(e,t){return void 0===t&&(t=!1),hP({type:"id",generated:t},"string"==typeof e?{id:e,typename:void 0}:e)}function $P(e,t){if(e.directives&&e.directives.length){var n={};return e.directives.forEach((function(e){n[e.name.value]=OP(e,t)})),n}return null}function NP(e,t){return void 0===t&&(t={}),(n=e.directives,n?n.filter(jP).map((function(e){var t=e.arguments;e.name.value,dP(t&&1===t.length,14);var n=t[0];dP(n.name&&"if"===n.name.value,15);var r=n.value;return dP(r&&("Variable"===r.kind||"BooleanValue"===r.kind),16),{directive:e,ifArgument:n}})):[]).every((function(e){var n=e.directive,r=e.ifArgument,o=!1;return"Variable"===r.value.kind?dP(void 0!==(o=t[r.value.name.value]),13):o=r.value.value,"skip"===n.name.value?!o:o}));var n}function RP(e,t){return function(e){var t=[];return oP(e,{Directive:function(e){t.push(e.name.value)}}),t}(t).some((function(t){return e.indexOf(t)>-1}))}function LP(e){return e&&RP(["client"],e)&&RP(["export"],e)}function jP(e){var t=e.name.value;return"skip"===t||"include"===t}function FP(e,t){var n=t,r=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw new uP(11);"FragmentDefinition"===e.kind&&r.push(e)})),void 0===n&&(dP(1===r.length,12),n=r[0].name.value),hP(hP({},e),{definitions:mP([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions)})}function BP(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.forEach((function(t){null!=t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function qP(e){return dP(e&&"Document"===e.kind,2),dP(e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw new uP(3);return e})).length<=1,4),e}function HP(e){return qP(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function zP(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&e.name})).map((function(e){return e.name.value}))[0]||null}function UP(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function VP(e){var t;qP(e);for(var n=0,r=e.definitions;n<r.length;n++){var o=r[n];if("OperationDefinition"===o.kind){var i=o.operation;if("query"===i||"mutation"===i||"subscription"===i)return o}"FragmentDefinition"!==o.kind||t||(t=o)}if(t)return t;throw new uP(10)}function GP(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function WP(e){if(e&&e.variableDefinitions&&e.variableDefinitions.length){var t=e.variableDefinitions.filter((function(e){return e.defaultValue})).map((function(e){var t=e.variable,n=e.defaultValue,r={};return SP(r,t.name,n),r}));return BP.apply(void 0,mP([{}],t))}return{}}function YP(e,t,n){var r=0;return e.forEach((function(n,o){t.call(this,n,o,e)&&(e[r++]=n)}),n),e.length=r,e}var KP={kind:"Field",name:{kind:"Name",value:"__typename"}};function QP(e,t){return e.selectionSet.selections.every((function(e){return"FragmentSpread"===e.kind&&QP(t[e.name.value],t)}))}function JP(e){return QP(HP(e)||function(e){dP("Document"===e.kind,7),dP(e.definitions.length<=1,8);var t=e.definitions[0];return dP("FragmentDefinition"===t.kind,9),t}(e),GP(UP(e)))?null:e}function ZP(e){return function(t){return e.some((function(e){return e.name&&e.name===t.name.value||e.test&&e.test(t)}))}}function XP(e,t){var n=Object.create(null),r=[],o=Object.create(null),i=[],a=JP(oP(t,{Variable:{enter:function(e,t,r){"VariableDefinition"!==r.kind&&(n[e.name.value]=!0)}},Field:{enter:function(t){if(e&&t.directives&&(e.some((function(e){return e.remove}))&&t.directives&&t.directives.some(ZP(e))))return t.arguments&&t.arguments.forEach((function(e){"Variable"===e.value.kind&&r.push({name:e.value.name.value})})),t.selectionSet&&tM(t.selectionSet).forEach((function(e){i.push({name:e.name.value})})),null}},FragmentSpread:{enter:function(e){o[e.name.value]=!0}},Directive:{enter:function(t){if(ZP(e)(t))return null}}}));return a&&YP(r,(function(e){return!n[e.name]})).length&&(a=function(e,t){var n=function(e){return function(t){return e.some((function(e){return t.value&&"Variable"===t.value.kind&&t.value.name&&(e.name===t.value.name.value||e.test&&e.test(t))}))}}(e);return JP(oP(t,{OperationDefinition:{enter:function(t){return hP(hP({},t),{variableDefinitions:t.variableDefinitions.filter((function(t){return!e.some((function(e){return e.name===t.variable.name.value}))}))})}},Field:{enter:function(t){if(e.some((function(e){return e.remove}))){var r=0;if(t.arguments.forEach((function(e){n(e)&&(r+=1)})),1===r)return null}}},Argument:{enter:function(e){if(n(e))return null}}}))}(r,a)),a&&YP(i,(function(e){return!o[e.name]})).length&&(a=function(e,t){function n(t){if(e.some((function(e){return e.name===t.name.value})))return null}return JP(oP(t,{FragmentSpread:{enter:n},FragmentDefinition:{enter:n}}))}(i,a)),a}var eM={test:function(e){var t="connection"===e.name.value;return t&&(!e.arguments||e.arguments.some((function(e){return"key"===e.name.value}))),t}};function tM(e){var t=[];return e.selections.forEach((function(e){(AP(e)||DP(e))&&e.selectionSet?tM(e.selectionSet).forEach((function(e){return t.push(e)})):"FragmentSpread"===e.kind&&t.push(e)})),t}function nM(e){return"query"===VP(e).operation?e:oP(e,{OperationDefinition:{enter:function(e){return hP(hP({},e),{operation:"query"})}}})}var rM="function"==typeof WeakMap&&!("object"==typeof navigator&&"ReactNative"===navigator.product),oM=Object.prototype.toString;function iM(e){return aM(e,new Map)}function aM(e,t){switch(oM.call(e)){case"[object Array]":if(t.has(e))return t.get(e);var n=e.slice(0);return t.set(e,n),n.forEach((function(e,r){n[r]=aM(e,t)})),n;case"[object Object]":if(t.has(e))return t.get(e);var r=Object.create(Object.getPrototypeOf(e));return t.set(e,r),Object.keys(e).forEach((function(n){r[n]=aM(e[n],t)})),r;default:return e}}function sM(e){return("undefined"!=typeof process?"production":"development")===e}function lM(){return!0===sM("production")}function cM(){return!0===sM("test")}function uM(e){try{return e()}catch(e){console.error&&console.error(e)}}function dM(e){return e.errors&&e.errors.length}var fM=Object.prototype.hasOwnProperty;function pM(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return hM(e)}function hM(e){var t=e[0]||{},n=e.length;if(n>1){var r=[];t=gM(t,r);for(var o=1;o<n;++o)t=vM(t,e[o],r)}return t}function mM(e){return null!==e&&"object"==typeof e}function vM(e,t,n){return mM(t)&&mM(e)?(Object.isExtensible&&!Object.isExtensible(e)&&(e=gM(e,n)),Object.keys(t).forEach((function(r){var o=t[r];if(fM.call(e,r)){var i=e[r];o!==i&&(e[r]=vM(gM(i,n),o,n))}else e[r]=o})),e):t}function gM(e,t){return null!==e&&"object"==typeof e&&t.indexOf(e)<0&&(e=Array.isArray(e)?e.slice(0):hP({__proto__:Object.getPrototypeOf(e)},e),t.push(e)),e}Object.create({});var yM=__webpack_require__(6064);const bM=__webpack_require__.n(yM)();var _M=function(e,t){return _M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},_M(e,t)};var wM=function(){return wM=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},wM.apply(this,arguments)};!function(e){function t(t,n){var r=e.call(this,t)||this;return r.link=n,r}(function(e,t){function n(){this.constructor=e}_M(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)})(t,e)}(Error);function kM(e){return e.request.length<=1}function xM(e){return new bM((function(t){t.error(e)}))}function CM(e,t){var n=wM({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n=wM({},n,"function"==typeof e?e(n):e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return wM({},n)}}),Object.defineProperty(t,"toKey",{enumerable:!1,value:function(){return function(e){var t=e.query,n=e.variables,r=e.operationName;return JSON.stringify([r,t,n])}(t)}}),t}function SM(e,t){return t?t(e):bM.of()}function EM(e){return"function"==typeof e?new AM(e):e}function TM(){return new AM((function(){return bM.of()}))}function OM(e){return 0===e.length?TM():e.map(EM).reduce((function(e,t){return e.concat(t)}))}function IM(e,t,n){var r=EM(t),o=EM(n||new AM(SM));return kM(r)&&kM(o)?new AM((function(t){return e(t)?r.request(t)||bM.of():o.request(t)||bM.of()})):new AM((function(t,n){return e(t)?r.request(t,n)||bM.of():o.request(t,n)||bM.of()}))}var AM=function(){function e(e){e&&(this.request=e)}return e.prototype.split=function(t,n,r){return this.concat(IM(t,n,r||new e(SM)))},e.prototype.concat=function(e){return function(e,t){var n=EM(e);if(kM(n))return n;var r=EM(t);return kM(r)?new AM((function(e){return n.request(e,(function(e){return r.request(e)||bM.of()}))||bM.of()})):new AM((function(e,t){return n.request(e,(function(e){return r.request(e,t)||bM.of()}))||bM.of()}))}(this,e)},e.prototype.request=function(e,t){throw new uP(1)},e.empty=TM,e.from=OM,e.split=IM,e.execute=DM,e}();function DM(e,t){return e.request(CM(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?zP(t.query):""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];if(t.indexOf(o)<0)throw new uP(2)}return e}(t))))||bM.of()}var PM,MM,$M=__webpack_require__(9423);function NM(e){return e<7}(MM=PM||(PM={}))[MM.loading=1]="loading",MM[MM.setVariables=2]="setVariables",MM[MM.fetchMore=3]="fetchMore",MM[MM.refetch=4]="refetch",MM[MM.poll=6]="poll",MM[MM.ready=7]="ready",MM[MM.error=8]="error";var RM=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ZD(t,e),t.prototype[$M.A]=function(){return this},t.prototype["@@observable"]=function(){return this},t}(bM);function LM(e){return Array.isArray(e)&&e.length>0}var jM,FM,BM=function(e){function t(n){var r,o,i=n.graphQLErrors,a=n.networkError,s=n.errorMessage,l=n.extraInfo,c=e.call(this,s)||this;return c.graphQLErrors=i||[],c.networkError=a||null,c.message=s||(o="",LM((r=c).graphQLErrors)&&r.graphQLErrors.forEach((function(e){var t=e?e.message:"Error message not found.";o+="GraphQL error: "+t+"\n"})),r.networkError&&(o+="Network error: "+r.networkError.message+"\n"),o=o.replace(/\n$/,"")),c.extraInfo=l,c.__proto__=t.prototype,c}return ZD(t,e),t}(Error);(FM=jM||(jM={}))[FM.normal=1]="normal",FM[FM.refetch=2]="refetch",FM[FM.poll=3]="poll";var qM=function(e){function t(t){var n=t.queryManager,r=t.options,o=t.shouldSubscribe,i=void 0===o||o,a=e.call(this,(function(e){return a.onSubscribe(e)}))||this;a.observers=new Set,a.subscriptions=new Set,a.isTornDown=!1,a.options=r,a.variables=r.variables||{},a.queryId=n.generateQueryId(),a.shouldSubscribe=i;var s=HP(r.query);return a.queryName=s&&s.name&&s.name.value,a.queryManager=n,a}return ZD(t,e),t.prototype.result=function(){var e=this;return new Promise((function(t,n){var r={next:function(n){t(n),e.observers.delete(r),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){o.unsubscribe()}),0)},error:n},o=e.subscribe(r)}))},t.prototype.currentResult=function(){var e=this.getCurrentResult();return void 0===e.data&&(e.data={}),e},t.prototype.getCurrentResult=function(){if(this.isTornDown){var e=this.lastResult;return{data:!this.lastError&&e&&e.data||void 0,error:this.lastError,loading:!1,networkStatus:PM.error}}var t,n,r,o=this.queryManager.getCurrentQueryResult(this),i=o.data,a=o.partial,s=this.queryManager.queryStore.get(this.queryId),l=this.options.fetchPolicy,c="network-only"===l||"no-cache"===l;if(s){var u=s.networkStatus;if(n=s,void 0===(r=this.options.errorPolicy)&&(r="none"),n&&(n.networkError||"none"===r&&LM(n.graphQLErrors)))return{data:void 0,loading:!1,networkStatus:u,error:new BM({graphQLErrors:s.graphQLErrors,networkError:s.networkError})};s.variables&&(this.options.variables=XD(XD({},this.options.variables),s.variables),this.variables=this.options.variables),t={data:i,loading:NM(u),networkStatus:u},s.graphQLErrors&&"all"===this.options.errorPolicy&&(t.errors=s.graphQLErrors)}else{var d=c||a&&"cache-only"!==l;t={data:i,loading:d,networkStatus:d?PM.loading:PM.ready}}return a||this.updateLastResult(XD(XD({},t),{stale:!1})),XD(XD({},t),{partial:a})},t.prototype.isDifferentFromLastResult=function(e){var t=this.lastResultSnapshot;return!(t&&e&&t.networkStatus===e.networkStatus&&t.stale===e.stale&&kP(t.data,e.data))},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){var e=this.queryManager.queryStore.get(this.queryId);e&&(e.networkError=null,e.graphQLErrors=[])},t.prototype.refetch=function(e){var t=this.options.fetchPolicy;return"cache-only"===t?Promise.reject(new uP(1)):("no-cache"!==t&&"cache-and-network"!==t&&(t="network-only"),kP(this.variables,e)||(this.variables=XD(XD({},this.variables),e)),kP(this.options.variables,this.variables)||(this.options.variables=XD(XD({},this.options.variables),this.variables)),this.queryManager.fetchQuery(this.queryId,XD(XD({},this.options),{fetchPolicy:t}),jM.refetch))},t.prototype.fetchMore=function(e){var t=this;dP(e.updateQuery,2);var n=XD(XD({},e.query?e:XD(XD(XD({},this.options),e),{variables:XD(XD({},this.variables),e.variables)})),{fetchPolicy:"network-only"}),r=this.queryManager.generateQueryId();return this.queryManager.fetchQuery(r,n,jM.normal,this.queryId).then((function(o){return t.updateQuery((function(t){return e.updateQuery(t,{fetchMoreResult:o.data,variables:n.variables})})),t.queryManager.stopQuery(r),o}),(function(e){throw t.queryManager.stopQuery(r),e}))},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables}).subscribe({next:function(n){var r=e.updateQuery;r&&t.updateQuery((function(e,t){var o=t.variables;return r(e,{subscriptionData:n,variables:o})}))},error:function(t){e.onError&&e.onError(t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){var t=this.options.fetchPolicy;this.options=XD(XD({},this.options),e),e.pollInterval?this.startPolling(e.pollInterval):0===e.pollInterval&&this.stopPolling();var n=e.fetchPolicy;return this.setVariables(this.options.variables,t!==n&&("cache-only"===t||"standby"===t||"network-only"===n),e.fetchResults)},t.prototype.setVariables=function(e,t,n){return void 0===t&&(t=!1),void 0===n&&(n=!0),this.isTornDown=!1,e=e||this.variables,!t&&kP(e,this.variables)?this.observers.size&&n?this.result():Promise.resolve():(this.variables=this.options.variables=e,this.observers.size?this.queryManager.fetchQuery(this.queryId,this.options):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,n=t.getQueryWithPreviousResult(this.queryId),r=n.previousResult,o=n.variables,i=n.document,a=uM((function(){return e(r,{variables:o})}));a&&(t.dataStore.markUpdateQueryResult(i,o,a),t.broadcastQueries())},t.prototype.stopPolling=function(){this.queryManager.stopPollingQuery(this.queryId),this.options.pollInterval=void 0},t.prototype.startPolling=function(e){UM(this),this.options.pollInterval=e,this.queryManager.startPollingQuery(this.options,this.queryId)},t.prototype.updateLastResult=function(e){var t=this.lastResult;return this.lastResult=e,this.lastResultSnapshot=this.queryManager.assumeImmutableResults?e:iM(e),t},t.prototype.onSubscribe=function(e){var t=this;try{var n=e._subscription._observer;n&&!n.error&&(n.error=HM)}catch(e){}var r=!this.observers.size;return this.observers.add(e),e.next&&this.lastResult&&e.next(this.lastResult),e.error&&this.lastError&&e.error(this.lastError),r&&this.setUpQuery(),function(){t.observers.delete(e)&&!t.observers.size&&t.tearDownQuery()}},t.prototype.setUpQuery=function(){var e=this,t=this.queryManager,n=this.queryId;this.shouldSubscribe&&t.addObservableQuery(n,this),this.options.pollInterval&&(UM(this),t.startPollingQuery(this.options,n));var r=function(t){e.updateLastResult(XD(XD({},e.lastResult),{errors:t.graphQLErrors,networkStatus:PM.error,loading:!1})),zM(e.observers,"error",e.lastError=t)};t.observeQuery(n,this.options,{next:function(n){if(e.lastError||e.isDifferentFromLastResult(n)){var r=e.updateLastResult(n),o=e.options,i=o.query,a=o.variables,s=o.fetchPolicy;t.transform(i).hasClientExports?t.getLocalState().addExportedVariables(i,a).then((function(o){var a=e.variables;e.variables=e.options.variables=o,!n.loading&&r&&"cache-only"!==s&&t.transform(i).serverQuery&&!kP(a,o)?e.refetch():zM(e.observers,"next",n)})):zM(e.observers,"next",n)}},error:r}).catch(r)},t.prototype.tearDownQuery=function(){var e=this.queryManager;this.isTornDown=!0,e.stopPollingQuery(this.queryId),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),e.removeObservableQuery(this.queryId),e.stopQuery(this.queryId),this.observers.clear()},t}(RM);function HM(e){}function zM(e,t,n){var r=[];e.forEach((function(e){return e[t]&&r.push(e)})),r.forEach((function(e){return e[t](n)}))}function UM(e){var t=e.options.fetchPolicy;dP("cache-first"!==t&&"cache-only"!==t,3)}var VM=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initMutation=function(e,t,n){this.store[e]={mutation:t,variables:n||{},loading:!0,error:null}},e.prototype.markMutationError=function(e,t){var n=this.store[e];n&&(n.loading=!1,n.error=t)},e.prototype.markMutationResult=function(e){var t=this.store[e];t&&(t.loading=!1,t.error=null)},e.prototype.reset=function(){this.store={}},e}(),GM=function(){function e(){this.store={}}return e.prototype.getStore=function(){return this.store},e.prototype.get=function(e){return this.store[e]},e.prototype.initQuery=function(e){var t=this.store[e.queryId];dP(!t||t.document===e.document||kP(t.document,e.document),19);var n,r=!1,o=null;e.storePreviousVariables&&t&&t.networkStatus!==PM.loading&&(kP(t.variables,e.variables)||(r=!0,o=t.variables)),n=r?PM.setVariables:e.isPoll?PM.poll:e.isRefetch?PM.refetch:PM.loading;var i=[];t&&t.graphQLErrors&&(i=t.graphQLErrors),this.store[e.queryId]={document:e.document,variables:e.variables,previousVariables:o,networkError:null,graphQLErrors:i,networkStatus:n,metadata:e.metadata},"string"==typeof e.fetchMoreForQueryId&&this.store[e.fetchMoreForQueryId]&&(this.store[e.fetchMoreForQueryId].networkStatus=PM.fetchMore)},e.prototype.markQueryResult=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=null,this.store[e].graphQLErrors=LM(t.errors)?t.errors:[],this.store[e].previousVariables=null,this.store[e].networkStatus=PM.ready,"string"==typeof n&&this.store[n]&&(this.store[n].networkStatus=PM.ready))},e.prototype.markQueryError=function(e,t,n){this.store&&this.store[e]&&(this.store[e].networkError=t,this.store[e].networkStatus=PM.error,"string"==typeof n&&this.markQueryResultClient(n,!0))},e.prototype.markQueryResultClient=function(e,t){var n=this.store&&this.store[e];n&&(n.networkError=null,n.previousVariables=null,t&&(n.networkStatus=PM.ready))},e.prototype.stopQuery=function(e){delete this.store[e]},e.prototype.reset=function(e){var t=this;Object.keys(this.store).forEach((function(n){e.indexOf(n)<0?t.stopQuery(n):t.store[n].networkStatus=PM.loading}))},e}();var WM=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,o=e.fragmentMatcher;this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),o&&this.setFragmentMatcher(o)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=pM(t.resolvers,e)})):this.resolvers=pM(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,n=e.remoteResult,r=e.context,o=e.variables,i=e.onlyRunForcedResolvers,a=void 0!==i&&i;return eP(this,void 0,void 0,(function(){return tP(this,(function(e){return t?[2,this.resolveDocument(t,n.data,r,o,this.fragmentMatcher,a).then((function(e){return XD(XD({},n),{data:e.result})}))]:[2,n]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return RP(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return this.resolvers?function(e){qP(e);var t=XP([{test:function(e){return"client"===e.name.value},remove:!0}],e);return t&&(t=oP(t,{FragmentDefinition:{enter:function(e){if(e.selectionSet&&e.selectionSet.selections.every((function(e){return AP(e)&&"__typename"===e.name.value})))return null}}})),t}(e):e},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.cache;return XD(XD({},e),{cache:t,getCacheKey:function(e){if(t.config)return t.config.dataIdFromObject(e);dP(!1,6)}})},e.prototype.addExportedVariables=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),eP(this,void 0,void 0,(function(){return tP(this,(function(r){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then((function(e){return XD(XD({},t),e.exportedVariables)}))]:[2,XD({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return oP(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return rP}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:nM(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,n,r,o,i){return void 0===n&&(n={}),void 0===r&&(r={}),void 0===o&&(o=function(){return!0}),void 0===i&&(i=!1),eP(this,void 0,void 0,(function(){var a,s,l,c,u,d,f,p,h;return tP(this,(function(m){var v;return a=VP(e),s=UP(e),l=GP(s),c=a.operation,u=c?(v=c).charAt(0).toUpperCase()+v.slice(1):"Query",f=(d=this).cache,p=d.client,h={fragmentMap:l,context:XD(XD({},n),{cache:f,client:p}),variables:r,fragmentMatcher:o,defaultOperationType:u,exportedVariables:{},onlyRunForcedResolvers:i},[2,this.resolveSelectionSet(a.selectionSet,t,h).then((function(e){return{result:e,exportedVariables:h.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,n){return eP(this,void 0,void 0,(function(){var r,o,i,a,s,l=this;return tP(this,(function(c){return r=n.fragmentMap,o=n.context,i=n.variables,a=[t],s=function(e){return eP(l,void 0,void 0,(function(){var s,l;return tP(this,(function(c){return NP(e,i)?AP(e)?[2,this.resolveField(e,t,n).then((function(t){var n;void 0!==t&&a.push(((n={})[IP(e)]=t,n))}))]:(DP(e)?s=e:dP(s=r[e.name.value],7),s&&s.typeCondition&&(l=s.typeCondition.name.value,n.fragmentMatcher(t,l,o))?[2,this.resolveSelectionSet(s.selectionSet,t,n).then((function(e){a.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(s)).then((function(){return hM(a)}))]}))}))},e.prototype.resolveField=function(e,t,n){return eP(this,void 0,void 0,(function(){var r,o,i,a,s,l,c,u,d,f=this;return tP(this,(function(p){return r=n.variables,o=e.name.value,i=IP(e),a=o!==i,s=t[i]||t[o],l=Promise.resolve(s),n.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(c=t.__typename||n.defaultOperationType,(u=this.resolvers&&this.resolvers[c])&&(d=u[a?o:i])&&(l=Promise.resolve(d(t,OP(e,r),n.context,{field:e,fragmentMap:n.fragmentMap})))),[2,l.then((function(t){return void 0===t&&(t=s),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=t)}))})),e.selectionSet?null==t?t:Array.isArray(t)?f.resolveSubSelectedArray(e,t,n):e.selectionSet?f.resolveSelectionSet(e.selectionSet,t,n):void 0:t}))]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,n){var r=this;return Promise.all(t.map((function(t){return null===t?null:Array.isArray(t)?r.resolveSubSelectedArray(e,t,n):e.selectionSet?r.resolveSelectionSet(e.selectionSet,t,n):void 0})))},e}();function YM(e){var t=new Set,n=null;return new RM((function(r){return t.add(r),n=n||e.subscribe({next:function(e){t.forEach((function(t){return t.next&&t.next(e)}))},error:function(e){t.forEach((function(t){return t.error&&t.error(e)}))},complete:function(){t.forEach((function(e){return e.complete&&e.complete()}))}}),function(){t.delete(r)&&!t.size&&n&&(n.unsubscribe(),n=null)}}))}var KM=Object.prototype.hasOwnProperty,QM=function(){function e(e){var t=e.link,n=e.queryDeduplication,r=void 0!==n&&n,o=e.store,i=e.onBroadcast,a=void 0===i?function(){}:i,s=e.ssrMode,l=void 0!==s&&s,c=e.clientAwareness,u=void 0===c?{}:c,d=e.localState,f=e.assumeImmutableResults;this.mutationStore=new VM,this.queryStore=new GM,this.clientAwareness={},this.idCounter=1,this.queries=new Map,this.fetchQueryRejectFns=new Map,this.transformCache=new(rM?WeakMap:Map),this.inFlightLinkObservables=new Map,this.pollingInfoByQueryId=new Map,this.link=t,this.queryDeduplication=r,this.dataStore=o,this.onBroadcast=a,this.clientAwareness=u,this.localState=d||new WM({cache:o.getCache()}),this.ssrMode=l,this.assumeImmutableResults=!!f}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,n){e.stopQueryNoBroadcast(n)})),this.fetchQueryRejectFns.forEach((function(e){e(new uP(8))}))},e.prototype.mutate=function(e){var t=e.mutation,n=e.variables,r=e.optimisticResponse,o=e.updateQueries,i=e.refetchQueries,a=void 0===i?[]:i,s=e.awaitRefetchQueries,l=void 0!==s&&s,c=e.update,u=e.errorPolicy,d=void 0===u?"none":u,f=e.fetchPolicy,p=e.context,h=void 0===p?{}:p;return eP(this,void 0,void 0,(function(){var e,i,s,u=this;return tP(this,(function(p){switch(p.label){case 0:return dP(t,9),dP(!f||"no-cache"===f,10),e=this.generateQueryId(),t=this.transform(t).document,this.setQuery(e,(function(){return{document:t}})),n=this.getVariables(t,n),this.transform(t).hasClientExports?[4,this.localState.addExportedVariables(t,n,h)]:[3,2];case 1:n=p.sent(),p.label=2;case 2:return i=function(){var e={};return o&&u.queries.forEach((function(t,n){var r=t.observableQuery;if(r){var i=r.queryName;i&&KM.call(o,i)&&(e[n]={updater:o[i],query:u.queryStore.get(n)})}})),e},this.mutationStore.initMutation(e,t,n),this.dataStore.markMutationInit({mutationId:e,document:t,variables:n,updateQueries:i(),update:c,optimisticResponse:r}),this.broadcastQueries(),s=this,[2,new Promise((function(o,u){var p,m;s.getObservableFromLink(t,XD(XD({},h),{optimisticResponse:r}),n,!1).subscribe({next:function(r){dM(r)&&"none"===d?m=new BM({graphQLErrors:r.errors}):(s.mutationStore.markMutationResult(e),"no-cache"!==f&&s.dataStore.markMutationResult({mutationId:e,result:r,document:t,variables:n,updateQueries:i(),update:c}),p=r)},error:function(t){s.mutationStore.markMutationError(e,t),s.dataStore.markMutationComplete({mutationId:e,optimisticResponse:r}),s.broadcastQueries(),s.setQuery(e,(function(){return{document:null}})),u(new BM({networkError:t}))},complete:function(){if(m&&s.mutationStore.markMutationError(e,m),s.dataStore.markMutationComplete({mutationId:e,optimisticResponse:r}),s.broadcastQueries(),m)u(m);else{"function"==typeof a&&(a=a(p));var t=[];LM(a)&&a.forEach((function(e){if("string"==typeof e)s.queries.forEach((function(n){var r=n.observableQuery;r&&r.queryName===e&&t.push(r.refetch())}));else{var n={query:e.query,variables:e.variables,fetchPolicy:"network-only"};e.context&&(n.context=e.context),t.push(s.query(n))}})),Promise.all(l?t:[]).then((function(){s.setQuery(e,(function(){return{document:null}})),"ignore"===d&&p&&dM(p)&&delete p.errors,o(p)}))}}})}))]}}))}))},e.prototype.fetchQuery=function(e,t,n,r){return eP(this,void 0,void 0,(function(){var o,i,a,s,l,c,u,d,f,p,h,m,v,g,y,b,_,w,k=this;return tP(this,(function(x){switch(x.label){case 0:return o=t.metadata,i=void 0===o?null:o,a=t.fetchPolicy,s=void 0===a?"cache-first":a,l=t.context,c=void 0===l?{}:l,u=this.transform(t.query).document,d=this.getVariables(u,t.variables),this.transform(u).hasClientExports?[4,this.localState.addExportedVariables(u,d,c)]:[3,2];case 1:d=x.sent(),x.label=2;case 2:if(t=XD(XD({},t),{variables:d}),h=p="network-only"===s||"no-cache"===s,p||(m=this.dataStore.getCache().diff({query:u,variables:d,returnPartialData:!0,optimistic:!1}),v=m.complete,g=m.result,h=!v||"cache-and-network"===s,f=g),y=h&&"cache-only"!==s&&"standby"!==s,RP(["live"],u)&&(y=!0),b=this.idCounter++,_="no-cache"!==s?this.updateQueryWatch(e,u,t):void 0,this.setQuery(e,(function(){return{document:u,lastRequestId:b,invalidated:!0,cancel:_}})),this.invalidate(r),this.queryStore.initQuery({queryId:e,document:u,storePreviousVariables:y,variables:d,isPoll:n===jM.poll,isRefetch:n===jM.refetch,metadata:i,fetchMoreForQueryId:r}),this.broadcastQueries(),y){if(w=this.fetchRequest({requestId:b,queryId:e,document:u,options:t,fetchMoreForQueryId:r}).catch((function(t){throw t.hasOwnProperty("graphQLErrors")?t:(b>=k.getQuery(e).lastRequestId&&(k.queryStore.markQueryError(e,t,r),k.invalidate(e),k.invalidate(r),k.broadcastQueries()),new BM({networkError:t}))})),"cache-and-network"!==s)return[2,w];w.catch((function(){}))}return this.queryStore.markQueryResultClient(e,!y),this.invalidate(e),this.invalidate(r),this.transform(u).hasForcedResolvers?[2,this.localState.runResolvers({document:u,remoteResult:{data:f},context:c,variables:d,onlyRunForcedResolvers:!0}).then((function(n){return k.markQueryResult(e,n,t,r),k.broadcastQueries(),n}))]:(this.broadcastQueries(),[2,{data:f}])}}))}))},e.prototype.markQueryResult=function(e,t,n,r){var o=n.fetchPolicy,i=n.variables,a=n.errorPolicy;"no-cache"===o?this.setQuery(e,(function(){return{newData:{result:t.data,complete:!0}}})):this.dataStore.markQueryResult(t,this.getQuery(e).document,i,r,"ignore"===a||"all"===a)},e.prototype.queryListenerForObserver=function(e,t,n){var r=this;function o(e,t){if(n[e])try{n[e](t)}catch(e){}}return function(n,i){if(r.invalidate(e,!1),n){var a=r.getQuery(e),s=a.observableQuery,l=a.document,c=s?s.options.fetchPolicy:t.fetchPolicy;if("standby"!==c){var u=NM(n.networkStatus),d=s&&s.getLastResult(),f=!(!d||d.networkStatus===n.networkStatus),p=t.returnPartialData||!i&&n.previousVariables||f&&t.notifyOnNetworkStatusChange||"cache-only"===c||"cache-and-network"===c;if(!u||p){var h=LM(n.graphQLErrors),m=s&&s.options.errorPolicy||t.errorPolicy||"none";if("none"===m&&h||n.networkError)return o("error",new BM({graphQLErrors:n.graphQLErrors,networkError:n.networkError}));try{var v=void 0,g=void 0;if(i)"no-cache"!==c&&"network-only"!==c&&r.setQuery(e,(function(){return{newData:null}})),v=i.result,g=!i.complete;else{var y=s&&s.getLastError(),b="none"!==m&&(y&&y.graphQLErrors)!==n.graphQLErrors;if(d&&d.data&&!b)v=d.data,g=!1;else{var _=r.dataStore.getCache().diff({query:l,variables:n.previousVariables||n.variables,returnPartialData:!0,optimistic:!0});v=_.result,g=!_.complete}}var w=g&&!(t.returnPartialData||"cache-only"===c),k={data:w?d&&d.data:v,loading:u,networkStatus:n.networkStatus,stale:w};"all"===m&&h&&(k.errors=n.graphQLErrors),o("next",k)}catch(e){o("error",new BM({networkError:e}))}}}}}},e.prototype.transform=function(e){var t,n=this.transformCache;if(!n.has(e)){var r=this.dataStore.getCache(),o=r.transformDocument(e),i=(t=r.transformForLink(o),XP([eM],qP(t))),a=this.localState.clientQuery(o),s=this.localState.serverQuery(i),l={document:o,hasClientExports:LP(o),hasForcedResolvers:this.localState.shouldForceResolvers(o),clientQuery:a,serverQuery:s,defaultVars:WP(HP(o))},c=function(e){e&&!n.has(e)&&n.set(e,l)};c(e),c(o),c(a),c(s)}return n.get(e)},e.prototype.getVariables=function(e,t){return XD(XD({},this.transform(e).defaultVars),t)},e.prototype.watchQuery=function(e,t){void 0===t&&(t=!0),dP("standby"!==e.fetchPolicy,11),e.variables=this.getVariables(e.query,e.variables),void 0===e.notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var n=XD({},e);return new qM({queryManager:this,options:n,shouldSubscribe:t})},e.prototype.query=function(e){var t=this;return dP(e.query,12),dP("Document"===e.query.kind,13),dP(!e.returnPartialData,14),dP(!e.pollInterval,15),new Promise((function(n,r){var o=t.watchQuery(e,!1);t.fetchQueryRejectFns.set("query:"+o.queryId,r),o.result().then(n,r).then((function(){return t.fetchQueryRejectFns.delete("query:"+o.queryId)}))}))},e.prototype.generateQueryId=function(){return String(this.idCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){this.stopPollingQuery(e),this.queryStore.stopQuery(e),this.invalidate(e)},e.prototype.addQueryListener=function(e,t){this.setQuery(e,(function(e){return e.listeners.add(t),{invalidated:!1}}))},e.prototype.updateQueryWatch=function(e,t,n){var r=this,o=this.getQuery(e).cancel;o&&o();return this.dataStore.getCache().watch({query:t,variables:n.variables,optimistic:!0,previousResult:function(){var t=null,n=r.getQuery(e).observableQuery;if(n){var o=n.getLastResult();o&&(t=o.data)}return t},callback:function(t){r.setQuery(e,(function(){return{invalidated:!0,newData:t}}))}})},e.prototype.addObservableQuery=function(e,t){this.setQuery(e,(function(){return{observableQuery:t}}))},e.prototype.removeObservableQuery=function(e){var t=this.getQuery(e).cancel;this.setQuery(e,(function(){return{observableQuery:null}})),t&&t()},e.prototype.clearStore=function(){this.fetchQueryRejectFns.forEach((function(e){e(new uP(16))}));var e=[];return this.queries.forEach((function(t,n){t.observableQuery&&e.push(n)})),this.queryStore.reset(e),this.mutationStore.reset(),this.dataStore.reset()},e.prototype.resetStore=function(){var e=this;return this.clearStore().then((function(){return e.reFetchObservableQueries()}))},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var n=[];return this.queries.forEach((function(r,o){var i=r.observableQuery;if(i){var a=i.options.fetchPolicy;i.resetLastResults(),"cache-only"===a||!e&&"standby"===a||n.push(i.refetch()),t.setQuery(o,(function(){return{newData:null}})),t.invalidate(o)}})),this.broadcastQueries(),Promise.all(n)},e.prototype.observeQuery=function(e,t,n){return this.addQueryListener(e,this.queryListenerForObserver(e,t,n)),this.fetchQuery(e,t)},e.prototype.startQuery=function(e,t,n){return this.addQueryListener(e,n),this.fetchQuery(e,t).catch((function(){})),e},e.prototype.startGraphQLSubscription=function(e){var t=this,n=e.query,r=e.fetchPolicy,o=e.variables;n=this.transform(n).document,o=this.getVariables(n,o);var i=function(e){return t.getObservableFromLink(n,{},e,!1).map((function(o){if(r&&"no-cache"===r||(t.dataStore.markSubscriptionResult(o,n,e),t.broadcastQueries()),dM(o))throw new BM({graphQLErrors:o.errors});return o}))};if(this.transform(n).hasClientExports){var a=this.localState.addExportedVariables(n,o).then(i);return new RM((function(e){var t=null;return a.then((function(n){return t=n.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return i(o)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchQueryRejectFns.delete("query:"+e),this.fetchQueryRejectFns.delete("fetchRequest:"+e),this.getQuery(e).subscriptions.forEach((function(e){return e.unsubscribe()})),this.queries.delete(e)},e.prototype.getCurrentQueryResult=function(e,t){void 0===t&&(t=!0);var n=e.options,r=n.variables,o=n.query,i=n.fetchPolicy,a=n.returnPartialData,s=e.getLastResult(),l=this.getQuery(e.queryId).newData;if(l&&l.complete)return{data:l.result,partial:!1};if("no-cache"===i||"network-only"===i)return{data:void 0,partial:!1};var c=this.dataStore.getCache().diff({query:o,variables:r,previousResult:s?s.data:void 0,returnPartialData:!0,optimistic:t}),u=c.result,d=c.complete;return{data:d||a?u:void 0,partial:!d}},e.prototype.getQueryWithPreviousResult=function(e){var t;if("string"==typeof e){var n=this.getQuery(e).observableQuery;dP(n,17),t=n}else t=e;var r=t.options,o=r.variables,i=r.query;return{previousResult:this.getCurrentQueryResult(t,!1).data,variables:o,document:i}},e.prototype.broadcastQueries=function(){var e=this;this.onBroadcast(),this.queries.forEach((function(t,n){t.invalidated&&t.listeners.forEach((function(r){r&&r(e.queryStore.get(n),t.newData)}))}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,n,r){var o,i=this;void 0===r&&(r=this.queryDeduplication);var a=this.transform(e).serverQuery;if(a){var s=this.inFlightLinkObservables,l=this.link,c={query:a,variables:n,operationName:zP(a)||void 0,context:this.prepareContext(XD(XD({},t),{forceFetch:!r}))};if(t=c.context,r){var u=s.get(a)||new Map;s.set(a,u);var d=JSON.stringify(n);if(!(o=u.get(d))){u.set(d,o=YM(DM(l,c)));var f=function(){u.delete(d),u.size||s.delete(a),p.unsubscribe()},p=o.subscribe({next:f,error:f,complete:f})}}else o=YM(DM(l,c))}else o=RM.of({data:{}}),t=this.prepareContext(t);var h=this.transform(e).clientQuery;return h&&(o=function(e,t){return new RM((function(n){var r=n.next,o=n.error,i=n.complete,a=0,s=!1,l={next:function(e){++a,new Promise((function(n){n(t(e))})).then((function(e){--a,r&&r.call(n,e),s&&l.complete()}),(function(e){--a,o&&o.call(n,e)}))},error:function(e){o&&o.call(n,e)},complete:function(){s=!0,a||i&&i.call(n)}},c=e.subscribe(l);return function(){return c.unsubscribe()}}))}(o,(function(e){return i.localState.runResolvers({document:h,remoteResult:e,context:t,variables:n})}))),o},e.prototype.fetchRequest=function(e){var t,n,r=this,o=e.requestId,i=e.queryId,a=e.document,s=e.options,l=e.fetchMoreForQueryId,c=s.variables,u=s.errorPolicy,d=void 0===u?"none":u,f=s.fetchPolicy;return new Promise((function(e,u){var p=r.getObservableFromLink(a,s.context,c),h="fetchRequest:"+i;r.fetchQueryRejectFns.set(h,u);var m=function(){r.fetchQueryRejectFns.delete(h),r.setQuery(i,(function(e){e.subscriptions.delete(v)}))},v=p.map((function(e){if(o>=r.getQuery(i).lastRequestId&&(r.markQueryResult(i,e,s,l),r.queryStore.markQueryResult(i,e,l),r.invalidate(i),r.invalidate(l),r.broadcastQueries()),"none"===d&&LM(e.errors))return u(new BM({graphQLErrors:e.errors}));if("all"===d&&(n=e.errors),l||"no-cache"===f)t=e.data;else{var p=r.dataStore.getCache().diff({variables:c,query:a,optimistic:!1,returnPartialData:!0}),h=p.result;(p.complete||s.returnPartialData)&&(t=h)}})).subscribe({error:function(e){m(),u(e)},complete:function(){m(),e({data:t,errors:n,loading:!1,networkStatus:PM.ready,stale:!1})}});r.setQuery(i,(function(e){e.subscriptions.add(v)}))}))},e.prototype.getQuery=function(e){return this.queries.get(e)||{listeners:new Set,invalidated:!1,document:null,newData:null,lastRequestId:1,observableQuery:null,subscriptions:new Set}},e.prototype.setQuery=function(e,t){var n=this.getQuery(e),r=XD(XD({},n),t(n));this.queries.set(e,r)},e.prototype.invalidate=function(e,t){void 0===t&&(t=!0),e&&this.setQuery(e,(function(){return{invalidated:t}}))},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return XD(XD({},t),{clientAwareness:this.clientAwareness})},e.prototype.checkInFlight=function(e){var t=this.queryStore.get(e);return t&&t.networkStatus!==PM.ready&&t.networkStatus!==PM.error},e.prototype.startPollingQuery=function(e,t,n){var r=this,o=e.pollInterval;if(dP(o,18),!this.ssrMode){var i=this.pollingInfoByQueryId.get(t);i||this.pollingInfoByQueryId.set(t,i={}),i.interval=o,i.options=XD(XD({},e),{fetchPolicy:"network-only"});var a=function(){var e=r.pollingInfoByQueryId.get(t);e&&(r.checkInFlight(t)?s():r.fetchQuery(t,e.options,jM.poll).then(s,s))},s=function(){var e=r.pollingInfoByQueryId.get(t);e&&(clearTimeout(e.timeout),e.timeout=setTimeout(a,e.interval))};n&&this.addQueryListener(t,n),s()}return t},e.prototype.stopPollingQuery=function(e){this.pollingInfoByQueryId.delete(e)},e}(),JM=function(){function e(e){this.cache=e}return e.prototype.getCache=function(){return this.cache},e.prototype.markQueryResult=function(e,t,n,r,o){void 0===o&&(o=!1);var i=!dM(e);o&&dM(e)&&e.data&&(i=!0),!r&&i&&this.cache.write({result:e.data,dataId:"ROOT_QUERY",query:t,variables:n})},e.prototype.markSubscriptionResult=function(e,t,n){dM(e)||this.cache.write({result:e.data,dataId:"ROOT_SUBSCRIPTION",query:t,variables:n})},e.prototype.markMutationInit=function(e){var t,n=this;e.optimisticResponse&&(t="function"==typeof e.optimisticResponse?e.optimisticResponse(e.variables):e.optimisticResponse,this.cache.recordOptimisticTransaction((function(r){var o=n.cache;n.cache=r;try{n.markMutationResult({mutationId:e.mutationId,result:{data:t},document:e.document,variables:e.variables,updateQueries:e.updateQueries,update:e.update})}finally{n.cache=o}}),e.mutationId))},e.prototype.markMutationResult=function(e){var t=this;if(!dM(e.result)){var n=[{result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}],r=e.updateQueries;r&&Object.keys(r).forEach((function(o){var i=r[o],a=i.query,s=i.updater,l=t.cache.diff({query:a.document,variables:a.variables,returnPartialData:!0,optimistic:!1}),c=l.result;if(l.complete){var u=uM((function(){return s(c,{mutationResult:e.result,queryName:zP(a.document)||void 0,queryVariables:a.variables})}));u&&n.push({result:u,dataId:"ROOT_QUERY",query:a.document,variables:a.variables})}})),this.cache.performTransaction((function(t){n.forEach((function(e){return t.write(e)}));var r=e.update;r&&uM((function(){return r(t,e.result)}))}))}},e.prototype.markMutationComplete=function(e){var t=e.mutationId;e.optimisticResponse&&this.cache.removeOptimistic(t)},e.prototype.markUpdateQueryResult=function(e,t,n){this.cache.write({result:n,dataId:"ROOT_QUERY",variables:t,query:e})},e.prototype.reset=function(){return this.cache.reset()},e}(),ZM=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var n=e.cache,r=e.ssrMode,o=void 0!==r&&r,i=e.ssrForceFetchDelay,a=void 0===i?0:i,s=e.connectToDevTools,l=e.queryDeduplication,c=void 0===l||l,u=e.defaultOptions,d=e.assumeImmutableResults,f=void 0!==d&&d,p=e.resolvers,h=e.typeDefs,m=e.fragmentMatcher,v=e.name,g=e.version,y=e.link;if(!y&&p&&(y=AM.empty()),!y||!n)throw new uP(4);this.link=y,this.cache=n,this.store=new JM(n),this.disableNetworkFetches=o||a>0,this.queryDeduplication=c,this.defaultOptions=u||{},this.typeDefs=h,a&&setTimeout((function(){return t.disableNetworkFetches=!1}),a),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this);void 0!==s&&(s&&"undefined"!=typeof window)&&(window.__APOLLO_CLIENT__=this),this.version="2.6.10",this.localState=new WM({cache:n,client:this,resolvers:p,fragmentMatcher:m}),this.queryManager=new QM({link:this.link,store:this.store,queryDeduplication:c,ssrMode:o,clientAwareness:{name:v,version:g},localState:this.localState,assumeImmutableResults:f,onBroadcast:function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.queryStore.getStore(),mutations:t.queryManager.mutationStore.getStore()},dataWithOptimisticResults:t.cache.extract(!0)})}})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=XD(XD({},this.defaultOptions.watchQuery),e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=XD(XD({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=XD(XD({},this.defaultOptions.query),e)),dP("cache-and-network"!==e.fetchPolicy,5),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=XD(XD({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=XD(XD({},this.defaultOptions.mutate),e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return this.queryManager.broadcastQueries(),t},e.prototype.writeData=function(e){var t=this.cache.writeData(e);return this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return DM(this.link,e)},e.prototype.initQueryManager=function(){return this.queryManager},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e}();
vendor: 6,405 bytes, line 2
2var XM=function(e,t){return XM=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},XM(e,t)};var e$=function(){return e$=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},e$.apply(this,arguments)};var t$=function(){return t$=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},t$.apply(this,arguments)};var n$={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return o$(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=a$("(",o$(e.variableDefinitions,", "),")"),o=o$(e.directives," "),i=e.selectionSet;return n||o||r||"query"!==t?o$([t,o$([n,r]),o,i]," "):i},VariableDefinition:function(e){var t=e.variable,n=e.type,r=e.defaultValue,o=e.directives;return t+": "+n+a$(" = ",r)+a$(" ",o$(o," "))},SelectionSet:function(e){return i$(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,o=e.directives,i=e.selectionSet,a=a$("",t,": ")+n,s=a+a$("(",o$(r,", "),")");return s.length>80&&(s=a+a$("(\n",s$(o$(r,"\n")),"\n)")),o$([s,o$(o," "),i]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+a$(" ",o$(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return o$(["...",a$("on ",t),o$(n," "),r]," ")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,o=e.directives,i=e.selectionSet;return"fragment ".concat(t).concat(a$("(",o$(r,", "),")")," ")+"on ".concat(n," ").concat(a$("",o$(o," ")," "))+i},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf("\n"),o=" "===e[0]||"\t"===e[0],i='"'===e[e.length-1],a="\\"===e[e.length-1],s=!r||i||a||n,l="";return!s||r&&o||(l+="\n"+t),l+=t?e.replace(/\n/g,"\n"+t):e,s&&(l+="\n"),'"""'+l.replace(/"""/g,'\\"""')+'"""'}(n,"description"===t?"":" "):JSON.stringify(n)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+o$(e.values,", ")+"]"},ObjectValue:function(e){return"{"+o$(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+a$("(",o$(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:r$((function(e){var t=e.directives,n=e.operationTypes;return o$(["schema",o$(t," "),i$(n)]," ")})),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:r$((function(e){return o$(["scalar",e.name,o$(e.directives," ")]," ")})),ObjectTypeDefinition:r$((function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return o$(["type",t,a$("implements ",o$(n," & ")),o$(r," "),i$(o)]," ")})),FieldDefinition:r$((function(e){var t=e.name,n=e.arguments,r=e.type,o=e.directives;return t+(c$(n)?a$("(\n",s$(o$(n,"\n")),"\n)"):a$("(",o$(n,", "),")"))+": "+r+a$(" ",o$(o," "))})),InputValueDefinition:r$((function(e){var t=e.name,n=e.type,r=e.defaultValue,o=e.directives;return o$([t+": "+n,a$("= ",r),o$(o," ")]," ")})),InterfaceTypeDefinition:r$((function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return o$(["interface",t,a$("implements ",o$(n," & ")),o$(r," "),i$(o)]," ")})),UnionTypeDefinition:r$((function(e){var t=e.name,n=e.directives,r=e.types;return o$(["union",t,o$(n," "),r&&0!==r.length?"= "+o$(r," | "):""]," ")})),EnumTypeDefinition:r$((function(e){var t=e.name,n=e.directives,r=e.values;return o$(["enum",t,o$(n," "),i$(r)]," ")})),EnumValueDefinition:r$((function(e){return o$([e.name,o$(e.directives," ")]," ")})),InputObjectTypeDefinition:r$((function(e){var t=e.name,n=e.directives,r=e.fields;return o$(["input",t,o$(n," "),i$(r)]," ")})),DirectiveDefinition:r$((function(e){var t=e.name,n=e.arguments,r=e.repeatable,o=e.locations;return"directive @"+t+(c$(n)?a$("(\n",s$(o$(n,"\n")),"\n)"):a$("(",o$(n,", "),")"))+(r?" repeatable":"")+" on "+o$(o," | ")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return o$(["extend schema",o$(t," "),i$(n)]," ")},ScalarTypeExtension:function(e){return o$(["extend scalar",e.name,o$(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return o$(["extend type",t,a$("implements ",o$(n," & ")),o$(r," "),i$(o)]," ")},InterfaceTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return o$(["extend interface",t,a$("implements ",o$(n," & ")),o$(r," "),i$(o)]," ")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return o$(["extend union",t,o$(n," "),r&&0!==r.length?"= "+o$(r," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return o$(["extend enum",t,o$(n," "),i$(r)]," ")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return o$(["extend input",t,o$(n," "),i$(r)]," ")}};function r$(e){return function(t){return o$([t.description,e(t)],"\n")}}function o$(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(t=null==e?void 0:e.filter((function(e){return e})).join(n))&&void 0!==t?t:""}function i$(e){return a$("{\n",s$(o$(e,"\n")),"\n}")}function a$(e,t){return null!=t&&""!==t?e+t+(arguments.length>2&&void 0!==arguments[2]?arguments[2]:""):""}function s$(e){return a$(" ",e.replace(/\n/g,"\n "))}function l$(e){return-1!==e.indexOf("\n")}function c$(e){return null!=e&&e.some(l$)}var u$={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},d$=function(e,t,n){var r=new Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r},f$=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=t$({},t.options,{headers:t.headers,credentials:t.credentials}),i=t.http;
2n.forEach((function(e){o=t$({},o,e.options,{headers:t$({},o.headers,e.headers)}),e.credentials&&(o.credentials=e.credentials),i=t$({},i,e.http)}));var a=e.operationName,s=e.extensions,l=e.variables,c=e.query,u={operationName:a,variables:l};return i.includeExtensions&&(u.extensions=s),i.includeQuery&&(u.query=oP(c,{leave:n$})),{options:o,body:u}},p$=function(e,t){var n;try{n=JSON.stringify(e)}catch(e){var r=new uP(2);throw r.parseError=e,r}return n},h$=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,r=e.fetch,o=e.includeExtensions,i=e.useGETForQueries,a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["uri","fetch","includeExtensions","useGETForQueries"]);!function(e){if(!e&&"undefined"==typeof fetch)throw new uP(1)}(r),r||(r=fetch);var s={http:{includeExtensions:o},options:a.fetchOptions,credentials:a.credentials,headers:a.headers};return new AM((function(e){var t=function(e,t){var n=e.getContext().uri;return n||("function"==typeof t?t(e):t||"/graphql")}(e,n),o=e.getContext(),a={};if(o.clientAwareness){var l=o.clientAwareness,c=l.name,u=l.version;c&&(a["apollographql-client-name"]=c),u&&(a["apollographql-client-version"]=u)}var d,f=e$({},a,o.headers),p={http:o.http,options:o.fetchOptions,credentials:o.credentials,headers:f},h=f$(e,u$,s,p),m=h.options,v=h.body;if(!m.signal){var g=function(){if("undefined"==typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController;return{controller:e,signal:e.signal}}(),y=g.controller,b=g.signal;(d=y)&&(m.signal=b)}if(i&&!e.query.definitions.some((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))&&(m.method="GET"),"GET"===m.method){var _=function(e,t){var n=[],r=function(e,t){n.push(e+"="+encodeURIComponent(t))};"query"in t&&r("query",t.query);t.operationName&&r("operationName",t.operationName);if(t.variables){var o=void 0;try{o=p$(t.variables)}catch(e){return{parseError:e}}r("variables",o)}if(t.extensions){var i=void 0;try{i=p$(t.extensions)}catch(e){return{parseError:e}}r("extensions",i)}var a="",s=e,l=e.indexOf("#");-1!==l&&(a=e.substr(l),s=e.substr(0,l));var c=-1===s.indexOf("?")?"?":"&",u=s+c+n.join("&")+a;return{newURI:u}}(t,v),w=_.newURI,k=_.parseError;if(k)return xM(k);t=w}else try{m.body=p$(v)}catch(k){return xM(k)}return new bM((function(n){var o;return r(t,m).then((function(t){return e.setContext({response:t}),t})).then((o=e,function(e){return e.text().then((function(t){try{return JSON.parse(t)}catch(r){var n=r;return n.name="ServerParseError",n.response=e,n.statusCode=e.status,n.bodyText=t,Promise.reject(n)}})).then((function(t){return e.status>=300&&d$(e,t,"Response not successful: Received status code "+e.status),Array.isArray(t)||t.hasOwnProperty("data")||t.hasOwnProperty("errors")||d$(e,t,"Server response was missing for query '"+(Array.isArray(o)?o.map((function(e){return e.operationName})):o.operationName)+"'."),t}))})).then((function(e){return n.next(e),n.complete(),e})).catch((function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&n.next(e.result),n.error(e))})),function(){d&&d.abort()}}))}))};var m$=function(e){function t(t){return e.call(this,h$(t).request)||this}return function(e,t){function n(){this.constructor=e}XM(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t}(AM);var v$=function(e,t){return v$=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},v$(e,t)};function g$(e,t){function n(){this.constructor=e}v$(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var y$=function(){return y$=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},y$.apply(this,arguments)};function b$(e){return{kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:_$(e)}]}}function _$(e){if("number"==typeof e||"boolean"==typeof e||"string"==typeof e||null==e)return null;if(Array.isArray(e))return _$(e[0]);var t=[];return Object.keys(e).forEach((function(n){var r={kind:"Field",name:{kind:"Name",value:n},selectionSet:_$(e[n])||void 0};t.push(r)})),{kind:"SelectionSet",selections:t}}var w$,k$={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:null,variableDefinitions:null,directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:null,name:{kind:"Name",value:"__typename"},arguments:[],directives:[],selectionSet:null}]}}]},x$=function(){function e(){}return e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.read({query:e.query,variables:e.variables,optimistic:t})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.read({query:FP(e.fragment,e.fragmentName),variables:e.variables,rootId:e.id,optimistic:t})},e.prototype.writeQuery=function(e){this.write({dataId:"ROOT_QUERY",result:e.data,query:e.query,variables:e.variables})},e.prototype.writeFragment=function(e){this.write({dataId:e.id,result:e.data,variables:e.variables,query:FP(e.fragment,e.fragmentName)})},e.prototype.writeData=function(e){var t,n,r=e.id,o=e.data;if(void 0!==r){var i=null;try{i=this.read({rootId:r,optimistic:!1,query:k$})}catch(e){}var a=i&&i.__typename||"__ClientData",s=Object.assign({__typename:a},o);this.writeFragment({id:r,fragment:(t=s,n=a,{kind:"Document",definitions:[{kind:"FragmentDefinition",typeCondition:{kind:"NamedType",name:{kind:"Name",value:n||"__FakeType"}},name:{kind:"Name",value:"GeneratedClientQuery"},selectionSet:_$(t)}]}),data:s})}else this.writeQuery({query:b$(o),data:o})},e}();w$||(w$={});var C$=null,S$={},E$=1,T$="@wry/context:Slot",O$=Array,I$=O$[T$]||function(){var e=function(){function e(){this.id=["slot",E$++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var e=C$;e;e=e.parent)if(this.id in e.slots){var t=e.slots[this.id];if(t===S$)break;return e!==C$&&(C$.slots[this.id]=t),!0}return C$&&(C$.slots[this.id]=S$),!1},e.prototype.getValue=function(){if(this.hasValue())return C$.slots[this.id]},e.prototype.withValue=function(e,t,n,r){var o,i=((o={__proto__:null})[this.id]=e,o),a=C$;C$={parent:a,slots:i};try{return t.apply(r,n)}finally{C$=a}},e.bind=function(e){var t=C$;return function(){var n=C$;try{return C$=t,e.apply(this,arguments)}finally{C$=n}}},e.noContext=function(e,t,n){if(!C$)return e.apply(n,t);var r=C$;try{return C$=null,e.apply(n,t)}finally{C$=r}},e}();try{Object.defineProperty(O$,T$,{value:O$[T$]=e,enumerable:!1,writable:!1,
vendor: 4,362 bytes, line 2
2configurable:!1})}finally{return e}}();I$.bind,I$.noContext;function A$(){}var D$=function(){function e(e,t){void 0===e&&(e=1/0),void 0===t&&(t=A$),this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}return e.prototype.has=function(e){return this.map.has(e)},e.prototype.get=function(e){var t=this.getEntry(e);return t&&t.value},e.prototype.getEntry=function(e){var t=this.map.get(e);if(t&&t!==this.newest){var n=t.older,r=t.newer;r&&(r.older=n),n&&(n.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t},e.prototype.set=function(e,t){var n=this.getEntry(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(e,n),n.value)},e.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},e.prototype.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)},e}(),P$=new I$,M$=[],$$=[];function N$(e,t){if(!e)throw new Error(t||"assertion failure")}function R$(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var L$=function(){function e(t,n){this.fn=t,this.args=n,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],++e.count}return e.prototype.recompute=function(){if(N$(!this.recomputing,"already recomputing"),function(e){var t=P$.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),F$(e)?H$(t,e):z$(t,e),t}(this)||!V$(this))return F$(this)?function(e){var t=G$(e);P$.withValue(e,j$,[e]),function(e){if("function"==typeof e.subscribe)try{Y$(e),e.unsubscribe=e.subscribe.apply(null,e.args)}catch(t){return e.setDirty(),!1}return!0}(e)&&function(e){if(e.dirty=!1,F$(e))return;q$(e)}(e);return t.forEach(V$),R$(e.value)}(this):R$(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,B$(this),Y$(this))},e.prototype.dispose=function(){var e=this;G$(this).forEach(V$),Y$(this),this.parents.forEach((function(t){t.setDirty(),W$(t,e)}))},e.count=0,e}();function j$(e){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,e.args)}catch(t){e.value[1]=t}e.recomputing=!1}function F$(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function B$(e){e.parents.forEach((function(t){return H$(t,e)}))}function q$(e){e.parents.forEach((function(t){return z$(t,e)}))}function H$(e,t){if(N$(e.childValues.has(t)),N$(F$(t)),e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=$$.pop()||new Set;e.dirtyChildren.add(t),B$(e)}function z$(e,t){N$(e.childValues.has(t)),N$(!F$(t));var n,r,o,i=e.childValues.get(t);0===i.length?e.childValues.set(t,t.value.slice(0)):(n=i,r=t.value,(o=n.length)>0&&o===r.length&&n[o-1]===r[o-1]||e.setDirty()),U$(e,t),F$(e)||q$(e)}function U$(e,t){var n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&($$.length<100&&$$.push(n),e.dirtyChildren=null))}function V$(e){return 0===e.parents.size&&"function"==typeof e.reportOrphan&&!0===e.reportOrphan()}function G$(e){var t=M$;return e.childValues.size>0&&(t=[],e.childValues.forEach((function(n,r){W$(e,r),t.push(r)}))),N$(null===e.dirtyChildren),t}function W$(e,t){t.parents.delete(e),e.childValues.delete(t),U$(e,t)}function Y$(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=void 0,t())}var K$=function(){function e(e){this.weakness=e}return e.prototype.lookup=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.lookupArray(e)},e.prototype.lookupArray=function(e){var t=this;return e.forEach((function(e){return t=t.getChildTrie(e)})),t.data||(t.data=Object.create(null))},e.prototype.getChildTrie=function(t){var n=this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(t)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),r=n.get(t);return r||n.set(t,r=new e(this.weakness)),r},e}();var Q$=new K$("function"==typeof WeakMap);function J$(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Q$.lookupArray(e)}var Z$=new Set;
vendor: 4,904 bytes, line 2
2function X$(e,t){void 0===t&&(t=Object.create(null));var n=new D$(t.max||Math.pow(2,16),(function(e){return e.dispose()})),r=!!t.disposable,o=t.makeCacheKey||J$;function i(){if(!r||P$.hasValue()){var i=o.apply(null,arguments);if(void 0===i)return e.apply(null,arguments);var a=Array.prototype.slice.call(arguments),s=n.get(i);s?s.args=a:(s=new L$(e,a),n.set(i,s),s.subscribe=t.subscribe,r&&(s.reportOrphan=function(){return n.delete(i)}));var l=s.recompute();return n.set(i,s),Z$.add(n),P$.hasValue()||(Z$.forEach((function(e){return e.clean()})),Z$.clear()),r?void 0:l}}return i.dirty=function(){var e=o.apply(null,arguments),t=void 0!==e&&n.get(e);t&&t.setDirty()},i}var eN=!1;function tN(){var e=!eN;return cM()||(eN=!0),e}var nN=function(){function e(){}return e.prototype.ensureReady=function(){return Promise.resolve()},e.prototype.canBypassInit=function(){return!0},e.prototype.match=function(e,t,n){var r=n.store.get(e.id),o="ROOT_QUERY"===e.id;if(!r)return o;var i=r.__typename,a=void 0===i?o&&"Query":i;return a&&a===t||(tN(),"heuristic")},e}(),rN=(function(){function e(e){e&&e.introspectionQueryResultData?(this.possibleTypesMap=this.parseIntrospectionResult(e.introspectionQueryResultData),this.isReady=!0):this.isReady=!1,this.match=this.match.bind(this)}e.prototype.match=function(e,t,n){dP(this.isReady,1);var r=n.store.get(e.id),o="ROOT_QUERY"===e.id;if(!r)return o;var i=r.__typename,a=void 0===i?o&&"Query":i;if(dP(a,2),a===t)return!0;var s=this.possibleTypesMap[t];return!!(a&&s&&s.indexOf(a)>-1)},e.prototype.parseIntrospectionResult=function(e){var t={};return e.__schema.types.forEach((function(e){"UNION"!==e.kind&&"INTERFACE"!==e.kind||(t[e.name]=e.possibleTypes.map((function(e){return e.name})))})),t}}(),Object.prototype.hasOwnProperty),oN=function(){function e(e){var t=this;void 0===e&&(e=Object.create(null)),this.data=e,this.depend=X$((function(e){return t.data[e]}),{disposable:!0,makeCacheKey:function(e){return e}})}return e.prototype.toObject=function(){return this.data},e.prototype.get=function(e){return this.depend(e),this.data[e]},e.prototype.set=function(e,t){t!==this.data[e]&&(this.data[e]=t,this.depend.dirty(e))},e.prototype.delete=function(e){rN.call(this.data,e)&&(delete this.data[e],this.depend.dirty(e))},e.prototype.clear=function(){this.replace(null)},e.prototype.replace=function(e){var t=this;e?(Object.keys(e).forEach((function(n){t.set(n,e[n])})),Object.keys(this.data).forEach((function(n){rN.call(e,n)||t.delete(n)}))):Object.keys(this.data).forEach((function(e){t.delete(e)}))},e}();function iN(e){return new oN(e)}var aN=function(){function e(e){var t=this,n=void 0===e?{}:e,r=n.cacheKeyRoot,o=void 0===r?new K$(rM):r,i=n.freezeResults,a=void 0!==i&&i,s=this,l=s.executeStoreQuery,c=s.executeSelectionSet,u=s.executeSubSelectedArray;this.freezeResults=a,this.executeStoreQuery=X$((function(e){return l.call(t,e)}),{makeCacheKey:function(e){var t=e.query,n=e.rootValue,r=e.contextValue,i=e.variableValues,a=e.fragmentMatcher;if(r.store instanceof oN)return o.lookup(r.store,t,a,JSON.stringify(i),n.id)}}),this.executeSelectionSet=X$((function(e){return c.call(t,e)}),{makeCacheKey:function(e){var t=e.selectionSet,n=e.rootValue,r=e.execContext;if(r.contextValue.store instanceof oN)return o.lookup(r.contextValue.store,t,r.fragmentMatcher,JSON.stringify(r.variableValues),n.id)}}),this.executeSubSelectedArray=X$((function(e){return u.call(t,e)}),{makeCacheKey:function(e){var t=e.field,n=e.array,r=e.execContext;if(r.contextValue.store instanceof oN)return o.lookup(r.contextValue.store,t,n,JSON.stringify(r.variableValues))}})}return e.prototype.readQueryFromStore=function(e){return this.diffQueryAgainstStore(y$(y$({},e),{returnPartialData:!1})).result},e.prototype.diffQueryAgainstStore=function(e){var t,n=e.store,r=e.query,o=e.variables,i=e.previousResult,a=e.returnPartialData,s=void 0===a||a,l=e.rootId,c=void 0===l?"ROOT_QUERY":l,u=e.fragmentMatcherFunction,d=e.config;o=BP({},WP((dP((t=HP(r))&&"query"===t.operation,6),t)),o);var f={store:n,dataIdFromObject:d&&d.dataIdFromObject,cacheRedirects:d&&d.cacheRedirects||{}},p=this.executeStoreQuery({query:r,rootValue:{type:"id",id:c,generated:!0,typename:"Query"},contextValue:f,variableValues:o,fragmentMatcher:u}),h=p.missing&&p.missing.length>0;return h&&!s&&p.missing.forEach((function(e){if(!e.tolerable)throw new uP(8)})),i&&kP(i,p.result)&&(p.result=i),{result:p.result,complete:!h}},e.prototype.executeStoreQuery=function(e){var t=e.query,n=e.rootValue,r=e.contextValue,o=e.variableValues,i=e.fragmentMatcher,a=void 0===i?lN:i,s=VP(t),l={query:t,fragmentMap:GP(UP(t)),contextValue:r,variableValues:o,fragmentMatcher:a};return this.executeSelectionSet({selectionSet:s.selectionSet,rootValue:n,execContext:l})},e.prototype.executeSelectionSet=function(e){var t=this,n=e.selectionSet,r=e.rootValue,o=e.execContext,i=o.fragmentMap,a=o.contextValue,s=o.variableValues,l={result:null}
2,c=[],u=a.store.get(r.id),d=u&&u.__typename||"ROOT_QUERY"===r.id&&"Query"||void 0;function f(e){var t;return e.missing&&(l.missing=l.missing||[],(t=l.missing).push.apply(t,e.missing)),e.result}return n.selections.forEach((function(e){var n;if(NP(e,s))if(AP(e)){var l=f(t.executeField(u,d,e,o));void 0!==l&&c.push(((n={})[IP(e)]=l,n))}else{var p=void 0;if(DP(e))p=e;else if(!(p=i[e.name.value]))throw new uP(9);var h=p.typeCondition&&p.typeCondition.name.value,m=!h||o.fragmentMatcher(r,h,a);if(m){var v=t.executeSelectionSet({selectionSet:p.selectionSet,rootValue:r,execContext:o});"heuristic"===m&&v.missing&&(v=y$(y$({},v),{missing:v.missing.map((function(e){return y$(y$({},e),{tolerable:!0})}))})),c.push(f(v))}}})),l.result=hM(c),this.freezeResults,l},e.prototype.executeField=function(e,t,n,r){var o=r.variableValues,i=r.contextValue,a=function(e,t,n,r,o,i){i.resultKey;var a=i.directives,s=n;(r||a)&&(s=TP(s,r,a));var l=void 0;if(e&&void 0===(l=e[s])&&o.cacheRedirects&&"string"==typeof t){var c=o.cacheRedirects[t];if(c){var u=c[n];u&&(l=u(e,r,{getCacheKey:function(e){var t=o.dataIdFromObject(e);return t&&MP({id:t,typename:e.__typename})}}))}}if(void 0===l)return{result:l,missing:[{object:e,fieldName:s,tolerable:!1}]};d=l,null!=d&&"object"==typeof d&&"json"===d.type&&(l=l.json);var d;return{result:l}}(e,t,n.name.value,OP(n,o),i,{resultKey:IP(n),directives:$P(n,o)});return Array.isArray(a.result)?this.combineExecResults(a,this.executeSubSelectedArray({field:n,array:a.result,execContext:r})):n.selectionSet?null==a.result?a:this.combineExecResults(a,this.executeSelectionSet({selectionSet:n.selectionSet,rootValue:a.result,execContext:r})):(sN(n,a.result),this.freezeResults,a)},e.prototype.combineExecResults=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.forEach((function(t){t.missing&&(e=e||[]).push.apply(e,t.missing)})),{result:t.pop().result,missing:e}},e.prototype.executeSubSelectedArray=function(e){var t,n=this,r=e.field,o=e.array,i=e.execContext;function a(e){return e.missing&&(t=t||[]).push.apply(t,e.missing),e.result}return o=o.map((function(e){return null===e?null:Array.isArray(e)?a(n.executeSubSelectedArray({field:r,array:e,execContext:i})):r.selectionSet?a(n.executeSelectionSet({selectionSet:r.selectionSet,rootValue:e,execContext:i})):(sN(r,e),e)})),this.freezeResults,{result:o,missing:t}},e}();function sN(e,t){if(!e.selectionSet&&PP(t))throw new uP(10)}function lN(){return!0}var cN=function(){function e(e){void 0===e&&(e=Object.create(null)),this.data=e}return e.prototype.toObject=function(){return this.data},e.prototype.get=function(e){return this.data[e]},e.prototype.set=function(e,t){this.data[e]=t},e.prototype.delete=function(e){this.data[e]=void 0},e.prototype.clear=function(){this.data=Object.create(null)},e.prototype.replace=function(e){this.data=e||Object.create(null)},e}();var uN=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="WriteError",t}return g$(t,e),t}(Error);var dN=function(){function e(){}return e.prototype.writeQueryToStore=function(e){var t=e.query,n=e.result,r=e.store,o=void 0===r?iN():r,i=e.variables,a=e.dataIdFromObject,s=e.fragmentMatcherFunction;return this.writeResultToStore({dataId:"ROOT_QUERY",result:n,document:t,store:o,variables:i,dataIdFromObject:a,fragmentMatcherFunction:s})},e.prototype.writeResultToStore=function(e){var t=e.dataId,n=e.result,r=e.document,o=e.store,i=void 0===o?iN():o,a=e.variables,s=e.dataIdFromObject,l=e.fragmentMatcherFunction,c=HP(r);try{return this.writeSelectionSetToStore({result:n,dataId:t,selectionSet:c.selectionSet,context:{store:i,processedData:{},variables:BP({},WP(c),a),dataIdFromObject:s,fragmentMap:GP(UP(r)),fragmentMatcherFunction:l}})}catch(e){throw function(e,t){var n=new uN("Error writing result to store for query:\n "+JSON.stringify(t));return n.message+="\n"+e.message,n.stack=e.stack,n}(e,r)}},e.prototype.writeSelectionSetToStore=function(e){var t=this,n=e.result,r=e.dataId,o=e.selectionSet,i=e.context,a=i.variables,s=i.store,l=i.fragmentMap;return o.selections.forEach((function(e){var o;if(NP(e,a))if(AP(e)){var s=IP(e),c=n[s];if(void 0!==c)t.writeFieldToStore({dataId:r,value:c,field:e,context:i});else{var u=!1,d=!1;e.directives&&e.directives.length&&(u=e.directives.some((function(e){return e.name&&"defer"===e.name.value})),d=e.directives.some((function(e){return e.name&&"client"===e.name.value}))),!u&&!d&&i.fragmentMatcherFunction}}else{var f=void 0;DP(e)?f=e:dP(f=(l||{})[e.name.value],3);var p=!0;if(i.fragmentMatcherFunction&&f.typeCondition){var h=r||"self",m=MP({id:h,typename:void 0}),v={store:new cN((o={},o[h]=n,o)),cacheRedirects:{}},g=i.fragmentMatcherFunction(m,f.typeCondition.name.value,v);lM(),p=!!g}p&&t.writeSelectionSetToStore({result:n,selectionSet:f.selectionSet,dataId:r,context:i})}})),s},e.prototype.writeFieldToStore=function(e){var t,n,r,o=e.field,i=e.value,a=e.dataId,s=e.context,l=s.variables,c=s.dataIdFromObject,u=s.store,d=function(e,t){var n=null;e.directives&&(n={}
vendor: 5,474 bytes, line 2
2,e.directives.forEach((function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach((function(r){var o=r.name,i=r.value;return SP(n[e.name.value],o,i,t)}))})));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach((function(e){var n=e.name,o=e.value;return SP(r,n,o,t)}))),TP(e.name.value,r,n)}(o,l);if(o.selectionSet&&null!==i)if(Array.isArray(i)){var f=a+"."+d;n=this.processArrayValue(i,f,o.selectionSet,s)}else{var p=a+"."+d,h=!0;if(fN(p)||(p="$"+p),c){var m=c(i);dP(!m||!fN(m),4),(m||"number"==typeof m&&0===m)&&(p=m,h=!1)}hN(p,o,s.processedData)||this.writeSelectionSetToStore({dataId:p,result:i,selectionSet:o.selectionSet,context:s});var v=i.__typename;n=MP({id:p,typename:v},h);var g=(r=u.get(a))&&r[d];if(g!==n&&PP(g)){var y=void 0!==g.typename,b=void 0!==v,_=y&&b&&g.typename!==v;dP(!h||g.generated||_,5),dP(!y||b,6),g.generated&&(_?h||u.delete(g.id):pN(g.id,n.id,u))}}else n=null!=i&&"object"==typeof i?{type:"json",json:i}:i;(r=u.get(a))&&kP(n,r[d])||u.set(a,y$(y$({},r),((t={})[d]=n,t)))},e.prototype.processArrayValue=function(e,t,n,r){var o=this;return e.map((function(e,i){if(null===e)return null;var a=t+"."+i;if(Array.isArray(e))return o.processArrayValue(e,a,n,r);var s=!0;if(r.dataIdFromObject){var l=r.dataIdFromObject(e);l&&(a=l,s=!1)}return hN(a,n,r.processedData)||o.writeSelectionSetToStore({dataId:a,result:e,selectionSet:n,context:r}),MP({id:a,typename:e.__typename},s)}))},e}();function fN(e){return"$"===e[0]}function pN(e,t,n){if(e===t)return!1;var r=n.get(e),o=n.get(t),i=!1;Object.keys(r).forEach((function(e){var t=r[e],a=o[e];PP(t)&&fN(t.id)&&PP(a)&&!kP(t,a)&&pN(t.id,a.id,n)&&(i=!0)})),n.delete(e);var a=y$(y$({},r),o);return kP(a,o)?i:(n.set(t,a),!0)}function hN(e,t,n){if(!n)return!1;if(n[e]){if(n[e].indexOf(t)>=0)return!0;n[e].push(t)}else n[e]=[t];return!1}var mN={fragmentMatcher:new nN,dataIdFromObject:function(e){if(e.__typename){if(void 0!==e.id)return e.__typename+":"+e.id;if(void 0!==e._id)return e.__typename+":"+e._id}return null},addTypename:!0,resultCaching:!0,freezeResults:!1};var vN=Object.prototype.hasOwnProperty,gN=function(e){function t(t,n,r){var o=e.call(this,Object.create(null))||this;return o.optimisticId=t,o.parent=n,o.transaction=r,o}return g$(t,e),t.prototype.toObject=function(){return y$(y$({},this.parent.toObject()),this.data)},t.prototype.get=function(e){return vN.call(this.data,e)?this.data[e]:this.parent.get(e)},t}(cN),yN=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;n.watches=new Set,n.typenameDocumentCache=new Map,n.cacheKeyRoot=new K$(rM),n.silenceBroadcast=!1,n.config=y$(y$({},mN),t),n.config.customResolvers&&(n.config.cacheRedirects=n.config.customResolvers),n.config.cacheResolvers&&(n.config.cacheRedirects=n.config.cacheResolvers),n.addTypename=!!n.config.addTypename,n.data=n.config.resultCaching?new oN:new cN,n.optimisticData=n.data,n.storeWriter=new dN,n.storeReader=new aN({cacheKeyRoot:n.cacheKeyRoot,freezeResults:t.freezeResults});var r=n,o=r.maybeBroadcastWatch;return n.maybeBroadcastWatch=X$((function(e){return o.call(n,e)}),{makeCacheKey:function(e){if(!e.optimistic&&!e.previousResult)return r.data instanceof oN?r.cacheKeyRoot.lookup(e.query,JSON.stringify(e.variables)):void 0}}),n}return g$(t,e),t.prototype.restore=function(e){return e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).toObject()},t.prototype.read=function(e){if("string"==typeof e.rootId&&void 0===this.data.get(e.rootId))return null;var t=this.config.fragmentMatcher,n=t&&t.match;return this.storeReader.readQueryFromStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,rootId:e.rootId,fragmentMatcherFunction:n,previousResult:e.previousResult,config:this.config})||null},t.prototype.write=function(e){var t=this.config.fragmentMatcher,n=t&&t.match;this.storeWriter.writeResultToStore({dataId:e.dataId,result:e.result,variables:e.variables,document:this.transformDocument(e.query),store:this.data,dataIdFromObject:this.config.dataIdFromObject,fragmentMatcherFunction:n}),this.broadcastWatches()},t.prototype.diff=function(e){var t=this.config.fragmentMatcher,n=t&&t.match;return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,query:this.transformDocument(e.query),variables:e.variables,returnPartialData:e.returnPartialData,previousResult:e.previousResult,fragmentMatcherFunction:n,config:this.config})},t.prototype.watch=function(e){var t=this;return this.watches.add(e),function(){t.watches.delete(e)}},t.prototype.evict=function(e){throw new uP(7)},t.prototype.reset=function(){return this.data.clear(),this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){for(var t=[],n=0,r=this.optimisticData;r instanceof gN;)r.optimisticId===e?++n:t.push(r),r=r.parent;if(n>0){for(this.optimisticData=r;t.length>0;){var o=t.pop();this.performTransaction(o.transaction,o.optimisticId)}this.broadcastWatches()}},t.prototype.performTransaction=function(e,t){var n=this.data,r=this.silenceBroadcast;this.silenceBroadcast=!0,"string"==typeof t&&(this.data=this.optimisticData=new gN(t,this.optimisticData,e));try{e(this)}finally{this.silenceBroadcast=r,this.data=n}this.broadcastWatches()},t.prototype.recordOptimisticTransaction=function(e,t){return this.performTransaction(e,t)},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.t
2ypenameDocumentCache.get(e);return t||(t=oP(qP(e),{SelectionSet:{enter:function(e,t,n){if(!n||"OperationDefinition"!==n.kind){var r=e.selections;if(r&&!r.some((function(e){return AP(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var o=n;if(!(AP(o)&&o.directives&&o.directives.some((function(e){return"export"===e.name.value}))))return hP(hP({},e),{selections:mP(r,[KP])})}}}}}),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(){var e=this;this.silenceBroadcast||this.watches.forEach((function(t){return e.maybeBroadcastWatch(t)}))},t.prototype.maybeBroadcastWatch=function(e){e.callback(this.diff({query:e.query,variables:e.variables,previousResult:e.previousResult&&e.previousResult(),optimistic:e.optimistic}))},t}(x$);function bN(e){return bN="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bN(e)}function _N(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wN(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function kN(e,t,n){return t&&wN(e.prototype,t),n&&wN(e,n),e}function xN(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function CN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function SN(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?CN(Object(n),!0).forEach((function(t){xN(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):CN(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function EN(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ON(e,t)}function TN(e){return TN=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},TN(e)}function ON(e,t){return ON=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ON(e,t)}function IN(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AN(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=TN(e);if(t){var o=TN(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?IN(e):t}(this,n)}}function DN(e,t,n){return DN="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=TN(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}},DN(e,t,n||e)}function PN(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||$N(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function MN(e){return function(e){if(Array.isArray(e))return NN(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||$N(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $N(e,t){if(e){if("string"==typeof e)return NN(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?NN(e,t):void 0}}function NN(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==__webpack_require__.g?__webpack_require__.g:"undefined"!=typeof self&&self;function RN(e,t){return e(t={exports:{}},t.exports),t.exports}var LN,jN=RN((function(e,t){!function(e){function t(e,t,n,r){var o,i=!1,a=0;function s(){o&&clearTimeout(o)}function l(){s(),i=!0}function c(){for(var l=arguments.length,c=new Array(l),u=0;u<l;u++)c[u]=arguments[u];var d=this,f=Date.now()-a;function p(){a=Date.now(),n.apply(d,c)}function h(){o=void 0}i||(r&&!o&&p(),s(),void 0===r&&f>e?p():!0!==t&&(o=setTimeout(r?h:p,void 0===r?e-f:e)))}return"boolean"!=typeof t&&(r=n,n=t,t=void 0),c.cancel=l,c}function n(e,n,r){return void 0===r?t(e,n,!1):t(e,r,!1!==n)}
2e.debounce=n,e.throttle=t,Object.defineProperty(e,"__esModule",{value:!0})}(t)}));(LN=jN)&&LN.__esModule&&Object.prototype.hasOwnProperty.call(LN,"default")&&LN.default;var FN=RN((function(e,t){var n=t.Globals={};function r(e){return function(t,n){return e(n,t)}}t.throttle=r(jN.throttle),t.debounce=r(jN.debounce),t.getMergedDefinition=function(e){return n.Vue.util.mergeOptions({},e)},t.reapply=function(e,t){for(;"function"==typeof e;)e=e.call(t);return e},t.omit=function(e,t){return Object.entries(e).filter((function(e){var n=PN(e,1)[0];return!t.includes(n)})).reduce((function(e,t){var n=PN(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})},t.addGqlError=function(e){e.graphQLErrors&&e.graphQLErrors.length&&(e.gqlError=e.graphQLErrors[0])},t.noop=function(){}})),BN=FN.Globals,qN=FN.throttle,HN=FN.debounce,zN=(FN.getMergedDefinition,FN.reapply),UN=FN.omit,VN=FN.addGqlError,GN=(FN.noop,function(){function e(t,n,r){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];_N(this,e),xN(this,"type",null),xN(this,"vueApolloSpecialKeys",[]),this.vm=t,this.key=n,this.initialOptions=r,this.options=Object.assign({},r),this._skip=!1,this._pollInterval=null,this._watchers=[],this._destroyed=!1,this.lastApolloOptions=null,o&&this.autostart()}return kN(e,[{key:"autostart",value:function(){var e=this;"function"==typeof this.options.skip?this._skipWatcher=this.vm.$watch((function(){return e.options.skip.call(e.vm,e.vm,e.key)}),this.skipChanged.bind(this),{immediate:!0,deep:this.options.deep}):this.options.skip?this._skip=!0:this.start(),"function"==typeof this.options.pollInterval&&(this._pollWatcher=this.vm.$watch(this.options.pollInterval.bind(this.vm),this.pollIntervalChanged.bind(this),{immediate:!0}))}},{key:"pollIntervalChanged",value:function(e,t){e!==t&&(this.pollInterval=e,null==e?this.stopPolling():this.startPolling(e))}},{key:"skipChanged",value:function(e,t){e!==t&&(this.skip=e)}},{key:"pollInterval",get:function(){return this._pollInterval},set:function(e){this._pollInterval=e}},{key:"skip",get:function(){return this._skip},set:function(e){e?this.stop():this.start(),this._skip=e}},{key:"refresh",value:function(){this._skip||(this.stop(),this.start())}},{key:"start",value:function(){var e=this;this.starting=!0;for(var t=function(t,n){var r=n[t];if("function"==typeof e.initialOptions[r]){var o=e.initialOptions[r].bind(e.vm);e.options[r]=o();var i=function(t){e.options[r]=t,e.refresh()};e.vm.$isServer||(i=e.options.throttle?qN(i,e.options.throttle):i,i=e.options.debounce?HN(i,e.options.debounce):i),e._watchers.push(e.vm.$watch(o,i,{deep:e.options.deep}))}},n=0,r=["query","document","context"];n<r.length;n++)t(n,r);if("function"==typeof this.options.variables){var o=this.executeApollo.bind(this);this.vm.$isServer||(o=this.options.throttle?qN(o,this.options.throttle):o,o=this.options.debounce?HN(o,this.options.debounce):o),this._watchers.push(this.vm.$watch((function(){return"function"==typeof e.options.variables?e.options.variables.call(e.vm):e.options.variables}),o,{immediate:!0,deep:this.options.deep}))}else this.executeApollo(this.options.variables)}},{key:"stop",value:function(){for(var e=0,t=this._watchers;e<t.length;e++){(0,t[e])()}this.sub&&(this.sub.unsubscribe(),this.sub=null)}},{key:"generateApolloOptions",value:function(e){var t=UN(this.options,this.vueApolloSpecialKeys);return t.variables=e,this.lastApolloOptions=t,t}},{key:"executeApollo",value:function(e){this.starting=!1}},{key:"nextResult",value:function(e){var t=e.error;t&&VN(t)}},{key:"callHandlers",value:function(e){for(var t=!1,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(var i=0;i<e.length;i++){var a=e[i];if(a){t=!0;var s=a.apply(this.vm,r);if(void 0!==s&&!s)break}}return t}},{key:"errorHandler",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.callHandlers.apply(this,[[this.options.error,this.vm.$apollo.error,this.vm.$apollo.provider.errorHandler]].concat(t))}},{key:"catchError",value:function(e){if(VN(e),!this.errorHandler(e,this.vm,this.key,this.type,this.lastApolloOptions))if(e.graphQLErrors&&0!==e.graphQLErrors.length){console.error("GraphQL execution errors for ".concat(this.t
vendor: 21,947 bytes, line 2
2ype," '").concat(this.key,"'"));for(var t=0,n=e.graphQLErrors;t<n.length;t++){var r=n[t];console.error(r)}}else if(e.networkError)console.error("Error sending the ".concat(this.type," '").concat(this.key,"'"),e.networkError);else{var o;if(console.error("[vue-apollo] An error has occurred for ".concat(this.type," '").concat(this.key,"'")),Array.isArray(e))(o=console).error.apply(o,MN(e));else console.error(e)}}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.stop(),this._skipWatcher&&this._skipWatcher())}}]),e}()),WN=["variables","watch","update","result","error","loadingKey","watchLoading","skip","throttle","debounce","subscribeToMore","prefetch","manual"],YN=function(e){EN(n,e);var t=AN(n);function n(e,r,o){var i,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return _N(this,n),e.$data.$apolloData&&!e.$data.$apolloData.queries[r]&&e.$set(e.$data.$apolloData.queries,r,{loading:!1}),xN(IN(i=t.call(this,e,r,o,!1)),"type","query"),xN(IN(i),"vueApolloSpecialKeys",WN),xN(IN(i),"_loading",!1),xN(IN(i),"_linkedSubscriptions",[]),e.$isServer&&(i.firstRun=new Promise((function(e,t){i._firstRunResolve=e,i._firstRunReject=t}))),i.vm.$isServer&&(i.options.fetchPolicy="network-only"),o.manual||(i.hasDataField=Object.prototype.hasOwnProperty.call(i.vm.$data,r),i.hasDataField?Object.defineProperty(i.vm.$data.$apolloData.data,r,{get:function(){return i.vm.$data[r]},enumerable:!0,configurable:!0}):Object.defineProperty(i.vm.$data,r,{get:function(){return i.vm.$data.$apolloData.data[r]},enumerable:!0,configurable:!0})),a&&i.autostart(),i}return kN(n,[{key:"client",get:function(){return this.vm.$apollo.getClient(this.options)}},{key:"loading",get:function(){return this.vm.$data.$apolloData&&this.vm.$data.$apolloData.queries[this.key]?this.vm.$data.$apolloData.queries[this.key].loading:this._loading},set:function(e){this._loading!==e&&(this._loading=e,this.vm.$data.$apolloData&&this.vm.$data.$apolloData.queries[this.key]&&(this.vm.$data.$apolloData.queries[this.key].loading=e,this.vm.$data.$apolloData.loading+=e?1:-1))}},{key:"stop",value:function(){DN(TN(n.prototype),"stop",this).call(this),this.loadingDone(),this.observer&&(this.observer.stopPolling(),this.observer=null)}},{key:"generateApolloOptions",value:function(e){var t=DN(TN(n.prototype),"generateApolloOptions",this).call(this,e);return this.vm.$isServer&&delete t.pollInterval,t}},{key:"executeApollo",value:function(e){var t=JSON.stringify(e);if(this.sub){if(t===this.previousVariablesJson)return;this.sub.unsubscribe();for(var r=0,o=this._linkedSubscriptions;r<o.length;r++){o[r].stop()}}if(this.previousVariablesJson=t,this.observer=this.vm.$apollo.watchQuery(this.generateApolloOptions(e)),this.startQuerySubscription(),"no-cache"!==this.options.fetchPolicy||this.options.notifyOnNetworkStatusChange){var i=this.retrieveCurrentResult();(this.options.notifyOnNetworkStatusChange||this.observer.getCurrentResult&&!i.loading)&&this.nextResult(i)}DN(TN(n.prototype),"executeApollo",this).call(this,e);for(var a=0,s=this._linkedSubscriptions;a<s.length;a++){s[a].start()}}},{key:"startQuerySubscription",value:function(){this.sub&&!this.sub.closed||(this.sub=this.observer.subscribe({next:this.nextResult.bind(this),error:this.catchError.bind(this)}))}},{key:"retrieveCurrentResult",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.observer.getCurrentResult?this.observer.getCurrentResult():this.observer.currentResult();return(e||t.loading)&&(this.loading||this.applyLoadingModifier(1),this.loading=!0),t}},{key:"nextResult",value:function(e){DN(TN(n.prototype),"nextResult",this).call(this,e);var t=e.data,r=e.loading,o=e.error,i=e.errors,a=i&&i.length;if((o||a)&&this.firstRunReject(o),r||this.loadingDone(),a){var s=new Error("GraphQL error: ".concat(i.map((function(e){return e.message})).join(" | ")));Object.assign(s,{graphQLErrors:i,networkError:null}),DN(TN(n.prototype),"catchError",this).call(this,s)}if("none"!==this.observer.options.errorPolicy||!o&&!a){var l="function"==typeof this.options.result;null==t||(this.options.manual?l||console.error("".concat(this.key," query must have a 'result' hook in manual mode")):"function"==typeof this.options.update?this.setData(this.options.update.call(this.vm,t)):void 0===t[this.key]&&Object.keys(t).length?console.error("Missing ".concat(this.key," attribute on result"),t):this.setData(t[this.key])),l&&this.options.result.call(this.vm,e,this.key)}}},{key:"setData",value:function(e){this.vm.$set(this.hasDataField?this.vm.$data:this.vm.$data.$apolloData.data,this.key,e)}},{key:"catchError",value:function(e){DN(TN(n.prototype),"catchError",this).call(this,e),this.firstRunReject(e),this.loadingDone(e),this.nextResult(this.observer.getCurrentResult?this.observer.getCurrentResult():this.observer.currentResult()),this.resubscribeToQuery()}},{key:"resubscribeToQuery",value:function(){var e=this.observer.getLastError(),t=this.observer.getLastResult();this.observer.resetLastResults(),this.startQuerySubscription(),Object.assign(this.observer,{lastError:e,lastResult:t})}},{key:"loadingKey",get:function(){return this.options.loadingKey||this.vm.$apollo.loadingKey}},{key:"watchLoading",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.callHandlers.apply(this,[[this.options.watchLoading,this.vm.$apollo.watchLoading,this.vm.$apollo.provider.watchLoading]].concat(t,[this]))}},{key:"applyLoadingModifier",value:function(e){var t=this.loadingKey;t&&"number"==typeof this.vm[t]&&(this.vm[t]+=e),this.watchLoading(1===e,e)}},{key:"loadingDone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.loading&&this.applyLoadingModifier(-1),this.loading=!1,e||this.firstRunResolve()}},{key:"fetchMore",value:function(){var e,t=this;if(this.observer)return this.retrieveCurrentResult(!0),(e=this.observer).fetchMore.apply(e,arguments).then((function(e){return e.loading||t.loadingDone(),e}))}},{key:"subscribeToMore",value:function(){var e;if(this.observer)return{unsubscribe:(e=this.observer).subscribeToMore.apply(e,arguments)}}},{key:"refetch",value:function(e){var t=this;if(e&&(this.options.variables=e),this.observer){var n=this.observer.refetch(e).then((function(e){return e.loading||t.loadingDone(),e}));return this.retrieveCurrentResult(),n}}},{key:"setVariables",value:function(e,t){if(this.options.variables=e,this.observer){var n=this.observer.setVariables(e,t);return this.retrieveCurrentResult(),n}}},{key:"setOptions",value:function(e){if(Object.assign(this.options,e),this.observer){var t=this.observer.setOptions(e);return this.retrieveCurrentResult(),t}}},{key:"startPolling",value:function(){var e;if(this.observer)return(e=this.observer).startPolling.apply(e,arguments)}},{key:"stopPolling",value:function(){var e;if(this.observer)return(e=this.observer).stopPolling.apply(e,arguments)}},{key:"firstRunResolve",value:function(){this._firstRunResolve&&(this._firstRunResolve(),this._firstRunResolve=null)}},{key:"firstRunReject",value:function(e){this._firstRunReject&&(this._firstRunReject(e),this._firstRunReject=null)}},{key:"destroy",value:function(){DN(TN(n.prototype),"destroy",this).call(this),this.loading&&this.watchLoading(!1,-1),this.loading=!1}}]),n}(GN),KN=function(e){EN(n,e);var t=AN(n);function n(){var e;_N(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return xN(IN(e=t.call.apply(t,[this].concat(o))),"type","subscription"),xN(IN(e),"vueApolloSpecialKeys",["variables","result","error","throttle","debounce","linkedQuery"]),e}return kN(n,[{key:"executeApollo",value:function(e){var t=JSON.stringify(e);if(this.sub){if(t===this.previousVariablesJson)return;this.sub.unsubscribe()}this.previousVariablesJson=t;var r=this.generateApolloOptions(e);if("function"==typeof r.updateQuery&&(r.updateQuery=r.updateQuery.bind(this.vm)),this.options.linkedQuery){if("function"==typeof this.options.result){var o=this.options.result.bind(this.vm),i=r.updateQuery&&r.updateQuery.bind(this.vm);r.updateQuery=function(){return o.apply(void 0,arguments),i&&i.apply(void 0,arguments)}}this.sub=this.options.linkedQuery.subscribeToMore(r)}else this.observer=this.vm.$apollo.subscribe(r),this.sub=this.observer.subscribe({next:this.nextResult.bind(this),error:this.catchError.bind(this)});DN(TN(n.prototype),"executeApollo",this).call(this,e)}},{key:"nextResult",value:function(e){DN(TN(n.prototype),"nextResult",this).call(this,e),"function"==typeof this.options.result&&this.options.result.call(this.vm,e,this.key)}}]),n}(GN),QN=function(){function e(t){_N(this,e),this._apolloSubscriptions=[],this._watchers=[],this.vm=t,this.queries={},this.subscriptions={},this.client=void 0,this.loadingKey=void 0,this.error=void 0}return kN(e,[{key:"provider",get:function(){return this.vm.$apolloProvider}},{key:"getClient",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(!e||!e.client){if("object"===bN(this.client))return this.client;if(this.client){if(this.provider.clients){var t=this.provider.clients[this.client];if(!t)throw new Error("[vue-apollo] Missing client '".concat(this.client,"' in 'apolloProvider'"));return t}throw new Error("[vue-apollo] Missing 'clients' options in 'apolloProvider'")}return this.provider.defaultClient}var n=this.provider.clients[e.client];if(!n)throw new Error("[vue-apollo] Missing client '".concat(e.client,"' in 'apolloProvider'"));return n}},{key:"query",value:function(e){return this.getClient(e).query(e)}},{key:"watchQuery",value:function(e){var t=this,n=this.getClient(e).watchQuery(e),r=n.subscribe.bind(n);return n.subscribe=function(e){var n=r(e);return t._apolloSubscriptions.push(n),n},n}},{key:"mutate",value:function(e){return this.getClient(e).mutate(e)}},{key:"subscribe",value:function(e){var t=this;if(!this.vm.$isServer){var n=this.getClient(e).subscribe(e),r=n.subscribe.bind(n);return n.subscribe=function(e){var n=r(e);return t._apolloSubscriptions.push(n),n},n}}},{key:"loading",get:function(){return 0!==this.vm.$data.$apolloData.loading}},{key:"data",get:function(){return this.vm.$data.$apolloData.data}},{key:"addSmartQuery",value:function(e,t){var n=this,r=zN(t,this.vm);r.query||(r={query:r});var o,i=this.vm.$options.apollo,a=this.provider.defaultOptions;if(a&&a.$query&&(o=a.$query),i&&i.$query&&(o=SN(SN({},o||{}),i.$query)),o)for(var s in o)void 0===r[s]&&(r[s]=o[s]);var l=this.queries[e]=new YN(this.vm,e,r,!1);if(this.vm.$isServer&&!1===r.prefetch||l.autostart(),!this.vm.$isServer){var c=r.subscribeToMore;c&&(Array.isArray(c)?c.forEach((function(t,r){n.addSmartSubscription("".concat(e).concat(r),SN(SN({},t),{},{linkedQuery:l}))})):this.addSmartSubscription(e,SN(SN({},c),{},{linkedQuery:l})))}return l}},{key:"addSmartSubscription",value:function(e,t){if(!this.vm.$isServer){t=zN(t,this.vm);var n=this.subscriptions[e]=new KN(this.vm,e,t,!1);return n.autostart(),t.linkedQuery&&t.linkedQuery._linkedSubscriptions.push(n),n}}},{key:"defineReactiveSetter",value:function(e,t,n){var r=this;this._watchers.push(this.vm.$watch(t,(function(t){r[e]=t}),{immediate:!0,deep:n}))}},{key:"skipAllQueries",set:function(e){for(var t in this.queries)this.queries[t].skip=e}},{key:"skipAllSubscriptions",set:function(e){for(var t in this.subscriptions)this.subscriptions[t].skip=e}},{key:"skipAll",set:function(e){this.skipAllQueries=e,this.skipAllSubscriptions=e}},{key:"destroy",value:function(){for(var e=0,t=this._watchers;e<t.length;e++){(0,t[e])()}for(var n in this.queries)this.queries[n].destroy();for(var r in this.subscriptions)this.subscriptions[r].destroy();this._apolloSubscriptions.forEach((function(e){e.unsubscribe()}))}}]),e}(),JN=function(){function e(t){if(_N(this,e),!t)throw new Error("Options argument required");this.clients=t.clients||{},t.defaultClient&&(this.clients.defaultClient=this.defaultClient=t.defaultClient),this.defaultOptions=t.defaultOptions,this.watchLoading=t.watchLoading,this.errorHandler=t.errorHandler,this.prefetch=t.prefetch}return kN(e,[{key:"provide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"$apolloProvider";return console.warn("<ApolloProvider>.provide() is deprecated. Use the 'apolloProvider' option instead with the provider object directly."),xN({},e,this)}}]),e}();var ZN={name:"ApolloQuery",provide:function(){return{getDollarApollo:this.getDollarApollo,getApolloQuery:this.getApolloQuery}},props:{query:{type:[Function,Object],required:!0},variables:{type:Object,default:void 0},fetchPolicy:{type:String,default:void 0},pollInterval:{type:Number,default:void 0},notifyOnNetworkStatusChange:{type:Boolean,default:void 0},context:{type:Object,default:void 0},update:{type:Function,default:function(e){return e}},skip:{type:Boolean,default:!1},debounce:{type:Number,default:0},throttle:{type:Number,default:0},clientId:{type:String,default:void 0},deep:{type:Boolean,default:void 0},tag:{type:String,default:"div"},prefetch:{type:Boolean,default:!0},options:{type:Object,default:function(){return{}}}},data:function(){return{result:{data:null,loading:!1,networkStatus:7,error:null},times:0}},watch:{fetchPolicy:function(e){this.$apollo.queries.query.setOptions({fetchPolicy:e})},pollInterval:function(e){this.$apollo.queries.query.setOptions({pollInterval:e})},notifyOnNetworkStatusChange:function(e){this.$apollo.queries.query.setOptions({notifyOnNetworkStatusChange:e})},"$data.$apolloData.loading":function(e){this.$emit("loading",!!e)}},apollo:{$client:function(){return this.clientId},query:function(){return SN(SN({query:function(){return"function"==typeof this.query?this.query(ma):this.query},variables:function(){return this.variables},fetchPolicy:this.fetchPolicy,pollInterval:this.pollInterval,debounce:this.debounce,throttle:this.throttle,notifyOnNetworkStatusChange:this.notifyOnNetworkStatusChange,context:function(){return this.context},skip:function(){return this.skip},deep:this.deep,prefetch:this.prefetch},this.options),{},{manual:!0,result:function(e){var t=e,n=t.errors,r=t.loading,o=t.networkStatus,i=e.error;e=Object.assign({},e),n&&n.length&&((i=new Error("Apollo errors occurred (".concat(n.length,")"))).graphQLErrors=n);var a={};r?Object.assign(a,this.$_previousData,e.data):i?Object.assign(a,this.$apollo.queries.query.observer.getLastResult()||{},e.data):(a=e.data,this.$_previousData=e.data);var s=function(e){return e&&Object.keys(e).length>0}(a);this.result={data:s?this.update(a):void 0,fullData:s?a:void 0,loading:r,error:i,networkStatus:o},this.times=++this.$_times,this.$emit("result",this.result)},error:function(e){this.result.loading=!1,this.result.error=e,this.$emit("error",e)}})}},created:function(){this.$_times=0},methods:{getDollarApollo:function(){return this.$apollo},getApolloQuery:function(){return this.$apollo.queries.query}},render:function(e){var t=this.$scopedSlots.default({result:this.result,times:this.times,query:this.$apollo.queries.query,isLoading:this.$apolloData.loading,gqlError:this.result&&this.result.error&&this.result.error.gqlError});return t=Array.isArray(t)?t.concat(this.$slots.default):[t].concat(this.$slots.default),this.tag?e(this.tag,t):t[0]}},XN=0,eR={name:"ApolloSubscribeToMore",inject:["getDollarApollo","getApolloQuery"],props:{document:{type:[Function,Object],required:!0},variables:{type:Object,default:void 0},updateQuery:{type:Function,default:void 0}},watch:{document:"refresh",variables:"refresh"},created:function(){this.$_key="sub_component_".concat(XN++)},mounted:function(){this.refresh()},beforeDestroy:function(){this.destroy()},methods:{destroy:function(){this.$_sub&&this.$_sub.destroy()},refresh:function(){this.destroy();var e=this.document;"function"==typeof e&&(e=e(ma)),this.$_sub=this.getDollarApollo().addSmartSubscription(this.$_key,{document:e,variables:this.variables,updateQuery:this.updateQuery,linkedQuery:this.getApolloQuery()})}},render:function(e){return null}},tR={props:{mutation:{type:[Function,Object],required:!0},variables:{type:Object,default:void 0},optimisticResponse:{type:Object,default:void 0},update:{type:Function,default:void 0},refetchQueries:{type:Function,default:void 0},clientId:{type:String,default:void 0},tag:{type:String,default:"div"},context:{type:Object,default:void 0}},data:function(){return{loading:!1,error:null}},watch:{loading:function(e){this.$emit("loading",e)}},methods:{mutate:function(e){var t=this;this.loading=!0,this.error=null;var n=this.mutation;return"function"==typeof n&&(n=n(ma)),this.$apollo.mutate(SN({mutation:n,client:this.clientId,variables:this.variables,optimisticResponse:this.optimisticResponse,update:this.update,refetchQueries:this.refetchQueries,context:this.context},e)).then((function(e){t.$emit("done",e),t.loading=!1})).catch((function(e){VN(e),t.error=e,t.$emit("error",e),t.loading=!1}))}},render:function(e){var t=this.$scopedSlots.default({mutate:this.mutate,loading:this.loading,error:this.error,gqlError:this.error&&this.error.gqlError});return t=Array.isArray(t)?t.concat(this.$slots.default):[t].concat(this.$slots.default),this.tag?e(this.tag,t):t[0]}};function nR(e,t){return void 0!==e&&Object.prototype.hasOwnProperty.call(e,t)}function rR(){var e=this.$options,t=e.apolloProvider;if(t)this.$apolloProvider="function"==typeof t?t():t;else if(e.parent&&e.parent.$apolloProvider)this.$apolloProvider=e.parent.$apolloProvider;else if(e.provide){var n="function"==typeof e.provide?e.provide.call(this):e.provide;n&&n.$apolloProvider&&(this.$apolloProvider=n.$apolloProvider)}}function oR(){var e=this;this.$_apolloInitData={};var t=this.$options.apollo;if(t){var n=function(n){"$"!==n.charAt(0)&&(t[n].manual||nR(e.$options.props,n)||nR(e.$options.computed,n)||nR(e.$options.methods,n)||Object.defineProperty(e,n,{get:function(){return e.$data.$apolloData.data[n]},set:function(t){return e.$_apolloInitData[n]=t},enumerable:!0,configurable:!0}))};for(var r in t)n(r)}}function iR(){var e=this,t=this.$apolloProvider;if(!this._apolloLaunched&&t){this._apolloLaunched=!0;var n=this.$options.apollo;if(n){for(var r in this.$_apolloPromises=[],n.$init||(n.$init=!0,t.defaultOptions&&(n=this.$options.apollo=Object.assign({},t.defaultOptions,n))),aR(this.$apollo,"skipAll",n.$skipAll,n.$deep),aR(this.$apollo,"skipAllQueries",n.$skipAllQueries,n.$deep),aR(this.$apollo,"skipAllSubscriptions",n.$skipAllSubscriptions,n.$deep),aR(this.$apollo,"client",n.$client,n.$deep),aR(this.$apollo,"loadingKey",n.$loadingKey,n.$deep),aR(this.$apollo,"error",n.$error,n.$deep),aR(this.$apollo,"watchLoading",n.$watchLoading,n.$deep),Object.defineProperty(this,"$apolloData",{get:function(){return e.$data.$apolloData},enumerable:!0,configurable:!0}),n)if("$"!==r.charAt(0)){var o=n[r],i=this.$apollo.addSmartQuery(r,o);this.$isServer&&(o=zN(o,this),!1===t.prefetch||!1===o.prefetch||!1===n.$prefetch||i.skip||this.$_apolloPromises.push(i.firstRun))}if(n.subscribe&&BN.Vue.util.warn("vue-apollo -> `subscribe` option is deprecated. Use the `$subscribe` option instead."),n.$subscribe)for(var a in n.$subscribe)this.$apollo.addSmartSubscription(a,n.$subscribe[a])}}}function aR(e,t,n,r){void 0!==n&&("function"==typeof n?e.defineReactiveSetter(t,n,r):e[t]=n)}function sR(){this.$_apollo&&this.$_apollo.destroy()}function lR(e,t){e.mixin(SN(SN(SN({},"1"===t?{init:rR}:{}),"2"===t?{data:function(){return{$apolloData:{queries:{},loading:0,data:this.$_apolloInitData}}},beforeCreate:function(){rR.call(this),oR.call(this)},serverPrefetch:function(){var e=this;if(this.$_apolloPromises)return Promise.all(this.$_apolloPromises).then((function(){sR.call(e)})).catch((function(t){return sR.call(e),Promise.reject(t)}))}}:{}),{},{created:iR,destroyed:sR}))}var cR=["$subscribe"];JN.install=function e(t,n){if(!e.installed){e.installed=!0,BN.Vue=t;var r=t.version.substr(0,t.version.indexOf(".")),o=t.config.optionMergeStrategies.methods;t.config.optionMergeStrategies.apollo=function(e,t,n){if(!e)return t;if(!t)return e;for(var r=Object.assign({},UN(e,cR),e.data),i=Object.assign({},UN(t,cR),t.data),a={},s=0;s<cR.length;s++){var l=cR[s];a[l]=o(e[l],t[l])}return Object.assign(a,o(r,i))},Object.prototype.hasOwnProperty.call(t,"$apollo")||Object.defineProperty(t.prototype,"$apollo",{get:function(){return this.$_apollo||(this.$_apollo=new QN(this)),this.$_apollo}}),lR(t,r),"2"===r&&(t.component("ApolloQuery",ZN),t.component("ApolloQuery",ZN),t.component("ApolloSubscribeToMore",eR),t.component("ApolloSubscribeToMore",eR),t.component("ApolloMutation",tR),t.component("ApolloMutation",tR))}},JN.version="3.0.8";var uR=null;"undefined"!=typeof window?uR=window.Vue:void 0!==__webpack_require__.g&&(uR=__webpack_require__.g.Vue),uR&&uR.use(JN);const dR=JN;var fR,pR,hR,mR,vR,gR;function yR(e){return yR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yR(e)}function bR(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function _R(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,wR(r.key),r)}}function wR(e){var t=function(e,t){if("object"!=yR(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=yR(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==yR(t)?t:t+""}var kR=function(){return parseInt(+new Date/1e3)},xR=function(){return function(e,t,n){return t&&_R(e.prototype,t),n&&_R(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.apollo=t,this.loading={},this.store={},this.config={countries:{query:{query:ma(fR||(fR=bR(["query { countries: geo { code name provinces } }"])))}
2,ttl:2592e3,invalidateBefore:"2020-07-17 13:00:00"},forumCategories:{query:{query:ma(pR||(pR=bR(["query { categories: forumCategories { name icon color } }"])))},ttl:86400,invalidateBefore:"2021-07-24 12:00:00"},stats:{query:{query:ma(hR||(hR=bR(["query { stats { name icon value } }"])))},ttl:3600,invalidateBefore:"2019-11-10 16:00:00"},socialProviders:{query:{query:ma(mR||(mR=bR(["query { socialProviders }"])))},ttl:604800},games:{query:{query:ma(vR||(vR=bR(["query { games { name icon active } }"])))},ttl:86400},chatChannels:{query:{query:ma(gR||(gR=bR(["query { chatChannels }"])))},ttl:86400}}}),[{key:"get",value:function(e){return this.fetch(e,this.apollo.query(this.config[e].query),this.config[e].ttl||0,this.config[e].invalidateBefore||null)}},{key:"fetch",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return new Promise((function(i,a){if(void 0===n.store[e])if(n.loading[e]){var s=null;s=setInterval((function(){void 0!==n.store[e]&&(clearInterval(s),s=null,i(n.store[e]))}),100)}else{var l=Jo.get("cache-"+e);if(null!==l&&l.fetchedAt+r>kR()&&(null===o||l.fetchedAt>parseInt(+new Date(o)/1e3)))i(l.value);else{var c=function(t){n.store[e]=t,delete n.loading[e],r>0&&Jo.set("cache-"+e,{fetchedAt:kR(),value:t}),i(t)};n.loading[e]=!0,t.then((function(e){void 0!==e.json?e.json().then((function(e){return c(e)})):c(e)}))}}else i(n.store[e])}))}}])}(),CR=(__webpack_require__(4123),__webpack_require__(7559)),SR=__webpack_require__.n(CR);function ER(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return TR(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?TR(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function TR(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const OR={cs:"ÄeÅ¡tina",de:"Deutsch",en:"English",es:"Español",fr:"Français",ru:"Ð ÑÑÑкий",zh:"䏿ï¼ç®ä½ï¼",zh_tw:"䏿ï¼ç¹é«ï¼"};var IR=function(e){return parseInt(e).toString().padStart(2,"0")},AR=function(e){return 2===e.length?e:e.substring(0,2)+"-"+e.substring(3,5).toUpperCase()};const DR={install:function(e,t){var n=t.i18n;e.prototype.$normaliseLocale=AR,e.prototype.$date=function(e){var t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r="format.".concat(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?"datetime":"date",".").concat(t?"long":"short");return tl.c9.fromSeconds(e).setLocale(AR(n.locale)).toFormat(n.t(r))},e.prototype.$timeDiff=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t=tl.c9.fromSeconds(t),n=n?tl.c9.fromSeconds(n):tl.c9.local(),e.prototype.$duration(t.diff(n))},e.prototype.$duration=function(e){var t=[];return(e=e.reconfigure({conversionAccuracy:"longterm"}).shiftTo("months","days","hours","minutes").toObject()).months&&t.push(e.months+n.t("timeunit.month")),e.days&&t.push(e.days+n.t("timeunit.day")),e.hours&&t.push(e.hours+n.t("timeunit.hour")),0===t.length&&t.push("0"+n.t("timeunit.hour")),t.join(" ")},e.prototype.$formatTimeSeconds=function(t){return e.prototype.$formatTime(tl.dw.fromObject({seconds:t}))},e.prototype.$countdown=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t=tl.c9.fromSeconds(t),(n=null===n?tl.c9.local():tl.c9.fromSeconds(n))>t?"00:00:00":e.prototype.$formatTime(t.diff(n))},e.prototype.$formatTime=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return"number"==typeof e&&(e=tl.dw.fromMillis(1e3*e)),t?(e=e.shiftTo("hours","minutes","seconds").toObject(),"".concat(IR(e.hours),":").concat(IR(e.minutes),":").concat(IR(e.seconds))):(e=e.shiftTo("minutes","seconds").toObject(),"".concat(IR(e.minutes),":").concat(IR(e.seconds)))},e.prototype.$td=function(t){return t.replace(/<--(.*)-->/g,(function(t,n){return e.prototype.$duration(tl.dw.fromObject({hours:parseInt(n)}))}))}}};function PR(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
2if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return MR(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?MR(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function MR(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const $R={install:function(e){e.prototype.ucfirst=function(e){return e.substr(0,1).toUpperCase()+e.substr(1)},e.prototype.blocksToText=function(e){var t,n="",r=PR(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;n+=(o.data.text||o.data.caption||(o.data.items||[]).join("\n"))+"\n\n"}}catch(e){r.e(e)}finally{r.f()}var i=document.createElement("div");return i.innerHTML=n.replace(/<br\/?>/g,"\n"),i.textContent||i.innerText||""},e.prototype.link=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.$router.match({name:e,params:t}).fullPath}}};var NR=function(e,t){return NR=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},NR(e,t)};function RR(e){return new AM((function(t,n){return new bM((function(r){var o,i,a;try{o=n(t).subscribe({next:function(o){o.errors&&(a=e({graphQLErrors:o.errors,response:o,operation:t,forward:n}))?i=a.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}):r.next(o)},error:function(o){(a=e({operation:t,networkError:o,graphQLErrors:o&&o.result&&o.result.errors,forward:n}))?i=a.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}):r.error(o)},complete:function(){a||r.complete.bind(r)()}})}catch(o){e({networkError:o,operation:t,forward:n}),r.error(o)}return function(){o&&o.unsubscribe(),i&&o.unsubscribe()}}))}))}!function(e){function t(t){var n=e.call(this)||this;return n.link=RR(t),n}(function(e,t){function n(){this.constructor=e}NR(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)})(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)}}(AM);var LR=__webpack_require__(7698),jR=__webpack_require__.n(LR),FR=function(){var e=this,t=e.$createElement;return(e._self._c||t)("pre",[e._v(e._s(JSON.stringify(e.v,null,2)))])};FR._withStripped=!0;var BR=Ca({props:{v:{required:!0}}},FR,[],!1,null,null,null);BR.options.__file="components/widgets/Debug.vue";BR.exports;var qR=function(){var e=this,t=e.$createElement;return(e._self._c||t)("span",{class:e.buildClass()})};qR._withStripped=!0;var HR={solid:"fas",regular:"far",light:"fal",brand:"fab"};var zR=Ca({props:{v:{required:!0},set:{default:"light"},size:{default:0},fluidWidth:{type:Boolean,default:!1},classes:{default:""}},methods:{buildClass:function(){var e=[];return e.push(HR[this.set]),e.push("fa-"+this.v),this.size&&e.push("fa-"+this.size+"x"),this.fluidWidth||e.push("fa-fw"),this.classes&&e.push(this.classes),e}}},qR,[],!1,null,null,null);zR.options.__file="components/widgets/Icon.vue";const UR=zR.exports;function VR(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const GR={name:"vue-headful",props:[].concat((WR=Object.keys(Vb.A.props),function(e){if(Array.isArray(e))return VR(e)}(WR)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(WR)||function(e,t){if(e){if("string"==typeof e)return VR(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?VR(e,t):void 0}}(WR)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),["notifications"]),watch:{$props:{handler:Gb,deep:!0,immediate:!0}},render:function(){}};var WR;function YR(e){return YR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},YR(e)}function KR(){KR=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";
vendor: 4,274 bytes, line 2
2function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var i=t&&t.prototype instanceof g?t:g,a=Object.create(i.prototype),s=new A(r||[]);return o(a,"_invoke",{value:E(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var f="suspendedStart",p="suspendedYield",h="executing",m="completed",v={};function g(){}function y(){}function b(){}var _={};c(_,a,(function(){return this}));var w=Object.getPrototypeOf,k=w&&w(w(D([])));k&&k!==n&&r.call(k,a)&&(_=k);var x=b.prototype=g.prototype=Object.create(_);function C(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(o,i,a,s){var l=d(e[o],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==YR(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var i;o(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}})}function E(t,n,r){var o=f;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=T(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===f)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var c=d(t,n,r);if("normal"===c.type){if(o=r.done?m:p,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=m,r.method="throw",r.arg=c.arg)}}}function T(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,T(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var i=d(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function D(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(YR(t)+" is not iterable")}return y.prototype=b,o(x,"constructor",{value:b,configurable:!0}),o(b,"constructor",{value:y,configurable:!0}),y.displayName=c(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},t.awrap=function(e){return{__await:e}},C(S.prototype),c(S.prototype,s,(function(){return this})),t.AsyncIterator=S,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new S(u(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},C(x),c(x,l,"Generator"),c(x,a,(function(){return this})),c(x,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=D,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEac
2h(I),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),I(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;I(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:D(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}function QR(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function JR(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ZR(r.key),r)}}function ZR(e){var t=function(e,t){if("object"!=YR(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=YR(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==YR(t)?t:t+""}var XR,eL,tL=function(e){for(var t=(e+"=".repeat((4-e.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/"),n=atob(t),r=new Uint8Array(n.length),o=0;o<n.length;++o)r[o]=n.charCodeAt(o);return r}("BDcx2tHv3PBDhKIIJ5SAJ7PPZCVhtAo6uhioK8udNhcbXEfDXD2RoMIvY6yL_oWBveIy0h0X-PtLE35yhuFWLSI"),nL=function(){return function(e,t,n){return t&&JR(e.prototype,t),n&&JR(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.user=t,this.handlePermissionStatus()}),[{key:"getPermission",value:function(){return"Notification"in window?Notification.permission:""}},{key:"enablePush",value:function(){var e=this;"Notification"in window&&Notification.requestPermission().then((function(t){e.handlePermissionStatus()}))}},{key:"handlePermissionStatus",value:function(){"Notification"in window&&"granted"===Notification.permission&&this.subscribeToPush().then((function(e){return e}))}},{key:"subscribeToPush",value:(e=KR().mark((function e(){var t,n,r;return KR().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("PushManager"in window&&"Notification"in window&&"serviceWorker"in navigator){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,navigator.serviceWorker.register("/sw.js");case 4:return t=e.sent,e.next=7,t.pushManager.getSubscription();case 7:if(n=e.sent,!this.user){e.next=18;break}return r={applicationServerKey:tL,userVisibleOnly:!0},e.next=12,t.pushManager.subscribe(r);case 12:return n=e.sent,e.next=15,fetch("https://api.teamlocked.men/notification/subscribe",{method:"post",headers:{"Content-Type":"application/json",authorization:this.user?"Bearer ".concat(this.user.jwt):""},body:JSON.stringify(n)});case 15:e.sent,e.next=21;break;case 18:if(this.user||!n){e.next=21;break}return e.next=21,n.unsubscribe();case 21:case"end":return e.stop()}}),e,this)})),t=function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){QR(i,r,o,a,s,"next",e)}function s(e){QR(i,r,o,a,s,"throw",e)}a(void 0)}))},function(){return t.apply(this,arguments)})},{key:"localNotification",value:function(e){!("PushManager"in window)&&"Notification"in window&&"granted"===Notification.permission&&(new Notification(e.text,{icon:mu}).onclick=function(t){t.preventDefault(),window.open(e.link||"https://teamlocked.men")})}}]);var e,t}();function rL(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function oL(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}
2finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return iL(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?iL(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function iL(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}Vo.config.productionTip=!1,console.log("[DEBUG] App version:",process.env.VERSION||"unknown");var aL=document.createElement("div");document.body.appendChild(aL);var sL=function(e,t){var n,r=ER(e);try{for(r.s();!(n=r.n()).done;){var o=n.value.substr(0,2);if(t.includes(o))return o}}catch(e){r.e(e)}finally{r.f()}return null}(window.navigator.languages||[],Object.keys(OR));Vo.use(yd);var lL=new yd({locale:"en",fallbackLocale:"en",messages:{en:SR()}});Vo.prototype.$languages=OR;var cL=["en"];function uL(e){return lL.locale===e||cL.includes(e)?(lL.locale=e,Promise.resolve(e)):__webpack_require__(3031)("./messages.".concat(e,".js")).then((function(t){return lL.setLocaleMessage(e,t.default),lL.locale=e,cL.push(e),e}))}Vo.prototype.$loadLanguage=uL,uL(Jo.get("language")||sL||"en").then((function(e){})),Vo.use(DR,{i18n:lL}),Vo.use($R),Vo.use(dp),Vo.prototype.$eventHub=new Vo,Vo.prototype.$onlineComponents={},Vo.component("Icon",UR),Vo.component("VueHeadful",GR);var dL,fL=(dL=function(e,t){var n=t.headers,r={"x-locale":Jo.get("language")||lL.locale},o=Jo.get("user");return o&&(r.authorization="Bearer ".concat(o)),{headers:Object.assign({},n,r)}},new AM((function(e,t){var n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,[]);return new bM((function(r){var o;return Promise.resolve(n).then((function(t){return dL(t,e.getContext())})).then(e.setContext).then((function(){o=t(e).subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)})})).catch(r.error.bind(r)),function(){o&&o.unsubscribe()}}))}))),pL=RR((function(e){var t=e.graphQLErrors,n=e.networkError;if(t&&ba(t,(function(e){if(console.error(e),"access"===e.category&&Vo.prototype.$eventHub.$emit("accessDenied"),"notFound"===e.category&&Vo.prototype.$eventHub.$emit("notFound"),"banned"===e.category){var t=oL(e.message.split("|"),3),n=t[1],r=t[2];Vo.prototype.$eventHub.$emit("banned",n,r)}})),n)if(console.log(n.result),console.error(n),n.result&&n.result.message.startsWith("banned|")){var r=oL(n.result.message.split("|"),3),o=r[1],i=r[2];Vo.prototype.$eventHub.$emit("banned",o,i)}else yL()})),hL=new m$({uri:"https://api.teamlocked.men"}),mL=new ZM({link:fL.concat(pL.concat(hL)),cache:new yN,connectToDevTools:!0,defaultOptions:{watchQuery:{fetchPolicy:"no-cache",errorPolicy:"ignore"},query:{fetchPolicy:"no-cache",errorPolicy:"all"}}}),vL=new dR({defaultClient:mL});Vo.use(dR);var gL=Vo.observable({maintenanceMode:!1});function yL(){gL.maintenanceMode=!0,Vo.prototype.$eventHub.$emit("maintenance")}Vo.prototype.$appState=gL,Vo.prototype.$cache=new xR(mL),Vo.prototype.$loadScript=function(e,t){if(0===document.querySelectorAll("script.".concat(e,"-script")).length){var n=document.createElement("script");n.setAttribute("src",t),n.classList.add("".concat(e,"-script")),document.body.appendChild(n)}};var bL=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;(e&&(e.previousUsernames=JSON.parse(e.previousUsernames)),e&&e.requiresMfa&&(Vo.prototype.$preMfaUser=e,e=null),Vo.prototype.$user=e,Vo.prototype.$pushManager=new nL(e),e&&e.jwt&&Jo.set("user",e.jwt),e&&e.active)&&jR()("https://socket.teamlocked.men",{query:{jwt:e.jwt}}).on("message",(function(e){var t=e.indexOf("|"),n=e.substr(0,t),r=JSON.parse(e.substr(t+1));Vo.prototype.$eventHub.$emit("socket."+n,r)}));e&&e.locale&&(uL(e.locale),Jo.set("locale",e.locale)),new Vo({el:aL,template:"<App/>",components:{App:Su},i18n:lL,render:function(e){return e(Su)},router:QD,apolloProvider:vL})},_L=ma(XR||(XR=rL(["\n query BackendReachability {\n __typename\n }\n"]))),wL=ma(eL||(eL=rL(['\n query {\n currentUser {\n id\n username\n email\n avatar { id links(size: "avatar") }\n acceptedTerms\n disabled\n jwt\n active\n requiresMfa\n currentChastityPeriod { \n start \n earliestEndReal \n earliestEnd \n terminatable \n permanent\n changes {\n blocksTermination\n } \n }\n maxProfilePics\n imageSizes\n admin\n moderator\n statusSub\n statusKeyholder\n internal\n orientation\n hideCircumcision\n emailN
2otificationsFrequency\n description\n cock\n gender\n age\n role\n country\n province\n city\n postsCount\n stats\n hasPlayedGames: playedGames\n latestPost { id }\n locale\n importantConnections {\n relationOfCounterpart\n counterpart {\n username\n avatar { id links(size: "avatar") }\n currentChastityPeriod {\n start\n earliestEnd\n terminatable\n permanent\n changes {\n blocksTermination\n } \n }\n orientation\n active\n admin\n moderator\n description\n cock\n gender\n orientation\n age\n role\n country\n province\n city\n postsCount\n lastRequest\n stats\n }\n }\n previousUsernames\n locktobers {\n year\n params\n result\n }\n }\n }\n']))),kL=function(){return mL.query({query:_L,fetchPolicy:"no-cache"})};Jo.get("user")?kL().then((function(){mL.query({query:wL}).then((function(e){bL(e.data.currentUser?e.data.currentUser:null)})).catch((function(e){if(console.error(e),e&&e.networkError)return yL(),void bL(null);bL(null)}))})).catch((function(e){console.error(e),yL(),bL(null)})):kL().then((function(){bL()})).catch((function(e){console.error(e),yL(),bL()}))})()})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.