1/*! For license information please see LICENSES */ 2(window.webpackJsonp=window.webpackJsonp||[]).push([[47],{109:function(t,e,n){"use strict";var r=function(t,e=!0){const n=e&&t.headers?t.headers["x-forwarded-proto"]:void 0,r="string"==typeof n?n.includes("https"):void 0;if(r)return!0;const o=t.connection?t.connection.encrypted:void 0,l=void 0!==o?!0===o:void 0;return!!l||void 0===r&&void 0===l&&void 0};const o="undefined"!=typeof location?location:{origin:"",pathname:"/"};t.exports=function(t,e){return t?encodeURI("http"+(r(t)?"s":"")+"://"+(t.headers["x-forwarded-host"]||t.headers.host)+(e?t.url:"")):o.origin+(e?o.pathname:"")}},133:function(t,e,n){"use strict";var r={name:"ClientOnly",functional:!0,props:{placeholder:String,placeholderTag:{type:String,default:"div"}},render:function(t,e){var n=e.parent,r=e.slots,o=e.props,l=r(),c=l.default;void 0===c&&(c=[]);var f=l.placeholder;return n._isMounted?c:(n.$once("hook:mounted",function(){n.$forceUpdate()}),o.placeholderTag&&(o.placeholder||f)?t(o.placeholderTag,{class:["client-only-placeholder"]},o.placeholder||f):c.length>0?c.map(function(){return t(!1)}):t(!1))}};t.exports=r},136:function(t,e,n){"use strict";function r(t){return null!==t&&"object"==typeof t}function o(t,e,n=".",l){if(!r(e))return o(t,{},n,l);const c=Object.assign({},e);for(const e in t){if("__proto__"===e||"constructor"===e)continue;const f=t[e];null!=f&&(l&&l(c,e,f,n)||(Array.isArray(f)&&Array.isArray(c[e])?c[e]=c[e].concat(f):r(f)&&r(c[e])?c[e]=o(f,c[e],(n?`${n}.`:"")+e.toString(),l):c[e]=f))}return c}function l(t){return(...e)=>e.reduce((p,e)=>o(p,e,"",t),{})}const c=l();c.fn=l((t,e,n,r)=>{if(void 0!==t[e]&&"function"==typeof n)return t[e]=n(t[e]),!0}),c.arrayFn=l((t,e,n,r)=>{if(Array.isArray(t[e])&&"function"==typeof n)return t[e]=n(t[e]),!0}),c.extend=l,t.exports=c},18:function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var content=function(t,e){var content=t[1]||"",n=t[3];if(!n)return content;if(e&&"function"==typeof btoa){var r=(l=n,c=btoa(unescape(encodeURIComponent(JSON.stringify(l)))),data="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(c),"/*# ".concat(data," */")),o=n.sources.map(function(source){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(source," */")});return[content].concat(o).concat([r]).join("\n")}var l,c,data;return[content].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(content,"}"):content}).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var l=this[i][0];null!=l&&(o[l]=!0)}for(var c=0;c<t.length;c++){var f=[].concat(t[c]);r&&o[f[0]]||(n&&(f[2]?f[2]="".concat(n," and ").concat(f[2]):f[2]=n),e.push(f))}},e}},19:function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],l=o[0],c={id:t+":"+i,css:o[1],media:o[2],sourceMap:o[3]};r[l]?r[l].parts.push(c):n.push(r[l]={id:l,parts:[c]})}return n}n.r(e),n.d(e,"default",function(){return _});var o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var l={},head=o&&(document.head||document.getElementsByTagName("head")[0]),c=null,f=0,d=!1,h=function(){},v=null,m="data-vue-ssr-id",y="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function _(t,e,n,o){d=n,v=o||{};var c=r(t,e);return w(c),function(e){for(var n=[],i=0;i<c.length;i++){var o=c[i];(f=l[o.id]).refs--,n.push(f)}e?w(c=r(t,e)):c=[];for(i=0;i<n.length;i++){var f;if(0===(f=n[i]).refs){for(var d=0;d<f.parts.length;d++)f.parts[d]();delete l[f.id]}}}}function w(t){for(var i=0;i<t.length;i++){var e=t[i],n=l[e.id];if(n){n.refs++;for(var r=0;r<n.parts.length;r++)n.parts[r](e.parts[r]);for(;r<e.parts.length;r++)n.parts.push(k(e.parts[r]));n.parts.length>e.parts.length&&(n.parts.length=e.parts.length)}else{var o=[];for(r=0;r<e.parts.length;r++)o.push(k(e.parts[r]));l[e.id]={id:e.id,refs:1,parts:o}}}}function x(){var t=document.createElement("style");return t.type="text/css",head.appendChild(t),t}function k(t){var e,n,r=document.querySelector("style["+m+'~="'+t.id+'"]');if(r){if(d)return h;r.parentNode.removeChild(r)}if(y){var o=f++;r=c||(c=x()),e=T.bind(null,r,o,!1),n=T.bind(null,r,o,!0)}else r=x(),e=A.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}var O,E=(O=[],function(t,e){return O[t]=e,O.filter(Boolean).join("\n")});function T(t,e,n,r){var o=n?"":r.css;
2if(t.styleSheet)t.styleSheet.cssText=E(e,o);else{var l=document.createTextNode(o),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(l,c[e]):t.appendChild(l)}}function A(t,e){var n=e.css,r=e.media,o=e.sourceMap;if(r&&t.setAttribute("media",r),v.ssrId&&t.setAttribute(m,e.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},201:function(t,e,n){"use strict";e.a=function(t,e){return e=e||{},new Promise(function(n,r){var s=new XMLHttpRequest,o=[],u=[],i={},a=function(){return{ok:2==(s.status/100|0),statusText:s.statusText,status:s.status,url:s.responseURL,text:function(){return Promise.resolve(s.responseText)},json:function(){return Promise.resolve(s.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([s.response]))},clone:a,headers:{keys:function(){return o},entries:function(){return u},get:function(t){return i[t.toLowerCase()]},has:function(t){return t.toLowerCase()in i}}}};for(var l in s.open(e.method||"get",t,!0),s.onload=function(){s.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(t,e,n){o.push(e=e.toLowerCase()),u.push([e,n]),i[e]=i[e]?i[e]+","+n:n}),n(a())},s.onerror=r,s.withCredentials="include"==e.credentials,e.headers)s.setRequestHeader(l,e.headers[l]);s.send(e.body||null)})}},203:function(t,e,n){"use strict";var r=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===o}(t)}(t)};var o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function l(t,e){return!1!==e.clone&&e.isMergeableObject(t)?v((n=t,Array.isArray(n)?[]:{}),t,e):t;var n}function c(t,source,e){return t.concat(source).map(function(element){return l(element,e)})}function f(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(symbol){return Object.propertyIsEnumerable.call(t,symbol)}):[]}(t))}function d(object,t){try{return t in object}catch(t){return!1}}function h(t,source,e){var n={};return e.isMergeableObject(t)&&f(t).forEach(function(r){n[r]=l(t[r],e)}),f(source).forEach(function(r){(function(t,e){return d(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,r)||(d(t,r)&&e.isMergeableObject(source[r])?n[r]=function(t,e){if(!e.customMerge)return v;var n=e.customMerge(t);return"function"==typeof n?n:v}(r,e)(t[r],source[r],e):n[r]=l(source[r],e))}),n}function v(t,source,e){(e=e||{}).arrayMerge=e.arrayMerge||c,e.isMergeableObject=e.isMergeableObject||r,e.cloneUnlessOtherwiseSpecified=l;var n=Array.isArray(source);return n===Array.isArray(t)?n?e.arrayMerge(t,source,e):h(t,source,e):l(source,e)}v.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(t,n){return v(t,n,e)},{})};var m=v;t.exports=m},204:function(t,e,n){"use strict";(function(t){var r=n(22),o=n.n(r),l=[[{header:[!1,1,2,3,4,5,6]}],["bold","italic","underline","strike"],[{align:""},{align:"center"},{align:"right"},{align:"justify"}],["blockquote","code-block"],[{list:"ordered"},{list:"bullet"},{list:"check"}],[{indent:"-1"},{indent:"+1"}],[{color:[]},{background:[]}],["link","image","video"],["clean"]],c={props:{customModules:Array},methods:{registerCustomModules:function(t){void 0!==this.customModules&&this.customModules.forEach(function(e){t.register("modules/"+e.alias,e.module)})}}};function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function v(t){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},v(t)}
2function m(t,p){return m=Object.setPrototypeOf||function(t,p){return t.__proto__=p,t},m(t,p)}function y(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function _(t,i){return function(t){if(Array.isArray(t))return t}(t)||function(t,i){var e=[],n=!0,r=!1,o=void 0;try{for(var l,c=t[Symbol.iterator]();!(n=(l=c.next()).done)&&(e.push(l.value),!i||e.length!==i);n=!0);}catch(t){r=!0,o=t}finally{try{n||null==c.return||c.return()}finally{if(r)throw o}}return e}(t,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function w(t,source){var e=function(t){return t&&"object"===f(t)};return e(t)&&e(source)?(Object.keys(source).forEach(function(n){var r=t[n],o=source[n];Array.isArray(r)&&Array.isArray(o)?t[n]=r.concat(o):e(r)&&e(o)?t[n]=w(Object.assign({},r),o):t[n]=o}),t):source}var x=function(t){function e(){return d(this,e),y(this,v(e).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}(e,t),e}(o.a.import("blots/block/embed"));x.blotName="hr",x.tagName="hr",o.a.register("formats/horizontal",x);var k=function(){function t(e,n){var r=this;d(this,t),this.quill=e,this.options=n,this.ignoreTags=["PRE"],this.matches=[{name:"header",pattern:/^(#){1,6}\s/g,action:function(text,t,pattern){var e=pattern.exec(text);if(e){var n=e[0].length;setTimeout(function(){r.quill.formatLine(t.index,0,"header",n-1),r.quill.deleteText(t.index-n,n)},0)}}},{name:"blockquote",pattern:/^(>)\s/g,action:function(t,e){setTimeout(function(){r.quill.formatLine(e.index,1,"blockquote",!0),r.quill.deleteText(e.index-2,2)},0)}},{name:"code-block",pattern:/^`{3}(?:\s|\n)/g,action:function(t,e){setTimeout(function(){r.quill.formatLine(e.index,1,"code-block",!0),r.quill.deleteText(e.index-4,4)},0)}},{name:"bolditalic",pattern:/(?:\*|_){3}(.+?)(?:\*|_){3}/g,action:function(text,t,pattern,e){var n=pattern.exec(text),o=n[0],l=n[1],c=e+n.index;text.match(/^([*_ \n]+)$/g)||setTimeout(function(){r.quill.deleteText(c,o.length),r.quill.insertText(c,l,{bold:!0,italic:!0}),r.quill.format("bold",!1)},0)}},{name:"bold",pattern:/(?:\*|_){2}(.+?)(?:\*|_){2}/g,action:function(text,t,pattern,e){var n=pattern.exec(text),o=n[0],l=n[1],c=e+n.index;text.match(/^([*_ \n]+)$/g)||setTimeout(function(){r.quill.deleteText(c,o.length),r.quill.insertText(c,l,{bold:!0}),r.quill.format("bold",!1)},0)}},{name:"italic",pattern:/(?:\*|_){1}(.+?)(?:\*|_){1}/g,action:function(text,t,pattern,e){var n=pattern.exec(text),o=n[0],l=n[1],c=e+n.index;text.match(/^([*_ \n]+)$/g)||setTimeout(function(){r.quill.deleteText(c,o.length),r.quill.insertText(c,l,{italic:!0}),r.quill.format("italic",!1)},0)}},{name:"strikethrough",pattern:/(?:~~)(.+?)(?:~~)/g,action:function(text,t,pattern,e){var n=pattern.exec(text),o=n[0],l=n[1],c=e+n.index;text.match(/^([*_ \n]+)$/g)||setTimeout(function(){r.quill.deleteText(c,o.length),r.quill.insertText(c,l,{strike:!0}),r.quill.format("strike",!1)},0)}},{name:"code",pattern:/(?:`)(.+?)(?:`)/g,action:function(text,t,pattern,e){var n=pattern.exec(text),o=n[0],l=n[1],c=e+n.index;text.match(/^([*_ \n]+)$/g)||setTimeout(function(){r.quill.deleteText(c,o.length),r.quill.insertText(c,l,{code:!0}),r.quill.format("code",!1),r.quill.insertText(r.quill.getSelection()," ")},0)}},{name:"hr",pattern:/^([-*]\s?){3}/g,action:function(text,t){var e=t.index-text.length;setTimeout(function(){r.quill.deleteText(e,text.length),r.quill.insertEmbed(e+1,"hr",!0,o.a.sources.USER),r.quill.insertText(e+2,"\n",o.a.sources.SILENT),r.quill.setSelection(e+2,o.a.sources.SILENT)},0)}},{name:"asterisk-ul",pattern:/^(\*|\+)\s$/g,action:function(t,e,n){setTimeout(function(){r.quill.formatLine(e.index,1,"list","unordered"),r.quill.deleteText(e.index-2,2)},0)}},{name:"image",pattern:/(?:!\[(.+?)\])(?:\((.+?)\))/g,action:function(text,t,pattern){var e=text.search(pattern),n=text.match(pattern)[0],o=text.match(/(?:\((.*?)\))/g)[0],l=t.index-n.length-1;-1!==e&&setTimeout(function(){r.quill.deleteText(l,n.length),r.quill.insertEmbed(l,"image",o.slice(1,o.length-1))}
vendor: 2,657 bytes, line 2
2,0)}},{name:"link",pattern:/(?:\[(.+?)\])(?:\((.+?)\))/g,action:function(text,t,pattern){var e=text.search(pattern),n=text.match(pattern)[0],o=text.match(/(?:\[(.*?)\])/g)[0],l=text.match(/(?:\((.*?)\))/g)[0],c=t.index-n.length-1;-1!==e&&setTimeout(function(){r.quill.deleteText(c,n.length),r.quill.insertText(c,o.slice(1,o.length-1),"link",l.slice(1,l.length-1))},0)}}],this.quill.on("text-change",function(t,e,n){for(var i=0;i<t.ops.length;i++)t.ops[i].hasOwnProperty("insert")&&(" "===t.ops[i].insert?r.onSpace():"\n"===t.ops[i].insert&&r.onEnter())})}var e,n,r;return e=t,(n=[{key:"isValid",value:function(text,t){return void 0!==text&&text&&-1===this.ignoreTags.indexOf(t)}},{key:"onSpace",value:function(){var t=this.quill.getSelection();if(t){var e=_(this.quill.getLine(t.index),2),line=e[0],n=e[1],text=line.domNode.textContent,r=t.index-n;if(this.isValid(text,line.domNode.tagName)){var o=!0,l=!1,c=void 0;try{for(var f,d=this.matches[Symbol.iterator]();!(o=(f=d.next()).done);o=!0){var h=f.value;if(text.match(h.pattern))return console.log("matched:",h.name,text),void h.action(text,t,h.pattern,r)}}catch(t){l=!0,c=t}finally{try{o||null==d.return||d.return()}finally{if(l)throw c}}}}}},{key:"onEnter",value:function(){var t=this.quill.getSelection();if(t){var e=_(this.quill.getLine(t.index),2),line=e[0],n=e[1],text=line.domNode.textContent+" ",r=t.index-n;if(t.length=t.index++,this.isValid(text,line.domNode.tagName)){var o=!0,l=!1,c=void 0;try{for(var f,d=this.matches[Symbol.iterator]();!(o=(f=d.next()).done);o=!0){var h=f.value;if(text.match(h.pattern))return console.log("matched",h.name,text),void h.action(text,t,h.pattern,r)}}catch(t){l=!0,c=t}finally{try{o||null==d.return||d.return()}finally{if(l)throw c}}}}}}])&&h(e.prototype,n),r&&h(e,r),t}(),script={name:"VueEditor",mixins:[c],props:{id:{type:String,default:"quill-container"},placeholder:{type:String,default:""},value:{type:String,default:""},disabled:{type:Boolean},editorToolbar:{type:Array,default:function(){return[]}},editorOptions:{type:Object,required:!1,default:function(){return{}}},useCustomImageHandler:{type:Boolean,default:!1},useMarkdownShortcuts:{type:Boolean,default:!1}},data:function(){return{quill:null}},watch:{value:function(t){t==this.quill.root.innerHTML||this.quill.hasFocus()||(this.quill.root.innerHTML=t)},disabled:function(t){this.quill.enable(!t)}},mounted:function(){this.registerCustomModules(o.a),this.registerPrototypes(),this.initializeEditor()},beforeDestroy:function(){this.quill=null,delete this.quill},methods:{initializeEditor:function(){this.setupQuillEditor(),this.checkForCustomImageHandler(),this.handleInitialContent(),this.registerE
2ditorEventListeners(),this.$emit("ready",this.quill)},setupQuillEditor:function(){var t={debug:!1,modules:this.setModules(),theme:"snow",placeholder:this.placeholder?this.placeholder:"",readOnly:!!this.disabled&&this.disabled};this.prepareEditorConfig(t),this.quill=new o.a(this.$refs.quillContainer,t)},setModules:function(){var t={toolbar:this.editorToolbar.length?this.editorToolbar:l};return this.useMarkdownShortcuts&&(o.a.register("modules/markdownShortcuts",k,!0),t.markdownShortcuts={}),t},prepareEditorConfig:function(t){Object.keys(this.editorOptions).length>0&&this.editorOptions.constructor===Object&&(this.editorOptions.modules&&void 0!==this.editorOptions.modules.toolbar&&delete t.modules.toolbar,w(t,this.editorOptions))},registerPrototypes:function(){o.a.prototype.getHTML=function(){return this.container.querySelector(".ql-editor").innerHTML},o.a.prototype.getWordCount=function(){return this.container.querySelector(".ql-editor").innerText.length}},registerEditorEventListeners:function(){this.quill.on("text-change",this.handleTextChange),this.quill.on("selection-change",this.handleSelectionChange),this.listenForEditorEvent("text-change"),this.listenForEditorEvent("selection-change"),this.listenForEditorEvent("editor-change")},listenForEditorEvent:function(t){var e=this;this.quill.on(t,function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.$emit.apply(e,[t].concat(r))})},handleInitialContent:function(){this.value&&(this.quill.root.innerHTML=this.value)},handleSelectionChange:function(t,e){!t&&e?this.$emit("blur",this.quill):t&&!e&&this.$emit("focus",this.quill)},handleTextChange:function(t,e){var n="<p><br></p>"===this.quill.getHTML()?"":this.quill.getHTML();this.$emit("input",n),this.useCustomImageHandler&&this.handleImageRemoved(t,e)},handleImageRemoved:function(t,e){var n=this;this.quill.getContents().diff(e).ops.map(function(t){if(t.insert&&t.insert.hasOwnProperty("image")){var image=t.insert.image;n.$emit("image-removed",image)}})},checkForCustomImageHandler:function(){!0===this.useCustomImageHandler&&this.setupCustomImageHandler()},setupCustomImageHandler:function(){this.quill.getModule("toolbar").addHandler("image",this.customImageHandler)},customImageHandler:function(){this.$refs.fileInput.click()},emitImageInfo:function(t){var e=t.target.files[0],n=this.quill,r=n.getSelection().index;this.$emit("image-added",e,n,r,function(){document.getElementById("file-upload").value=""})}}};var O,E=function(template,style,script,t,e,n,r,o,l,c){"boolean"!=typeof r&&(l=o,o=r,r=!1);var f,d="function"==typeof script?script.options:script;if(template&&template.render&&(d.render=template.render,d.staticRenderFns=template.staticRenderFns,d._compiled=!0,e&&(d.functional=!0)),t&&(d._scopeId=t),n?(f=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),style&&style.call(this,l(t)),t&&t._registeredComponents&&t._registeredComponents.add(n)},d._ssrRegister=f):style&&(f=r?function(){style.call(this,c(this.$root.$options.shadowRoot))}:function(t){style.call(this,o(t))}),f)if(d.functional){var h=d.render;d.render=function(t,e){return f.call(e),h(t,e)}}else{var v=d.beforeCreate;d.beforeCreate=v?[].concat(v,f):[f]}return script},T="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());var A={};var S=E({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"quillWrapper"},[t._t("toolbar"),t._v(" "),n("div",{ref:"quillContainer",attrs:{id:t.id}}),t._v(" "),t.useCustomImageHandler?n("input",{ref:"fileInput",staticStyle:{display:"none"},attrs:{id:"file-upload",type:"file",accept:"image/*"},on:{change:function(e){return t.emitImageInfo(e)}}}):t._e()],2)},staticRenderFns:[]},function(t){t&&(t("data-v-776e788e_0",{source:
vendor: 22,203 bytes, line 2
2"/*!\n * Quill Editor v1.3.6\n * https://quilljs.com/\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li::before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:0;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li::before{content:'\\2022'}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li::before,.ql-editor ul[data-checked=true]>li::before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li::before{content:'\\2611'}.ql-editor ul[data-checked=false]>li::before{content:'\\2610'}.ql-editor li::before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl)::before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl::before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) '. '}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) '. '}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) '. '}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) '. '}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) '. '}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) '. '}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) '. '}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) '. '}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) '. '}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) '. '}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank::before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow .ql-toolbar:after,.ql-snow.ql-toolbar:after{clear:both;content:'';display:table}.ql-snow .ql-toolbar button,.ql-snow.ql-toolbar button{background:0 0;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow .ql-toolbar button svg,.ql-snow.ql-toolbar button svg{float:left;height:100%}.ql-snow .ql-toolbar button:active:hover,.ql-snow.ql-toolbar button:active:hover{outline:0}.ql-snow .ql-toolbar input.ql-image[type=file],.ql-snow.ql-toolbar input.ql-image[type=file]{display:none}.ql-snow .ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar button.ql-active,.ql-snow .ql-toolbar button:focus,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar button.ql-active,.ql-snow.ql-toolbar button:focus,.ql-snow.ql-toolbar button:hover{color:#06c}.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill{fill:#06c}.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter{stroke:#06c}@media (pointer:coarse){.ql-snow .ql-toolbar button:hover:not(.ql-active),.ql-snow.ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow{box-sizing:border-box}.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:'';display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-stroke.ql-thin,.ql-snow .ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label::before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=''])::before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-item::before,.ql-snow .ql-picker.ql-header .ql-picker-label::before{content:'Normal'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"1\"]::before{content:'Heading 1'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"2\"]::before{content:'Heading 2'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"3\"]::before{content:'Heading 3'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"4\"]::before{content:'Heading 4'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"5\"]::before{content:'Heading 5'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"6\"]::before{content:'Heading 6'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]::before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]::before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]::before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]::before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]::before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]::before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-item::before,.ql-snow .ql-picker.ql-font .ql-picker-label::before{content:'Sans Serif'}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]::before{content:'Serif'}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]::before{content:'Monospace'}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-item::before,.ql-snow .ql-picker.ql-size .ql-picker-label::before{content:'Normal'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]::before{content:'Small'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]::before{content:'Large'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]::before{content:'Huge'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:rgba(0,0,0,.2) 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label{border-color:#ccc}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip::before{content:\"Visit URL:\";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action::after{border-right:1px solid #ccc;content:'Edit';margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove::before{content:'Remove';margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action::after{border-right:0;content:'Save';padding-right:0}.ql-snow .ql-tooltip[data-mode=link]::before{content:\"Enter link:\"}.ql-snow .ql-tooltip[data-mode=formula]::before{content:\"Enter formula:\"}.ql-snow .ql-tooltip[data-mode=video]::before{content:\"Enter video:\"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}",
2map:void 0,media:void 0}),t("data-v-776e788e_1",{source:".ql-editor{min-height:200px;font-size:16px}.ql-snow .ql-stroke.ql-thin,.ql-snow .ql-thin{stroke-width:1px!important}.quillWrapper .ql-snow.ql-toolbar{padding-top:8px;padding-bottom:4px}.quillWrapper .ql-snow.ql-toolbar .ql-formats{margin-bottom:10px}.ql-snow .ql-toolbar button svg,.quillWrapper .ql-snow.ql-toolbar button svg{width:22px;height:22px}.quillWrapper .ql-editor ul[data-checked=false]>li::before,.quillWrapper .ql-editor ul[data-checked=true]>li::before{font-size:1.35em;vertical-align:baseline;bottom:-.065em;font-weight:900;color:#222}.quillWrapper .ql-snow .ql-stroke{stroke:rgba(63,63,63,.95);stroke-linecap:square;stroke-linejoin:initial;stroke-width:1.7px}.quillWrapper .ql-picker-label{font-size:15px}.quillWrapper .ql-snow .ql-active .ql-stroke{stroke-width:2.25px}.quillWrapper .ql-toolbar.ql-snow .ql-formats{vertical-align:top}.ql-picker:not(.ql-background){position:relative;top:2px}.ql-picker.ql-color-picker svg{width:22px!important;height:22px!important}.quillWrapper .imageResizeActive img{display:block;cursor:pointer}.quillWrapper .imageResizeActive~div svg{cursor:pointer}",map:void 0,media:void 0}))},script,void 0,!1,void 0,function(t){return function(t,style){return function(t,e){var n=T?e.media||"default":t,style=A[n]||(A[n]={ids:new Set,styles:[]});if(!style.ids.has(t)){style.ids.add(t);var code=e.source;if(e.map&&(code+="\n/*# sourceURL="+e.map.sources[0]+" */",code+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+" */"),style.element||(style.element=document.createElement("style"),style.element.type="text/css",e.media&&style.element.setAttribute("media",e.media),void 0===O&&(O=document.head||document.getElementsByTagName("head")[0]),O.appendChild(style.element)),"styleSheet"in style.element)style.styles.push(code),style.element.styleSheet.cssText=style.styles.filter(Boolean).join("\n");else{var r=style.ids.size-1,o=document.createTextNode(code),l=style.element.childNodes;l[r]&&style.element.removeChild(l[r]),l.length?style.element.insertBefore(o,l[r]):style.element.appendChild(o)}}}(t,style)}},void 0);var C={install:function t(e){t.installed||(t.installed=!0,e.component("VueEditor",S))},version:"2.10.3",Quill:o.a,VueEditor:S},P=null;"undefined"!=typeof window?P=window.Vue:void 0!==t&&(P=t.Vue),P&&P.use(C),e.a=C}).call(this,n(24))},205:function(t,e,n){"use strict";n.d(e,"a",function(){return f});var r=n(17);n(85),n(4),n(47);function o(t){return null!==t&&"object"===Object(r.a)(t)}function l(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",r=arguments.length>3?arguments[3]:void 0;if(!o(e))return l(t,{},n,r);var c=Object.assign({},e);for(var f in t)if("__proto__"!==f&&"constructor"!==f){var d=t[f];null!=d&&(r&&r(c,f,d,n)||(Array.isArray(d)&&Array.isArray(c[f])?c[f]=c[f].concat(d):o(d)&&o(c[f])?c[f]=l(d,c[f],(n?"".concat(n,"."):"")+f.toString(),r):c[f]=d))}return c}function c(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.reduce(function(p,e){return l(p,e,"",t)},{})}}var f=c();f.fn=c(function(t,e,n,r){if(void 0!==t[e]&&"function"==typeof n)return t[e]=n(t[e]),!0}),f.arrayFn=c(function(t,e,n,r){if(Array.isArray(t[e])&&"function"==typeof n)return t[e]=n(t[e]),!0}),f.extend=c},206:function(t,e,n){"use strict";(function(t){function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,i){return function(t){if(Array.isArray(t))return t}(t)||function(t,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var e=[],n=!0,r=!1,o=void 0;try{for(var l,c=t[Symbol.iterator]();!(n=(l=c.next()).done)&&(e.push(l.value),!i||e.length!==i);n=!0);}catch(t){r=!0,o=t}finally{try{n||null==c.return||c.return()}finally{if(r)throw o}}return e}(t,i)||c(t,i)||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 l(t){return function(t){if(Array.isArray(t))return f(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||c(t)||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 c(t,e){if(t){if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(t,e):void 0}}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}var d="asc",h="desc",v="none",m="records",y=[10,20,30,40,50],_="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};var w=function(t,e){return t(e={exports:{}},e.exports),e.exports}(function(t,e){var n="__lodash_hash_undefined__",r=9007199254740991,o="[object Arguments]",l="[object Array]",c="[object Boolean]",f="[object Date]",d="[object Error]",h="[object Function]",v="[object Map]",m="[object Number]",y="[object Object]",w="[object Promise]",x="[object RegExp]",k="[object Set]",O="[object String]",E="[object Symbol]",T="[object WeakMap]",A="[object ArrayBuffer]",S="[object DataView]",C=/^\[object .+?Constructor\]$/,P=/^(?:0|[1-9]\d*)$/,N={};
vendor: 3,922 bytes, line 2
2N["[object Float32Array]"]=N["[object Float64Array]"]=N["[object Int8Array]"]=N["[object Int16Array]"]=N["[object Int32Array]"]=N["[object Uint8Array]"]=N["[object Uint8ClampedArray]"]=N["[object Uint16Array]"]=N["[object Uint32Array]"]=!0,N[o]=N[l]=N[A]=N[c]=N[S]=N[f]=N[d]=N[h]=N[v]=N[m]=N[y]=N[x]=N[k]=N[O]=N[T]=!1;var j="object"==typeof _&&_&&_.Object===Object&&_,R="object"==typeof self&&self&&self.Object===Object&&self,L=j||R||Function("return this")(),I=e&&!e.nodeType&&e,M=I&&t&&!t.nodeType&&t,D=M&&M.exports===I,$=D&&j.process,B=function(){try{return $&&$.binding&&$.binding("util")}catch(t){}}(),U=B&&B.isTypedArray;function F(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function z(map){var t=-1,e=Array(map.size);return map.forEach(function(n,r){e[++t]=[r,n]}),e}function H(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}var W,Y,K,V=Array.prototype,G=Function.prototype,Z=Object.prototype,Q=L["__core-js_shared__"],X=G.toString,J=Z.hasOwnProperty,tt=(W=/[^.]+$/.exec(Q&&Q.keys&&Q.keys.IE_PROTO||""))?"Symbol(src)_1."+W:"",et=Z.toString,nt=RegExp("^"+X.call(J).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ot=D?L.Buffer:void 0,it=L.Symbol,at=L.Uint8Array,lt=Z.propertyIsEnumerable,st=V.splice,ut=it?it.toStringTag:void 0,ct=Object.getOwnPropertySymbols,ft=ot?ot.isBuffer:void 0,ht=(Y=Object.keys,K=Object,function(t){return Y(K(t))}),pt=Ft(L,"DataView"),gt=Ft(L,"Map"),vt=Ft(L,"Promise"),mt=Ft(L,"Set"),bt=Ft(L,"WeakMap"),yt=Ft(Object,"create"),_t=Yt(pt),wt=Yt(gt),xt=Yt(vt),qt=Yt(mt),kt=Yt(bt),Ot=it?it.prototype:void 0,Et=Ot?Ot.valueOf:void 0;function Tt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function At(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function St(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Ct(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new St;++e<n;)this.add(t[e])}function Pt(t){var data=this.__data__=new At(t);this.size=data.size}function Nt(t,e){var n=Gt(t),r=!n&&Vt(t),o=!n&&!r&&Zt(t),l=!n&&!r&&!o&&ee(t),c=n||r||o||l,f=c?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],d=f.length;for(var h in t)!e&&!J.call(t,h)||c&&("length"==h||o&&("offset"==h||"parent"==h)||l&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||Wt(h,d))||f.push(h);return f}function jt(t,e){for(var n=t.length;n--;)if(Kt(t[n][0],e))return n;return-1}function Rt(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":ut&&ut in Object(t)?function(t){var e=J.call(t,ut),n=t[ut];try{t[ut]=void 0;var r=!0}catch(t){}var o=et.call(t);r&&(e?t[ut]=n:delete t[ut]);return o}(t):function(t){return et.call(t)}(t)}function Lt(t){return te(t)&&Rt(t)==o}function It(t,e,n,r,h){return t===e||(null==t||null==e||!te(t)&&!te(e)?t!=t&&e!=e:function(object,t,e,n,r,h){var _=Gt(object),w=Gt(t),T=_?l:Ht(object),C=w?l:Ht(t),P=(T=T==o?y:T)==y,N=(C=C==o?y:C)==y,j=T==C;if(j&&Zt(object)){if(!Zt(t))return!1;_=!0,P=!1}if(j&&!P)return h||(h=new Pt),_||ee(object)?$t(object,t,e,n,r,h):function(object,t,e,n,r,o,l){switch(e){case S:if(object.byteLength!=t.byteLength||object.byteOffset!=t.byteOffset)return!1;object=object.buffer,t=t.buffer;case A:return!(object.byteLength!=t.byteLength||!o(new at(object),new at(t)));case c:case f:case m:return Kt(+object,+t);case d:return object.name==t.name&&object.message==t.message;case x:case O:return object==t+"";case v:var h=z;case k:var y=1&n;if(h||(h=H),object.size!=t.size&&!y)return!1;var _=l.get(object);if(_)return _==t;n|=2,l.set(object,t);var w=$t(h(object),h(t),n,r,o,l);return l.delete(object),w;case E:if(Et)return Et.call(object)==Et.call(t)}return!1}(object,t,T,e,n,r,h);if(!(1&e)){var R=P&&J.call(object,"__wrapped__"),L=N&&J.call(t,"__wrapped__");
vendor: 6,307 bytes, line 2
2if(R||L){var I=R?object.value():object,M=L?t.value():t;return h||(h=new Pt),r(I,M,e,n,h)}}if(!j)return!1;return h||(h=new Pt),function(object,t,e,n,r,o){var l=1&e,c=Bt(object),f=c.length,d=Bt(t),h=d.length;if(f!=h&&!l)return!1;var v=f;for(;v--;){var m=c[v];if(!(l?m in t:J.call(t,m)))return!1}var y=o.get(object);if(y&&o.get(t))return y==t;var _=!0;o.set(object,t),o.set(t,object);var w=l;for(;++v<f;){var x=object[m=c[v]],k=t[m];if(n)var O=l?n(k,x,m,t,object,o):n(x,k,m,object,t,o);if(!(void 0===O?x===k||r(x,k,e,n,o):O)){_=!1;break}w||(w="constructor"==m)}if(_&&!w){var E=object.constructor,T=t.constructor;E==T||!("constructor"in object)||!("constructor"in t)||"function"==typeof E&&E instanceof E&&"function"==typeof T&&T instanceof T||(_=!1)}return o.delete(object),o.delete(t),_}(object,t,e,n,r,h)}(t,e,n,r,It,h))}function Mt(t){return!(!Jt(t)||function(t){return!!tt&&tt in t}(t))&&(Qt(t)?nt:C).test(Yt(t))}function Dt(object){if(e=(t=object)&&t.constructor,n="function"==typeof e&&e.prototype||Z,t!==n)return ht(object);var t,e,n,r=[];for(var o in Object(object))J.call(object,o)&&"constructor"!=o&&r.push(o);return r}function $t(t,e,n,r,o,l){var c=1&n,f=t.length,d=e.length;if(f!=d&&!(c&&d>f))return!1;var h=l.get(t);if(h&&l.get(e))return h==e;var v=-1,m=!0,y=2&n?new Ct:void 0;for(l.set(t,e),l.set(e,t);++v<f;){var _=t[v],w=e[v];if(r)var x=c?r(w,_,v,e,t,l):r(_,w,v,t,e,l);if(void 0!==x){if(x)continue;m=!1;break}if(y){if(!F(e,function(t,e){if(c=e,!y.has(c)&&(_===t||o(_,t,n,r,l)))return y.push(e);var c})){m=!1;break}}else if(_!==w&&!o(_,w,n,r,l)){m=!1;break}}return l.delete(t),l.delete(e),m}function Bt(object){return function(object,t,e){var n=t(object);return Gt(object)?n:function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}(n,e(object))}(object,ne,zt)}function Ut(map,t){var e,n,data=map.__data__;return("string"==(n=typeof(e=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==e:null===e)?data["string"==typeof t?"string":"hash"]:data.map}function Ft(object,t){var e=function(object,t){return null==object?void 0:object[t]}(object,t);return Mt(e)?e:void 0}Tt.prototype.clear=function(){this.__data__=yt?yt(null):{},this.size=0},Tt.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Tt.prototype.get=function(t){var data=this.__data__;if(yt){var e=data[t];return e===n?void 0:e}return J.call(data,t)?data[t]:void 0},Tt.prototype.has=function(t){var data=this.__data__;return yt?void 0!==data[t]:J.call(data,t)},Tt.prototype.set=function(t,e){var data=this.__data__;return this.size+=this.has(t)?0:1,data[t]=yt&&void 0===e?n:e,this},At.prototype.clear=function(){this.__data__=[],this.size=0},At.prototype.delete=function(t){var data=this.__data__,e=jt(data,t);return!(e<0)&&(e==data.length-1?data.pop():st.call(data,e,1),--this.size,!0)},At.prototype.get=function(t){var data=this.__data__,e=jt(data,t);return e<0?void 0:data[e][1]},At.prototype.has=function(t){return jt(this.__data__,t)>-1},At.prototype.set=function(t,e){var data=this.__data__,n=jt(data,t);return n<0?(++this.size,data.push([t,e])):data[n][1]=e,this},St.prototype.clear=function(){this.size=0,this.__data__={hash:new Tt,map:new(gt||At),string:new Tt}},St.prototype.delete=function(t){var e=Ut(this,t).delete(t);return this.size-=e?1:0,e},St.prototype.get=function(t){return Ut(this,t).get(t)},St.prototype.has=function(t){return Ut(this,t).has(t)},St.prototype.set=function(t,e){var data=Ut(this,t),n=data.size;return data.set(t,e),this.size+=data.size==n?0:1,this},Ct.prototype.add=Ct.prototype.push=function(t){return this.__data__.set(t,n),this},Ct.prototype.has=function(t){return this.__data__.has(t)},Pt.prototype.clear=function(){this.__data__=new At,this.size=0},Pt.prototype.delete=function(t){var data=this.__data__,e=data.delete(t);return this.size=data.size,e},Pt.prototype.get=function(t){return this.__data__.get(t)},Pt.prototype.has=function(t){return this.__data__.has(t)},Pt.prototype.set=function(t,e){var data=this.__data__;if(data instanceof At){var n=data.__data__;if(!gt||n.length<199)return n.push([t,e]),this.size=++data.size,this;data=this.__data__=new St(n)}return data.set(t,e),this.size=data.size,this};var zt=ct?function(object){return null==object?[]:(object=Object(object),function(t,e){for(var n=-1,r=null==t?0:t.length,o=0,l=[];++n<r;){var c=t[n];e(c,n,t)&&(l[o++]=c)}return l}(ct(object),function(symbol){return lt.call(object,symbol)}))}:function(){return[]},Ht=Rt;function Wt(t,e){return!!(e=null==e?r:e)&&("number"==typeof t||P.test(t))&&t>-1&&t%1==0&&t<e}function Yt(t){if(null!=t){try{return X.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Kt(t,e){return t===e||t!=t&&e!=e}(pt&&Ht(new pt(new ArrayBuffer(1)))!=S||gt&&Ht(new gt)!=v||vt&&Ht(vt.resolve())!=w||mt&&Ht(new mt)!=k||bt&&Ht(new bt)!=T)&&(Ht=function(t){var e=Rt(t),n=e==y?t.constructor:void 0,r=n?Yt(n):"";if(r)switch(r){case _t:return S;case wt:return v;case xt:return w;case qt:return k;case kt:return T}return e});var Vt=Lt(function(){return arguments}())?Lt:function(t){return te(t)&&J.call(t,"callee")&&!lt.call(t,"callee")},Gt=Array.isArray;var Zt=ft||function(){return!1};function Qt(t){if(!Jt(t))return!1;var e=Rt(t);return e==h||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Xt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}function Jt(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function te(t){return null!=t&&"object"==typeof t}var ee=U?function(t){return function(e){return t(e)}}(U):function(t){return te(t)&&Xt(t.length)&&!!N[Rt(t)]};function ne(object){return null!=(t=object)&&Xt(t.length)&&!Qt(t)?Nt(object):Dt(object);var t}t.exports=function(t,e){return It(t,e)}}),x={a:["a","à ","á","â","ã","ä","Ã¥","æ","Ä","Ä","Ä
","Ç","Ç","Ç¡","Ç»","È","È","ȧ","É","É","É","Í£","а","Ó","Ó","áµ","áµ","á¶","á¸","áº","ạ","ả","ấ","ầ","ẩ","ẫ","áº","ắ","ằ","ẳ","ẵ","ặ","â","â±¥","ï½"],b:["b","Æ","Æ","É","á¯","áµ","ᵬ","á¶","á¸","á¸
","á¸","ï½"],c:["c","ç","Ä","Ä","Ä","Ä","Æ","ȼ","É","ͨ","á´","á¶","á¸","â","ï½"],d:["d","Ä","Ä","Æ","Æ","È¡","É","É","Í©","áµ","áµ","á¶","á¶","á¸","á¸","á¸","á¸","á¸","ï½"],e:["e","è","é","ê","ë","Ä","Ä","Ä","Ä","Ä","Ç","È
","È
2","È©","É","É","ͤ","áµ","á¶","á¸","á¸","á¸","á¸","á¸","ẹ","ẻ","ẽ","ế","á»","á»","á»
","á»","â","ï½
"],f:["f","Æ","áµ®","á¶","á¶ ","á¸","ï½"],g:["g","Ä","Ä","Ä¡","Ä£","Ç¥","ǧ","ǵ","É ","É¡","áµ","áµ·","áµ¹","á¶","á¶¢","ḡ","ï½"],h:["h","Ä¥","ħ","Æ","È","É¥","ɦ","Ê®","ʯ","ʰ","ʱ","ͪ","Òº","Ò»","á","á¶£","ḣ","ḥ","ḧ","ḩ","ḫ","ⱨ","ï½"],i:["i","ì","Ã","î","ï","Ä©","Ä«","Ä","į","Ç","È","È","ɨ","Í¥","á´","áµ","áµ¢","á¶","ᶤ","á¸","ḯ","á»","á»","ï½"],j:["j","ĵ","ǰ","É","Ê","ʲ","á¶¡","ᶨ","ï½"],k:["k","Ä·","Æ","Ç©","Ê","áµ","á¶","ḱ","ḳ","ḵ","ⱪ","ï½"],l:["l","ĺ","ļ","ľ","Å","Å","Æ","È´","É«","ɬ","É","Ë¡","á¶
","á¶©","ᶪ","ḷ","ḹ","ḻ","ḽ","â","ⱡ"],m:["m","ɯ","ɰ","ɱ","Í«","á´","áµ","áµ","ᵯ","á¶","ᶬ","á¶","ḿ","á¹","á¹","ã¡","ã¥","ï½"],n:["n","ñ","Å","Å","Å","Å","Æ","ǹ","ȵ","ɲ","ɳ","áµ°","á¶","á¶®","ᶯ","á¹
","á¹","á¹","á¹","â¿","ï½"],o:["o","ò","ó","ô","õ","ö","ø","Å","Å","Å","Æ¡","Ç","Ç«","Ç","Ç¿","È","È","È«","È","ȯ","ȱ","ɵ","ͦ","о","Ó§","Ó©","á´","á´","á´","á´¼","áµ","á¶±","á¹","á¹","á¹","á¹","á»","á»","á»","á»","á»","á»","á»","á»","á»","á»","ỡ","ợ","â","ï½","ð¬"],p:["p","áµ","áµ±","áµ½","á¶","á¹","á¹","ï½"],q:["q","É","Ê ","á©","ï½"],r:["r","Å","Å","Å","È","È","É","ɹ","É»","ʳ","Ê´","ʵ","ͬ","áµ£","áµ²","á¶","á¹","á¹","á¹","á¹"],s:["s","Å","Å","Å","Å¡","È","Ê","á","á¶","ṡ","á¹£","á¹¥","á¹§","ṩ","ï½"],t:["t","Å£","Å¥","ŧ","Æ«","Æ","È","Ê","Í","áµ","áµ","áµµ","á¶µ","ṫ","á¹","ṯ","á¹±","áº","ï½"],u:["u","ù","ú","û","ü","Å©","Å«","Å","ů","ű","ų","ư","Ç","Ç","Ç","Ç","Ç","È","È","ͧ","ß","áµ","ᵤ","á¹³","á¹µ","á¹·","á¹¹","á¹»","ụ","á»§","ứ","ừ","á»","ữ","á»±","ï½"],v:["v","Ê","Í®","áµ","áµ¥","á¶¹","á¹½","ṿ","â±±","ï½","â±´"],w:["w","ŵ","Ê·","áµ","áº","áº","áº
","áº","áº","áº","â±³","ï½"],x:["x","̽","Í","á¶","ͯ","áº","áº","â","ï½"],y:["y","ý","ÿ","Å·","ȳ","É","ʸ","áº","ỳ","ỵ","á»·","ỹ","ï½"],z:["z","ź","ż","ž","ƶ","È¥","É","Ê","Ê","á","á","á¶»","á¶¼","á¶½","áº","áº","áº","ⱬ","ï½"]},k=function(){var t={};for(var e in x){var n=x[e];for(var r in n){var o=n[r];o!==e&&(t[o]=e)}}return t}(),O=/[^a-z0-9\s,.-]/,E=function(text){if(-1===text.search(O))return text;for(var t="",e=text.length,i=0;i<e;i++){var n=text.charAt(i);t+=n in k?k[n]:n}return t},T=function(t){return t.replace(/[\\^$*+?.()|[\]{}]/g,"\\$&")},A={format:function(t){return t},filterPredicate:function(t,filter){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null==t)return!1;var r=e?String(t).toLowerCase():E(T(String(t)).toLowerCase()),o=e?filter.toLowerCase():E(T(filter).toLowerCase());return n?r===o:r.indexOf(o)>-1},compare:function(t,e){function n(t){return null==t?"":E(String(t).toLowerCase())}return(t=n(t))<(e=n(e))?-1:t>e?1:0}};function S(template,style,script,t,e,n,r,o,l,c){"boolean"!=typeof r&&(l=o,o=r,r=!1);const f="function"==typeof script?script.options:script;let d;if(template&&template.render&&(f.render=template.render,f.staticRenderFns=template.staticRenderFns,f._compiled=!0,e&&(f.functional=!0)),t&&(f._scopeId=t),n?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),style&&style.call(this,l(t)),t&&t._registeredComponents&&t._registeredComponents.add(n)},f._ssrRegister=d):style&&(d=r?function(t){style.call(this,c(t,this.$root.$options.shadowRoot))}:function(t){style.call(this,o(t))}),d)if(f.functional){const t=f.render;f.render=function(e,n){return d.call(n),t(e,n)}}else{const t=f.beforeCreate;f.beforeCreate=t?[].concat(t,d):[d]}return script}var C={name:"VgtPagination",props:{styleClass:{default:"table table-bordered"},total:{default:null},perPage:{},rtl:{default:!1},perPageDropdownEnabled:{default:!0},customRowsPerPageDropdown:{default:function(){return[]}},paginateDropdownAllowAll:{default:!0},mode:{default:m},jumpFirstOrLast:{default:!1},firstText:{default:"First"},lastText:{default:"Last"},nextText:{default:"Next"},prevText:{default:"Prev"},rowsPerPageText:{default:"Rows per page:"},ofText:{default:"of"},pageText:{default:"page"},allText:{default:"All"},infoFn:{default:null}},data:function(){return{id:this.getId(),currentPage:1,prevPage:0,currentPerPage:10,rowsPerPageOptions:[]}},watch:{perPage:{handler:function(t,e){this.handlePerPage(),this.perPageChanged(e)},immediate:!0},customRowsPerPageDropdown:function(){this.handlePerPage()},total:{handler:function(t,e){-1===this.rowsPerPageOptions.indexOf(this.currentPerPage)&&(this.currentPerPage=t)}}},computed:{pagesCount:function(){if(-1===this.currentPerPage)return 1;var t=Math.floor(this.total/this.currentPerPage);return 0===this.total%this.currentPerPage?t:t+1},firstIsPossible:function(){return this.currentPage>1},lastIsPossible:function(){return this.currentPage<Math.ceil(this.total/this.currentPerPage)},nextIsPossible:function(){return this.currentPage<this.pagesCount},prevIsPossible:function(){return this.currentPage>1}},methods:{getId:function(){return"vgt-select-rpp-".concat(Math.floor(Math.random()*Date.now()))},changePage:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t>0&&this.total>this.currentPerPage*(t-1)&&(this.prevPage=this.currentPage,this.currentPage=t,this.pageChanged(e))},firstPage:function(){this.firstIsPossible&&(this.currentPage=1,this.prevPage=0,this.pageChanged())},lastPage:function(){this.lastIsPossible&&(this.currentPage=this.pagesCount,this.prev=this.currentPage-1,this.pageChanged())},nextPage:function(){this.nextIsPossible&&(this.prevPage=this.currentPage,++this.currentPage,this.pageChanged())},previousPage:function(){this.prevIsPossible&&(this.prevPage=this.currentPage,--this.currentPage,this.pageChanged())},pageChanged:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e={currentPage:this.currentPage,prevPage:this.prevPage};t||(e.noEmit=!0),this.$emit("page-changed",e)},perPageChanged:function(t){t&&this.$emit("per-page-changed",{currentPerPage:this.currentPerPage}),this.changePage(1,!1)},handlePerPage:function(){if(null!==this.customRowsPerPageDropdown&&Array.isArray(this.customRowsPerPageDropdown)&&0!==this.customRowsPerPageDropdown.length?this.rowsPerPageOptions=JSON.parse(JSON.stringify(this.customRowsPerPageDropdown)):this.rowsPerPageOptions=JSON.parse(JSON.stringify(y)),this.perPage){this.currentPerPage=this.perPage;for(var t=!1,i=0;i<this.rowsPerPageOptions.length;i++)this.rowsPerPageOptions[i]===this.perPage&&(t=!0);t||-1===this.perPage||this.rowsPerPageOptions.unshift(this.perPage)}else this.currentPerPage=10}},mounted:function(){},components:{"pagination-page-info":S({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"footer__navigation__page-info"}
vendor: 19,400 bytes, line 2
2,[t.infoFn?n("div",[t._v("\n "+t._s(t.infoFn(t.infoParams))+"\n ")]):"pages"===t.mode?n("form",{on:{submit:function(t){t.preventDefault()}}},[n("label",{staticClass:"page-info__label",attrs:{for:t.id}},[n("span",[t._v(t._s(t.pageText))]),t._v(" "),n("input",{staticClass:"footer__navigation__page-info__current-entry",attrs:{id:t.id,"aria-describedby":"change-page-hint","aria-controls":"vgb-table",type:"text"},domProps:{value:t.currentPage},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.stopPropagation(),t.changePage(e))}}}),t._v(" "),n("span",[t._v(t._s(t.pageInfo))])]),t._v(" "),n("span",{staticStyle:{display:"none"},attrs:{id:"change-page-hint"}},[t._v("\n Type a page number and press Enter to change the page.\n ")])]):n("div",[t._v("\n "+t._s(t.recordInfo)+"\n ")])])},staticRenderFns:[]},void 0,{name:"VgtPaginationPageInfo",props:{currentPage:{default:1},lastPage:{default:1},totalRecords:{default:0},ofText:{default:"of",type:String},pageText:{default:"page",type:String},currentPerPage:{},mode:{default:m},infoFn:{default:null}},data:function(){return{id:this.getId()}},computed:{pageInfo:function(){return"".concat(this.ofText," ").concat(this.lastPage)},firstRecordOnPage:function(){return(this.currentPage-1)*this.currentPerPage+1},lastRecordOnPage:function(){return-1===this.currentPerPage?this.totalRecords:Math.min(this.totalRecords,this.currentPage*this.currentPerPage)},recordInfo:function(){var t=this.firstRecordOnPage,e=this.lastRecordOnPage;return 0===e&&(t=0),"".concat(t," - ").concat(e," ").concat(this.ofText," ").concat(this.totalRecords)},infoParams:function(){var t=this.firstRecordOnPage,e=this.lastRecordOnPage;return 0===e&&(t=0),{firstRecordOnPage:t,lastRecordOnPage:e,totalRecords:this.totalRecords,currentPage:this.currentPage,totalPage:this.lastPage}}},methods:{getId:function(){return"vgt-page-input-".concat(Math.floor(Math.random()*Date.now()))},changePage:function(t){var e=parseInt(t.target.value,10);if(Number.isNaN(e)||e>this.lastPage||e<1)return t.target.value=this.currentPage,!1;t.target.value=e,this.$emit("page-changed",e)}},mounted:function(){},components:{}},"data-v-347cbcfa",false,void 0,!1,void 0,void 0,void 0)}},P=S({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vgt-wrap__footer vgt-clearfix"},[t.perPageDropdownEnabled?n("div",{staticClass:"footer__row-count vgt-pull-left"},[n("form",[n("label",{staticClass:"footer__row-count__label",attrs:{for:t.id}},[t._v(t._s(t.rowsPerPageText)+":")]),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.currentPerPage,expression:"currentPerPage"}],staticClass:"footer__row-count__select",attrs:{id:t.id,autocomplete:"off",name:"perPageSelect","aria-controls":"vgt-table"},on:{change:[function(e){var n=Array.prototype.filter.call(e.target.options,function(t){return t.selected}).map(function(t){return"_value"in t?t._value:t.value});t.currentPerPage=e.target.multiple?n:n[0]},t.perPageChanged]}},[t._l(t.rowsPerPageOptions,function(option,e){return n("option",{key:e,domProps:{value:option}},[t._v("\n "+t._s(option)+"\n ")])}),t._v(" "),t.paginateDropdownAllowAll?n("option",{domProps:{value:-1}},[t._v(t._s(t.allText))]):t._e()],2)])]):t._e(),t._v(" "),n("div",{staticClass:"footer__navigation vgt-pull-right"},[n("pagination-page-info",{attrs:{"total-records":t.total,"last-page":t.pagesCount,"current-page":t.currentPage,"current-per-page":t.currentPerPage,"of-text":t.ofText,"page-text":t.pageText,"info-fn":t.infoFn,mode:t.mode},on:{"page-changed":t.changePage}}),t._v(" "),t.jumpFirstOrLast?n("button",{staticClass:"footer__navigation__page-btn",class:{disabled:!t.firstIsPossible},attrs:{type:"button","aria-controls":"vgt-table"},on:{click:function(e){return e.preventDefault(),e.stopPropagation(),t.firstPage(e)}}},[n("span",{staticClass:"chevron",class:{left:!t.rtl,right:t.rtl},attrs:{"aria-hidden":"true"}}),t._v(" "),n("span",[t._v(t._s(t.firstText))])]):t._e(),t._v(" "),n("button",{staticClass:"footer__navigation__page-btn",class:{disabled:!t.prevIsPossible},attrs:{type:"button","aria-controls":"vgt-table"},on:{click:function(e){return e.preventDefault(),e.stopPropagation(),t.previousPage(e)}}},[n("span",{staticClass:"chevron",class:{left:!t.rtl,right:t.rtl},attrs:{"aria-hidden":"true"}}),t._v(" "),n("span",[t._v(t._s(t.prevText))])]),t._v(" "),n("button",{staticClass:"footer__navigation__page-btn",class:{disabled:!t.nextIsPossible},attrs:{type:"button","aria-controls":"vgt-table"},on:{click:function(e){return e.preventDefault(),e.stopPropagation(),t.nextPage(e)}}},[n("span",[t._v(t._s(t.nextText))]),t._v(" "),n("span",{staticClass:"chevron",class:{right:!t.rtl,left:t.rtl},attrs:{"aria-hidden":"true"}})]),t._v(" "),t.jumpFirstOrLast?n("button",{staticClass:"footer__navigation__page-btn",class:{disabled:!t.lastIsPossible},attrs:{type:"button","aria-controls":"vgt-table"},on:{click:function(e){return e.preventDefault(),e.stopPropagation(),t.lastPage(e)}}},[n("span",[t._v(t._s(t.lastText))]),t._v(" "),n("span",{staticClass:"chevron",class:{right:!t.rtl,left:t.rtl},attrs:{"aria-hidden":"true"}})]):t._e()],1)])},staticRenderFns:[]},void 0,C,void 0,false,void 0,!1,void 0,void 0,void 0),N=S({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.showControlBar?n("div",{staticClass:"vgt-global-search vgt-clearfix"},[n("div",{staticClass:"vgt-global-search__input vgt-pull-left"},[t.searchEnabled?n("form",{attrs:{role:"search"},on:{submit:function(t){t.preventDefault()}}},[n("label",{attrs:{for:t.id}},[t._m(0),t._v(" "),n("span",{staticClass:"sr-only"},[t._v("Search")])]),t._v(" "),n("input",{staticClass:"vgt-input vgt-pull-left",attrs:{id:t.id,type:"text",placeholder:t.globalSearchPlaceholder},domProps:{value:t.value},on:{input:function(e){return t.updateValue(e.target.value)},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.entered(e.target.value)}}})]):t._e()]),t._v(" "),n("div",{staticClass:"vgt-global-search__actions vgt-pull-right"},[t._t("internal-table-actions")],2)]):t._e()},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"input__icon",attrs:{"aria-hidden":"true"}},[e("div",{staticClass:"magnifying-glass"})])}]},void 0,{name:"VgtGlobalSearch",props:["value","searchEnabled","globalSearchPlaceholder"],data:function(){return{globalSearchTerm:null,id:this.getId()}},computed:{showControlBar:function(){return!!this.searchEnabled||!(!this.$slots||!this.$slots["internal-table-actions"])}},methods:{updateValue:function(t){this.$emit("input",t),this.$emit("on-keyup",t)},entered:function(t){this.$emit("on-enter",t)},getId:function(){return"vgt-search-".concat(Math.floor(Math.random()*Date.now()))}}},void 0,false,void 0,!1,void 0,void 0,void 0),j={name:"VgtFilterRow",props:["lineNumbers","columns","typedColumns","globalSearchEnabled","selectable","mode"],watch:{columns:{handler:function(t,e){this.populateInitialFilters()},deep:!0,immediate:!0}},data:function(){return{columnFilters:{},timer:null}},computed:{hasFilterRow:function(){for(var i=0;i<this.columns.length;i++){var col=this.columns[i];if(col.filterOptions&&col.filterOptions.enabled)return!0}return!1}},methods:{fieldKey:function(t){return"function"==typeof t&&t.name?t.name:t},reset:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.columnFilters={},t&&this.$emit("filter-changed",this.columnFilters)},isFilterable:function(t){return t.filterOptions&&t.filterOptions.enabled},isDropdown:function(t){return this.isFilterable(t)&&t.filterOptions.filterDropdownItems&&t.filterOptions.filterDropdownItems.length},isDropdownObjects:function(t){return this.isDropdown(t)&&"object"===n(t.filterOptions.filterDropdownItems[0])},isDropdownArray:function(t){return this.isDropdown(t)&&"object"!==n(t.filterOptions.filterDropdownItems[0])},getClasses:function(t){var e="filter-th";return t.filterOptions&&t.filterOptions.styleClass?[e].concat(l(t.filterOptions.styleClass.split(" "))).join(" "):e},getPlaceholder:function(t){return this.isFilterable(t)&&t.filterOptions.placeholder||"Filter ".concat(t.label)},getName:function(t){return"vgt-".concat(this.fieldKey(t.field))},updateFiltersOnEnter:function(t,e){this.timer&&clearTimeout(this.timer),this.updateFiltersImmediately(t.field,e)},updateFiltersOnKeyup:function(t,e){"enter"!==t.filterOptions.trigger&&this.updateFilters(t,e)},updateSlotFilter:function(t,e){var n=t.filterOptions.slotFilterField||t.field;"function"==typeof t.filterOptions.formatValue&&(e=t.filterOptions.formatValue(e)),this.updateFiltersImmediately(n,e)},updateFilters:function(t,e){var n=this;this.timer&&clearTimeout(this.timer),this.timer=setTimeout(function(){n.updateFiltersImmediately(t.field,e)},400)},updateFiltersImmediately:function(t,e){this.$set(this.columnFilters,this.fieldKey(t),e),this.$emit("filter-changed",this.columnFilters)},populateInitialFilters:function(){for(var i=0;i<this.columns.length;i++){var col=this.columns[i];this.isFilterable(col)&&void 0!==col.filterOptions.filterValue&&null!==col.filterOptions.filterValue&&this.$set(this.columnFilters,this.fieldKey(col.field),col.filterOptions.filterValue)}this.$emit("filter-changed",this.columnFilters)}}},R=S({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.hasFilterRow?n("tr",[t.lineNumbers?n("th"):t._e(),t._v(" "),t.selectable?n("th"):t._e(),t._v(" "),t._l(t.columns,function(e,r){return e.hidden?t._e():n("th",{key:r,class:t.getClasses(e)},[t._t("column-filter",[t.isFilterable(e)?n("div",[t.isDropdown(e)?t._e():n("input",{staticClass:"vgt-input",attrs:{name:t.getName(e),type:"text",placeholder:t.getPlaceholder(e)},domProps:{value:t.columnFilters[t.fieldKey(e.field)]},on:{keyup:function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"enter",13,n.key,"Enter")?null:t.updateFiltersOnEnter(e,n.target.value)},input:function(n){return t.updateFiltersOnKeyup(e,n.target.value)}}}),t._v(" "),t.isDropdownArray(e)?n("select",{staticClass:"vgt-select",attrs:{name:t.getName(e)},domProps:{value:t.columnFilters[t.fieldKey(e.field)]},on:{change:function(n){return t.updateFiltersImmediately(e.field,n.target.value)}}},[n("option",{key:"-1",attrs:{value:""}},[t._v(t._s(t.getPlaceholder(e)))]),t._v(" "),t._l(e.filterOptions.filterDropdownItems,function(option,i){return n("option",{key:i,domProps:{value:option}},[t._v("\n "+t._s(option)+"\n ")])})],2):t._e(),t._v(" "),t.isDropdownObjects(e)?n("select",{staticClass:"vgt-select",attrs:{name:t.getName(e)},domProps:{value:t.columnFilters[t.fieldKey(e.field)]},on:{change:function(n){return t.updateFiltersImmediately(e.field,n.target.value)}}},[n("option",{key:"-1",attrs:{value:""}},[t._v(t._s(t.getPlaceholder(e)))]),t._v(" "),t._l(e.filterOptions.filterDropdownItems,function(option,i){return n("option",{key:i,domProps:{value:option.value}},[t._v(t._s(option.text))])})],2):t._e()]):t._e()],{column:e,updateFilters:t.updateSlotFilter})],2)})],2):t._e()},staticRenderFns:[]},void 0,j,"data-v-6869bf1c",false,void 0,!1,void 0,void 0,void 0);function L(t){return t.firstSortType||"asc"}function I(t,e){return h===L(e)&&t===d?v:t===d?h:h===L(e)&&t===h?d:t===h?v:h===L(e)&&t===v?h:d}var M={name:"VgtTableHeader",props:{lineNumbers:{default:!1,type:Boolean},selectable:{default:!1,type:Boolean},allSelected:{default:!1,type:Boolean},allSelectedIndeterminate:{default:!1,type:Boolean},columns:{type:Array},mode:{type:String},typedColumns:{},sortable:{type:Boolean},multipleColumnSort:{type:Boolean,default:!0},getClasses:{type:Function},searchEnabled:{type:Boolean},tableRef:{},paginated:{}},watch:{columns:{handler:function(){this.setColumnStyles()},immediate:!0},tableRef:{handler:function(){this.setColumnStyles()},immediate:!0},paginated:{handler:function(){this.tableRef&&this.setColumnStyles()},deep:!0}},data:function(){return{checkBoxThStyle:{},lineNumberThStyle:{},columnStyles:[],sorts:[],ro:null}},computed:{},methods:{reset:function(){this.$refs["filter-row"].reset(!0)},toggleSelectAll:function(){this.$emit("on-toggle-select-all")},isSortableColumn:function(t){var e=t.sortable;return"boolean"==typeof e?e:this.sortable},sort:function(t,e){this.isSortableColumn(e)&&(t.shiftKey&&this.multipleColumnSort?this.sorts=function(t,e){var n=function(t,e){for(var i=0;i<t.length;i++)if(e.field===t[i].field)return i;return-1}(t,e);return-1===n?t.push({field:e.field,type:L(e)}):t[n].type=I(t[n].type,e),t}(this.sorts,e):this.sorts=function(t,e){var n=function(t,e){return 1===t.length&&t[0].field===e.field?t[0].type:void 0}(t,e),r=I(n,e);return[{field:e.field,type:n?r:L(e)}]}(this.sorts,e),this.$emit("on-sort-change",this.sorts))},setInitialSort:function(t){this.sorts=t,this.$emit("on-sort-change",this.sorts)},getColumnSort:function(t){for(var i=0;i<this.sorts.length;i+=1)if(this.sorts[i].field===t.field)return this.sorts[i].type||"asc";return null},getColumnSortLong:function(t){return"asc"===this.getColumnSort(t)?"ascending":"descending"},getHeaderClasses:function(t,e){return Object.assign({},this.getClasses(e,"th"),{sortable:this.isSortableColumn(t),"sorting sorting-desc":"desc"===this.getColumnSort(t),"sorting sorting-asc":"asc"===this.getColumnSort(t)})},filterRows:function(t){this.$emit("filter-changed",t)},getWidthStyle:function(t){return window&&window.getComputedStyle&&t?{width:window.getComputedStyle(t,null).width}:{width:"auto"}},setColumnStyles:function(){for(var t=[],i=0;i<this.columns.length;i++)if(this.tableRef){var e=0;this.selectable&&e++,this.lineNumbers&&e++;var n=this.tableRef.rows[0].cells[i+e];t.push(this.getWidthStyle(n))}else t.push({minWidth:this.columns[i].width?this.columns[i].width:"auto",maxWidth:this.columns[i].width?this.columns[i].width:"auto",width:this.columns[i].width?this.columns[i].width:"auto"});this.columnStyles=t},getColumnStyle:function(t,e){var n={minWidth:t.width?t.width:"auto",maxWidth:t.width?t.width:"auto",width:t.width?t.width:"auto"};if(this.tableRef){this.selectable&&e++,this.lineNumbers&&e++;var r=this.tableRef.rows[0].cells[e],o=window.getComputedStyle(r,null);n.width=o.width}return n}},mounted:function(){var t=this;this.$nextTick(function(){"ResizeObserver"in window&&(t.ro=new ResizeObserver(function(){t.setColumnStyles()}),t.ro.observe(t.$parent.$el),t.tableRef&&Array.from(t.$parent.$refs["table-header-primary"].$el.children[0].children).forEach(function(header){t.ro.observe(header)}))})},beforeDestroy:function(){this.ro&&this.ro.disconnect()},components:{"vgt-filter-row":R}},D=S({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("thead",[n("tr",[t.lineNumbers?n("th",{staticClass:"line-numbers",attrs:{scope:"col"}}):t._e(),t._v(" "),t.selectable?n("th",{staticClass:"vgt-checkbox-col",attrs:{scope:"col"}},[n("input",{attrs:{type:"checkbox"},domProps:{checked:t.allSelected,indeterminate:t.allSelectedIndeterminate},on:{change:t.toggleSelectAll}})]):t._e(),t._v(" "),t._l(t.columns,function(e,r){return e.hidden?t._e():n("th",{key:r,class:t.getHeaderClasses(e,r),style:t.columnStyles[r],attrs:{scope:"col",title:e.tooltip,"aria-sort":t.getColumnSortLong(e),"aria-controls":"col-"+r}},[t._t("table-column",[t._v("\n "+t._s(e.label)+"\n ")],{column:e}),t._v(" "),t.isSortableColumn(e)?n("button",{on:{click:function(n){return t.sort(n,e)}}},[n("span",{staticClass:"sr-only"},[t._v("\n Sort table by "+t._s(e.label)+" in "+t._s(t.getColumnSortLong(e))+" order\n ")])]):t._e()],2)})],2),t._v(" "),n("vgt-filter-row",{ref:"filter-row",tag:"tr",attrs:{"global-search-enabled":t.searchEnabled,"line-numbers":t.lineNumbers,selectable:t.selectable,columns:t.columns,mode:t.mode,"typed-columns":t.typedColumns},on:{"filter-changed":t.filterRows},scopedSlots:t._u([{key:"column-filter",fn:function(e){return[t._t("column-filter",null,{column:e.column,updateFilters:e.updateFilters})]}}],null,!0)})],1)},staticRenderFns:[]},void 0,M,void 0,false,void 0,!1,void 0,void 0,void 0),$=S({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("tr",["span"===t.headerRow.mode?n("th",{staticClass:"vgt-left-align vgt-row-header",attrs:{colspan:t.fullColspan}},[t.selectAllByGroup?[t._t("table-header-group-select",[n("input",{attrs:{type:"checkbox"},domProps:{checked:t.allSelected},on:{change:function(e){return t.toggleSelectGroup(e)}}})],{columns:t.columns,row:t.headerRow})]:t._e(),t._v(" "),n("span",{on:{click:function(e){t.collapsable&&t.$emit("vgtExpand",!t.headerRow.vgtIsExpanded)}}},[t.collapsable?n("span",{staticClass:"triangle",class:{expand:t.headerRow.vgtIsExpanded}}):t._e(),t._v(" "),t._t("table-header-row",[t.headerRow.html?n("span",{domProps:{innerHTML:t._s(t.headerRow.label)}}):n("span",[t._v("\n "+t._s(t.headerRow.label)+"\n ")])],{row:t.headerRow})],2)],2):t._e(),t._v(" "),"span"!==t.headerRow.mode&&t.lineNumbers?n("th",{staticClass:"vgt-row-header"}):t._e(),t._v(" "),"span"!==t.headerRow.mode&&t.selectable?n("th",{staticClass:"vgt-row-header"},[t.selectAllByGroup?[t._t("table-header-group-select",[n("input",{attrs:{type:"checkbox"},domProps:{checked:t.allSelected},on:{change:function(e){return t.toggleSelectGroup(e)}}})],{columns:t.columns,row:t.headerRow})]:t._e()],2):t._e(),t._v(" "),t._l(t.columns,function(e,i){return"span"===t.headerRow.mode||e.hidden?t._e():n("th",{key:i,staticClass:"vgt-row-header",class:t.getClasses(i,"td"),on:{click:function(e){t.columnCollapsable(i)&&t.$emit("vgtExpand",!t.headerRow.vgtIsExpanded)}}},[t.columnCollapsable(i)?n("span",{staticClass:"triangle",class:{expand:t.headerRow.vgtIsExpanded}}):t._e(),t._v(" "),t._t("table-header-row",[e.html?t._e():n("span",[t._v("\n "+t._s(t.collectFormatted(t.headerRow,e,!0))+"\n ")]),t._v(" "),e.html?n("span",{domProps:{innerHTML:t._s(t.collectFormatted(t.headerRow,e,!0))}}):t._e()],{row:t.headerRow,column:e,formattedRow:t.formattedRow(t.headerRow,!0)})],2)})],2)},staticRenderFns:[]},void 0,{name:"VgtHeaderRow",props:{headerRow:{type:Object},columns:{type:Array},lineNumbers:{type:Boolean},selectable:{type:Boolean},selectAllByGroup:{type:Boolean},collapsable:{type:[Boolean,Number],default:!1},collectFormatted:{type:Function},formattedRow:{type:Function},getClasses:{type:Function},fullColspan:{type:Number},groupIndex:{type:Number}},data:function(){return{}},computed:{allSelected:function(){var t=this.headerRow;this.groupChildObject;return t.children.filter(function(t){return t.vgtSelected}).length===t.children.length}},methods:{columnCollapsable:function(t){return!0===this.collapsable?0===t:t===this.collapsable},toggleSelectGroup:function(t){this.$emit("on-select-group-change",{groupIndex:this.groupIndex,checked:t.target.checked})}},mounted:function(){},components:{}},void 0,false,void 0,!1,void 0,void 0,void 0);function B(t){if(null===t||!0===t||!1===t)return NaN;var e=Number(t);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function U(t,e){if(e.length<t)throw new TypeError(t+" argument"+(t>1?"s":"")+" required, but only "+e.length+" present")}function F(t){U(1,arguments);var e=Object.prototype.toString.call(t);return t instanceof Date||"object"==typeof t&&"[object Date]"===e?new Date(t.getTime()):"number"==typeof t||"[object Number]"===e?new Date(t):("string"!=typeof t&&"[object String]"!==e||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.
21 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}var z=6e4;function H(t){return t.getTime()%z}function W(t){var e=new Date(t.getTime()),n=Math.ceil(e.getTimezoneOffset());e.setSeconds(0,0);var r=n>0?(z+H(e))%z:H(e);return n*z+r}function Y(t){U(1,arguments);var e=F(t);return!isNaN(e)}var K={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function V(t){return function(e){var n=e||{},r=n.width?String(n.width):t.defaultWidth;return t.formats[r]||t.formats[t.defaultWidth]}}var G={date:V({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:V({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:V({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Z={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Q(t){return function(e,n){var r,o=n||{};if("formatting"===(o.context?String(o.context):"standalone")&&t.formattingValues){var l=t.defaultFormattingWidth||t.defaultWidth,c=o.width?String(o.width):l;r=t.formattingValues[c]||t.formattingValues[l]}else{var f=t.defaultWidth,d=o.width?String(o.width):t.defaultWidth;r=t.values[d]||t.values[f]}return r[t.argumentCallback?t.argumentCallback(e):e]}}var X={ordinalNumber:function(t,e){var n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Q({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Q({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:Q({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Q({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Q({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function J(t){return function(e,n){var r=String(e),o=n||{},l=o.width,c=l&&t.matchPatterns[l]||t.matchPatterns[t.defaultMatchWidth],f=r.match(c);if(!f)return null;var d,h=f[0],v=l&&t.parsePatterns[l]||t.parsePatterns[t.defaultParseWidth];return d="[object Array]"===Object.prototype.toString.call(v)?function(t,e){for(var n=0;n<t.length;n++)if(e(t[n]))return n}(v,function(pattern){return pattern.test(h)}):function(object,t){for(var e in object)if(object.hasOwnProperty(e)&&t(object[e]))return e}(v,function(pattern){return pattern.test(h)}),d=t.valueCallback?t.valueCallback(d):d,{value:d=o.valueCallback?o.valueCallback(d):d,rest:r.slice(h.length)}}}var tt,et={ordinalNumber:(tt={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(t){return parseInt(t,10)}},function(t,e){var n=String(t),r=e||{},o=n.match(tt.matchPattern);if(!o)return null;var l=o[0],c=n.match(tt.parsePattern);if(!c)return null;var f=tt.valueCallback?tt.valueCallback(c[0]):c[0];return{value:f=r.valueCallback?r.valueCallback(f):f,rest:n.slice(l.length)}}),era:J({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:J({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:J({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:J({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:J({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},nt={code:"en-US",formatDistance:function(t,e,n){var r;return n=n||{},r="string"==typeof K[t]?K[t]:1===e?K[t].one:K[t].other.replace("{{count}}",e),n.addSuffix?n.comparison>0?"in "+r:r+" ago":r},formatLong:G,formatRelative:function(t,e,n,r){return Z[t]},localize:X,match:et,options:{weekStartsOn:0,firstWeekContainsDate:1}};function ot(t,e){return U(2,arguments),function(t,e){U(2,arguments);var n=F(t).getTime(),r=B(e);return new Date(n+r)}(t,-B(e))}function it(t,e){for(var n=t<0?"-":"",output=Math.abs(t).toString();output.length<e;)output="0"+output;return n+output}var at=function(t,e){var n=t.getUTCFullYear(),r=n>0?n:1-n;return it("yy"===e?r%100:r,e.length)},lt=function(t,e){var n=t.getUTCMonth();return"M"===e?String(n+1):it(n+1,2)},st=function(t,e){return it(t.getUTCDate(),e.length)},ut=function(t,e){return it(t.getUTCHours()%12||12,e.length)},ct=function(t,e){return it(t.getUTCHours(),e.length)},ft=function(t,e){return it(t.getUTCMinutes(),e.length)},ht=function(t,e){return it(t.getUTCSeconds(),e.length)},pt=function(t,e){var n=e.length,r=t.getUTCMilliseconds();return it(Math.floor(r*Math.pow(10,n-3)),e.length)};function gt(t){U(1,arguments);var e=F(t),n=e.getUTCDay(),r=(n<1?7:0)+n-1;return e.setUTCDate(e.getUTCDate()-r),e.setUTCHours(0,0,0,0),e}function vt(t){U(1,arguments);var e=F(t),n=e.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var o=gt(r),l=new Date(0);l.setUTCFullYear(n,0,4),l.setUTCHours(0,0,0,0);var c=gt(l);return e.getTime()>=o.getTime()?n+1:e.getTime()>=c.getTime()?n:n-1}function mt(t){U(1,arguments);var e=F(t),n=gt(e).getTime()-function(t){U(1,arguments);var e=vt(t),n=new Date(0);return n.setUTCFullYear(e,0,4),n.setUTCHours(0,0,0,0),gt(n)}(e).getTime();return Math.round(n/6048e5)+1}function bt(t,e){U(1,arguments);var n=e||{},r=n.locale,o=r&&r.options&&r.options.weekStartsOn,l=null==o?0:B(o),c=null==n.weekStartsOn?l:B(n.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=F(t),d=f.getUTCDay(),h=(d<c?7:0)+d-c;return f.setUTCDate(f.getUTCDate()-h),f.setUTCHours(0,0,0,0),f}function yt(t,e){U(1,arguments);var n=F(t,e),r=n.getUTCFullYear(),o=e||{},l=o.locale,c=l&&l.options&&l.options.firstWeekContainsDate,f=null==c?1:B(c),d=null==o.firstWeekContainsDate?f:B(o.firstWeekContainsDate);if(!(d>=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var h=new Date(0);h.setUTCFullYear(r+1,0,d),h.setUTCHours(0,0,0,0);var v=bt(h,e),m=new Date(0);m.setUTCFullYear(r,0,d),m.setUTCHours(0,0,0,0);var y=bt(m,e);return n.getTime()>=v.getTime()?r+1:n.getTime()>=y.getTime()?r:r-1}function _t(t,e){U(1,arguments);var n=F(t),r=bt(n,e).getTime()-function(t,e){U(1,arguments);var n=e||{},r=n.locale,o=r&&r.options&&r.options.firstWeekContainsDate,l=null==o?1:B(o),c=null==n.firstWeekContainsDate?l:B(n.firstWeekContainsDate),f=yt(t,e),d=new Date(0);return d.setUTCFullYear(f,0,c),d.setUTCHours(0,0,0,0),bt(d,e)}(n,e).getTime();return Math.round(r/6048e5)+1}var wt="midnight",xt="noon",qt="morning",kt="afternoon",Ot="evening",Et="night",Tt={G:function(t,e,n){var r=t.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if("yo"===e){var r=t.getUTCFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return at(t,e)},Y:function(t,e,n,r){var o=yt(t,r),l=o>0?o:1-o;return"YY"===e?it(l%100,2):"Yo"===e?n.ordinalNumber(l,{unit:"year"}):it(l,e.length)},R:function(t,e){return it(vt(t),e.length)},u:function(t,e){return it(t.getUTCFullYear(),e.length)},Q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return it(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){var r=Math.ceil((t.getUTCMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return it(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){var r=t.getUTCMonth();switch(e){case"M":case"MM":return lt(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){var r=t.getUTCMonth();switch(e){case"L":return String(r+1);case"LL":return it(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){var o=_t(t,r);return"wo"===e?n.ordinalNumber(o,{unit:"week"}):it(o,e.length)},I:function(t,e,n){var r=mt(t);return"Io"===e?n.ordinalNumber(r,{unit:"week"}):it(r,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):st(t,e)},D:function(t,e,n){var r=function(t){U(1,arguments);var e=F(t),n=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var r=n-e.getTime();return Math.floor(r/864e5)+1}(t);return"Do"===e?n.ordinalNumber(r,{unit:"dayOfYear"}):it(r,e.length)},E:function(t,e,n){var r=t.getUTCDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){var o=t.getUTCDay(),l=(o-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(l);case"ee":return it(l,2);case"eo":return n.ordinalNumber(l,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){var o=t.getUTCDay(),l=(o-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(l);case"cc":return it(l,e.length);case"co":return n.ordinalNumber(l,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(t,e,n){var r=t.getUTCDay(),o=0===r?7:r;switch(e){case"i":return String(o);case"ii":return it(o,e.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){var r=t.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,n){var r,o=t.getUTCHours();switch(r=12===o?xt:0===o?wt:o/12>
vendor: 24,305 bytes, line 2
2=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){var r,o=t.getUTCHours();switch(r=o>=17?Ot:o>=12?kt:o>=4?qt:Et,e){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){var r=t.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return ut(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):ct(t,e)},K:function(t,e,n){var r=t.getUTCHours()%12;return"Ko"===e?n.ordinalNumber(r,{unit:"hour"}):it(r,e.length)},k:function(t,e,n){var r=t.getUTCHours();return 0===r&&(r=24),"ko"===e?n.ordinalNumber(r,{unit:"hour"}):it(r,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):ft(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):ht(t,e)},S:function(t,e){return pt(t,e)},X:function(t,e,n,r){var o=(r._originalDate||t).getTimezoneOffset();if(0===o)return"Z";switch(e){case"X":return St(o);case"XXXX":case"XX":return Ct(o);default:return Ct(o,":")}},x:function(t,e,n,r){var o=(r._originalDate||t).getTimezoneOffset();switch(e){case"x":return St(o);case"xxxx":case"xx":return Ct(o);default:return Ct(o,":")}},O:function(t,e,n,r){var o=(r._originalDate||t).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+At(o,":");default:return"GMT"+Ct(o,":")}},z:function(t,e,n,r){var o=(r._originalDate||t).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+At(o,":");default:return"GMT"+Ct(o,":")}},t:function(t,e,n,r){var o=r._originalDate||t;return it(Math.floor(o.getTime()/1e3),e.length)},T:function(t,e,n,r){return it((r._originalDate||t).getTime(),e.length)}};function At(t,e){var n=t>0?"-":"+",r=Math.abs(t),o=Math.floor(r/60),l=r%60;if(0===l)return n+String(o);var c=e||"";return n+String(o)+c+it(l,2)}function St(t,e){return t%60==0?(t>0?"-":"+")+it(Math.abs(t)/60,2):Ct(t,e)}function Ct(t,e){var n=e||"",r=t>0?"-":"+",o=Math.abs(t);return r+it(Math.floor(o/60),2)+n+it(o%60,2)}function Pt(pattern,t){switch(pattern){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}}function Nt(pattern,t){switch(pattern){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}}var jt={p:Nt,P:function(pattern,t){var e,n=pattern.match(/(P+)(p+)?/),r=n[1],o=n[2];if(!o)return Pt(pattern,t);switch(r){case"P":e=t.dateTime({width:"short"});break;case"PP":e=t.dateTime({width:"medium"});break;case"PPP":e=t.dateTime({width:"long"});break;default:e=t.dateTime({width:"full"})}return e.replace("{{date}}",Pt(r,t)).replace("{{time}}",Nt(o,t))}},Rt=["D","DD"],Lt=["YY","YYYY"];function It(t){return-1!==Rt.indexOf(t)}function Mt(t){return-1!==Lt.indexOf(t)}function Dt(t,e,input){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(input,"`; see: https://git.io/fxCyr"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(input,"`; see: https://git.io/fxCyr"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(input,"`; see: https://git.io/fxCyr"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(input,"`; see: https://git.io/fxCyr"))}var $t=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Bt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ut=/^'([^]*?)'?$/,Ft=/''/g,zt=/[a-zA-Z]/;function Ht(t,e,n){U(2,arguments);var r=String(e),o=n||{},l=o.locale||nt,c=l.options&&l.options.firstWeekContainsDate,f=null==c?1:B(c),d=null==o.firstWeekContainsDate?f:B(o.firstWeekContainsDate);if(!(d>=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var h=l.options&&l.options.weekStartsOn,v=null==h?0:B(h),m=null==o.weekStartsOn?v:B(o.weekStartsOn);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!l.localize)throw new RangeError("locale must contain localize property");if(!l.formatLong)throw new RangeError("locale must contain formatLong property");var y=F(t);if(!Y(y))throw new RangeError("Invalid time value");var _=ot(y,W(y)),w={firstWeekContainsDate:d,weekStartsOn:m,locale:l,_originalDate:y};return r.match(Bt).map(function(t){var e=t[0];return"p"===e||"P"===e?(0,jt[e])(t,l.formatLong,w):t}).join("").match($t).map(function(n){if("''"===n)return"'";var r=n[0];if("'"===r)return n.match(Ut)[1].replace(Ft,"'");var c=Tt[r];if(c)return!o.useAdditionalWeekYearTokens&&Mt(n)&&Dt(n,e,t),!o.useAdditionalDayOfYearTokens&&It(n)&&Dt(n,e,t),c(_,n,l.localize,w);if(r.match(zt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");return n}).join("")}function Wt(t,e){if(null==t)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in e=e||{})e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function Yt(t,e,n){U(2,arguments);var r=n||{},o=r.locale,l=o&&o.options&&o.options.weekStartsOn,c=null==l?0:B(l),f=null==r.weekStartsOn?c:B(r.weekStartsOn);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=F(t),h=B(e),v=((h%7+7)%7<f?7:0)+h-d.getUTCDay();return d.setUTCDate(d.getUTCDate()+v),d}var Kt=/^(1[0-2]|0?\d)/,Vt=/^(3[0-1]|[0-2]?\d)/,Gt=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,Zt=/^(5[0-3]|[0-4]?\d)/,Qt=/^(2[0-3]|[0-1]?\d)/,Xt=/^(2[0-4]|[0-1]?\d)/,Jt=/^(1[0-1]|0?\d)/,te=/^(1[0-2]|0?\d)/,ee=/^[0-5]?\d/,ne=/^[0-5]?\d/,re=/^\d/,oe=/^\d{1,2}/,ie=/^\d{1,3}/,ae=/^\d{1,4}/,le=/^-?\d+/,se=/^-?\d/,ue=/^-?\d{1,2}/,ce=/^-?\d{1,3}/,fe=/^-?\d{1,4}/,de=/^([+-])(\d{2})(\d{2})?|Z/,he=/^([+-])(\d{2})(\d{2})|Z/,pe=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,ge=/^([+-])(\d{2}):(\d{2})|Z/,ve=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function me(pattern,t,e){var n=t.match(pattern);if(!n)return null;var r=parseInt(n[0],10);return{value:e?e(r):r,rest:t.slice(n[0].length)}}function be(pattern,t){var e=t.match(pattern);return e?"Z"===e[0]?{value:0,rest:t.slice(1)}:{value:("+"===e[1]?1:-1)*(36e5*(e[2]?parseInt(e[2],10):0)+6e4*(e[3]?parseInt(e[3],10):0)+1e3*(e[5]?parseInt(e[5],10):0)),rest:t.slice(e[0].length)}:null}function ye(t,e){return me(le,t,e)}function _e(t,e,n){switch(t){case 1:return me(re,e,n);case 2:return me(oe,e,n);case 3:return me(ie,e,n);case 4:return me(ae,e,n);default:return me(new RegExp("^\\d{1,"+t+"}"),e,n)}}function we(t,e,n){switch(t){case 1:return me(se,e,n);case 2:return me(ue,e,n);case 3:return me(ce,e,n);case 4:return me(fe,e,n);default:return me(new RegExp("^-?\\d{1,"+t+"}"),e,n)}}function xe(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function qe(t,e){var n,r=e>0,o=r?e:1-e;if(o<=50)n=t||100;else{var l=o+50;n=t+100*Math.floor(l/100)-(t>=l%100?100:0)}return r?n:1-n}var ke=[31,28,31,30,31,30,31,31,30,31,30,31],Oe=[31,29,31,30,31,30,31,31,30,31,30,31];function Ee(t){return t%400==0||t%4==0&&t%100!=0}var Te={G:{priority:140,parse:function(t,e,n,r){switch(e){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"});case"GGGGG":return n.era(t,{width:"narrow"});default:return n.era(t,{width:"wide"})||n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"})}},set:function(t,e,n,r){return e.era=n,t.setUTCFullYear(n,0,1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(t,e,n,r){var o=function(t){return{year:t,isTwoDigitYear:"yy"===e}};switch(e){case"y":return _e(4,t,o);case"yo":return n.ordinalNumber(t,{unit:"year",valueCallback:o});default:return _e(e.length,t,o)}},validate:function(t,e,n){return e.isTwoDigitYear||e.year>0},set:function(t,e,n,r){var o=t.getUTCFullYear();if(n.isTwoDigitYear){var l=qe(n.year,o);return t.setUTCFullYear(l,0,1),t.setUTCHours(0,0,0,0),t}var c="era"in e&&1!==e.era?1-n.year:n.year;return t.setUTCFullYear(c,0,1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(t,e,n,r){var o=function(t){return{year:t,isTwoDigitYear:"YY"===e}};switch(e){case"Y":return _e(4,t,o);case"Yo":return n.ordinalNumber(t,{unit:"year",valueCallback:o});default:return _e(e.length,t,o)}},validate:function(t,e,n){return e.isTwoDigitYear||e.year>0},set:function(t,e,n,r){var o=yt(t,r);if(n.isTwoDigitYear){var l=qe(n.year,o);return t.setUTCFullYear(l,0,r.firstWeekContainsDate),t.setUTCHours(0,0,0,0),bt(t,r)}var c="era"in e&&1!==e.era?1-n.year:n.year;return t.setUTCFullYear(c,0,r.firstWeekContainsDate),t.setUTCHours(0,0,0,0),bt(t,r)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(t,e,n,r){return we("R"===e?4:e.length,t)},set:function(t,e,n,r){var o=new Date(0);return o.setUTCFullYear(n,0,4),o.setUTCHours(0,0,0,0),gt(o)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(t,e,n,r){return we("u"===e?4:e.length,t)},set:function(t,e,n,r){return t.setUTCFullYear(n,0,1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(t,e,n,r){switch(e){case"Q":case"QQ":return _e(e.length,t);case"Qo":return n.ordinalNumber(t,{unit:"quarter"});case"QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});default:return n.quarter(t,{width:"wide",context:"formatting"})||n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,n){return e>=1&&e<=4},set:function(t,e,n,r){return t.setUTCMonth(3*(n-1),1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(t,e,n,r){switch(e){case"q":case"qq":return _e(e.length,t);case"qo":return n.ordinalNumber(t,{unit:"quarter"});case"qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});default:return n.quarter(t,{width:"wide",context:"standalone"})||n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"})}},validate:function(t,e,n){return e>=1&&e<=4},set:function(t,e,n,r){return t.setUTCMonth(3*(n-1),1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(t,e,n,r){var o=function(t){return t-1};switch(e){case"M":return me(Kt,t,o);case"MM":return _e(2,t,o);case"Mo":return n.ordinalNumber(t,{unit:"month",valueCallback:o});case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});default:return n.month(t,{width:"wide",context:"formatting"})||n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,n){return e>=0&&e<=11},set:function(t,e,n,r){return t.setUTCMonth(n,1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(t,e,n,r){var o=function(t){return t-1};switch(e){case"L":return me(Kt,t,o);case"LL":return _e(2,t,o);case"Lo":return n.ordinalNumber(t,{unit:"month",valueCallback:o});case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});default:return n.month(t,{width:"wide",context:"standalone"})||n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"})}},validate:function(t,e,n){return e>=0&&e<=11},set:function(t,e,n,r){return t.setUTCMonth(n,1),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(t,e,n,r){switch(e){case"w":return me(Zt,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return _e(e.length,t)}},validate:function(t,e,n){return e>=1&&e<=53},set:function(t,e,n,r){return bt(function(t,e,n){U(2,arguments);var r=F(t),o=B(e),l=_t(r,n)-o;return r.setUTCDate(r.getUTCDate()-7*l),r}(t,n,r),r)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(t,e,n,r){switch(e){case"I":return me(Zt,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return _e(e.length,t)}},validate:function(t,e,n){return e>=1&&e<=53},set:function(t,e,n,r){return gt(function(t,e){U(2,arguments);var n=F(t),r=B(e),o=mt(n)-r;return n.setUTCDate(n.getUTCDate()-7*o),n}(t,n,r),r)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,subPriority:1,parse:function(t,e,n,r){switch(e){case"d":return me(Vt,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return _e(e.length,t)}},validate:function(t,e,n){var r=Ee(t.getUTCFullYear()),o=t.getUTCMonth();return r?e>=1&&e<=Oe[o]:e>=1&&e<=ke[o]},set:function(t,e,n,r){return t.setUTCDate(n),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,subPriority:1,parse:function(t,e,n,r){switch(e){case"D":case"DD":return me(Gt,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return _e(e.length,t)}},validate:function(t,e,n){return Ee(t.getUTCFullYear())?e>=1&&e<=366:e>=1&&e<=365},set:function(t,e,n,r){return t.setUTCMonth(0,n),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(t,e,n,r){switch(e){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,n){return e>=0&&e<=6},set:function(t,e,n,r){return(t=Yt(t,n,r)).setUTCHours(0,0,0,0),t},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(t,e,n,r){var o=function(t){var e=7*Math.floor((t-1)/7);return(t+r.weekStartsOn+6)%7+e};switch(e){case"e":case"ee":return _e(e.length,t,o);case"eo":return n.ordinalNumber(t,{unit:"day",valueCallback:o});case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}},validate:function(t,e,n){return e>=0&&e<=6},set:function(t,e,n,r){return(t=Yt(t,n,r)).setUTCHours(0,0,0,0),t},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(t,e,n,r){var o=function(t){var e=7*Math.floor((t-1)/7);return(t+r.weekStartsOn+6)%7+e};switch(e){case"c":case"cc":return _e(e.length,t,o);case"co":return n.ordinalNumber(t,{unit:"day",valueCallback:o});case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}},validate:function(t,e,n){return e>=0&&e<=6},set:function(t,e,n,r){return(t=Yt(t,n,r)).setUTCHours(0,0,0,0),t},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(t,e,n,r){var o=function(t){return 0===t?7:t};switch(e){case"i":case"ii":return _e(e.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return n.day(t,{width:"abbreviated",context:"formatting",valueCallback:o})||n.day(t,{width:"short",context:"formatting",valueCallback:o})||n.day(t,{width:"narrow",context:"formatting",valueCallback:o});case"iiiii":return n.day(t,{width:"narrow",context:"formatting",valueCallback:o});case"iiiiii":return n.day(t,{width:"short",context:"formatting",valueCallback:o})||n.day(t,{width:"narrow",context:"formatting",valueCallback:o});default:return n.day(t,{width:"wide",context:"formatting",valueCallback:o})||n.day(t,{width:"abbreviated",context:"formatting",valueCallback:o})||n.day(t,{width:"short",context:"formatting",valueCallback:o})||n.day(t,{width:"narrow",context:"formatting",valueCallback:o})}},validate:function(t,e,n){return e>=1&&e<=7},set:function(t,e,n,r){return t=function(t,e){U(2,arguments);var n=B(e);n%7==0&&(n-=7);var r=F(t),o=((n%7+7)%7<1?7:0)+n-r.getUTCDay();return r.setUTCDate(r.getUTCDate()+o),r}(t,n,r),t.setUTCHours(0,0,0,0),t},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:{priority:80,parse:function(t,e,n,r){switch(e){case"a":case"aa":case"aaa":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}},set:function(t,e,n,r){return t.setUTCHours(xe(n),0,0,0),t},incompatibleTokens:["b","B","H","K","k","t","T"]},b:{priority:80,parse:function(t,e,n,r){switch(e){case"b":case"bb":case"bbb":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}},set:function(t,e,n,r){return t.setUTCHours(xe(n),0,0,0),t},incompatibleTokens:["a","B","H","K","k","t","T"]},B:{priority:80,parse:function(t,e,n,r){switch(e){case"B":case"BB":case"BBB":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}},set:function(t,e,n,r){return t.setUTCHours(xe(n),0,0,0),t},incompatibleTokens:["a","b","t","T"]},h:{priority:70,parse:function(t,e,n,r){switch(e){case"h":return me(te,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return _e(e.length,t)}},validate:function(t,e,n){return e>=1&&e<=12},set:function(t,e,n,r){var o=t.getUTCHours()>=12;return o&&n<12?t.setUTCHours(n+12,0,0,0):o||12!==n?t.setUTCHours(n,0,0,0):t.setUTCHours(0,0,0,0),t},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(t,e,n,r){switch(e){case"H":return me(Qt,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return _e(e.length,t)}},validate:function(t,e,n){return e>=0&&e<=23},set:function(t,e,n,r){return t.setUTCHours(n,0,0,0),t},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(t,e,n,r){switch(e){case"K":return me(Jt,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return _e(e.length,t)}},validate:function(t,e,n){return e>=0&&e<=11},set:function(t,e,n,r){return t.getUTCHours()>=12&&n<12?t.setUTCHours(n+12,0,0,0):t.setUTCHours(n,0,0,0),t},incompatibleTokens:["a","b","h","H","k","t","T"]},k:{priority:70,parse:function(t,e,n,r){switch(e){case"k":return me(Xt,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return _e(e.length,t)}},validate:function(t,e,n){return e>=1&&e<=24},set:function(t,e,n,r){var o=n<=24?n%24:n;return t.setUTCHours(o,0,0,0),t},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(t,e,n,r){switch(e){case"m":return me(ee,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return _e(e.length,t)}},validate:function(t,e,n){return e>=0&&e<=59},set:function(t,e,n,r){return t.setUTCMinutes(n,0,0),t},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(t,e,n,r){switch(e){case"s":return me(ne,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return _e(e.length,t)}},validate:function(t,e,n){return e>=0&&e<=59},set:function(t,e,n,r){return t.setUTCSeconds(n,0),t},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(t,e,n,r){return _e(e.length,t,function(t){return Math.floor(t*Math.pow(10,3-e.length))})},set:function(t,e,n,r){return t.setUTCMilliseconds(n),t},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(t,e,n,r){switch(e){case"X":return be(de,t);case"XX":return be(he,t);case"XXXX":return be(pe,t);case"XXXXX":return be(ve,t);default:return be(ge,t)}},set:function(t,e,n,r){return e.timestampIsSet?t:new Date(t.getTime()-n)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(t,e,n,r){switch(e){case"x":return be(de,t);case"xx":return be(he,t);case"xxxx":return be(pe,t);case"xxxxx":return be(ve,t);default:return be(ge,t)}},set:function(t,e,n,r){return e.timestampIsSet?t:new Date(t.getTime()-n)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(t,e,n,r){return ye(t)},set:function(t,e,n,r){return[new Date(1e3*n),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(t,e,n,r){return ye(t)},set:function(t,e,n,r){return[new Date(n),{timestampIsSet:!0}]},incompatibleTokens:"*"}},Ae=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Se=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ce=/^'([^]*?)'?$/,Pe=/''/g,Ne=/\S/,je=/[a-zA-Z]/;function Re(t,e,n,r){U(3,arguments);var o=String(t),l=String(e),c=r||{},f=c.locale||nt;if(!f.match)throw new RangeError("locale must contain match property");var d=f.options&&f.options.firstWeekContainsDate,h=null==d?1:B(d),v=null==c.firstWeekContainsDate?h:B(c.firstWeekContainsDate);if(!(v>=1&&v<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var m=f.options&&f.options.weekStartsOn,y=null==m?0:B(m),_=null==c.weekStartsOn?y:B(c.weekStartsOn);if(!(_>=0&&_<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===l)return""===o?F(n):new Date(NaN);var i,w={firstWeekContainsDate:v,weekStartsOn:_,locale:f},x=[{priority:10,subPriority:-1,set:Le,index:0}],k=l.match(Se).map(function(t){var e=t[0];return"p"===e||"P"===e?(0,jt[e])(t,f.formatLong,w):t}).join("").match(Ae),O=[];for(i=0;i<k.length;i++){var E=k[i];!c.useAdditionalWeekYearTokens&&Mt(E)&&Dt(E,l,t),!c.useAdditionalDayOfYearTokens&&It(E)&&Dt(E,l,t);var T=E[0],A=Te[T];if(A){var S=A.incompatibleTokens;if(Array.isArray(S)){for(var C=void 0,P=0;P<O.length;P++){var N=O[P].token;if(-1!==S.indexOf(N)||N===T){C=O[P];break}}
vendor: 8,647 bytes, line 2
2if(C)throw new RangeError("The format string mustn't contain `".concat(C.fullToken,"` and `").concat(E,"` at the same time"))}else if("*"===A.incompatibleTokens&&O.length)throw new RangeError("The format string mustn't contain `".concat(E,"` and any other token at the same time"));O.push({token:T,fullToken:E});var j=A.parse(o,E,f.match,w);if(!j)return new Date(NaN);x.push({priority:A.priority,subPriority:A.subPriority||0,set:A.set,validate:A.validate,value:j.value,index:x.length}),o=j.rest}else{if(T.match(je))throw new RangeError("Format string contains an unescaped latin alphabet character `"+T+"`");if("''"===E?E="'":"'"===T&&(E=Ie(E)),0!==o.indexOf(E))return new Date(NaN);o=o.slice(E.length)}}if(o.length>0&&Ne.test(o))return new Date(NaN);var R=x.map(function(t){return t.priority}).sort(function(a,b){return b-a}).filter(function(t,e,n){return n.indexOf(t)===e}).map(function(t){return x.filter(function(e){return e.priority===t}).sort(function(a,b){return b.subPriority-a.subPriority})}).map(function(t){return t[0]}),L=F(n);if(isNaN(L))return new Date(NaN);var I=ot(L,W(L)),M={};for(i=0;i<R.length;i++){var D=R[i];if(D.validate&&!D.validate(I,D.value,w))return new Date(NaN);var $=D.set(I,M,D.value,w);$[0]?(I=$[0],Wt(M,$[1])):I=$}return I}function Le(t,e){if(e.timestampIsSet)return t;var n=new Date(0);return n.setFullYear(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()),n.setHours(t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()),n}function Ie(input){return input.match(Ce)[1].replace(Pe,"'")}var Me=Object.assign({},A);Me.isRight=!0,Me.compare=function(t,e,n){function r(t){return n&&n.dateInputFormat?Re("".concat(t),"".concat(n.dateInputFormat),new Date):t}return t=r(t),e=r(e),Y(t)?Y(e)?function(t,e){U(2,arguments);var n=F(t),r=F(e),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}(t,e):1:-1},Me.format=function(t,e){if(null==t)return"";var n=Re(t,e.dateInputFormat,new Date);return Y(n)?Ht(n,e.dateOutputFormat):(console.error('Not a valid date: "'.concat(t,'"')),null)};var De=Object.freeze({__proto__:null,default:Me}),$e=Object.assign({},A);$e.isRight=!0,$e.filterPredicate=function(t,filter){return 0===$e.compare(t,filter)},$e.compare=function(t,e){function n(t){return null==t?-1/0:t.indexOf(".")>=0?parseFloat(t):parseInt(t,10)}return(t="number"==typeof t?t:n(t))<(e="number"==typeof e?e:n(e))?-1:t>e?1:0};var Be=Object.freeze({__proto__:null,default:$e}),Ue=Object.assign({},$e);Ue.format=function(t){return null==t?"":parseFloat(Math.round(100*t)/100).toFixed(2)};var Fe=Object.freeze({__proto__:null,default:Ue}),ze=Object.assign({},$e);ze.format=function(t){return null==t?"":"".concat(parseFloat(100*t).toFixed(2),"%")};var He=Object.freeze({__proto__:null,default:ze}),We=Object.assign({},A);We.isRight=!0,We.filterPredicate=function(t,filter){return 0===We.compare(t,filter)},We.compare=function(t,e){function n(t){return"boolean"==typeof t?t?1:0:"string"==typeof t?"true"===t?1:0:-1/0}return(t=n(t))<(e=n(e))?-1:t>e?1:0};var Ye={},Ke={date:De,decimal:Fe,number:Be,percentage:He,boolean:Object.freeze({__proto__:null,default:We})};Object.keys(Ke).forEach(function(t){var e=t.replace(/^\.\//,"").replace(/\.js/,"");Ye[e]=Ke[t].default});var Ve={name:"vue-good-table",props:{isLoading:{default:null,type:Boolean},maxHeight:{default:null,type:String},fixedHeader:Boolean,theme:{default:""},mode:{default:"local"},totalRows:{},styleClass:{default:"vgt-table bordered"},columns:{},rows:{},lineNumbers:Boolean,responsive:{default:!0,type:Boolean},rtl:Boolean,rowStyleClass:{default:null,type:[Function,String]},compactMode:Boolean,groupOptions:{default:function(){return{enabled:!1,collapsable:!1,rowKey:null}}},selectOptions:{default:function(){return{enabled:!1,selectionInfoClass:"",selectionText:"rows selected",clearSelectionText:"clear",disableSelectInfo:!1,selectAllByGroup:!1}}},sortOptions:{default:function(){return{enabled:!0,multipleColumns:!0,initialSortBy:{}}}},paginationOptions:{default:function(){var t;return r(t={enabled:!1,position:"bottom",perPage:10,perPageDropdown:null,perPageDropdownEnabled:!0},"position","bottom"),r(t,"dropdownAllowAll",!0),r(t,"mode","records"),r(t,"infoFn",null),r(t,"jumpFirstOrLast",!1),t}},searchOptions:{default:function(){return{enabled:!1,trigger:null,externalQuery:null,searchFn:null,placeholder:"Search Table"}}}},data:function(){return{tableLoading:!1,firstText:"First",lastText:"Last",nextText:"Next",prevText:"Previous",rowsPerPageText:"Rows per page",ofText:"of",allText:"All",pageText:"page",selectable:!1,selectOnCheckboxOnly:!1,selectAllByPage:!0,disableSelectInfo:!1,selectionInfoClass:"",selectionText:"rows selected",clearSelectionText:"clear",maintainExpanded:!0,expandedRowKeys:new Set,sortable:!0,defaultSortBy:null,multipleColumnSort:!0,searchEnabled:!1,searchTrigger:null,externalSearchQuery:null,searchFn:null,searchPlaceholder:"Search Table",searchSkipDiacritics:!1,perPage:null,paginate:!1,paginateOnTop:!1,paginateOnBottom:!0,customRowsPerPageDropdown:[],paginateDropdownAllowAll:!0,paginationMode:"records",paginationInfoFn:null,currentPage:1,currentPerPage:10,sorts:[],globalSearchTerm:"",filteredRows:[],columnFilters:{},forceSearch:!1,sortChanged:!1,dataTypes:Ye||{}}},watch:{rows:{handler:function(){this.$emit("update:isLoading",!1),this.filterRows(this.columnFilters,!1)},deep:!0,immediate:!0},selectOptions:{handler:function(){this.initializeSelect()},deep:!0,immediate:!0},paginationOptions:{handler:function(t,e){w(t,e)||this.initializePagination()},deep:!0,immediate:!0},searchOptions:{handler:function(){void 0!==this.searchOptions.externalQuery&&this.searchOptions.externalQuery!==this.searchTerm&&(this.externalSearchQuery=this.searchOptions.externalQuery,this.handleSearch()),this.initializeSearch()},deep:!0,immediate:!0},sortOptions:{handler:function(t,e){w(t,e)||this.initializeSort()},deep:!0},selectedRows:function(t,e){w(t,e)||this.$emit("on-selected-rows-change",{selectedRows:this.selectedRows})}},computed:{tableStyles:function(){return this.compactMode?this.tableStyleClasses+"vgt-compact":this.tableStyleClasses},hasFooterSlot:function(){return!!this.$slots["table-actions-bottom"]},wrapperStyles:function(){return{overflow:"scroll-y",maxHeight:this.maxHeight?this.maxHeight:"auto"}},rowKeyField:function(){return this.groupOptions.rowKey||"vgt_header_id"},hasHeaderRowTemplate:function(){return!!this.$slots["table-header-row"]||!!this.$scopedSlots["table-header-row"]},showEmptySlot:function(){return!this.paginated.length||"no groups"===this.paginated[0].label&&!this.paginated[0].children.length},allSelected:function(){return this.selectedRowCount>0&&(this.selectAllByPage&&this.selectedPageRowsCount===this.totalPageRowCount||!this.selectAllByPage&&this.selectedRowCount===this.totalRowCount)},allSelectedIndeterminate:function(){return!this.allSelected&&(this.selectAllByPage&&this.selectedPageRowsCount>0||!this.selectAllByPage&&this.selectedRowCount>0)},selectionInfo:function(){return"".concat(this.selectedRowCount," ").concat(this.selectionText)},selectedRowCount:function(){return this.selectedRows.length},selectedPageRowsCount:function(){return this.selectedPageRows.length},selectedPageRows:function(){var t=[];return this.paginated.forEach(function(e){e.children.forEach(function(e){e.vgtSelected&&t.push(e)})}),t},selectedRows:function(){var t=[];return this.processedRows.forEach(function(e){e.children.forEach(function(e){e.vgtSelected&&t.push(e)})}),t.sort(function(t,e){return t.originalIndex-e.originalIndex})},fullColspan:function(){for(var t=0,i=0;i<this.columns.length;i+=1)this.columns[i].hidden||(t+=1);return this.lineNumbers&&t++,this.selectable&&t++,t},groupHeaderOnTop:function(){return!(this.groupOptions&&this.groupOptions.enabled&&this.groupOptions.headerPosition&&"bottom"===this.groupOptions.headerPosition)&&!(!this.groupOptions||!this.groupOptions.enabled)},groupHeaderOnBottom:function(){return!!(this.groupOptions&&this.groupOptions.enabled&&this.groupOptions.headerPosition&&"bottom"===this.groupOptions.headerPosition)},totalRowCount:function(){return this.processedRows.reduce(function(t,e){return t+(e.children?e.children.length:0)},0)},totalPageRowCount:function(){return this.paginated.reduce(function(t,e){return t+(e.children?e.children.length:0)},0)},wrapStyleClasses:function(){var t="vgt-wrap";return this.rtl&&(t+=" rtl"),t+=" ".concat(this.theme)},tableStyleClasses:function(){var t=this.styleClass;return t+=" ".concat(this.theme)},searchTerm:function(){return null!=this.externalSearchQuery?this.externalSearchQuery:this.globalSearchTerm},globalSearchAllowed:function(){return!(!this.searchEnabled||!this.globalSearchTerm||"enter"
2===this.searchTrigger)||(null!=this.externalSearchQuery&&"enter"!==this.searchTrigger||!!this.forceSearch&&(this.forceSearch=!1,!0))},processedRows:function(){var t=this,e=this.filteredRows;if("remote"===this.mode)return e;if(this.globalSearchAllowed){var n=[];this.filteredRows.forEach(function(t){n.push.apply(n,l(t.children))});var r=[];n.forEach(function(e){for(var i=0;i<t.columns.length;i+=1){var col=t.columns[i];if(!col.globalSearchDisabled)if(t.searchFn){if(t.searchFn(e,col,t.collectFormatted(e,col),t.searchTerm)){r.push(e);break}}else if(A.filterPredicate(t.collectFormatted(e,col),t.searchTerm,t.searchSkipDiacritics)){r.push(e);break}}}),this.$emit("on-search",{searchTerm:this.searchTerm,rowCount:r.length}),e=[],this.filteredRows.forEach(function(t){var i=t.vgt_header_id,n=r.filter(function(t){return t.vgt_id===i});if(n.length){var o=JSON.parse(JSON.stringify(t));o.children=n,e.push(o)}})}return this.sorts.length&&e.forEach(function(e){e.children.sort(function(e,n){for(var r,i=0;i<t.sorts.length;i+=1){var o=t.sorts[i];if(o.type===v)r=r||e.originalIndex-n.originalIndex;else{var l=t.getColumnForField(o.field),c=t.collect(e,o.field),f=t.collect(n,o.field),d=l.sortFn;r=d&&"function"==typeof d?r||d(c,f,l,e,n)*(o.type===h?-1:1):r||l.typeDef.compare(c,f,l)*(o.type===h?-1:1)}}return r})}
vendor: 11,796 bytes, line 2
2),"enter"===this.searchTrigger&&(this.filteredRows=e),e},paginated:function(){var t=this;if(!this.processedRows.length)return[];if("remote"===this.mode)return this.processedRows;var e=[];if(this.processedRows.forEach(function(n){var r;t.groupOptions.enabled&&e.push(n),(r=e).push.apply(r,l(n.children))}),this.paginate){var n=(this.currentPage-1)*this.currentPerPage;(n>=e.length||-1===this.currentPerPage)&&(this.currentPage=1,n=0);var r=e.length+1;-1!==this.currentPerPage&&(r=this.currentPage*this.currentPerPage),e=e.slice(n,r)}var o=[];return e.forEach(function(e){if(void 0!==e.vgt_header_id){t.handleExpanded(e);var n=JSON.parse(JSON.stringify(e));n.children=[],o.push(n)}else{var r=o.find(function(t){return t.vgt_header_id===e.vgt_id});r||(r=t.processedRows.find(function(t){return t.vgt_header_id===e.vgt_id}))&&((r=JSON.parse(JSON.stringify(r))).children=[],o.push(r)),r.children.push(e)}}),o},originalRows:function(){var t=this.rows&&this.rows.length?JSON.parse(JSON.stringify(this.rows)):[],e=[];e=this.groupOptions.enabled?this.handleGrouped(t):this.handleGrouped([{label:"no groups",children:t}]);var n=0;return e.forEach(function(t){t.children.forEach(function(t){t.originalIndex=n++})}),e},typedColumns:function(){for(var t=this.columns,i=0;i<this.columns.length;i++){var e=t[i];e.typeDef=this.dataTypes[e.type]||A}return t},hasRowClickListener:function(){return this.$listeners&&this.$listeners["on-row-click"]}},methods:{handleExpanded:function(t){this.maintainExpanded&&this.expandedRowKeys.has(t[this.rowKeyField])?this.$set(t,"vgtIsExpanded",!0):this.$set(t,"vgtIsExpanded",!1)},toggleExpand:function(t){var e=this,n=this.filteredRows.find(function(n){return n[e.rowKeyField]===t});n&&this.$set(n,"vgtIsExpanded",!n.vgtIsExpanded),this.maintainExpanded&&n.vgtIsExpanded?this.expandedRowKeys.add(n[this.rowKeyField]):this.expandedRowKeys.delete(n[this.rowKeyField])},expandAll:function(){var t=this;this.filteredRows.forEach(function(e){t.$set(e,"vgtIsExpanded",!0),t.maintainExpanded&&t.expandedRowKeys.add(e[t.rowKeyField])})},collapseAll:function(){var t=this;this.filteredRows.forEach(function(e){t.$set(e,"vgtIsExpanded",!1),t.expandedRowKeys.clear()})},getColumnForField:function(t){for(var i=0;i<this.typedColumns.length;i+=1)if(this.typedColumns[i].field===t)return this.typedColumns[i]},handleSearch:function(){this.resetTable(),"remote"===this.mode&&this.$emit("on-search",{searchTerm:this.searchTerm})},reset:function(){this.initializeSort(),this.changePage(1),this.$refs["table-header-primary"].reset(!0),this.$refs["table-header-secondary"]&&this.$refs["table-header-secondary"].reset(!0)},emitSelectedRows:function(){this.$emit("on-select-all",{selected:this.selectedRowCount===this.totalRowCount,selectedRows:this.selectedRows})},unselectAllInternal:function(t){var e=this;(this.selectAllByPage&&!t?this.paginated:this.filteredRows).forEach(function(t,i){t.children.forEach(function(t,n){e.$set(t,"vgtSelected",!1)})}),this.emitSelectedRows()},toggleSelectAll:function(){var t=this;this.allSelected?this.unselectAllInternal():((this.selectAllByPage?this.paginated:this.filteredRows).forEach(function(e){e.children.forEach(function(e){t.$set(e,"vgtSelected",!0)})}),this.emitSelectedRows())},toggleSelectGroup:function(t,e){var n=this;e.children.forEach(function(e){n.$set(e,"vgtSelected",t.checked)})},changePage:function(t){var e=this.paginate,n=this.$refs,r=n.paginationBottom,o=n.paginationTop;e&&(this.paginateOnTop&&o&&(o.currentPage=t),this.paginateOnBottom&&r&&(r.currentPage=t),this.currentPage=t)},pageChangedEvent:function(){return{currentPage:this.currentPage,currentPerPage:this.currentPerPage,total:Math.floor(this.totalRowCount/this.currentPerPage)}},pageChanged:function(t){if(this.currentPage=t.currentPage,!t.noEmit){var e=this.pageChangedEvent();e.prevPage=t.prevPage,this.$emit("on-page-change",e),"remote"===this.mode&&this.$emit("update:isLoading",!0)}},perPageChanged:function(t){this.currentPerPage=t.currentPerPage;var e=this.paginationOptions.position;!this.$refs.paginationTop||"top"!==e&&"both"!==e||(this.$refs.paginationTop.currentPerPage=this.currentPerPage),!this.$refs.paginationBottom||"bottom"!==e&&"both"!==e||(this.$refs.paginationBottom.currentPerPage=this.currentPerPage);var n=this.pageChangedEvent();this.$emit("on-per-page-change",n),"remote"===this.mode&&this.$emit("update:isLoading",!0)},changeSort:function(t){this.sorts=t,this.$emit("on-sort-change",t),this.changePage(1),"remote"!==this.mode?this.sortChanged=!0:this.$emit("update:isLoading",!0)},onCheckboxClicked:function(t,e,n){this.$set(t,"vgtSelected",!t.vgtSelected),this.$emit("on-row-click",{row:t,pageIndex:e,selected:!!t.vgtSelected,event:n})},onRowDoubleClicked:function(t,e,n){this.$emit("on-row-dblclick",{row:t,pageIndex:e,selected:!!t.vgtSelected,event:n})},onRowClicked:function(t,e,n){this.selectable&&!this.selectOnCheckboxOnly&&this.$set(t,"vgtSelected",!t.vgtSelected),this.$emit("on-row-click",{row:t,pageIndex:e,selected:!!t.vgtSelected,event:n})},onRowAuxClicked:function(t,e,n){this.$emit("on-row-aux-click",{row:t,pageIndex:e,selected:!!t.vgtSelected,event:n})},onCellClicked:function(t,e,n,r){this.$emit("on-cell-click",{row:t,column:e,rowIndex:n,event:r})},onMouseenter:function(t,e){this.$emit("on-row-mouseenter",{row:t,pageIndex:e})},onMouseleave:function(t,e){this.$emit("on-row-mouseleave",{row:t,pageIndex:e})},searchTableOnEnter:function(){"enter"===this.searchTrigger&&(this.handleSearch(),this.filteredRows=JSON.parse(JSON.stringify(this.originalRows)),this.forceSearch=!0,this.sortChanged=!0)},searchTableOnKeyUp:function(){"enter"!==this.searchTrigger&&this.handleSearch()},resetTable:function(){this.unselectAllInternal(!0),this.changePage(1)},collect:function(t,e){return"function"==typeof e?e(t):"string"==typeof e?function(t,e){for(var n=t,r=e.split("."),i=0;i<r.length;i++){if(null==n)return;n=n[r[i]]}return n}(t,e):void 0},collectFormatted:function(t,e){var n;if(void 0===(n=arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&e.headerField?this.collect(t,e.headerField):this.collect(t,e.field)))return"";if(e.formatFn&&"function"==typeof e.formatFn)return e.formatFn(n,t);var r=e.typeDef;r||(r=this.dataTypes[e.type]||A);var o=r.format(n,e);return!this.compactMode||""!=o&&null!=o?o:"-"},formattedRow:function(t){for(var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={},i=0;i<this.typedColumns.length;i++){var col=this.typedColumns[i];col.field&&(n[col.field]=this.collectFormatted(t,col,e))}return n},getClasses:function(t,element,e){var n=this.typedColumns[t],r=n.typeDef,o=n["".concat(element,"Class")],l=r.isRight;this.rtl&&(l=!0);var c={"vgt-right-align":l,"vgt-left-align":!l};return"function"==typeof o?c[o(e)]=!0:"string"==typeof o&&(c[o]=!0),c},filterRows:function(t){var e=this,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.columnFilters=t;var o=JSON.parse(JSON.stringify(this.originalRows)),l=!1;if(this.columnFilters&&Object.keys(this.columnFilters).length){var c=function(){if(("remote"!==e.mode||r)&&e.changePage(1),r&&e.$emit("on-column-filter",{columnFilters:e.columnFilters}),"remote"===e.mode)return r?e.$emit("update:isLoading",!0):e.filteredRows=o,{v:void 0};for(var t=function(t){return"function"==typeof t&&t.name?t.name:t},c=function(i){var col=e.typedColumns[i];e.columnFilters[t(col.field)]&&(l=!0,o.forEach(function(r){var o=r.children.filter(function(r){return col.filterOptions&&"function"==typeof col.filterOptions.filterFn?col.filterOptions.filterFn(e.collect(r,col.field),e.columnFilters[t(col.field)]):col.typeDef.filterPredicate(e.collect(r,col.field),e.columnFilters[t(col.field)],!1,col.filterOptions&&"object"===n(col.filterOptions.filterDropdownItems))});r.children=o}))},i=0;i<e.typedColumns.length;i++)c(i)}();if("object"===n(c))return c.v}this.filteredRows=l?o.filter(function(t){return t.children&&t.children.length}):o},getCurrentIndex:function(t){for(var e=0,n=!1,i=0;i<this.paginated.length;i+=1){var r=this.paginated[i].children;if(r&&r.length)for(var o=0;o<r.length;o+=1){if(r[o].originalIndex===t){n=!0;break}e+=1}if(n)break}return(this.currentPage-1)*this.currentPerPage+e+1},getRowStyleClass:function(t){var e,n="";return this.hasRowClickListener&&(n+="clickable"),(e="function"==typeof this.rowStyleClass?this.rowStyleClass(t):this.rowStyleClass)&&(n+=" ".concat(e)),n},handleGrouped:function(t){var e=this;return t.forEach(function(t,i){t.vgt_header_id=i,e.groupOptions.maintainExpanded&&e.expandedRowKeys.has(t[e.groupOptions.rowKey])&&e.$set(t,"vgtIsExpanded",!0),t.children.forEach(function(t){t.vgt_id=i})}),t},initializePagination:function(){var t=this,e=this.paginationOptions,n=e.enabled,r=e.perPage,l=e.position,c=e.perPageDropdown,f=e.perPageDropdownEnabled,d=e.dropdownAllowAll,h=e.firstLabel,v=e.lastLabel,m=e.nextLabel,y=e.prevLabel,_=e.rowsPerPageLabel,w=e.ofLabel,x=e.pageLabel,k=e.allLabel,O=e.setCurrentPage,E=e.mode,T=e.infoFn;if("boolean"==typeof n&&(this.paginate=n),"number"==typeof r&&(this.perPage=r),"top"===l?(this.paginateOnTop=!0,this.paginateOnBottom=!1):"both"===l&&(this.paginateOnTop=!0,this.paginateOnBottom=!0),Array.isArray(c)&&c.length&&(this.customRowsPerPageDropdown=c,!this.perPage)){var A=o(c,1);this.perPage=A[0]}"boolean"==typeof f&&(this.perPageDropdownEnabled=f),"boolean"==typeof d&&(this.paginateDropdownAllowAll=d),"string"==typeof E&&(this.paginationMode=E),"string"==typeof h&&(this.firstText=h),"string"==typeof v&&(this.lastText=v),"string"==typeof m&&(this.nextText=m),"string"==typeof y&&(this.prevText=y),"string"==typeof _&&(this.rowsPerPageText=_),"string"==typeof w&&(this.ofText=w),"string"==typeof x&&(this.pageText=x),"string"==typeof k&&(this.allText=k),"number"==typeof O&&setTimeout(function(){t.changePage(O)},500),"function"==typeof T&&(this.paginationInfoFn=T)},initializeSearch:function(){var t=this.searchOptions,e=t.enabled,n=t.trigger,r=t.externalQuery,o=t.searchFn,l=t.placeholder,c=t.skipDiacritics;"boolean"==typeof e&&(this.searchEnabled=e),"enter"===n&&(this.searchTrigger=n),"string"==typeof r&&(this.externalSearchQuery=r),"function"==typeof o&&(this.searchFn=o),"string"==typeof l&&(this.searchPlaceholder=l),"boolean"==typeof c&&(this.searchSkipDiacritics=c)},initializeSort:function(){var t=this.sortOptions,e=t.enabled,r=t.initialSortBy,o=t.multipleColumns,l=JSON.parse(JSON.stringify(r||{}));if("boolean"==typeof e&&(this.sortable=e),"boolean"==typeof o&&(this.multipleColumnSort=o),"object"===n(l)){var c=this.fixedHeader?this.$refs["table-header-secondary"]:this.$refs["table-header-primary"];if(Array.isArray(l))c.setInitialSort(l);else Object.prototype.hasOwnProperty.call(l,"field")&&c.setInitialSort([l])}},initializeSelect:function(){var t=this.selectOptions,e=t.enabled,n=t.selectionInfoClass,r=t.selectionText,o=t.clearSelectionText,l=t.selectOnCheckboxOnly,c=t.selectAllByPage,f=t.disableSelectInfo,d=t.selectAllByGroup;"boolean"==typeof e&&(this.selectable=e),"boolean"==typeof l&&(this.selectOnCheckboxOnly=l),"boolean"==typeof c&&(this.selectAllByPage=c),"boolean"==typeof d&&(this.selectAllByGroup=d),"boolean"==typeof f&&(this.disableSelectInfo=f),"string"==typeof n&&(this.selectionInfoClass=n),"string"==typeof r&&(this.selectionText=r),"string"==typeof o&&(this.clearSelectionText=o)}},mounted:function(){this.perPage&&(this.currentPerPage=this.perPage),this.initializeSort()},components:{"vgt-pagination":P,"vgt-global-search":N,"vgt-header-row":$,"vgt-table-header":D}},Ge=S({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.wrapStyleClasses},[t.isLoading?n("div",{staticClass:"vgt-loading vgt-center-align"},[t._t("loadingContent",[n("span",{staticClass:"vgt-loading__content"},[t._v("\n Loading...\n ")])])],2):t._e(),t._v(" "),n("div",{staticClass:"vgt-inner-wrap",class:{"
2is-loading":t.isLoading}},[t.paginate&&t.paginateOnTop?t._t("pagination-top",[n("vgt-pagination",{ref:"paginationTop",attrs:{perPage:t.perPage,rtl:t.rtl,total:t.totalRows||t.totalRowCount,mode:t.paginationMode,jumpFirstOrLast:t.paginationOptions.jumpFirstOrLast,firstText:t.firstText,lastText:t.lastText,nextText:t.nextText,prevText:t.prevText,rowsPerPageText:t.rowsPerPageText,perPageDropdownEnabled:t.paginationOptions.perPageDropdownEnabled,customRowsPerPageDropdown:t.customRowsPerPageDropdown,paginateDropdownAllowAll:t.paginateDropdownAllowAll,ofText:t.ofText,pageText:t.pageText,allText:t.allText,"info-fn":t.paginationInfoFn},on:{"page-changed":t.pageChanged,"per-page-changed":t.perPageChanged}})],{pageChanged:t.pageChanged,perPageChanged:t.perPageChanged,total:t.totalRows||t.totalRowCount}):t._e(),t._v(" "),n("vgt-global-search",{attrs:{"search-enabled":t.searchEnabled&&null==t.externalSearchQuery,"global-search-placeholder":t.searchPlaceholder},on:{"on-keyup":t.searchTableOnKeyUp,"on-enter":t.searchTableOnEnter},model:{value:t.globalSearchTerm,callback:function(e){t.globalSearchTerm=e},expression:"globalSearchTerm"}},[n("template",{slot:"internal-table-actions"},[t._t("table-actions")],2)],2),t._v(" "),t.selectedRowCount&&!t.disableSelectInfo?n("div",{staticClass:"vgt-selection-info-row clearfix",class:t.selectionInfoClass},[t._v("\n "+t._s(t.selectionInfo)+"\n "),n("a",{attrs:{href:""},on:{click:function(e){return e.preventDefault(),t.unselectAllInternal(!0)}}},[t._v("\n "+t._s(t.clearSelectionText)+"\n ")]),t._v(" "),n("div",{staticClass:"vgt-selection-info-row__actions vgt-pull-right"},[t._t("selected-row-actions")],2)]):t._e(),t._v(" "),n("div",{staticClass:"vgt-fixed-header"},[t.fixedHeader?n("table",{class:t.tableStyleClasses,attrs:{id:"vgt-table"}},[n("colgroup",t._l(t.columns,function(t,e){return n("col",{key:e,attrs:{id:"col-"+e}})}),0),t._v(" "),n("vgt-table-header",{ref:"table-header-secondary",tag:"thead",attrs:{columns:t.columns,"line-numbers":t.lineNumbers,selectable:t.selectable,"all-selected":t.allSelected,"all-selected-indeterminate":t.allSelectedIndeterminate,mode:t.mode,sortable:t.sortable,"multiple-column-sort":t.multipleColumnSort,"typed-columns":t.typedColumns,getClasses:t.getClasses,searchEnabled:t.searchEnabled,paginated:t.paginated,"table-ref":t.$refs.table},on:{"on-toggle-select-all":t.toggleSelectAll,"on-sort-change":t.changeSort,"filter-changed":t.filterRows},scopedSlots:t._u([{key:"table-column",fn:function(e){return[t._t("table-column",[n("span",[t._v(t._s(e.column.label))])],{column:e.column})]}},{key:"column-filter",fn:function(e){return[t._t("column-filter",null,{column:e.column,updateFilters:e.updateFilters})]}}],null,!0)})],1):t._e()]),t._v(" "),n("div",{class:{"vgt-responsive":t.responsive},style:t.wrapperStyles},[n("table",{ref:"table",class:t.tableStyles,attrs:{id:"vgt-table"}},[n("colgroup",t._l(t.columns,function(t,e){return n("col",{key:e,attrs:{id:"col-"+e}})}),0),t._v(" "),n("vgt-table-header",{ref:"table-header-primary",tag:"thead",attrs:{columns:t.columns,"line-numbers":t.lineNumbers,selectable:t.selectable,"all-selected":t.allSelected,"all-selected-indeterminate":t.allSelectedIndeterminate,mode:t.mode,sortable:t.sortable,"multiple-column-sort":t.multipleColumnSort,"typed-columns":t.typedColumns,getClasses:t.getClasses,searchEnabled:t.searchEnabled},on:{"on-toggle-select-all":t.toggleSelectAll,"on-sort-change":t.changeSort,"filter-changed":t.filterRows},scopedSlots:t._u([{key:"table-column",fn:function(e){return[t._t("table-column",[n("span",[t._v(t._s(e.column.label))])],{column:e.column})]}},{key:"column-filter",fn:function(e){return[t._t("column-filter",null,{column:e.column,updateFilters:e.updateFilters})]}}],null,!0)}),t._v(" "),t._l(t.paginated,function(e,r){return n("tbody",{key:r},[t.groupHeaderOnTop?n("vgt-header-row",{class:t.getRowStyleClass(e),attrs:{"header-row":e,columns:t.columns,"line-numbers":t.lineNumbers,selectable:t.selectable,"select-all-by-group":t.selectAllByGroup,collapsable:t.groupOptions.collapsable,"collect-formatted":t.collectFormatted,"formatted-row":t.formattedRow,"get-classes":t.getClasses,"full-colspan":t.fullColspan,groupIndex:r},on:{vgtExpand:function(n){return t.toggleExpand(e[t.rowKeyField])},"on-select-group-change":function(n){return t.toggleSelectGroup(n,e)}},scopedSlots:t._u([{key:"table-header-row",fn:function(e){return t.hasHeaderRowTemplate?[t._t("table-header-row",null,{column:e.column,formattedRow:e.formattedRow,row:e.row})]:void 0}}],null,!0)}):t._e(),t._v(" "),t._l(e.children,function(r,o){return!t.groupOptions.collapsable||e.vgtIsExpanded?n("tr",{key:r.originalIndex,class:t.getRowStyleClass(r),on:{mouseenter:function(e){return t.onMouseenter(r,o)},mouseleave:function(e){return t.onMouseleave(r,o)},dblclick:function(e){return t.onRowDoubleClicked(r,o,e)},click:function(e){return t.onRowClicked(r,o,e)},auxclick:function(e){return t.onRowAuxClicked(r,o,e)}}},[t.lineNumbers?n("th",{staticClass:"line-numbers"},[t._v("\n "+t._s(t.getCurrentIndex(r.originalIndex))+"\n ")]):t._e(),t._v(" "),t.selectable?n("th",{staticClass:"vgt-checkbox-col",on:{click:function(e){return e.stopPropagation(),t.onCheckboxClicked(r,o,e)}}},[n("input",{attrs:{type:"checkbox",disabled:r.vgtDisabled},domProps:{checked:r.vgtSelected}})]):t._e(),t._v(" "),t._l(t.columns,function(e,i){return!e.hidden&&e.field?n("td",{key:i,class:t.getClasses(i,"td",r),attrs:{"data-label":t.compactMode?e.label:void 0},on:{click:function(n){return t.onCellClicked(r,e,o,n)}}},[t._t("table-row",[e.html?n("span",{domProps:{innerHTML:t._s(t.collect(r,e.field))}}):n("span",[t._v("\n "+t._s(t.collectFormatted(r,e))+"\n ")])],{row:r,column:e,formattedRow:t.formattedRow(r),index:o})],2):t._e()})],2):t._e()}),t._v(" "),t.groupHeaderOnBottom?n("vgt-header-row",{attrs:{"header-row":e,columns:t.columns,"line-numbers":t.lineNumbers,selectable:t.selectable,"select-all-by-group":t.selectAllByGroup,"collect-formatted":t.collectFormatted,"formatted-row":t.formattedRow,"get-classes":t.getClasses,"full-colspan":t.fullColspan,groupIndex:t.index},on:{"on-select-group-change":function(n){return t.toggleSelectGroup(n,e)}},scopedSlots:t._u([{key:"table-header-row",fn:function(e){return t.hasHeaderRowTemplate?[t._t("table-header-row",null,{column:e.column,formattedRow:e.formattedRow,row:e.row})]:void 0}}],null,!0)}):t._e()],2)}),t._v(" "),t.showEmptySlot?n("tbody",[n("tr",[n("td",{attrs:{colspan:t.fullColspan}},[t._t("emptystate",[n("div",{staticClass:"vgt-center-align vgt-text-disabled"},[t._v("\n No data for table\n ")])])],2)])]):t._e()],2)]),t._v(" "),t.hasFooterSlot?n("div",{staticClass:"vgt-wrap__actions-footer"},[t._t("table-actions-bottom")],2):t._e(),t._v(" "),t.paginate&&t.paginateOnBottom?t._t("pagination-bottom",[
2n("vgt-pagination",{ref:"paginationBottom",attrs:{perPage:t.perPage,rtl:t.rtl,total:t.totalRows||t.totalRowCount,mode:t.paginationMode,jumpFirstOrLast:t.paginationOptions.jumpFirstOrLast,firstText:t.firstText,lastText:t.lastText,nextText:t.nextText,prevText:t.prevText,rowsPerPageText:t.rowsPerPageText,perPageDropdownEnabled:t.paginationOptions.perPageDropdownEnabled,customRowsPerPageDropdown:t.customRowsPerPageDropdown,paginateDropdownAllowAll:t.paginateDropdownAllowAll,ofText:t.ofText,pageText:t.pageText,allText:t.allText,"info-fn":t.paginationInfoFn},on:{"page-changed":t.pageChanged,"per-page-changed":t.perPageChanged}})],{pageChanged:t.pageChanged,perPageChanged:t.perPageChanged,total:t.totalRows||t.totalRowCount}):t._e()],2)])},staticRenderFns:[]},void 0,Ve,void 0,false,void 0,!1,void 0,void 0,void 0),Ze={install:function(t,e){t.component(Ge.name,Ge)}};"undefined"!=typeof window&&window.Vue&&window.Vue.use(Ze),e.a=Ze}).call(this,n(24))},215:function(t,e,n){"use strict";t.exports=function(t,e){return e||(e={}),"string"!=typeof(t=t&&t.__esModule?t.default:t)?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},218:function(t,e,n){(function(t){t.installComponents=function(component,t){var n="function"==typeof component.exports?component.exports.extendOptions:component.options;for(var i in"function"==typeof component.exports&&(n.components=component.exports.options.components),n.components=n.components||{},t)n.components[i]=n.components[i]||t[i];n.functional&&function(component,t){if(component.exports[e])return;component.exports[e]=!0;var n=component.exports.render;component.exports.render=function(e,r){return n(e,Object.assign({},r,{_c:function(e,a,b){return r._c(t[e]||e,a,b)}}))}}(component,n.components)};var e="_functionalComponents"}).call(this,n(24))},22:function(t,e,n){(function(e){var n;"undefined"!=typeof self&&self,n=function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(object,t){return Object.prototype.hasOwnProperty.call(object,t)},n.p="",n(n.s=109)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(17),o=n(18),l=n(19),c=n(45),f=n(46),d=n(47),h=n(48),v=n(49),m=n(12),y=n(32),_=n(33),w=n(31),x=n(1),k={Scope:x.Scope,create:x.create,find:x.find,query:x.query,register:x.register,Container:r.default,Format:o.default,Leaf:l.default,Embed:h.default,Scroll:c.default,Block:d.default,Inline:f.default,Text:v.default,Attributor:{Attribute:m.default,Class:y.default,Style:_.default,Store:w.default}};e.default=k},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},function(t,b){function e(){this.constructor=t}r(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0});var l=function(t){function e(e){var n=this;return e="[Parchment] "+e,(n=t.call(this,e)||this).message=e,n.name=n.constructor.name,n}return o(e,t),e}(Error);e.ParchmentError=l;var c,f={},d={},h={},v={};function m(t,e){var n;if(void 0===e&&(e=c.ANY),"string"==typeof t)n=v[t]||f[t];else if(t instanceof Text||t.nodeType===Node.TEXT_NODE)n=v.text;else if("number"==typeof t)t&c.LEVEL&c.BLOCK?n=v.block:t&c.LEVEL&c.INLINE&&(n=v.inline);else if(t instanceof HTMLElement){var r=(t.getAttribute("class")||"").split(/\s+/);for(var i in r)if(n=d[r[i]])break;n=n||h[t.tagName]}return null==n?null:e&c.LEVEL&n.scope&&e&c.TYPE&n.scope?n:null}e.DATA_KEY="__blot",function(t){t[t.TYPE=3]="TYPE",t[t.LEVEL=12]="LEVEL",t[t.ATTRIBUTE=13]="ATTRIBUTE",t[t.BLOT=14]="BLOT",t[t.INLINE=7]="INLINE",t[t.BLOCK=11]="BLOCK",t[t.BLOCK_BLOT=10]="BLOCK_BLOT",t[t.INLINE_BLOT=6]="INLINE_BLOT",t[t.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",t[t.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",t[t.ANY=15]="ANY"}(c=e.Scope||(e.Scope={})),e.create=function(input,t){var e=m(input);if(null==e)throw new l("Unable to create "+input+" blot");var n=e,r=input instanceof Node||input.nodeType===Node.TEXT_NODE?input:n.create(t);return new n(r,t)},e.find=function t(n,r){return void 0===r&&(r=!1),null==n?null:null!=n[e.DATA_KEY]?n[e.DATA_KEY].blot:r?t(n.parentNode,r):null},e.query=m,e.register=function t(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(e.length>1)return e.map(function(e){return t(e)});var r=e[0];if("string"!=typeof r.blotName&&"string"!=typeof r.attrName)throw new l("Invalid definition");if("abstract"===r.blotName)throw new l("Cannot register abstract class");return v[r.blotName||r.attrName]=r,"string"==typeof r.keyName?f[r.keyName]=r:(null!=r.className&&(d[r.className]=r),null!=r.tagName&&(Array.isArray(r.tagName)?r.tagName=r.tagName.map(function(t){return t.toUpperCase()}):r.tagName=r.tagName.toUpperCase(),(Array.isArray(r.tagName)?r.tagName:[r.tagName]).forEac
vendor: 30,805 bytes, line 2
2h(function(t){null!=h[t]&&null!=r.className||(h[t]=r)}))),r}},function(t,e,n){var r=n(51),o=n(11),l=n(3),c=n(20),f=String.fromCharCode(0),d=function(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]};d.prototype.insert=function(text,t){var e={};return 0===text.length?this:(e.insert=text,null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(e.attributes=t),this.push(e))},d.prototype.delete=function(t){return t<=0?this:this.push({delete:t})},d.prototype.retain=function(t,e){if(t<=0)return this;var n={retain:t};return null!=e&&"object"==typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n)},d.prototype.push=function(t){var e=this.ops.length,n=this.ops[e-1];if(t=l(!0,{},t),"object"==typeof n){if("number"==typeof t.delete&&"number"==typeof n.delete)return this.ops[e-1]={delete:n.delete+t.delete},this;if("number"==typeof n.delete&&null!=t.insert&&(e-=1,"object"!=typeof(n=this.ops[e-1])))return this.ops.unshift(t),this;if(o(t.attributes,n.attributes)){if("string"==typeof t.insert&&"string"==typeof n.insert)return this.ops[e-1]={insert:n.insert+t.insert},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;if("number"==typeof t.retain&&"number"==typeof n.retain)return this.ops[e-1]={retain:n.retain+t.retain},"object"==typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this},d.prototype.chop=function(){var t=this.ops[this.ops.length-1];return t&&t.retain&&!t.attributes&&this.ops.pop(),this},d.prototype.filter=function(t){return this.ops.filter(t)},d.prototype.forEach=function(t){this.ops.forEach(t)},d.prototype.map=function(t){return this.ops.map(t)},d.prototype.partition=function(t){var e=[],n=[];return this.forEach(function(r){(t(r)?e:n).push(r)}),[e,n]},d.prototype.reduce=function(t,e){return this.ops.reduce(t,e)},d.prototype.changeLength=function(){return this.reduce(function(t,e){return e.insert?t+c.length(e):e.delete?t-e.delete:t},0)},d.prototype.length=function(){return this.reduce(function(t,e){return t+c.length(e)},0)},d.prototype.slice=function(t,e){t=t||0,"number"!=typeof e&&(e=1/0);for(var n=[],r=c.iterator(this.ops),o=0;o<e&&r.hasNext();){var l;o<t?l=r.next(t-o):(l=r.next(e-o),n.push(l)),o+=c.length(l)}return new d(n)},d.prototype.compose=function(t){var e=c.iterator(this.ops),n=c.iterator(t.ops),r=[],l=n.peek();if(null!=l&&"number"==typeof l.retain&&null==l.attributes){for(var f=l.retain;"insert"===e.peekType()&&e.peekLength()<=f;)f-=e.peekLength(),r.push(e.next());l.retain-f>0&&n.next(l.retain-f)}for(var h=new d(r);e.hasNext()||n.hasNext();)if("insert"===n.peekType())h.push(n.next());else if("delete"===e.peekType())h.push(e.next());else{var v=Math.min(e.peekLength(),n.peekLength()),m=e.next(v),y=n.next(v);if("number"==typeof y.retain){var _={};"number"==typeof m.retain?_.retain=v:_.insert=m.insert;var w=c.attributes.compose(m.attributes,y.attributes,"number"==typeof m.retain);if(w&&(_.attributes=w),h.push(_),!n.hasNext()&&o(h.ops[h.ops.length-1],_)){var x=new d(e.rest());return h.concat(x).chop()}}else"number"==typeof y.delete&&"number"==typeof m.retain&&h.push(y)}return h.chop()},d.prototype.concat=function(t){var e=new d(this.ops.slice());return t.ops.length>0&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e},d.prototype.diff=function(t,e){if(this.ops===t.ops)return new d;var n=[this,t].map(function(e){return e.map(function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:f;throw new Error("diff() called "+(e===t?"on":"with")+" non-document")}).join("")}),l=new d,h=r(n[0],n[1],e),v=c.iterator(this.ops),m=c.iterator(t.ops);return h.forEach(function(component){for(var t=component[1].length;t>0;){var e=0;switch(component[0]){case r.INSERT:e=Math.min(m.peekLength(),t),l.push(m.next(e));break;case r.DELETE:e=Math.min(t,v.peekLength()),v.next(e),l.delete(e);break;case r.EQUAL:e=Math.min(v.peekLength(),m.peekLength(),t);var n=v.next(e),f=m.next(e);o(n.insert,f.insert)?l.retain(e,c.attributes.diff(n.attributes,f.attributes)):l.push(f).delete(e)}t-=e}}),l.chop()},d.prototype.eachLine=function(t,e){e=e||"\n";for(var n=c.iterator(this.ops),line=new d,i=0;n.hasNext();){if("insert"!==n.peekType())return;var r=n.peek(),o=c.length(r)-n.peekLength(),l="string"==typeof r.insert?r.insert.indexOf(e,o)-o:-1;if(l<0)line.push(n.next());else if(l>0)line.push(n.next(l));else{if(!1===t(line,n.next(1).attributes||{},i))return;i+=1,line=new d}}line.length()>0&&t(line,{},i)},d.prototype.transform=function(t,e){if(e=!!e,"number"==typeof t)return this.transformPosition(t,e);for(var n=c.iterator(this.ops),r=c.iterator(t.ops),o=new d;n.hasNext()||r.hasNext();)if("insert"!==n.peekType()||!e&&"insert"===r.peekType())if("insert"===r.peekType())o.push(r.next());else{var l=Math.min(n.peekLength(),r.peekLength()),f=n.next(l),h=r.next(l);if(f.delete)continue;h.delete?o.push(h):o.retain(l,c.attributes.transform(f.attributes,h.attributes,e))}else o.retain(c.length(n.next()));return o.chop()},d.prototype.transformPosition=function(t,e){e=!!e;for(var n=c.iterator(this.ops),r=0;n.hasNext()&&r<=t;){var o=n.peekLength(),l=n.peekType();n.next(),"delete"!==l?("insert"===l&&(r<t||!e)&&(t+=o),r+=o):t-=Math.min(o,t-r)}return t},t.exports=d},function(t,e){"use strict";var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,o=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c=function(t){return"function"==typeof Array.isArray?Array.isArray(t):"[object Array]"===r.call(t)},f=function(t){if(!t||"[object Object]"!==r.call(t))return!1;var e,o=n.call(t,"constructor"),l=t.constructor&&t.constructor.prototype&&n.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!o&&!l)return!1;for(e in t);return void 0===e||n.call(t,e)},d=function(t,e){o&&"__proto__"===e.name?o(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue},h=function(t,e){if("__proto__"===e){if(!n.call(t,e))return;if(l)return l(t,e).value}return t[e]};t.exports=function t(){var e,n,r,o,l,v,m=arguments[0],i=1,y=arguments.length,_=!1;for("boolean"==typeof m&&(_=m,m=arguments[1]||{},i=2),(null==m||"object"!=typeof m&&"function"!=typeof m)&&(m={});i<y;++i)if(null!=(e=arguments[i]))for(n in e)r=h(m,n),m!==(o=h(e,n))&&(_&&o&&(f(o)||(l=c(o)))?(l?(l=!1,v=r&&c(r)?r:[]):v=r&&f(r)?r:{},d(m,{name:n,newValue:t(_,v,o)})):void 0!==o&&d(m,{name:n,newValue:o}));return m}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockEmbed=e.bubbleFormats=void 0;var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(object,e,n){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,e);if(void 0===desc){var r=Object.getPrototypeOf(object);return null===r?void 0:t(r,e,n)}if("value"in desc)return desc.value;var o=desc.get;return void 0!==o?o.call(n):void 0},l=m(n(3)),c=m(n(2)),f=m(n(0)),d=m(n(16)),h=m(n(6)),v=m(n(7));function m(t){return t&&t.__esModule?t:{default:t}}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function w(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var x=function(t){function e(){return y(this,e),_(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return w(e,t),r(e,[{key:"attach",value:function(){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"attach",this).call(this),this.attributes=new f.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new c.default).insert(this.value(),(0,l.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(t,e){var n=f.default.query(t,f.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,e)}},{key:"formatAt",value:function(t,e,n,r){this.format(n,r)}},{key:"insertAt",value:function(t,n,r){if("string"==typeof n&&n.endsWith("\n")){var l=f.default.create(k.blotName);this.parent.insertBefore(l,0===t?this:this.next),l.insertAt(0,n.slice(0,-1))}else o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,r)}}]),e}(f.default.Embed);x.scope=f.default.Scope.BLOCK_BLOT;var k=function(t){function e(t){y(this,e);var n=_(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.cache={},n}return w(e,t),r(e,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(f.default.Leaf).reduce(function(t,e){return 0===e.length()?t:t.insert(e.value(),O(e))},new c.default).insert("\n",O(this))),this.cache.delta}},{key:"deleteAt",value:function(t,n){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,n),this.cache={}}},{key:"formatAt",value:function(t,n,r,l){n<=0||(f.default.query(r,f.default.Scope.BLOCK)?t+n===this.length()&&this.format(r,l):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,Math.min(n,this.length()-t-1),r,l),this.cache={})}},{key:"insertAt",value:function(t,n,r){if(null!=r)return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,r);if(0!==n.length){var l=n.split("\n"),text=l.shift();text.length>0&&(t<this.length()-1||null==this.children.tail?o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,Math.min(t,this.length()-1),text):this.children.tail.insertAt(this.children.tail.length(),text),this.cache={});var c=this;l.reduce(function(t,line){return(c=c.split(t,!0)).insertAt(0,line),line.length},t+text.length)}}},{key:"insertBefore",value:function(t,n){var head=this.children.head;o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n),head instanceof d.default&&head.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"length",this).call(this)+1),this.cache.length}},{key:"moveChildren",value:function(t,n){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"moveChildren",this).call(this,t,n),this.cache={}}},{key:"optimize",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.cache={}}},{key:"path",value:function(t){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t,!0)}},{key:"removeChild",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"removeChild",this).call(this,t),this.cache={}}},{key:"split",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===t||t>=this.length()-1)){var r=this.clone();return 0===t?(this.parent.insertBefore(r,this),this):(this.parent.insertBefore(r,this.next),r)}var l=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"split",this).call(this,t,n);return this.cache={},l}}]),e}(f.default.Block);function O(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==t?e:("function"==typeof t.formats&&(e=(0,l.default)(e,t.formats())),null==t.parent||"scroll"==t.parent.blotName||t.parent.statics.scope!==t.statics.scope?e:O(t.parent,e))}k.blotName="block",k.tagName="P",k.defaultChild="break",k.allowedChildren=[h.default,f.default.Embed,v.default],e.bubbleFormats=O,e.BlockEmbed=x,e.default=k},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.overload=e.expandConfig=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(t,i){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,i){var e=[],n=!0,r=!1,o=void 0;try{for(var l,c=t[Symbol.iterator]();!(n=(l=c.next()).done)&&(e.push(l.value),!i||e.length!==i);n=!0);}catch(t){r=!0,o=t}finally{try{!n&&c.return&&c.return()}finally{if(r)throw o}}return e}(t,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")},l=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();n(50);var c=k(n(2)),f=k(n(14)),d=k(n(8)),h=k(n(9)),v=k(n(0)),m=n(15),y=k(m),_=k(n(3)),w=k(n(10)),x=k(n(34));function k(t){return t&&t.__esModule?t:{default:t}}function O(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var E=(0,w.default)("quill"),T=function(){function t(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.options=A(e,r),this.container=this.options.container,null==this.container)return E.error("Invalid Quill container",e);this.options.debug&&t.debug(this.options.debug);var html=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new d.default,this.scroll=v.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new f.default(this.scroll),this.selection=new y.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(d.default.events.EDITOR_CHANGE,function(t){t===d.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())}),this.emitter.on(d.default.events.SCROLL_UPDATE,function(source,t){var e=n.selection.lastRange,r=e&&0===e.length?e.index:void 0;S.call(n,function(){return n.editor.update(null,t,r)},source)});var o=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+html+"<p><br></p></div>");this.setContents(o),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return l(t,null,[{key:"debug",value:function(t){!0===t&&(t="log"),w.default.level(t)}},{key:"find",value:function(t){return t.__quill||v.default.find(t)}},{key:"import",value:function(t){return null==this.imports[t]&&E.error("Cannot import "+t+". Are you sure it was registered?"),this.imports[t]}},{key:"register",value:function(path,t){var e=this,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof path){var r=path.attrName||path.blotName;"string"==typeof r?this.register("formats/"+r,path,t):Object.keys(path).forEach(function(n){e.register(n,path[n],t)})}else null==this.imports[path]||n||E.warn("Overwriting "+path+" with",t),this.imports[path]=t,(path.startsWith("blots/")||path.startsWith("formats/"))&&"abstract"!==t.blotName?v.default.register(t):path.startsWith("modules")&&"function"==typeof t.register&&t.register()}}]),l(t,[{key:"addContainer",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof t){var n=t;(t=document.createElement("div")).classList.add(n)}return this.container.insertBefore(t,e),t}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(t,e,source){var n=this,r=C(t,e,source),l=o(r,4);return t=l[0],e=l[1],source=l[3],S.call(this,function(){return n.editor.deleteText(t,e)},source,t,-1*e)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(t),this.container.classList.toggle("ql-disabled",!t)}},{key:"focus",value:function(){var t=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=t,this.scrollIntoView()}},{key:"format",value:function(t,e){var n=this,source=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d.default.sources.API;return S.call(this,function(){var r=n.getSelection(!0),o=new c.default;if(null==r)return o;if(v.default.query(t,v.default.Scope.BLOCK))o=n.editor.formatLine(r.index,r.length,O({},t,e));else{if(0===r.length)return n.selection.format(t,e),o;o=n.editor.formatText(r.index,r.length,O({},t,e))}return n.setSelection(r,d.default.sources.SILENT),o},source)}},{key:"formatLine",value:function(t,e,n,r,source){var l,c=this,f=C(t,e,n,r,source),d=o(f,4);return t=d[0],e=d[1],l=d[2],source=d[3],S.call(this,function(){return c.editor.formatLine(t,e,l)},source,t,0)}},{key:"formatText",value:function(t,e,n,r,source){var l,c=this,f=C(t,e,n,r,source),d=o(f,4);return t=d[0],e=d[1],l=d[2],source=d[3],S.call(this,function(){return c.editor.formatText(t,e,l)},source,t,0)}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"==typeof t?this.selection.getBounds(t,e):this.selection.getBounds(t.index,t.length);var r=this.container.getBoundingClientRect();return{bottom:n.bottom-r.top,height:n.height,left:n.left-r.left,right:n.right-r.left,top:n.top-r.top,width:n.width}}},{key:"getContents",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=C(t,e),r=o(n,2);return t=r[0],e=r[1],this.editor.getContents(t,e)}},{key:"getFormat",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof t?this.editor.getFormat(t,e):this.editor.getFormat(t.index,t.length)}},{key:"getIndex",value:function(t){return t.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(t){return this.scroll.leaf(t)}},{key:"getLine",value:function(t){return this.scroll.line(t)}},{key:"getLines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof t?this.scroll.lines(t.index,t.length):this.scroll.lines(t,e)}},{key:"getModule",value:function(t){return this.theme.modules[t]}},{key:"getSelection",value:function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=C(t,e),r=o(n,2);return t=r[0],e=r[1],this.editor.getText(t,e)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(e,embed,n){var r=this,source=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.sources.API;return S.call(this,function(){return r.editor.insertEmbed(e,embed,n)},source,e)}},{key:"insertText",value:function(t,text,e,n,source){var r,l=this,c=C(t,0,e,n,source),f=o(c,4);return t=f[0],r=f[2],source=f[3],S.call(this,function(){return l.editor.insertText(t,text,r)},source,t,text.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(t,html,source){this.clipboard.dangerouslyPasteHTML(t,html,source)}},{key:"removeFormat",value:function(t,e,source){var n=this,r=C(t,e,source),l=o(r,4);return t=l[0],e=l[1],source=l[3],S.call(this,function(){return n.editor.removeFormat(t,e)},source,t)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(t){var e=this,source=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.default.sources.API;return S.call(this,function(){t=new c.default(t);var n=e.getLength(),r=e.editor.deleteText(0,n),o=e.editor.applyDelta(t),l=o.ops[o.ops.length-1];return null!=l&&"string"==typeof l.insert&&"\n"===l.insert[l.insert.length-1]&&(e.editor.deleteText(e.getLength()-1,1),o.delete(1)),r.compose(o)},source)}},{key:"setSelection",value:function(e,n,source){if(null==e)this.selection.setRange(null,n||t.sources.API);else{var r=C(e,n,source),l=o(r,4);e=l[0],n=l[1],source=l[3],this.selection.setRange(new m.Range(e,n),source),source!==d.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(text){var source=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.default.sources.API,t=(new c.default).insert(text);return this.setContents(t,source)}},{key:"update",value:function(){var source=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.default.sources.USER,t=this.scroll.update(source);return this.selection.update(source),t}},{key:"updateContents",value:function(t){var e=this,source=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.default.sources.API;return S.call(this,function(){return t=new c.default(t),e.editor.applyDelta(t,source)},source,!0)}}]),t}();function A(t,e){if((e=(0,_.default)(!0,{container:t,modules:{clipboard:!0,keyboard:!0,history:!0}},e)).theme&&e.theme!==T.DEFAULTS.theme){if(e.theme=T.import("themes/"+e.theme),null==e.theme)throw new Error("Invalid theme "+e.theme+". Did you register it?")}else e.theme=x.default;var n=(0,_.default)(!0,{},e.theme.DEFAULTS);[n,e].forEach(function(t){t.modules=t.modules||{},Object.keys(t.modules).forEach(function(e){!0===t.modules[e]&&(t.modules[e]={})})});var r=Object.keys(n.modules).concat(Object.keys(e.modules)).reduce(function(t,e){var n=T.import("modules/"+e);return null==n?E.error("Cannot load "+e+" module. Are you sure you registered it?"):t[e]=n.DEFAULTS||{},t},{});return null!=e.modules&&e.modules.toolbar&&e.modules.toolbar.constructor!==Object&&(e.modules.toolbar={container:e.modules.toolbar}),e=(0,_.default)(!0,{},T.DEFAULTS,{modules:r},n,e),["bounds","container","scrollingContainer"].forEach(function(t){"string"==typeof e[t]&&(e[t]=document.querySelector(e[t]))}),e.modules=Object.keys(e.modules).reduce(function(t,n){return e.modules[n]&&(t[n]=e.modules[n]),t},{}),e}function S(t,source,e,n){if(this.options.strict&&!this.isEnabled()&&source===d.default.sources.USER)return new c.default;var r=null==e?null:this.getSelection(),o=this.editor.delta,l=t();if(null!=r&&(!0===e&&(e=r.index),null==n?r=P(r,l,source):0!==n&&(r=P(r,e,n,source)),this.setSelection(r,d.default.sources.SILENT)),l.length()>0){var f,h,v=[d.default.events.TEXT_CHANGE,l,o,source];(f=this.emitter).emit.apply(f,[d.default.events.EDITOR_CHANGE].concat(v)),source!==d.default.sources.SILENT&&(h=this.emitter).emit.apply(h,v)}return l}function C(t,e,n,o,source){var l={};return"number"==typeof t.index&&"number"==typeof t.length?"number"!=typeof e?(source=o,o=n,n=e,e=t.length,t=t.index):(e=t.length,t=t.index):"number"!=typeof e&&(source=o,o=n,n=e,e=0),"object"===(void 0===n?"undefined":r(n))?(l=n,source=o):"string"==typeof n&&(null!=o?l[n]=o:source=n),[t,e,l,source=source||d.default.sources.API]}function P(t,e,n,source){if(null==t)return null;var r=void 0,l=void 0;if(e instanceof c.default){var f=[t.index,t.index+t.length].map(function(t){return e.transformPosition(t,source!==d.default.sources.USER)}),h=o(f,2);r=h[0],l=h[1]}else{var v=[t.index,t.index+t.length].map(function(t){return t<e||t===e&&source===d.default.sources.USER?t:n>=0?t+n:Math.max(e,t+n)}),y=o(v,2);r=y[0],l=y[1]}return new m.Range(r,l-r)}T.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},T.events=d.default.events,T.sources=d.default.sources,T.version="1.3.7",T.imports={delta:c.default,parchment:v.default,"core/module":h.default,"core/theme":x.default},e.expandConfig=A,e.overload=C,e.default=T},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(object,e,n){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,e);if(void 0===desc){var r=Object.getPrototypeOf(object);return null===r?void 0:t(r,e,n)}if("value"in desc)return desc.value;var o=desc.get;return void 0!==o?o.call(n):void 0},l=f(n(7)),c=f(n(0));function f(t){return t&&t.__esModule?t:{default:t}}var d=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"formatAt",value:function(t,n,r,l){if(e.compare(this.statics.blotName,r)<0&&c.default.query(r,c.default.Scope.BLOT)){var f=this.isolate(t,n);l&&f.wrap(r,l)}else o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,r,l)}},{key:"optimize",value:function(t){if(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.parent instanceof e&&e.compare(this.statics.blotName,this.parent.statics.blotName)>0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(t,n){var r=e.order.indexOf(t),o=e.order.indexOf(n);return r>=0||o>=0?r-o:t===n?0:t<n?-1:1}}]),e}(c.default.Inline);d.allowedChildren=[d,c.default.Embed,l.default],d.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(0),l=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((r=o)&&r.__esModule?r:{default:r}).default.Text);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(object,e,n){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,e);if(void 0===desc){var r=Object.getPrototypeOf(object);return null===r?void 0:t(r,e,n)}if("value"in desc)return desc.value;var o=desc.get;return void 0!==o?o.call(n):void 0},l=c(n(54));function c(t){return t&&t.__esModule?t:{default:t}}var f=(0,c(n(10)).default)("quill:events");["selectionchange","mousedown","mouseup","click"].forEach(function(t){document.addEventListener(t,function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];[].slice.call(document.querySelectorAll(".ql-container")).forEach(function(t){var n;t.__quill&&t.__quill.emitter&&(n=t.__quill.emitter).handleDOM.apply(n,e)})})});var d=function(t){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.listeners={},t.on("error",f.error),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"emit",value:function(){f.log.apply(f,arguments),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];(this.listeners[t.type]||[]).forEach(function(e){var r=e.node,o=e.handler;(t.target===r||r.contains(t.target))&&o.apply(void 0,[t].concat(n))})}},{key:"listenDOM",value:function(t,e,n){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push({node:e,handler:n})}}]),e}(l.default);d.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},d.sources={API:"api",SILENT:"silent",USER:"user"},e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.quill=e,this.options=n};r.DEFAULTS={},e.default=r},function(t,e,n){"use strict";
vendor: 6,166 bytes, line 2
2Object.defineProperty(e,"__esModule",{value:!0});var r=["error","warn","log","info"],o="warn";function l(t){if(r.indexOf(t)<=r.indexOf(o)){for(var e,n=arguments.length,l=Array(n>1?n-1:0),c=1;c<n;c++)l[c-1]=arguments[c];(e=console)[t].apply(e,l)}}function c(t){return r.reduce(function(e,n){return e[n]=l.bind(console,n,t),e},{})}l.level=c.level=function(t){o=t},e.default=c},function(t,e,n){var r=Array.prototype.slice,o=n(52),l=n(53),c=t.exports=function(t,e,n){return n||(n={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?n.strict?t===e:t==e:function(a,b,t){var i,e;if(f(a)||f(b))return!1;if(a.prototype!==b.prototype)return!1;if(l(a))return!!l(b)&&(a=r.call(a),b=r.call(b),c(a,b,t));if(d(a)){if(!d(b))return!1;if(a.length!==b.length)return!1;for(i=0;i<a.length;i++)if(a[i]!==b[i])return!1;return!0}try{var n=o(a),h=o(b)}catch(t){return!1}if(n.length!=h.length)return!1;for(n.sort(),h.sort(),i=n.length-1;i>=0;i--)if(n[i]!=h[i])return!1;for(i=n.length-1;i>=0;i--)if(e=n[i],!c(a[e],b[e],t))return!1;return typeof a==typeof b}(t,e,n))};function f(t){return null==t}function d(t){return!(!t||"object"!=typeof t||"number"!=typeof t.length||"function"!=typeof t.copy||"function"!=typeof t.slice||t.length>0&&"number"!=typeof t[0])}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),o=function(){function t(t,e,n){void 0===n&&(n={}),this.attrName=t,this.keyName=e;var o=r.Scope.TYPE&r.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&r.Scope.LEVEL|o:this.scope=r.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return t.keys=function(t){return[].map.call(t.attributes,function(t){return t.name})},t.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.setAttribute(this.keyName,e),!0)},t.prototype.canAdd=function(t,e){return null!=r.query(t,r.Scope.BLOT&(this.scope|r.Scope.TYPE))&&(null==this.whitelist||("string"==typeof e?this.whitelist.indexOf(e.replace(/["']/g,""))>-1:this.whitelist.indexOf(e)>-1))},t.prototype.remove=function(t){t.removeAttribute(this.keyName)},t.prototype.value=function(t){var e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:""},t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Code=void 0;var r=function(t,i){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,i){var e=[],n=!0,r=!1,o=void 0;try{for(var l,c=t[Symbol.iterator]();!(n=(l=c.next()).done)&&(e.push(l.value),!i||e.length!==i);n=!0);}catch(t){r=!0,o=t}finally{try{!n&&c.return&&c.return()}finally{if(r)throw o}}return e}(t,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=function t(object,e,n){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,e);if(void 0===desc){var r=Object.getPrototypeOf(object);return null===r?void 0:t(r,e,n)}if("value"in desc)return desc.value;var o=desc.get;return void 0!==o?o.call(n):void 0},c=m(n(2)),f=m(n(0)),d=m(n(4)),h=m(n(6)),v=m(n(7));function m(t){return t&&t.__esModule?t:{default:t}}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function w(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var x=function(t){function e(){return y(this,e),_(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return w(e,t),e}(h.default);x.blotName="code",x.tagName="CODE";var k=function(t){function e(){return y(this,e),_(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return w(e,t),o(e,[{key:"delta",value:function(){var t=this,text=this.domNode.textContent;return text.endsWith("\n")&&(text=text.slice(0,-1)),text.split("\n").reduce(function(e,n){return e.insert(n).insert("\n",t.formats())},new c.default)}},{key:"format",value:function(t,n){if(t!==this.statics.blotName||!n){var o=this.descendant(v.default,this.length()-1),text=r(o,1)[0];null!=text&&text.deleteAt(text.length()-1,1),l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}},{key:"formatAt",value:function(t,n,r,o){if(0!==n&&null!=f.default.query(r,f.default.Scope.BLOCK)&&(r!==this.statics.blotName||o!==this.statics.formats(this.domNode))){var l=this.newlineIndex(t);if(!(l<0||l>=t+n)){var c=this.newlineIndex(t,!0)+1,d=l-c+1,h=this.isolate(c,d),v=h.next;h.format(r,o),v instanceof e&&v.formatAt(0,t-c+n-d,r,o)}}}},{key:"insertAt",value:function(t,e,n){if(null==n){var o=this.descendant(v.default,t),l=r(o,2),text=l[0],c=l[1];text.insertAt(c,e)}}},{key:"length",value:function(){var t=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?t:t+1}},{key:"newlineIndex",value:function(t){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])return this.domNode.textContent.slice(0,t).lastIndexOf("\n");var e=this.domNode.textContent.slice(t).indexOf("\n");return e>-1?t+e:-1}},{key:"optimize",value:function(t){this.domNode.textContent.endsWith("\n")||this.appendChild(f.default.create("text","\n")),l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(t),n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t),[].slice.call(this.domNode.querySelectorAll("*")).forEac
vendor: 11,332 bytes, line 2
2h(function(t){var e=f.default.find(t);null==e?t.parentNode.removeChild(t):e instanceof f.default.Embed?e.remove():e.unwrap()})}}],[{key:"create",value:function(t){var n=l(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),e}(d.default);k.blotName="code-block",k.tagName="PRE",k.TAB=" ",e.Code=x,e.default=k},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(t,i){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,i){var e=[],n=!0,r=!1,o=void 0;try{for(var l,c=t[Symbol.iterator]();!(n=(l=c.next()).done)&&(e.push(l.value),!i||e.length!==i);n=!0);}catch(t){r=!0,o=t}finally{try{!n&&c.return&&c.return()}finally{if(r)throw o}}return e}(t,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")},l=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=O(n(2)),f=O(n(20)),d=O(n(0)),h=O(n(13)),v=O(n(24)),m=n(4),y=O(m),_=O(n(16)),w=O(n(21)),x=O(n(11)),k=O(n(3));function O(t){return t&&t.__esModule?t:{default:t}}var E=/^[ -~]*$/,T=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scroll=e,this.delta=this.getDelta()}return l(t,[{key:"applyDelta",value:function(t){var e=this,n=!1;this.scroll.update();var l=this.scroll.length();return this.scroll.batchStart(),(t=function(t){return t.reduce(function(t,e){if(1===e.insert){var n=(0,w.default)(e.attributes);return delete n.image,t.insert({image:e.attributes.image},n)}if(null==e.attributes||!0!==e.attributes.list&&!0!==e.attributes.bullet||((e=(0,w.default)(e)).attributes.list?e.attributes.list="ordered":(e.attributes.list="bullet",delete e.attributes.bullet)),"string"==typeof e.insert){var text=e.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return t.insert(text,e.attributes)}return t.push(e)},new c.default)}(t)).reduce(function(t,c){var h=c.retain||c.delete||c.insert.length||1,v=c.attributes||{};if(null!=c.insert){if("string"==typeof c.insert){var text=c.insert;text.endsWith("\n")&&n&&(n=!1,text=text.slice(0,-1)),t>=l&&!text.endsWith("\n")&&(n=!0),e.scroll.insertAt(t,text);var _=e.scroll.line(t),w=o(_,2),line=w[0],x=w[1],O=(0,k.default)({},(0,m.bubbleFormats)(line));if(line instanceof y.default){var E=line.descendant(d.default.Leaf,x),T=o(E,1)[0];O=(0,k.default)(O,(0,m.bubbleFormats)(T))}v=f.default.attributes.diff(O,v)||{}}else if("object"===r(c.insert)){var A=Object.keys(c.insert)[0];if(null==A)return t;e.scroll.insertAt(t,A,c.insert[A])}l+=h}return Object.keys(v).forEach(function(n){e.scroll.formatAt(t,h,n,v[n])}),t+h},0),t.reduce(function(t,n){return"number"==typeof n.delete?(e.scroll.deleteAt(t,n.delete),t):t+(n.retain||n.insert.length||1)},0),this.scroll.batchEnd(),this.update(t)}},{key:"deleteText",value:function(t,e){return this.scroll.deleteAt(t,e),this.update((new c.default).retain(t).delete(e))}},{key:"formatLine",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(r).forEach(function(o){if(null==n.scroll.whitelist||n.scroll.whitelist[o]){var l=n.scroll.lines(t,Math.max(e,1)),c=e;l.forEach(function(line){var e=line.length();if(line instanceof h.default){var l=t-line.offset(n.scroll),f=line.newlineIndex(l+c)-l+1;line.formatAt(l,f,o,r[o])}else line.format(o,r[o]);c-=e})}}),this.scroll.optimize(),this.update((new c.default).retain(t).retain(e,(0,w.default)(r)))}},{key:"formatText",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(r).forEach(function(o){n.scroll.formatAt(t,e,o,r[o])}),this.update((new c.default).retain(t).retain(e,(0,w.default)(r)))}},{key:"getContents",value:function(t,e){return this.delta.slice(t,t+e)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce(function(t,line){return t.concat(line.delta())},new c.default)}},{key:"getFormat",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=[];0===e?this.scroll.path(t).forEach(function(path){var t=o(path,1)[0];t instanceof y.default?n.push(t):t instanceof d.default.Leaf&&r.push(t)}):(n=this.scroll.lines(t,e),r=this.scroll.descendants(d.default.Leaf,t,e));var l=[n,r].map(function(t){if(0===t.length)return{};for(var e=(0,m.bubbleFormats)(t.shift());Object.keys(e).length>0;){var n=t.shift();if(null==n)return e;e=A((0,m.bubbleFormats)(n),e)}return e});return k.default.apply(k.default,l)}},{key:"getText",value:function(t,e){return this.getContents(t,e).filter(function(t){return"string"==typeof t.insert}).map(function(t){return t.insert}).join("")}},{key:"insertEmbed",value:function(t,embed,e){return this.scroll.insertAt(t,embed,e),this.update((new c.default).retain(t).insert(function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},embed,e)))}},{key:"insertText",value:function(t,text){var e=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return text=text.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(t,text),Object.keys(n).forEach(function(r){e.scroll.formatAt(t,text.length,r,n[r])}),this.update((new c.default).retain(t).insert(text,(0,w.default)(n)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var t=this.scroll.children.head;return t.statics.blotName===y.default.blotName&&!(t.children.length>1)&&t.children.head instanceof _.default}},{key:"removeFormat",value:function(t,e){var text=this.getText(t,e),n=this.scroll.line(t+e),r=o(n,2),line=r[0],l=r[1],f=0,d=new c.default;null!=line&&(f=line instanceof h.default?line.newlineIndex(l)-l+1:line.length()-l,d=line.delta().slice(l,l+f-1).insert("\n"));var v=this.getContents(t,e+f).diff((new c.default).insert(text).concat(d)),m=(new c.default).retain(t).concat(v);return this.applyDelta(m)}},{key:"update",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this.delta;if(1===e.length&&"characterData"===e[0].type&&e[0].target.data.match(E)&&d.default.find(e[0].target)){var o=d.default.find(e[0].target),l=(0,m.bubbleFormats)(o),f=o.offset(this.scroll),h=e[0].oldValue.replace(v.default.CONTENTS,""),y=(new c.default).insert(h),_=(new c.default).insert(o.value());t=(new c.default).retain(f).concat(y.diff(_,n)).reduce(function(t,e){return e.insert?t.insert(e.insert,l):t.push(e)},new c.default),this.delta=r.compose(t)}else this.delta=this.getDelta(),t&&(0,x.default)(r.compose(t),this.delta)||(t=r.diff(this.delta,n));return t}}]),t}();function A(t,e){return Object.keys(e).reduce(function(n,r){return null==t[r]||(e[r]===t[r]?n[r]=e[r]:Array.isArray(e[r])?e[r].indexOf(t[r])<0&&(n[r]=e[r].concat([t[r]])):n[r]=[e[r],t[r]]),n},{})}e.default=T},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Range=void 0;var r=function(t,i){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,i){var e=[],n=!0,r=!1,o=void 0;try{for(var l,c=t[Symbol.iterator]();!(n=(l=c.next()).done)&&(e.push(l.value),!i||e.length!==i);n=!0);}catch(t){r=!0,o=t}finally{try{!n&&c.return&&c.return()}finally{if(r)throw o}}return e}(t,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=h(n(0)),c=h(n(21)),f=h(n(11)),d=h(n(8));function h(t){return t&&t.__esModule?t:{default:t}}function v(t){if(Array.isArray(t)){for(var i=0,e=Array(t.length);i<t.length;i++)e[i]=t[i];return e}return Array.from(t)}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var y=(0,h(n(10)).default)("quill:selection"),_=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;m(this,t),this.index=e,this.length=n},w=function(){function t(e,n){var r=this;m(this,t),this.emitter=n,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=l.default.create("cursor",this),this.lastRange=this.savedRange=new _(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,function(){r.mouseDown||setTimeout(r.update.bind(r,d.default.sources.USER),1)}),this.emitter.on(d.default.events.EDITOR_CHANGE,function(t,e){t===d.default.events.TEXT_CHANGE&&e.length()>0&&r.update(d.default.sources.SILENT)}),this.emitter.on(d.default.events.SCROLL_BEFORE_UPDATE,function(){if(r.hasFocus()){var t=r.getNativeRange();null!=t&&t.start.node!==r.cursor.textNode&&r.emitter.once(d.default.events.SCROLL_UPDATE,function(){try{r.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset)}catch(t){}})}}),this.emitter.on(d.default.events.SCROLL_OPTIMIZE,function(t,e){if(e.range){var n=e.range,o=n.startNode,l=n.startOffset,c=n.endNode,f=n.endOffset;r.setNativeRange(o,l,c,f)}}),this.update(d.default.sources.SILENT)}return o(t,[{key:"handleComposition",value:function(){var t=this;this.root.addEventListener("compositionstart",function(){t.composing=!0}),this.root.addEventListener("compositionend",function(){if(t.composing=!1,t.cursor.parent){var e=t.cursor.restore();if(!e)return;setTimeout(function(){t.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)},1)}})}},{key:"handleDragging",value:function(){var t=this;this.emitter.listenDOM("mousedown",document.body,function(){t.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,function(){t.mouseDown=!1,t.update(d.default.sources.USER)})}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(t,e){if(null==this.scroll.whitelist||this.scroll.whitelist[t]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!l.default.query(t,l.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=l.default.find(n.start.node,!1);if(null==r)return;if(r instanceof l.default.Leaf){var o=r.split(n.start.offset);r.parent.insertBefore(this.cursor,o)}else r.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(t,e),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();t=Math.min(t,n-1),e=Math.min(t+e,n-1)-t;var o=void 0,l=this.scroll.leaf(t),c=r(l,2),f=c[0],d=c[1];if(null==f)return null;var h=f.position(d,!0),v=r(h,2);o=v[0],d=v[1];var m=document.createRange();if(e>0){m.setStart(o,d);var y=this.scroll.leaf(t+e),_=r(y,2);if(f=_[0],d=_[1],null==f)return null;
vendor: 4,227 bytes, line 2
2var w=f.position(d,!0),x=r(w,2);return o=x[0],d=x[1],m.setEnd(o,d),m.getBoundingClientRect()}var k="left",rect=void 0;return o instanceof Text?(d<o.data.length?(m.setStart(o,d),m.setEnd(o,d+1)):(m.setStart(o,d-1),m.setEnd(o,d),k="right"),rect=m.getBoundingClientRect()):(rect=f.domNode.getBoundingClientRect(),d>0&&(k="right")),{bottom:rect.top+rect.height,height:rect.height,left:rect[k],right:rect[k],top:rect.top,width:0}}},{key:"getNativeRange",value:function(){var t=document.getSelection();if(null==t||t.rangeCount<=0)return null;var e=t.getRangeAt(0);if(null==e)return null;var n=this.normalizeNative(e);return y.info("getNativeRange",n),n}},{key:"getRange",value:function(){var t=this.getNativeRange();return null==t?[null,null]:[this.normalizedToRange(t),t]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(t){var e=this,n=[[t.start.node,t.start.offset]];t.native.collapsed||n.push([t.end.node,t.end.offset]);var o=n.map(function(t){var n=r(t,2),o=n[0],c=n[1],f=l.default.find(o,!0),d=f.offset(e.scroll);return 0===c?d:f instanceof l.default.Container?d+f.length():d+f.index(o,c)}),c=Math.min(Math.max.apply(Math,v(o)),this.scroll.length()-1),f=Math.min.apply(Math,[c].concat(v(o)));return new _(f,c-f)}},{key:"normalizeNative",value:function(t){if(!x(this.root,t.startContainer)||!t.collapsed&&!x(this.root,t.endContainer))return null;var e={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};return[e.start,e.end].forEach(function(t){for(var e=t.node,n=t.offset;!(e instanceof Text)&&e.childNodes.length>0;)if(e.childNodes.length>n)e=e.childNodes[n],n=0;else{if(e.childNodes.length!==n)break;n=(e=e.lastChild)instanceof Text?e.data.length:e.childNodes.length+1}t.node=e,t.offset=n}),e}},{key:"rangeToNative",value:function(t){var e=this,n=t.collapsed?[t.index]:[t.index,t.index+t.length],o=[],l=this.scroll.length();return n.forEach(function(t,i){t=Math.min(l-1,t);var n,c=e.scroll.leaf(t),f=r(c,2),d=f[0],h=f[1],v=d.position(h,0!==i),m=r(v,2);n=m[0],h=m[1],o.push(n,h)}),o.length<2&&(o=o.concat(o)),o}},{key:"scrollIntoView",value:function(t){var e=this.lastRange;if(null!=e){var n=this.getBounds(e.index,e.length);if(null!=n){var o=this.scroll.length()-1,l=this.scroll.line(Math.min(e.index,o)),c=r(l,1)[0],f=c;if(e.length>0){var d=this.scroll.line(Math.min(e.index+e.length,o));f=r(d,1)[0]}if(null!=c&&null!=f){var h=t.getBoundingClientRect();n.top<h.top?t.scrollTop-=h.top-n.top:n.bottom>h.bottom&&(t.scrollTop+=n.bottom-h.bottom)}}}}},{key:"setNativeRange",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(y.info("setNativeRange",t,e,n,r),null==t||null!=this.root.parentNode&&null!=t.parentNode&&null!=n.parentNode){var l=document.getSelection();if(null!=l)if(null!=t){this.hasFocus()||this.root.focus();var c=(this.getNativeRange()||{}).native;if(null==c||o||t!==c.startContainer||e!==c.startOffset||n!==c.endContainer||r!==c.endOffset){"BR"==t.tagName&&(e=[].indexOf.call(t.parentNode.childNodes,t),t=t.parentNode),"BR"==n.tagName&&(r=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var f=document.createRange();f.setStart(t,e),f.setEnd(n,r),l.removeAllRanges(),l.addRange(f)}}else l.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],source=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d.default.sources.API;if("string"==typeof e&&(source=e,e=!1),y.info("setRange",t),null!=t){var n=this.rangeToNative(t);this.setNativeRange.apply(this,v(n).concat([e]))}else this.setNativeRange(null);this.update(source)}},{key:"update",value:function(){var source=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.default.sources.USER,t=this.lastRange,e=this.getRange(),n=r(e,2),o=n[0],l=n[1];if(this.lastRange=o,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,f.default)(t,this.lastRange)){var h;!this.composing&&null!=l&&l.native.collapsed&&l.start.node!==this.cursor.textNode&&this.cursor.restore(
vendor: 23,689 bytes, line 2
2);var v,m=[d.default.events.SELECTION_CHANGE,(0,c.default)(this.lastRange),(0,c.default)(t),source];(h=this.emitter).emit.apply(h,[d.default.events.EDITOR_CHANGE].concat(m)),source!==d.default.sources.SILENT&&(v=this.emitter).emit.apply(v,m)}}}]),t}();function x(t,e){try{e.parentNode}catch(t){return!1}return e instanceof Text&&(e=e.parentNode),t.contains(e)}e.Range=_,e.default=w},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=function t(object,e,n){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,e);if(void 0===desc){var r=Object.getPrototypeOf(object);return null===r?void 0:t(r,e,n)}if("value"in desc)return desc.value;var o=desc.get;return void 0!==o?o.call(n):void 0},c=n(0),f=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"insertInto",value:function(t,n){0===t.children.length?l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertInto",this).call(this,t,n):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),e}(((r=c)&&r.__esModule?r:{default:r}).default.Embed);f.blotName="break",f.tagName="BR",e.default=f},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},function(t,b){function e(){this.constructor=t}r(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0});var l=n(44),c=n(30),f=n(1),d=function(t){function e(e){var n=t.call(this,e)||this;return n.build(),n}return o(e,t),e.prototype.appendChild=function(t){this.insertBefore(t)},e.prototype.attach=function(){t.prototype.attach.call(this),this.children.forEach(function(t){t.attach()})},e.prototype.build=function(){var t=this;this.children=new l.default,[].slice.call(this.domNode.childNodes).reverse().forEach(function(e){try{var n=h(e);t.insertBefore(n,t.children.head||void 0)}catch(t){if(t instanceof f.ParchmentError)return;throw t}})},e.prototype.deleteAt=function(t,e){if(0===t&&e===this.length())return this.remove();this.children.forEachAt(t,e,function(t,e,n){t.deleteAt(e,n)})},e.prototype.descendant=function(t,n){var r=this.children.find(n),o=r[0],l=r[1];return null==t.blotName&&t(o)||null!=t.blotName&&o instanceof t?[o,l]:o instanceof e?o.descendant(t,l):[null,-1]},e.prototype.descendants=function(t,n,r){void 0===n&&(n=0),void 0===r&&(r=Number.MAX_VALUE);var o=[],l=r;return this.children.forEachAt(n,r,function(n,r,c){(null==t.blotName&&t(n)||null!=t.blotName&&n instanceof t)&&o.push(n),n instanceof e&&(o=o.concat(n.descendants(t,r,l))),l-=c}),o},e.prototype.detach=function(){this.children.forEach(function(t){t.detach()}),t.prototype.detach.call(this)},e.prototype.formatAt=function(t,e,n,r){this.children.forEachAt(t,e,function(t,e,o){t.formatAt(e,o,n,r)})},e.prototype.insertAt=function(t,e,n){var r=this.children.find(t),o=r[0],l=r[1];if(o)o.insertAt(l,e,n);else{var c=null==n?f.create("text",e):f.create(e,n);this.appendChild(c)}},e.prototype.insertBefore=function(t,e){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some(function(e){return t instanceof e}))throw new f.ParchmentError("Cannot insert "+t.statics.blotName+" into "+this.statics.blotName);t.insertInto(this,e)},e.prototype.length=function(){return this.children.reduce(function(t,e){return t+e.length()},0)},e.prototype.moveChildren=function(t,e){this.children.forEach(function(n){t.insertBefore(n,e)})},e.prototype.optimize=function(e){if(t.prototype.optimize.call(this,e),0===this.children.length)if(null!=this.statics.defaultChild){var n=f.create(this.statics.defaultChild);this.appendChild(n),n.optimize(e)}else this.remove()},e.prototype.path=function(t,n){void 0===n&&(n=!1);var r=this.children.find(t,n),o=r[0],l=r[1],c=[[this,t]];return o instanceof e?c.concat(o.path(l,n)):(null!=o&&c.push([o,l]),c)},e.prototype.removeChild=function(t){this.children.remove(t)},e.prototype.replace=function(n){n instanceof e&&n.moveChildren(this),t.prototype.replace.call(this,n)},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(t,this.length(),function(t,r,o){t=t.split(r,e),n.appendChild(t)}),n},e.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},e.prototype.update=function(t,e){var n=this,r=[],o=[];t.forEach(function(t){t.target===n.domNode&&"childList"===t.type&&(r.push.apply(r,t.addedNodes),o.push.apply(o,t.removedNodes))}),o.forEach(function(t){if(!(null!=t.parentNode&&"IFRAME"!==t.tagName&&document.body.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var e=f.find(t);null!=e&&(null!=e.domNode.parentNode&&e.domNode.parentNode!==n.domNode||e.detach())}}),r.filter(function(t){return t.parentNode==n.domNode}).sort(function(a,b){return a===b?0:a.compareDocumentPosition(b)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1}).forEach(function(t){var e=null;null!=t.nextSibling&&(e=f.find(t.nextSibling));var r=h(t);r.next==e&&null!=r.next||(null!=r.parent&&r.parent.removeChild(n),n.insertBefore(r,e||void 0))})},e}(c.default);function h(t){var e=f.find(t);if(null==e)try{e=f.create(t)}catch(n){e=f.create(f.Scope.INLINE),[].slice.call(t.childNodes).forEach(function(t){e.domNode.appendChild(t)}),t.parentNode&&t.parentNode.replaceChild(e.domNode,t),e.attach()}return e}e.default=d},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},function(t,b){function e(){this.constructor=t}r(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0});var l=n(12),c=n(31),f=n(17),d=n(1),h=function(t){function e(e){var n=t.call(this,e)||this;return n.attributes=new c.default(n.domNode),n}return o(e,t),e.formats=function(t){return"string"==typeof this.tagName||(Array.isArray(this.tagName)?t.tagName.toLowerCase():void 0)},e.prototype.format=function(t,e){var n=d.query(t);n instanceof l.default?this.attributes.attribute(n,e):e&&(null==n||t===this.statics.blotName&&this.formats()[t]===e||this.replaceWith(t,e))},e.prototype.formats=function(){var t=this.attributes.values(),e=this.statics.formats(this.domNode);return null!=e&&(t[this.statics.blotName]=e),t},e.prototype.replaceWith=function(e,n){var r=t.prototype.replaceWith.call(this,e,n);return this.attributes.copy(r),r},e.prototype.update=function(e,n){var r=this;t.prototype.update.call(this,e,n),e.some(function(t){return t.target===r.domNode&&"attributes"===t.type})&&this.attributes.build()},e.prototype.wrap=function(n,r){var o=t.prototype.wrap.call(this,n,r);return o instanceof e&&o.statics.scope===this.statics.scope&&this.attributes.move(o),o},e}(f.default);e.default=h},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},function(t,b){function e(){this.constructor=t}r(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0});var l=n(30),c=n(1),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.value=function(t){return!0},e.prototype.index=function(t,e){return this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(e,1):-1},e.prototype.position=function(t,e){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return t>0&&(n+=1),[this.parent.domNode,n]},e.prototype.value=function(){var t;return(t={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,t},e.scope=c.Scope.INLINE_BLOT,e}(l.default);e.default=f},function(t,e,n){var r=n(11),o=n(3),l={attributes:{compose:function(a,b,t){"object"!=typeof a&&(a={}),"object"!=typeof b&&(b={});var e=o(!0,{},b);for(var n in t||(e=Object.keys(e).reduce(function(t,n){return null!=e[n]&&(t[n]=e[n]),t},{})),a)void 0!==a[n]&&void 0===b[n]&&(e[n]=a[n]);return Object.keys(e).length>0?e:void 0},diff:function(a,b){"object"!=typeof a&&(a={}),"object"!=typeof b&&(b={});var t=Object.keys(a).concat(Object.keys(b)).reduce(function(t,e){return r(a[e],b[e])||(t[e]=void 0===b[e]?null:b[e]),t},{});return Object.keys(t).length>0?t:void 0},transform:function(a,b,t){if("object"!=typeof a)return b;if("object"==typeof b){if(!t)return b;var e=Object.keys(b).reduce(function(t,e){return void 0===a[e]&&(t[e]=b[e]),t},{});return Object.keys(e).length>0?e:void 0}}},iterator:function(t){return new c(t)},length:function(t){return"number"==typeof t.delete?t.delete:"number"==typeof t.retain?t.retain:"string"==typeof t.insert?t.insert.length:1}};function c(t){this.ops=t,this.index=0,this.offset=0}c.prototype.hasNext=function(){return this.peekLength()<1/0},c.prototype.next=function(t){t||(t=1/0);var e=this.ops[this.index];if(e){var n=this.offset,r=l.length(e);if(t>=r-n?(t=r-n,this.index+=1,this.offset=0):this.offset+=t,"number"==typeof e.delete)return{delete:t};var o={};return e.attributes&&(o.attributes=e.attributes),"number"==typeof e.retain?o.retain=t:"string"==typeof e.insert?o.insert=e.insert.substr(n,t):o.insert=e.insert,o}return{retain:1/0}},c.prototype.peek=function(){return this.ops[this.index]},c.prototype.peekLength=function(){return this.ops[this.index]?l.length(this.ops[this.index])-this.offset:1/0},c.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},c.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var t=this.offset,e=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=t,this.index=e,[n].concat(r)}return[]},t.exports=l},function(t,n){var r=function(){"use strict";function t(t,e){return null!=e&&t instanceof e}var n,r,o;try{n=Map}catch(t){n=function(){}}try{r=Set}catch(t){r=function(){}}try{o=Promise}catch(t){o=function(){}}function l(c,d,h,v,m){"object"==typeof d&&(h=d.depth,v=d.prototype,m=d.includeNonEnumerable,d=d.circular);var y=[],_=[],w=void 0!==e;return void 0===d&&(d=!0),void 0===h&&(h=1/0),function c(h,x){if(null===h)return null;if(0===x)return h;var k,O;if("object"!=typeof h)return h;if(t(h,n))k=new n;else if(t(h,r))k=new r;else if(t(h,o))k=new o(function(t,e){h.then(function(e){t(c(e,x-1))},function(t){e(c(t,x-1))})});else if(l.__isArray(h))k=[];else if(l.__isRegExp(h))k=new RegExp(h.source,f(h)),h.lastIndex&&(k.lastIndex=h.lastIndex);else if(l.__isDate(h))k=new Date(h.getTime());else{if(w&&e.isBuffer(h))return k=e.allocUnsafe?e.allocUnsafe(h.length):new e(h.length),h.copy(k),k;t(h,Error)?k=Object.create(h):void 0===v?(O=Object.getPrototypeOf(h),k=Object.create(O)):(k=Object.create(v),O=v)}if(d){var E=y.indexOf(h);if(-1!=E)return _[E];y.push(h),_.push(k)}for(var i in t(h,n)&&h.forEach(function(t,e){var n=c(e,x-1),r=c(t,x-1);k.set(n,r)}),t(h,r)&&h.forEach(function(t){var e=c(t,x-1);k.add(e)}),h){var T;O&&(T=Object.getOwnPropertyDescriptor(O,i)),T&&null==T.set||(k[i]=c(h[i],x-1))}if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(h);for(i=0;i<A.length;i++){var symbol=A[i];(!(C=Object.getOwnPropertyDescriptor(h,symbol))||C.enumerable||m)&&(k[symbol]=c(h[symbol],x-1),C.enumerable||Object.defineProperty(k,symbol,{enumerable:!1}))}}if(m){var S=Object.getOwnPropertyNames(h);for(i=0;i<S.length;i++){var C,P=S[i];(C=Object.getOwnPropertyDescriptor(h,P))&&C.enumerable||(k[P]=c(h[P],x-1),Object.defineProperty(k,P,{enumerable:!1}))}}return k}(c,h)}function c(t){return Object.prototype.toString.call(t)}function f(t){var e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),e}return l.clonePrototype=function(t){if(null===t)return null;var e=function(){};return e.prototype=t,new e},l.__objToStr=c,l.__isDate=function(t){return"object"==typeof t&&"[object Date]"===c(t)},l.__isArray=function(t){return"object"==typeof t&&"[object Array]"===c(t)},l.__isRegExp=function(t){return"object"==typeof t&&"[object RegExp]"===c(t)},l.__getRegExpFlags=f,l}();"object"==typeof t&&t.exports&&(t.exports=r)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,i){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,i){var e=[],n=!0,r=!1,o=void 0;try{for(var l,c=t[Symbol.iterator]();!(n=(l=c.next()).done)&&(e.push(l.value),!i||e.length!==i);n=!0);}catch(t){r=!0,o=t}finally{try{!n&&c.return&&c.return()}finally{if(r)throw o}}return e}(t,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=function t(object,e,n){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,e);if(void 0===desc){var r=Object.getPrototypeOf(object);return null===r?void 0:t(r,e,n)}if("value"in desc)return desc.value;var o=desc.get;return void 0!==o?o.call(n):void 0},c=_(n(0)),f=_(n(8)),d=n(4),h=_(d),v=_(n(16)),m=_(n(13)),y=_(n(25));function _(t){return t&&t.__esModule?t:{default:t}}function w(t){return t instanceof h.default||t instanceof d.BlockEmbed}var x=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.emitter=n.emitter,Array.isArray(n.whitelist)&&(r.whitelist=n.whitelist.reduce(function(t,e){return t[e]=!0,t},{})),r.domNode.addEventListener("DOMNodeInserted",function(){}),r.optimize(),r.enable(),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(t,n){var o=this.line(t),c=r(o,2),f=c[0],h=c[1],y=this.line(t+n),_=r(y,1)[0];if(l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,n),null!=_&&f!==_&&h>0){if(f instanceof d.BlockEmbed||_ instanceof d.BlockEmbed)return void this.optimize();if(f instanceof m.default){var w=f.newlineIndex(f.length(),!0);if(w>-1&&(f=f.split(w+1))===_)return void this.optimize()}else if(_ instanceof m.default){var x=_.newlineIndex(0);x>-1&&_.split(x+1)}var k=_.children.head instanceof v.default?null:_.children.head;f.moveChildren(_,k),f.remove()}this.optimize()}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",t)}},{key:"formatAt",value:function(t,n,r,o){(null==this.whitelist||this.whitelist[r])&&(l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,r,o),this.optimize())}},{key:"insertAt",value:function(t,n,r){if(null==r||null==this.whitelist||this.whitelist[n]){if(t>=this.length())if(null==r||null==c.default.query(n,c.default.Scope.BLOCK)){var o=c.default.create(this.statics.defaultChild);this.appendChild(o),null==r&&n.endsWith("\n")&&(n=n.slice(0,-1)),o.insertAt(0,n,r)}else{var embed=c.default.create(n,r);this.appendChild(embed)}else l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,r);this.optimize()}}},{key:"insertBefore",value:function(t,n){if(t.statics.scope===c.default.Scope.INLINE_BLOT){var r=c.default.create(this.statics.defaultChild);r.appendChild(t),t=r}l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n)}},{key:"leaf",value:function(t){return this.path(t).pop()||[null,-1]}},{key:"line",value:function(t){return t===this.length()?this.line(t-1):this.descendant(w,t)}},{key:"lines",value:function(){return function t(e,n,r){var o=[],l=r;return e.children.forEachAt(n,r,function(e,n,r){w(e)?o.push(e):e instanceof c.default.Container&&(o=o.concat(t(e,n,l))),l-=r}),o}(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE)}},{key:"optimize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t,n),t.length>0&&this.emitter.emit(f.default.events.SCROLL_OPTIMIZE,t,n))}},{key:"path",value:function(t){return l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t).slice(1)}},{key:"update",value:function(t){if(!0!==this.batch){var source=f.default.sources.USER;"string"==typeof t&&(source=t),Array.isArray(t)||(t=this.observer.takeRecords()),t.length>0&&this.emitter.emit(f.default.events.SCROLL_BEFORE_UPDATE,source,t),l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"update",this).call(this,t.concat([])),t.length>0&&this.emitter.emit(f.default.events.SCROLL_UPDATE,source,t)}}}]),e}(c.default.Scroll);x.blotName="scroll",x.className="ql-editor",x.tagName="DIV",x.defaultChild="block",x.allowedChildren=[h.default,d.BlockEmbed,y.default],e.default=x},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SHORTKEY=e.default=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(t,i){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,i){var e=[],n=!0,r=!1,o=void 0;try{for(var l,c=t[Symbol.iterator]();!(n=(l=c.next()).done)&&(e.push(l.value),!i||e.length!==i);n=!0);}catch(t){r=!0,o=t}finally{try{!n&&c.return&&c.return()}finally{if(r)throw o}}return e}(t,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")},l=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=x(n(21)),f=x(n(11)),d=x(n(3)),h=x(n(2)),v=x(n(20)),m=x(n(0)),y=x(n(5)),_=x(n(10)),w=x(n(9));function x(t){return t&&t.__esModule?t:{default:t}}function k(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var O=(0,_.default)("quill:keyboard"),E=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",T=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.bindings={},Object.keys(r.options.bindings).forEach(function(e){("list autofill"!==e||null==t.scroll.whitelist||t.scroll.whitelist.list)&&r.options.bindings[e]&&r.addBinding(r.options.bindings[e])}),r.addBinding({key:e.keys.ENTER,shiftKey:null},N),r.addBinding({key:e.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},function(){}),/Firefox/i.test(navigator.userAgent)?(r.addBinding({key:e.keys.BACKSPACE},{collapsed:!0},S),r.addBinding({key:e.keys.DELETE},{collapsed:!0},C)):(r.addBinding({key:e.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},S),r.addBinding({key:e.keys.DELETE},{collapsed:!0,suffix:/^.?$/},C)),r.addBinding({key:e.keys.BACKSPACE},{collapsed:!1},P),r.addBinding({key:e.keys.DELETE},{collapsed:!1},P),r.addBinding({key:e.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},S),r.listen(),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),l(e,null,[{key:"match",value:function(t,e){return e=L(e),!["altKey","ctrlKey","metaKey","shiftKey"].some(function(n){return!!e[n]!==t[n]&&null!==e[n]})&&e.key===(t.which||t.keyCode)}}]),l(e,[{key:"addBinding",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=L(t);if(null==r||null==r.key)return O.warn("Attempted to add invalid keyboard binding",r);"function"==typeof e&&(e={handler:e}),"function"==typeof n&&(n={handler:n}),r=(0,d.default)(r,e,n),this.bindings[r.key]=this.bindings[r.key]||[],this.bindings[r.key].push(r)}},{key:"listen",value:function(){var t=this;this.quill.root.addEventListener("keydown",function(n){if(!n.defaultPrevented){var l=n.which||n.keyCode,c=(t.bindings[l]||[]).filter(function(t){return e.match(n,t)});if(0!==c.length){var d=t.quill.getSelection();if(null!=d&&t.quill.hasFocus()){var h=t.quill.getLine(d.index),v=o(h,2),line=v[0],y=v[1],_=t.quill.getLeaf(d.index),w=o(_,2),x=w[0],k=w[1],O=0===d.length?[x,k]:t.quill.getLeaf(d.index+d.length),E=o(O,2),T=E[0],A=E[1],S=x instanceof m.default.Text?x.value().slice(0,k):"",C=T instanceof m.default.Text?T.value().slice(A):"",P={collapsed:0===d.length,empty:0===d.length&&line.length()<=1,format:t.quill.getFormat(d),offset:y,prefix:S,suffix:C};c.some(function(e){if(null!=e.collapsed&&e.collapsed!==P.collapsed)return!1;if(null!=e.empty&&e.empty!==P.empty)return!1;if(null!=e.offset&&e.offset!==P.offset)return!1;if(Array.isArray(e.format)){if(e.format.every(function(t){return null==P.format[t]}))return!1}else if("object"===r(e.format)&&!Object.keys(e.format).every(function(t){return!0===e.format[t]?null!=P.format[t]:!1===e.format[t]?null==P.format[t]:(0,f.default)(e.format[t],P.format[t])}))return!1;return!(null!=e.prefix&&!e.prefix.test(P.prefix)||null!=e.suffix&&!e.suffix.test(P.suffix)||!0===e.handler.call(t,d,P))})&&n.preventDefault()}}}})}}]),e}(w.default);function A(t,e){var n,r=t===T.keys.LEFT?"prefix":"suffix";
vendor: 2,860 bytes, line 2
2return k(n={key:t,shiftKey:e,altKey:null},r,/^$/),k(n,"handler",function(n){var r=n.index;t===T.keys.RIGHT&&(r+=n.length+1);var l=this.quill.getLeaf(r);return!(o(l,1)[0]instanceof m.default.Embed&&(t===T.keys.LEFT?e?this.quill.setSelection(n.index-1,n.length+1,y.default.sources.USER):this.quill.setSelection(n.index-1,y.default.sources.USER):e?this.quill.setSelection(n.index,n.length+1,y.default.sources.USER):this.quill.setSelection(n.index+n.length+1,y.default.sources.USER),1))}),n}function S(t,e){if(!(0===t.index||this.quill.getLength()<=1)){var n=this.quill.getLine(t.index),line=o(n,1)[0],r={};if(0===e.offset){var l=this.quill.getLine(t.index-1),c=o(l,1)[0];if(null!=c&&c.length()>1){var f=line.formats(),d=this.quill.getFormat(t.index-1,1);r=v.default.attributes.diff(f,d)||{}}}var h=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(e.prefix)?2:1;this.quill.deleteText(t.index-h,h,y.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(t.index-h,h,r,y.default.sources.USER),this.quill.focus()}}function C(t,e){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(e.suffix)?2:1;if(!(t.index>=this.quill.getLength()-n)){var r={},l=0,c=this.quill.getLine(t.index),line=o(c,1)[0];if(e.offset>=line.length()-1){var f=this.quill.getLine(t.index+1),d=o(f,1)[0];if(d){var h=line.formats(),m=this.quill.getFormat(t.index,1);r=v.default.attributes.diff(h,m)||{},l=d.length()}}this.quill.deleteText(t.index,n,y.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(t.index+l-1,n,r,y.default.sources.USER)}}function P(t){var e=this.quill.getLines(t),n={};if(e.length>1){var r=e[0].formats(),o=e[e.length-1].formats();n=v.default.attributes.diff(o,r)||{}}this.quill.deleteText(t,y.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(t.index,1,n,y.default.sources.USER),this.quill.setSelection(t.index,y.default.sources.SILENT),this.quill.focus()}function N(t,e){var n=this;t.length>0&&this.quill.scroll.deleteAt(t.index,t.length);var r=Object.keys(e.format).reduce(function(t,n){return m.default.query(n,m.default.Scope.BLOCK)&&!Array.isArray(e.format[n])&&(t[n]=e.format[n]),t},{});this.quill.insertText(t.index,"\n",r,y.default.sources.USER),this.quill.setSelection(t.index+1,y.default.sources.SILENT),this.quill.focus(),Object.keys(e.format).forEach(function(t){null==r[t]&&(Array.isArray(e.format[t])||"link"!==t&&n.quill.format(t,e.format[t],y.default.sources.USER))})}function j(t){return{key:T.keys.TAB,shiftKey:!t,format:{"code-block":!0},handler:function(e){var n=m.default.query("code-block"),r=e.index,l=e.length,c=this.quill.scroll.descendant(n,r),f=o(c,2),d=f[0],h=f[1];if(null!=d){var v=this.quill.getIndex(d),_=d.newlineIndex(h,!0)+1,w=d.newlineIndex(v+h+l),x=d.domNode.textContent.slice(_,w).split("\n");h=0,x.forEach(function(line,i){t?(d.insertAt(_+h,n.TAB),h+=n.TAB.length,0===i?r+=n.TAB.length:l+=n.TAB.length):l
vendor: 4,358 bytes, line 2
2ine.startsWith(n.TAB)&&(d.deleteAt(_+h,n.TAB.length),h-=n.TAB.length,0===i?r-=n.TAB.length:l-=n.TAB.length),h+=line.length+1}),this.quill.update(y.default.sources.USER),this.quill.setSelection(r,l,y.default.sources.SILENT)}}}}function R(t){return{key:t[0].toUpperCase(),shortKey:!0,handler:function(e,n){this.quill.format(t,!n.format[t],y.default.sources.USER)}}}function L(t){if("string"==typeof t||"number"==typeof t)return L({key:t});if("object"===(void 0===t?"undefined":r(t))&&(t=(0,c.default)(t,!1)),"string"==typeof t.key)if(null!=T.keys[t.key.toUpperCase()])t.key=T.keys[t.key.toUpperCase()];else{if(1!==t.key.length)return null;t.key=t.key.toUpperCase().charCodeAt(0)}return t.shortKey&&(t[E]=t.shortKey,delete t.shortKey),t}T.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},T.DEFAULTS={bindings:{bold:R("bold"),italic:R("italic"),underline:R("underline"),indent:{key:T.keys.TAB,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","+1",y.default.sources.USER)}},outdent:{key:T.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","-1",y.default.sources.USER)}},"outdent backspace":{key:T.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(t,e){null!=e.format.indent?this.quill.format("indent","-1",y.default.sources.USER):null!=e.format.list&&this.quill.format("list",!1,y.default.sources.USER)}},"indent code-block":j(!0),"outdent code-block":j(!1),"remove tab":{key:T.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(t){this.quill.deleteText(t.index-1,1,y.default.sources.USER)}},tab:{key:T.keys.TAB,handler:function(t){this.quill.history.cutoff();var e=(new h.default).retain(t.index).delete(t.length).insert("\t");this.quill.updateContents(e,y.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index+1,y.default.sources.SILENT)}},"list empty enter":{key:T.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(t,e){this.quill.format("list",!1,y.default.sources.USER),e.format.indent&&this.quill.format("indent",!1,y.default.sources.USER)}},"checklist enter":{key:T.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(t){var e=this.quill.getLine(t.index),n=o(e,2),line=n[0],r=n[1],l=(0,d.default)({},line.formats(),{list:"checked"}),c=(new h.default).retain(t.index).insert("\n",l).retain(line.length()-r-1).retain(1,{list:"unchecked"});this.quill.updateContents(c,y.default.sources.USER),this.quill.setSelection(t.index+1,y.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:T.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(t,e){var n=this.quill.getLine(t.index),r=o(n,2),line=r[0],l=r[1],c=(new h.default).retain(t.index).insert("\n",e.format).retain(line.length()-l-1).retain(1,{header:null});this.quill.updateContents(c,y.default.sources.USER),this.quill.setSelection(t.index+1,y.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(t,e){var n=e.prefix.length,r=this.quill.getLine(t.index),l=o(r,2),line=l[0],c=l[1];if(c>n)return!0;var f=void 0;switch(e.prefix.trim()){case"[]":case"[ ]":f="unchecked";break;case"[x]":f="checked";break;case"-":case"*":f="bullet";break;default:f="ordered"}this.quill.insertText(t.index," ",y.default.sources.USER),this.quill.history.cutoff();var d=(new h.default).retain(t.index-c).delete(n+1).retain(line.length()-2-c).retain(1,{list:f});this.quill.updateContents(d,y.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index-n,y.default.sources.SILENT)}},"code exit":{key:T.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(t){var e=this.quill.getLine(t.index),n=o(e,2),line=n[0],r=n[1],l=(new h.default).retain(t.index+line.length()-r-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(l,y.default.sources.USER)}},"embed left":A(T.keys.LEFT,!1),"embed left shift":A(T.keys.LEFT,!0),"embed right":A(T.keys.RIGHT,!1),"embed right shift":A(T.keys.RIGHT,!0)}},e.default=T,e.SHORTKEY=E},function(t,e,n){"use strict";
vendor: 4,117 bytes, line 2
2Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,i){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,i){var e=[],n=!0,r=!1,o=void 0;try{for(var l,c=t[Symbol.iterator]();!(n=(l=c.next()).done)&&(e.push(l.value),!i||e.length!==i);n=!0);}catch(t){r=!0,o=t}finally{try{!n&&c.return&&c.return()}finally{if(r)throw o}}return e}(t,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function t(object,e,n){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,e);if(void 0===desc){var r=Object.getPrototypeOf(object);return null===r?void 0:t(r,e,n)}if("value"in desc)return desc.value;var o=desc.get;return void 0!==o?o.call(n):void 0},l=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=d(n(0)),f=d(n(7));function d(t){return t&&t.__esModule?t:{default:t}}var h=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.selection=n,r.textNode=document.createTextNode(e.CONTENTS),r.domNode.appendChild(r.textNode),r._length=0,r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),l(e,null,[{key:"value",value:function(){}}]),l(e,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(t,n){if(0!==this._length)return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n);for(var r=this,l=0;null!=r&&r.statics.scope!==c.default.Scope.BLOCK_BLOT;)l+=r.offset(r.parent),r=r.parent;null!=r&&(this._length=e.CONTENTS.length,r.optimize(),r.formatAt(l,e.CONTENTS.length,t,n),this._length=0)}},{key:"index",value:function(t,n){return t===this.textNode?0:o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,n)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var t=this.textNode,n=this.selection.getNativeRange(),o=void 0,l=void 0,d=void 0;if(null!=n&&n.start.node===t&&n.end.node===t){var h=[t,n.start.offset,n.end.offset];o=h[0],l=h[1],d=h[2]}for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==e.CONTENTS){var text=this.textNode.data.split(e.CONTENTS).join("");this.next instanceof f.default?(o=this.next.domNode,this.next.insertAt(0,text),this.textNode.data=e.CONTENTS):(this.textNode.data=text,this.parent.insertBefore(c.default.create(this.textNode),this),this.textNode=document.createTextNode(e.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=l){var v=[l,d].map(function(t){return Math.max(0,Math.min(o.data.length,t-1))}),m=r(v,2);return l=m[0],d=m[1],{startNode:o,startOffset:l,endNode:o,endOffset:d}}}}},{key:"update",value:function(t,e){var n=this;if(t.some(function(t){return"characterData"===t.type&&t.target===n.textNode})){var r=this.restore();r&&(e.range=r)}}},{key:"value",value:function(){return""}}]),e}(c.default.Embed);h.blotName="cursor",h.className="ql-cursor",h.tagName="span",h.CONTENTS="\ufeff",e.default=h},function(t,e,n){"use strict";
vendor: 5,182 bytes, line 2
2Object.defineProperty(e,"__esModule",{value:!0});var r=c(n(0)),o=n(4),l=c(o);function c(t){return t&&t.__esModule?t:{default:t}}var f=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(r.default.Container);f.allowedChildren=[l.default,o.BlockEmbed,f],e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorStyle=e.ColorClass=e.ColorAttributor=void 0;var r,o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=function t(object,e,n){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,e);if(void 0===desc){var r=Object.getPrototypeOf(object);return null===r?void 0:t(r,e,n)}if("value"in desc)return desc.value;var o=desc.get;return void 0!==o?o.call(n):void 0},c=n(0),f=(r=c)&&r.__esModule?r:{default:r},d=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"value",value:function(t){var n=l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t);return n.startsWith("rgb(")?(n=n.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+n.split(",").map(function(component){return("00"+parseInt(component).toString(16)).slice(-2)}).join("")):n}}]),e}(f.default.Attributor.Style),h=new f.default.Attributor.Class("color","ql-color",{scope:f.default.Scope.INLINE}),v=new d("color","color",{scope:f.default.Scope.INLINE});e.ColorAttributor=d,e.ColorClass=h,e.ColorStyle=v},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sanitize=e.default=void 0;var r,o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=function t(object,e,n){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,e);if(void 0===desc){var r=Object.getPrototypeOf(object);return null===r?void 0:t(r,e,n)}if("value"in desc)return desc.value;var o=desc.get;return void 0!==o?o.call(n):void 0},c=n(6),f=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"format",value:function(t,n){if(t!==this.statics.blotName||!n)return l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n);n=this.constructor.sanitize(n),this.domNode.setAttribute("href",n)}}],[{key:"create",value:function(t){var n=l(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return t=this.sanitize(t),n.setAttribute("href",t),n.setAttribute("rel","noopener noreferrer"),n.setAttribute("target","_blank"),n}},{key:"formats",value:function(t){return t.getAttribute("href")}},{key:"sanitize",value:function(t){return d(t,this.PROTOCOL_WHITELIST)?t:this.SANITIZED_URL}}]),e}(((r=c)&&r.__esModule?r:{default:r}).default);function d(t,e){var n=document.createElement("a");n.href=t;var r=n.href.slice(0,n.href.indexOf(":"));return e.indexOf(r)>-1}f.blotName="link",f.tagName="A",f.SANITIZED_URL="about:blank",f.PROTOCOL_WHITELIST=["http","https","mailto","tel"],e.default=f,e.sanitize=d},function(t,e,n){"use strict";
vendor: 4,578 bytes, line 2
2Object.defineProperty(e,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=f(n(23)),c=f(n(107));function f(t){return t&&t.__esModule?t:{default:t}}var d=0;function h(element,t){element.setAttribute(t,!("true"===element.getAttribute(t)))}var v=function(){function t(select){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.select=select,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",function(){e.togglePicker()}),this.label.addEventListener("keydown",function(t){switch(t.keyCode){case l.default.keys.ENTER:e.togglePicker();break;case l.default.keys.ESCAPE:e.escape(),t.preventDefault()}}),this.select.addEventListener("change",this.update.bind(this))}return o(t,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),h(this.label,"aria-expanded"),h(this.options,"aria-hidden")}},{key:"buildItem",value:function(option){var t=this,e=document.createElement("span");return e.tabIndex="0",e.setAttribute("role","button"),e.classList.add("ql-picker-item"),option.hasAttribute("value")&&e.setAttribute("data-value",option.getAttribute("value")),option.textContent&&e.setAttribute("data-label",option.textContent),e.addEventListener("click",function(){t.selectItem(e,!0)}),e.addEventListener("keydown",function(n){switch(n.keyCode){case l.default.keys.ENTER:t.selectItem(e,!0),n.preventDefault();break;case l.default.keys.ESCAPE:t.escape(),n.preventDefault()}}),e}},{key:"buildLabel",value:function(){var label=document.createElement("span");return label.classList.add("ql-picker-label"),label.innerHTML=c.default,label.tabIndex="0",label.setAttribute("role","button"),label.setAttribute("aria-expanded","false"),this.container.appendChild(label),label}},{key:"buildOptions",value:function(){var t=this,e=document.createElement("span");e.classList.add("ql-picker-options"),e.setAttribute("aria-hidden","true"),e.tabIndex="-1",e.id="ql-picker-options-"+d,d+=1,this.label.setAttribute("aria-controls",e.id),this.options=e,[].slice.call(this.select.options).forEach(function(option){var n=t.buildItem(option);e.appendChild(n),!0===option.selected&&t.selectItem(n)}),this.container.appendChild(e)}},{key:"buildPicker",value:function(){var t=this;[].slice.call(this.select.attributes).forEach(function(e){t.container.setAttribute(e.name,e.value)}),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var t=this;this.close(),setTimeout(function(){return t.label.focus()},1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(t!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=t&&(t.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(t.parentNode.children,t),t.hasAttribute("data-value")?this.label.setAttribute("data-value",t.getAttribute("data-value")):this.label.removeAttribute("data-value"),t.hasAttribute("data-label")?this.label.setAttribute("data-label",t.getAttribute("data-label")):this.label.removeAttribute("data-label"),e))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"==typeof Event?"undefined":r(Event))){var o=document.createEvent("Event");o.initEvent("change",!0,!0),this.select.dispatchEvent(o)}this.close()}}},{key:"update",value:function(){var option=void 0;if(this.select.selectedIndex>-1){var t=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];option=this.select.options[this.select.selectedIndex],this.selectItem(t)}else this.selectItem(null);var e=null!=option&&option!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",e)}}]),t}();e.default=v},function(t,e,n){"use strict";
vendor: 4,192 bytes, line 2
2Object.defineProperty(e,"__esModule",{value:!0});var r=O(n(0)),o=O(n(5)),l=n(4),c=O(l),f=O(n(16)),d=O(n(25)),h=O(n(24)),v=O(n(35)),m=O(n(6)),y=O(n(22)),_=O(n(7)),w=O(n(55)),x=O(n(42)),k=O(n(23));function O(t){return t&&t.__esModule?t:{default:t}}o.default.register({"blots/block":c.default,"blots/block/embed":l.BlockEmbed,"blots/break":f.default,"blots/container":d.default,"blots/cursor":h.default,"blots/embed":v.default,"blots/inline":m.default,"blots/scroll":y.default,"blots/text":_.default,"modules/clipboard":w.default,"modules/history":x.default,"modules/keyboard":k.default}),r.default.register(c.default,f.default,h.default,m.default,y.default,_.default),e.default=o.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),o=function(){function t(t){this.domNode=t,this.domNode[r.DATA_KEY]={blot:this}}return Object.defineProperty(t.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),t.create=function(t){if(null==this.tagName)throw new r.ParchmentError("Blot definition missing tagName");var e;return Array.isArray(this.tagName)?("string"==typeof t&&(t=t.toUpperCase(),parseInt(t).toString()===t&&(t=parseInt(t))),e="number"==typeof t?document.createElement(this.tagName[t-1]):this.tagName.indexOf(t)>-1?document.createElement(t):document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e},t.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},t.prototype.clone=function(){var t=this.domNode.cloneNode(!1);return r.create(t)},t.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[r.DATA_KEY]},t.prototype.deleteAt=function(t,e){this.isolate(t,e).remove()},t.prototype.formatAt=function(t,e,n,o){var l=this.isolate(t,e);if(null!=r.query(n,r.Scope.BLOT)&&o)l.wrap(n,o);else if(null!=r.query(n,r.Scope.ATTRIBUTE)){var c=r.create(this.statics.scope);l.wrap(c),c.format(n,o)}},t.prototype.insertAt=function(t,e,n){var o=null==n?r.create("text",e):r.create(e,n),l=this.split(t);this.parent.insertBefore(o,l)},t.prototype.insertInto=function(t,e){void 0===e&&(e=null),null!=this.parent&&this.parent.children.remove(this);var n=null;t.children.insertBefore(this,e),null!=e&&(n=e.domNode),this.domNode.parentNode==t.domNode&&this.domNode.nextSibling==n||t.domNode.insertBefore(this.domNode,n),this.parent=t,this.attach()},t.prototype.isolate=function(t,e){var n=this.split(t);return n.split(e),n},t.prototype.length=function(){return 1},t.prototype.offset=function(t){return void 0===t&&(t=this.parent),null==this.parent||this==t?0:this.parent.children.offset(this)+this.parent.offset(t)},t.prototype.optimize=function(t){null!=this.domNode[r.DATA_KEY]&&delete this.domNode[r.DATA_KEY].mutations},t.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},t.prototype.replace=function(t){null!=t.parent&&(t.parent.insertBefore(this,t.next),t.remove())},t.prototype.replaceWith=function(t,e){var n="string"==typeof t?r.create(t,e):t;return n.replace(this),n},t.prototype.split=function(t,e){return 0===t?this:this.next},t.prototype.update=function(t,e){},t.prototype.wrap=function(t,e){var n="string"==typeof t?r.create(t,e):t;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},t.blotName="abstract",t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(12),o=n(32),l=n(33),c=n(1),f=function(){function t(t){this.attributes={},this.domNode=t,this.build()}return t.prototype.attribute=function(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])},t.prototype.build=function(){var t=this;this.attributes={};var e=r.default.keys(this.domNode),n=o.default.keys(this.domNode),f=l.default.keys(this.domNode);e.concat(n).concat(f).forEach(function(e){var n=c.query(e,c.Scope.ATTRIBUTE);n instanceof r.default&&(t.attributes[n.attrName]=n)})},t.prototype.copy=function(t){var e=this;
vendor: 4,689 bytes, line 2
2Object.keys(this.attributes).forEach(function(n){var r=e.attributes[n].value(e.domNode);t.format(n,r)})},t.prototype.move=function(t){var e=this;this.copy(t),Object.keys(this.attributes).forEach(function(t){e.attributes[t].remove(e.domNode)}),this.attributes={}},t.prototype.values=function(){var t=this;return Object.keys(this.attributes).reduce(function(e,n){return e[n]=t.attributes[n].value(t.domNode),e},{})},t}();e.default=f},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},function(t,b){function e(){this.constructor=t}r(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});function l(t,e){return(t.getAttribute("class")||"").split(/\s+/).filter(function(t){return 0===t.indexOf(e+"-")})}Object.defineProperty(e,"__esModule",{value:!0});var c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.keys=function(t){return(t.getAttribute("class")||"").split(/\s+/).map(function(t){return t.split("-").slice(0,-1).join("-")})},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(this.remove(t),t.classList.add(this.keyName+"-"+e),!0)},e.prototype.remove=function(t){l(t,this.keyName).forEach(function(e){t.classList.remove(e)}),0===t.classList.length&&t.removeAttribute("class")},e.prototype.value=function(t){var e=(l(t,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(t,e)?e:""},e}(n(12).default);e.default=c},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},function(t,b){function e(){this.constructor=t}r(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});function l(t){var e=t.split("-"),n=e.slice(1).map(function(t){return t[0].toUpperCase()+t.slice(1)}).join("");return e[0]+n}Object.defineProperty(e,"__esModule",{value:!0});var c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.keys=function(t){return(t.getAttribute("style")||"").split(";").map(function(t){return t.split(":")[0].trim()})},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.style[l(this.keyName)]=e,!0)},e.prototype.remove=function(t){t.style[l(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")},e.prototype.value=function(t){var e=t.style[l(this.keyName)];return this.canAdd(t,e)?e:""},e}(n(12).default);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.quill=e,this.options=n,this.modules={}}return r(t,[{key:"init",value:function(){var t=this;Object.keys(this.options.modules).forEach(function(e){null==t.modules[e]&&t.addModule(e)})}},{key:"addModule",value:function(t){var e=this.quill.constructor.import("modules/"+t);return this.modules[t]=new e(this.quill,this.options.modules[t]||{}),this.modules[t]}}]),t}();o.DEFAULTS={modules:{}},o.themes={default:o},e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(object,e,n){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,e);if(void 0===desc){var r=Object.getPrototypeOf(object);return null===r?void 0:t(r,e,n)}if("value"in desc)return desc.value;var o=desc.get;return void 0!==o?o.call(n):void 0},l=f(n(0)),c=f(n(7));function f(t){return t&&t.__esModule?t:{default:t}}var d="\ufeff",h=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.contentNode=document.createElement("span"),n.contentNode.setAttribute("contenteditable",!1),[].slice.call(n.domNode.childNodes).forEac
vendor: 4,761 bytes, line 2
2h(function(t){n.contentNode.appendChild(t)}),n.leftGuard=document.createTextNode(d),n.rightGuard=document.createTextNode(d),n.domNode.appendChild(n.leftGuard),n.domNode.appendChild(n.contentNode),n.domNode.appendChild(n.rightGuard),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"index",value:function(t,n){return t===this.leftGuard?0:t===this.rightGuard?1:o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,n)}},{key:"restore",value:function(t){var e=void 0,n=void 0,text=t.data.split(d).join("");if(t===this.leftGuard)if(this.prev instanceof c.default){var r=this.prev.length();this.prev.insertAt(r,text),e={startNode:this.prev.domNode,startOffset:r+text.length}}else n=document.createTextNode(text),this.parent.insertBefore(l.default.create(n),this),e={startNode:n,startOffset:text.length};else t===this.rightGuard&&(this.next instanceof c.default?(this.next.insertAt(0,text),e={startNode:this.next.domNode,startOffset:text.length}):(n=document.createTextNode(text),this.parent.insertBefore(l.default.create(n),this.next),e={startNode:n,startOffset:text.length}));return t.data=d,e}},{key:"update",value:function(t,e){var n=this;t.forEach(function(t){if("characterData"===t.type&&(t.target===n.leftGuard||t.target===n.rightGuard)){var r=n.restore(t.target);r&&(e.range=r)}})}}]),e}(l.default.Embed);e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlignStyle=e.AlignClass=e.AlignAttribute=void 0;var r,o=n(0),l=(r=o)&&r.__esModule?r:{default:r},c={scope:l.default.Scope.BLOCK,whitelist:["right","center","justify"]},f=new l.default.Attributor.Attribute("align","align",c),d=new l.default.Attributor.Class("align","ql-align",c),h=new l.default.Attributor.Style("align","text-align",c);e.AlignAttribute=f,e.AlignClass=d,e.AlignStyle=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BackgroundStyle=e.BackgroundClass=void 0;var r,o=n(0),l=(r=o)&&r.__esModule?r:{default:r},c=n(26),f=new l.default.Attributor.Class("background","ql-bg",{scope:l.default.Scope.INLINE}),d=new c.ColorAttributor("background","background-color",{scope:l.default.Scope.INLINE});e.BackgroundClass=f,e.BackgroundStyle=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DirectionStyle=e.DirectionClass=e.DirectionAttribute=void 0;var r,o=n(0),l=(r=o)&&r.__esModule?r:{default:r},c={scope:l.default.Scope.BLOCK,whitelist:["rtl"]},f=new l.default.Attributor.Attribute("direction","dir",c),d=new l.default.Attributor.Class("direction","ql-direction",c),h=new l.default.Attributor.Style("direction","direction",c);e.DirectionAttribute=f,e.DirectionClass=d,e.DirectionStyle=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FontClass=e.FontStyle=void 0;var r,o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=function t(object,e,n){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,e);if(void 0===desc){var r=Object.getPrototypeOf(object);return null===r?void 0:t(r,e,n)}if("value"in desc)return desc.value;var o=desc.get;return void 0!==o?o.call(n):void 0},c=n(0),f=(r=c)&&r.__esModule?r:{default:r},d={scope:f.default.Scope.INLINE,whitelist:["serif","monospace"]},h=new f.default.Attributor.Class("font","ql-font",d),v=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"value",value:function(t){return l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t).replace(/["']/g,"")}}]),e}(f.default.Attributor.Style),m=new v("font","font-family",d);e.FontStyle=m,e.FontClass=h},function(t,e,n){"use strict";
vendor: 31,903 bytes, line 2
2Object.defineProperty(e,"__esModule",{value:!0}),e.SizeStyle=e.SizeClass=void 0;var r,o=n(0),l=(r=o)&&r.__esModule?r:{default:r},c=new l.default.Attributor.Class("size","ql-size",{scope:l.default.Scope.INLINE,whitelist:["small","large","huge"]}),f=new l.default.Attributor.Style("size","font-size",{scope:l.default.Scope.INLINE,whitelist:["10px","18px","32px"]});e.SizeClass=c,e.SizeStyle=f},function(t,e,n){"use strict";t.exports={align:{"":n(76),center:n(77),right:n(78),justify:n(79)},background:n(80),blockquote:n(81),bold:n(82),clean:n(83),code:n(58),"code-block":n(58),color:n(84),direction:{"":n(85),rtl:n(86)},float:{center:n(87),full:n(88),left:n(89),right:n(90)},formula:n(91),header:{1:n(92),2:n(93)},italic:n(94),image:n(95),indent:{"+1":n(96),"-1":n(97)},link:n(98),list:{ordered:n(99),bullet:n(100),check:n(101)},script:{sub:n(102),super:n(103)},strike:n(104),underline:n(105),video:n(106)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLastChangeIndex=e.default=void 0;var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=c(n(0)),l=c(n(5));function c(t){return t&&t.__esModule?t:{default:t}}var f=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.lastRecorded=0,r.ignoreChange=!1,r.clear(),r.quill.on(l.default.events.EDITOR_CHANGE,function(t,e,n,source){t!==l.default.events.TEXT_CHANGE||r.ignoreChange||(r.options.userOnly&&source!==l.default.sources.USER?r.transform(e):r.record(e,n))}),r.quill.keyboard.addBinding({key:"Z",shortKey:!0},r.undo.bind(r)),r.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},r.redo.bind(r)),/Win/i.test(navigator.platform)&&r.quill.keyboard.addBinding({key:"Y",shortKey:!0},r.redo.bind(r)),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"change",value:function(source,t){if(0!==this.stack[source].length){var e=this.stack[source].pop();this.stack[t].push(e),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(e[source],l.default.sources.USER),this.ignoreChange=!1;var n=d(e[source]);this.quill.setSelection(n)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(t,e){if(0!==t.ops.length){this.stack.redo=[];var n=this.quill.getContents().diff(e),r=Date.now();if(this.lastRecorded+this.options.delay>r&&this.stack.undo.length>0){var o=this.stack.undo.pop();n=n.compose(o.undo),t=o.redo.compose(t)}else this.lastRecorded=r;this.stack.undo.push({redo:t,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(t){this.stack.undo.forEach(function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)}),this.stack.redo.forEach(function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)})}},{key:"undo",value:function(){this.change("undo","redo")}}]),e}(c(n(9)).default);function d(t){var e=t.reduce(function(t,e){return t+=e.delete||0},0),n=t.length()-e;return function(t){var e=t.ops[t.ops.length-1];return null!=e&&(null!=e.insert?"string"==typeof e.insert&&e.insert.endsWith("\n"):null!=e.attributes&&Object.keys(e.attributes).some(function(t){return null!=o.default.query(t,o.default.Scope.BLOCK)}))}(t)&&(n-=1),n}f.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},e.default=f,e.getLastChangeIndex=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BaseTooltip=void 0;var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(object,e,n){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,e);if(void 0===desc){var r=Object.getPrototypeOf(object);return null===r?void 0:t(r,e,n)}if("value"in desc)return desc.value;var o=desc.get;return void 0!==o?o.call(n):void 0},l=w(n(3)),c=w(n(2)),f=w(n(8)),d=w(n(23)),h=w(n(34)),v=w(n(59)),m=w(n(60)),y=w(n(28)),_=w(n(61));function w(t){return t&&t.__esModule?t:{default:t}}function x(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function k(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function O(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var E=[!1,"center","right","justify"],T=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],A=[!1,"serif","monospace"],S=["1","2","3",!1],C=["small",!1,"large","huge"],P=function(t){function e(t,n){x(this,e);var r=k(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return t.emitter.listenDOM("click",document.body,function e(n){if(!document.body.contains(t.root))return document.body.removeEventListener("click",e);null==r.tooltip||r.tooltip.root.contains(n.target)||document.activeElement===r.tooltip.textbox||r.quill.hasFocus()||r.tooltip.hide(),null!=r.pickers&&r.pickers.forEach(function(t){t.container.contains(n.target)||t.close()})}),r}return O(e,t),r(e,[{key:"addModule",value:function(t){var n=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"addModule",this).call(this,t);return"toolbar"===t&&this.extendToolbar(n),n}},{key:"buildButtons",value:function(t,e){t.forEach(function(button){(button.getAttribute("class")||"").split(/\s+/).forEach(function(t){if(t.startsWith("ql-")&&(t=t.slice(3),null!=e[t]))if("direction"===t)button.innerHTML=e[t][""]+e[t].rtl;else if("string"==typeof e[t])button.innerHTML=e[t];else{var n=button.value||"";null!=n&&e[t][n]&&(button.innerHTML=e[t][n])}})})}},{key:"buildPickers",value:function(t,e){var n=this;this.pickers=t.map(function(select){if(select.classList.contains("ql-align"))return null==select.querySelector("option")&&j(select,E),new m.default(select,e.align);if(select.classList.contains("ql-background")||select.classList.contains("ql-color")){var t=select.classList.contains("ql-background")?"background":"color";return null==select.querySelector("option")&&j(select,T,"background"===t?"#ffffff":"#000000"),new v.default(select,e[t])}return null==select.querySelector("option")&&(select.classList.contains("ql-font")?j(select,A):select.classList.contains("ql-header")?j(select,S):select.classList.contains("ql-size")&&j(select,C)),new y.default(select)}),this.quill.on(f.default.events.EDITOR_CHANGE,function(){n.pickers.forEach(function(t){t.update()})})}}]),e}(h.default);P.DEFAULTS=(0,l.default)(!0,{},h.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var t=this,e=this.container.querySelector("input.ql-image[type=file]");null==e&&((e=document.createElement("input")).setAttribute("type","file"),e.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),e.classList.add("ql-image"),e.addEventListener("change",function(){if(null!=e.files&&null!=e.files[0]){var n=new FileReader;n.onload=function(n){var r=t.quill.getSelection(!0);t.quill.updateContents((new c.default).retain(r.index).delete(r.length).insert({image:n.target.result}),f.default.sources.USER),t.quill.setSelection(r.index+1,f.default.sources.SILENT),e.value=""},n.readAsDataURL(e.files[0])}}),this.container.appendChild(e)),e.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var N=function(t){function e(t,n){x(this,e);var r=k(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.textbox=r.root.querySelector('input[type="text"]'),r.listen(),r}return O(e,t),r(e,[{key:"listen",value:function(){var t=this;this.textbox.addEventListener("keydown",function(e){d.default.match(e,"enter")?(t.save(),e.preventDefault()):d.default.match(e,"escape")&&(t.cancel(),e.preventDefault())})}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=e?this.textbox.value=e:t!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+t)||""),this.root.setAttribute("data-mode",t)}},{key:"restoreFocus",value:function(){var t=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=t}},{key:"save",value:function(){var t,e,n=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var r=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",n,f.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",n,f.default.sources.USER)),this.quill.root.scrollTop=r;break;case"video":n=(e=(t=n).match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/))?(e[1]||"https")+"://www.youtube.com/embed/"+e[2]+"?showinfo=0":(e=t.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(e[1]||"https")+"://player.vimeo.com/video/"+e[2]+"/":t;case"formula":if(!n)break;var o=this.quill.getSelection(!0);if(null!=o){var l=o.index+o.length;this.quill.insertEmbed(l,this.root.getAttribute("data-mode"),n,f.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(l+1," ",f.default.sources.USER),this.quill.setSelection(l+2,f.default.sources.USER)}}this.textbox.value="",this.hide()}}]),e}(_.default);function j(select,t){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach(function(t){var option=document.createElement("option");t===e?option.setAttribute("selected","selected"):option.setAttribute("value",t),select.appendChild(option)})}e.BaseTooltip=N,e.default=P},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){this.head=this.tail=null,this.length=0}return t.prototype.append=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.insertBefore(t[0],null),t.length>1&&this.append.apply(this,t.slice(1))},t.prototype.contains=function(t){for(var e,n=this.iterator();e=n();)if(e===t)return!0;return!1},t.prototype.insertBefore=function(t,e){t&&(t.next=e,null!=e?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)},t.prototype.offset=function(t){for(var e=0,n=this.head;null!=n;){if(n===t)return e;e+=n.length(),n=n.next}return-1},t.prototype.remove=function(t){this.contains(t)&&(null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)},t.prototype.iterator=function(t){return void 0===t&&(t=this.head),function(){var e=t;return null!=t&&(t=t.next),e}},t.prototype.find=function(t,e){void 0===e&&(e=!1);for(var n,r=this.iterator();n=r();){var o=n.length();if(t<o||e&&t===o&&(null==n.next||0!==n.next.length()))return[n,t];t-=o}return[null,0]},t.prototype.forEach=function(t){for(var e,n=this.iterator();e=n();)t(e)},t.prototype.forEachAt=function(t,e,n){if(!(e<=0))for(var r,o=this.find(t),l=o[0],c=t-o[1],f=this.iterator(l);(r=f())&&c<t+e;){var d=r.length();t>c?n(r,t-c,Math.min(e,c+d-t)):n(r,0,Math.min(d,t+e-c)),c+=d}},t.prototype.map=function(t){return this.reduce(function(e,n){return e.push(t(n)),e},[])},t.prototype.reduce=function(t,e){for(var n,r=this.iterator();n=r();)e=t(e,n);return e},t}();e.default=r},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},function(t,b){function e(){this.constructor=t}r(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0});var l=n(17),c=n(1),f={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},d=function(t){function e(e){var n=t.call(this,e)||this;return n.scroll=n,n.observer=new MutationObserver(function(t){n.update(t)}),n.observer.observe(n.domNode,f),n.attach(),n}return o(e,t),e.prototype.detach=function(){t.prototype.detach.call(this),this.observer.disconnect()},e.prototype.deleteAt=function(e,n){this.update(),0===e&&n===this.length()?this.children.forEach(function(t){t.remove()}):t.prototype.deleteAt.call(this,e,n)},e.prototype.formatAt=function(e,n,r,o){this.update(),t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.insertAt=function(e,n,r){this.update(),t.prototype.insertAt.call(this,e,n,r)},e.prototype.optimize=function(e,n){var r=this;void 0===e&&(e=[]),void 0===n&&(n={}),t.prototype.optimize.call(this,n);for(var o=[].slice.call(this.observer.takeRecords());o.length>0;)e.push(o.pop());for(var mark=function(t,e){void 0===e&&(e=!0),null!=t&&t!==r&&null!=t.domNode.parentNode&&(null==t.domNode[c.DATA_KEY].mutations&&(t.domNode[c.DATA_KEY].mutations=[]),e&&mark(t.parent))},f=function(t){null!=t.domNode[c.DATA_KEY]&&null!=t.domNode[c.DATA_KEY].mutations&&(t instanceof l.default&&t.children.forEach(f),t.optimize(n))},d=e,i=0;d.length>0;i+=1){if(i>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(d.forEach(function(t){var e=c.find(t.target,!0);null!=e&&(e.domNode===t.target&&("childList"===t.type?(mark(c.find(t.previousSibling,!1)),[].forEach.call(t.addedNodes,function(t){var e=c.find(t,!1);mark(e,!1),e instanceof l.default&&e.children.forEach(function(t){mark(t,!1)})})):"attributes"===t.type&&mark(e.prev)),mark(e))}),this.children.forEach(f),o=(d=[].slice.call(this.observer.takeRecords())).slice();o.length>0;)e.push(o.pop())}},e.prototype.update=function(e,n){var r=this;void 0===n&&(n={}),(e=e||this.observer.takeRecords()).map(function(t){var e=c.find(t.target,!0);return null==e?null:null==e.domNode[c.DATA_KEY].mutations?(e.domNode[c.DATA_KEY].mutations=[t],e):(e.domNode[c.DATA_KEY].mutations.push(t),null)}).forEach(function(t){null!=t&&t!==r&&null!=t.domNode[c.DATA_KEY]&&t.update(t.domNode[c.DATA_KEY].mutations||[],n)}),null!=this.domNode[c.DATA_KEY].mutations&&t.prototype.update.call(this,this.domNode[c.DATA_KEY].mutations,n),this.optimize(e,n)},e.blotName="scroll",e.defaultChild="block",e.scope=c.Scope.BLOCK_BLOT,e.tagName="DIV",e}(l.default);e.default=d},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},function(t,b){function e(){this.constructor=t}r(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0});var l=n(18),c=n(1),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.formats=function(n){if(n.tagName!==e.tagName)return t.formats.call(this,n)},e.prototype.format=function(n,r){var o=this;n!==this.statics.blotName||r?t.prototype.format.call(this,n,r):(this.children.forEach(function(t){t instanceof l.default||(t=t.wrap(e.blotName,!0)),o.attributes.copy(t)}),this.unwrap())},e.prototype.formatAt=function(e,n,r,o){null!=this.formats()[r]||c.query(r,c.Scope.ATTRIBUTE)?this.isolate(e,n).format(r,o):t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n);var r=this.formats();if(0===Object.keys(r).length)return this.unwrap();var o=this.next;o instanceof e&&o.prev===this&&function(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n in t)if(t[n]!==e[n])return!1;return!0}(r,o.formats())&&(o.moveChildren(this),o.remove())},e.blotName="inline",e.scope=c.Scope.INLINE_BLOT,e.tagName="SPAN",e}(l.default);e.default=f},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},function(t,b){function e(){this.constructor=t}r(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0});var l=n(18),c=n(1),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.formats=function(n){var r=c.query(e.blotName).tagName;if(n.tagName!==r)return t.formats.call(this,n)},e.prototype.format=function(n,r){null!=c.query(n,c.Scope.BLOCK)&&(n!==this.statics.blotName||r?t.prototype.format.call(this,n,r):this.replaceWith(e.blotName))},e.prototype.formatAt=function(e,n,r,o){null!=c.query(r,c.Scope.BLOCK)?this.format(r,o):t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.insertAt=function(e,n,r){if(null==r||null!=c.query(n,c.Scope.INLINE))t.prototype.insertAt.call(this,e,n,r);else{var o=this.split(e),l=c.create(n,r);o.parent.insertBefore(l,o)}},e.prototype.update=function(e,n){navigator.userAgent.match(/Trident/)?this.build():t.prototype.update.call(this,e,n)},e.blotName="block",e.scope=c.Scope.BLOCK_BLOT,e.tagName="P",e}(l.default);e.default=f},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},function(t,b){function e(){this.constructor=t}r(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0});var l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.formats=function(t){},e.prototype.format=function(e,n){t.prototype.formatAt.call(this,0,this.length(),e,n)},e.prototype.formatAt=function(e,n,r,o){0===e&&n===this.length()?this.format(r,o):t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.formats=function(){return this.statics.formats(this.domNode)},e}(n(19).default);e.default=l},function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])},function(t,b){function e(){this.constructor=t}r(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0});var l=n(19),c=n(1),f=function(t){function e(e){var n=t.call(this,e)||this;return n.text=n.statics.value(n.domNode),n}return o(e,t),e.create=function(t){return document.createTextNode(t)},e.value=function(t){var text=t.data;return text.normalize&&(text=text.normalize()),text},e.prototype.deleteAt=function(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)},e.prototype.index=function(t,e){return this.domNode===t?e:-1},e.prototype.insertAt=function(e,n,r){null==r?(this.text=this.text.slice(0,e)+n+this.text.slice(e),this.domNode.data=this.text):t.prototype.insertAt.call(this,e,n,r)},e.prototype.length=function(){return this.text.length},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof e&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},e.prototype.position=function(t,e){return void 0===e&&(e=!1),[this.domNode,t]},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=c.create(this.domNode.splitText(t));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},e.prototype.update=function(t,e){var n=this;t.some(function(t){return"characterData"===t.type&&t.target===n.domNode})&&(this.text=this.statics.value(this.domNode))},e.prototype.value=function(){return this.text},e.blotName="text",e.scope=c.Scope.INLINE_BLOT,e}(l.default);e.default=f},function(t,e,n){"use strict";var r=document.createElement("div");if(r.classList.toggle("test-class",!1),r.classList.contains("test-class")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return arguments.length>1&&!this.contains(t)==!e?e:o.call(this,t)}}String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.substr(e,t.length)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var n=this.toString();("number"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e>n.length)&&(e=n.length),e-=t.length;var r=n.indexOf(t,e);return-1!==r&&r===e}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var e,n=Object(this),r=n.length>>>0,o=arguments[1],i=0;i<r;i++)if(e=n[i],t.call(o,e,i,n))return e}}),document.addEventListener("DOMContentLoaded",function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)})},function(t,e){var n=-1;function r(t,e,d){if(t==e)return t?[[0,t]]:[];(d<0||t.length<d)&&(d=null);var v=l(t,e),m=t.substring(0,v);v=c(t=t.substring(v),e=e.substring(v));var y=t.substring(t.length-v),_=function(t,e){var f;if(!t)return[[1,e]];if(!e)return[[n,t]];var d=t.length>e.length?t:e,h=t.length>e.length?e:t,i=d.indexOf(h);if(-1!=i)return f=[[1,d.substring(0,i)],[0,h],[1,d.substring(i+h.length)]],t.length>e.length&&(f[0][0]=f[2][0]=n),f;if(1==h.length)return[[n,t],[1,e]];var v=function(t,e){var n=t.length>e.length?t:e,r=t.length>e.length?e:t;if(n.length<4||2*r.length<n.length)return null;function o(t,e,i){for(var n,r,o,f,d=t.substring(i,i+Math.floor(t.length/4)),h=-1,v="";-1!=(h=e.indexOf(d,h+1));){var m=l(t.substring(i),e.substring(h)),y=c(t.substring(0,i),e.substring(0,h));v.length<y+m&&(v=e.substring(h-y,h)+e.substring(h,h+m),n=t.substring(0,i-y),r=t.substring(i+m),o=e.substring(0,h-y),f=e.substring(h+m))}return 2*v.length>=t.length?[n,r,o,f,v]:null}var f,d,h,v,m,y=o(n,r,Math.ceil(n.length/4)),_=o(n,r,Math.ceil(n.length/2));if(!y&&!_)return null;f=_?y&&y[4].length>_[4].length?y:_:y,t.length>e.length?(d=f[0],h=f[1],v=f[2],m=f[3]):(v=f[0],m=f[1],d=f[2],h=f[3]);var w=f[4];return[d,h,v,m,w]}(t,e);if(v){var m=v[0],y=v[1],_=v[2],w=v[3],x=v[4],k=r(m,_),O=r(y,w);return k.concat([[0,x]],O)}return function(t,e){for(var r=t.length,l=e.length,c=Math.ceil((r+l)/2),f=c,d=2*c,h=new Array(d),v=new Array(d),m=0;m<d;m++)h[m]=-1,v[m]=-1;h[f+1]=0,v[f+1]=0;for(var y=r-l,_=y%2!=0,w=0,x=0,k=0,O=0,E=0;E<c;E++){for(var T=-E+w;T<=E-x;T+=2){for(var A=f+T,S=(R=T==-E||T!=E&&h[A-1]<h[A+1]?h[A+1]:h[A-1]+1)-T;R<r&&S<l&&t.charAt(R)==e.charAt(S);)R++,S++;if(h[A]=R,R>r)x+=2;else if(S>l)w+=2;else if(_&&(N=f+y-T)>=0&&N<d&&-1!=v[N]&&R>=(P=r-v[N]))return o(t,e,R,S)}for(var C=-E+k;C<=E-O;C+=2){for(var P,N=f+C,j=(P=C==-E||C!=E&&v[N-1]<v[N+1]?v[N+1]:v[N-1]+1)-C;P<r&&j<l&&t.charAt(r-P-1)==e.charAt(l-j-1);)P++,j++;if(v[N]=P,P>r)O+=2;else if(j>l)k+=2;else if(!_){var R;if((A=f+y-C)>=0&&A<d&&-1!=h[A])if(S=f+(R=h[A])-A,R>=(P=r-P))return o(t,e,R,S)}}}return[[n,t],[1,e]]}(t,e)}(t=t.substring(0,t.length-v),e=e.substring(0,e.length-v));return m&&_.unshift([0,m]),y&&_.push([0,y]),f(_),null!=d&&(_=function(t,e){var r=function(t,e){if(0===e)return[0,t];for(var r=0,i=0;i<t.length;i++){var o=t[i];if(o[0]===n||0===o[0]){var l=r+o[1].length;if(e===l)return[i+1,t];if(e<l){t=t.slice();var c=e-r,f=[o[0],o[1].slice(0,c)],d=[o[0],o[1].slice(c)];return t.splice(i,1,f,d),[i+1,t]}r=l}}throw new Error("cursor_pos is out of bounds!")}(t,e),o=r[1],l=r[0],c=o[l],f=o[l+1];if(null==c)return t;if(0!==c[0])return t;if(null!=f&&c[1]+f[1]===f[1]+c[1])return o.splice(l,2,f,c),h(o,l,2);if(null!=f&&0===f[1].indexOf(c[1])){o.splice(l,2,[f[0],c[1]],[0,c[1]]);var d=f[1].slice(c[1].length);return d.length>0&&o.splice(l+2,0,[f[0],d]),h(o,l,3)}return t}(_,d)),_=function(t){for(var e=!1,r=function(t){return t.charCodeAt(0)>=56320&&t.charCodeAt(0)<=57343},o=function(t){return t.charCodeAt(t.length-1)>=55296&&t.charCodeAt(t.length-1)<=56319},i=2;i<t.length;i+=1)0===t[i-2][0]&&o(t[i-2][1])&&t[i-1][0]===n&&r(t[i-1][1])&&1===t[i][0]&&r(t[i][1])&&(e=!0,t[i-1][1]=t[i-2][1].slice(-1)+t[i-1][1],t[i][1]=t[i-2][1].slice(-1)+t[i][1],t[i-2][1]=t[i-2][1].slice(0,-1));if(!e)return t;var l=[];for(i=0;i<t.length;i+=1)t[i][1].length>0&&l.push(t[i]);return l}(_)}function o(t,e,n,o){var l=t.substring(0,n),c=e.substring(0,o),f=t.substring(n),d=e.substring(o),h=r(l,c),v=r(f,d);return h.concat(v)}function l(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var n=0,r=Math.min(t.length,e.length),o=r,l=0;n<o;)t.substring(l,o)==e.substring(l,o)?l=n=o:r=o,o=Math.floor((r-n)/2+n);return o}function c(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;for(var n=0,r=Math.min(t.length,e.length),o=r,l=0;n<o;)t.substring(t.length-o,t.length-l)==e.substring(e.length-o,e.length-l)?l=n=o:r=o,o=Math.floor((r-n)/2+n);return o}function f(t){t.push([0,""]);for(var e,r=0,o=0,d=0,h="",v="";r<t.length;)switch(t[r][0]){case 1:d++,v+=t[r][1],r++;break;case n:o++,h+=t[r][1],r++;break;case 0:o+d>1?(0!==o&&0!==d&&(0!==(e=l(v,h))&&(r-o-d>0&&0==t[r-o-d-1][0]?t[r-o-d-1][1]+=v.substring(0,e):(t.splice(0,0,[0,v.substring(0,e)]),r++),v=v.substring(e),h=h.substring(e)),0!==(e=c(v,h))&&(t[r][1]=v.substring(v.length-e)+t[r][1],v=v.substring(0,v.length-e),h=h.substring(0,h.length-e))),0===o?t.splice(r-d,o+d,[1,v]):0===d?t.splice(r-o,o+d,[n,h]):t.splice(r-o-d,o+d,[n,h],[1,v]),r=r-o-d+(o?1:0)+(d?1:0)+1):0!==r&&0==t[r-1][0]?(t[r-1][1]+=t[r][1],t.splice(r,1)):r++,d=0,o=0,h="",v=""}""===t[t.length-1][1]&&t.pop();var m=!1;for(r=1;r<t.length-1;)0==t[r-1][0]&&0==t[r+1][0]&&(t[r][1].substring(t[r][1].length-t[r-1][1].length)==t[r-1][1]?(t[r][1]=t[r-1][1]+t[r][1].substring(0,t[r][1].length-t[r-1][1].length),t[r+1][1]=t[r-1][1]+t[r+1][1],t.splice(r-1,1),m=!0):t[r][1].substring(0,t[r+1][1].length)==t[r+1][1]&&(t[r-1][1]+=t[r+1][1],t[r][1]=t[r][1].substring(t[r+1][1].length)+t[r+1][1],t.splice(r+1,1),m=!0)),r++;m&&f(t)}var d=r;function h(t,e,n){for(var i=e+n-1;i>=0&&i>=e-1;i--)if(i+1<t.length){var r=t[i],o=t[i+1];r[0]===o[1]&&t.splice(i,2,[r[0],r[1]+o[1]])}return t}d.INSERT=1,d.DELETE=n,d.EQUAL=0,t.exports=d},function(t,e){function n(t){var e=[];for(var n in t)e.push(n);return e}(t.exports="function"==typeof Object.keys?Object.keys:n).shim=n},function(t,e){var n="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function r(object){return"[object Arguments]"==Object.prototype.toString.call(object)}function o(object){return object&&"object"==typeof object&&"number"==typeof object.length&&Object.prototype.hasOwnProperty.call(object,"callee")&&!Object.prototype.propertyIsEnumerable.call(object,"callee")||!1}(e=t.exports=n?r:o).supported=r,e.unsupported=o},function(t,e){"use strict";var n=Object.prototype.hasOwnProperty,r="~";function o(){}function l(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function c(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(r=!1)),c.prototype.eventNames=function(){var t,e,o=[];if(0===this._eventsCount)return o;for(e in t=this._events)n.call(t,e)&&o.push(r?e.slice(1):e);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(t)):o},c.prototype.listeners=function(t,e){var n=r?r+t:t,o=this._events[n];if(e)return!!o;if(!o)return[];if(o.fn)return[o.fn];for(var i=0,l=o.length,c=new Array(l);i<l;i++)c[i]=o[i].fn;return c},c.prototype.emit=function(t,e,n,o,l,c){var f=r?r+t:t;if(!this._events[f])return!1;var d,i,h=this._events[f],v=arguments.length;if(h.fn){switch(h.once&&this.removeListener(t,h.fn,void 0,!0),v){case 1:return h.fn.call(h.context),!0;case 2:return h.fn.call(h.context,e),!0;case 3:return h.fn.call(h.context,e,n),!0;case 4:return h.fn.call(h.context,e,n,o),!0;case 5:return h.fn.call(h.context,e,n,o,l),!0;case 6:return h.fn.call(h.context,e,n,o,l,c),!0}for(i=1,d=new Array(v-1);i<v;i++)d[i-1]=arguments[i];h.fn.apply(h.context,d)}else{var m,y=h.length;for(i=0;i<y;i++)switch(h[i].once&&this.removeListener(t,h[i].fn,void 0,!0),v){case 1:h[i].fn.call(h[i].context);break;case 2:h[i].fn.call(h[i].context,e);break;case 3:h[i].fn.call(h[i].context,e,n);break;case 4:h[i].fn.call(h[i].context,e,n,o);break;default:if(!d)for(m=1,d=new Array(v-1);m<v;m++)d[m-1]=arguments[m];h[i].fn.apply(h[i].context,d)}}return!0},c.prototype.on=function(t,e,n){var o=new l(e,n||this),c=r?r+t:t;return this._events[c]?this._events[c].fn?this._events[c]=[this._events[c],o]:this._events[c].push(o):(this._events[c]=o,this._eventsCount++),this},c.prototype.once=function(t,e,n){var o=new l(e,n||this,!0),c=r?r+t:t;return this._events[c]?this._events[c].fn?this._events[c]=[this._events[c],o]:this._events[c].push(o):(this._events[c]=o,this._eventsCount++),this},c.prototype.removeListener=function(t,e,n,l){var c=r?r+t:t;if(!this._events[c])return this;if(!e)return 0===--this._eventsCount?this._events=new o:delete this._events[c],this;var f=this._events[c];if(f.fn)f.fn!==e||l&&!f.once||n&&f.context!==n||(0===--this._eventsCount?this._events=new o:delete this._events[c]);else{for(var i=0,d=[],h=f.length;i<h;i++)(f[i].fn!==e||l&&!f[i].once||n&&f[i].context!==n)&&d.push(f[i]);d.length?this._events[c]=1===d.length?d[0]:d:0===--this._eventsCount?this._events=new o:delete this._events[c]}return this},c.prototype.removeAllListeners=function(t){var e;return t?(e=r?r+t:t,this._events[e]&&(0===--this._eventsCount?this._events=new o:delete this._events[e])):(this._events=new o,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prototype.setMaxListeners=function(){return this},c.prefixed=r,c.EventEmitter=c,void 0!==t&&(t.exports=c)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.matchText=e.matchSpacing=e.matchNewline=e.matchBlot=e.matchAttributor=e.default=void 0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(t,i){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,i){var e=[],n=!0,r=!1,o=void 0;try{for(var l,c=t[Symbol.iterator]();!(n=(l=c.next()).done)&&(e.push(l.value),!i||e.length!==i);n=!0);}catch(t){r=!0,o=t}finally{try{!n&&c.return&&c.return()}finally{if(r)throw o}}return e}(t,i);
vendor: 4,590 bytes, line 2
2throw new TypeError("Invalid attempt to destructure non-iterable instance")},l=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=T(n(3)),f=T(n(2)),d=T(n(0)),h=T(n(5)),v=T(n(10)),m=T(n(9)),y=n(36),_=n(37),w=T(n(13)),x=n(26),k=n(38),O=n(39),E=n(40);function T(t){return t&&t.__esModule?t:{default:t}}function A(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var S=(0,v.default)("quill:clipboard"),C="__ql-matcher",P=[[Node.TEXT_NODE,W],[Node.TEXT_NODE,z],["br",function(t,e){return M(e,"\n")||e.insert("\n"),e}],[Node.ELEMENT_NODE,z],[Node.ELEMENT_NODE,F],[Node.ELEMENT_NODE,H],[Node.ELEMENT_NODE,U],[Node.ELEMENT_NODE,function(t,e){var n={},style=t.style||{};return style.fontStyle&&"italic"===I(t).fontStyle&&(n.italic=!0),style.fontWeight&&(I(t).fontWeight.startsWith("bold")||parseInt(I(t).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(e=L(e,n)),parseFloat(style.textIndent||0)>0&&(e=(new f.default).insert("\t").concat(e)),e}],["li",function(t,e){var n=d.default.query(t);if(null==n||"list-item"!==n.blotName||!M(e,"\n"))return e;for(var r=-1,o=t.parentNode;!o.classList.contains("ql-clipboard");)"list"===(d.default.query(o)||{}).blotName&&(r+=1),o=o.parentNode;return r<=0?e:e.compose((new f.default).retain(e.length()-1).retain(1,{indent:r}))}],["b",B.bind(B,"bold")],["i",B.bind(B,"italic")],["style",function(){return new f.default}]],N=[y.AlignAttribute,k.DirectionAttribute].reduce(function(t,e){return t[e.keyName]=e,t},{}),j=[y.AlignStyle,_.BackgroundStyle,x.ColorStyle,k.DirectionStyle,O.FontStyle,E.SizeStyle].reduce(function(t,e){return t[e.keyName]=e,t},{}),R=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.root.addEventListener("paste",r.onPaste.bind(r)),r.container=r.quill.addContainer("ql-clipboard"),r.container.setAttribute("contenteditable",!0),r.container.setAttribute("tabindex",-1),r.matchers=[],P.concat(r.options.matchers).forEach(function(t){var e=o(t,2),l=e[0],c=e[1];(n.matchVisual||c!==H)&&r.addMatcher(l,c)}),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),l(e,[{key:"addMatcher",value:function(t,e){this.matchers.push([t,e])}},{key:"convert",value:function(html){if("string"==typeof html)return this.container.innerHTML=html.replace(/\>\r?\n +\</g,"><"),this.convert();var t=this.quill.getFormat(this.quill.selection.savedRange.index);if(t[w.default.blotName]){var text=this.container.innerText;return this.container.innerHTML="",(new f.default).insert(text,A({},w.default.blotName,t[w.default.blotName]))}var e=this.prepareMatching(),n=o(e,2),r=n[0],l=n[1],c=$(this.container,r,l);return M(c,"\n")&&null==c.ops[c.ops.length-1].attributes&&(c=c.compose((new f.default).retain(c.length()-1).delete(1))),S.log("convert",this.container.innerHTML,c),this.container.innerHTML="",c}},{key:"dangerouslyPasteHTML",value:function(t,html){var source=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h.default.sources.API;if("string"==typeof t)this.quill.setContents(this.convert(t),html),this.quill.setSelection(0,h.default.sources.SILENT);else{var e=this.convert(html);this.quill.updateContents((new f.default).retain(t).concat(e),source),this.quill.setSelection(t+e.length(),h.default.sources.SILENT)}}},{key:"onPaste",value:function(t){var e=this;if(!t.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),r=(new f.default).retain(n.index),o=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(h.default.sources.SILENT),setTimeout(function(){r=r.concat(e.convert()).delete(n.length),e.quill.updateContents(r,h.default.sources.USER),e.quill.setSelection(r.length()-n.length,h.default.sources.SILENT),e.quill.scrollingContainer.scrollTop=o,e.quill.focus()},1)}}},{key:"prepareMatching",value:function(){var t=this,e=[],n=[];
vendor: 12,075 bytes, line 2
2return this.matchers.forEach(function(r){var l=o(r,2),c=l[0],f=l[1];switch(c){case Node.TEXT_NODE:n.push(f);break;case Node.ELEMENT_NODE:e.push(f);break;default:[].forEach.call(t.container.querySelectorAll(c),function(t){t[C]=t[C]||[],t[C].push(f)})}}),[e,n]}}]),e}(m.default);function L(t,e,n){return"object"===(void 0===e?"undefined":r(e))?Object.keys(e).reduce(function(t,n){return L(t,n,e[n])},t):t.reduce(function(t,r){return r.attributes&&r.attributes[e]?t.push(r):t.insert(r.insert,(0,c.default)({},A({},e,n),r.attributes))},new f.default)}function I(t){if(t.nodeType!==Node.ELEMENT_NODE)return{};var e="__ql-computed-style";return t[e]||(t[e]=window.getComputedStyle(t))}function M(t,text){for(var e="",i=t.ops.length-1;i>=0&&e.length<text.length;--i){var n=t.ops[i];if("string"!=typeof n.insert)break;e=n.insert+e}return e.slice(-1*text.length)===text}function D(t){if(0===t.childNodes.length)return!1;var style=I(t);return["block","list-item"].indexOf(style.display)>-1}function $(t,e,n){return t.nodeType===t.TEXT_NODE?n.reduce(function(e,n){return n(t,e)},new f.default):t.nodeType===t.ELEMENT_NODE?[].reduce.call(t.childNodes||[],function(r,o){var l=$(o,e,n);return o.nodeType===t.ELEMENT_NODE&&(l=e.reduce(function(t,e){return e(o,t)},l),l=(o[C]||[]).reduce(function(t,e){return e(o,t)},l)),r.concat(l)},new f.default):new f.default}function B(t,e,n){return L(n,t,!0)}function U(t,e){var n=d.default.Attributor.Attribute.keys(t),r=d.default.Attributor.Class.keys(t),o=d.default.Attributor.Style.keys(t),l={};return n.concat(r).concat(o).forEach(function(e){var n=d.default.query(e,d.default.Scope.ATTRIBUTE);null!=n&&(l[n.attrName]=n.value(t),l[n.attrName])||(null==(n=N[e])||n.attrName!==e&&n.keyName!==e||(l[n.attrName]=n.value(t)||void 0),null==(n=j[e])||n.attrName!==e&&n.keyName!==e||(n=j[e],l[n.attrName]=n.value(t)||void 0))}),Object.keys(l).length>0&&(e=L(e,l)),e}function F(t,e){var n=d.default.query(t);if(null==n)return e;if(n.prototype instanceof d.default.Embed){var embed={},r=n.value(t);null!=r&&(embed[n.blotName]=r,e=(new f.default).insert(embed,n.formats(t)))}else"function"==typeof n.formats&&(e=L(e,n.blotName,n.formats(t)));return e}function z(t,e){return M(e,"\n")||(D(t)||e.length()>0&&t.nextSibling&&D(t.nextSibling))&&e.insert("\n"),e}function H(t,e){if(D(t)&&null!=t.nextElementSibling&&!M(e,"\n\n")){var n=t.offsetHeight+parseFloat(I(t).marginTop)+parseFloat(I(t).marginBottom);t.nextElementSibling.offsetTop>t.offsetTop+1.5*n&&e.insert("\n")}return e}function W(t,e){var text=t.data;if("O:P"===t.parentNode.tagName)return e.insert(text.trim());if(0===text.trim().length&&t.parentNode.classList.contains("ql-clipboard"))return e;if(!I(t.parentNode).whiteSpace.startsWith("pre")){var n=function(t,e){return(e=e.replace(/[^\u00a0]/g,"")).length<1&&t?" ":e};text=(text=text.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,n.bind(n,!0)),(null==t.previousSibling&&D(t.parentNode)||null!=t.previousSibling&&D(t.previousSibling))&&(text=text.replace(/^\s+/,n.bind(n,!1))),(null==t.nextSibling&&D(t.parentNode)||null!=t.nextSibling&&D(t.nextSibling))&&(text=text.replace(/\s+$/,n.bind(n,!1)))}return e.insert(text)}R.DEFAULTS={matchers:[],matchVisual:!0},e.default=R,e.matchAttributor=U,e.matchBlot=F,e.matchNewline=z,e.matchSpacing=H,e.matchText=W},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=function t(object,e,n){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,e);if(void 0===desc){var r=Object.getPrototypeOf(object);return null===r?void 0:t(r,e,n)}if("value"in desc)return desc.value;var o=desc.get;return void 0!==o?o.call(n):void 0},c=n(6),f=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"optimize",value:function(t){l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return l(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),e}(((r=c)&&r.__esModule?r:{default:r}).default);f.blotName="bold",f.tagName=["STRONG","B"],e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addControls=e.default=void 0;var r=function(t,i){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,i){var e=[],n=!0,r=!1,o=void 0;try{for(var l,c=t[Symbol.iterator]();!(n=(l=c.next()).done)&&(e.push(l.value),!i||e.length!==i);n=!0);}catch(t){r=!0,o=t}finally{try{!n&&c.return&&c.return()}finally{if(r)throw o}}return e}(t,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=v(n(2)),c=v(n(0)),f=v(n(5)),d=v(n(10)),h=v(n(9));function v(t){return t&&t.__esModule?t:{default:t}}function m(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var y=(0,d.default)("quill:toolbar"),_=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o,l=m(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if(Array.isArray(l.options.container)){var c=document.createElement("div");x(c,l.options.container),t.container.parentNode.insertBefore(c,t.container),l.container=c}else"string"==typeof l.options.container?l.container=document.querySelector(l.options.container):l.container=l.options.container;return l.container instanceof HTMLElement?(l.container.classList.add("ql-toolbar"),l.controls=[],l.handlers={},Object.keys(l.options.handlers).forEach(function(t){l.addHandler(t,l.options.handlers[t])}),[].forEach.call(l.container.querySelectorAll("button, select"),function(input){l.attach(input)}),l.quill.on(f.default.events.EDITOR_CHANGE,function(t,e){t===f.default.events.SELECTION_CHANGE&&l.update(e)}),l.quill.on(f.default.events.SCROLL_OPTIMIZE,function(){var t=l.quill.selection.getRange(),e=r(t,1)[0];l.update(e)}),l):(o=y.error("Container required for toolbar",l.options),m(l,o))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"addHandler",value:function(t,e){this.handlers[t]=e}},{key:"attach",value:function(input){var t=this,e=[].find.call(input.classList,function(t){return 0===t.indexOf("ql-")});if(e){if(e=e.slice(3),"BUTTON"===input.tagName&&input.setAttribute("type","button"),null==this.handlers[e]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[e])return void y.warn("ignoring attaching to disabled format",e,input);if(null==c.default.query(e))return void y.warn("ignoring attaching to nonexistent format",e,input)}var n="SELECT"===input.tagName?"change":"click";input.addEventListener(n,function(n){var o=void 0;if("SELECT"===input.tagName){if(input.selectedIndex<0)return;var d=input.options[input.selectedIndex];o=!d.hasAttribute("selected")&&(d.value||!1)}else o=!input.classList.contains("ql-active")&&(input.value||!input.hasAttribute("value")),n.preventDefault();t.quill.focus();var h=t.quill.selection.getRange(),v=r(h,1)[0];if(null!=t.handlers[e])t.handlers[e].call(t,o);else if(c.default.query(e).prototype instanceof c.default.Embed){if(!(o=prompt("Enter "+e)))return;t.quill.updateContents((new l.default).retain(v.index).delete(v.length).insert(function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},e,o)),f.default.sources.USER)}else t.quill.format(e,o,f.default.sources.USER);t.update(v)}),this.controls.push([e,input])}}},{key:"update",value:function(t){var e=null==t?{}:this.quill.getFormat(t);this.controls.forEach(function(n){var o=r(n,2),l=o[0],input=o[1];if("SELECT"===input.tagName){var option=void 0;if(null==t)option=null;else if(null==e[l])option=input.querySelector("option[selected]");else if(!Array.isArray(e[l])){var c=e[l];"string"==typeof c&&(c=c.replace(/\"/g,'\\"')),option=input.querySelector('option[value="'+c+'"]')}null==option?(input.value="",input.selectedIndex=-1):option.selected=!0}else if(null==t)input.classList.remove("ql-active");else if(input.hasAttribute("value")){var f=e[l]===input.getAttribute("value")||null!=e[l]&&e[l].toString()===input.getAttribute("value")||null==e[l]&&!input.getAttribute("value");input.classList.toggle("ql-active",f)}else input.classList.toggle("ql-active",null!=e[l])})}}]),e}(h.default);function w(t,e,n){var input=document.createElement("button");input.setAttribute("type","button"),input.classList.add("ql-"+e),null!=n&&(input.value=n),t.appendChild(input)}function x(t,e){Array.isArray(e[0])||(e=[e]),e.forEach(function(e){var n=document.createElement("span");n.classList.add("ql-formats"),e.forEach(function(t){if("string"==typeof t)w(n,t);else{var e=Object.keys(t)[0],r=t[e];Array.isArray(r)?function(t,e,n){var input=document.createElement("select");input.classList.add("ql-"+e),n.forEach(function(t){var option=document.createElement("option");!1!==t?option.setAttribute("value",t):option.setAttribute("selected","selected"),input.appendChild(option)}),t.appendChild(input)}(n,e,r):w(n,e,r)}}),t.appendChild(n)})}_.DEFAULTS={},_.DEFAULTS={container:null,handlers:{clean:function(){var t=this,e=this.quill.getSelection();if(null!=e)if(0==e.length){var n=this.quill.getFormat();Object.keys(n).forEach(function(e){null!=c.default.query(e,c.default.Scope.INLINE)&&t.quill.format(e,!1)})}else this.quill.removeFormat(e,f.default.sources.USER)},direction:function(t){var e=this.quill.getFormat().align;"rtl"===t&&null==e?this.quill.format("align","right",f.default.sources.USER):t||"right"!==e||this.quill.format("align",!1,f.default.sources.USER),this.quill.format("direction",t,f.default.sources.USER)},indent:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e),r=parseInt(n.indent||0);if("+1"===t||"-1"===t){var o="+1"===t?1:-1;"rtl"===n.direction&&(o*=-1),this.quill.format("indent",r+o,f.default.sources.USER)}},link:function(t){!0===t&&(t=prompt("Enter link URL:")),this.quill.format("link",t,f.default.sources.USER)},list:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e);"check"===t?"checked"===n.list||"unchecked"===n.list?this.quill.format("list",!1,f.default.sources.USER):this.quill.format("list","unchecked",f.default.sources.USER):this.quill.format("list",t,f.default.sources.USER)}}},e.default=_,e.addControls=x},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(t,e,n){"use strict";
vendor: 5,481 bytes, line 2
2Object.defineProperty(e,"__esModule",{value:!0});var r,o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=function t(object,e,n){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,e);if(void 0===desc){var r=Object.getPrototypeOf(object);return null===r?void 0:t(r,e,n)}if("value"in desc)return desc.value;var o=desc.get;return void 0!==o?o.call(n):void 0},c=n(28),f=function(t){function e(select,label){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,select));return t.label.innerHTML=label,t.container.classList.add("ql-color-picker"),[].slice.call(t.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(t){t.classList.add("ql-primary")}),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"buildItem",value:function(option){var t=l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"buildItem",this).call(this,option);return t.style.backgroundColor=option.getAttribute("value")||"",t}},{key:"selectItem",value:function(t,n){l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,n);var r=this.label.querySelector(".ql-color-label"),o=t&&t.getAttribute("data-value")||"";r&&("line"===r.tagName?r.style.stroke=o:r.style.fill=o)}}]),e}(((r=c)&&r.__esModule?r:{default:r}).default);e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=function t(object,e,n){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,e);if(void 0===desc){var r=Object.getPrototypeOf(object);return null===r?void 0:t(r,e,n)}if("value"in desc)return desc.value;var o=desc.get;return void 0!==o?o.call(n):void 0},c=n(28),f=function(t){function e(select,t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,select));return n.container.classList.add("ql-icon-picker"),[].forEach.call(n.container.querySelectorAll(".ql-picker-item"),function(e){e.innerHTML=t[e.getAttribute("data-value")||""]}),n.defaultItem=n.container.querySelector(".ql-selected"),n.selectItem(n.defaultItem),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"selectItem",value:function(t,n){l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,n),t=t||this.defaultItem,this.label.innerHTML=t.innerHTML}}]),e}(((r=c)&&r.__esModule?r:{default:r}).default);e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function(){function t(e,n){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.quill=e,this.boundsContainer=n||document.body,this.root=e.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",function(){r.root.style.marginTop=-1*r.quill.root.scrollTop+"px"}),this.hide()}return r(t,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(t){var e=t.left+t.width/2-this.root.offsetWidth/2,n=t.bottom+this.quill.root.scrollTop;this.root.style.left=e+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var r=this.boundsContainer.getBoundingClientRect(),o=this.root.getBoundingClientRect(),l=0;if(o.right>r.right&&(l=r.right-o.right,this.root.style.left=e+l+"px"),o.left<r.left&&(l=r.left-o.left,this.root.style.left=e+l+"px"),o.bottom>r.bottom){var c=o.bottom-o.top,f=t.bottom-t.top+c;this.root.style.top=n-f+"px",this.root.classList.add("ql-flip")}return l}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),t}();e.default=o},function(t,e,n){"use strict";
vendor: 4,554 bytes, line 2
2Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,i){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,i){var e=[],n=!0,r=!1,o=void 0;try{for(var l,c=t[Symbol.iterator]();!(n=(l=c.next()).done)&&(e.push(l.value),!i||e.length!==i);n=!0);}catch(t){r=!0,o=t}finally{try{!n&&c.return&&c.return()}finally{if(r)throw o}}return e}(t,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function t(object,e,n){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,e);if(void 0===desc){var r=Object.getPrototypeOf(object);return null===r?void 0:t(r,e,n)}if("value"in desc)return desc.value;var o=desc.get;return void 0!==o?o.call(n):void 0},l=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),c=_(n(3)),f=_(n(8)),d=n(43),h=_(d),v=_(n(27)),m=n(15),y=_(n(41));function _(t){return t&&t.__esModule?t:{default:t}}function w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function x(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function k(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var O=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],E=function(t){function e(t,n){w(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=O);var r=x(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.container.classList.add("ql-snow"),r}return k(e,t),l(e,[{key:"extendToolbar",value:function(t){t.container.classList.add("ql-snow"),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),y.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),y.default),this.tooltip=new T(this.quill,this.options.bounds),t.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(e,n){t.handlers.link.call(t,!n.format.link)})}}]),e}(h.default);E.DEFAULTS=(0,c.default)(!0,{},h.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){if(t){var e=this.quill.getSelection();if(null==e||0==e.length)return;var n=this.quill.getText(e);/^\S+@\S+\.\S+$/.test(n)&&0!==n.indexOf("mailto:")&&(n="mailto:"+n),this.quill.theme.tooltip.edit("link",n)}else this.quill.format("link",!1)}}}}});var T=function(t){function e(t,n){w(this,e);var r=x(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.preview=r.root.querySelector("a.ql-preview"),r}return k(e,t),l(e,[{key:"listen",value:function(){var t=this;o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(e){t.root.classList.contains("ql-editing")?t.save():t.edit("link",t.preview.textContent),e.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(e){if(null!=t.linkRange){var n=t.linkRange;t.restoreFocus(),t.quill.formatText(n,"link",!1,f.default.sources.USER),delete t.linkRange}e.preventDefault(),t.hide()}),this.quill.on(f.default.events.SELECTION_CHANGE,function(e,n,source){if(null!=e){if(0===e.length&&source===f.default.sources.USER){var o=t.quill.scroll.descendant(v.default,e.index),l=r(o,2),link=l[0],c=l[1];if(null!=link){t.linkRange=new m.Range(e.index-c,link.length());var d=v.default.formats(link.domNode);return t.preview.textContent=d,t.preview.setAttribute("href",d),t.show(),void t.position(t.quill.getBounds(t.linkRange))}}else delete t.linkRange;t.hide()}})}},{key:"show",value:function(){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),e}(d.BaseTooltip);T.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),e.default=E},function(t,e,n){"use strict";
vendor: 19,399 bytes, line 2
2Object.defineProperty(e,"__esModule",{value:!0});var r=z(n(29)),o=n(36),l=n(38),c=n(64),f=z(n(65)),d=z(n(66)),h=n(67),v=z(h),m=n(37),y=n(26),_=n(39),w=n(40),x=z(n(56)),k=z(n(68)),O=z(n(27)),E=z(n(69)),T=z(n(70)),A=z(n(71)),S=z(n(72)),C=z(n(73)),P=n(13),N=z(P),j=z(n(74)),R=z(n(75)),L=z(n(57)),I=z(n(41)),M=z(n(28)),D=z(n(59)),$=z(n(60)),B=z(n(61)),U=z(n(108)),F=z(n(62));function z(t){return t&&t.__esModule?t:{default:t}}r.default.register({"attributors/attribute/direction":l.DirectionAttribute,"attributors/class/align":o.AlignClass,"attributors/class/background":m.BackgroundClass,"attributors/class/color":y.ColorClass,"attributors/class/direction":l.DirectionClass,"attributors/class/font":_.FontClass,"attributors/class/size":w.SizeClass,"attributors/style/align":o.AlignStyle,"attributors/style/background":m.BackgroundStyle,"attributors/style/color":y.ColorStyle,"attributors/style/direction":l.DirectionStyle,"attributors/style/font":_.FontStyle,"attributors/style/size":w.SizeStyle},!0),r.default.register({"formats/align":o.AlignClass,"formats/direction":l.DirectionClass,"formats/indent":c.IndentClass,"formats/background":m.BackgroundStyle,"formats/color":y.ColorStyle,"formats/font":_.FontClass,"formats/size":w.SizeClass,"formats/blockquote":f.default,"formats/code-block":N.default,"formats/header":d.default,"formats/list":v.default,"formats/bold":x.default,"formats/code":P.Code,"formats/italic":k.default,"formats/link":O.default,"formats/script":E.default,"formats/strike":T.default,"formats/underline":A.default,"formats/image":S.default,"formats/video":C.default,"formats/list/item":h.ListItem,"modules/formula":j.default,"modules/syntax":R.default,"modules/toolbar":L.default,"themes/bubble":U.default,"themes/snow":F.default,"ui/icons":I.default,"ui/picker":M.default,"ui/icon-picker":$.default,"ui/color-picker":D.default,"ui/tooltip":B.default},!0),e.default=r.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentClass=void 0;var r,o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=function t(object,e,n){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,e);if(void 0===desc){var r=Object.getPrototypeOf(object);return null===r?void 0:t(r,e,n)}if("value"in desc)return desc.value;var o=desc.get;return void 0!==o?o.call(n):void 0},c=n(0),f=(r=c)&&r.__esModule?r:{default:r},d=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"add",value:function(t,n){if("+1"===n||"-1"===n){var r=this.value(t)||0;n="+1"===n?r+1:r-1}return 0===n?(this.remove(t),!0):l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"add",this).call(this,t,n)}},{key:"canAdd",value:function(t,n){return l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,n)||l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,parseInt(n))}},{key:"value",value:function(t){return parseInt(l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t))||void 0}}]),e}(f.default.Attributor.Class),h=new d("indent","ql-indent",{scope:f.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});e.IndentClass=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(4),l=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((r=o)&&r.__esModule?r:{default:r}).default);l.blotName="blockquote",l.tagName="blockquote",e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=n(4),c=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,null,[{key:"formats",value:function(t){return this.tagName.indexOf(t.tagName)+1}}]),e}(((r=l)&&r.__esModule?r:{default:r}).default);c.blotName="header",c.tagName=["H1","H2","H3","H4","H5","H6"],e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ListItem=void 0;var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(object,e,n){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,e);if(void 0===desc){var r=Object.getPrototypeOf(object);return null===r?void 0:t(r,e,n)}if("value"in desc)return desc.value;var o=desc.get;return void 0!==o?o.call(n):void 0},l=d(n(0)),c=d(n(4)),f=d(n(25));function d(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function m(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var y=function(t){function e(){return h(this,e),v(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return m(e,t),r(e,[{key:"format",value:function(t,n){t!==_.blotName||n?o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n):this.replaceWith(l.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(t,n){return this.parent.isolate(this.offset(this.parent),this.length()),t===this.parent.statics.blotName?(this.parent.replaceWith(t,n),this):(this.parent.unwrap(),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t,n))}}],[{key:"formats",value:function(t){return t.tagName===this.tagName?void 0:o(e.__proto__||Object.getPrototypeOf(e),"formats",this).call(this,t)}}]),e}(c.default);y.blotName="list-item",y.tagName="LI";var _=function(t){function e(t){h(this,e);var n=v(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t)),r=function(e){if(e.target.parentNode===t){var r=n.statics.formats(t),o=l.default.find(e.target);"checked"===r?o.format("list","unchecked"):"unchecked"===r&&o.format("list","checked")}};return t.addEventListener("touchstart",r),t.addEventListener("mousedown",r),n}return m(e,t),r(e,null,[{key:"create",value:function(t){var n="ordered"===t?"OL":"UL",r=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,n);return"checked"!==t&&"unchecked"!==t||r.setAttribute("data-checked","checked"===t),r}},{key:"formats",value:function(t){return"OL"===t.tagName?"ordered":"UL"===t.tagName?t.hasAttribute("data-checked")?"true"===t.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),r(e,[{key:"format",value:function(t,e){this.children.length>0&&this.children.tail.format(t,e)}},{key:"formats",value:function(){return t={},e=this.statics.blotName,n=this.statics.formats(this.domNode),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;var t,e,n}},{key:"insertBefore",value:function(t,n){if(t instanceof y)o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n);else{var r=null==n?this.length():n.offset(this),l=this.split(r);l.parent.insertBefore(t,l)}}},{key:"optimize",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){if(t.statics.blotName!==this.statics.blotName){var n=l.default.create(this.statics.defaultChild);t.moveChildren(n),this.appendChild(n)}o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t)}}]),e}(f.default);_.blotName="list",_.scope=l.default.Scope.BLOCK_BLOT,_.tagName=["OL","UL"],_.defaultChild="list-item",_.allowedChildren=[y],e.ListItem=y,e.default=_},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(56),l=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((r=o)&&r.__esModule?r:{default:r}).default);l.blotName="italic",l.tagName=["EM","I"],e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=function t(object,e,n){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,e);if(void 0===desc){var r=Object.getPrototypeOf(object);return null===r?void 0:t(r,e,n)}if("value"in desc)return desc.value;var o=desc.get;return void 0!==o?o.call(n):void 0},c=n(6),f=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,null,[{key:"create",value:function(t){return"super"===t?document.createElement("sup"):"sub"===t?document.createElement("sub"):l(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t)}},{key:"formats",value:function(t){return"SUB"===t.tagName?"sub":"SUP"===t.tagName?"super":void 0}}]),e}(((r=c)&&r.__esModule?r:{default:r}).default);f.blotName="script",f.tagName=["SUB","SUP"],e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(6),l=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((r=o)&&r.__esModule?r:{default:r}).default);l.blotName="strike",l.tagName="S",e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(6),l=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((r=o)&&r.__esModule?r:{default:r}).default);l.blotName="underline",l.tagName="U",e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=function t(object,e,n){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,e);if(void 0===desc){var r=Object.getPrototypeOf(object);return null===r?void 0:t(r,e,n)}if("value"in desc)return desc.value;var o=desc.get;return void 0!==o?o.call(n):void 0},c=n(0),f=(r=c)&&r.__esModule?r:{default:r},d=n(27),h=["alt","height","width"],v=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"format",value:function(t,n){h.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=l(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"==typeof t&&n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return h.reduce(function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e},{})}},{key:"match",value:function(t){return/\.(jpe?g|gif|png)$/.test(t)||/^data:image\/.+;base64/.test(t)}},{key:"sanitize",value:function(t){return(0,d.sanitize)(t,["http","https","data"])?t:"//:0"}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(f.default.Embed);v.blotName="image",v.tagName="IMG",e.default=v},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=function t(object,e,n){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,e);if(void 0===desc){var r=Object.getPrototypeOf(object);return null===r?void 0:t(r,e,n)}if("value"in desc)return desc.value;var o=desc.get;return void 0!==o?o.call(n):void 0},c=n(4),f=n(27),d=(r=f)&&r.__esModule?r:{default:r},h=["height","width"],v=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"format",value:function(t,n){h.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):l(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=l(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return h.reduce(function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e},{})}},{key:"sanitize",value:function(t){return d.default.sanitize(t)}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(c.BlockEmbed);v.blotName="video",v.className="ql-video",v.tagName="IFRAME",e.default=v},function(t,e,n){"use strict";
vendor: 9,420 bytes, line 2
2Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.FormulaBlot=void 0;var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(object,e,n){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,e);if(void 0===desc){var r=Object.getPrototypeOf(object);return null===r?void 0:t(r,e,n)}if("value"in desc)return desc.value;var o=desc.get;return void 0!==o?o.call(n):void 0},l=d(n(35)),c=d(n(5)),f=d(n(9));function d(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function m(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var y=function(t){function e(){return h(this,e),v(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return m(e,t),r(e,null,[{key:"create",value:function(t){var n=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"==typeof t&&(window.katex.render(t,n,{throwOnError:!1,errorColor:"#f00"}),n.setAttribute("data-value",t)),n}},{key:"value",value:function(t){return t.getAttribute("data-value")}}]),e}(l.default);y.blotName="formula",y.className="ql-formula",y.tagName="SPAN";var _=function(t){function e(){h(this,e);var t=v(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return t}return m(e,t),r(e,null,[{key:"register",value:function(){c.default.register(y,!0)}}]),e}(f.default);e.FormulaBlot=y,e.default=_},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.CodeToken=e.CodeBlock=void 0;var r=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(object,e,n){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,e);if(void 0===desc){var r=Object.getPrototypeOf(object);return null===r?void 0:t(r,e,n)}if("value"in desc)return desc.value;var o=desc.get;return void 0!==o?o.call(n):void 0},l=d(n(0)),c=d(n(5)),f=d(n(9));function d(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function m(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var y=function(t){function e(){return h(this,e),v(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return m(e,t),r(e,[{key:"replaceWith",value:function(t){this.domNode.textContent=this.domNode.textContent,this.attach(),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t)}},{key:"highlight",value:function(t){var text=this.domNode.textContent;this.cachedText!==text&&((text.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=t(text),this.domNode.normalize(),this.attach()),this.cachedText=text)}}]),e}(d(n(13)).default);y.className="ql-syntax";var _=new l.default.Attributor.Class("token","hljs",{scope:l.default.Scope.INLINE}),w=function(t){function e(t,n){h(this,e);var r=v(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if("function"!=typeof r.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var o=null;return r.quill.on(c.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(o),o=setTimeout(function(){r.highlight(),o=null},r.options.interval)}),r.highlight(),r}return m(e,t),r(e,null,[{key:"register",value:function(){c.default.register(_,!0),c.default.register(y,!0)}}]),r(e,[{key:"highlight",value:function(){var t=this;if(!this.quill.selection.composing){this.quill.update(c.default.sources.USER);var e=this.quill.getSelection();this.quill.scroll.descendants(y).forEach(function(code){code.highlight(t.options.highlight)}),this.quill.update(c.default.sources.SILENT),null!=e&&this.quill.setSelection(e,c.default.sources.SILENT)}}}]),e}(f.default);w.DEFAULTS={highlight:null==window.hljs?null:function(text){return window.hljs.highlightAuto(text).value},interval:1e3},e.CodeBlock=y,e.CodeToken=_,e.default=w},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line>
2 <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(t,e,n){"use strict";
vendor: 4,233 bytes, line 2
2Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BubbleTooltip=void 0;var r=function t(object,e,n){null===object&&(object=Function.prototype);var desc=Object.getOwnPropertyDescriptor(object,e);if(void 0===desc){var r=Object.getPrototypeOf(object);return null===r?void 0:t(r,e,n)}if("value"in desc)return desc.value;var o=desc.get;return void 0!==o?o.call(n):void 0},o=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),l=m(n(3)),c=m(n(8)),f=n(43),d=m(f),h=n(15),v=m(n(41));function m(t){return t&&t.__esModule?t:{default:t}}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function w(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var x=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],k=function(t){function e(t,n){y(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=x);var r=_(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.container.classList.add("ql-bubble"),r}return w(e,t),o(e,[{key:"extendToolbar",value:function(t){this.tooltip=new O(this.quill,this.options.bounds),this.tooltip.root.appendChild(t.container),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),v.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),v.default)}}]),e}(d.default);k.DEFAULTS=(0,l.default)(!0,{},d.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){t?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var O=function(t){function e(t,n){y(this,e);var r=_(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.on(c.default.events.EDITOR_CHANGE,function(t,e,n,source){if(t===c.default.events.SELECTION_CHANGE)if(null!=e&&e.length>0&&source===c.default.sources.USER){r.show(),r.root.style.left="0px",r.root.style.width="",r.root.style.width=r.root.offsetWidth+"px";var o=r.quill.getLines(e.index,e.length);if(1===o.length)r.position(r.quill.getBounds(e));else{var l=o[o.length-1],f=r.quill.getIndex(l),d=Math.min(l.length()-1,e.index+e.length-f),v=r.quill.getBounds(new h.Range(f,d));r.position(v)}}else document.activeElement!==r.textbox&&r.quill.hasFocus()&&r.hide()}),r}return w(e,t),o(e,[{key:"listen",value:function(){var t=this;r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){t.root.classList.remove("ql-editing")}),this.quill.on(c.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!t.root.classList.contains("ql-hidden")){var e=t.quill.getSelection();null!=e&&t.position(t.quill.getBounds(e))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(t){var n=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"position",this).call(this,t),o=this.root.querySelector(".ql-tooltip-arrow");if(o.style.marginLeft="",0===n)return n;o.style.marginLeft=-1*n-o.offsetWidth/2+"px"}}]),e}(f.BaseTooltip);O.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),e.BubbleTooltip=O,e.default=k},function(t,e,n){t.exports=n(63)}]).default},t.exports=n()}).call(this,n(298).Buffer)},269:function(t,e,n){var content=n(270);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(19).default)("2584b1b1",content,!0,{sourceMap:!1})},270:function(t,e,n){var r=n(18)(!1);
2r.push([t.i,'fieldset[disabled] .multiselect{pointer-events:none}.multiselect__spinner{position:absolute;right:1px;top:1px;width:40px;height:38px;background:#fff;display:block}.multiselect__spinner:after,.multiselect__spinner:before{position:absolute;content:"";top:50%;left:50%;margin:-8px 0 0 -8px;width:16px;height:16px;border-radius:100%;border:2px solid transparent;border-top-color:#41b883;box-shadow:0 0 0 1px transparent}.multiselect__spinner:before{animation:spinning 2.4s cubic-bezier(.41,.26,.2,.62);animation-iteration-count:infinite}.multiselect__spinner:after{animation:spinning 2.4s cubic-bezier(.51,.09,.21,.8);animation-iteration-count:infinite}.multiselect__loading-enter-active,.multiselect__loading-leave-active{transition:opacity .4s ease-in-out;opacity:1}.multiselect__loading-enter,.multiselect__loading-leave-active{opacity:0}.multiselect,.multiselect__input,.multiselect__single{font-family:inherit;font-size:16px;touch-action:manipulation}.multiselect{box-sizing:content-box;display:block;position:relative;width:100%;min-height:40px;text-align:left;color:#35495e}.multiselect *{box-sizing:border-box}.multiselect:focus{outline:none}.multiselect--disabled{background:#ededed;pointer-events:none;opacity:.6}.multiselect--active{z-index:50}.multiselect--active:not(.multiselect--above) .multiselect__current,.multiselect--active:not(.multiselect--above) .multiselect__input,.multiselect--active:not(.multiselect--above) .multiselect__tags{border-bottom-left-radius:0;border-bottom-right-radius:0}.multiselect--active .multiselect__select{transform:rotate(180deg)}.multiselect--above.multiselect--active .multiselect__current,.multiselect--above.multiselect--active .multiselect__input,.multiselect--above.multiselect--active .multiselect__tags{border-top-left-radius:0;border-top-right-radius:0}.multiselect__input,.multiselect__single{position:relative;display:inline-block;min-height:20px;line-height:20px;border:none;border-radius:5px;background:#fff;padding:0 0 0 5px;width:100%;transition:border .1s ease;box-sizing:border-box;margin-bottom:8px;vertical-align:top}.multiselect__input::-moz-placeholder{color:#35495e}.multiselect__input::placeholder{color:#35495e}.multiselect__tag~.multiselect__input,.multiselect__tag~.multiselect__single{width:auto}.multiselect__input:hover,.multiselect__single:hover{border-color:#cfcfcf}.multiselect__input:focus,.multiselect__single:focus{border-color:#a8a8a8;outline:none}.multiselect__single{padding-left:5px;margin-bottom:8px}.multiselect__tags-wrap{display:inline}.multiselect__tags{min-height:40px;display:block;padding:8px 40px 0 8px;border-radius:5px;border:1px solid #e8e8e8;background:#fff;font-size:14px}.multiselect__tag{position:relative;display:inline-block;padding:4px 26px 4px 10px;border-radius:5px;margin-right:10px;color:#fff;line-height:1;background:#41b883;margin-bottom:5px;white-space:nowrap;overflow:hidden;max-width:100%;text-overflow:ellipsis}.multiselect__tag-icon{cursor:pointer;margin-left:7px;position:absolute;right:0;top:0;bottom:0;font-weight:700;font-style:normal;width:22px;text-align:center;line-height:22px;transition:all .2s ease;border-radius:5px}.multiselect__tag-icon:after{content:"\\D7";color:#266d4d;font-size:14px}.multiselect__tag-icon:focus,.multiselect__tag-icon:hover{background:#369a6e}.multiselect__tag-icon:focus:after,.multiselect__tag-icon:hover:after{color:#fff}.multiselect__current{min-height:40px;overflow:hidden;padding:8px 30px 0 12px;white-space:nowrap;border-radius:5px;border:1px solid #e8e8e8}.multiselect__current,.multiselect__select{line-height:16px;box-sizing:border-box;display:block;margin:0;text-decoration:none;cursor:pointer}.multiselect__select{position:absolute;width:40px;height:38px;right:1px;top:1px;padding:4px 8px;text-align:center;transition:transform .2s ease}.multiselect__select:before{position:relative;right:0;top:65%;color:#999;margin-top:4px;border-color:#999 transparent transparent;border-style:solid;border-width:5px 5px 0;content:""}.multiselect__placeholder{color:#adadad;display:inline-block;margin-bottom:10px;padding-top:2px}.multiselect--active .multiselect__placeholder{display:none}.multiselect__content-wrapper{position:absolute;display:block;background:#fff;width:100%;max-height:240px;overflow:auto;border:1px solid #e8e8e8;border-top:none;border-bottom-left-radius:5px;border-bottom-right-radius:5px;z-index:50;-webkit-overflow-scrolling:touch}.multiselect__content{list-style:none;display:inline-block;padding:0;margin:0;min-width:100%;vertical-align:top}.multiselect--above .multiselect__content-wrapper{bottom:100%;border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom:none;border-top:1px solid #e8e8e8}.multiselect__content::webkit-scrollbar{display:none}.multiselect__element{display:block}
2.multiselect__option{display:block;padding:12px;min-height:40px;line-height:16px;text-decoration:none;text-transform:none;vertical-align:middle;position:relative;cursor:pointer;white-space:nowrap}.multiselect__option:after{top:0;right:0;position:absolute;line-height:40px;padding-right:12px;padding-left:20px;font-size:13px}.multiselect__option--highlight{background:#41b883;outline:none;color:#fff}.multiselect__option--highlight:after{content:attr(data-select);background:#41b883;color:#fff}.multiselect__option--selected{background:#f3f3f3;color:#35495e;font-weight:700}.multiselect__option--selected:after{content:attr(data-selected);color:silver;background:inherit}.multiselect__option--selected.multiselect__option--highlight{background:#ff6a6a;color:#fff}.multiselect__option--selected.multiselect__option--highlight:after{background:#ff6a6a;content:attr(data-deselect);color:#fff}.multiselect--disabled .multiselect__current,.multiselect--disabled .multiselect__select{background:#ededed;color:#a6a6a6}.multiselect__option--disabled{background:#ededed!important;color:#a6a6a6!important;cursor:text;pointer-events:none}.multiselect__option--group{background:#ededed;color:#35495e}.multiselect__option--group.multiselect__option--highlight{background:#35495e;color:#fff}.multiselect__option--group.multiselect__option--highlight:after{background:#35495e}.multiselect__option--disabled.multiselect__option--highlight{background:#dedede}.multiselect__option--group-selected.multiselect__option--highlight{background:#ff6a6a;color:#fff}.multiselect__option--group-selected.multiselect__option--highlight:after{background:#ff6a6a;content:attr(data-deselect);color:#fff}.multiselect-enter-active,.multiselect-leave-active{transition:all .15s ease}.multiselect-enter,.multiselect-leave-active{opacity:0}.multiselect__strong{margin-bottom:8px;line-height:20px;display:inline-block;vertical-align:top}[dir=rtl] .multiselect{text-align:right}[dir=rtl] .multiselect__select{right:auto;left:1px}[dir=rtl] .multiselect__tags{padding:8px 8px 0 40px}[dir=rtl] .multiselect__content{text-align:right}[dir=rtl] .multiselect__option:after{right:auto;left:0}[dir=rtl] .multiselect__clear{right:auto;left:12px}[dir=rtl] .multiselect__spinner{right:auto;left:1px}@keyframes spinning{0%{transform:rotate(0)}to{transform:rotate(2turn)}}',""]),t.exports=r},298:function(t,e,n){"use strict";(function(t){var r=n(299),o=n(300),l=n(301);function c(){return d.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function f(t,e){if(c()<e)throw new RangeError("Invalid typed array length");return d.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=d.prototype:(null===t&&(t=new d(e)),t.length=e),t}function d(t,e,n){if(!(d.TYPED_ARRAY_SUPPORT||this instanceof d))return new d(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return m(this,t)}return h(this,t,e,n)}function h(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r);d.TYPED_ARRAY_SUPPORT?(t=e).__proto__=d.prototype:t=y(t,e);return t}(t,e,n,r):"string"==typeof e?function(t,e,n){"string"==typeof n&&""!==n||(n="utf8");if(!d.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|w(e,n);t=f(t,r);var o=t.write(e,n);o!==r&&(t=t.slice(0,o));return t}(t,e,n):function(t,e){if(d.isBuffer(e)){var n=0|_(e.length);return 0===(t=f(t,n)).length||e.copy(t,0,0,n),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(r=e.length)!=r?f(t,0):y(t,e);if("Buffer"===e.type&&l(e.data))return y(t,e.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function v(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function m(t,e){if(v(e),t=f(t,e<0?0:0|_(e)),!d.TYPED_ARRAY_SUPPORT)for(var i=0;i<e;++i)t[i]=0;return t}function y(t,e){var n=e.length<0?0:0|_(e.length);t=f(t,n);for(var i=0;i<n;i+=1)t[i]=255&e[i];return t}function _(t){if(t>=c())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+c().toString(16)+" bytes");return 0|t}function w(t,e){if(d.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&
vendor: 10,080 bytes, line 2
2(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return G(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Z(t).length;default:if(r)return G(t).length;e=(""+e).toLowerCase(),r=!0}}function x(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return D(this,e,n);case"utf8":case"utf-8":return R(this,e,n);case"ascii":return I(this,e,n);case"latin1":case"binary":return M(this,e,n);case"base64":return j(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function k(b,t,e){var i=b[t];b[t]=b[e],b[e]=i}function O(t,e,n,r,o){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof e&&(e=d.from(e,r)),d.isBuffer(e))return 0===e.length?-1:E(t,e,n,r,o);if("number"==typeof e)return e&=255,d.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):E(t,[e],n,r,o);throw new TypeError("val must be string, number or Buffer")}function E(t,e,n,r,o){var i,l=1,c=t.length,f=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;l=2,c/=2,f/=2,n/=2}function d(t,i){return 1===l?t[i]:t.readUInt16BE(i*l)}if(o){var h=-1;for(i=n;i<c;i++)if(d(t,i)===d(e,-1===h?0:i-h)){if(-1===h&&(h=i),i-h+1===f)return h*l}else-1!==h&&(i-=i-h),h=-1}else for(n+f>c&&(n=c-f),i=n;i>=0;i--){for(var v=!0,m=0;m<f;m++)if(d(t,i+m)!==d(e,m)){v=!1;break}if(v)return i}return-1}function T(t,e,n,r){n=Number(n)||0;var o=t.length-n;r?(r=Number(r))>o&&(r=o):r=o;var l=e.length;if(l%2!=0)throw new TypeError("Invalid hex string");r>l/2&&(r=l/2);for(var i=0;i<r;++i){var c=parseInt(e.substr(2*i,2),16);if(isNaN(c))return i;t[n+i]=c}return i}function A(t,e,n,r){return Q(G(e,t.length-n),t,n,r)}function S(t,e,n,r){return Q(function(t){for(var e=[],i=0;i<t.length;++i)e.push(255&t.charCodeAt(i));return e}(e),t,n,r)}function C(t,e,n,r){return S(t,e,n,r)}function P(t,e,n,r){return Q(Z(e),t,n,r)}function N(t,e,n,r){return Q(function(t,e){for(var n,r,o,l=[],i=0;i<t.length&&!((e-=2)<0);++i)r=(n=t.charCodeAt(i))>>8,o=n%256,l.push(o),l.push(r);return l}(e,t.length-n),t,n,r)}function j(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function R(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var o,l,c,f,d=t[i],h=null,v=d>239?4:d>223?3:d>191?2:1;if(i+v<=n)switch(v){case 1:d<128&&(h=d);break;case 2:128==(192&(o=t[i+1]))&&(f=(31&d)<<6|63&o)>127&&(h=f);break;case 3:o=t[i+1],l=t[i+2],128==(192&o)&&128==(192&l)&&(f=(15&d)<<12|(63&o)<<6|63&l)>2047&&(f<55296||f>57343)&&(h=f);break;case 4:o=t[i+1],l=t[i+2],c=t[i+3],128==(192&o)&&128==(192&l)&&128==(192&c)&&(f=(15&d)<<18|(63&o)<<12|(63&l)<<6|63&c)>65535&&f<1114112&&(h=f)}null===h?(h=65533,v=1):h>65535&&(h-=65536,r.push(h>>>10&1023|55296),h=56320|1023&h),r.push(h),i+=v}return function(t){var e=t.length;if(e<=L)return String.fromCharCode.apply(String,t);var n="",i=0;for(;i<e;)n+=String.fromCharCode.apply(String,t.slice(i,i+=L));return n}(r)}e.Buffer=d,e.SlowBuffer=function(t){+t!=t&&(t=0);return d.alloc(+t)},e.INSPECT_MAX_BYTES=50,d.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=c(),d.poolSize=8192,d._augment=function(t){return t.__proto__=d.prototype,t},d.from=function(t,e,n){return h(null,t,e,n)},d.TYPED_ARRAY_SUPPORT&&(d.prototype.__proto__=Uint8Array.prototype,d.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&d[Symbol.species]===d&&Object.defineProperty(d,Symbol.species,{value:null,configurable:!0})),d.alloc=function(t,e,n){return function(t,e,n,r){return v(e),e<=0?f(t,e):void 0!==n?"string"==typeof r?f(t,e).fill(n,r):f(t,e).fill(n):f(t,e)}(null,t,e,n)},d.allocUnsafe=function(t){return m(null,t)},d.allocUnsafeSlow=function(t){return m(null,t)},d.isBuffer=function(b){return!(null==b||!b._isBuffer)},d.compare=function(a,b){if(!d.isBuffer(a)||!d.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;for(var t=a.length,e=b.length,i=0,n=Math.min(t,e);i<n;++i)if(a[i]!==b[i]){t=a[i],e=b[i];break}return t<e?-1:e<t?1:0},d.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},d.concat=function(t,e){if(!l(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return d.alloc(0);var i;if(void 0===e)for(e=0,i=0;i<t.length;++i)e+=t[i].length;var n=d.allocUnsafe(e),r=0;for(i=0;i<t.length;++i){var o=t[i];if(!d.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,r),r+=o.length}return n},d.byteLength=w,d.prototype._isBuffer=!0,d.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<t;i+=2)k(this,i,i+1);return this},d.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<t;i+=4)k(this,i,i+3),k(this,i+1,i+2);return this},d.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<t;i+=8)k(this,i,i+7),k(this,i+1,i+6),k(this,i+2,i+5),k(this,i+3,i+4);return this},d.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?R(this,0,t):x.apply(this,arguments)},d.prototype.equals=function(b){if(!d.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b||0===d.compare(this,b)},d.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},d.prototype.compare=function(t,e,n,r,o){if(!d.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),e<0||n>t.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&e>=n)return 0;if(r>=o)return-1;if(e>=n)return 1;if(this===t)return 0;for(var l=(o>>>=0)-(r>>>=0),c=(n>>>=0)-(e>>>=0),f=Math.min(l,c),h=this.slice(r,o),v=t.slice(e,n),i=0;i<f;++i)if(h[i]!==v[i]){l=h[i],c=v[i];break}return l<c?-1:c<l?1:0},d.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},d.prototype.indexOf=function(t,e,n){return O(this,t,e,n,!0)},d.prototype.lastIndexOf=function(t,e,n){return O(this,t,e,n,!1)},d.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-e;if((void 0===n||n>o)&&(n=o),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var l=!1;;)switch(r){case"hex":return T(this,t,e,n);case"utf8":case"utf-8":return A(this,t,e,n);case"ascii":return S(this,t,e,n);case"latin1":case"binary":return C(this,t,e,n);case"base64":return P(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,e,n);default:if(l)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),l=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var L=4096;function I(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function M(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function D(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=e;i<n;++i)o+=V(t[i]);return o}function $(t,e,n){for(var r=t.slice(e,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function B(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function U(t,e,n,r,o,l){if(!d.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<l)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function F(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i<o;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function z(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i<o;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function H(t,e,n,r,o,l){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function W(t,e,n,r,l){return l||H(t,0,n,4),o.write(t,e,n,r,23,4),n+4}function Y(t,e,n,r,l){return l||H(t,0,n,8),o.write(t,e,n,r,52,8),n+8}d.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t),d.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=d.prototype;else{var o=e-t;n=new d(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+t]}return n},d.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||B(t,e,this.length);for(var r=this[t],o=1,i=0;
vendor: 4,087 bytes, line 2
2++i<e&&(o*=256);)r+=this[t+i]*o;return r},d.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||B(t,e,this.length);for(var r=this[t+--e],o=1;e>0&&(o*=256);)r+=this[t+--e]*o;return r},d.prototype.readUInt8=function(t,e){return e||B(t,1,this.length),this[t]},d.prototype.readUInt16LE=function(t,e){return e||B(t,2,this.length),this[t]|this[t+1]<<8},d.prototype.readUInt16BE=function(t,e){return e||B(t,2,this.length),this[t]<<8|this[t+1]},d.prototype.readUInt32LE=function(t,e){return e||B(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},d.prototype.readUInt32BE=function(t,e){return e||B(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},d.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||B(t,e,this.length);for(var r=this[t],o=1,i=0;++i<e&&(o*=256);)r+=this[t+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*e)),r},d.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||B(t,e,this.length);for(var i=e,r=1,o=this[t+--i];i>0&&(r*=256);)o+=this[t+--i]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*e)),o},d.prototype.readInt8=function(t,e){return e||B(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},d.prototype.readInt16LE=function(t,e){e||B(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},d.prototype.readInt16BE=function(t,e){e||B(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},d.prototype.readInt32LE=function(t,e){return e||B(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},d.prototype.readInt32BE=function(t,e){return e||B(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},d.prototype.readFloatLE=function(t,e){return e||B(t,4,this.length),o.read(this,t,!0,23,4)},d.prototype.readFloatBE=function(t,e){return e||B(t,4,this.length),o.read(this,t,!1,23,4)},d.prototype.readDoubleLE=function(t,e){return e||B(t,8,this.length),o.read(this,t,!0,52,8)},d.prototype.readDoubleBE=function(t,e){return e||B(t,8,this.length),o.read(this,t,!1,52,8)},d.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||U(this,t,e,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[e]=255&t;++i<n&&(o*=256);)this[e+i]=t/o&255;return e+n},d.prototype.writeUIntBE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||U(this,t,e,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},d.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,1,255,0),d.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},d.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,2,65535,0),d.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):F(this,t,e,!0),e+2},d.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,2,65535,0),d.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):F(this,t,e,!1),e+2},d.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,4,4294967295,0),d.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):z(this,t,e,!0),e+4},d.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,4,4294967295,0),d.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):z(this,t,e,!1),e+4},d.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);U(this,t,e,n,o-1,-o)}var i=0,l=1,sub=0;for(this[e]=255&t;++i<n&&(l*=256);)t<0&&0===sub&&0!==this[e+i-1]&&(sub=1),this[e+i]=(t/l|0)-sub&255;return e+n},d.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);U(this,t,e,n,o-1,-o)}var i=n-1,l=1,sub=0;for(this[e+i]=255&t;--i>=0&&(l*=256);)t<0&&0===sub&&0!==this[e+i+1]&&(sub=1),this[e+i]=(t/l|0)-sub&255;return e+n},d.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,1,127,-128),d.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},d.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,2,32767,-32768),d.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):F(this,t,e,!0),e+2},d.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,2,32767,-32768),d.TYPED_ARRAY_SUPPORT?(this[e]=t>>>
vendor: 4,137 bytes, line 2
28,this[e+1]=255&t):F(this,t,e,!1),e+2},d.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,4,2147483647,-2147483648),d.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):z(this,t,e,!0),e+4},d.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||U(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),d.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):z(this,t,e,!1),e+4},d.prototype.writeFloatLE=function(t,e,n){return W(this,t,e,!0,n)},d.prototype.writeFloatBE=function(t,e,n){return W(this,t,e,!1,n)},d.prototype.writeDoubleLE=function(t,e,n){return Y(this,t,e,!0,n)},d.prototype.writeDoubleBE=function(t,e,n){return Y(this,t,e,!1,n)},d.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i,o=r-n;if(this===t&&n<e&&e<r)for(i=o-1;i>=0;--i)t[i+e]=this[i+n];else if(o<1e3||!d.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},d.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===t.length){var code=t.charCodeAt(0);code<256&&(t=code)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!d.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var i;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(i=e;i<n;++i)this[i]=t;else{var o=d.isBuffer(t)?t:G(new d(t,r).toString()),l=o.length;for(i=0;i<n-e;++i)this[i+e]=o[i%l]}return this};var K=/[^+\/0-9A-Za-z-_]/g;function V(t){return t<16?"0"+t.toString(16):t.toString(16)}function G(t,e){var n;e=e||1/0;for(var r=t.length,o=null,l=[],i=0;i<r;++i){if((n=t.charCodeAt(i))>55295&&n<57344){if(!o){if(n>56319){(e-=3)>-1&&l.push(239,191,189);continue}if(i+1===r){(e-=3)>-1&&l.push(239,191,189);continue}o=n;continue}if(n<56320){(e-=3)>-1&&l.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(e-=3)>-1&&l.push(239,191,189);if(o=null,n<128){if((e-=1)<0)break;l.push(n)}else if(n<2048){if((e-=2)<0)break;l.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;l.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;l.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return l}function Z(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(K,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function Q(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}}).call(this,n(24))},299:function(t,e,n){"use strict";e.byteLength=function(t){var e=c(t),n=e[0],r=e[1];return 3*(n+r)/4-r},e.toByteArray=function(t){var e,i,n=c(t),r=n[0],f=n[1],d=new l(function(t,e,n){return 3*(e+n)/4-n}(0,r,f)),h=0,v=f>0?r-4:r;for(i=0;i<v;i+=4)e=o[t.charCodeAt(i)]<<18|o[t.charCodeAt(i+1)]<<12|o[t.charCodeAt(i+2)]<<6|o[t.charCodeAt(i+3)],d[h++]=e>>16&255,d[h++]=e>>8&255,d[h++]=255&e;2===f&&(e=o[t.charCodeAt(i)]<<2|o[t.charCodeAt(i+1)]>>4,d[h++]=255&e);1===f&&(e=o[t.charCodeAt(i)]<<10|o[t.charCodeAt(i+1)]<<4|o[t.charCodeAt(i+2)]>>2,d[h++]=e>>8&255,d[h++]=255&e);return d},e.fromByteArray=function(t){for(var e,n=t.length,o=n%3,l=[],c=16383,i=0,f=n-o;i<f;i+=c)l.push(d(t,i,i+c>f?f:i+c));1===o?(e=t[n-1],l.push(r[e>>2]+r[e<<4&63]+"==")):2===o&&(e=(t[n-2]<<8)+t[n-1],l.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return l.join("")};for(var r=[],o=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
vendor: 5,854 bytes, line 2
2+/",i=0;i<64;++i)r[i]=code[i],o[code.charCodeAt(i)]=i;function c(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function f(t){return r[t>>18&63]+r[t>>12&63]+r[t>>6&63]+r[63&t]}function d(t,e,n){for(var r,output=[],i=e;i<n;i+=3)r=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(255&t[i+2]),output.push(f(r));return output.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},300:function(t,e){e.read=function(t,e,n,r,o){var l,c,f=8*o-r-1,d=(1<<f)-1,h=d>>1,v=-7,i=n?o-1:0,m=n?-1:1,s=t[e+i];for(i+=m,l=s&(1<<-v)-1,s>>=-v,v+=f;v>0;l=256*l+t[e+i],i+=m,v-=8);for(c=l&(1<<-v)-1,l>>=-v,v+=r;v>0;c=256*c+t[e+i],i+=m,v-=8);if(0===l)l=1-h;else{if(l===d)return c?NaN:1/0*(s?-1:1);c+=Math.pow(2,r),l-=h}return(s?-1:1)*c*Math.pow(2,l-r)},e.write=function(t,e,n,r,o,l){var c,f,d,h=8*l-o-1,v=(1<<h)-1,m=v>>1,rt=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,i=r?0:l-1,y=r?1:-1,s=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(f=isNaN(e)?1:0,c=v):(c=Math.floor(Math.log(e)/Math.LN2),e*(d=Math.pow(2,-c))<1&&(c--,d*=2),(e+=c+m>=1?rt/d:rt*Math.pow(2,1-m))*d>=2&&(c++,d/=2),c+m>=v?(f=0,c=v):c+m>=1?(f=(e*d-1)*Math.pow(2,o),c+=m):(f=e*Math.pow(2,m-1)*Math.pow(2,o),c=0));o>=8;t[n+i]=255&f,i+=y,f/=256,o-=8);for(c=c<<o|f,h+=o;h>0;t[n+i]=255&c,i+=y,c/=256,h-=8);t[n+i-y]|=128*s}},301:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},319:function(t,e,n){var content=n(320);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(19).default)("2028d13c",content,!0,{sourceMap:!1})},320:function(t,e,n){var r=n(18)(!1);r.push([t.i,'.vgt-table.striped tbody tr:nth-of-type(odd){background-color:rgba(51,68,109,.03)}.vgt-right-align{text-align:right}.vgt-left-align{text-align:left}.vgt-center-align{text-align:center}.vgt-pull-left{float:left!important}.vgt-pull-right{float:right!important}.vgt-clearfix:after{display:block;content:"";clear:both}.vgt-responsive{width:100%;overflow-x:auto;position:relative}.vgt-text-disabled{color:#909399}.sr-only{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.vgt-wrap{position:relative}.vgt-fixed-header{position:absolute;z-index:10;overflow-x:auto}table.vgt-table{font-size:16px;border-collapse:collapse;background-color:#fff;width:100%;max-width:100%;table-layout:auto;border:1px solid #dcdfe6}table.vgt-table td{padding:.75em;vertical-align:top;border-bottom:1px solid #dcdfe6;color:#606266}table.vgt-table tr.clickable{cursor:pointer}table.vgt-table tr.clickable:hover{background-color:#f1f5fd}.vgt-table th{padding:.75em 1.5em .75em .75em;vertical-align:middle;position:relative}.vgt-table th.sortable button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:none;position:absolute;top:0;left:0;width:100%;height:100%}.vgt-table th.sortable button:focus{outline:0}.vgt-table th.sortable button:after{margin-top:-7px;border-bottom:5px solid #606266}.vgt-table th.sortable button:after,.vgt-table th.sortable button:before{content:"";position:absolute;height:0;width:0;right:6px;top:50%;border-left:5px solid transparent;border-right:5px solid transparent}.vgt-table th.sortable button:before{margin-bottom:-7px;border-top:5px solid #606266}.vgt-table th.line-numbers,.vgt-table th.vgt-checkbox-col{padding:0 .75em;color:#606266;border-right:1px solid #dcdfe6;word-wrap:break-word;width:25px;text-align:center;background:linear-gradient(#f4f5f8,#f1f3f6)}.vgt-table th.filter-th{padding:.75em}.vgt-table th.vgt-row-header{border-bottom:2px solid #dcdfe6;border-top:2px solid #dcdfe6;background-color:#fafafb}.vgt-table th.vgt-row-header .triangle{width:24px;height:24px;border-radius:15%;position:relative;margin:0 8px}.vgt-table th.vgt-row-header .triangle:after{content:"";position:absolute;display:block;left:50%;top:50%;margin-top:-6px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid #606266;margin-left:-3px;transition:transform .3s ease}.vgt-table th.vgt-row-header .triangle.expand:after{transform:rotate(90deg)}.vgt-table thead th{color:#606266;vertical-align:bottom;border-bottom:1px solid #dcdfe6;padding-right:1.5em;background:linear-gradient(#f4f5f8,#f1f3f6)}.vgt-table thead th.vgt-checkbox-col{vertical-align:middle}.vgt-table thead th.sorting-asc button:after{border-bottom:5px solid #409eff}.vgt-table thead th.sorting-desc button:before{border-top:5px solid #409eff}.vgt-input,.vgt-select{width:100%;height:32px;line-height:1;display:block;font-size:14px;font-weight:400;padding:6px 12px;color:#606266;border-radius:4px;box-sizing:border-box;background-image:none;background-color:#fff;border:1px solid #dcdfe6;transition:border-color .2s cubic-bezier(.645,.045,.355,1)}.vgt-input::-moz-placeholder,.vgt-select::-moz-placeholder{color:#606266;opacity:.3}.vgt-input::placeholder,.vgt-select::placeholder{color:#606266;opacity:.3}.vgt-input:focus,.vgt-select:focus{outline:0;border-color:#409eff}.vgt-loading{position:absolute;width:100%;z-index:10;margin-top:117px}.vgt-loading__content{background-color:#c0dfff;color:#409eff;padding:7px 30px;border-radius:3px}.vgt-inner-wrap.is-loading{opacity:.5;pointer-events:none}.vgt-table.bordered td,.vgt-table.bordered th{border:1px solid #dcdfe6}.vgt-table.bordered th.vgt-row-header{border-bottom:3px solid #dcdfe6}.vgt-wrap.rtl{direction:rtl}.vgt-wrap.rtl .vgt-table.condensed thead th,.vgt-wrap.rtl .vgt-table thead th{padding-left:1.5em;padding-right:.75em}.vgt-wrap.rtl .vgt-table th.sorting-asc:after,.vgt-wrap.rtl .vgt-table th.sorting:after{margin-right:5px;margin-left:0}.vgt-wrap.rtl .vgt-table th.sortable:after,.vgt-wrap.rtl .vgt-table th.sortable:before{right:inherit;
2left:6px}.vgt-table.condensed td,.vgt-table.condensed th.vgt-row-header{padding:.4em}@media (max-width:576px){.vgt-compact *{box-sizing:border-box}.vgt-compact tbody,.vgt-compact td,.vgt-compact tr{display:block;width:100%}.vgt-compact thead{display:none}.vgt-compact tr{margin-bottom:15px}.vgt-compact td{text-align:right;position:relative}.vgt-compact td:before{content:attr(data-label);position:relative;float:left;left:0;width:40%;padding-left:10px;font-weight:700;text-align:left}.vgt-compact th.line-numbers{width:100%!important;display:block;padding:.3em 1em!important}}.vgt-global-search{padding:5px 0;display:flex;flex-wrap:nowrap;align-items:stretch;border:1px solid #dcdfe6;border-bottom:0;background:linear-gradient(#f4f5f8,#f1f3f6)}.vgt-global-search form{display:flex}.vgt-global-search form label{margin-top:3px}.vgt-global-search__input{position:relative;padding-left:40px;flex-grow:1}.vgt-global-search__input .input__icon{position:absolute;left:0;max-width:32px}.vgt-global-search__input .input__icon .magnifying-glass{margin-top:3px;margin-left:8px;display:block;width:16px;height:16px;border:2px solid #494949;position:relative;border-radius:50%}.vgt-global-search__input .input__icon .magnifying-glass:before{content:"";display:block;position:absolute;right:-7px;bottom:-5px;background:#494949;width:8px;height:4px;border-radius:2px;transform:rotate(45deg);-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg)}.vgt-global-search__actions{margin-left:10px}.vgt-selection-info-row{background:#fdf9e8;padding:5px 16px;font-size:13px;border-top:1px solid #dcdfe6;border-left:1px solid #dcdfe6;border-right:1px solid #dcdfe6;color:#d3aa3b;font-weight:700}.vgt-selection-info-row a{font-weight:700;display:inline-block;margin-left:10px}.vgt-wrap__actions-footer,.vgt-wrap__footer{border:1px solid #dcdfe6}.vgt-wrap__footer{color:#606266;font-size:1.1rem;padding:1em;background:linear-gradient(#f4f5f8,#f1f3f6)}.vgt-wrap__footer .footer__row-count{position:relative;padding-right:3px}.vgt-wrap__footer .footer__row-count__label,.vgt-wrap__footer .footer__row-count__select{display:inline-block;vertical-align:middle}.vgt-wrap__footer .footer__row-count__label{font-size:1.1rem}.vgt-wrap__footer .footer__row-count__select{font-size:1.1rem;background-color:transparent;width:auto;border:0;border-radius:0;height:auto;margin-left:8px;color:#606266;font-weight:700;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0 15px 0 5px}.vgt-wrap__footer .footer__row-count__select::-ms-expand{display:none}.vgt-wrap__footer .footer__row-count__select:focus{outline:0;border-color:#409eff}.vgt-wrap__footer .footer__row-count:after{content:"";display:block;position:absolute;height:0;width:0;right:6px;top:50%;margin-top:-1px;border:6px solid transparent;border-top-color:#606266;border-bottom:none;pointer-events:none}.vgt-wrap__footer .footer__navigation{font-size:1.1rem}.vgt-wrap__footer .footer__navigation>button:first-of-type{margin-right:16px}.vgt-wrap__footer .footer__navigation__info,.vgt-wrap__footer .footer__navigation__page-btn,.vgt-wrap__footer .footer__navigation__page-info{display:inline-block;vertical-align:middle;color:#909399}.vgt-wrap__footer .footer__navigation__page-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:none;text-decoration:none;color:#606266;font-weight:700;white-space:nowrap;vertical-align:middle}.vgt-wrap__footer .footer__navigation__page-btn:hover{cursor:pointer}.vgt-wrap__footer .footer__navigation__page-btn.disabled,.vgt-wrap__footer .footer__navigation__page-btn.disabled:hover{opacity:.5;cursor:not-allowed}.vgt-wrap__footer .footer__navigation__page-btn.disabled .chevron.left:after,.vgt-wrap__footer .footer__navigation__page-btn.disabled:hover .chevron.left:after{border-right-color:#606266}.vgt-wrap__footer .footer__navigation__page-btn.disabled .chevron.right:after,.vgt-wrap__footer .footer__navigation__page-btn.disabled:hover .chevron.right:after{border-left-color:#606266}
2.vgt-wrap__footer .footer__navigation__page-btn span{display:inline-block;vertical-align:middle;font-size:1.1rem}.vgt-wrap__footer .footer__navigation__page-btn .chevron{width:24px;height:24px;border-radius:15%;position:relative;margin:0;display:inline-block;vertical-align:middle}.vgt-wrap__footer .footer__navigation__page-btn .chevron:after{content:"";position:absolute;display:block;left:50%;top:50%;margin-top:-6px;border-top:6px solid transparent;border-bottom:6px solid transparent}.vgt-wrap__footer .footer__navigation__page-btn .chevron.left:after{border-right:6px solid #409eff;margin-left:-3px}.vgt-wrap__footer .footer__navigation__page-btn .chevron.right:after{border-left:6px solid #409eff;margin-left:-3px}.vgt-wrap__footer .footer__navigation__info,.vgt-wrap__footer .footer__navigation__page-info{display:inline-block;margin:0 16px}.vgt-wrap__footer .footer__navigation__page-info span{display:inline-block;vertical-align:middle}.vgt-wrap__footer .footer__navigation__page-info__current-entry{width:30px;text-align:center;vertical-align:middle;display:inline-block;margin:0 10px;font-weight:700}@media only screen and (max-width:750px){.vgt-wrap__footer .footer__navigation__info{display:none}.vgt-wrap__footer .footer__navigation__page-btn{margin-left:16px}}.vgt-table.nocturnal{border:1px solid #435169;background-color:#324057}.vgt-table.nocturnal tr.clickable:hover{background-color:#445168}.vgt-table.nocturnal td{border-bottom:1px solid #435169;color:#c7ced8}.vgt-table.nocturnal th.line-numbers,.vgt-table.nocturnal th.vgt-checkbox-col{color:#c7ced8;border-right:1px solid #435169;background:linear-gradient(#2c394f,#2c394f)}.vgt-table.nocturnal thead th{color:#c7ced8;border-bottom:1px solid #435169;background:linear-gradient(#2c394f,#2c394f)}.vgt-table.nocturnal thead th.sortable:before{border-top-color:#3e5170}.vgt-table.nocturnal thead th.sortable:after{border-bottom-color:#3e5170}.vgt-table.nocturnal thead th.sortable.sorting-asc{color:#fff}.vgt-table.nocturnal thead th.sortable.sorting-asc:after{border-bottom-color:#409eff}.vgt-table.nocturnal thead th.sortable.sorting-desc{color:#fff}.vgt-table.nocturnal thead th.sortable.sorting-desc:before{border-top-color:#409eff}.vgt-table.nocturnal.bordered td,.vgt-table.nocturnal.bordered th{border:1px solid #435169}.vgt-table.nocturnal .vgt-input,.vgt-table.nocturnal .vgt-select{color:#c7ced8;background-color:#232d3f;border:1px solid #435169}.vgt-table.nocturnal .vgt-input::-moz-placeholder,.vgt-table.nocturnal .vgt-select::-moz-placeholder{color:#c7ced8;opacity:.3}.vgt-table.nocturnal .vgt-input::placeholder,.vgt-table.nocturnal .vgt-select::placeholder{color:#c7ced8;opacity:.3}.vgt-wrap.nocturnal .vgt-wrap__footer{color:#c7ced8;border:1px solid #435169;background:linear-gradient(#2c394f,#2c394f)}.vgt-wrap.nocturnal .vgt-wrap__footer .footer__row-count{position:relative}.vgt-wrap.nocturnal .vgt-wrap__footer .footer__row-count__label{color:#8290a7}.vgt-wrap.nocturnal .vgt-wrap__footer .footer__row-count__select{color:#c7ced8;background:#232d3f;border:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:15px;padding-left:10px;border-radius:3px;text-align:center}.vgt-wrap.nocturnal .vgt-wrap__footer .footer__row-count__select:focus{border-color:#409eff}.vgt-wrap.nocturnal .vgt-wrap__footer .footer__row-count:after{content:"";display:block;position:absolute;height:0;width:0;right:6px;top:50%;margin-top:-1px;border:6px solid transparent;border-top-color:#c7ced8;border-bottom:none;pointer-events:none}.vgt-wrap.nocturnal .vgt-wrap__footer .footer__navigation__page-btn{color:#c7ced8}.vgt-wrap.nocturnal .vgt-wrap__footer .footer__navigation__page-btn.disabled .chevron.left:after,.vgt-wrap.nocturnal .vgt-wrap__footer .footer__navigation__page-btn.disabled:hover .chevron.left:after{border-right-color:#c7ced8}.vgt-wrap.nocturnal .vgt-wrap__footer .footer__navigation__page-btn.disabled .chevron.right:after,.vgt-wrap.nocturnal .vgt-wrap__footer .footer__navigation__page-btn.disabled:hover .chevron.right:after{border-left-color:#c7ced8}.vgt-wrap.nocturnal .vgt-wrap__footer .footer__navigation__info,.vgt-wrap.nocturnal .vgt-wrap__footer .footer__navigation__page-info{color:#8290a7}.vgt-wrap.nocturnal .vgt-global-search{border:1px solid #435169;background:linear-gradient(#2c394f,#2c394f)}.vgt-wrap.nocturnal .vgt-global-search__input .input__icon .magnifying-glass{border:2px solid #3f4c63}.vgt-wrap.nocturnal .vgt-global-search__input .input__icon .magnifying-glass:before{background:#3f4c63}.vgt-wrap.nocturnal .vgt-global-search__input .vgt-input,.vgt-wrap.nocturnal .vgt-global-search__input .vgt-select{color:#c7ced8;background-color:#232d3f;border:1px solid #435169}.vgt-wrap.nocturnal .vgt-global-search__input .vgt-input::-moz-placeholder,.vgt-wrap.nocturnal .vgt-global-search__input .vgt-select::-moz-placeholder{color:#c7ced8;opacity:.3}.vgt-wrap.nocturnal .vgt-global-search__input .vgt-input::placeholder,.vgt-wrap.nocturnal .vgt-global-search__input .vgt-select::placeholder{color:#c7ced8;opacity:.3}.vgt-table.black-rhino{border:1px solid #435169;background-color:#dfe5ee}.vgt-table.black-rhino tr.clickable:hover{background-color:#fff}.vgt-table.black-rhino td{border-bottom:1px solid #bbc5d6;color:#49515e}.vgt-table.black-rhino th.line-numbers,.vgt-table.black-rhino th.vgt-checkbox-col{color:#dae2f0;border-right:1px solid #435169;background:linear-gradient(#4c5c79,#4e5d7c)}.vgt-table.black-rhino thead th{color:#dae2f0;text-shadow:1px 1px #3e5170;border-bottom:1px solid #435169;background:linear-gradient(#4c5c79,#4e5d7c)}.vgt-table.black-rhino thead th.sortable:before{border-top-color:#607498}.vgt-table.black-rhino thead th.sortable:after{border-bottom-color:#607498}.vgt-table.black-rhino thead th.sortable.sorting-asc{color:#fff}.vgt-table.black-rhino thead th.sortable.sorting-asc:after{border-bottom-color:#409eff}.vgt-table.black-rhino thead th.sortable.sorting-desc:before{border-top-color:#409eff}.vgt-table.black-rhino.bordered td{border:1px solid #bbc5d6}.vgt-table.black-rhino.bordered th{border:1px solid #435169}.vgt-table.black-rhino .vgt-input,.vgt-table.black-rhino .vgt-select{color:#dae2f0;background-color:#34445f;border:1px solid transparent}.vgt-table.black-rhino .vgt-input::-moz-placeholder,.vgt-table.black-rhino .vgt-select::-moz-placeholder{color:#dae2f0;opacity:.3}.vgt-table.black-rhino .vgt-input::placeholder,.vgt-table.black-rhino .vgt-select::placeholder{color:#dae2f0;opacity:.3}.vgt-wrap.black-rhino .vgt-wrap__footer{color:#dae2f0;border:1px solid #435169;background:linear-gradient(#4c5c79,#4e5d7c)}.vgt-wrap.black-rhino .vgt-wrap__footer .footer__row-count{position:relative;padding-right:3px}.vgt-wrap.black-rhino .vgt-wrap__footer .footer__row-count__label{color:#98a5b9}.vgt-wrap.black-rhino .vgt-wrap__footer .footer__row-count__select{color:#49515e;background:#34445f;border:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:15px;padding-left:5px;border-radius:3px}.vgt-wrap.black-rhino .vgt-wrap__footer .footer__row-count__select::-ms-expand{display:none}.vgt-wrap.black-rhino .vgt-wrap__footer .footer__row-count__select:focus{border-color:#409eff}.vgt-wrap.black-rhino .vgt-wrap__footer .footer__row-count:after{content:"";display:block;position:absolute;height:0;width:0;right:6px;top:50%;margin-top:-1px;border:6px solid transparent;border-top-color:#49515e;border-bottom:none;pointer-events:none}.vgt-wrap.black-rhino .vgt-wrap__footer .footer__navigation__page-btn{color:#dae2f0}.vgt-wrap.black-rhino .vgt-wrap__footer .footer__navigation__page-btn.disabled .chevron.left:after,.vgt-wrap.black-rhino .vgt-wrap__footer .footer__navigation__page-btn.disabled:hover .chevron.left:after{border-right-color:#dae2f0}.vgt-wrap.black-rhino .vgt-wrap__footer .footer__navigation__page-btn.disabled .chevron.right:after,.vgt-wrap.black-rhino .vgt-wrap__footer .footer__navigation__page-btn.disabled:hover .chevron.right:after{border-left-color:#dae2f0}.vgt-wrap.black-rhino .vgt-wrap__footer .footer__navigation__info,.vgt-wrap.black-rhino .vgt-wrap__footer .footer__navigation__page-info{color:#dae2f0}.vgt-wrap.black-rhino .vgt-global-search{border:1px solid #435169;background:linear-gradient(#4c5c79,#4e5d7c)}.vgt-wrap.black-rhino .vgt-global-search__input .input__icon .magnifying-glass{border:2px solid #3f4c63}.vgt-wrap.black-rhino .vgt-global-search__input .input__icon .magnifying-glass:before{background:#3f4c63}.vgt-wrap.black-rhino .vgt-global-search__input .vgt-input,.vgt-wrap.black-rhino .vgt-global-search__input .vgt-select{color:#dae2f0;background-color:#44516c;border:1px solid transparent}.vgt-wrap.black-rhino .vgt-global-search__input .vgt-input::-moz-placeholder,.vgt-wrap.black-rhino .vgt-global-search__input .vgt-select::-moz-placeholder{color:#dae2f0;opacity:.3}.vgt-wrap.black-rhino .vgt-global-search__input .vgt-input::placeholder,.vgt-wrap.black-rhino .vgt-global-search__input .vgt-select::placeholder{color:#dae2f0;opacity:.3}.vgt-inner-wrap{border-radius:.25rem;box-shadow:0 1px 3px 0 rgba(50,50,93,.1),0 1px 2px 0 rgba(50,50,93,.06)}.vgt-table.polar-bear{border-spacing:0;border-collapse:separate;font-size:1rem;background-color:#fff;border:1px solid #e3e8ee;border-bottom:none;border-radius:.25rem}.vgt-table.polar-bear td{padding:1em .75em;border-bottom:1px solid #e4ebf3;color:#525f7f}.vgt-table.polar-bear td.vgt-right-align{text-align:right}.vgt-table.polar-bear th.line-numbers,.vgt-table.polar-bear th.vgt-checkbox-col{color:#394567;border-right:1px solid #e3e8ee;background:#f7fafc}.vgt-table.polar-bear thead th{color:#667b94;font-weight:600;border-bottom:1px solid #e3e8ee;background:#f7fafc}.vgt-table.polar-bear thead th.sorting-asc,.vgt-table.polar-bear thead th.sorting-desc{color:#5e72e4}.vgt-table.polar-bear thead th.sorting-desc:before{border-top:5px solid #7485e8}.vgt-table.polar-bear thead th.sorting-asc:after{border-bottom:5px solid #7485e8}.vgt-table.polar-bear thead th .vgt-input,.vgt-table.polar-bear thead th .vgt-select{height:2.75em;box-shadow:0 1px 2px 0 rgba(0,0,0,.05);border:1px solid #e4ebf3}.vgt-table.polar-bear thead th .vgt-input:focus,.vgt-table.polar-bear thead th .vgt-select:focus{outline:0;border-color:#cae0fe}.vgt-table.polar-bear thead tr:first-child th:first-child{border-top-left-radius:.25rem}.vgt-table.polar-bear thead tr:first-child th:last-child{border-top-right-radius:.25rem}.vgt-table.polar-bear.bordered td{border:1px solid #e3e8ee;background:#fff}.vgt-table.polar-bear.bordered th{border:1px solid #e3e8ee}.vgt-wrap.polar-bear .vgt-wrap__footer{color:#394567;border:1px solid #e3e8ee;border-bottom:0;border-top:0;background:linear-gradient(#f7fafc,#f7fafc)}.vgt-wrap.polar-bear .vgt-wrap__footer .footer__row-count{position:relative;padding-right:3px}.vgt-wrap.polar-bear .vgt-wrap__footer .footer__row-count__label{color:#98a5b9}.vgt-wrap.polar-bear .vgt-wrap__footer .footer__row-count__select{text-align:center;color:#525f7f;background:#fff;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:5px 30px 5px 5px;border-radius:3px;box-shadow:0 1px 2px 0 rgba(0,0,0,.05);border:1px solid #e4ebf3}.vgt-wrap.polar-bear .vgt-wrap__footer .footer__row-count__select::-ms-expand{display:none}.vgt-wrap.polar-bear .vgt-wrap__footer .footer__row-count__select:focus{border-color:#5e72e4}.vgt-wrap.polar-bear .vgt-wrap__footer .footer__row-count:after{content:"";display:block;position:absolute;height:0;width:0;right:15px;top:50%;margin-top:-3px;border:6px solid transparent;border-top-color:#525f7f;border-bottom:none;pointer-events:none}.vgt-wrap.polar-bear .vgt-wrap__footer .footer__navigation__page-btn{color:#394567}.vgt-wrap.polar-bear .vgt-wrap__footer .footer__navigation__page-btn.disabled .chevron.left:after,.vgt-wrap.polar-bear .vgt-wrap__footer .footer__navigation__page-btn.disabled:hover .chevron.left:after{border-right-color:#394567}.vgt-wrap.polar-bear .vgt-wrap__footer .footer__navigation__page-btn.disabled .chevron.right:after,.vgt-wrap.polar-bear .vgt-wrap__footer .footer__navigation__page-btn.disabled:hover .chevron.right:after{border-left-color:#394567}.vgt-wrap.polar-bear .vgt-wrap__footer .footer__navigation__info,.vgt-wrap.polar-bear .vgt-wrap__footer .footer__navigation__page-info{color:#394567}.vgt-wrap.polar-bear .vgt-global-search{border:1px solid #e3e8ee;border-bottom:0;border-top-left-radius:3px;border-top-right-radius:3px;background:#f7fafc}.vgt-wrap.polar-bear .vgt-global-search__input .input__icon .magnifying-glass{border:2px solid #dde3ea}.vgt-wrap.polar-bear .vgt-global-search__input .input__icon .magnifying-glass:before{background:#dde3ea}.vgt-wrap.polar-bear .vgt-global-search__input .vgt-input,.vgt-wrap.polar-bear .vgt-global-search__input .vgt-select{height:2.75em;box-shadow:0 1px 2px 0 rgba(0,0,0,.05);border:1px solid #e4ebf3}.vgt-wrap.polar-bear .vgt-global-search__input .vgt-input::-moz-placeholder,.vgt-wrap.polar-bear .vgt-global-search__input .vgt-select::-moz-placeholder{color:#394567;opacity:.3}.vgt-wrap.polar-bear .vgt-global-search__input .vgt-input::placeholder,.vgt-wrap.polar-bear .vgt-global-search__input .vgt-select::placeholder{color:#394567;opacity:.3}',""]),t.exports=r},322:function(t,e,n){"use strict";var r={};n.r(r),n.d(r,"top",function(){return o}
2),n.d(r,"bottom",function(){return l}),n.d(r,"right",function(){return c}),n.d(r,"left",function(){return f}),n.d(r,"auto",function(){return d}),n.d(r,"basePlacements",function(){return h}),n.d(r,"start",function(){return v}),n.d(r,"end",function(){return m}),n.d(r,"clippingParents",function(){return y}),n.d(r,"viewport",function(){return _}),n.d(r,"popper",function(){return w}),n.d(r,"reference",function(){return x}),n.d(r,"variationPlacements",function(){return k}),n.d(r,"placements",function(){return O}),n.d(r,"beforeRead",function(){return E}),n.d(r,"read",function(){return T}),n.d(r,"afterRead",function(){return A}),n.d(r,"beforeMain",function(){return S}),n.d(r,"main",function(){return main}),n.d(r,"afterMain",function(){return C}),n.d(r,"beforeWrite",function(){return P}),n.d(r,"write",function(){return N}),n.d(r,"afterWrite",function(){return j}),n.d(r,"modifierPhases",function(){return R}),n.d(r,"applyStyles",function(){return B}),n.d(r,"arrow",function(){return it}),n.d(r,"computeStyles",function(){return ut}),n.d(r,"eventListeners",function(){return ft}),n.d(r,"flip",function(){return Tt}),n.d(r,"hide",function(){return Ct}),n.d(r,"offset",function(){return Pt}),n.d(r,"popperOffsets",function(){return Nt}),n.d(r,"preventOverflow",function(){return jt}),n.d(r,"popperGenerator",function(){return Dt}),n.d(r,"detectOverflow",function(){return Et}),n.d(r,"createPopperBase",function(){return $t}),n.d(r,"createPopper",function(){return Bt}),n.d(r,"createPopperLite",function(){return Ut});var o="top",l="bottom",c="right",f="left",d="auto",h=[o,l,c,f],v="start",m="end",y="clippingParents",_="viewport",w="popper",x="reference",k=h.reduce(function(t,e){return t.concat([e+"-"+v,e+"-"+m])},[]),O=[].concat(h,[d]).reduce(function(t,e){return t.concat([e,e+"-"+v,e+"-"+m])},[]),E="beforeRead",T="read",A="afterRead",S="beforeMain",main="main",C="afterMain",P="beforeWrite",N="write",j="afterWrite",R=[E,T,A,S,main,C,P,N,j];function L(element){return element?(element.nodeName||"").toLowerCase():null}function I(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function M(t){return t instanceof I(t).Element||t instanceof Element}function D(t){return t instanceof I(t).HTMLElement||t instanceof HTMLElement}function $(t){return"undefined"!=typeof ShadowRoot&&(t instanceof I(t).ShadowRoot||t instanceof ShadowRoot)}var B={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach(function(t){var style=e.styles[t]||{},n=e.attributes[t]||{},element=e.elements[t];D(element)&&L(element)&&(Object.assign(element.style,style),Object.keys(n).forEach(function(t){var e=n[t];!1===e?element.removeAttribute(t):element.setAttribute(t,!0===e?"":e)}))})},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(t){var element=e.elements[t],r=e.attributes[t]||{},style=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce(function(style,t){return style[t]="",style},{});D(element)&&L(element)&&(Object.assign(element.style,style),Object.keys(r).forEach(function(t){element.removeAttribute(t)}))})}},requires:["computeStyles"]};function U(t){return t.split("-")[0]}var F=Math.max,z=Math.min,H=Math.round;function W(element,t){void 0===t&&(t=!1);var rect=element.getBoundingClientRect(),e=1,n=1;if(D(element)&&t){var r=element.offsetHeight,o=element.offsetWidth;o>0&&(e=H(rect.width)/o||1),r>0&&(n=H(rect.height)/r||1)}return{width:rect.width/e,height:rect.height/n,top:rect.top/n,right:rect.right/e,bottom:rect.bottom/n,left:rect.left/e,x:rect.left/e,y:rect.top/n}}function Y(element){var t=W(element),e=element.offsetWidth,n=element.offsetHeight;return Math.abs(t.width-e)<=1&&(e=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:element.offsetLeft,y:element.offsetTop,width:e,height:n}}function K(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;
vendor: 8,901 bytes, line 2
2if(n&&$(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function V(element){return I(element).getComputedStyle(element)}function G(element){return["table","td","th"].indexOf(L(element))>=0}function Z(element){return((M(element)?element.ownerDocument:element.document)||window.document).documentElement}function Q(element){return"html"===L(element)?element:element.assignedSlot||element.parentNode||($(element)?element.host:null)||Z(element)}function X(element){return D(element)&&"fixed"!==V(element).position?element.offsetParent:null}function J(element){for(var t=I(element),e=X(element);e&&G(e)&&"static"===V(e).position;)e=X(e);return e&&("html"===L(e)||"body"===L(e)&&"static"===V(e).position)?t:e||function(element){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&D(element)&&"fixed"===V(element).position)return null;for(var e=Q(element);D(e)&&["html","body"].indexOf(L(e))<0;){var n=V(e);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return e;e=e.parentNode}return null}(element)||t}function tt(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function et(t,e,n){return F(t,z(e,n))}function nt(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function ot(t,e){return e.reduce(function(e,n){return e[n]=t,e},{})}var it={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,r=t.name,d=t.options,v=n.elements.arrow,m=n.modifiersData.popperOffsets,y=U(n.placement),_=tt(y),w=[f,c].indexOf(y)>=0?"height":"width";if(v&&m){var x=function(t,e){return nt("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:ot(t,h))}(d.padding,n),k=Y(v),O="y"===_?o:f,E="y"===_?l:c,T=n.rects.reference[w]+n.rects.reference[_]-m[_]-n.rects.popper[w],A=m[_]-n.rects.reference[_],S=J(v),C=S?"y"===_?S.clientHeight||0:S.clientWidth||0:0,P=T/2-A/2,N=x[O],j=C-k[w]-x[E],R=C/2-k[w]/2+P,L=et(N,R,j),I=_;n.modifiersData[r]=((e={})[I]=L,e.centerOffset=L-R,e)}},effect:function(t){var e=t.state,n=t.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=e.elements.popper.querySelector(r)))&&K(e.elements.popper,r)&&(e.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function at(t){return t.split("-")[1]}var lt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function st(t){var e,n=t.popper,r=t.popperRect,d=t.placement,h=t.variation,v=t.offsets,y=t.position,_=t.gpuAcceleration,w=t.adaptive,x=t.roundOffsets,k=t.isFixed,O=v.x,E=void 0===O?0:O,T=v.y,A=void 0===T?0:T,S="function"==typeof x?x({x:E,y:A}):{x:E,y:A};E=S.x,A=S.y;var C=v.hasOwnProperty("x"),P=v.hasOwnProperty("y"),N=f,j=o,R=window;if(w){var L=J(n),M="clientHeight",D="clientWidth";if(L===I(n)&&"static"!==V(L=Z(n)).position&&"absolute"===y&&(M="scrollHeight",D="scrollWidth"),d===o||(d===f||d===c)&&h===m)j=l,A-=(k&&R.visualViewport?R.visualViewport.height:L[M])-r.height,A*=_?1:-1;if(d===f||(d===o||d===l)&&h===m)N=c,E-=(k&&R.visualViewport?R.visualViewport.width:L[D])-r.width,E*=_?1:-1}var $,B=Object.assign({position:y},w&<),U=!0===x?function(t){var e=t.x,n=t.y,r=window.devicePixelRatio||1;return{x:H(e*r)/r||0,y:H(n*r)/r||0}}({x:E,y:A}):{x:E,y:A};return E=U.x,A=U.y,_?Object.assign({},B,(($={})[j]=P?"0":"",$[N]=C?"0":"",$.transform=(R.devicePixelRatio||1)<=1?"translate("+E+"px, "+A+"px)":"translate3d("+E+"px, "+A+"px, 0)",$)):Object.assign({},B,((e={})[j]=P?A+"px":"",e[N]=C?E+"px":"",e.transform="",e))}var ut={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,r=n.gpuAcceleration,o=void 0===r||r,l=n.adaptive,c=void 0===l||l,f=n.roundOffsets,d=void 0===f||f,h={placement:U(e.placement),variation:at(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,st(Object.assign({},h,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:c,roundOffsets:d})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,st(Object.assign({},h,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:d})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},ct={passive:!0};var ft={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,r=t.options,o=r.scroll,l=void 0===o||o,c=r.resize,f=void 0===c||c,d=I(e.elements.popper),h=[].concat(e.scrollParents.reference,e.scrollParents.popper);return l&&h.forEach(function(t){t.addEventListener("scroll",n.update,ct)}),f&&d.addEventListener("resize",n.update,ct),function(){l&&h.forEach(function(t){t.removeEventListener("scroll",n.update,ct)}),f&&d.removeEventListener("resize",n.update,ct)}},data:{}},ht={left:"right",right:"left",bottom:"top",top:"bottom"};function pt(t){return t.replace(/left|right|bottom|top/g,function(t){return ht[t]})}var gt={start:"end",end:"start"};function vt(t){return t.replace(/start|end/g,function(t){return gt[t]})}function mt(t){var e=I(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function bt(element){return W(Z(element)).left+mt(element).scrollLeft}function yt(element){var t=V(element),e=t.overflow,n=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(e+r+n)}function _t(t){return["html","body","#document"].indexOf(L(t))>=0?t.ownerDocument.body:D(t)&&yt(t)?t:_t(Q(t))}function wt(element,t){var e;void 0===t&&(t=[]);var n=_t(element),r=n===(null==(e=element.ownerDocument)?void 0:e.body),o=I(n),l=r?[o].concat(o.visualViewport||[],yt(n)?n:[]):n,c=t.concat(l);return r?c:c.concat(wt(Q(l)))}function xt(rect){return Object.assign({},rect,{left:rect.x,top:rect.y,right:rect.x+rect.width,bottom:rect.y+rect.height})}function qt(element,t){return t===_?xt(function(element){var t=I(element),html=Z(element),e=t.visualViewport,n=html.clientWidth,r=html.clientHeight,o=0,l=0;return e&&(n=e.width,r=e.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=e.offsetLeft,l=e.offsetTop)),{width:n,height:r,x:o+bt(element),y:l}}(element)):M(t)?function(element){var rect=W(element);return rect.top=rect.top+element.clientTop,rect.left=rect.left+element.clientLeft,rect.bottom=rect.top+element.clientHeight,rect.right=rect.left+element.clientWidth,rect.width=element.clientWidth,rect.height=element.clientHeight,rect.x=rect.left,rect.y=rect.top,rect}(t):xt(function(element){var t,html=Z(element),e=mt(element),body=null==(t=element.ownerDocument)?void 0:t.body,n=F(html.scrollWidth,html.clientWidth,body?body.scrollWidth:0,body?body.clientWidth:0),r=F(html.scrollHeight,html.clientHeight,body?body.scrollHeight:0,body?body.clientHeight:0),o=-e.scrollLeft+bt(element),l=-e.scrollTop;return"rtl"===V(body||html).direction&&(o+=F(html.clientWidth,body?body.clientWidth:0)-n),{width:n,height:r,x:o,y:l}}(Z(element)))}function kt(element,t,e){var n="clippingParents"===t?function(element){var t=wt(Q(element)),e=["absolute","fixed"].indexOf(V(element).position)>=0&&D(element)?J(element):element;return M(e)?t.filter(function(t){return M(t)&&K(t,e)&&"body"!==L(t)}):[]}(element):[].concat(t),r=[].concat(n,[e]),o=r[0],l=r.reduce(function(t,e){var rect=qt(element,e);return t.top=F(rect.top,t.top),t.right=z(rect.right,t.right),t.bottom=z(rect.bottom,t.bottom),t.left=F(rect.left,t.left),t},qt(element,o));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Ot(t){var e,n=t.reference,element=t.element,r=t.placement,d=r?U(r):null,h=r?at(r):null,y=n.x+n.width/2-element.width/2,_=n.y+n.height/2-element.height/2;switch(d){case o:e={x:y,y:n.y-element.height};break;case l:e={x:y,y:n.y+n.height};break;case c:e={x:n.x+n.width,y:_};break;case f:e={x:n.x-element.width,y:_};break;default:e={x:n.x,y:n.y}}var w=d?tt(d):null;if(null!=w){var x="y"===w?"height":"width";switch(h){case v:e[w]=e[w]-(n[x]/2-element[x]/2);break;case m:e[w]=e[w]+(n[x]/2-element[x]/2)}}return e}function Et(t,e){void 0===e&&(e={});var n=e,r=n.placement,f=void 0===r?t.placement:r,d=n.boundary,v=void 0===d?y:d,m=n.rootBoundary,k=void 0===m?_:m,O=n.elementContext,E=void 0===O?w:O,T=n.altBoundary,A=void 0!==T&&T,S=n.padding,C=void 0===S?0:S,P=nt("number"!=typeof C?C:ot(C,h)),N=E===w?x:w,j=t.rects.popper,element=t.elements[A?N:E],R=kt(M(element)?element:element.contextElement||Z(t.elements.popper),v,k),L=W(t.elements.reference),I=Ot({reference:L,element:j,strategy:"absolute",placement:f}),D=xt(Object.assign({},j,I)),$=E===w?D:L,B={top:R.top-$.top+P.top,bottom:$.bottom-R.bottom+P.bottom,left:R.left-$.left+P.left,right:$.right-R.right+P.right},U=t.modifiersData.offset;if(E===w&&U){var F=U[f];
vendor: 5,947 bytes, line 2
2Object.keys(B).forEach(function(t){var e=[c,l].indexOf(t)>=0?1:-1,n=[o,l].indexOf(t)>=0?"y":"x";B[t]+=F[n]*e})}return B}var Tt={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var m=n.mainAxis,y=void 0===m||m,_=n.altAxis,w=void 0===_||_,x=n.fallbackPlacements,E=n.padding,T=n.boundary,A=n.rootBoundary,S=n.altBoundary,C=n.flipVariations,P=void 0===C||C,N=n.allowedAutoPlacements,j=e.options.placement,R=U(j),L=x||(R===j||!P?[pt(j)]:function(t){if(U(t)===d)return[];var e=pt(t);return[vt(t),e,vt(e)]}(j)),I=[j].concat(L).reduce(function(t,n){return t.concat(U(n)===d?function(t,e){void 0===e&&(e={});var n=e,r=n.placement,o=n.boundary,l=n.rootBoundary,c=n.padding,f=n.flipVariations,d=n.allowedAutoPlacements,v=void 0===d?O:d,m=at(r),y=m?f?k:k.filter(function(t){return at(t)===m}):h,_=y.filter(function(t){return v.indexOf(t)>=0});0===_.length&&(_=y);var w=_.reduce(function(e,n){return e[n]=Et(t,{placement:n,boundary:o,rootBoundary:l,padding:c})[U(n)],e},{});return Object.keys(w).sort(function(a,b){return w[a]-w[b]})}(e,{placement:n,boundary:T,rootBoundary:A,padding:E,flipVariations:P,allowedAutoPlacements:N}):n)},[]),M=e.rects.reference,D=e.rects.popper,$=new Map,B=!0,F=I[0],i=0;i<I.length;i++){var z=I[i],H=U(z),W=at(z)===v,Y=[o,l].indexOf(H)>=0,K=Y?"width":"height",V=Et(e,{placement:z,boundary:T,rootBoundary:A,altBoundary:S,padding:E}),G=Y?W?c:f:W?l:o;M[K]>D[K]&&(G=pt(G));var Z=pt(G),Q=[];if(y&&Q.push(V[H]<=0),w&&Q.push(V[G]<=0,V[Z]<=0),Q.every(function(t){return t})){F=z,B=!1;break}$.set(z,Q)}if(B)for(var X=function(t){var e=I.find(function(e){var n=$.get(e);if(n)return n.slice(0,t).every(function(t){return t})});if(e)return F=e,"break"},J=P?3:1;J>0;J--){if("break"===X(J))break}e.placement!==F&&(e.modifiersData[r]._skip=!0,e.placement=F,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function At(t,rect,e){return void 0===e&&(e={x:0,y:0}),{top:t.top-rect.height-e.y,right:t.right-rect.width+e.x,bottom:t.bottom-rect.height+e.y,left:t.left-rect.width-e.x}}function St(t){return[o,c,l,f].some(function(e){return t[e]>=0})}var Ct={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,r=e.rects.reference,o=e.rects.popper,l=e.modifiersData.preventOverflow,c=Et(e,{elementContext:"reference"}),f=Et(e,{altBoundary:!0}),d=At(c,r),h=At(f,o,l),v=St(d),m=St(h);e.modifiersData[n]={referenceClippingOffsets:d,popperEscapeOffsets:h,isReferenceHidden:v,hasPopperEscaped:m},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":v,"data-popper-escaped":m})}};var Pt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,r=t.name,l=n.offset,d=void 0===l?[0,0]:l,data=O.reduce(function(t,n){return t[n]=function(t,e,n){var r=U(t),l=[f,o].indexOf(r)>=0?-1:1,d="function"==typeof n?n(Object.assign({},e,{placement:t})):n,h=d[0],v=d[1];return h=h||0,v=(v||0)*l,[f,c].indexOf(r)>=0?{x:v,y:h}:{x:h,y:v}}(n,e.rects,d),t},{}),h=data[e.placement],v=h.x,m=h.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=v,e.modifiersData.popperOffsets.y+=m),e.modifiersData[r]=data}};var Nt={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=Ot({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}};var jt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name,d=n.mainAxis,h=void 0===d||d,m=n.altAxis,y=void 0!==m&&m,_=n.boundary,w=n.rootBoundary,x=n.altBoundary,k=n.padding,O=n.tether,E=void 0===O||O,T=n.tetherOffset,A=void 0===T?0:T,S=Et(e,{boundary:_,rootBoundary:w,padding:k,altBoundary:x}),C=U(e.placement),P=at(e.placement),N=!P,j=tt(C),R="x"===j?"y":"x",L=e.modifiersData.popperOffsets,I=e.rects.reference,M=e.rects.popper,D="function"==typeof A?A(Object.assign({},e.rects,{placement:e.placement})):A,$="number"==typeof D?{mainAxis:D,altAxis:D}:Object.assign({mainAxis:0,altAxis:0},D),B=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,data={x:0,y:0};if(L){if(h){var H,W="y"===j?o:f,K="y"===j?l:c,V="y"===j?"height":"width",G=L[j],Z=G+S[W],Q=G-S[K],X=E?-M[V]/2:0,nt=P===v?I[V]:M[V],ot=P===v?-M[V]:-I[V],it=e.elements.arrow,lt=E&&it?Y(it):{width:0,height:0},st=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ut=st[W],ct=st[K],ft=et(0,I[V],lt[V]),ht=N?I[V]/2-X-ft-ut-$.mainAxis:nt-ft-ut-$.mainAxis,pt=N?-I[V]/2+X+ft+ct+$.mainAxis:ot+ft+ct+$.mainAxis,gt=e.elements.arrow&&J(e.elements.arrow),vt=gt?"y"===j?gt.clientTop||0:gt.clientLeft||0:0,mt=null!=(H=null==B?void 0:B[j])?H:0,bt=G+pt-mt,yt=et(E?z(Z,G+ht-mt-vt):Z,G,E?F(Q,bt):Q);L[j]=yt,data[j]=yt-G}if(y){var _t,wt="x"===j?o:f,xt="x"===j?l:c,qt=L[R],kt="y"===R?"height":"width",Ot=qt+S[wt],Tt=qt-S[xt],At=-1!==[o,f].indexOf(C),St=null!=(_t=null==B?void 0:B[R])?_t:0,Ct=At?Ot:qt-I[kt]-M[kt]-St+$.altAxis,Pt=At?qt+I[kt]+M[kt]-St-$.altAxis:Tt,Nt=E&&At?function(t,e,n){var r=et(t,e,n);return r>n?n:r}(Ct,qt,Pt):et(E?Ct:Ot,qt,E?Pt:Tt);L[R]=Nt,data[R]=Nt-qt}e.modifiersData[r]=data}},requiresIfExists:["offset"]};function Rt(t,e,n){void 0===n&&(n=!1);var r,element,o=D(e),l=D(e)&&function(element){var rect=element.getBoundingClientRect(),t=H(rect.width)/element.offsetWidth||1,e=H(rect.height)/element.offsetHeight||1;return 1!==t||1!==e}(e),c=Z(e),rect=W(t,l),f={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(o||!o&&!n)&&(("body"!==L(e)||yt(c))&&(f=(r=e)!==I(r)&&D(r)?{scrollLeft:(element=r).scrollLeft,scrollTop:element.scrollTop}:mt(r)),D(e)?((d=W(e,!0)).x+=e.clientLeft,d.y+=e.clientTop):c&&(d.x=bt(c))),{x:rect.left+f.scrollLeft-d.x,y:rect.top+f.scrollTop-d.y,width:rect.width,height:rect.height}}function Lt(t){var map=new Map,e=new Set,n=[];function r(t){e.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEac
2h(function(t){if(!e.has(t)){var n=map.get(t);n&&r(n)}}),n.push(t)}return t.forEach(function(t){map.set(t.name,t)}),t.forEach(function(t){e.has(t.name)||r(t)}),n}var It={placement:"bottom",modifiers:[],strategy:"absolute"};function Mt(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(element){return!(element&&"function"==typeof element.getBoundingClientRect)})}function Dt(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,r=void 0===n?[]:n,o=e.defaultOptions,l=void 0===o?It:o;return function(t,e,n){void 0===n&&(n=l);var o,c,f={placement:"bottom",orderedModifiers:[],options:Object.assign({},It,l),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},d=[],h=!1,v={state:f,setOptions:function(n){var o="function"==typeof n?n(f.options):n;m(),f.options=Object.assign({},l,f.options,o),f.scrollParents={reference:M(t)?wt(t):t.contextElement?wt(t.contextElement):[],popper:wt(e)};var c=function(t){var e=Lt(t);return R.reduce(function(t,n){return t.concat(e.filter(function(t){return t.phase===n}))},[])}(function(t){var e=t.reduce(function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t},{});return Object.keys(e).map(function(t){return e[t]})}([].concat(r,f.options.modifiers)));return f.orderedModifiers=c.filter(function(t){return t.enabled}),f.orderedModifiers.forEach(function(t){var e=t.name,n=t.options,r=void 0===n?{}:n,o=t.effect;if("function"==typeof o){var l=o({state:f,name:e,instance:v,options:r}),c=function(){};d.push(l||c)}}),v.update()},forceUpdate:function(){if(!h){var t=f.elements,e=t.reference,n=t.popper;if(Mt(e,n)){f.rects={reference:Rt(e,J(n),"fixed"===f.options.strategy),popper:Y(n)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(t){return f.modifiersData[t.name]=Object.assign({},t.data)});for(var r=0;r<f.orderedModifiers.length;r++)if(!0!==f.reset){var o=f.orderedModifiers[r],l=o.fn,c=o.options,d=void 0===c?{}:c,m=o.name;"function"==typeof l&&(f=l({state:f,options:d,name:m,instance:v})||f)}else f.reset=!1,r=-1}}},update:(o=function(){return new Promise(function(t){v.forceUpdate(),t(f)})},function(){return c||(c=new Promise(function(t){Promise.resolve().then(function(){c=void 0,t(o())})})),c}),destroy:function(){m(),h=!0}};if(!Mt(t,e))return v;function m(){d.forEach(function(t){return t()}),d=[]}return v.setOptions(n).then(function(t){!h&&n.onFirstUpdate&&n.onFirstUpdate(t)}),v}}var $t=Dt(),Bt=Dt({defaultModifiers:[ft,Nt,ut,B,Pt,Tt,jt,it,Ct]}),Ut=Dt({defaultModifiers:[ft,Nt,ut,B]});const Ft="transitionend",zt=element=>{let t=element.getAttribute("data-bs-target");if(!t||"#"===t){let e=element.getAttribute("href");if(!e||!e.includes("#")&&!e.startsWith("."))return null;e.includes("#")&&!e.startsWith("#")&&(e=`#${e.split("#")[1]}`),t=e&&"#"!==e?e.trim():null}return t},Ht=element=>{const t=zt(element);return t&&document.querySelector(t)?t:null},Wt=element=>{const t=zt(element);return t?document.querySelector(t):null},Yt=element=>{element.dispatchEvent(new Event(Ft))},Kt=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),Vt=t=>Kt(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(t):null,Gt=(t,e,n)=>{Object.keys(n).forEach(r=>{const o=n[r],l=e[r],c=l&&Kt(l)?"element":null==(f=l)?`${f}`:{}.toString.call(f).match(/\s([a-z]+)/i)[1].toLowerCase();var f;if(!new RegExp(o).test(c))throw new TypeError(`${t.toUpperCase()}: Option "${r}" provided type "${c}" but expected type "${o}".`)})},Zt=element=>!(!Kt(element)||0===element.getClientRects().length)&&"visible"===getComputedStyle(element).getPropertyValue("visibility"),Qt=element=>!element||element.nodeType!==Node.ELEMENT_NODE||(!!element.classList.contains("disabled")||(void 0!==element.disabled?element.disabled:element.hasAttribute("disabled")&&"false"!==element.getAttribute("disabled"))),Xt=element=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof element.getRootNode){const t=element.getRootNode();return t instanceof ShadowRoot?t:null}return element instanceof ShadowRoot?element:element.parentNode?Xt(element.parentNode):null},Jt=()=>{},te=element=>{element.offsetHeight},ee=()=>{const{jQuery:t}=window;return t&&!document.body.hasAttribute("data-bs-no-jquery")?t:null},ne=[],re=()=>"rtl"===document.documentElement.dir,oe=t=>{var e;e=()=>{const e=ee();if(e){const n=t.NAME,r=e.fn[n];e.fn[n]=t.jQueryInterface,e.fn[n].Constructor=t,e.fn[n].noConflict=()=>(e.fn[n]=r,t.jQueryInterface)}},"loading"===document.readyState?(ne.length||document.addEventListener("DOMContentLoaded",()=>{ne.forEach(t=>t())}),ne.push(e)):e()},ie=t=>{"function"==typeof t&&t()},ae=(t,e,n=!0)=>
vendor: 4,771 bytes, line 2
2{if(!n)return void ie(t);const r=(element=>{if(!element)return 0;let{transitionDuration:t,transitionDelay:e}=window.getComputedStyle(element);const n=Number.parseFloat(t),r=Number.parseFloat(e);return n||r?(t=t.split(",")[0],e=e.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(e))):0})(e)+5;let o=!1;const l=({target:n})=>{n===e&&(o=!0,e.removeEventListener(Ft,l),ie(t))};e.addEventListener(Ft,l),setTimeout(()=>{o||Yt(e)},r)},le=(t,e,n,r)=>{let o=t.indexOf(e);if(-1===o)return t[!n&&r?t.length-1:0];const l=t.length;return o+=n?1:-1,r&&(o=(o+l)%l),t[Math.max(0,Math.min(o,l-1))]},se=/[^.]*(?=\..*)\.|.*/,ue=/\..*/,ce=/::\d+$/,fe={};let de=1;const he={mouseenter:"mouseover",mouseleave:"mouseout"},pe=/^(mouseenter|mouseleave)/i,ge=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function ve(element,t){return t&&`${t}::${de++}`||element.uidEvent||de++}function me(element){const t=ve(element);return element.uidEvent=t,fe[t]=fe[t]||{},fe[t]}function be(t,e,n=null){const r=Object.keys(t);for(let i=0,o=r.length;i<o;i++){const o=t[r[i]];if(o.originalHandler===e&&o.delegationSelector===n)return o}return null}function ye(t,e,n){const r="string"==typeof e,o=r?n:e;let l=xe(t);return ge.has(l)||(l=t),[r,o,l]}function _e(element,t,e,n,r){if("string"!=typeof t||!element)return;if(e||(e=n,n=null),pe.test(t)){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};n?n=t(n):e=t(e)}const[o,l,c]=ye(t,e,n),f=me(element),d=f[c]||(f[c]={}),h=be(d,l,o?e:null);if(h)return void(h.oneOff=h.oneOff&&r);const v=ve(l,t.replace(se,"")),m=o?function(element,t,e){return function n(r){const o=element.querySelectorAll(t);for(let{target:l}=r;l&&l!==this;l=l.parentNode)for(let i=o.length;i--;)if(o[i]===l)return r.delegateTarget=l,n.oneOff&&qe.off(element,r.type,t,e),e.apply(l,[r]);return null}}(element,e,n):function(element,t){return function e(n){return n.delegateTarget=element,e.oneOff&&qe.off(element,n.type,t),t.apply(element,[n])}}(element,e);m.delegationSelector=o?e:null,m.originalHandler=l,m.oneOff=r,m.uidEvent=v,d[v]=m,element.addEventListener(c,m,o)}function we(element,t,e,n,r){const o=be(t[e],n,r);o&&(element.removeEventListener(e,o,Boolean(r)),delete t[e][o.uidEvent])}function xe(t){return t=t.replace(ue,""),he[t]||t}const qe={on(element,t,e,n){_e(element,t,e,n,!1)},one(element,t,e,n){_e(element,t,e,n,!0)},off(element,t,e,n){if("string"!=typeof t||!element)return;const[r,o,l]=ye(t,e,n),c=l!==t,f=me(element),d=t.startsWith(".");if(void 0!==o){if(!f||!f[l])return;return void we(element,f,l,o,r?e:null)}d&&Object.keys(f).forEach(e=>{!function(element,t,e,n){const r=t[e]||{};Object.keys(r).forEach(o=>{if(o.includes(n)){const n=r[o];we(element,t,e,n.originalHandler,n.delegationSelector)}})}(element,f,e,t.slice(1))});const h=f[l]||{};Object.keys(h).forEach(e=>{const n=e.replace(ce,"");if(!c||t.includes(n)){const t=h[e];we(element,f,l,t.originalHandler,t.delegationSelector)}})},trigger(element,t,e){if("string"!=typeof t||!element)return null;const n=ee(),r=xe(t),o=t!==r,l=ge.has(r);let c,f=!0,d=!0,h=!1,v=null;return o&&n&&(c=n.Event(t,e),n(element).trigger(c),f=!c.isPropagationStopped(),d=!c.isImmediatePropagationStopped(),h=c.isDefaultPrevented()),l?(v=document.createEvent("HTMLEvents"),v.initEvent(r,f,!0)):v=new CustomEvent(t,{bubbles:f,cancelable:!0}),void 0!==e&&Object.keys(e).forEach(t=>{Object.defineProperty(v,t,{get:()=>e[t]})}),h&&v.preventDefault(),d&&element.dispatchEvent(v),v.defaultPrevented&&void 0!==c&&c.preventDefault(),v}},ke=new Map,Oe={set(element,t,e){ke.has(element)||ke.set(element,new Map);const n=ke.get(element);n.has(t)||0===n.size?n.set(t,e):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(n.keys())[0]}.`)},get:(element,t)=>ke.has(element)&&ke.get(element).get(t)||null,remove(element,t){if(!ke.has(element))return;const e=ke.get(element);e.delete(t),0===e.size&&ke.delete(element)}};class Ee{constructor(element){(element=Vt(element))&&(this._element=element,Oe.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Oe.remove(this._element,this.constructor.DATA_KEY),qe.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEac
2h(t=>{this[t]=null})}_queueCallback(t,element,e=!0){ae(t,element,e)}static getInstance(element){return Oe.get(Vt(element),this.DATA_KEY)}static getOrCreateInstance(element,t={}){return this.getInstance(element)||new this(element,"object"==typeof t?t:null)}static get VERSION(){return"5.1.3"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const Te=(component,t="hide")=>{const e=`click.dismiss${component.EVENT_KEY}`,n=component.NAME;qe.on(document,e,`[data-bs-dismiss="${n}"]`,function(e){if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),Qt(this))return;const r=Wt(this)||this.closest(`.${n}`);component.getOrCreateInstance(r)[t]()})},Ae=".bs.alert",Se=`close${Ae}`,Ce=`closed${Ae}`;class Pe extends Ee{static get NAME(){return"alert"}close(){if(qe.trigger(this._element,Se).defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),qe.trigger(this._element,Ce),this.dispose()}static jQueryInterface(t){return this.each(function(){const data=Pe.getOrCreateInstance(this);if("string"==typeof t){if(void 0===data[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);data[t](this)}})}}Te(Pe,"close"),oe(Pe);const Ne='[data-bs-toggle="button"]';class je extends Ee{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each(function(){const data=je.getOrCreateInstance(this);"toggle"===t&&data[t]()})}}function Re(t){return"true"===t||"false"!==t&&(t===Number(t).toString()?Number(t):""===t||"null"===t?null:t)}function Le(t){return t.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}qe.on(document,"click.bs.button.data-api",Ne,t=>{t.preventDefault();const button=t.target.closest(Ne);je.getOrCreateInstance(button).toggle()}),oe(je);const Ie={setDataAttribute(element,t,e){element.setAttribute(`data-bs-${Le(t)}`,e)},removeDataAttribute(element,t){element.removeAttribute(`data-bs-${Le(t)}`)},getDataAttributes(element){if(!element)return{};const t={};return Object.keys(element.dataset).filter(t=>t.startsWith("bs")).forEach(e=>{let n=e.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),t[n]=Re(element.dataset[e])}),t},getDataAttribute:(element,t)=>Re(element.getAttribute(`data-bs-${Le(t)}`)),offset(element){const rect=element.getBoundingClientRect();return{top:rect.top+window.pageYOffset,left:rect.left+window.pageXOffset}},position:element=>({top:element.offsetTop,left:element.offsetLeft})},Me={find:(t,element=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(element,t)),findOne:(t,element=document.documentElement)=>Element.prototype.querySelector.call(element,t),children:(element,t)=>[].concat(...element.children).filter(e=>e.matches(t)),parents(element,t){const e=[];let n=element.parentNode;for(;n&&n.nodeType===Node.ELEMENT_NODE&&3!==n.nodeType;)n.matches(t)&&e.push(n),n=n.parentNode;return e},prev(element,t){let e=element.previousElementSibling;for(;e;){if(e.matches(t))return[e];e=e.previousElementSibling}return[]},next(element,t){let e=element.nextElementSibling;for(;e;){if(e.matches(t))return[e];e=e.nextElementSibling}return[]},focusableChildren(element){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(", ");return this.find(t,element).filter(t=>!Qt(t)&&Zt(t))}},De="carousel",$e=".bs.carousel",Be=".data-api",Ue="ArrowLeft",Fe="ArrowRight",ze={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},He={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},We="next",Ye="prev",Ke="left",Ve="right",Ge={[Ue]:Ve,[Fe]:Ke},Ze=`slide${$e}`,Qe=`slid${$e}`,Xe=`keydown${$e}`,Je=`mouseenter${$e}`,tn=`mouseleave${$e}`,en=`touchstart${$e}`,nn=`touchmove${$e}`,rn=`touchend${$e}`,on=`pointerdown${$e}`,an=`pointerup${$e}`,ln=`dragstart${$e}`,sn=`load${$e}${Be}`,un=`click${$e}${Be}`,cn="active",fn=".active.carousel-item";
2class dn extends Ee{constructor(element,t){super(element),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._indicatorsElement=Me.findOne(".carousel-indicators",this._element),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return ze}static get NAME(){return De}next(){this._slide(We)}nextWhenVisible(){!document.hidden&&Zt(this._element)&&this.next()}prev(){this._slide(Ye)}pause(t){t||(this._isPaused=!0),Me.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(Yt(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(t){this._activeElement=Me.findOne(fn,this._element);const e=this._getItemIndex(this._activeElement);if(t>this._items.length-1||t<0)return;if(this._isSliding)return void qe.one(this._element,Qe,()=>this.to(t));if(e===t)return this.pause(),void this.cycle();const n=t>e?We:Ye;this._slide(n,this._items[t])}_getConfig(t){return t={...ze,...Ie.getDataAttributes(this._element),..."object"==typeof t?t:{}},Gt(De,t,He),t}_handleSwipe(){const t=Math.abs(this.touchDeltaX);if(t<=40)return;const e=t/this.touchDeltaX;this.touchDeltaX=0,e&&this._slide(e>0?Ve:Ke)}_addEventListeners(){this._config.keyboard&&qe.on(this._element,Xe,t=>this._keydown(t)),"hover"===this._config.pause&&(qe.on(this._element,Je,t=>this.pause(t)),qe.on(this._element,tn,t=>this.cycle(t))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const t=t=>this._pointerEvent&&("pen"===t.pointerType||"touch"===t.pointerType),e=e=>{t(e)?this.touchStartX=e.clientX:this._pointerEvent||(this.touchStartX=e.touches[0].clientX)},n=t=>{this.touchDeltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this.touchStartX},r=e=>{t(e)&&(this.touchDeltaX=e.clientX-this.touchStartX),this._handleSwipe(),"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(t=>this.cycle(t),500+this._config.interval))};Me.find(".carousel-item img",this._element).forEach(t=>{qe.on(t,ln,t=>t.preventDefault())}),this._pointerEvent?(qe.on(this._element,on,t=>e(t)),qe.on(this._element,an,t=>r(t)),this._element.classList.add("pointer-event")):(qe.on(this._element,en,t=>e(t)),qe.on(this._element,nn,t=>n(t)),qe.on(this._element,rn,t=>r(t)))}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=Ge[t.key];e&&(t.preventDefault(),this._slide(e))}_getItemIndex(element){return this._items=element&&element.parentNode?Me.find(".carousel-item",element.parentNode):[],this._items.indexOf(element)}_getItemByOrder(t,e){const n=t===We;return le(this._items,e,n,this._config.wrap)}_triggerSlideEvent(t,e){const n=this._getItemIndex(t),r=this._getItemIndex(Me.findOne(fn,this._element));return qe.trigger(this._element,Ze,{relatedTarget:t,direction:e,from:r,to:n})}_setActiveIndicatorElement(element){if(this._indicatorsElement){const t=Me.findOne(".active",this._indicatorsElement);t.classList.remove(cn),t.removeAttribute("aria-current");const e=Me.find("[data-bs-target]",this._indicatorsElement);for(let i=0;i<e.length;i++)if(Number.parseInt(e[i].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(element)){e[i].classList.add(cn),e[i].setAttribute("aria-current","true");break}}}_updateInterval(){const element=this._activeElement||Me.findOne(fn,this._element);if(!element)return;const t=Number.parseInt(element.getAttribute("data-bs-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}_slide(t,element){const e=this._directionToOrder(t),n=Me.findOne(fn,this._element),r=this._getItemIndex(n),o=element||this._getItemByOrder(e,n),l=this._getItemIndex(o),c=Boolean(this._interval),f=e===We,d=f?"carousel-item-start":"carousel-item-end",h=f?"carousel-item-next":"carousel-item-prev",v=this._orderToDirection(e);if(o&&o.classList.contains(cn))return void(this._isSliding=!1);if(this._isSliding)return;if(this._triggerSlideEvent(o,v).defaultPrevented)return;if(!n||!o)return;this._isSliding=!0,c&&this.pause(),this._setActiveIndicatorElement(o),this._activeElement=o;const m=()=>{qe.trigger(this._element,Qe,{relatedTarget:o,direction:v,from:r,to:l})};if(this._element.classList.contains("slide")){o.classList.add(h),te(o),n.classList.add(d),o.classList.add(d);const t=()=>{o.classList.remove(d,h),o.classList.add(cn),n.classList.remove(cn,h,d),this._isSliding=!1,setTimeout(m,0)};this._queueCallback(t,n,!0)}else n.classList.remove(cn),o.classList.add(cn),this._isSliding=!1,m();c&&this.cycle()}_directionToOrder(t){return[Ve,Ke].includes(t)?re()?t===Ke?Ye:We:t===Ke?We:Ye:t}_orderToDirection(t){return[We,Ye].includes(t)?re()?t===Ye?Ke:Ve:t===Ye?Ve:Ke:t}static carouselInterface(element,t){const data=dn.getOrCreateInstance(element,t);let{_config:e}=data;"object"==typeof t&&(e={...e,...t});const n="string"==typeof t?t:e.slide;if("number"==typeof t)data.to(t);else if("string"==typeof n){if(void 0===data[n])throw new TypeError(`No method n
2amed "${n}"`);data[n]()}else e.interval&&e.ride&&(data.pause(),data.cycle())}static jQueryInterface(t){return this.each(function(){dn.carouselInterface(this,t)})}static dataApiClickHandler(t){const e=Wt(this);if(!e||!e.classList.contains("carousel"))return;const n={...Ie.getDataAttributes(e),...Ie.getDataAttributes(this)},r=this.getAttribute("data-bs-slide-to");r&&(n.interval=!1),dn.carouselInterface(e,n),r&&dn.getInstance(e).to(r),t.preventDefault()}}qe.on(document,un,"[data-bs-slide], [data-bs-slide-to]",dn.dataApiClickHandler),qe.on(window,sn,()=>{const t=Me.find('[data-bs-ride="carousel"]');for(let i=0,e=t.length;i<e;i++)dn.carouselInterface(t[i],dn.getInstance(t[i]))}),oe(dn);const hn="collapse",pn="bs.collapse",gn=`.${pn}`,vn={toggle:!0,parent:null},mn={toggle:"boolean",parent:"(null|element)"},bn=`show${gn}`,yn=`shown${gn}`,_n=`hide${gn}`,wn=`hidden${gn}`,xn=`click${gn}.data-api`,qn="show",kn="collapse",On="collapsing",En="collapsed",Tn=`:scope .${kn} .${kn}`,An='[data-bs-toggle="collapse"]';class Sn extends Ee{constructor(element,t){super(element),this._isTransitioning=!1,this._config=this._getConfig(t),this._triggerArray=[];const e=Me.find(An);for(let i=0,t=e.length;i<t;i++){const t=e[i],n=Ht(t),r=Me.find(n).filter(t=>t===this._element);null!==n&&r.length&&(this._selector=n,this._triggerArray.push(t))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return vn}static get NAME(){return hn}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t,e=[];if(this._config.parent){const t=Me.find(Tn,this._config.parent);e=Me.find(".collapse.show, .collapse.collapsing",this._config.parent).filter(e=>!t.includes(e))}const n=Me.findOne(this._selector);if(e.length){const r=e.find(t=>n!==t);if(t=r?Sn.getInstance(r):null,t&&t._isTransitioning)return}if(qe.trigger(this._element,bn).defaultPrevented)return;e.forEach(e=>{n!==e&&Sn.getOrCreateInstance(e,{toggle:!1}).hide(),t||Oe.set(e,pn,null)});const r=this._getDimension();this._element.classList.remove(kn),this._element.classList.add(On),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(On),this._element.classList.add(kn,qn),this._element.style[r]="",qe.trigger(this._element,yn)},this._element,!0),this._element.style[r]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(qe.trigger(this._element,_n).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,te(this._element),this._element.classList.add(On),this._element.classList.remove(kn,qn);const e=this._triggerArray.length;for(let i=0;i<e;i++){const t=this._triggerArray[i],e=Wt(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0;this._element.style[t]="",this._queueCallback(()=>{this._isTransitioning=!1,this._element.classList.remove(On),this._element.classList.add(kn),qe.trigger(this._element,wn)},this._element,!0)}_isShown(element=this._element){return element.classList.contains(qn)}_getConfig(t){return(t={...vn,...Ie.getDataAttributes(this._element),...t}).toggle=Boolean(t.toggle),t.parent=Vt(t.parent),Gt(hn,t,mn),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=Me.find(Tn,this._config.parent);Me.find(An,this._config.parent).filter(e=>!t.includes(e)).forEach(element=>{const t=Wt(element);t&&this._addAriaAndCollapsedClass([element],this._isShown(t))})}_addAriaAndCollapsedClass(t,e){t.length&&t.forEach(t=>{e?t.classList.remove(En):t.classList.add(En),t.setAttribute("aria-expanded",e)})}static jQueryInterface(t){return this.each(function(){const e={};"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1);const data=Sn.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===data[t])throw new TypeError(`No method n
2amed "${t}"`);data[t]()}})}}qe.on(document,xn,An,function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();const e=Ht(this);Me.find(e).forEach(element=>{Sn.getOrCreateInstance(element,{toggle:!1}).toggle()})}),oe(Sn);const Cn="dropdown",Pn=".bs.dropdown",Nn=".data-api",jn="Escape",Rn="Space",Ln="ArrowUp",In="ArrowDown",Mn=new RegExp(`${Ln}|${In}|${jn}`),Dn=`hide${Pn}`,$n=`hidden${Pn}`,Bn=`show${Pn}`,Un=`shown${Pn}`,Fn=`click${Pn}${Nn}`,zn=`keydown${Pn}${Nn}`,Hn=`keyup${Pn}${Nn}`,Wn="show",Yn='[data-bs-toggle="dropdown"]',Kn=".dropdown-menu",Vn=re()?"top-end":"top-start",Gn=re()?"top-start":"top-end",Zn=re()?"bottom-end":"bottom-start",Qn=re()?"bottom-start":"bottom-end",Xn=re()?"left-start":"right-start",Jn=re()?"right-start":"left-start",er={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},nr={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"};class rr extends Ee{constructor(element,t){super(element),this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return er}static get DefaultType(){return nr}static get NAME(){return Cn}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Qt(this._element)||this._isShown(this._menu))return;const t={relatedTarget:this._element};if(qe.trigger(this._element,Bn,t).defaultPrevented)return;const e=rr.getParentFromElement(this._element);this._inNavbar?Ie.setDataAttribute(this._menu,"popper","none"):this._createPopper(e),"ontouchstart"in document.documentElement&&!e.closest(".navbar-nav")&&[].concat(...document.body.children).forEach(t=>qe.on(t,"mouseover",Jt)),this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Wn),this._element.classList.add(Wn),qe.trigger(this._element,Un,t)}hide(){if(Qt(this._element)||!this._isShown(this._menu))return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){qe.trigger(this._element,Dn,t).defaultPrevented||("ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(t=>qe.off(t,"mouseover",Jt)),this._popper&&this._popper.destroy(),this._menu.classList.remove(Wn),this._element.classList.remove(Wn),this._element.setAttribute("aria-expanded","false"),Ie.removeDataAttribute(this._menu,"popper"),qe.trigger(this._element,$n,t))}_getConfig(t){if(t={...this.constructor.Default,...Ie.getDataAttributes(this._element),...t},Gt(Cn,t,this.constructor.DefaultType),"object"==typeof t.reference&&!Kt(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${Cn.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(t){let e=this._element;"parent"===this._config.reference?e=t:Kt(this._config.reference)?e=Vt(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const n=this._getPopperConfig(),r=n.modifiers.find(t=>"applyStyles"===t.name&&!1===t.enabled);this._popper=Bt(e,this._menu,n),r&&Ie.setDataAttribute(this._menu,"popper","static")}_isShown(element=this._element){return element.classList.contains(Wn)}_getMenuElement(){return Me.next(this._element,Kn)[0]}_getPlacement(){const t=this._element.parentNode;if(t.classList.contains("dropend"))return Xn;if(t.classList.contains("dropstart"))return Jn;const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?Gn:Vn:e?Qn:Zn}
2_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_selectMenuItem({key:t,target:e}){const n=Me.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(Zt);n.length&&le(n,e,t===In,!n.includes(e)).focus()}static jQueryInterface(t){return this.each(function(){const data=rr.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===data[t])throw new TypeError(`No method named "${t}"`);data[t]()}})}static clearMenus(t){if(t&&(2===t.button||"keyup"===t.type&&"Tab"!==t.key))return;const e=Me.find(Yn);for(let i=0,n=e.length;i<n;i++){const n=rr.getInstance(e[i]);if(!n||!1===n._config.autoClose)continue;if(!n._isShown())continue;const r={relatedTarget:n._element};if(t){const e=t.composedPath(),o=e.includes(n._menu);if(e.includes(n._element)||"inside"===n._config.autoClose&&!o||"outside"===n._config.autoClose&&o)continue;if(n._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;"click"===t.type&&(r.clickEvent=t)}n._completeHide(r)}}static getParentFromElement(element){return Wt(element)||element.parentNode}static dataApiKeydownHandler(t){if(/input|textarea/i.test(t.target.tagName)?t.key===Rn||t.key!==jn&&(t.key!==In&&t.key!==Ln||t.target.closest(Kn)):!Mn.test(t.key))return;const e=this.classList.contains(Wn);if(!e&&t.key===jn)return;if(t.preventDefault(),t.stopPropagation(),Qt(this))return;const n=this.matches(Yn)?this:Me.prev(this,Yn)[0],r=rr.getOrCreateInstance(n);if(t.key!==jn)return t.key===Ln||t.key===In?(e||r.show(),void r._selectMenuItem(t)):void(e&&t.key!==Rn||rr.clearMenus());r.hide()}}qe.on(document,zn,Yn,rr.dataApiKeydownHandler),qe.on(document,zn,Kn,rr.dataApiKeydownHandler),qe.on(document,Fn,rr.clearMenus),qe.on(document,Hn,rr.clearMenus),qe.on(document,Fn,Yn,function(t){t.preventDefault(),rr.getOrCreateInstance(this).toggle()}),oe(rr);const or=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ir=".sticky-top";class ar{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",e=>e+t),this._setElementAttributes(or,"paddingRight",e=>e+t),this._setElementAttributes(ir,"marginRight",e=>e-t)}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,n){const r=this.getWidth();this._applyManipulationCallback(t,element=>{if(element!==this._element&&window.innerWidth>element.clientWidth+r)return;this._saveInitialAttribute(element,e);const t=window.getComputedStyle(element)[e];element.style[e]=`${n(Number.parseFloat(t))}px`})}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(or,"paddingRight"),this._resetElementAttributes(ir,"marginRight")}_saveInitialAttribute(element,t){const e=element.style[t];e&&Ie.setDataAttribute(element,t,e)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,element=>{const t=Ie.getDataAttribute(element,e);void 0===t?element.style.removeProperty(e):(Ie.removeDataAttribute(element,e),element.style[e]=t)})}_applyManipulationCallback(t,e){Kt(t)?e(t):Me.find(t,this._element).forEach(e)}isOverflowing(){return this.getWidth()>0}}const lr={className:"modal-backdrop",isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},sr={className:"string",isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},ur="backdrop",cr="show",fr=`mousedown.bs.${ur}`;class dr{constructor(t){this._config=this._getConfig(t),this._isAppended=!1,this._element=null}show(t){this._config.isVisible?(this._append(),this._config.isAnimated&&te(this._getElement()),this._getElement().classList.add(cr),this._emulateAnimation(()=>{ie(t)})):ie(t)}hide(t){this._config.isVisible?(this._getElement().classList.remove(cr),this._emulateAnimation(()=>{this.dispose(),ie(t)})):ie(t)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_getConfig(t){return(t={...lr,..."object"==typeof t?t:{}}).rootElement=Vt(t.rootElement),Gt(ur,t,sr),t}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),qe.on(this._getElement(),fr,()=>{ie(this._config.clickCallback)}),this._isAppended=!0)}dispose(){this._isAppended&&(qe.off(this._element,fr),this._element.remove(),this._isAppended=!1)}_emulateAnimation(t){ae(t,this._getElement(),this._config.isAnimated)}}const pr={trapElement:null,autofocus:!0},gr={trapElement:"element",autofocus:"boolean"}
2,vr=".bs.focustrap",mr=`focusin${vr}`,yr=`keydown.tab${vr}`,_r="backward";class wr{constructor(t){this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:t,autofocus:e}=this._config;this._isActive||(e&&t.focus(),qe.off(document,vr),qe.on(document,mr,t=>this._handleFocusin(t)),qe.on(document,yr,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,qe.off(document,vr))}_handleFocusin(t){const{target:e}=t,{trapElement:n}=this._config;if(e===document||e===n||n.contains(e))return;const r=Me.focusableChildren(n);0===r.length?n.focus():this._lastTabNavDirection===_r?r[r.length-1].focus():r[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?_r:"forward")}_getConfig(t){return t={...pr,..."object"==typeof t?t:{}},Gt("focustrap",t,gr),t}}const xr="modal",qr=".bs.modal",kr="Escape",Or={backdrop:!0,keyboard:!0,focus:!0},Er={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},Tr=`hide${qr}`,Ar=`hidePrevented${qr}`,Sr=`hidden${qr}`,Cr=`show${qr}`,Pr=`shown${qr}`,Nr=`resize${qr}`,jr=`click.dismiss${qr}`,Rr=`keydown.dismiss${qr}`,Lr=`mouseup.dismiss${qr}`,Ir=`mousedown.dismiss${qr}`,Mr=`click${qr}.data-api`,Dr="modal-open",$r="show",Br="modal-static";class Ur extends Ee{constructor(element,t){super(element),this._config=this._getConfig(t),this._dialog=Me.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new ar}static get Default(){return Or}static get NAME(){return xr}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||this._isTransitioning)return;qe.trigger(this._element,Cr,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(Dr),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),qe.on(this._dialog,Ir,()=>{qe.one(this._element,Lr,t=>{t.target===this._element&&(this._ignoreBackdropClick=!0)})}),this._showBackdrop(()=>this._showElement(t)))}hide(){if(!this._isShown||this._isTransitioning)return;if(qe.trigger(this._element,Tr).defaultPrevented)return;this._isShown=!1;const t=this._isAnimated();t&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove($r),qe.off(this._element,jr),qe.off(this._dialog,Ir),this._queueCallback(()=>this._hideModal(),this._element,t)}dispose(){[window,this._dialog].forEach(t=>qe.off(t,qr)),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new dr({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new wr({trapElement:this._element})}_getConfig(t){return t={...Or,...Ie.getDataAttributes(this._element),..."object"==typeof t?t:{}},Gt(xr,t,Er),t}_showElement(t){const e=this._isAnimated(),n=Me.findOne(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,n&&(n.scrollTop=0),e&&te(this._element),this._element.classList.add($r);this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,qe.trigger(this._element,Pr,{relatedTarget:t})},this._dialog,e)}_setEscapeEvent(){this._isShown?qe.on(this._element,Rr,t=>{this._config.keyboard&&t.key===kr?(t.preventDefault(),this.hide()):this._config.keyboard||t.key!==kr||this._triggerBackdropTransition()}):qe.off(this._element,Rr)}_setResizeEvent(){this._isShown?qe.on(window,Nr,()=>this._adjustDialog()):qe.off(window,Nr)}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Dr),this._resetAdjustments(),this._scrollBar.reset(),qe.trigger(this._element,Sr)})}_showBackdrop(t){qe.on(this._element,jr,t=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:t.target===t.currentTarget&&(!0===this._config.backdrop?this.hide():"static"===this._config.backdrop&&this._triggerBackdropTransition())}),this._backdrop.show(t)}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(qe.trigger(this._element,Ar).defaultPrevented)return;const{classList:t,scrollHeight:e,style:style}=this._element,n=e>document.documentElement.clientHeight;!n&&"hidden"===style.overflowY||t.contains(Br)||(n||(style.overflowY="hidden"),t.add(Br),this._queueCallback(()=>{t.remove(Br),n||this._queueCallback(()=>{style.overflowY=""},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),n=e>0;(!n&&t&&!re()||n&&!t&&re())&&(this._element.style.paddingLeft=`${e}px`),(n&&!t&&!re()||!n&&t&&re())&&(this._element.style.paddingRight=`${e}px`)}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each(function(){const data=Ur.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===data[t])throw new TypeError(`No method n
2amed "${t}"`);data[t](e)}})}}qe.on(document,Mr,'[data-bs-toggle="modal"]',function(t){const e=Wt(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),qe.one(e,Cr,t=>{t.defaultPrevented||qe.one(e,Sr,()=>{Zt(this)&&this.focus()})});const n=Me.findOne(".modal.show");n&&Ur.getInstance(n).hide();Ur.getOrCreateInstance(e).toggle(this)}),Te(Ur),oe(Ur);const Fr="offcanvas",zr=".bs.offcanvas",Hr=".data-api",Wr=`load${zr}${Hr}`,Yr={backdrop:!0,keyboard:!0,scroll:!1},Kr={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},Vr="show",Gr=".offcanvas.show",Zr=`show${zr}`,Qr=`shown${zr}`,Xr=`hide${zr}`,Jr=`hidden${zr}`,to=`click${zr}${Hr}`,eo=`keydown.dismiss${zr}`;class no extends Ee{constructor(element,t){super(element),this._config=this._getConfig(t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return Fr}static get Default(){return Yr}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown)return;if(qe.trigger(this._element,Zr,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||(new ar).hide(),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Vr);this._queueCallback(()=>{this._config.scroll||this._focustrap.activate(),qe.trigger(this._element,Qr,{relatedTarget:t})},this._element,!0)}hide(){if(!this._isShown)return;if(qe.trigger(this._element,Xr).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove(Vr),this._backdrop.hide();this._queueCallback(()=>{this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._element.style.visibility="hidden",this._config.scroll||(new ar).reset(),qe.trigger(this._element,Jr)},this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(t){return t={...Yr,...Ie.getDataAttributes(this._element),..."object"==typeof t?t:{}},Gt(Fr,t,Kr),t}_initializeBackDrop(){return new dr({className:"offcanvas-backdrop",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new wr({trapElement:this._element})}_addEventListeners(){qe.on(this._element,eo,t=>{this._config.keyboard&&"Escape"===t.key&&this.hide()})}static jQueryInterface(t){return this.each(function(){const data=no.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===data[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);data[t](this)}})}}qe.on(document,to,'[data-bs-toggle="offcanvas"]',function(t){const e=Wt(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),Qt(this))return;qe.one(e,Jr,()=>{Zt(this)&&this.focus()});const n=Me.findOne(Gr);n&&n!==e&&no.getInstance(n).hide();no.getOrCreateInstance(e).toggle(this)}),qe.on(window,Wr,()=>Me.find(Gr).forEach(t=>no.getOrCreateInstance(t).show())),Te(no),oe(no);const ro=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),oo=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,io=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,ao=(t,e)=>{const n=t.nodeName.toLowerCase();if(e.includes(n))return!ro.has(n)||Boolean(oo.test(t.nodeValue)||io.test(t.nodeValue));const r=e.filter(t=>t instanceof RegExp);for(let i=0,t=r.length;i<t;i++)if(r[i].test(n))return!0;return!1},lo={"*":["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:[]};function so(t,e,n){if(!t.length)return t;if(n&&"function"==typeof n)return n(t);const r=(new window.DOMParser).parseFromString(t,"text/html"),o=[].concat(...r.body.querySelectorAll("*"));for(let i=0,t=o.length;i<t;i++){const element=o[i],t=element.nodeName.toLowerCase();if(!Object.keys(e).includes(t)){element.remove();continue}
2const n=[].concat(...element.attributes),r=[].concat(e["*"]||[],e[t]||[]);n.forEach(t=>{ao(t,r)||element.removeAttribute(t.nodeName)})}return r.body.innerHTML}const uo="tooltip",co=".bs.tooltip",fo=new Set(["sanitize","allowList","sanitizeFn"]),ho={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},po={AUTO:"auto",TOP:"top",RIGHT:re()?"left":"right",BOTTOM:"bottom",LEFT:re()?"right":"left"},go={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:lo,popperConfig:null},vo={HIDE:`hide${co}`,HIDDEN:`hidden${co}`,SHOW:`show${co}`,SHOWN:`shown${co}`,INSERTED:`inserted${co}`,CLICK:`click${co}`,FOCUSIN:`focusin${co}`,FOCUSOUT:`focusout${co}`,MOUSEENTER:`mouseenter${co}`,MOUSELEAVE:`mouseleave${co}`},mo="fade",bo="show",yo="show",_o="out",wo=".tooltip-inner",xo=".modal",qo="hide.bs.modal",ko="hover",Oo="focus";class Eo extends Ee{constructor(element,t){super(element),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this._config=this._getConfig(t),this.tip=null,this._setListeners()}static get Default(){return go}static get NAME(){return uo}static get Event(){return vo}static get DefaultType(){return ho}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(t){if(this._isEnabled)if(t){const e=this._initializeOnDelegatedTarget(t);e._activeTrigger.click=!e._activeTrigger.click,e._isWithActiveTrigger()?e._enter(null,e):e._leave(null,e)}else{if(this.getTipElement().classList.contains(bo))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),qe.off(this._element.closest(xo),qo,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this.isWithContent()||!this._isEnabled)return;const t=qe.trigger(this._element,this.constructor.Event.SHOW),e=Xt(this._element),n=null===e?this._element.ownerDocument.documentElement.contains(this._element):e.contains(this._element);if(t.defaultPrevented||!n)return;"tooltip"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(wo).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const r=this.getTipElement(),o=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME);r.setAttribute("id",o),this._element.setAttribute("aria-describedby",o),this._config.animation&&r.classList.add(mo);const l="function"==typeof this._config.placement?this._config.placement.call(this,r,this._element):this._config.placement,c=this._getAttachment(l);this._addAttachmentClass(c);const{container:f}=this._config;Oe.set(r,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(f.append(r),qe.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=Bt(this._element,r,this._getPopperConfig(c)),r.classList.add(bo);const d=this._resolvePossibleFunction(this._config.customClass);d&&r.classList.add(...d.split(" ")),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(element=>{qe.on(element,"mouseover",Jt)});const h=this.tip.classList.contains(mo);this._queueCallback(()=>{const t=this._hoverState;this._hoverState=null,qe.trigger(this._element,this.constructor.Event.SHOWN),t===_o&&this._leave(null,this)},this.tip,h)}
vendor: 5,689 bytes, line 2
2hide(){if(!this._popper)return;const t=this.getTipElement();if(qe.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;t.classList.remove(bo),"ontouchstart"in document.documentElement&&[].concat(...document.body.children).forEach(element=>qe.off(element,"mouseover",Jt)),this._activeTrigger.click=!1,this._activeTrigger[Oo]=!1,this._activeTrigger[ko]=!1;const e=this.tip.classList.contains(mo);this._queueCallback(()=>{this._isWithActiveTrigger()||(this._hoverState!==yo&&t.remove(),this._cleanTipClass(),this._element.removeAttribute("aria-describedby"),qe.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())},this.tip,e),this._hoverState=""}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const element=document.createElement("div");element.innerHTML=this._config.template;const t=element.children[0];return this.setContent(t),t.classList.remove(mo,bo),this.tip=t,this.tip}setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),wo)}_sanitizeAndSetContent(template,content,t){const e=Me.findOne(t,template);content||!e?this.setElementContent(e,content):e.remove()}setElementContent(element,content){if(null!==element)return Kt(content)?(content=Vt(content),void(this._config.html?content.parentNode!==element&&(element.innerHTML="",element.append(content)):element.textContent=content.textContent)):void(this._config.html?(this._config.sanitize&&(content=so(content,this._config.allowList,this._config.sanitizeFn)),element.innerHTML=content):element.textContent=content)}getTitle(){const title=this._element.getAttribute("data-bs-original-title")||this._config.title;return this._resolvePossibleFunction(title)}updateAttachment(t){return"right"===t?"end":"left"===t?"start":t}_initializeOnDelegatedTarget(t,e){return e||this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map(t=>Number.parseInt(t,10)):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(content){return"function"==typeof content?content.call(this._element):content}_getPopperConfig(t){const e={placement:t,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:data=>this._handlePopperPlacementChange(data)}],onFirstUpdate:data=>{data.options.placement!==data.placement&&this._handlePopperPlacementChange(data)}};return{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_addAttachmentClass(t){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(t)}`)}_getAttachment(t){return po[t.toUpperCase()]}_setListeners(){this._config.trigger.split(" ").forEach(t=>{if("click"===t)qe.on(this._element,this.constructor.Event.CLICK,this._config.selector,t=>this.toggle(t));else if("manual"!==t){const e=t===ko?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,n=t===ko?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;qe.on(this._element,e,this._config.selector,t=>this._enter(t)),qe.on(this._element,n,this._config.selector,t=>this._leave(t))}}),this._hideModalHandler=()=>{this._element&&this.hide()},qe.on(this._element.closest(xo),qo,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){const title=this._element.getAttribute("title"),t=typeof this._element.getAttribute("data-bs-original-title");(title||"string"!==t)&&(this._element.setAttribute("data-bs-original-title",title||""),!title||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",title),this._element.setAttribute("title",""))}_enter(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusin"===t.type?Oo:ko]=!0),e.getTipElement().classList.contains(bo)||e._hoverState===yo?e._hoverState=yo:(clearTimeout(e._timeout),e._hoverState=yo,e._config.delay&&e._config.delay.show?e._timeout=setTimeout(()=>{e._hoverState===yo&&e.show()},e._config.delay.show):e.show())}_leave(t,e){e=this._initializeOnDelegatedTarget(t,e),t&&(e._activeTrigger["focusout"===t.type?Oo:ko]=e._element.contains(t.relatedTarget)),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=_o,e._config.delay&&e._config.delay.hide?e._timeout=setTimeout(()=>{e._hoverState===_o&&e.hide()},e._config.delay.hide):e.hide())}_isWithActiveTrigger(){for(const t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1}_getConfig(t){const e=Ie.getDataAttributes(this._element);return Object.keys(e).forEach(t=>{fo.has(t)&&delete e[t]}),(t={...this.constructor.Default,...e,..."object"==typeof t&&t?t:{}}).container=!1===t.container?document.body:Vt(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),Gt(uo,t,this.constructor.DefaultType),t.sanitize&&(t.template=so(t.template,t.allowList,t.sanitizeFn)),t}_getDelegateConfig(){const t={};for(const e in this._config)this.constructor.Default[e]!==this._config[e]&&(t[e]=this._config[e]);return t}_cleanTipClass(){const t=this.getTipElement(),e=new RegExp(`(^|\\s)${this._getBasicClassPrefix()}\\S+`,"g"),n=t.getAttribute("class").match(e);null!==n&&n.length>0&&n.map(t=>
2t.trim()).forEach(e=>t.classList.remove(e))}_getBasicClassPrefix(){return"bs-tooltip"}_handlePopperPlacementChange(t){const{state:e}=t;e&&(this.tip=e.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(e.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(t){return this.each(function(){const data=Eo.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===data[t])throw new TypeError(`No method named "${t}"`);data[t]()}})}}oe(Eo);const To=".bs.popover",Ao={...Eo.Default,placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'},So={...Eo.DefaultType,content:"(string|element|function)"},Co={HIDE:`hide${To}`,HIDDEN:`hidden${To}`,SHOW:`show${To}`,SHOWN:`shown${To}`,INSERTED:`inserted${To}`,CLICK:`click${To}`,FOCUSIN:`focusin${To}`,FOCUSOUT:`focusout${To}`,MOUSEENTER:`mouseenter${To}`,MOUSELEAVE:`mouseleave${To}`};class Po extends Eo{static get Default(){return Ao}static get NAME(){return"popover"}static get Event(){return Co}static get DefaultType(){return So}isWithContent(){return this.getTitle()||this._getContent()}setContent(t){this._sanitizeAndSetContent(t,this.getTitle(),".popover-header"),this._sanitizeAndSetContent(t,this._getContent(),".popover-body")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return"bs-popover"}static jQueryInterface(t){return this.each(function(){const data=Po.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===data[t])throw new TypeError(`No method named "${t}"`);data[t]()}})}}oe(Po);const No="scrollspy",jo=".bs.scrollspy",Ro={offset:10,method:"auto",target:""},Lo={offset:"number",method:"string",target:"(string|element)"},Io=`activate${jo}`,Mo=`scroll${jo}`,Do=`load${jo}.data-api`,$o="dropdown-item",Bo="active",Uo=".nav-link",Fo=".list-group-item",zo=`${Uo}, ${Fo}, .${$o}`,Ho="position";class Wo extends Ee{constructor(element,t){super(element),this._scrollElement="BODY"===this._element.tagName?window:this._element,this._config=this._getConfig(t),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,qe.on(this._scrollElement,Mo,()=>this._process()),this.refresh(),this._process()}static get Default(){return Ro}static get NAME(){return No}refresh(){const t=this._scrollElement===this._scrollElement.window?"offset":Ho,e="auto"===this._config.method?t:this._config.method,n=e===Ho?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight();Me.find(zo,this._config.target).map(element=>{const t=Ht(element),r=t?Me.findOne(t):null;if(r){const o=r.getBoundingClientRect();if(o.width||o.height)return[Ie[e](r).top+n,t]}return null}).filter(t=>t).sort((a,b)=>a[0]-b[0]).forEach(t=>{this._offsets.push(t[0]),this._targets.push(t[1])})}dispose(){qe.off(this._scrollElement,jo),super.dispose()}_getConfig(t){return(t={...Ro,...Ie.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}}).target=Vt(t.target)||document.documentElement,Gt(No,t,Lo),t}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){const t=this._targets[this._targets.length-1];return void(this._activeTarget!==t&&this._activate(t))}if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(let i=this._offsets.length;i--;){this._activeTarget!==this._targets[i]&&t>=this._offsets[i]&&(void 0===this._offsets[i+1]||t<this._offsets[i+1])&&this._activate(this._targets[i])}}_activate(t){this._activeTarget=t,this._clear();const e=zo.split(",").map(e=>`${e}[data-bs-target="${t}"],${e}[href="${t}"]`),link=Me.findOne(e.join(","),this._config.target);link.classList.add(Bo),link.classList.contains($o)?Me.findOne(".dropdown-toggle",link.closest(".dropdown")).classList.add(Bo):Me.parents(link,".nav, .list-group").forEach(t=>{Me.prev(t,`${Uo}, ${Fo}`).forEach(t=>t.classList.add(Bo)),Me.prev(t,".nav-item").forEach(t=>
2{Me.children(t,Uo).forEach(t=>t.classList.add(Bo))})}),qe.trigger(this._scrollElement,Io,{relatedTarget:t})}_clear(){Me.find(zo,this._config.target).filter(t=>t.classList.contains(Bo)).forEach(t=>t.classList.remove(Bo))}static jQueryInterface(t){return this.each(function(){const data=Wo.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===data[t])throw new TypeError(`No method named "${t}"`);data[t]()}})}}qe.on(window,Do,()=>{Me.find('[data-bs-spy="scroll"]').forEach(t=>new Wo(t))}),oe(Wo);const Yo=".bs.tab",Ko=`hide${Yo}`,Vo=`hidden${Yo}`,Go=`show${Yo}`,Zo=`shown${Yo}`,Qo=`click${Yo}.data-api`,Xo="active",Jo="fade",ti="show",ei=".active",ni=":scope > li > .active";class ri extends Ee{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(Xo))return;let t;const e=Wt(this._element),n=this._element.closest(".nav, .list-group");if(n){const e="UL"===n.nodeName||"OL"===n.nodeName?ni:ei;t=Me.find(e,n),t=t[t.length-1]}const r=t?qe.trigger(t,Ko,{relatedTarget:this._element}):null;if(qe.trigger(this._element,Go,{relatedTarget:t}).defaultPrevented||null!==r&&r.defaultPrevented)return;this._activate(this._element,n);const o=()=>{qe.trigger(t,Vo,{relatedTarget:this._element}),qe.trigger(this._element,Zo,{relatedTarget:t})};e?this._activate(e,e.parentNode,o):o()}_activate(element,t,e){const n=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?Me.children(t,ei):Me.find(ni,t))[0],r=e&&n&&n.classList.contains(Jo),o=()=>this._transitionComplete(element,n,e);n&&r?(n.classList.remove(ti),this._queueCallback(o,element,!0)):o()}_transitionComplete(element,t,e){if(t){t.classList.remove(Xo);const e=Me.findOne(":scope > .dropdown-menu .active",t.parentNode);e&&e.classList.remove(Xo),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}element.classList.add(Xo),"tab"===element.getAttribute("role")&&element.setAttribute("aria-selected",!0),te(element),element.classList.contains(Jo)&&element.classList.add(ti);let n=element.parentNode;if(n&&"LI"===n.nodeName&&(n=n.parentNode),n&&n.classList.contains("dropdown-menu")){const t=element.closest(".dropdown");t&&Me.find(".dropdown-toggle",t).forEach(t=>t.classList.add(Xo)),element.setAttribute("aria-expanded",!0)}e&&e()}static jQueryInterface(t){return this.each(function(){const data=ri.getOrCreateInstance(this);if("string"==typeof t){if(void 0===data[t])throw new TypeError(`No method named "${t}"`);data[t]()}})}}qe.on(document,Qo,'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',function(t){if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),Qt(this))return;ri.getOrCreateInstance(this).show()}),oe(ri);const oi="toast",ii=".bs.toast",ai=`mouseover${ii}`,si=`mouseout${ii}`,ui=`focusin${ii}`,ci=`focusout${ii}`,fi=`hide${ii}`,di=`hidden${ii}`,hi=`show${ii}`,pi=`shown${ii}`,gi="hide",vi="show",mi="showing",bi={animation:"boolean",autohide:"boolean",delay:"number"},yi={animation:!0,autohide:!0,delay:5e3};class _i extends Ee{constructor(element,t){super(element),this._config=this._getConfig(t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return bi}static get Default(){return yi}static get NAME(){return oi}show(){if(qe.trigger(this._element,hi).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(gi),te(this._element),this._element.classList.add(vi),this._element.classList.add(mi),this._queueCallback(()=>{this._element.classList.remove(mi),qe.trigger(this._element,pi),this._maybeScheduleHide()},this._element,this._config.animation)}hide(){if(!this._element.classList.contains(vi))return;if(qe.trigger(this._element,fi).defaultPrevented)return;this._element.classList.add(mi),this._queueCallback(()=>{this._element.classList.add(gi),this._element.classList.remove(mi),this._element.classList.remove(vi),qe.trigger(this._element,di)},this._element,this._config.animation)}dispose(){this._clearTimeout(),this._element.classList.contains(vi)&&this._element.classList.remove(vi),super.dispose()}_getConfig(t){return t={...yi,...Ie.getDataAttributes(this._element),..."object"==typeof t&&t?t:{}},Gt(oi,t,this.constructor.DefaultType),t}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const n=t.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){qe.on(this._element,ai,t=>this._onInteraction(t,!0)),qe.on(this._element,si,t=>this._onInteraction(t,!1)),qe.on(this._element,ui,t=>this._onInteraction(t,!0)),qe.on(this._element,ci,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const data=_i.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===data[t])throw new TypeError(`No method n
2amed "${t}"`);data[t](this)}})}}Te(_i),oe(_i)},38:function(t,e,n){"use strict";n.d(e,"a",function(){return vt}),n.d(e,"b",function(){return ft}),n.d(e,"c",function(){return P});var r=n(1),o=function(){return o=Object.assign||function(t){for(var s,i=1,e=arguments.length;i<e;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p]);return t},o.apply(this,arguments)};function l(t,e,n,r){return new(n||(n=Promise))(function(o,l){function c(t){try{d(r.next(t))}catch(t){l(t)}}function f(t){try{d(r.throw(t))}catch(t){l(t)}}function d(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(c,f)}d((r=r.apply(t,e||[])).next())})}function c(t,body){var e,n,r,g,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return g={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function l(l){return function(c){return function(l){if(e)throw new TypeError("Generator is already executing.");for(;o;)try{if(e=1,n&&(r=2&l[0]?n.return:l[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,l[1])).done)return r;switch(n=0,r&&(l=[2&l[0],r.value]),l[0]){case 0:case 1:r=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,n=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==l[0]&&2!==l[0])){o=0;continue}if(3===l[0]&&(!r||l[1]>r[0]&&l[1]<r[3])){o.label=l[1];break}if(6===l[0]&&o.label<r[1]){o.label=r[1],r=l;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(l);break}r[2]&&o.ops.pop(),o.trys.pop();continue}l=body.call(t,o)}catch(t){l=[6,t],n=0}
2finally{e=r=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,c])}}}function f(){for(var s=0,i=0,t=arguments.length;i<t;i++)s+=arguments[i].length;var e=Array(s),n=0;for(i=0;i<t;i++)for(var a=arguments[i],r=0,o=a.length;r<o;r++,n++)e[n]=a[r];return e}function d(t){return t!=t}function h(t){return null==t}var v=function(t){return null!==t&&t&&"object"==typeof t&&!Array.isArray(t)};function m(t){return""!==t&&!h(t)}function y(t){return"function"==typeof t}function _(t){return y(t)&&!!t.__locatorRef}function w(t,e){var n=Array.isArray(t)?t:k(t);if(y(n.findIndex))return n.findIndex(e);for(var i=0;i<n.length;i++)if(e(n[i],i))return i;return-1}function x(t,e){return-1!==t.indexOf(e)}function k(t){return y(Array.from)?Array.from(t):function(t){for(var e=[],n=t.length,i=0;i<n;i++)e.push(t[i]);return e}(t)}function O(t){return y(Object.values)?Object.values(t):Object.keys(t).map(function(e){return t[e]})}function E(t,source){return Object.keys(source).forEach(function(e){if(v(source[e]))return t[e]||(t[e]={}),void E(t[e],source[e]);t[e]=source[e]}),t}function T(t,e,n){return void 0===e&&(e=0),void 0===n&&(n={cancelled:!1}),0===e?t:function(){for(var o=[],l=0;l<arguments.length;l++)o[l]=arguments[l];clearTimeout(r),r=setTimeout(function(){r=void 0,n.cancelled||t.apply(void 0,o)},e)};var r}function A(template,t){return template.replace(/{([^}]+)}/g,function(e,p){return p in t?t[p]:"{"+p+"}"})}var S={};var C=function(){function t(){}return t.extend=function(t,e){var n=function(t){var e;return(null===(e=t.params)||void 0===e?void 0:e.length)&&(t.params=t.params.map(function(param){return"string"==typeof param?{name:param}:param})),t}(e);S[t]?S[t]=E(S[t],e):S[t]=o({lazy:!1,computesRequired:!1},n)},t.isLazy=function(t){var e;return!!(null===(e=S[t])||void 0===e?void 0:e.lazy)},t.isRequireRule=function(t){var e;return!!(null===(e=S[t])||void 0===e?void 0:e.computesRequired)},t.getRuleDefinition=function(t){return S[t]},t}();function P(t,e){!function(t,e){if(y(e))return;if(y(e.validate))return;if(C.getRuleDefinition(t))return;throw new Error("Extension Error: The validator '"+t+"' must be a function or have a 'validate' method.")}(t,e),"object"!=typeof e?C.extend(t,{validate:e}):C.extend(t,e)}var N=o({},{defaultMessage:"{_field_} is not valid.",skipOptional:!0,classes:{touched:"touched",untouched:"untouched",valid:"valid",invalid:"invalid",pristine:"pristine",dirty:"dirty"},bails:!0,mode:"aggressive",useConstraintAttrs:!0}),j=function(){return N};function R(t){var e,n={};return Object.defineProperty(n,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),t?v(t)&&t._$$isNormalized?t:v(t)?Object.keys(t).reduce(function(e,n){var r=[];return r=!0===t[n]?[]:Array.isArray(t[n])||v(t[n])?t[n]:[t[n]],!1!==t[n]&&(e[n]=L(n,r)),e},n):"string"!=typeof t?(e="rules must be either a string or an object.",console.warn("[vee-validate] "+e),n):t.split("|").reduce(function(t,e){var n=I(e);return n.name?(t[n.name]=L(n.name,n.params),t):t},n):n}function L(t,e){var n=C.getRuleDefinition(t);if(!n)return e;var r,o,l={};if(!n.params&&!Array.isArray(e))throw new Error("You provided an object params to a rule that has no defined schema.");if(Array.isArray(e)&&!n.params)return e;!n.params||n.params.length<e.length&&Array.isArray(e)?r=e.map(function(t,e){var r,param=null===(r=n.params)||void 0===r?void 0:r[e];return o=param||o,param||(param=o),param}):r=n.params;for(var i=0;i<r.length;i++){var c=r[i],f=c.default;Array.isArray(e)?i in e&&(f=e[i]):c.name in e?f=e[c.name]:1===r.length&&(f=e),c.isTarget&&(f=M(f,c.cast)),"string"==typeof f&&"@"===f[0]&&(f=M(f.slice(1),c.cast)),!_(f)&&c.cast&&(f=c.cast(f)),l[c.name]?(l[c.name]=Array.isArray(l[c.name])?l[c.name]:[l[c.name]],l[c.name].push(f)):l[c.name]=f}return l}var I=function(t){var e=[],n=t.split(":")[0];return x(t,":")&&(e=t.split(":").slice(1).join(":").split(",")),{name:n,params:e}};function M(t,e){var n=function(n){var r=n[t];return e?e(r):r};return n.__locatorRef=t,n}function D(t,e,n){return void 0===n&&(n={}),l(this,void 0,void 0,function(){var r,o,l,f,d,h;return c(this,function(c){switch(c.label){case 0:return r=null==n?void 0:n.bails,o=null==n?void 0:n.skipIfEmpty,[4,$({name:(null==n?void 0:n.name)||"{field}",rules:R(e),bails:null==r||r,skipIfEmpty:null==o||o,forceRequired:!1,crossTable:(null==n?void 0:n.values)||{},names:(null==n?void 0:n.names)||{},customMessages:(null==n?void 0:n.customMessages)||{}},t,n)];case 1:return l=c.sent(),f=[],d={},h={}
2,l.errors.forEach(function(t){var e=t.msg();f.push(e),d[t.rule]=e,h[t.rule]=t.msg}),[2,{valid:l.valid,required:l.required,errors:f,failedRules:d,regenerateMap:h}]}})})}function $(t,e,n){var r=(void 0===n?{}:n).isInitial,o=void 0!==r&&r;return l(this,void 0,void 0,function(){var n,r,l,f,d,h,i,v,m;return c(this,function(c){switch(c.label){case 0:return[4,B(t,e)];case 1:if(n=c.sent(),r=n.shouldSkip,l=n.required,f=n.errors,r)return[2,{valid:!f.length,required:l,errors:f}];d=Object.keys(t.rules).filter(function(t){return!C.isRequireRule(t)}),h=d.length,i=0,c.label=2;case 2:return i<h?o&&C.isLazy(d[i])?[3,4]:(v=d[i],[4,U(t,e,{name:v,params:t.rules[v]})]):[3,5];case 3:if(!(m=c.sent()).valid&&m.error&&(f.push(m.error),t.bails))return[2,{valid:!1,required:l,errors:f}];c.label=4;case 4:return i++,[3,2];case 5:return[2,{valid:!f.length,required:l,errors:f}]}})})}function B(t,e){return l(this,void 0,void 0,function(){var n,r,o,l,f,d,i,m,y;return c(this,function(c){switch(c.label){case 0:n=Object.keys(t.rules).filter(C.isRequireRule),r=n.length,o=[],l=h(e)||""===e||(_=e,Array.isArray(_)&&0===_.length),f=l&&t.skipIfEmpty,i=0,c.label=1;case 1:return i<r?(m=n[i],[4,U(t,e,{name:m,params:t.rules[m]})]):[3,4];case 2:if(y=c.sent(),!v(y))throw new Error("Require rules has to return an object (see docs)");if(void 0!==y.required&&(d=y.required),!y.valid&&y.error&&(o.push(y.error),t.bails))return[2,{shouldSkip:!0,required:y.required,errors:o}];c.label=3;case 3:return i++,[3,1];case 4:return(!l||d||t.skipIfEmpty)&&(t.bails||f)?[2,{shouldSkip:!d&&l,required:d,errors:o}]:[2,{shouldSkip:!1,required:d,errors:o}]}var _})})}function U(t,e,n){return l(this,void 0,void 0,function(){var r,l,f,d,h;return c(this,function(c){switch(c.label){case 0:if(!(r=C.getRuleDefinition(n.name))||!r.validate)throw new Error("No such validator '"+n.name+"' exists.");return l=r.castValue?r.castValue(e):e,f=function(t,e){if(Array.isArray(t))return t.map(function(param){var t="string"==typeof param&&"@"===param[0]?param.slice(1):param;return t in e?e[t]:param});var n={},r=function(t){return _(t)?t(e):t};return Object.keys(t).forEach(function(param){n[param]=r(t[param])}),n}(n.params,t.crossTable),[4,r.validate(l,f)];case 1:return"string"==typeof(d=c.sent())?(h=o(o({},f||{}),{_field_:t.name,_value_:e,_rule_:n.name}),[2,{valid:!1,error:{rule:n.name,msg:function(){return A(d,h)}}}]):(v(d)||(d={valid:d}),[2,{valid:d.valid,required:d.required,error:d.valid?void 0:F(t,e,r,n.name,f)}])}})})}function F(t,e,n,r,l){var c,f=null!==(c=t.customMessages[r])&&void 0!==c?c:n.message,d=function(t,e,n){var r=e.params;if(!r)return{};var o=r.filter(function(param){return param.isTarget}).length;if(o<=0)return{};var l={},c=t.rules[n];!Array.isArray(c)&&v(c)&&(c=r.map(function(param){return c[param.name]}));for(var f=0;f<r.length;f++){var param=r[f],d=c[f];if(_(d)){d=d.__locatorRef;var h=t.names[d]||d;l[param.name]=h,l["_"+param.name+"_"]=t.crossTable[d]}}return l}(t,n,r),h=function(t,e,n,r){var o={},l=t.rules[n],c=e.params||[];if(!l)return{};return Object.keys(l).forEach(function(e,n){var r=l[e];if(!_(r))return{};var param=c[n];if(!param)return{};var f=r.__locatorRef;o[param.name]=t.names[f]||f,o["_"+param.name+"_"]=t.crossTable[f]}),{userTargets:o,userMessage:r}}(t,n,r,f),m=h.userTargets,y=h.userMessage,w=o(o(o(o({},l||{}),{_field_:t.name,_value_:e,_rule_:r}),d),m);return{msg:function(){return function(template,t,e){if("function"==typeof template)return template(t,e);return A(template,o(o({},e),{_field_:t}))}(y||j().defaultMessage,t.name,w)},rule:r}}var z={aggressive:function(){return{on:["input","blur"]}},eager:function(t){return t.errors.length?{on:["input","change"]}:{on:["change","blur"]}},passive:function(){return{on:[]}},lazy:function(){return{on:["change","blur"]}}},H=new r.a;!function(){function t(t,e){this.container={},this.locale=t,this.merge(e)}t.prototype.resolve=function(t,e,n){return this.format(this.locale,t,e,n)},t.prototype.format=function(t,e,n,r){var l,c,f,d,h,v,m,_,w,x=null===(f=null===(c=null===(l=this.container[t])||void 0===l?void 0:l.fields)||void 0===c?void 0:c[e])||void 0===f?void 0:f[n],k=null===(h=null===(d=this.container[t])||void 0===d?void 0:d.messages)||void 0===h?void 0:h[n];return(w=x||k||"")||(w="{_field_}
2 is not valid"),e=null!==(_=null===(m=null===(v=this.container[t])||void 0===v?void 0:v.names)||void 0===m?void 0:m[e])&&void 0!==_?_:e,y(w)?w(e,r):A(w,o(o({},r),{_field_:e}))},t.prototype.merge=function(t){E(this.container,t)},t.prototype.hasRule=function(t){var e,n;return!!(null===(n=null===(e=this.container[this.locale])||void 0===e?void 0:e.messages)||void 0===n?void 0:n[t])}}();var W=function t(a,b){if(a===b)return!0;if(a&&b&&"object"==typeof a&&"object"==typeof b){if(a.constructor!==b.constructor)return!1;var e,i,n;if(Array.isArray(a)){if((e=a.length)!=b.length)return!1;for(i=e;0!==i--;)if(!t(a[i],b[i]))return!1;return!0}if(a.constructor===RegExp)return a.source===b.source&&a.flags===b.flags;if(a.valueOf!==Object.prototype.valueOf)return a.valueOf()===b.valueOf();if(a.toString!==Object.prototype.toString)return a.toString()===b.toString();if((e=(n=Object.keys(a)).length)!==Object.keys(b).length)return!1;for(i=e;0!==i--;)if(!Object.prototype.hasOwnProperty.call(b,n[i]))return!1;for(i=e;0!==i--;){var r=n[i];if(!t(a[r],b[r]))return!1}return!0}return a!=a&&b!=b};function Y(t){var e,n,r;if(!(r=t)||!("undefined"!=typeof Event&&y(Event)&&r instanceof Event||r&&r.srcElement))return t;var input=t.target;if("file"===input.type&&input.files)return k(input.files);if(null===(e=input._vModifiers)||void 0===e?void 0:e.number){var o=parseFloat(input.value);return d(o)?input.value:o}return(null===(n=input._vModifiers)||void 0===n?void 0:n.trim)&&"string"==typeof input.value?input.value.trim():input.value}var K=function(t){var e,n=(null===(e=t.data)||void 0===e?void 0:e.attrs)||t.elm;return!("input"!==t.tag||n&&n.type)||("textarea"===t.tag||x(["text","password","search","email","tel","url","number"],null==n?void 0:n.type))};function V(t){if(t.data){var e,n,r,o,l=t.data;if("model"in l)return l.model;if(t.data.directives)return e=t.data.directives,n=function(t){return"model"===t.name},r=Array.isArray(e)?e:k(e),-1===(o=w(r,n))?void 0:r[o]}}function G(t){var e,n,r=V(t);if(r)return{value:r.value};var o=Q(t),l=(null==o?void 0:o.prop)||"value";return(null===(e=t.componentOptions)||void 0===e?void 0:e.propsData)&&l in t.componentOptions.propsData?{value:t.componentOptions.propsData[l]}:(null===(n=t.data)||void 0===n?void 0:n.domProps)&&"value"in t.data.domProps?{value:t.data.domProps.value}:void 0}function Z(t){if(!Array.isArray(t)&&void 0!==G(t))return[t];var e=function(t){return Array.isArray(t)?t:Array.isArray(t.children)?t.children:t.componentOptions&&Array.isArray(t.componentOptions.children)?t.componentOptions.children:[]}(t);return e.reduce(function(t,e){var n=Z(e);return n.length&&t.push.apply(t,n),t},[])}function Q(t){return t.componentOptions?t.componentOptions.Ctor.options.model:null}function X(t,e,n){if(h(t[e]))t[e]=[n];else{if(y(t[e])&&t[e].fns){var r=t[e];return r.fns=Array.isArray(r.fns)?r.fns:[r.fns],void(x(r.fns,n)||r.fns.push(n))}if(y(t[e])){var o=t[e];t[e]=[o]}Array.isArray(t[e])&&!x(t[e],n)&&t[e].push(n)}}function J(t,e,n){t.componentOptions?function(t,e,n){t.componentOptions&&(t.componentOptions.listeners||(t.componentOptions.listeners={}),X(t.componentOptions.listeners,e,n))}(t,e,n):function(t,e,n){t.data||(t.data={}),h(t.data.on)&&(t.data.on={}),X(t.data.on,e,n)}(t,e,n)}function tt(t,e){var n;return t.componentOptions?(Q(t)||{event:"input"}).event||"input":(null===(n=null==e?void 0:e.modifiers)||void 0===n?void 0:n.lazy)?"change":K(t)?"input":"change"}function et(t){var e,n=null===(e=t.data)||void 0===e?void 0:e.attrs;if(!x(["input","select","textarea"],t.tag)||!n)return{};var r={};return"required"in n&&!1!==n.required&&C.getRuleDefinition("required")&&(r.required="checkbox"!==n.type||[!0]),K(t)?R(o(o({},r),function(t){var e,n=null===(e=t.data)||void 0===e?void 0:e.attrs,r={};return n?("email"===n.type&&C.getRuleDefinition("email")&&(r.email=["multiple"in n]),n.pattern&&C.getRuleDefinition("regex")&&(r.regex=n.pattern),n.maxlength>=0&&C.getRuleDefinition("max")&&(r.max=n.maxlength),n.minlength>=0&&C.getRuleDefinition("min")&&(r.min=n.minlength),"number"===n.type&&(m(n.min)&&C.getRuleDefinition("min_value")&&(r.min_value=Number(n.min)),m(n.max)&&C.getRuleDefinition("max_value")&&(r.max_value=Number(n.max))),r):r}(t))):R(r)}
2function nt(t,e){return t.$scopedSlots.default?t.$scopedSlots.default(e)||[]:t.$slots.default||[]}function ot(t,e){return!(t._ignoreImmediate||!t.immediate)||(n=t.value,r=e,!(d(n)&&d(r)||n===r||!t.normalizedEvents.length)||(!!t._needsValidation||!t.initialized&&void 0===e));var n,r}function it(t){return o(o({},t.flags),{errors:t.errors,classes:t.classes,failedRules:t.failedRules,reset:function(){return t.reset()},validate:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.validate.apply(t,e)},ariaInput:{"aria-invalid":t.flags.invalid?"true":"false","aria-required":t.isRequired?"true":"false","aria-errormessage":"vee_"+t.id},ariaMsg:{id:"vee_"+t.id,"aria-live":t.errors.length?"assertive":"off"}})}function at(t,e){t.initialized||(t.initialValue=e);var n=ot(t,e);if(t._needsValidation=!1,t.value=e,t._ignoreImmediate=!0,n){var r=function(){if(t.immediate||t.flags.validated)return st(t);t.validateSilent()};t.initialized?r():t.$once("hook:mounted",function(){return r()})}}function lt(t){return(y(t.mode)?t.mode:z[t.mode])(t)}function st(t){var e=t.validateSilent();return t._pendingValidation=e,e.then(function(n){return e===t._pendingValidation&&(t.applyResult(n),t._pendingValidation=void 0),n})}function ut(t){t.$veeOnInput||(t.$veeOnInput=function(e){t.syncValue(e),t.setFlags({dirty:!0,pristine:!1})});var e=t.$veeOnInput;t.$veeOnBlur||(t.$veeOnBlur=function(){t.setFlags({touched:!0,untouched:!1})});var n=t.$veeOnBlur,r=t.$veeHandler,o=lt(t);return r&&t.$veeDebounce===t.debounce||(r=T(function(){t.$nextTick(function(){t._pendingReset||st(t),t._pendingReset=!1})},o.debounce||t.debounce),t.$veeHandler=r,t.$veeDebounce=t.debounce),{onInput:e,onBlur:n,onValidate:r}}var ct=0;var ft=r.a.extend({name:"ValidationProvider",inject:{$_veeObserver:{from:"$_veeObserver",default:function(){return this.$vnode.context.$_veeObserver||(this.$vnode.context.$_veeObserver={refs:{},observe:function(t){this.refs[t.id]=t},unobserve:function(t){delete this.refs[t]}}),this.$vnode.context.$_veeObserver}}},props:{vid:{type:String,default:""},name:{type:String,default:null},mode:{type:[String,Function],default:function(){return j().mode}},rules:{type:[Object,String],default:null},immediate:{type:Boolean,default:!1},bails:{type:Boolean,default:function(){return j().bails}},skipIfEmpty:{type:Boolean,default:function(){return j().skipOptional}},debounce:{type:Number,default:0},tag:{type:String,default:"span"},slim:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},customMessages:{type:Object,default:function(){return{}}},detectInput:{type:Boolean,default:!0}},watch:{rules:{deep:!0,handler:function(t,e){this._needsValidation=!W(t,e)}}},data:function(){return{errors:[],value:void 0,initialized:!1,initialValue:void 0,flags:{untouched:!0,touched:!1,dirty:!1,pristine:!0,valid:!1,invalid:!1,validated:!1,pending:!1,required:!1,changed:!1,passed:!1,failed:!1},failedRules:{},isActive:!0,fieldName:"",id:""}},computed:{fieldDeps:function(){var t=this;return Object.keys(this.normalizedRules).reduce(function(e,n){var r,o=(r=t.normalizedRules[n],Array.isArray(r)?r.filter(function(param){return _(param)||"string"==typeof param&&"@"===param[0]}):Object.keys(r).filter(function(t){return _(r[t])}).map(function(t){return r[t]})).map(function(t){return _(t)?t.__locatorRef:t.slice(1)});return e.push.apply(e,o),o.forEach(function(e){ht(t,e)}),e},[])},normalizedEvents:function(){var t=this;return(lt(this).on||[]).map(function(e){return"input"===e?t._inputEventName:e})},isRequired:function(){var t=o(o({},this._resolvedRules),this.normalizedRules),e=Object.keys(t).some(C.isRequireRule);return this.flags.required=!!e,e},classes:function(){return function(t,e){for(var n={},r=Object.keys(e),o=r.length,l=function(i){var o=r[i],l=t&&t[o]||o,c=e[o];return h(c)?"continue":"valid"!==o&&"invalid"!==o||e.validated?void("string"==typeof l?n[l]=c:Array.isArray(l)&&l.forEach(function(t){n[t]=c})):"continue"},i=0;i<o;i++)l(i);return n}(j().classes,this.flags)},normalizedRules:function(){return R(this.rules)}}
2,mounted:function(){var t=this,e=function(){if(t.flags.validated){var e=t._regenerateMap;if(e){var n=[],r={};return Object.keys(e).forEach(function(t){var o=e[t]();n.push(o),r[t]=o}),void t.applyResult({errors:n,failedRules:r,regenerateMap:e})}t.validate()}};H.$on("change:locale",e),this.$on("hook:beforeDestroy",function(){H.$off("change:locale",e)})},render:function(t){var e=this;this.registerField();var n=nt(this,it(this));if(this.detectInput){var r=Z(n);r.length&&r.forEach(function(input,t){var n,r,o,l,c,f;if(x(["checkbox","radio"],null===(r=null===(n=input.data)||void 0===n?void 0:n.attrs)||void 0===r?void 0:r.type)||!(t>0)){var d=j().useConstraintAttrs?et(input):{};W(e._resolvedRules,d)||(e._needsValidation=!0),x(["input","select","textarea"],input.tag)&&(e.fieldName=(null===(l=null===(o=input.data)||void 0===o?void 0:o.attrs)||void 0===l?void 0:l.name)||(null===(f=null===(c=input.data)||void 0===c?void 0:c.attrs)||void 0===f?void 0:f.id)),e._resolvedRules=d,function(t,e){var n=G(e);t._inputEventName=t._inputEventName||tt(e,V(e)),at(t,null==n?void 0:n.value);var r=ut(t),o=r.onInput,l=r.onBlur,c=r.onValidate;J(e,t._inputEventName,o),J(e,"blur",l),t.normalizedEvents.forEach(function(t){J(e,t,c)}),t.initialized=!0}(e,input)}})}return this.slim&&n.length<=1?n[0]:t(this.tag,n)},beforeDestroy:function(){this.$_veeObserver.unobserve(this.id)},activated:function(){this.isActive=!0},deactivated:function(){this.isActive=!1},methods:{setFlags:function(t){var e=this;Object.keys(t).forEach(function(n){e.flags[n]=t[n]})},syncValue:function(t){var e=Y(t);this.value=e,this.flags.changed=!W(this.initialValue,e)},reset:function(){var t=this;this.errors=[],this.initialValue=this.value;var e={untouched:!0,touched:!1,dirty:!1,pristine:!0,valid:!1,invalid:!1,validated:!1,pending:!1,required:!1,changed:!1,passed:!1,failed:!1};e.required=this.isRequired,this.setFlags(e),this.failedRules={},this.validateSilent(),this._pendingValidation=void 0,this._pendingReset=!0,setTimeout(function(){t._pendingReset=!1},this.debounce)},validate:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return l(this,void 0,void 0,function(){return c(this,function(e){return t.length>0&&this.syncValue(t[0]),[2,st(this)]})})},validateSilent:function(){return l(this,void 0,void 0,function(){var t,e;return c(this,function(n){switch(n.label){case 0:return this.setFlags({pending:!0}),t=o(o({},this._resolvedRules),this.normalizedRules),Object.defineProperty(t,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),[4,D(this.value,t,o(o({name:this.name||this.fieldName},(r=this,l=r.$_veeObserver.refs,r.fieldDeps.reduce(function(t,e){return l[e]?(t.values[e]=l[e].value,t.names[e]=l[e].name,t):t},{names:{},values:{}}))),{bails:this.bails,skipIfEmpty:this.skipIfEmpty,isInitial:!this.initialized,customMessages:this.customMessages}))];case 1:return e=n.sent(),this.setFlags({pending:!1,valid:e.valid,invalid:!e.valid}),void 0!==e.required&&this.setFlags({required:e.required}),[2,e]}var r,l})})},setErrors:function(t){this.applyResult({errors:t,failedRules:{}})},applyResult:function(t){var e=t.errors,n=t.failedRules,r=t.regenerateMap;this.errors=e,this._regenerateMap=r,this.failedRules=o({},n||{}),this.setFlags({valid:!e.length,passed:!e.length,invalid:!!e.length,failed:!!e.length,validated:!0,changed:!W(this.value,this.initialValue)})},registerField:function(){!function(t){var e=function(t){if(t.vid)return t.vid;if(t.name)return t.name;if(t.id)return t.id;if(t.fieldName)return t.fieldName;return"_vee_"+ ++ct}(t),n=t.id;if(!t.isActive||n===e&&t.$_veeObserver.refs[n])return;n!==e&&t.$_veeObserver.refs[n]===t&&t.$_veeObserver.unobserve(n);t.id=e,t.$_veeObserver.observe(t)}(this)},checkComputesRequiredState:function(){var t=o(o({},this._resolvedRules),this.normalizedRules);return Object.keys(t).some(C.isRequireRule)}}});function ht(t,e,n){void 0===n&&(n=!0);var r=t.$_veeObserver.refs;if(t._veeWatchers||(t._veeWatchers={}),!r[e]&&n)return t.$once("hook:mounted",function(){ht(t,e,!1)});!y(t._veeWatchers[e])&&r[e]&&(t._veeWatchers[e]=r[e].$watch("value",function(){var e=t.checkComputesRequiredState();
2t.flags.validated&&(t._needsValidation=!0,t.validate()),e&&!t.flags.validated&&t.validateSilent()}))}var pt=[["pristine","every"],["dirty","some"],["touched","some"],["untouched","every"],["valid","every"],["invalid","some"],["pending","some"],["validated","every"],["changed","some"],["passed","every"],["failed","some"]],gt=0;var vt=r.a.extend({name:"ValidationObserver",provide:function(){return{$_veeObserver:this}},inject:{$_veeObserver:{from:"$_veeObserver",default:function(){return this.$vnode.context.$_veeObserver?this.$vnode.context.$_veeObserver:null}}},props:{tag:{type:String,default:"span"},vid:{type:String,default:function(){return"obs_"+gt++}},slim:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},data:function(){return{id:"",refs:{},observers:[],errors:{},flags:yt(),fields:{}}},created:function(){var t=this;this.id=this.vid,bt(this);var e=T(function(e){var n=e.errors,r=e.flags,o=e.fields;t.errors=n,t.flags=r,t.fields=o},16);this.$watch(_t,e)},activated:function(){bt(this)},deactivated:function(){mt(this)},beforeDestroy:function(){mt(this)},render:function(t){var e,n=nt(this,o(o({},(e=this).flags),{errors:e.errors,fields:e.fields,validate:e.validate,validateWithInfo:e.validateWithInfo,passes:e.handleSubmit,handleSubmit:e.handleSubmit,reset:e.reset}));return this.slim&&n.length<=1?n[0]:t(this.tag,{on:this.$listeners},n)},methods:{observe:function(t,e){var n;void 0===e&&(e="provider"),"observer"!==e?this.refs=o(o({},this.refs),((n={})[t.id]=t,n)):this.observers.push(t)},unobserve:function(t,e){if(void 0===e&&(e="provider"),"provider"!==e){var n=w(this.observers,function(e){return e.id===t});-1!==n&&this.observers.splice(n,1)}else{if(!this.refs[t])return;this.$delete(this.refs,t)}},validateWithInfo:function(t){var e=(void 0===t?{}:t).silent,n=void 0!==e&&e;return l(this,void 0,void 0,function(){var t,e,r,o,l,d;return c(this,function(c){switch(c.label){case 0:return[4,Promise.all(f(O(this.refs).filter(function(t){return!t.disabled}).map(function(t){return t[n?"validateSilent":"validate"]().then(function(t){return t.valid})}),this.observers.filter(function(t){return!t.disabled}).map(function(t){return t.validate({silent:n})})))];case 1:return t=c.sent(),e=t.every(function(t){return t}),r=_t.call(this),o=r.errors,l=r.flags,d=r.fields,this.errors=o,this.flags=l,this.fields=d,[2,{errors:o,flags:l,fields:d,isValid:e}]}})})},validate:function(t){var e=(void 0===t?{}:t).silent,n=void 0!==e&&e;return l(this,void 0,void 0,function(){return c(this,function(t){switch(t.label){case 0:return[4,this.validateWithInfo({silent:n})];case 1:return[2,t.sent().isValid]}})})},handleSubmit:function(t){return l(this,void 0,void 0,function(){return c(this,function(e){switch(e.label){case 0:return[4,this.validate()];case 1:return e.sent()&&t?[2,t()]:[2]}})})},reset:function(){return f(O(this.refs),this.observers).forEach(function(t){return t.reset()})},setErrors:function(t){var e=this;Object.keys(t).forEach(function(n){var r=e.refs[n];if(r){var o=t[n]||[];o="string"==typeof o?[o]:o,r.setErrors(o)}}),this.observers.forEach(function(e){e.setErrors(t)})}}});function mt(t){t.$_veeObserver&&t.$_veeObserver.unobserve(t.id,"observer")}function bt(t){t.$_veeObserver&&t.$_veeObserver.observe(t,"observer")}function yt(){return o(o({},{untouched:!0,touched:!1,dirty:!1,pristine:!0,valid:!1,invalid:!1,validated:!1,pending:!1,required:!1,changed:!1,passed:!1,failed:!1}),{valid:!0,invalid:!1})}function _t(){for(var t=f(O(this.refs),this.observers.filter(function(t){return!t.disabled})),e={},n=yt(),r={},l=t.length,i=0;i<l;i++){var c=t[i];Array.isArray(c.errors)?(e[c.id]=c.errors,r[c.id]=o({id:c.id,name:c.name,failedRules:c.failedRules},c.flags)):(e=o(o({},e),c.errors),r=o(o({},r),c.fields))}return pt.forEach(function(e){var r=e[0],o=e[1];n[r]=t[o](function(t){return t.flags[r]})}),{errors:e,flags:n,fields:r}}},66:function(t,e,n){"use strict";n.d(e,"a",function(){return T}),n.d(e,"b",function(){return S}),n.d(e,"c",function(){return M}),n.d(e,"d",function(){return A});var r=n(109),o=n(68),l=n(135),c=n(136),f=n(84);const d=t=>null==t,h=t=>!d(t),v=(t,a,b)=>_(a,t)===_(b,t);function m(u){return u&&u.length&&new RegExp(["^\\/([a-zA-Z0-9@\\-%_~.:]","[/a-zA-Z0-9@\\-%_~.:]*)?","([?][^#]*)?(#[^#]*)?$"].join("")).test(u)}function y(t,e,n){return t.matched.some(t=>Object.values(t.components).some(component=>component.options&&component.options[e]===n))}function _(path="",t){let e=path.split("?")[0];return t&&t.base&&(e=e.replace(t.base,"/")),"/"===e.charAt(e.length-1)&&(e=e.slice(0,-1)),e=e.replace(/\/+/g,"/"),e}function w(t){return"string"==typeof t?t:JSON.stringify(t)}function x(t){if("string"==typeof t)try{return JSON.parse(t)}catch(t){}return t}function k(t,e){if(!e||!t||"object"!=typeof t)return t;if(e in t)return t[e];const n=Array.isArray(e)?e:(e+"").split(".");let r=t;for(;n.length&&r;)r=r[n.shift()];return r}function O(t,e){return t&&e&&"string"==typeof t&&!t.startsWith(e)?e+" "+t:t}class E{constructor(t,e){this.ctx=t,this.options=e,this._initState()}setUniversal(t,e){return d(e)?this.removeUniversal(t):(this.setCookie(t,e),this.setLocalStorage(t,e),this.setState(t,e),e)}getUniversal(t){let e;return d(e)&&(e=this.getCookie(t)),d(e)&&(e=this.getLocalStorage(t)),d(e)&&(e=this.getState(t)),e}syncUniversal(t,e){let n=this.getUniversal(t);return d(n)&&h(e)&&(n=e),h(n)&&this.setUniversal(t,n),n}removeUniversal(t){this.removeState(t),this.removeLocalStorage(t),this.removeCookie(t)}_initState(){if(o.set(this,"_state",{}),this._useVuex=this.options.vuex&&!!this.ctx.store,this._useVuex){const t={namespaced:!0,state:()=>this.options.initialState,mutations:{SET(t,e){o.set(t,e.key,e.value)}}};this.ctx.store.registerModule(this.options.vuex.namespace,t,{preserveState:Boolean(this.ctx.store.state[this.options.vuex.namespace])}),this.state=this.ctx.store.state[this.options.vuex.namespace]}else o.set(this,"state",{}),console.warn("[AUTH] The Vuex Store is not activated. This might cause issues in auth module behavior, like redirects not working properly.To activate it, see https://nuxtjs.org/docs/2.x/directory-structure/store")}setState(t,e){return"_"===t[0]?o.set(this._state,t,e):this._useVuex?this.ctx.store.commit(this.options.vuex.namespace+"/SET",{key:t,value:e}):o.set(this.state,t,e),e}getState(t){return"_"!==t[0]?this.state[t]:this._state[t]}watchState(t,e){if(this._useVuex)return this.ctx.store.watch(e=>k(e[this.options.vuex.namespace],t),e)}removeState(t){this.setState(t,void 0)}setLocalStorage(t,e){if(d(e))return this.removeLocalStorage(t);if(!this.isLocalStorageEnabled())return;const n=this.getPrefix()+t;try{localStorage.setItem(n,w(e))}catch(t){if(!this.options.ignoreExceptions)throw t}return e}getLocalStorage(t){if(!this.isLocalStorageEnabled())return;const e=this.getPrefix()+t;return x(localStorage.getItem(e))}removeLocalStorage(t){if(!this.isLocalStorageEnabled())return;const e=this.getPrefix()+t;localStorage.removeItem(e)}
2getCookies(){if(!this.isCookiesEnabled())return;const t=document.cookie;return l.parse(t||"")||{}}setCookie(t,e,n={}){if(!this.options.cookie)return;if(!this.isCookiesEnabled())return;const r=(void 0!==n.prefix?n.prefix:this.options.cookie.prefix)+t,o=Object.assign({},this.options.cookie.options,n),c=w(e);d(e)&&(o.maxAge=-1),"number"==typeof o.expires&&(o.expires=new Date(Date.now()+864e5*o.expires));const f=l.serialize(r,c,o);return document.cookie=f,e}getCookie(t){if(!this.options.cookie)return;if(!this.isCookiesEnabled())return;const e=this.options.cookie.prefix+t,n=this.getCookies();return x(n[e]?decodeURIComponent(n[e]):void 0)}removeCookie(t,e){this.setCookie(t,void 0,e)}getPrefix(){if(!this.options.localStorage)throw new Error("Cannot get prefix; localStorage is off");return this.options.localStorage.prefix}isLocalStorageEnabled(){if(!this.options.localStorage)return!1;const t="test";try{return localStorage.setItem(t,t),localStorage.removeItem(t),!0}catch(t){return this.options.ignoreExceptions||console.warn("[AUTH] Local storage is enabled in config, but browser doesn't support it"),!1}}isCookiesEnabled(){return!!this.options.cookie&&(!!window.navigator.cookieEnabled||(console.warn("[AUTH] Cookies is enabled in config, but browser doesn't support it"),!1))}}class T{constructor(t,e){this.strategies={},this._errorListeners=[],this._redirectListeners=[],this.ctx=t,this.options=e;const n=new E(t,{...e,initialState:{user:null,loggedIn:!1}});this.$storage=n,this.$state=n.state}get state(){return this._stateWarnShown||(this._stateWarnShown=!0,console.warn("[AUTH] $auth.state is deprecated. Please use $auth.$state or top level props like $auth.loggedIn")),this.$state}get strategy(){return this.getStrategy()}getStrategy(t=!0){if(t){if(!this.$state.strategy)throw new Error("No strategy is set!");if(!this.strategies[this.$state.strategy])throw new Error("Strategy not supported: "+this.$state.strategy)}return this.strategies[this.$state.strategy]}get user(){return this.$state.user}get loggedIn(){return this.$state.loggedIn}get busy(){return this.$storage.getState("busy")}
2async init(){if(this.options.resetOnError&&this.onError((...t)=>{("function"!=typeof this.options.resetOnError||this.options.resetOnError(...t))&&this.reset()}),this.$storage.syncUniversal("strategy",this.options.defaultStrategy),!this.getStrategy(!1)&&(this.$storage.setUniversal("strategy",this.options.defaultStrategy),!this.getStrategy(!1)))return Promise.resolve();try{await this.mounted()}catch(t){this.callOnError(t)}finally{this.options.watchLoggedIn&&this.$storage.watchState("loggedIn",t=>{y(this.ctx.route,"auth",!1)||this.redirect(t?"home":"logout")})}}getState(t){return this._getStateWarnShown||(this._getStateWarnShown=!0,console.warn("[AUTH] $auth.getState is deprecated. Please use $auth.$storage.getState() or top level props like $auth.loggedIn")),this.$storage.getState(t)}registerStrategy(t,e){this.strategies[t]=e}setStrategy(t){if(t===this.$storage.getUniversal("strategy"))return Promise.resolve();if(!this.strategies[t])throw new Error(`Strategy ${t} is not defined!`);return this.reset(),this.$storage.setUniversal("strategy",t),this.mounted()}mounted(...t){return this.getStrategy().mounted?Promise.resolve(this.getStrategy().mounted(...t)).catch(t=>(this.callOnError(t,{method:"mounted"}),Promise.reject(t))):this.fetchUserOnce()}loginWith(t,...e){return this.setStrategy(t).then(()=>this.login(...e))}login(...t){return this.getStrategy().login?this.wrapLogin(this.getStrategy().login(...t)).catch(t=>(this.callOnError(t,{method:"login"}),Promise.reject(t))):Promise.resolve()}fetchUser(...t){return this.getStrategy().fetchUser?Promise.resolve(this.getStrategy().fetchUser(...t)).catch(t=>(this.callOnError(t,{method:"fetchUser"}),Promise.reject(t))):Promise.resolve()}logout(...t){return this.getStrategy().logout?Promise.resolve(this.getStrategy().logout(...t)).catch(t=>(this.callOnError(t,{method:"logout"}),Promise.reject(t))):(this.reset(),Promise.resolve())}setUserToken(t,e){return this.getStrategy().setUserToken?Promise.resolve(this.getStrategy().setUserToken(t,e)).catch(t=>(this.callOnError(t,{method:"setUserToken"}),Promise.reject(t))):(this.getStrategy().token.set(t),Promise.resolve())}reset(...t){return this.getStrategy().reset||(this.setUser(!1),this.get
2Strategy().token.reset(),this.getStrategy().refreshToken.reset()),this.getStrategy().reset(...t)}refreshTokens(){return this.getStrategy().refreshController?Promise.resolve(this.getStrategy().refreshController.handleRefresh()).catch(t=>(this.callOnError(t,{method:"refreshTokens"}),Promise.reject(t))):Promise.resolve()}check(...t){return this.getStrategy().check?this.getStrategy().check(...t):{valid:!0}}fetchUserOnce(...t){return this.$state.user?Promise.resolve():this.fetchUser(...t)}setUser(t){this.$storage.setState("user",t);let e={valid:Boolean(t)};e.valid&&(e=this.check()),this.$storage.setState("loggedIn",e.valid)}request(t,e={}){const n="object"==typeof e?Object.assign({},e,t):t;if(""===n.baseURL&&(n.baseURL=r(this.ctx.req)),this.ctx.app.$axios)return this.ctx.app.$axios.request(n).catch(t=>(this.callOnError(t,{method:"request"}),Promise.reject(t)));console.error("[AUTH] add the @nuxtjs/axios module to nuxt.config file")}requestWith(t,e,n){const r=this.getStrategy().token.get(),o=Object.assign({},n,e),l=this.strategies[t].options.token.name||"Authorization";return o.headers||(o.headers={}),!o.headers[l]&&h(r)&&r&&"string"==typeof r&&(o.headers[l]=r),this.request(o)}wrapLogin(t){return this.$storage.setState("busy",!0),this.error=null,Promise.resolve(t).then(t=>(this.$storage.setState("busy",!1),t)).catch(t=>(this.$storage.setState("busy",!1),Promise.reject(t)))}onError(t){this._errorListeners.push(t)}callOnError(t,e={}){this.error=t;for(const n of this._errorListeners)n(t,e)}redirect(t,e=!1){if(!this.options.redirect)return;const n=this.options.fullPathRedirect?this.ctx.route.fullPath:this.ctx.route.path;let r=this.options.redirect[t];if(r){if(this.options.rewriteRedirects&&("login"===t&&m(n)&&!v(this.ctx,r,n)&&this.$storage.setUniversal("redirect",n),"home"===t)){const t=this.$storage.getUniversal("redirect");this.$storage.setUniversal("redirect",null),m(t)&&(r=t)}r=this.callOnRedirect(r,n)||r,v(this.ctx,r,n)||(e?(m(r)&&!r.includes(this.ctx.base)&&(r=_("/"+this.ctx.base+"/"+r)),window.location.replace(r)):this.ctx.redirect(r,this.ctx.query))}}onRedirect(t){this._redirectListeners.push(t)}callOnRedirect(t,e){for(const n of this._redirectListeners)t=n(t,e)||t;return t}hasScope(t){const e=this.$state.user&&k(this.$state.user,this.options.scopeKey);return!!e&&(Array.isArray(e)?e.includes(t):Boolean(k(e,t)))}}const A=async t=>{if(y(t.route,"auth",!1))return;const e=function(t,e=[]){return[].concat(...t.matched.map(function(t,n){return Object.keys(t.components).map(function(r){return e.push(n),t.components[r]})}))}(t.route,[]);if(!e.length)return;const{login:n,callback:r}=t.$auth.options.redirect,o=y(t.route,"auth","guest"),l=e=>_(t.route.path,t)===_(e,t);if(t.$auth.$state.loggedIn){const{tokenExpired:e,refreshTokenExpired:r,isRefreshable:c}=t.$auth.check(!0);if((!n||l(n)||o)&&t.$auth.redirect("home"),r)t.$auth.reset();else if(e)if(c)try{await t.$auth.refreshTokens()}catch(e){t.$auth.reset()}else t.$auth.reset()}else o||r&&l(r)||t.$auth.redirect("login")};Error;class S extends Error{constructor(){super("Both token and refresh token have expired. Your request was aborted."),this.name="ExpiredAuthSessionError"}}var C,P;(P=C||(C={})).UNKNOWN="UNKNOWN",P.VALID="VALID",P.EXPIRED="EXPIRED";class N{constructor(t,e){this._status=this._calculate(t,e)}unknown(){return C.UNKNOWN===this._status}valid(){return C.VALID===this._status}expired(){return C.EXPIRED===this._status}_calculate(t,e){const n=Date.now();try{if(!t||!e)return C.UNKNOWN}catch(t){return C.UNKNOWN}return n<(e-=500)?C.VALID:C.EXPIRED}}class j{constructor(t,e){this.scheme=t,this.axios=e,this.interceptor=null}setHeader(t){this.scheme.options.token.global&&this.axios.setHeader(this.scheme.options.token.name,t)}clearHeader(){this.scheme.options.token.global&&this.axios.setHeader(this.scheme.options.token.name,!1)}initializeRequestInterceptor(t){this.interceptor=this.axios.interceptors.request.use(async e=>{if(!this._needToken(e)||e.url===t)return e;const{valid:n,tokenExpired:r,refreshTokenExpired:o,isRefreshable:l}=this.scheme.check(!0);let c=n;if(o)throw this.scheme.reset(),new S;if(r){if(!l)throw this.scheme.reset(),new S;c=await this.scheme.refreshTokens().then(()=>!0).catch(()=>{throw this.scheme.reset(),new S})}const f=this.scheme.token.get();if(!c){if(!f&&this._requestHasAuthorizationHeader(e))throw new S;return e}
2return this._getUpdatedRequestConfig(e,f)})}reset(){this.axios.interceptors.request.eject(this.interceptor),this.interceptor=null}_needToken(t){const e=this.scheme.options;return e.token.global||Object.values(e.endpoints).some(e=>"object"==typeof e?e.url===t.url:e===t.url)}_getUpdatedRequestConfig(t,e){return"string"==typeof e&&(t.headers[this.scheme.options.token.name]=e),t}_requestHasAuthorizationHeader(t){return!!t.headers.common[this.scheme.options.token.name]}}class R{constructor(t,e){this.scheme=t,this.$storage=e}get(){const t=this.scheme.options.token.prefix+this.scheme.name;return this.$storage.getUniversal(t)}set(t){const e=O(t,this.scheme.options.token.type);return this._setToken(e),this._updateExpiration(e),"string"==typeof e&&this.scheme.requestHandler.setHeader(e),e}sync(){const t=this._syncToken();return this._syncExpiration(),"string"==typeof t&&this.scheme.requestHandler.setHeader(t),t}reset(){this.scheme.requestHandler.clearHeader(),this._setToken(!1),this._setExpiration(!1)}status(){return new N(this.get(),this._getExpiration())}_getExpiration(){const t=this.scheme.options.token.expirationPrefix+this.scheme.name;return this.$storage.getUniversal(t)}_setExpiration(t){const e=this.scheme.options.token.expirationPrefix+this.scheme.name;return this.$storage.setUniversal(e,t)}_syncExpiration(){const t=this.scheme.options.token.expirationPrefix+this.scheme.name;return this.$storage.syncUniversal(t)}_updateExpiration(t){let e;const n=Date.now(),r=1e3*Number(this.scheme.options.token.maxAge),o=r?n+r:0;try{e=1e3*f(t+"").exp||o}catch(t){if(e=o,!t||"InvalidTokenError"!==t.name)throw t}return this._setExpiration(e||!1)}_setToken(t){const e=this.scheme.options.token.prefix+this.scheme.name;return this.$storage.setUniversal(e,t)}_syncToken(){const t=this.scheme.options.token.prefix+this.scheme.name;return this.$storage.syncUniversal(t)}}class L{constructor(t,...e){this.$auth=t,this.options=e.reduce((p,t)=>c(p,t),{})}get name(){return this.options.name}}const I={name:"local",endpoints:{login:{url:"/api/auth/login",method:"post"},logout:{url:"/api/auth/logout",method:"post"},user:{url:"/api/auth/user",method:"get"}},token:{property:"token",type:"Bearer",name:"Authorization",maxAge:1800,global:!0,required:!0,prefix:"_token.",expirationPrefix:"_token_expiration."},user:{property:"user",autoFetch:!0},clientId:!1,grantType:!1,scope:!1};class M extends L{constructor(t,e,...n){super(t,e,...n,I),this.token=new R(this,this.$auth.$storage),this.requestHandler=new j(this,this.$auth.ctx.$axios)}check(t=!1){const e={valid:!1,tokenExpired:!1};if(!this.token.sync())return e;if(!t)return e.valid=!0,e;return this.token.status().expired()?(e.tokenExpired=!0,e):(e.valid=!0,e)}mounted({tokenCallback:t=()=>this.$auth.reset(),refreshTokenCallback:e}={}){const{tokenExpired:n,refreshTokenExpired:r}=this.check(!0);return r&&"function"==typeof e?e():n&&"function"==typeof t&&t(),this.initializeRequestInterceptor(),this.$auth.fetchUserOnce()}async login(t,{reset:e=!0}={}){if(!this.options.endpoints.login)return;e&&this.$auth.reset({resetInterceptor:!1}),this.options.clientId&&(t.data.client_id=this.options.clientId),this.options.grantType&&(t.data.grant_type=this.options.grantType),this.options.scope&&(t.data.scope=this.options.scope);const n=await this.$auth.request(t,this.options.endpoints.login);return this.updateTokens(n),this.requestHandler.interceptor||this.initializeRequestInterceptor(),this.options.user.autoFetch&&await this.fetchUser(),n}setUserToken(t){return this.token.set(t),this.fetchUser()}fetchUser(t){return this.check().valid?this.options.endpoints.user?this.$auth.requestWith(this.name,t,this.options.endpoints.user).then(t=>{const e=k(t.data,this.options.user.property);if(!e){const t=new Error(`User Data response does not contain field ${this.options.user.property}`);return Promise.reject(t)}return this.$auth.setUser(e),t}).catch(t=>(this.$auth.callOnError(t,{method:"fetchUser"}),Promise.reject(t))):(this.$auth.setUser({}),Promise.resolve()):Promise.resolve()}async logout(t={}){return this.options.endpoints.logout&&await this.$auth.requestWith(this.name,t,this.options.endpoints.logout).catch(()=>{}),this.$auth.reset()}reset({resetInterceptor:t=!0}={}){this.$auth.setUser(!1),this.token.reset(),t&&this.requestHandler.reset()}updateTokens(t){const e=!this.options.token.required||k(t.data,this.options.token.property);this.token.set(e)}initializeRequestInterceptor(){this.requestHandler.initializeRequestInterceptor()}}},67:function(t,e,n){"use strict";var r={name:"NoSsr",functional:!0,props:{placeholder:String,placeholderTag:{type:String,default:"div"}},render:function(t,e){var n=e.parent,r=e.slots,o=e.props,l=r(),c=l.default;void 0===c&&(c=[]);var f=l.placeholder;return n._isMounted?c:(n.$once("hook:mounted",function(){n.$forceUpdate()}),o.placeholderTag&&(o.placeholder||f)?t(o.placeholderTag,{class:["no-ssr-placeholder"]},o.placeholder||f):c.length>0?c.map(function(){return t(!1)}):t(!1))}};t.exports=r},83:function(t,e,n){"use strict";n.d(e,"a",function(){return l}),n.d(e,"b",function(){return c}),n.d(e,"c",function(){return h}),n.d(e,"d",function(){return v});var r={en:/^[A-Z]*$/i,cs:/^[A-ZÃÄÄÃÄÃÅÃÅŠŤÃŮÎ]*$/i,da:/^[A-ZÃÃÃ
]*$/i,de:/^[A-ZÃÃÃÃ]*$/i,es:/^[A-ZÃÃÃÃÃÃÃ]*$/i,fa:/^[Ø¡Ø¢Ø£Ø¤Ø¥Ø¦Ø§Ø¨Ø©ØªØ«Ø¬ØØ®Ø¯Ø°Ø±Ø²Ø³Ø´ØµØ¶Ø·Ø¸Ø¹ØºÙÙÙÙÙ
ÙÙÙÙÙÙÙÙÙÙÙÙÙٰپÚÚ¯ÚÚ©Û]*$/,fr:/^[A-ZÃÃÃÃÃÃÃÃÃÃÃÅÃÃß]*$/i,it:/^[A-Z\xC0-\xFF]*$/i,lt:/^[A-ZÄÄÄÄĮŠŲŪŽ]*$/i,nl:/^[A-ZÃÃÃÃÃÃ]*$/i,hu:/^[A-ZÃÃÃÃÃÅÃÃŰ]*$/i,pl:/^[A-ZÄÄÄÅÅÅÃŻŹ]*$/i,pt:/^[A-ZÃÃÃÃÃÃÃÃÃÃÃÃÃ]*$/i,ro:/^[A-ZÄÃÃÅÅ¢]*$/i,ru:/^[Ð-ЯÐ]*$/i,sk:/^[A-ZÃÃÄÄÃÃĹĽÅÃÅŠŤÃÃŽ]*$/i,sr:/^[A-ZÄÄŽŠÄ]*$/i,sv:/^[A-ZÃ
ÃÃ]*$/i,tr:/^[A-ZÃÄİıÃÅÃ]*$/i,uk:/^[Ð-ЩЬЮЯÐÐÐÒ]*$/i,ar:/^[Ø¡Ø¢Ø£Ø¤Ø¥Ø¦Ø§Ø¨Ø©ØªØ«Ø¬ØØ®Ø¯Ø°Ø±Ø²Ø³Ø´ØµØ¶Ø·Ø¸Ø¹ØºÙÙÙÙÙ
ÙÙÙÙÙÙÙÙÙÙÙÙÙÙ°]*$/,az:/^[A-ZÃÆÄİıÃÅÃ]*$/i,el:/^[Î-Ï]*$/i,ja:/^[A-Z\u3000-\u303F\u3040-\u309F\u30A0-\u30FF\uFF00-\uFFEF\u4E00-\u9FAF]*$/i,he:/^[A-Z\u05D0-\u05EA']*$/i},o=function(t,e){var n=(void 0===e?{}:e).locale,l=void 0===n?"":n;return Array.isArray(t)?t.every(function(t){return o(t,{locale:l})}):l?(r[l]||r.en).test(t):Object.keys(r).some(function(e){return r[e].test(t)})},l={validate:o,params:[{name:"locale"}]},c={validate:function(t,e){var n=(void 0===e?{}:e).multiple,r=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return n&&!Array.isArray(t)&&(t=String(t).split(",").map(function(t){return t.trim()})),Array.isArray(t)?t.every(function(t){return r.test(String(t))}):r.test(String(t))},params:[{name:"multiple",default:!1}]};function f(t){return null==t}function d(t){return Array.isArray(t)&&0===t.length}var h={validate:function(t){return Array.isArray(t)?t.every(function(t){return/^-?[0-9]+$/.test(String(t))}):/^-?[0-9]+$/.test(String(t))}}
2,v={validate:function(t,e){var n=(void 0===e?{allowFalse:!0}:e).allowFalse,r={valid:!1,required:!0};return f(t)||d(t)?r:!1!==t||n?(r.valid=!!String(t).trim().length,r):r},params:[{name:"allowFalse",default:!0}],computesRequired:!0}},84:function(t,e,n){"use strict";function r(t){this.message=t}r.prototype=new Error,r.prototype.name="InvalidCharacterError";var o="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(t){var e=String(t).replace(/=+$/,"");if(e.length%4==1)throw new r("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,o,a=0,i=0,l="";o=e.charAt(i++);~o&&(n=a%4?64*n+o:o,a++%4)?l+=String.fromCharCode(255&n>>(-2*a&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return l};function l(t){var e=t.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Illegal base64url string!"}try{return function(t){return decodeURIComponent(o(t).replace(/(.)/g,function(t,e){var n=e.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n}))}(e)}catch(t){return o(e)}}function c(t){this.message=t}function f(t,e){if("string"!=typeof t)throw new c("Invalid token specified");var n=!0===(e=e||{}).header?0:1;try{return JSON.parse(l(t.split(".")[n]))}catch(t){throw new c("Invalid token specified: "+t.message)}}c.prototype=new Error,c.prototype.name="InvalidTokenError";const a=f;a.default=f,a.InvalidTokenError=c,t.exports=a}}]);
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.