Back to Codebase

Vulnerability Analysis Report

Joomla CMS v4.0.0-alpha3

Scan ID: SCAN-JOOMLA-CORE-uGzLNa • Hash: d79c8681

Severity Score
Critical
Total Findings
100
Engine Version
ECOMGUARD-HYBRID-AST-1.5
Scan Duration
0.429s

Vulnerability Details

L597

Dynamic Code Execution in HtmlDocument.php

CWE-94
File Location: libraries/src/Document/HtmlDocument.php:597
Security Score:
97 / 100
Confirmed Issue

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. High Severity (Confirmed via full AST flow control tracing). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- return eval($str);
+ // Avoid dynamic function/code evaluation. Rewrite with native callbacks.
L190

Insecure DOM Manipulation (XSS) in field-media.js

CWE-79
File Location: build/webcomponents/js/field-media/field-media.js:190
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- div.innerHTML = '<span class="field-media-preview-icon fa fa-picture-o"></span>';
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L240

Insecure DOM Manipulation (XSS) in field-simple-color.js

CWE-79
File Location: build/webcomponents/js/field-simple-color/field-simple-color.js:240
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- this.icon.innerHTML = '<span class="sr-only">' + this.textSelect + '</span>';
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L151

Insecure DOM Manipulation (XSS) in field-subform.js

CWE-79
File Location: build/webcomponents/js/field-subform/field-subform.js:151
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- this.template = tmplElement[0].innerHTML;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L92

Insecure DOM Manipulation (XSS) in field-user.js

CWE-79
File Location: build/webcomponents/js/field-user/field-user.js:92
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- this.modalBody.innerHTML = '';
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L95

Insecure DOM Manipulation (XSS) in indexer.js

CWE-79
File Location: media/com_finder/js/indexer.js:95
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- progressMessage.innerHTML = error;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L199

Insecure DOM Manipulation (XSS) in edit-images.js

CWE-79
File Location: media/com_media/js/edit-images.js:199
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- document.getElementById('media-manager-edit-container').innerHTML = '';
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L1

Insecure DOM Manipulation (XSS) in mediamanager.min.js

CWE-79
File Location: media/com_media/js/mediamanager.min.js:1
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- !function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=64)}([function(t,e){t.exports=function(t,e,n,r,i){var o,a=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(o=t,a=t.default);var c,u="function"==typeof a?a.options:a;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns),r&&(u._scopeId=r),i?(c=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__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},u._ssrRegister=c):n&&(c=n),c){var l=u.functional,f=l?u.render:u.beforeCreate;l?u.render=function(t,e){return c.call(e),f(t,e)}:u.beforeCreate=f?[].concat(f,c):[c]}return{esModule:o,exports:a,options:u}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SET_IS_LOADING="SET_IS_LOADING",e.SELECT_DIRECTORY="SELECT_DIRECTORY",e.SELECT_BROWSER_ITEM="SELECT_BROWSER_ITEM",e.SELECT_BROWSER_ITEMS="SELECT_BROWSER_ITEMS",e.UNSELECT_BROWSER_ITEM="UNSELECT_BROWSER_ITEM",e.UNSELECT_ALL_BROWSER_ITEMS="UNSELECT_ALL_BROWSER_ITEMS",e.INCREASE_GRID_SIZE="INCREASE_GRID_SIZE",e.DECREASE_GRID_SIZE="DECREASE_GRID_SIZE",e.LOAD_CONTENTS_SUCCESS="LOAD_CONTENTS_SUCCESS",e.LOAD_FULL_CONTENTS_SUCCESS="LOAD_FULL_CONTENTS_SUCCESS",e.CREATE_DIRECTORY_SUCCESS="CREATE_DIRECTORY_SUCCESS",e.UPLOAD_SUCCESS="UPLOAD_SUCCESS",e.SHOW_CREATE_FOLDER_MODAL="SHOW_CREATE_FOLDER_MODAL",e.HIDE_CREATE_FOLDER_MODAL="HIDE_CREATE_FOLDER_MODAL",e.SHOW_INFOBAR="SHOW_INFOBAR",e.HIDE_INFOBAR="HIDE_INFOBAR",e.DELETE_SUCCESS="DELETE_SUCCESS",e.CHANGE_LIST_VIEW="CHANGE_LIST_VIEW",e.SHOW_PREVIEW_MODAL="SHOW_PREVIEW_MODAL",e.HIDE_PREVIEW_MODAL="HIDE_PREVIEW_MODAL",e.SHOW_RENAME_MODAL="SHOW_RENAME_MODAL",e.HIDE_RENAME_MODAL="HIDE_RENAME_MODAL",e.RENAME_SUCCESS="RENAME_SUCCESS"},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n=t.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(44)("wks"),i=n(45),o=n(2).Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},function(t,e,n){var r=n(11);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(2),i=n(3),o=n(10),a=n(7),s=function(t,e,n){var c,u,l,f=t&s.F,d=t&s.G,p=t&s.S,v=t&s.P,m=t&s.B,h=t&s.W,_=d?i:i[e]||(i[e]={}),g=_.prototype,y=d?r:p?r[e]:(r[e]||{}).prototype;for(c in d&&(n=e),n)(u=!f&&y&&void 0!==y[c])&&c in _||(l=u?y[c]:n[c],_[c]=d&&"function"!=typeof y[c]?n[c]:m&&u?o(l,r):h&&y[c]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):v&&"function"==typeof l?o(Function.call,l):l,v&&((_.virtual||(_.virtual={}))[c]=l,t&s.R&&g&&!g[c]&&a(g,c,l)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,e,n){var r=n(8),i=n(23);t.exports=n(9)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(5),i=n(71),o=n(72),a=Object.defineProperty;e.f=n(9)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){t.exports=!n(21)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(15);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports={}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={methods:{navigateTo:function(t){this.$store.dispatch("getContents",t)}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,n){function r(t){return void 0===t||null===t}function i(t){return void 0!==t&&null!==t}function o(t){return!0===t}function a(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function s(t){return null!==t&&"object"==typeof t}function c(t){return"[object Object]"===Wn.call(t)}function u(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function l(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function f(t){var e=parseFloat(t);return isNaN(e)?t:e}function d(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}function p(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function v(t,e){return Jn.call(t,e)}function m(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}function h(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function _(t,e){for(var n in e)t[n]=e[n];return t}function g(t){for(var e={},n=0;n<t.length;n++)t[n]&&_(e,t[n]);return e}function y(t,e,n){}function b(t,e){if(t===e)return!0;var n=s(t),r=s(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var i=Array.isArray(t),o=Array.isArray(e);if(i&&o)return t.length===e.length&&t.every(function(t,n){return b(t,e[n])});if(i||o)return!1;var a=Object.keys(t),c=Object.keys(e);return a.length===c.length&&a.every(function(n){return b(t[n],e[n])})}catch(t){return!1}}function E(t,e){for(var n=0;n<t.length;n++)if(b(t[n],e))return n;return-1}function C(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function w(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function O(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function S(t){return"function"==typeof t&&/native code/.test(t.toString())}function A(t){Ar.target&&Ir.push(Ar.target),Ar.target=t}function I(){Ar.target=Ir.pop()}function M(t){return new Mr(void 0,void 0,void 0,String(t))}function x(t){var e=new Mr(t.tag,t.data,t.children,t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.isCloned=!0,e}function T(t){Lr=t}function $(t,e){var n;if(s(t)&&!(t instanceof Mr))return v(t,"__ob__")&&t.__ob__ instanceof Rr?n=t.__ob__:Lr&&!Er()&&(Array.isArray(t)||c(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new Rr(t)),e&&n&&n.vmCount++,n}function D(t,e,n,r,i){var o=new Ar,a=Object.getOwnPropertyDescriptor(t,e);if(!a||!1!==a.configurable){var s=a&&a.get;s||2!==arguments.length||(n=t[e]);var c=a&&a.set,u=!i&&$(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(t):n;return Ar.target&&(o.depend(),u&&(u.dep.depend(),Array.isArray(e)&&function t(e){for(var n=void 0,r=0,i=e.length;r<i;r++)n=e[r],n&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&t(n)}(e))),e},set:function(e){var r=s?s.call(t):n;e===r||e!=e&&r!=r||(c?c.call(t,e):n=e,u=!i&&$(e),o.notify())}})}}function k(t,e,n){if(Array.isArray(t)&&u(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var r=t.__ob__;return t._isVue||r&&r.vmCount?n:r?(D(r.value,e,n),r.dep.notify(),n):(t[e]=n,n)}function L(t,e){if(Array.isArray(t)&&u(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||v(t,e)&&(delete t[e],n&&n.dep.notify())}}function R(t,e){if(!e)return t;for(var n,r,i,o=Object.keys(e),a=0;a<o.length;a++)r=t[n=o[a]],i=e[n],v(t,n)?c(r)&&c(i)&&R(r,i):k(t,n,i);return t}function N(t,e,n){return n?function(){var r="function"==typeof e?e.call(n,n):e,i="function"==typeof t?t.call(n,n):t;return r?R(r,i):i}:e?t?function(){return R("function"==typeof e?e.call(this,this):e,"function"==typeof t?t.call(this,this):t)}:e:t}function P(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t}function j(t,e,n,r){var i=Object.create(t||null);return e?_(i,e):i}function F(t,e,n){function r(r){var i=Nr[r]||Fr;u[r]=i(t[r],e[r],n,r)}"function"==typeof e&&(e=e.options),function(t,e){var n=t.props;if(n){var r,i,o={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(i=n[r])&&(o[Kn(i)]={type:null});else if(c(n))for(var a in n)i=n[a],o[Kn(a)]=c(i)?i:{type:i};t.props=o}}(e),function(t,e){var n=t.inject;if(n){var r=t.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(c(n))for(var o in n){var a=n[o];r[o]=c(a)?_({from:o},a):{from:a}}}}(e),function(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"==typeof r&&(e[n]={bind:r,update:r})}}(e);var i=e.extends;if(i&&(t=F(t,i,n)),e.mixins)for(var o=0,a=e.mixins.length;o<a;o++)t=F(t,e.mixins[o],n);var s,u={};for(s in t)r(s);for(s in e)v(t,s)||r(s);return u}function U(t,e,n,r){if("string"==typeof n){var i=t[e];if(v(i,n))return i[n];var o=Kn(n);if(v(i,o))return i[o];var a=Zn(o);return v(i,a)?i[a]:i[n]||i[o]||i[a]}}function B(t,e,n,r){var i=e[t],o=!v(n,t),a=n[t],s=W(Boolean,i.type);if(s>-1)if(o&&!v(i,"default"))a=!1;else if(""===a||a===Xn(t)){var c=W(String,i.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=function(t,e,n){if(v(e,"default")){var r=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:"function"==typeof r&&"Function"!==H(e.type)?r.call(t):r}}(r,i,t);var u=Lr;T(!0),$(a),T(u)}return a}function H(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function G(t,e){return H(t)===H(e)}function W(t,e){if(!Array.isArray(e))return G(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(G(e[n],t))return n;return-1}function V(t,e,n){if(e)for(var r=e;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{if(!1===i[o].call(r,t,e,n))return}catch(t){z(t,r,"errorCaptured hook")}}z(t,e,n)}function z(t,e,n){if(or.errorHandler)try{return or.errorHandler.call(null,t,e,n)}catch(t){J(t,null,"config.errorHandler")}J(t,e,n)}function J(t,e,n){if(!cr&&!ur||"undefined"==typeof console)throw t;console.error(t)}function q(){Br=!1;var t=Ur.slice(0);Ur.length=0;for(var e=0;e<t.length;e++)t[e]()}function K(t,e){var n;if(Ur.push(function(){if(t)try{t.call(e)}catch(t){V(t,e,"nextTick")}else n&&n(e)}),Br||(Br=!0,Hr?jr():Pr()),!t&&"undefined"!=typeof Promise)return new Promise(function(t){n=t})}function Z(t){(function t(e,n){var r,i,o=Array.isArray(e);if(!(!o&&!s(e)||Object.isFrozen(e)||e instanceof Mr)){if(e.__ob__){var a=e.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(o)for(r=e.length;r--;)t(e[r],n);else for(i=Object.keys(e),r=i.length;r--;)t(e[i[r]],n)}})(t,Jr),Jr.clear()}function Y(t){function e(){var t=arguments,n=e.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var r=n.slice(),i=0;i<r.length;i++)r[i].apply(null,t)}return e.fns=t,e}function X(t,e,n,i,o){var a,s,c,u;for(a in t)s=t[a],c=e[a],u=qr(a),r(s)||(r(c)?(r(s.fns)&&(s=t[a]=Y(s)),n(u.name,s,u.once,u.capture,u.passive,u.params)):s!==c&&(c.fns=s,t[a]=c));for(a in e)r(t[a])&&i((u=qr(a)).name,e[a],u.capture)}function Q(t,e,n){function a(){n.apply(this,arguments),p(s.fns,a)}t instanceof Mr&&(t=t.data.hook||(t.data.hook={}));var s,c=t[e];r(c)?s=Y([a]):i(c.fns)&&o(c.merged)?(s=c).fns.push(a):s=Y([c,a]),s.merged=!0,t[e]=s}function tt(t,e,n,r,o){if(i(e)){if(v(e,n))return t[n]=e[n],o||delete e[n],!0;if(v(e,r))return t[n]=e[r],o||delete e[r],!0}return!1}function et(t){return a(t)?[M(t)]:Array.isArray(t)?function t(e,n){var s,c,u,l,f=[];for(s=0;s<e.length;s++)c=e[s],r(c)||"boolean"==typeof c||(u=f.length-1,l=f[u],Array.isArray(c)?c.length>0&&(c=t(c,(n||"")+"_"+s),nt(c[0])&&nt(l)&&(f[u]=M(l.text+c[0].text),c.shift()),f.push.apply(f,c)):a(c)?nt(l)?f[u]=M(l.text+c):""!==c&&f.push(M(c)):nt(c)&&nt(l)?f[u]=M(l.text+c.text):(o(e._isVList)&&i(c.tag)&&r(c.key)&&i(n)&&(c.key="__vlist"+n+"_"+s+"__"),f.push(c)));return f}(t):void 0}function nt(t){return i(t)&&i(t.text)&&function(t){return!1===t}(t.isComment)}function rt(t,e){return(t.__esModule||wr&&"Module"===t[Symbol.toStringTag])&&(t=t.default),s(t)?e.extend(t):t}function it(t){return t.isComment&&t.asyncFactory}function ot(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(i(n)&&(i(n.componentOptions)||it(n)))return n}}function at(t,e,n){n?zr.$once(t,e):zr.$on(t,e)}function st(t,e){zr.$off(t,e)}function ct(t,e,n){zr=t,X(e,n||{},at,st),zr=void 0}function ut(t,e){var n={};if(!t)return n;for(var r=0,i=t.length;r<i;r++){var o=t[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==e&&o.fnContext!==e||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===o.tag?c.push.apply(c,o.children||[]):c.push(o)}}for(var u in n)n[u].every(lt)&&delete n[u];return n}function lt(t){return t.isComment&&!t.asyncFactory||" "===t.text}function ft(t,e){e=e||{};for(var n=0;n<t.length;n++)Array.isArray(t[n])?ft(t[n],e):e[t[n].key]=t[n].fn;return e}function dt(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function pt(t,e){if(e){if(t._directInactive=!1,dt(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)pt(t.$children[n]);vt(t,"activated")}}function vt(t,e){A();var n=t.$options[e];if(n)for(var r=0,i=n.length;r<i;r++)try{n[r].call(t)}catch(n){V(n,t,e+" hook")}t._hasHookEvent&&t.$emit("hook:"+e),I()}function mt(){var t,e;for(ti=!0,Zr.sort(function(t,e){return t.id-e.id}),ei=0;ei<Zr.length;ei++)e=(t=Zr[ei]).id,Xr[e]=null,t.run();var n=Yr.slice(),r=Zr.slice();ei=Zr.length=Yr.length=0,Xr={},Qr=ti=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,pt(t[e],!0)}(n),function(t){for(var e=t.length;e--;){var n=t[e],r=n.vm;r._watcher===n&&r._isMounted&&vt(r,"updated")}}(r),Cr&&or.devtools&&Cr.emit("flush")}function ht(t,e,n){ii.get=function(){return this[e][n]},ii.set=function(t){this[e][n]=t},Object.defineProperty(t,n,ii)}function _t(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[];for(var o in!t.$parent||T(!1),e)!function(o){i.push(o);var a=B(o,e,n,t);D(r,o,a),o in t||ht(t,"_props",o)}(o);T(!0)}(t,e.props),e.methods&&function(t,e){for(var n in t.$options.props,e)t[n]=null==e[n]?y:Qn(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;c(e=t._data="function"==typeof e?function(t,e){A();try{return t.call(e,e)}catch(t){return V(t,e,"data()"),{}}finally{I()}}(e,t):e||{})||(e={});for(var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);i--;){var o=n[i];r&&v(r,o)||w(o)||ht(t,"_data",o)}$(e,!0)}(t):$(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=Er();for(var i in e){var o=e[i],a="function"==typeof o?o:o.get;r||(n[i]=new ri(t,a||y,y,oi)),i in t||gt(t,i,o)}}(t,e.computed),e.watch&&e.watch!==hr&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)bt(t,n,r[i]);else bt(t,n,r)}}(t,e.watch)}function gt(t,e,n){var r=!Er();"function"==typeof n?(ii.get=r?yt(e):n,ii.set=y):(ii.get=n.get?r&&!1!==n.cache?yt(e):n.get:y,ii.set=n.set?n.set:y),Object.defineProperty(t,e,ii)}function yt(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),Ar.target&&e.depend(),e.value}}function bt(t,e,n,r){return c(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}function Et(t,e){if(t){for(var n=Object.create(null),r=wr?Reflect.ownKeys(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}):Object.keys(t),i=0;i<r.length;i++){for(var o=r[i],a=t[o].from,s=e;s;){if(s._provided&&v(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s&&"default"in t[o]){var c=t[o].default;n[o]="function"==typeof c?c.call(e):c}}return n}}function Ct(t,e){var n,r,o,a,c;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,o=t.length;r<o;r++)n[r]=e(t[r],r);else if("number"==typeof t)for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r);else if(s(t))for(a=Object.keys(t),n=new Array(a.length),r=0,o=a.length;r<o;r++)c=a[r],n[r]=e(t[c],c,r);return i(n)&&(n._isVList=!0),n}function wt(t,e,n,r){var i,o=this.$scopedSlots[t];if(o)n=n||{},r&&(n=_(_({},r),n)),i=o(n)||e;else{var a=this.$slots[t];a&&(a._rendered=!0),i=a||e}var s=n&&n.slot;return s?this.$createElement("template",{slot:s},i):i}function Ot(t){return U(this.$options,"filters",t)||er}function St(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function At(t,e,n,r,i){var o=or.keyCodes[e]||n;return i&&r&&!or.keyCodes[e]?St(i,r):o?St(o,t):r?Xn(r)!==e:void 0}function It(t,e,n,r,i){var o;if(n&&s(n))for(var a in Array.isArray(n)&&(n=g(n)),n)!function(a){if("class"===a||"style"===a||zn(a))o=t;else{var s=t.attrs&&t.attrs.type;o=r||or.mustUseProp(e,s,a)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}a in o||(o[a]=n[a],!i)||((t.on||(t.on={}))["update:"+a]=function(t){n[a]=t})}(a);return t}function Mt(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e?r:(Tt(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),"__static__"+t,!1),r)}function xt(t,e,n){return Tt(t,"__once__"+e+(n?"_"+n:""),!0),t}function Tt(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&$t(t[r],e+"_"+r,n);else $t(t,e,n)}function $t(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Dt(t,e){if(e&&c(e)){var n=t.on=t.on?_({},t.on):{};for(var r in e){var i=n[r],o=e[r];n[r]=i?[].concat(i,o):o}}return t}function kt(t){t._o=xt,t._n=f,t._s=l,t._l=Ct,t._t=wt,t._q=b,t._i=E,t._m=Mt,t._f=Ot,t._k=At,t._b=It,t._v=M,t._e=Tr,t._u=ft,t._g=Dt}function Lt(t,e,n,r,i){var a,s=i.options;v(r,"_uid")?(a=Object.create(r))._original=r:(a=r,r=r._original);var c=o(s._compiled),u=!c;this.data=t,this.props=e,this.children=n,this.parent=r,this.listeners=t.on||Gn,this.injections=Et(s.inject,r),this.slots=function(){return ut(n,r)},c&&(this.$options=s,this.$slots=this.slots(),this.$scopedSlots=t.scopedSlots||Gn),s._scopeId?this._c=function(t,e,n,i){var o=Ft(a,t,e,n,i,u);return o&&!Array.isArray(o)&&(o.fnScopeId=s._scopeId,o.fnContext=r),o}:this._c=function(t,e,n,r){return Ft(a,t,e,n,r,u)}}function Rt(t,e,n,r){var i=x(t);return i.fnContext=n,i.fnOptions=r,e.slot&&((i.data||(i.data={})).slot=e.slot),i}function Nt(t,e){for(var n in e)t[Kn(n)]=e[n]}function Pt(t,e,n,a,c){if(!r(t)){var u=n.$options._base;if(s(t)&&(t=u.extend(t)),"function"==typeof t){var l;if(r(t.cid)&&void 0===(t=function(t,e,n){if(o(t.error)&&i(t.errorComp))return t.errorComp;if(i(t.resolved))return t.resolved;if(o(t.loading)&&i(t.loadingComp))return t.loadingComp;if(!i(t.contexts)){var a=t.contexts=[n],c=!0,u=function(){for(var t=0,e=a.length;t<e;t++)a[t].$forceUpdate()},l=C(function(n){t.resolved=rt(n,e),c||u()}),f=C(function(e){i(t.errorComp)&&(t.error=!0,u())}),d=t(l,f);return s(d)&&("function"==typeof d.then?r(t.resolved)&&d.then(l,f):i(d.component)&&"function"==typeof d.component.then&&(d.component.then(l,f),i(d.error)&&(t.errorComp=rt(d.error,e)),i(d.loading)&&(t.loadingComp=rt(d.loading,e),0===d.delay?t.loading=!0:setTimeout(function(){r(t.resolved)&&r(t.error)&&(t.loading=!0,u())},d.delay||200)),i(d.timeout)&&setTimeout(function(){r(t.resolved)&&f(null)},d.timeout))),c=!1,t.loading?t.loadingComp:t.resolved}t.contexts.push(n)}(l=t,u,n)))return function(t,e,n,r,i){var o=Tr();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:r,tag:i},o}(l,e,n,a,c);e=e||{},Gt(t),i(e.model)&&function(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.props||(e.props={}))[n]=e.model.value;var o=e.on||(e.on={});i(o[r])?o[r]=[e.model.callback].concat(o[r]):o[r]=e.model.callback}(t.options,e);var f=function(t,e,n){var o=e.options.props;if(!r(o)){var a={},s=t.attrs,c=t.props;if(i(s)||i(c))for(var u in o){var l=Xn(u);tt(a,c,u,l,!0)||tt(a,s,u,l,!1)}return a}}(e,t);if(o(t.options.functional))return function(t,e,n,r,o){var a=t.options,s={},c=a.props;if(i(c))for(var u in c)s[u]=B(u,c,e||Gn);else i(n.attrs)&&Nt(s,n.attrs),i(n.props)&&Nt(s,n.props);var l=new Lt(n,s,o,r,t),f=a.render.call(null,l._c,l);if(f instanceof Mr)return Rt(f,n,l.parent,a);if(Array.isArray(f)){for(var d=et(f)||[],p=new Array(d.length),v=0;v<d.length;v++)p[v]=Rt(d[v],n,l.parent,a);return p}}(t,f,e,n,a);var d=e.on;if(e.on=e.nativeOn,o(t.options.abstract)){var p=e.slot;e={},p&&(e.slot=p)}!function(t){for(var e=t.hook||(t.hook={}),n=0;n<si.length;n++){var r=si[n];e[r]=ai[r]}}(e);var v=t.options.name||c;return new Mr("vue-component-"+t.cid+(v?"-"+v:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:f,listeners:d,tag:c,children:a},l)}}}function jt(t,e,n,r){var o={_isComponent:!0,parent:e,_parentVnode:t,_parentElm:n||null,_refElm:r||null},a=t.data.inlineTemplate;return i(a)&&(o.render=a.render,o.staticRenderFns=a.staticRenderFns),new t.componentOptions.Ctor(o)}function Ft(t,e,n,r,i,s){return(Array.isArray(n)||a(n))&&(i=r,r=n,n=void 0),o(s)&&(i=ui),Ut(t,e,n,r,i)}function Ut(t,e,n,r,o){if(i(n)&&i(n.__ob__))return Tr();if(i(n)&&i(n.is)&&(e=n.is),!e)return Tr();var a,s,c;(Array.isArray(r)&&"function"==typeof r[0]&&((n=n||{}).scopedSlots={default:r[0]},r.length=0),o===ui?r=et(r):o===ci&&(r=function(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}(r)),"string"==typeof e)?(s=t.$vnode&&t.$vnode.ns||or.getTagNamespace(e),a=or.isReservedTag(e)?new Mr(or.parsePlatformTagName(e),n,r,void 0,void 0,t):i(c=U(t.$options,"components",e))?Pt(c,n,t,r,e):new Mr(e,n,r,void 0,void 0,t)):a=Pt(e,n,t,r);return Array.isArray(a)?a:i(a)?(i(s)&&Bt(a,s),i(n)&&Ht(n),a):Tr()}function Bt(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),i(t.children))for(var a=0,s=t.children.length;a<s;a++){var c=t.children[a];i(c.tag)&&(r(c.ns)||o(n)&&"svg"!==c.tag)&&Bt(c,e,n)}}function Ht(t){s(t.style)&&Z(t.style),s(t.class)&&Z(t.class)}function Gt(t){var e=t.options;if(t.super){var n=Gt(t.super);if(n!==t.superOptions){t.superOptions=n;var r=function(t){var e,n=t.options,r=t.extendOptions,i=t.sealedOptions;for(var o in n)n[o]!==i[o]&&(e||(e={}),e[o]=Wt(n[o],r[o],i[o]));return e}(t);r&&_(t.extendOptions,r),(e=t.options=F(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function Wt(t,e,n){if(Array.isArray(t)){var r=[];n=Array.isArray(n)?n:[n],e=Array.isArray(e)?e:[e];for(var i=0;i<t.length;i++)(e.indexOf(t[i])>=0||n.indexOf(t[i])<0)&&r.push(t[i]);return r}return t}function Vt(t){this._init(t)}function zt(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name,a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=F(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)ht(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)gt(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,rr.forEach(function(t){a[t]=n[t]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=_({},a.options),i[r]=a,a}}function Jt(t){return t&&(t.Ctor.options.name||t.tag)}function qt(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!function(t){return"[object RegExp]"===Wn.call(t)}(t)&&t.test(e)}function Kt(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var a=n[o];if(a){var s=Jt(a.componentOptions);s&&!e(s)&&Zt(n,o,r,i)}}}function Zt(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,p(n,e)}function Yt(t){for(var e=t.data,n=t,r=t;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Xt(r.data,e));for(;i(n=n.parent);)n&&n.data&&(e=Xt(e,n.data));return function(t,e){return i(t)||i(e)?Qt(t,te(e)):""}(e.staticClass,e.class)}function Xt(t,e){return{staticClass:Qt(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function Qt(t,e){return t?e?t+" "+e:t:e||""}function te(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,o=t.length;r<o;r++)i(e=te(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):s(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}function ee(t){return Di(t)?"svg":"math"===t?"math":void 0}function ne(t){return"string"==typeof t?document.querySelector(t)||document.createElement("div"):t}function re(t,e){var n=t.data.ref;if(i(n)){var r=t.context,o=t.componentInstance||t.elm,a=r.$refs;e?Array.isArray(a[n])?p(a[n],o):a[n]===o&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}function ie(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&i(t.data)===i(e.data)&&function(t,e){if("input"!==t.tag)return!0;var n,r=i(n=t.data)&&i(n=n.attrs)&&n.type,o=i(n=e.data)&&i(n=n.attrs)&&n.type;return r===o||Ri(r)&&Ri(o)}(t,e)||o(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&r(e.asyncFactory.error))}function oe(t,e,n){var r,o,a={};for(r=e;r<=n;++r)i(o=t[r].key)&&(a[o]=r);return a}function ae(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,r,i,o=t===ji,a=e===ji,s=se(t.data.directives,t.context),c=se(e.data.directives,e.context),u=[],l=[];for(n in c)r=s[n],i=c[n],r?(i.oldValue=r.value,ue(i,"update",e,t),i.def&&i.def.componentUpdated&&l.push(i)):(ue(i,"bind",e,t),i.def&&i.def.inserted&&u.push(i));if(u.length){var f=function(){for(var n=0;n<u.length;n++)ue(u[n],"inserted",e,t)};o?Q(e,"insert",f):f()}if(l.length&&Q(e,"postpatch",function(){for(var n=0;n<l.length;n++)ue(l[n],"componentUpdated",e,t)}),!o)for(n in s)c[n]||ue(s[n],"unbind",t,t,a)}(t,e)}function se(t,e){var n,r,i=Object.create(null);if(!t)return i;for(n=0;n<t.length;n++)(r=t[n]).modifiers||(r.modifiers=Bi),i[ce(r)]=r,r.def=U(e.$options,"directives",r.name);return i}function ce(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function ue(t,e,n,r,i){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,r,i)}catch(r){V(r,n.context,"directive "+t.name+" "+e+" hook")}}function le(t,e){var n=e.componentOptions;if(!(i(n)&&!1===n.Ctor.options.inheritAttrs||r(t.data.attrs)&&r(e.data.attrs))){var o,a,s=e.elm,c=t.data.attrs||{},u=e.data.attrs||{};for(o in i(u.__ob__)&&(u=e.data.attrs=_({},u)),u)a=u[o],c[o]!==a&&fe(s,o,a);for(o in(dr||vr)&&u.value!==c.value&&fe(s,"value",u.value),c)r(u[o])&&(Ii(o)?s.removeAttributeNS(Ai,Mi(o)):Oi(o)||s.removeAttribute(o))}}function fe(t,e,n){t.tagName.indexOf("-")>-1?de(t,e,n):Si(e)?xi(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Oi(e)?t.setAttribute(e,xi(n)||"false"===n?"false":"true"):Ii(e)?xi(n)?t.removeAttributeNS(Ai,Mi(e)):t.setAttributeNS(Ai,e,n):de(t,e,n)}function de(t,e,n){if(xi(n))t.removeAttribute(e);else{if(dr&&!pr&&"TEXTAREA"===t.tagName&&"placeholder"===e&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}function pe(t,e){var n=e.elm,o=e.data,a=t.data;if(!(r(o.staticClass)&&r(o.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=Yt(e),c=n._transitionClasses;i(c)&&(s=Qt(s,te(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}function ve(t){function e(){(a||(a=[])).push(t.slice(v,i).trim()),v=i+1}var n,r,i,o,a,s=!1,c=!1,u=!1,l=!1,f=0,d=0,p=0,v=0;for(i=0;i<t.length;i++)if(r=n,n=t.charCodeAt(i),s)39===n&&92!==r&&(s=!1);else if(c)34===n&&92!==r&&(c=!1);else if(u)96===n&&92!==r&&(u=!1);else if(l)47===n&&92!==r&&(l=!1);else if(124!==n||124===t.charCodeAt(i+1)||124===t.charCodeAt(i-1)||f||d||p){switch(n){case 34:c=!0;break;case 39:s=!0;break;case 96:u=!0;break;case 40:p++;break;case 41:p--;break;case 91:d++;break;case 93:d--;break;case 123:f++;break;case 125:f--}if(47===n){for(var m=i-1,h=void 0;m>=0&&" "===(h=t.charAt(m));m--);h&&Vi.test(h)||(l=!0)}}else void 0===o?(v=i+1,o=t.slice(0,i).trim()):e();if(void 0===o?o=t.slice(0,i).trim():0!==v&&e(),a)for(i=0;i<a.length;i++)o=me(o,a[i]);return o}function me(t,e){var n=e.indexOf("(");if(n<0)return'_f("'+e+'")('+t+")";var r=e.slice(0,n),i=e.slice(n+1);return'_f("'+r+'")('+t+(")"!==i?","+i:i)}function he(t){console.error("[Vue compiler]: "+t)}function _e(t,e){return t?t.map(function(t){return t[e]}).filter(function(t){return t}):[]}function ge(t,e,n){(t.props||(t.props=[])).push({name:e,value:n}),t.plain=!1}function ye(t,e,n){(t.attrs||(t.attrs=[])).push({name:e,value:n}),t.plain=!1}function be(t,e,n){t.attrsMap[e]=n,t.attrsList.push({name:e,value:n})}function Ee(t,e,n,r,i,o){(t.directives||(t.directives=[])).push({name:e,rawName:n,value:r,arg:i,modifiers:o}),t.plain=!1}function Ce(t,e,n,r,i,o){var a;(r=r||Gn).capture&&(delete r.capture,e="!"+e),r.once&&(delete r.once,e="~"+e),r.passive&&(delete r.passive,e="&"+e),"click"===e&&(r.right?(e="contextmenu",delete r.right):r.middle&&(e="mouseup")),r.native?(delete r.native,a=t.nativeEvents||(t.nativeEvents={})):a=t.events||(t.events={});var s={value:n.trim()};r!==Gn&&(s.modifiers=r);var c=a[e];Array.isArray(c)?i?c.unshift(s):c.push(s):a[e]=c?i?[s,c]:[c,s]:s,t.plain=!1}function we(t,e,n){var r=Oe(t,":"+e)||Oe(t,"v-bind:"+e);if(null!=r)return ve(r);if(!1!==n){var i=Oe(t,e);if(null!=i)return JSON.stringify(i)}}function Oe(t,e,n){var r;if(null!=(r=t.attrsMap[e]))for(var i=t.attrsList,o=0,a=i.length;o<a;o++)if(i[o].name===e){i.splice(o,1);break}return n&&delete t.attrsMap[e],r}function Se(t,e,n){var r=n||{},i=r.number,o="$$v";r.trim&&(o="(typeof $$v === 'string'? $$v.trim(): $$v)"),i&&(o="_n("+o+")");var a=Ae(e,o);t.model={value:"("+e+")",expression:'"'+e+'"',callback:"function ($$v) {"+a+"}"}}function Ae(t,e){var n=function(t){if(t=t.trim(),pi=t.length,t.indexOf("[")<0||t.lastIndexOf("]")<pi-1)return(hi=t.lastIndexOf("."))>-1?{exp:t.slice(0,hi),key:'"'+t.slice(hi+1)+'"'}:{exp:t,key:null};for(vi=t,hi=_i=gi=0;!Me();)xe(mi=Ie())?$e(mi):91===mi&&Te(mi);return{exp:t.slice(0,_i),key:t.slice(_i+1,gi)}}(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function Ie(){return vi.charCodeAt(++hi)}function Me(){return hi>=pi}function xe(t){return 34===t||39===t}function Te(t){var e=1;for(_i=hi;!Me();)if(xe(t=Ie()))$e(t);else if(91===t&&e++,93===t&&e--,0===e){gi=hi;break}}function $e(t){for(var e=t;!Me()&&(t=Ie())!==e;);}function De(t){if(i(t[zi])){var e=dr?"change":"input";t[e]=[].concat(t[zi],t[e]||[]),delete t[zi]}i(t[Ji])&&(t.change=[].concat(t[Ji],t.change||[]),delete t[Ji])}function ke(t,e,n,r,i){e=function(t){return t._withTask||(t._withTask=function(){Hr=!0;var e=t.apply(null,arguments);return Hr=!1,e})}(e),n&&(e=function(t,e,n){var r=yi;return function i(){null!==t.apply(null,arguments)&&Le(e,i,n,r)}}(e,t,r)),yi.addEventListener(t,e,_r?{capture:r,passive:i}:r)}function Le(t,e,n,r){(r||yi).removeEventListener(t,e._withTask||e,n)}function Re(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};yi=e.elm,De(n),X(n,i,ke,Le,e.context),yi=void 0}}function Ne(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,o,a=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};for(n in i(c.__ob__)&&(c=e.data.domProps=_({},c)),s)r(c[n])&&(a[n]="");for(n in c){if(o=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),o===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n){a._value=o;var u=r(o)?"":String(o);Pe(a,u)&&(a.value=u)}else a[n]=o}}}function Pe(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(i(r)){if(r.lazy)return!1;if(r.number)return f(n)!==f(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}function je(t){var e=Fe(t.style);return t.staticStyle?_(t.staticStyle,e):e}function Fe(t){return Array.isArray(t)?g(t):"string"==typeof t?Zi(t):t}function Ue(t,e){var n=e.data,o=t.data;if(!(r(n.staticStyle)&&r(n.style)&&r(o.staticStyle)&&r(o.style))){var a,s,c=e.elm,u=o.staticStyle,l=o.normalizedStyle||o.style||{},f=u||l,d=Fe(e.data.style)||{};e.data.normalizedStyle=i(d.__ob__)?_({},d):d;var p=function(t,e){var n,r={};if(e)for(var i=t;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=je(i.data))&&_(r,n);(n=je(t.data))&&_(r,n);for(var o=t;o=o.parent;)o.data&&(n=je(o.data))&&_(r,n);return r}(e,!0);for(s in f)r(p[s])&&Qi(c,s,"");for(s in p)(a=p[s])!==f[s]&&Qi(c,s,null==a?"":a)}}function Be(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function He(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Ge(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&_(e,ro(t.name||"v")),_(e,t),e}return"string"==typeof t?ro(t):void 0}}function We(t){fo(function(){fo(t)})}function Ve(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Be(t,e))}function ze(t,e){t._transitionClasses&&p(t._transitionClasses,e),He(t,e)}function Je(t,e,n){var r=qe(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===oo?co:lo,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout(function(){c<a&&u()},o+1),t.addEventListener(s,l)}function qe(t,e){var n,r=window.getComputedStyle(t),i=r[so+"Delay"].split(", "),o=r[so+"Duration"].split(", "),a=Ke(i,o),s=r[uo+"Delay"].split(", "),c=r[uo+"Duration"].split(", "),u=Ke(s,c),l=0,f=0;return e===oo?a>0&&(n=oo,l=a,f=o.length):e===ao?u>0&&(n=ao,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?oo:ao:null)?n===oo?o.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===oo&&po.test(r[so+"Property"])}}function Ke(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return Ze(e)+Ze(t[n])}))}function Ze(t){return 1e3*Number(t.slice(0,-1))}function Ye(t,e){var n=t.elm;i(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var o=Ge(t.data.transition);if(!r(o)&&!i(n._enterCb)&&1===n.nodeType){for(var a=o.css,c=o.type,u=o.enterClass,l=o.enterToClass,d=o.enterActiveClass,p=o.appearClass,v=o.appearToClass,m=o.appearActiveClass,h=o.beforeEnter,_=o.enter,g=o.afterEnter,y=o.enterCancelled,b=o.beforeAppear,E=o.appear,w=o.afterAppear,O=o.appearCancelled,S=o.duration,A=Kr,I=Kr.$vnode;I&&I.parent;)A=(I=I.parent).context;var M=!A._isMounted||!t.isRootInsert;if(!M||E||""===E){var x=M&&p?p:u,T=M&&m?m:d,$=M&&v?v:l,D=M&&b||h,k=M&&"function"==typeof E?E:_,L=M&&w||g,R=M&&O||y,N=f(s(S)?S.enter:S),P=!1!==a&&!pr,j=tn(k),F=n._enterCb=C(function(){P&&(ze(n,$),ze(n,T)),F.cancelled?(P&&ze(n,x),R&&R(n)):L&&L(n),n._enterCb=null});t.data.show||Q(t,"insert",function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),k&&k(n,F)}),D&&D(n),P&&(Ve(n,x),Ve(n,T),We(function(){ze(n,x),F.cancelled||(Ve(n,$),j||(Qe(N)?setTimeout(F,N):Je(n,c,F)))})),t.data.show&&(e&&e(),k&&k(n,F)),P||j||F()}}}function Xe(t,e){function n(){O.cancelled||(t.data.show||((o.parentNode._pending||(o.parentNode._pending={}))[t.key]=t),v&&v(o),b&&(Ve(o,l),Ve(o,p),We(function(){ze(o,l),O.cancelled||(Ve(o,d),E||(Qe(w)?setTimeout(O,w):Je(o,u,O)))})),m&&m(o,O),b||E||O())}var o=t.elm;i(o._enterCb)&&(o._enterCb.cancelled=!0,o._enterCb());var a=Ge(t.data.transition);if(r(a)||1!==o.nodeType)return e();if(!i(o._leaveCb)){var c=a.css,u=a.type,l=a.leaveClass,d=a.leaveToClass,p=a.leaveActiveClass,v=a.beforeLeave,m=a.leave,h=a.afterLeave,_=a.leaveCancelled,g=a.delayLeave,y=a.duration,b=!1!==c&&!pr,E=tn(m),w=f(s(y)?y.leave:y),O=o._leaveCb=C(function(){o.parentNode&&o.parentNode._pending&&(o.parentNode._pending[t.key]=null),b&&(ze(o,d),ze(o,p)),O.cancelled?(b&&ze(o,l),_&&_(o)):(e(),h&&h(o)),o._leaveCb=null});g?g(n):n()}}function Qe(t){return"number"==typeof t&&!isNaN(t)}function tn(t){if(r(t))return!1;var e=t.fns;return i(e)?tn(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function en(t,e){!0!==e.data.show&&Ye(e)}function nn(t,e,n){rn(t,e,n),(dr||vr)&&setTimeout(function(){rn(t,e,n)},0)}function rn(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=t.options.length;s<c;s++)if(a=t.options[s],i)o=E(r,an(a))>-1,a.selected!==o&&(a.selected=o);else if(b(an(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function on(t,e){return e.every(function(e){return!b(e,t)})}function an(t){return"_value"in t?t._value:t.value}function sn(t){t.target.composing=!0}function cn(t){t.target.composing&&(t.target.composing=!1,un(t.target,"input"))}function un(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function ln(t){return!t.componentInstance||t.data&&t.data.transition?t:ln(t.componentInstance._vnode)}function fn(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?fn(ot(e.children)):t}function dn(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[Kn(o)]=i[o];return e}function pn(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function vn(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function mn(t){t.data.newPos=t.elm.getBoundingClientRect()}function hn(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}function _n(t,e){var n=e?na:ea;return t.replace(n,function(t){return ta[t]})}function gn(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:function(t){for(var e={},n=0,r=t.length;n<r;n++)e[t[n].name]=t[n].value;return e}(e),parent:n,children:[]}}function yn(t,e){function n(t){t.pre&&(s=!1),zo(t.tag)&&(c=!1);for(var n=0;n<Vo.length;n++)Vo[n](t,e)}Bo=e.warn||he,zo=e.isPreTag||tr,Jo=e.mustUseProp||tr,qo=e.getTagNamespace||tr,Go=_e(e.modules,"transformNode"),Wo=_e(e.modules,"preTransformNode"),Vo=_e(e.modules,"postTransformNode"),Ho=e.delimiters;var r,i,o=[],a=!1!==e.preserveWhitespace,s=!1,c=!1;return function(t,e){function n(e){l+=e,t=t.substring(e)}function r(t,n,r){var i,s;if(null==n&&(n=l),null==r&&(r=l),t&&(s=t.toLowerCase()),t)for(i=a.length-1;i>=0&&a[i].lowerCasedTag!==s;i--);else i=0;if(i>=0){for(var c=a.length-1;c>=i;c--)e.end&&e.end(a[c].tag,n,r);a.length=i,o=i&&a[i-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,r):"p"===s&&(e.start&&e.start(t,[],!1,n,r),e.end&&e.end(t,n,r))}for(var i,o,a=[],s=e.expectHTML,c=e.isUnaryTag||tr,u=e.canBeLeftOpenTag||tr,l=0;t;){if(i=t,o&&Xo(o)){var f=0,d=o.toLowerCase(),p=Qo[d]||(Qo[d]=new RegExp("([\\s\\S]*?)(</"+d+"[^>]*>)","i")),v=t.replace(p,function(t,n,r){return f=r.length,Xo(d)||"noscript"===d||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),ia(d,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""});l+=t.length-v.length,t=v,r(d,l-f,l)}else{var m=t.indexOf("<");if(0===m){if(jo.test(t)){var h=t.indexOf("--\x3e");if(h>=0){e.shouldKeepComment&&e.comment(t.substring(4,h)),n(h+3);continue}}if(Fo.test(t)){var _=t.indexOf("]>");if(_>=0){n(_+2);continue}}var g=t.match(Po);if(g){n(g[0].length);continue}var y=t.match(No);if(y){var b=l;n(y[0].length),r(y[1],b,l);continue}var E=function(){var e=t.match(Lo);if(e){var r,i,o={tagName:e[1],attrs:[],start:l};for(n(e[0].length);!(r=t.match(Ro))&&(i=t.match($o));)n(i[0].length),o.attrs.push(i);if(r)return o.unarySlash=r[1],n(r[0].length),o.end=l,o}}();if(E){!function(t){var n=t.tagName,i=t.unarySlash;s&&("p"===o&&To(n)&&r(o),u(n)&&o===n&&r(n));for(var l=c(n)||!!i,f=t.attrs.length,d=new Array(f),p=0;p<f;p++){var v=t.attrs[p];Uo&&-1===v[0].indexOf('""')&&(""===v[3]&&delete v[3],""===v[4]&&delete v[4],""===v[5]&&delete v[5]);var m=v[3]||v[4]||v[5]||"",h="a"===n&&"href"===v[1]?e.shouldDecodeNewlinesForHref:e.shouldDecodeNewlines;d[p]={name:v[1],value:_n(m,h)}}l||(a.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:d}),o=n),e.start&&e.start(n,d,l,t.start,t.end)}(E),ia(o,t)&&n(1);continue}}var C=void 0,w=void 0,O=void 0;if(m>=0){for(w=t.slice(m);!(No.test(w)||Lo.test(w)||jo.test(w)||Fo.test(w)||(O=w.indexOf("<",1))<0);)m+=O,w=t.slice(m);C=t.substring(0,m),n(m)}m<0&&(C=t,t=""),e.chars&&C&&e.chars(C)}if(t===i){e.chars&&e.chars(t);break}}r()}(t,{warn:Bo,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,start:function(t,a,u){var l=i&&i.ns||qo(t);dr&&"svg"===l&&(a=function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];va.test(r.name)||(r.name=r.name.replace(ma,""),e.push(r))}return e}(a));var f=gn(t,a,i);l&&(f.ns=l),function(t){return"style"===t.tag||"script"===t.tag&&(!t.attrsMap.type||"text/javascript"===t.attrsMap.type)}(f)&&!Er()&&(f.forbidden=!0);for(var d=0;d<Wo.length;d++)f=Wo[d](f,e)||f;if(s||(function(t){null!=Oe(t,"v-pre")&&(t.pre=!0)}(f),f.pre&&(s=!0)),zo(f.tag)&&(c=!0),s?function(t){var e=t.attrsList.length;if(e)for(var n=t.attrs=new Array(e),r=0;r<e;r++)n[r]={name:t.attrsList[r].name,value:JSON.stringify(t.attrsList[r].value)};else t.pre||(t.plain=!0)}(f):f.processed||(En(f),function(t){var e=Oe(t,"v-if");if(e)t.if=e,Cn(t,{exp:e,block:t});else{null!=Oe(t,"v-else")&&(t.else=!0);var n=Oe(t,"v-else-if");n&&(t.elseif=n)}}(f),function(t){null!=Oe(t,"v-once")&&(t.once=!0)}(f),bn(f,e)),r?o.length||r.if&&(f.elseif||f.else)&&Cn(r,{exp:f.elseif,block:f}):r=f,i&&!f.forbidden)if(f.elseif||f.else)!function(t,e){var n=function(t){for(var e=t.length;e--;){if(1===t[e].type)return t[e];t.pop()}}(e.children);n&&n.if&&Cn(n,{exp:t.elseif,block:t})}(f,i);else if(f.slotScope){i.plain=!1;var p=f.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[p]=f}else i.children.push(f),f.parent=i;u?n(f):(i=f,o.push(f))},end:function(){var t=o[o.length-1],e=t.children[t.children.length-1];e&&3===e.type&&" "===e.text&&!c&&t.children.pop(),o.length-=1,i=o[o.length-1],n(t)},chars:function(t){if(i&&(!dr||"textarea"!==i.tag||i.attrsMap.placeholder!==t)){var e,n=i.children;if(t=c||t.trim()?function(t){return"script"===t.tag||"style"===t.tag}(i)?t:pa(t):a&&n.length?" ":"")!s&&" "!==t&&(e=function(t,e){var n=e?Oo(e):Co;if(n.test(t)){for(var r,i,o,a=[],s=[],c=n.lastIndex=0;r=n.exec(t);){(i=r.index)>c&&(s.push(o=t.slice(c,i)),a.push(JSON.stringify(o)));var u=ve(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=i+r[0].length}return c<t.length&&(s.push(o=t.slice(c)),a.push(JSON.stringify(o))),{expression:a.join("+"),tokens:s}}}(t,Ho))?n.push({type:2,expression:e.expression,tokens:e.tokens,text:t}):" "===t&&n.length&&" "===n[n.length-1].text||n.push({type:3,text:t})}},comment:function(t){i.children.push({type:3,text:t,isComment:!0})}}),r}function bn(t,e){(function(t){var e=we(t,"key");e&&(t.key=e)})(t),t.plain=!t.key&&!t.attrsList.length,function(t){var e=we(t,"ref");e&&(t.ref=e,t.refInFor=function(t){for(var e=t;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}(t))}(t),function(t){if("slot"===t.tag)t.slotName=we(t,"name");else{var e;"template"===t.tag?(e=Oe(t,"scope"),t.slotScope=e||Oe(t,"slot-scope")):(e=Oe(t,"slot-scope"))&&(t.slotScope=e);var n=we(t,"slot");n&&(t.slotTarget='""'===n?'"default"':n,"template"===t.tag||t.slotScope||ye(t,"slot",n))}}(t),function(t){var e;(e=we(t,"is"))&&(t.component=e),null!=Oe(t,"inline-template")&&(t.inlineTemplate=!0)}(t);for(var n=0;n<Go.length;n++)t=Go[n](t,e)||t;!function(t){var e,n,r,i,o,a,s,c=t.attrsList;for(e=0,n=c.length;e<n;e++)if(r=i=c[e].name,o=c[e].value,aa.test(r))if(t.hasBindings=!0,(a=wn(r))&&(r=r.replace(da,"")),fa.test(r))r=r.replace(fa,""),o=ve(o),s=!1,a&&(a.prop&&(s=!0,"innerHtml"===(r=Kn(r))&&(r="innerHTML")),a.camel&&(r=Kn(r)),a.sync&&Ce(t,"update:"+Kn(r),Ae(o,"$event"))),s||!t.component&&Jo(t.tag,t.attrsMap.type,r)?ge(t,r,o):ye(t,r,o);else if(oa.test(r))r=r.replace(oa,""),Ce(t,r,o,a,!1);else{var u=(r=r.replace(aa,"")).match(la),l=u&&u[1];l&&(r=r.slice(0,-(l.length+1))),Ee(t,r,i,o,l,a)}else ye(t,r,JSON.stringify(o)),!t.component&&"muted"===r&&Jo(t.tag,t.attrsMap.type,r)&&ge(t,r,"true")}(t)}function En(t){var e;if(e=Oe(t,"v-for")){var n=function(t){var e=t.match(sa);if(e){var n={};n.for=e[2].trim();var r=e[1].trim().replace(ua,""),i=r.match(ca);return i?(n.alias=r.replace(ca,""),n.iterator1=i[1].trim(),i[2]&&(n.iterator2=i[2].trim())):n.alias=r,n}}(e);n&&_(t,n)}}function Cn(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function wn(t){var e=t.match(da);if(e){var n={};return e.forEach(function(t){n[t.slice(1)]=!0}),n}}function On(t){return gn(t.tag,t.attrsList.slice(),t.parent)}function Sn(t,e){t&&(Ko=ga(e.staticKeys||""),Zo=e.isReservedTag||tr,function t(e){if(e.static=function(t){return 2!==t.type&&(3===t.type||!(!t.pre&&(t.hasBindings||t.if||t.for||Vn(t.tag)||!Zo(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(Ko))))}(e),1===e.type){if(!Zo(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var n=0,r=e.children.length;n<r;n++){var i=e.children[n];t(i),i.static||(e.static=!1)}if(e.ifConditions)for(var o=1,a=e.ifConditions.length;o<a;o++){var s=e.ifConditions[o].block;t(s),s.static||(e.static=!1)}}}(t),function t(e,n){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=n),e.static&&e.children.length&&(1!==e.children.length||3!==e.children[0].type))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var r=0,i=e.children.length;r<i;r++)t(e.children[r],n||!!e.for);if(e.ifConditions)for(var o=1,a=e.ifConditions.length;o<a;o++)t(e.ifConditions[o].block,n)}}(t,!1))}function An(t,e,n){var r=e?"nativeOn:{":"on:{";for(var i in t)r+='"'+i+'":'+In(i,t[i])+",";return r.slice(0,-1)+"}"}function In(t,e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return In(t,e)}).join(",")+"]";var n=ba.test(e.value),r=ya.test(e.value);if(e.modifiers){var i="",o="",a=[];for(var s in e.modifiers)if(Oa[s])o+=Oa[s],Ea[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;o+=wa(["ctrl","shift","alt","meta"].filter(function(t){return!c[t]}).map(function(t){return"$event."+t+"Key"}).join("||"))}else a.push(s);return a.length&&(i+=function(t){return"if(!('button' in $event)&&"+t.map(Mn).join("&&")+")return null;"}(a)),o&&(i+=o),"function($event){"+i+(n?"return "+e.value+"($event)":r?"return ("+e.value+")($event)":e.value)+"}"}return n||r?e.value:"function($event){"+e.value+"}"}function Mn(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=Ea[t],r=Ca[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}function xn(t,e){var n=new Aa(e);return{render:"with(this){return "+(t?Tn(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Tn(t,e){if(t.staticRoot&&!t.staticProcessed)return $n(t,e);if(t.once&&!t.onceProcessed)return Dn(t,e);if(t.for&&!t.forProcessed)return function(t,e,n,r){var i=t.for,o=t.alias,a=t.iterator1?","+t.iterator1:"",s=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,(r||"_l")+"(("+i+"),function("+o+a+s+"){return "+(n||Tn)(t,e)+"})"}(t,e);if(t.if&&!t.ifProcessed)return kn(t,e);if("template"!==t.tag||t.slotTarget){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',r=Nn(t,e),i="_t("+n+(r?","+r:""),o=t.attrs&&"{"+t.attrs.map(function(t){return Kn(t.name)+":"+t.value}).join(",")+"}",a=t.attrsMap["v-bind"];return!o&&!a||r||(i+=",null"),o&&(i+=","+o),a&&(i+=(o?"":",null")+","+a),i+")"}(t,e);var n;if(t.component)n=function(t,e,n){var r=e.inlineTemplate?null:Nn(e,n,!0);return"_c("+t+","+Ln(e,n)+(r?","+r:"")+")"}(t.component,t,e);else{var r=t.plain?void 0:Ln(t,e),i=t.inlineTemplate?null:Nn(t,e,!0);n="_c('"+t.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o<e.transforms.length;o++)n=e.transforms[o](t,n);return n}return Nn(t,e)||"void 0"}function $n(t,e){return t.staticProcessed=!0,e.staticRenderFns.push("with(this){return "+Tn(t,e)+"}"),"_m("+(e.staticRenderFns.length-1)+(t.staticInFor?",true":"")+")"}function Dn(t,e){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return kn(t,e);if(t.staticInFor){for(var n="",r=t.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o("+Tn(t,e)+","+e.onceId+++","+n+")":Tn(t,e)}return $n(t,e)}function kn(t,e,n,r){return t.ifProcessed=!0,function t(e,n,r,i){function o(t){return r?r(t,n):t.once?Dn(t,n):Tn(t,n)}if(!e.length)return i||"_e()";var a=e.shift();return a.exp?"("+a.exp+")?"+o(a.block)+":"+t(e,n,r,i):""+o(a.block)}(t.ifConditions.slice(),e,n,r)}function Ln(t,e){var n="{",r=function(t,e){var n=t.directives;if(n){var r,i,o,a,s="directives:[",c=!1;for(r=0,i=n.length;r<i;r++){o=n[r],a=!0;var u=e.directives[o.name];u&&(a=!!u(t,o,e.warn)),a&&(c=!0,s+='{name:"'+o.name+'",rawName:"'+o.rawName+'"'+(o.value?",value:("+o.value+"),expression:"+JSON.stringify(o.value):"")+(o.arg?',arg:"'+o.arg+'"':"")+(o.modifiers?",modifiers:"+JSON.stringify(o.modifiers):"")+"},")}return c?s.slice(0,-1)+"]":void 0}}(t,e);r&&(n+=r+","),t.key&&(n+="key:"+t.key+","),t.ref&&(n+="ref:"+t.ref+","),t.refInFor&&(n+="refInFor:true,"),t.pre&&(n+="pre:true,"),t.component&&(n+='tag:"'+t.tag+'",');for(var i=0;i<e.dataGenFns.length;i++)n+=e.dataGenFns[i](t);if(t.attrs&&(n+="attrs:{"+Fn(t.attrs)+"},"),t.props&&(n+="domProps:{"+Fn(t.props)+"},"),t.events&&(n+=An(t.events,!1,e.warn)+","),t.nativeEvents&&(n+=An(t.nativeEvents,!0,e.warn)+","),t.slotTarget&&!t.slotScope&&(n+="slot:"+t.slotTarget+","),t.scopedSlots&&(n+=function(t,e){return"scopedSlots:_u(["+Object.keys(t).map(function(n){return Rn(n,t[n],e)}).join(",")+"])"}(t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var o=function(t,e){var n=t.children[0];if(1===n.type){var r=xn(n,e.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(t){return"function(){"+t+"}"}).join(",")+"]}"}}(t,e);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function Rn(t,e,n){return e.for&&!e.forProcessed?function(t,e,n){var r=e.for,i=e.alias,o=e.iterator1?","+e.iterator1:"",a=e.iterator2?","+e.iterator2:"";return e.forProcessed=!0,"_l(("+r+"),function("+i+o+a+"){return "+Rn(t,e,n)+"})"}(t,e,n):"{key:"+t+",fn:function("+String(e.slotScope)+"){return "+("template"===e.tag?e.if?e.if+"?"+(Nn(e,n)||"undefined")+":undefined":Nn(e,n)||"undefined":Tn(e,n))+"}}"}function Nn(t,e,n,r,i){var o=t.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag)return(r||Tn)(a,e);var s=n?function(t,e){for(var n=0,r=0;r<t.length;r++){var i=t[r];if(1===i.type){if(Pn(i)||i.ifConditions&&i.ifConditions.some(function(t){return Pn(t.block)})){n=2;break}(e(i)||i.ifConditions&&i.ifConditions.some(function(t){return e(t.block)}))&&(n=1)}}return n}(o,e.maybeComponent):0,c=i||jn;return"["+o.map(function(t){return c(t,e)}).join(",")+"]"+(s?","+s:"")}}function Pn(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function jn(t,e){return 1===t.type?Tn(t,e):3===t.type&&t.isComment?function(t){return"_e("+JSON.stringify(t.text)+")"}(t):function(t){return"_v("+(2===t.type?t.expression:Un(JSON.stringify(t.text)))+")"}(t)}function Fn(t){for(var e="",n=0;n<t.length;n++){var r=t[n];e+='"'+r.name+'":'+Un(r.value)+","}return e.slice(0,-1)}function Un(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function Bn(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),y}}function Hn(t){return(Yo=Yo||document.createElement("div")).innerHTML=t?'<a href="\n"/>':'<div a="\n"/>',Yo.innerHTML.indexOf("&#10;")>0}var Gn=Object.freeze({}),Wn=Object.prototype.toString,Vn=d("slot,component",!0),zn=d("key,ref,slot,slot-scope,is"),Jn=Object.prototype.hasOwnProperty,qn=/-(\w)/g,Kn=m(function(t){return t.replace(qn,function(t,e){return e?e.toUpperCase():""})}),Zn=m(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),Yn=/\B([A-Z])/g,Xn=m(function(t){return t.replace(Yn,"-$1").toLowerCase()}),Qn=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n},tr=function(t,e,n){return!1},er=function(t){return t},nr="data-server-rendered",rr=["component","directive","filter"],ir=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],or={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:tr,isReservedAttr:tr,isUnknownElement:tr,getTagNamespace:y,parsePlatformTagName:er,mustUseProp:tr,_lifecycleHooks:ir},ar=/[^\w.$]/,sr="__proto__"in{},cr="undefined"!=typeof window,ur="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,lr=ur&&WXEnvironment.platform.toLowerCase(),fr=cr&&window.navigator.userAgent.toLowerCase(),dr=fr&&/msie|trident/.test(fr),pr=fr&&fr.indexOf("msie 9.0")>0,vr=fr&&fr.indexOf("edge/")>0,mr=(fr&&fr.indexOf("android"),fr&&/iphone|ipad|ipod|ios/.test(fr)||"ios"===lr),hr=(fr&&/chrome\/\d+/.test(fr),{}.watch),_r=!1;if(cr)try{var gr={};Object.defineProperty(gr,"passive",{get:function(){_r=!0}}),window.addEventListener("test-passive",null,gr)}catch(t){}var yr,br,Er=function(){return void 0===yr&&(yr=!cr&&!ur&&void 0!==t&&"server"===t.process.env.VUE_ENV),yr},Cr=cr&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,wr="undefined"!=typeof Symbol&&S(Symbol)&&"undefined"!=typeof Reflect&&S(Reflect.ownKeys);br="undefined"!=typeof Set&&S(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var Or=y,Sr=0,Ar=function(){this.id=Sr++,this.subs=[]};Ar.prototype.addSub=function(t){this.subs.push(t)},Ar.prototype.removeSub=function(t){p(this.subs,t)},Ar.prototype.depend=function(){Ar.target&&Ar.target.addDep(this)},Ar.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e<n;e++)t[e].update()},Ar.target=null;var Ir=[],Mr=function(t,e,n,r,i,o,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},xr={child:{configurable:!0}};xr.child.get=function(){return this.componentInstance},Object.defineProperties(Mr.prototype,xr);var Tr=function(t){void 0===t&&(t="");var e=new Mr;return e.text=t,e.isComment=!0,e},$r=Array.prototype,Dr=Object.create($r);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=$r[t];O(Dr,t,function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var i,o=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&a.observeArray(i),a.dep.notify(),o})});var kr=Object.getOwnPropertyNames(Dr),Lr=!0,Rr=function(t){this.value=t,this.dep=new Ar,this.vmCount=0,O(t,"__ob__",this),Array.isArray(t)?((sr?function(t,e,n){t.__proto__=e}:function(t,e,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];O(t,o,e[o])}})(t,Dr,kr),this.observeArray(t)):this.walk(t)};Rr.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)D(t,e[n])},Rr.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)$(t[e])};var Nr=or.optionMergeStrategies;Nr.data=function(t,e,n){return n?N(t,e,n):e&&"function"!=typeof e?t:N(t,e)},ir.forEach(function(t){Nr[t]=P}),rr.forEach(function(t){Nr[t+"s"]=j}),Nr.watch=function(t,e,n,r){if(t===hr&&(t=void 0),e===hr&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var i={};for(var o in _(i,t),e){var a=i[o],s=e[o];a&&!Array.isArray(a)&&(a=[a]),i[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return i},Nr.props=Nr.methods=Nr.inject=Nr.computed=function(t,e,n,r){if(!t)return e;var i=Object.create(null);return _(i,t),e&&_(i,e),i},Nr.provide=N;var Pr,jr,Fr=function(t,e){return void 0===e?t:e},Ur=[],Br=!1,Hr=!1;if(void 0!==n&&S(n))jr=function(){n(q)};else if("undefined"==typeof MessageChannel||!S(MessageChannel)&&"[object MessageChannelConstructor]"!==MessageChannel.toString())jr=function(){setTimeout(q,0)};else{var Gr=new MessageChannel,Wr=Gr.port2;Gr.port1.onmessage=q,jr=function(){Wr.postMessage(1)}}if("undefined"!=typeof Promise&&S(Promise)){var Vr=Promise.resolve();Pr=function(){Vr.then(q),mr&&setTimeout(y)}}else Pr=jr;var zr,Jr=new br,qr=m(function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),r="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=r?t.slice(1):t,once:n,capture:r,passive:e}}),Kr=null,Zr=[],Yr=[],Xr={},Qr=!1,ti=!1,ei=0,ni=0,ri=function(t,e,n,r,i){this.vm=t,i&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++ni,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new br,this.newDepIds=new br,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!ar.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};ri.prototype.get=function(){A(this);var t,e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;V(t,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&Z(t),I(),this.cleanupDeps()}return t},ri.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},ri.prototype.cleanupDeps=function(){for(var t=this,e=this.deps.length;e--;){var n=t.deps[e];t.newDepIds.has(n.id)||n.removeSub(t)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},ri.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(t){var e=t.id;if(null==Xr[e]){if(Xr[e]=!0,ti){for(var n=Zr.length-1;n>ei&&Zr[n].id>t.id;)n--;Zr.splice(n+1,0,t)}else Zr.push(t);Qr||(Qr=!0,K(mt))}}(this)},ri.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||s(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){V(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},ri.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},ri.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},ri.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||p(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var ii={enumerable:!0,configurable:!0,get:y,set:y},oi={lazy:!0};kt(Lt.prototype);var ai={init:function(t,e,n,r){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var i=t;ai.prepatch(i,i)}else(t.componentInstance=jt(t,Kr,n,r)).$mount(e?t.elm:void 0,e)},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,r,i){var o=!!(i||t.$options._renderChildren||r.data.scopedSlots||t.$scopedSlots!==Gn);if(t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=i,t.$attrs=r.data.attrs||Gn,t.$listeners=n||Gn,e&&t.$options.props){T(!1);for(var a=t._props,s=t.$options._propKeys||[],c=0;c<s.length;c++){var u=s[c],l=t.$options.props;a[u]=B(u,l,e,t)}T(!0),t.$options.propsData=e}n=n||Gn;var f=t.$options._parentListeners;t.$options._parentListeners=n,ct(t,n,f),o&&(t.$slots=ut(i,r.context),t.$forceUpdate())}(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,vt(n,"mounted")),t.data.keepAlive&&(e._isMounted?function(t){t._inactive=!1,Yr.push(t)}(n):pt(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?function t(e,n){if(!(n&&(e._directInactive=!0,dt(e))||e._inactive)){e._inactive=!0;for(var r=0;r<e.$children.length;r++)t(e.$children[r]);vt(e,"deactivated")}}(e,!0):e.$destroy())}},si=Object.keys(ai),ci=1,ui=2,li=0;Vt.prototype._init=function(t){var e=this;e._uid=li++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r,n._parentElm=e._parentElm,n._refElm=e._refElm;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=F(Gt(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&ct(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=ut(e._renderChildren,r),t.$scopedSlots=Gn,t._c=function(e,n,r,i){return Ft(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return Ft(t,e,n,r,i,!0)};var i=n&&n.data;D(t,"$attrs",i&&i.attrs||Gn,null,!0),D(t,"$listeners",e._parentListeners||Gn,null,!0)}(e),vt(e,"beforeCreate"),function(t){var e=Et(t.$options.inject,t);e&&(T(!1),Object.keys(e).forEach(function(n){D(t,n,e[n])}),T(!0))}(e),_t(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),vt(e,"created"),e.$options.el&&e.$mount(e.$options.el)},function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=k,t.prototype.$delete=L,t.prototype.$watch=function(t,e,n){var r=this;if(c(e))return bt(r,t,e,n);(n=n||{}).user=!0;var i=new ri(r,t,e,n);return n.immediate&&e.call(r,i.value),function(){i.teardown()}}}(Vt),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var i=0,o=t.length;i<o;i++)this.$on(t[i],n);else(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0);return r},t.prototype.$once=function(t,e){function n(){r.$off(t,n),e.apply(r,arguments)}var r=this;return n.fn=e,r.$on(t,n),r},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var r=0,i=t.length;r<i;r++)this.$off(t[r],e);return n}var o=n._events[t];if(!o)return n;if(!e)return n._events[t]=null,n;if(e)for(var a,s=o.length;s--;)if((a=o[s])===e||a.fn===e){o.splice(s,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?h(n):n;for(var r=h(arguments,1),i=0,o=n.length;i<o;i++)try{n[i].apply(e,r)}catch(n){V(n,e,'event handler for "'+t+'"')}}return e}}(Vt),function(t){t.prototype._update=function(t,e){var n=this;n._isMounted&&vt(n,"beforeUpdate");var r=n.$el,i=n._vnode,o=Kr;Kr=n,n._vnode=t,i?n.$el=n.__patch__(i,t):(n.$el=n.__patch__(n.$el,t,e,!1,n.$options._parentElm,n.$options._refElm),n.$options._parentElm=n.$options._refElm=null),Kr=o,r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){vt(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||p(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),vt(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(Vt),function(t){kt(t.prototype),t.prototype.$nextTick=function(t){return K(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,r=n.render,i=n._parentVnode;i&&(e.$scopedSlots=i.data.scopedSlots||Gn),e.$vnode=i;try{t=r.call(e._renderProxy,e.$createElement)}catch(n){V(n,e,"render"),t=e._vnode}return t instanceof Mr||(t=Tr()),t.parent=i,t}}(Vt);var fi=[String,RegExp,Array],di={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:fi,exclude:fi,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){var t=this;for(var e in t.cache)Zt(t.cache,e,t.keys)},mounted:function(){var t=this;this.$watch("include",function(e){Kt(t,function(t){return qt(e,t)})}),this.$watch("exclude",function(e){Kt(t,function(t){return!qt(e,t)})})},render:function(){var t=this.$slots.default,e=ot(t),n=e&&e.componentOptions;if(n){var r=Jt(n),i=this.include,o=this.exclude;if(i&&(!r||!qt(i,r))||o&&r&&qt(o,r))return e;var a=this.cache,s=this.keys,c=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;a[c]?(e.componentInstance=a[c].componentInstance,p(s,c),s.push(c)):(a[c]=e,s.push(c),this.max&&s.length>parseInt(this.max)&&Zt(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return or}};Object.defineProperty(t,"config",e),t.util={warn:Or,extend:_,mergeOptions:F,defineReactive:D},t.set=k,t.delete=L,t.nextTick=K,t.options=Object.create(null),rr.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,_(t.options.components,di),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=h(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=F(this.options,t),this}}(t),zt(t),function(t){rr.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&c(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}(t)}(Vt),Object.defineProperty(Vt.prototype,"$isServer",{get:Er}),Object.defineProperty(Vt.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Vt,"FunctionalRenderContext",{value:Lt}),Vt.version="2.5.16";var pi,vi,mi,hi,_i,gi,yi,bi,Ei=d("style,class"),Ci=d("input,textarea,option,select,progress"),wi=function(t,e,n){return"value"===n&&Ci(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Oi=d("contenteditable,draggable,spellcheck"),Si=d("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Ai="http://www.w3.org/1999/xlink",Ii=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Mi=function(t){return Ii(t)?t.slice(6,t.length):""},xi=function(t){return null==t||!1===t},Ti={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},$i=d("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Di=d("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),ki=function(t){return $i(t)||Di(t)},Li=Object.create(null),Ri=d("text,number,password,search,email,tel,url"),Ni=Object.freeze({createElement:function(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(t,e){return document.createElementNS(Ti[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),Pi={create:function(t,e){re(e)},update:function(t,e){t.data.ref!==e.data.ref&&(re(t,!0),re(e))},destroy:function(t){re(t,!0)}},ji=new Mr("",{},[]),Fi=["create","activate","update","remove","destroy"],Ui={create:ae,update:ae,destroy:function(t){ae(t,ji)}},Bi=Object.create(null),Hi=[Pi,Ui],Gi={create:le,update:le},Wi={create:pe,update:pe},Vi=/[\w).+\-_$\]]/,zi="__r",Ji="__c",qi={create:Re,update:Re},Ki={create:Ne,update:Ne},Zi=m(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}),Yi=/^--/,Xi=/\s*!important$/,Qi=function(t,e,n){if(Yi.test(e))t.style.setProperty(e,n);else if(Xi.test(n))t.style.setProperty(e,n.replace(Xi,""),"important");else{var r=eo(e);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)t.style[r]=n[i];else t.style[r]=n}},to=["Webkit","Moz","ms"],eo=m(function(t){if(bi=bi||document.createElement("div").style,"filter"!==(t=Kn(t))&&t in bi)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<to.length;n++){var r=to[n]+e;if(r in bi)return r}}),no={create:Ue,update:Ue},ro=m(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),io=cr&&!pr,oo="transition",ao="animation",so="transition",co="transitionend",uo="animation",lo="animationend";io&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(so="WebkitTransition",co="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(uo="WebkitAnimation",lo="webkitAnimationEnd"));var fo=cr?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()},po=/\b(transform|all)(,|$)/,vo=function(t){function e(t){var e=M.parentNode(t);i(e)&&M.removeChild(e,t)}function n(t,e,n,r,a,c,f){if(i(t.elm)&&i(c)&&(t=c[f]=x(t)),t.isRootInsert=!a,!s(t,e,n,r)){var d=t.data,m=t.children,h=t.tag;i(h)?(t.elm=t.ns?M.createElementNS(t.ns,h):M.createElement(h,t),v(t),l(t,m,e),i(d)&&p(t,e),u(n,t.elm,r)):o(t.isComment)?(t.elm=M.createComment(t.text),u(n,t.elm,r)):(t.elm=M.createTextNode(t.text),u(n,t.elm,r))}}function s(t,e,n,r){var a=t.data;if(i(a)){var s=i(t.componentInstance)&&a.keepAlive;if(i(a=a.hook)&&i(a=a.init)&&a(t,!1,n,r),i(t.componentInstance))return c(t,e),o(s)&&function(t,e,n,r){for(var o,a=t;a.componentInstance;)if(a=a.componentInstance._vnode,i(o=a.data)&&i(o=o.transition)){for(o=0;o<A.activate.length;++o)A.activate[o](ji,a);e.push(a);break}u(n,t.elm,r)}(t,e,n,r),!0}}function c(t,e){i(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,f(t)?(p(t,e),v(t)):(re(t),e.push(t))}function u(t,e,n){i(t)&&(i(n)?n.parentNode===t&&M.insertBefore(t,e,n):M.appendChild(t,e))}function l(t,e,r){if(Array.isArray(e))for(var i=0;i<e.length;++i)n(e[i],r,t.elm,null,!0,e,i);else a(t.text)&&M.appendChild(t.elm,M.createTextNode(String(t.text)))}function f(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return i(t.tag)}function p(t,e){for(var n=0;n<A.create.length;++n)A.create[n](ji,t);i(O=t.data.hook)&&(i(O.create)&&O.create(ji,t),i(O.insert)&&e.push(t))}function v(t){var e;if(i(e=t.fnScopeId))M.setStyleScope(t.elm,e);else for(var n=t;n;)i(e=n.context)&&i(e=e.$options._scopeId)&&M.setStyleScope(t.elm,e),n=n.parent;i(e=Kr)&&e!==t.context&&e!==t.fnContext&&i(e=e.$options._scopeId)&&M.setStyleScope(t.elm,e)}function m(t,e,r,i,o,a){for(;i<=o;++i)n(r[i],a,t,e,!1,r,i)}function h(t){var e,n,r=t.data;if(i(r))for(i(e=r.hook)&&i(e=e.destroy)&&e(t),e=0;e<A.destroy.length;++e)A.destroy[e](t);if(i(e=t.children))for(n=0;n<t.children.length;++n)h(t.children[n])}function _(t,n,r,o){for(;r<=o;++r){var a=n[r];i(a)&&(i(a.tag)?(g(a),h(a)):e(a.elm))}}function g(t,n){if(i(n)||i(t.data)){var r,o=A.remove.length+1;for(i(n)?n.listeners+=o:n=function(t,n){function r(){0==--r.listeners&&e(t)}return r.listeners=n,r}(t.elm,o),i(r=t.componentInstance)&&i(r=r._vnode)&&i(r.data)&&g(r,n),r=0;r<A.remove.length;++r)A.remove[r](t,n);i(r=t.data.hook)&&i(r=r.remove)?r(t,n):n()}else e(t.elm)}function y(t,e,o,a,s){for(var c,u,l,f=0,d=0,p=e.length-1,v=e[0],h=e[p],g=o.length-1,y=o[0],C=o[g],w=!s;f<=p&&d<=g;)r(v)?v=e[++f]:r(h)?h=e[--p]:ie(v,y)?(E(v,y,a),v=e[++f],y=o[++d]):ie(h,C)?(E(h,C,a),h=e[--p],C=o[--g]):ie(v,C)?(E(v,C,a),w&&M.insertBefore(t,v.elm,M.nextSibling(h.elm)),v=e[++f],C=o[--g]):ie(h,y)?(E(h,y,a),w&&M.insertBefore(t,h.elm,v.elm),h=e[--p],y=o[++d]):(r(c)&&(c=oe(e,f,p)),r(u=i(y.key)?c[y.key]:b(y,e,f,p))?n(y,a,t,v.elm,!1,o,d):ie(l=e[u],y)?(E(l,y,a),e[u]=void 0,w&&M.insertBefore(t,l.elm,v.elm)):n(y,a,t,v.elm,!1,o,d),y=o[++d]);f>p?m(t,r(o[g+1])?null:o[g+1].elm,o,d,g,a):d>g&&_(0,e,f,p)}function b(t,e,n,r){for(var o=n;o<r;o++){var a=e[o];if(i(a)&&ie(t,a))return o}}function E(t,e,n,a){if(t!==e){var s=e.elm=t.elm;if(o(t.isAsyncPlaceholder))return void(i(e.asyncFactory.resolved)?w(t.elm,e,n):e.isAsyncPlaceholder=!0);if(o(e.isStatic)&&o(t.isStatic)&&e.key===t.key&&(o(e.isCloned)||o(e.isOnce)))return void(e.componentInstance=t.componentInstance);var c,u=e.data;i(u)&&i(c=u.hook)&&i(c=c.prepatch)&&c(t,e);var l=t.children,d=e.children;if(i(u)&&f(e)){for(c=0;c<A.update.length;++c)A.update[c](t,e);i(c=u.hook)&&i(c=c.update)&&c(t,e)}r(e.text)?i(l)&&i(d)?l!==d&&y(s,l,d,n,a):i(d)?(i(t.text)&&M.setTextContent(s,""),m(s,null,d,0,d.length-1,n)):i(l)?_(0,l,0,l.length-1):i(t.text)&&M.setTextContent(s,""):t.text!==e.text&&M.setTextContent(s,e.text),i(u)&&i(c=u.hook)&&i(c=c.postpatch)&&c(t,e)}}function C(t,e,n){if(o(n)&&i(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}function w(t,e,n,r){var a,s=e.tag,u=e.data,f=e.children;if(r=r||u&&u.pre,e.elm=t,o(e.isComment)&&i(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(i(u)&&(i(a=u.hook)&&i(a=a.init)&&a(e,!0),i(a=e.componentInstance)))return c(e,n),!0;if(i(s)){if(i(f))if(t.hasChildNodes())if(i(a=u)&&i(a=a.domProps)&&i(a=a.innerHTML)){if(a!==t.innerHTML)return!1}else{for(var d=!0,v=t.firstChild,m=0;m<f.length;m++){if(!v||!w(v,f[m],n,r)){d=!1;break}v=v.nextSibling}if(!d||v)return!1}else l(e,f,n);if(i(u)){var h=!1;for(var _ in u)if(!T(_)){h=!0,p(e,n);break}!h&&u.class&&Z(u.class)}}else t.data!==e.text&&(t.data=e.text);return!0}var O,S,A={},I=t.modules,M=t.nodeOps;for(O=0;O<Fi.length;++O)for(A[Fi[O]]=[],S=0;S<I.length;++S)i(I[S][Fi[O]])&&A[Fi[O]].push(I[S][Fi[O]]);var T=d("attrs,class,staticClass,staticStyle,key");return function(t,e,a,s,c,u){if(!r(e)){var l=!1,d=[];if(r(t))l=!0,n(e,d,c,u);else{var p=i(t.nodeType);if(!p&&ie(t,e))E(t,e,d,s);else{if(p){if(1===t.nodeType&&t.hasAttribute(nr)&&(t.removeAttribute(nr),a=!0),o(a)&&w(t,e,d))return C(e,d,!0),t;t=function(t){return new Mr(M.tagName(t).toLowerCase(),{},[],void 0,t)}(t)}var v=t.elm,m=M.parentNode(v);if(n(e,d,v._leaveCb?null:m,M.nextSibling(v)),i(e.parent))for(var g=e.parent,y=f(e);g;){for(var b=0;b<A.destroy.length;++b)A.destroy[b](g);if(g.elm=e.elm,y){for(var O=0;O<A.create.length;++O)A.create[O](ji,g);var S=g.data.hook.insert;if(S.merged)for(var I=1;I<S.fns.length;I++)S.fns[I]()}else re(g);g=g.parent}i(m)?_(0,[t],0,0):i(t.tag)&&h(t)}}return C(e,d,l),e.elm}i(t)&&h(t)}}({nodeOps:Ni,modules:[Gi,Wi,qi,Ki,no,cr?{create:en,activate:en,remove:function(t,e){!0!==t.data.show?Xe(t,e):e()}}:{}].concat(Hi)});pr&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&un(t,"input")});var mo={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?Q(n,"postpatch",function(){mo.componentUpdated(t,e,n)}):nn(t,e,n.context),t._vOptions=[].map.call(t.options,an)):("textarea"===n.tag||Ri(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",sn),t.addEventListener("compositionend",cn),t.addEventListener("change",cn),pr&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){nn(t,e,n.context);var r=t._vOptions,i=t._vOptions=[].map.call(t.options,an);i.some(function(t,e){return!b(t,r[e])})&&(t.multiple?e.value.some(function(t){return on(t,i)}):e.value!==e.oldValue&&on(e.value,i))&&un(t,"change")}}},ho={model:mo,show:{bind:function(t,e,n){var r=e.value,i=(n=ln(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,Ye(n,function(){t.style.display=o})):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=ln(n)).data&&n.data.transition?(n.data.show=!0,r?Ye(n,function(){t.style.display=t.__vOriginalDisplay}):Xe(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}}},_o={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]},go={name:"transition",props:_o,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(function(t){return t.tag||it(t)})).length){var r=this.mode,i=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return i;var o=fn(i);if(!o)return i;if(this._leaving)return pn(t,i);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var c=(o.data||(o.data={})).transition=dn(this),u=this._vnode,l=fn(u);if(o.data.directives&&o.data.directives.some(function(t){return"show"===t.name})&&(o.data.show=!0),l&&l.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,l)&&!it(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=_({},c);if("out-in"===r)return this._leaving=!0,Q(f,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),pn(t,i);if("in-out"===r){if(it(o))return u;var d,p=function(){d()};Q(c,"afterEnter",p),Q(c,"enterCancelled",p),Q(f,"delayLeave",function(t){d=t})}}return i}}},yo=_({tag:String,moveClass:String},_o);delete yo.mode;var bo={Transition:go,TransitionGroup:{props:yo,render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=dn(this),s=0;s<i.length;s++){var c=i[s];c.tag&&null!=c.key&&0!==String(c.key).indexOf("__vlist")&&(o.push(c),n[c.key]=c,(c.data||(c.data={})).transition=a)}if(r){for(var u=[],l=[],f=0;f<r.length;f++){var d=r[f];d.data.transition=a,d.data.pos=d.elm.getBoundingClientRect(),n[d.key]?u.push(d):l.push(d)}this.kept=t(e,null,u),this.removed=l}return t(e,null,o)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(vn),t.forEach(mn),t.forEach(hn),this._reflow=document.body.offsetHeight,t.forEach(function(t){if(t.data.moved){var n=t.elm,r=n.style;Ve(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(co,n._moveCb=function t(r){r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(co,t),n._moveCb=null,ze(n,e))})}}))},methods:{hasMove:function(t,e){if(!io)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(t){He(n,t)}),Be(n,e),n.style.display="none",this.$el.appendChild(n);var r=qe(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}}};Vt.config.mustUseProp=wi,Vt.config.isReservedTag=ki,Vt.config.isReservedAttr=Ei,Vt.config.getTagNamespace=ee,Vt.config.isUnknownElement=function(t){if(!cr)return!0;if(ki(t))return!1;if(t=t.toLowerCase(),null!=Li[t])return Li[t];var e=document.createElement(t);return t.indexOf("-")>-1?Li[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Li[t]=/HTMLUnknownElement/.test(e.toString())},_(Vt.options.directives,ho),_(Vt.options.components,bo),Vt.prototype.__patch__=cr?vo:y,Vt.prototype.$mount=function(t,e){return function(t,e,n){return t.$el=e,t.$options.render||(t.$options.render=Tr),vt(t,"beforeMount"),new ri(t,function(){t._update(t._render(),n)},y,null,!0),n=!1,null==t.$vnode&&(t._isMounted=!0,vt(t,"mounted")),t}(this,t=t&&cr?ne(t):void 0,e)},cr&&setTimeout(function(){or.devtools&&Cr&&Cr.emit("init",Vt)},0);var Eo,Co=/\{\{((?:.|\n)+?)\}\}/g,wo=/[-.*+?^${}()|[\]\/\\]/g,Oo=m(function(t){var e=t[0].replace(wo,"\\$&"),n=t[1].replace(wo,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}),So={staticKeys:["staticClass"],transformNode:function(t,e){var n=(e.warn,Oe(t,"class"));n&&(t.staticClass=JSON.stringify(n));var r=we(t,"class",!1);r&&(t.classBinding=r)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}},Ao={staticKeys:["staticStyle"],transformNode:function(t,e){var n=(e.warn,Oe(t,"style"));n&&(t.staticStyle=JSON.stringify(Zi(n)));var r=we(t,"style",!1);r&&(t.styleBinding=r)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}},Io=function(t){return(Eo=Eo||document.createElement("div")).innerHTML=t,Eo.textContent},Mo=d("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),xo=d("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),To=d("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),$o=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Do="[a-zA-Z_][\\w\\-\\.]*",ko="((?:"+Do+"\\:)?"+Do+")",Lo=new RegExp("^<"+ko),Ro=/^\s*(\/?)>/,No=new RegExp("^<\\/"+ko+"[^>]*>"),Po=/^<!DOCTYPE [^>]+>/i,jo=/^<!\--/,Fo=/^<!\[/,Uo=!1;"x".replace(/x(.)?/g,function(t,e){Uo=""===e});var Bo,Ho,Go,Wo,Vo,zo,Jo,qo,Ko,Zo,Yo,Xo=d("script,style,textarea",!0),Qo={},ta={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n","&#9;":"\t"},ea=/&(?:lt|gt|quot|amp);/g,na=/&(?:lt|gt|quot|amp|#10|#9);/g,ra=d("pre,textarea",!0),ia=function(t,e){return t&&ra(t)&&"\n"===e[0]},oa=/^@|^v-on:/,aa=/^v-|^@|^:/,sa=/([^]*?)\s+(?:in|of)\s+([^]*)/,ca=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ua=/^\(|\)$/g,la=/:(.*)$/,fa=/^:|^v-bind:/,da=/\.[^.]+/g,pa=m(Io),va=/^xmlns:NS\d+/,ma=/^NS\d+:/,ha=[So,Ao,{preTransformNode:function(t,e){if("input"===t.tag){var n,r=t.attrsMap;if(!r["v-model"])return;if((r[":type"]||r["v-bind:type"])&&(n=we(t,"type")),r.type||n||!r["v-bind"]||(n="("+r["v-bind"]+").type"),n){var i=Oe(t,"v-if",!0),o=i?"&&("+i+")":"",a=null!=Oe(t,"v-else",!0),s=Oe(t,"v-else-if",!0),c=On(t);En(c),be(c,"type","checkbox"),bn(c,e),c.processed=!0,c.if="("+n+")==='checkbox'"+o,Cn(c,{exp:c.if,block:c});var u=On(t);Oe(u,"v-for",!0),be(u,"type","radio"),bn(u,e),Cn(c,{exp:"("+n+")==='radio'"+o,block:u});var l=On(t);return Oe(l,"v-for",!0),be(l,":type",n),bn(l,e),Cn(c,{exp:i,block:l}),a?c.else=!0:s&&(c.elseif=s),c}}}}],_a={expectHTML:!0,modules:ha,directives:{model:function(t,e,n){n;var r=e.value,i=e.modifiers,o=t.tag,a=t.attrsMap.type;if(t.component)return Se(t,r,i),!1;if("select"===o)!function(t,e,n){var r='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";r=r+" "+Ae(e,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),Ce(t,"change",r,null,!0)}(t,r,i);else if("input"===o&&"checkbox"===a)!function(t,e,n){var r=n&&n.number,i=we(t,"value")||"null",o=we(t,"true-value")||"true",a=we(t,"false-value")||"false";ge(t,"checked","Array.isArray("+e+")?_i("+e+","+i+")>-1"+("true"===o?":("+e+")":":_q("+e+","+o+")")),Ce(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Ae(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Ae(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Ae(e,"$$c")+"}",null,!0)}(t,r,i);else if("input"===o&&"radio"===a)!function(t,e,n){var r=n&&n.number,i=we(t,"value")||"null";ge(t,"checked","_q("+e+","+(i=r?"_n("+i+")":i)+")"),Ce(t,"change",Ae(e,i),null,!0)}(t,r,i);else if("input"===o||"textarea"===o)!function(t,e,n){var r=t.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?zi:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=Ae(e,l);c&&(f="if($event.target.composing)return;"+f),ge(t,"value","("+e+")"),Ce(t,u,f,null,!0),(s||a)&&Ce(t,"blur","$forceUpdate()")}(t,r,i);else if(!or.isReservedTag(o))return Se(t,r,i),!1;return!0},text:function(t,e){e.value&&ge(t,"textContent","_s("+e.value+")")},html:function(t,e){e.value&&ge(t,"innerHTML","_s("+e.value+")")}},isPreTag:function(t){return"pre"===t},isUnaryTag:Mo,mustUseProp:wi,canBeLeftOpenTag:xo,isReservedTag:ki,getTagNamespace:ee,staticKeys:ha.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")},ga=m(function(t){return d("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(t?","+t:""))}),ya=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,ba=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ea={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Ca={esc:"Escape",tab:"Tab",enter:"Enter",space:" ",up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete"]},wa=function(t){return"if("+t+")return null;"},Oa={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:wa("$event.target !== $event.currentTarget"),ctrl:wa("!$event.ctrlKey"),shift:wa("!$event.shiftKey"),alt:wa("!$event.altKey"),meta:wa("!$event.metaKey"),left:wa("'button' in $event && $event.button !== 0"),middle:wa("'button' in $event && $event.button !== 1"),right:wa("'button' in $event && $event.button !== 2")},Sa={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:y},Aa=function(t){this.options=t,this.warn=t.warn||he,this.transforms=_e(t.modules,"transformCode"),this.dataGenFns=_e(t.modules,"genData"),this.directives=_(_({},Sa),t.directives);var e=t.isReservedTag||tr;this.maybeComponent=function(t){return!e(t.tag)},this.onceId=0,this.staticRenderFns=[]},Ia=(new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)"),function(t){return function(e){function n(n,r){var i=Object.create(e),o=[],a=[];if(i.warn=function(t,e){(e?a:o).push(t)},r)for(var s in r.modules&&(i.modules=(e.modules||[]).concat(r.modules)),r.directives&&(i.directives=_(Object.create(e.directives||null),r.directives)),r)"modules"!==s&&"directives"!==s&&(i[s]=r[s]);var c=t(n,i);return c.errors=o,c.tips=a,c}return{compile:n,compileToFunctions:function(t){var e=Object.create(null);return function(n,r,i){(r=_({},r)).warn,delete r.warn;var o=r.delimiters?String(r.delimiters)+n:n;if(e[o])return e[o];var a=t(n,r),s={},c=[];return s.render=Bn(a.render,c),s.staticRenderFns=a.staticRenderFns.map(function(t){return Bn(t,c)}),e[o]=s}}(n)}}}(function(t,e){var n=yn(t.trim(),e);!1!==e.optimize&&Sn(n,e);var r=xn(n,e);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}}))(_a).compileToFunctions,Ma=!!cr&&Hn(!1),xa=!!cr&&Hn(!0),Ta=m(function(t){var e=ne(t);return e&&e.innerHTML}),$a=Vt.prototype.$mount;Vt.prototype.$mount=function(t,e){if((t=t&&ne(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=Ta(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(r){var i=Ia(r,{shouldDecodeNewlines:Ma,shouldDecodeNewlinesForHref:xa,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return $a.call(this,t,e)},Vt.compile=Ia,e.default=Vt}.call(e,n(18),n(66).setImmediate)},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){"use strict";e.__esModule=!0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n(37));e.default=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),(0,r.default)(t,i.key,i)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(11),i=n(2).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){"use strict";e.__esModule=!0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n(37));e.default=function(t,e,n){return e in t?(0,r.default)(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){"use strict";var r=n(79)(!0);n(40)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(43),i=n(27);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(26),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){var r=n(44)("keys"),i=n(45);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(8).f,i=n(16),o=n(4)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(27);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(49),i=n(4)("iterator"),o=n(12);t.exports=n(3).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){"use strict";var r=n(15);t.exports.f=function(t){return new function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)}(t)}},function(t,e,n){"use strict";e.__esModule=!0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n(126));e.default=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return(0,r.default)(t)}},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(u===setTimeout)return setTimeout(t,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(t,0);try{return u(t,0)}catch(e){try{return u.call(null,t,0)}catch(e){return u.call(this,t,0)}}}function o(){v&&d&&(v=!1,d.length?p=d.concat(p):m=-1,p.length&&a())}function a(){if(!v){var t=i(o);v=!0;for(var e=p.length;e;){for(d=p,p=[];++m<e;)d&&d[m].run();m=-1,e=p.length}d=null,v=!1,function(t){if(l===clearTimeout)return clearTimeout(t);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(t);try{l(t)}catch(e){try{return l.call(null,t)}catch(e){return l.call(this,t)}}}(t)}}function s(t,e){this.fun=t,this.array=e}function c(){}var u,l,f=t.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:n}catch(t){u=n}try{l="function"==typeof clearTimeout?clearTimeout:r}catch(t){l=r}}();var d,p=[],v=!1,m=-1;f.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];p.push(new s(t,e)),1!==p.length||v||i(a)},s.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=c,f.addListener=c,f.once=c,f.off=c,f.removeListener=c,f.removeAllListeners=c,f.emit=c,f.prependListener=c,f.prependOnceListener=c,f.listeners=function(t){return[]},f.binding=function(t){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(t){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}},function(t,e,n){t.exports={default:n(69),__esModule:!0}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.api=void 0;var i=r(n(39)),o=r(n(24)),a=r(n(76)),s=r(n(19)),c=r(n(20)),u=n(57),l=n(59),f=function(){function t(){(0,s.default)(this,t);var e=Joomla.getOptions("com_media",{});if(void 0===e.apiBaseUrl)throw new TypeError("Media api baseUrl is not defined");if(void 0===e.csrfToken)throw new TypeError("Media api csrf token is not defined");this._baseUrl=e.apiBaseUrl,this._csrfToken=Joomla.getOptions("csrf.token")}return(0,c.default)(t,[{key:"getContents",value:function(t,e,n){var r=this;return new a.default(function(i,o){if(-1!==["0","1"].indexOf(e))throw"Invalid parameter: full";if(-1!==["0","1"].indexOf(n))throw"Invalid parameter: content";var a=r._baseUrl+"&task=api.files&path="+t;e&&(a+="&url="+e),n&&(a+="&content="+n),Joomla.request({url:a,method:"GET",headers:{"Content-Type":"application/json"},onSuccess:function(t){i(r._normalizeArray(JSON.parse(t).data))},onError:function(t){o(t)}})}).catch(this._handleError)}},{key:"createDirectory",value:function(t,e){var n=this;return new a.default(function(r,a){var s,c=n._baseUrl+"&task=api.files&path="+e,l=(s={},(0,o.default)(s,n._csrfToken,"1"),(0,o.default)(s,"name",t),s);Joomla.request({url:c,method:"POST",data:(0,i.default)(l),headers:{"Content-Type":"application/json"},onSuccess:function(t){u.notifications.success("COM_MEDIA_CREATE_NEW_FOLDER_SUCCESS"),r(n._normalizeItem(JSON.parse(t).data))},onError:function(t){u.notifications.error("COM_MEDIA_CREATE_NEW_FOLDER_ERROR"),a(t)}})}).catch(this._handleError)}},{key:"upload",value:function(t,e,n,r){var s=this;return new a.default(function(a,c){var l,f=s._baseUrl+"&task=api.files&path="+e,d=(l={},(0,o.default)(l,s._csrfToken,"1"),(0,o.default)(l,"name",t),(0,o.default)(l,"content",n),l);!0===r&&(d.override=!0),Joomla.request({url:f,method:"POST",data:(0,i.default)(d),headers:{"Content-Type":"application/json"},onSuccess:function(t){u.notifications.success("COM_MEDIA_UPDLOAD_SUCCESS"),a(s._normalizeItem(JSON.parse(t).data))},onError:function(t){c(t)}})}).catch(this._handleError)}},{key:"rename",value:function(t,e){var n=this;return new a.default(function(r,a){var s,c=n._baseUrl+"&task=api.files&path="+t,l=(s={},(0,o.default)(s,n._csrfToken,"1"),(0,o.default)(s,"newPath",e),s);Joomla.request({url:c,method:"PUT",data:(0,i.default)(l),headers:{"Content-Type":"application/json"},onSuccess:function(t){u.notifications.success("COM_MEDIA_RENAME_SUCCESS"),r(n._normalizeItem(JSON.parse(t).data))},onError:function(t){u.notifications.error("COM_MEDIA_RENAME_ERROR"),a(t)}})}).catch(this._handleError)}},{key:"delete",value:function(t){var e=this;return new a.default(function(n,r){var a=e._baseUrl+"&task=api.files&path="+t,s=(0,o.default)({},e._csrfToken,"1");Joomla.request({url:a,method:"DELETE",data:(0,i.default)(s),headers:{"Content-Type":"application/json"},onSuccess:function(){u.notifications.success("COM_MEDIA_DELETE_SUCCESS"),n()},onError:function(t){u.notifications.error("COM_MEDIA_DELETE_ERROR"),r(t)}})}).catch(this._handleError)}},{key:"_normalizeItem",value:function(t){return"dir"===t.type&&(t.directories=[],t.files=[]),t.directory=l.dirname(t.path),-1!==t.directory.indexOf(":",t.directory.length-1)&&(t.directory+="/"),t}},{key:"_normalizeArray",value:function(t){var e=this;return{directories:t.filter(function(t){return"dir"===t.type}).map(function(t){return e._normalizeItem(t)}),files:t.filter(function(t){return"file"===t.type}).map(function(t){return e._normalizeItem(t)})}}},{key:"_handleError",value:function(t){switch(t.status){case 409:break;case 404:u.notifications.error("COM_MEDIA_ERROR_NOT_FOUND");break;case 401:u.notifications.error("COM_MEDIA_ERROR_NOT_AUTHENTICATED");break;case 403:u.notifications.error("COM_MEDIA_ERROR_NOT_AUTHORIZED");break;case 500:u.notifications.error("COM_MEDIA_SERVER_ERROR");break;default:u.notifications.error("COM_MEDIA_ERROR")}throw t}}]),t}();e.api=new f},function(t,e,n){t.exports={default:n(75),__esModule:!0}},function(t,e,n){"use strict";var r=n(41),i=n(6),o=n(80),a=n(7),s=n(16),c=n(12),u=n(81),l=n(31),f=n(87),d=n(4)("iterator"),p=!([].keys&&"next"in[].keys()),v=function(){return this};t.exports=function(t,e,n,m,h,_,g){u(n,e,m);var y,b,E,C=function(t){if(!p&&t in A)return A[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},w=e+" Iterator",O="values"==h,S=!1,A=t.prototype,I=A[d]||A["@@iterator"]||h&&A[h],M=!p&&I||C(h),x=h?O?C("entries"):M:void 0,T="Array"==e&&A.entries||I;if(T&&(E=f(T.call(new t)))!==Object.prototype&&E.next&&(l(E,w,!0),r||s(E,d)||a(E,d,v)),O&&I&&"values"!==I.name&&(S=!0,M=function(){return I.call(this)}),r&&!g||!p&&!S&&A[d]||a(A,d,M),c[e]=M,c[w]=v,h)if(y={values:O?M:C("values"),keys:_?M:C("keys"),entries:x},g)for(b in y)b in A||o(A,b,y[b]);else i(i.P+i.F*(p||S),e,y);return y}},function(t,e){t.exports=!0},function(t,e,n){var r=n(84),i=n(46);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(17);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(2),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(2).document;t.exports=r&&r.documentElement},function(t,e,n){n(88);for(var r=n(2),i=n(7),o=n(12),a=n(4)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<s.length;c++){var u=s[c],l=r[u],f=l&&l.prototype;f&&!f[a]&&i(f,a,u),o[u]=o.Array}},function(t,e,n){var r=n(17),i=n(4)("toStringTag"),o="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){var r=n(5);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},function(t,e,n){var r=n(12),i=n(4)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,e,n){var r=n(5),i=n(15),o=n(4)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[o])?e:i(n)}},function(t,e,n){var r,i,o,a=n(10),s=n(94),c=n(47),u=n(22),l=n(2),f=l.process,d=l.setImmediate,p=l.clearImmediate,v=l.MessageChannel,m=l.Dispatch,h=0,_={},g=function(){var t=+this;if(_.hasOwnProperty(t)){var e=_[t];delete _[t],e()}},y=function(t){g.call(t.data)};d&&p||(d=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return _[++h]=function(){s("function"==typeof t?t:Function(t),e)},r(h),h},p=function(t){delete _[t]},"process"==n(17)(f)?r=function(t){f.nextTick(a(g,t,1))}:m&&m.now?r=function(t){m.now(a(g,t,1))}:v?(o=(i=new v).port2,i.port1.onmessage=y,r=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",y,!1)):r="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),g.call(t)}}:function(t){setTimeout(a(g,t,1),0)}),t.exports={set:d,clear:p}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var r=n(5),i=n(11),o=n(34);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){var r=n(4)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},t(o)}catch(t){}return n}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.notifications=void 0;var i=r(n(58)),o=r(n(19)),a=r(n(20)),s=function(){function t(){(0,o.default)(this,t)}return(0,a.default)(t,[{key:"success",value:function(t,e){c.notify(t,(0,i.default)({level:"success",dismiss:!0},e))}},{key:"error",value:function(t,e){c.notify(t,(0,i.default)({level:"danger",dismiss:!0},e))}},{key:"ask",value:function(t,e){return window.confirm(t)}},{key:"notify",value:function(t,e){var n=document.createElement("joomla-alert");n.setAttribute("level",e.level||"info"),n.setAttribute("dismiss",e.dismiss||!0),n.setAttribute("auto-dismiss",e.autoDismiss||!0),n.innerHTML=Joomla.JText._(t,t)||"",document.getElementById("system-message").appendChild(n)}}]),t}(),c=e.notifications=new s},function(t,e,n){t.exports={default:n(100),__esModule:!0}},function(t,e,n){(function(t){function n(t,e){for(var n=0,r=t.length-1;r>=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r<t.length;r++)e(t[r],r,t)&&n.push(t[r]);return n}var i=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,o=function(t){return i.exec(t).slice(1)};e.resolve=function(){for(var e="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a=o>=0?arguments[o]:t.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,i="/"===a.charAt(0))}return e=n(r(e.split("/"),function(t){return!!t}),!i).join("/"),(i?"/":"")+e||"."},e.normalize=function(t){var i=e.isAbsolute(t),o="/"===a(t,-1);return(t=n(r(t.split("/"),function(t){return!!t}),!i).join("/"))||i||(t="."),t&&o&&(t+="/"),(i?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e<t.length&&""===t[e];e++);for(var n=t.length-1;n>=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var i=r(t.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),s=a,c=0;c<a;c++)if(i[c]!==o[c]){s=c;break}var u=[];for(c=s;c<i.length;c++)u.push("..");return(u=u.concat(o.slice(s))).join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){var e=o(t),n=e[0],r=e[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},e.basename=function(t,e){var n=o(t)[2];return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){return o(t)[3]};var a="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(e,n(36))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=r(n(131)),o=r(n(134)),a=r(n(137)),s=r(n(140)),c=r(n(143)),u=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(1));e.default={functional:!0,props:["item"],render:function(t,e){function n(){return r.state.selectedItems.some(function(t){return t.path===l.path})}var r=e.parent.$store,l=e.props.item;return t("div",{class:{"media-browser-item":!0,selected:n()},on:{click:function(t){var e={path:!1,thumb:!1,fileType:!!l.mime_type&&l.mime_type,extension:!!l.extension&&l.extension};if("file"===l.type){e.path=l.path,e.thumb=!!l.thumb&&l.thumb;var i=new CustomEvent("onMediaFileSelected",{bubbles:!0,cancelable:!1,detail:e});window.parent.document.dispatchEvent(i)}if(!n())return t.shiftKey||13===t.keyCode||r.commit(u.UNSELECT_ALL_BROWSER_ITEMS),void r.commit(u.SELECT_BROWSER_ITEM,l);r.state.selectedItems.length>1&&(r.commit(u.UNSELECT_ALL_BROWSER_ITEMS),r.commit(u.SELECT_BROWSER_ITEM,l))}}},[t(function(){if("table"==r.state.listView)return c.default;return"dir"===l.type?i.default:l.extension&&-1!==["jpg","jpeg","png","gif"].indexOf(l.extension.toLowerCase())?a.default:l.extension&&-1!==["mp4"].indexOf(l.extension.toLowerCase())?s.default:o.default}(),{props:e.props})])}}},function(t,e,n){"use strict";var r=n(14);r="default"in r?r.default:r,/^2\./.test(r.version)||r.util.warn("VueFocus 2.1.0 only supports Vue 2.x, and does not support Vue "+r.version);var i={inserted:function(t,e){e.value?t.focus():t.blur()},componentUpdated:function(t,e){e.modifiers.lazy&&Boolean(e.value)===Boolean(e.oldValue)||(e.value?t.focus():t.blur())}},o={directives:{focus:i}};e.version="2.1.0",e.focus=i,e.mixin=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={translate:function(t){return Joomla.JText._(t,t)},sprintf:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=0;return(t=this.translate(t)).replace(/%((%)|s|d)/g,function(t){var e=n[i];return"%d"==t&&(e=parseFloat(e),isNaN(e)&&(e=0)),i++,e})},install:function(t,e){t.mixin({methods:{translate:function(t){return r.translate(t)}}})}};e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.persistedStateOptions={key:"joomla.mediamanager",paths:["selectedDirectory","showInfoBar","listView","gridSize"],storage:window.sessionStorage}},function(t,e,n){n(65),t.exports=n(179)},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var i=r(n(14)),o=r(n(68)),a=r(n(73)),s=r(n(106)),c=r(n(109)),u=r(n(112)),l=r(n(115)),f=r(n(118)),d=r(n(121)),p=r(n(124)),v=r(n(60)),m=r(n(146)),h=r(n(149)),_=r(n(152)),g=r(n(155)),y=r(n(158)),b=r(n(161)),E=r(n(62)),C=r(n(167));i.default.use(E.default),i.default.component("media-drive",c.default),i.default.component("media-disk",s.default),i.default.component("media-tree",u.default),i.default.component("media-tree-item",l.default),i.default.component("media-toolbar",f.default),i.default.component("media-breadcrumb",d.default),i.default.component("media-browser",p.default),i.default.component("media-browser-item",v.default),i.default.component("media-modal",m.default),i.default.component("media-create-folder-modal",h.default),i.default.component("media-preview-modal",_.default),i.default.component("media-rename-modal",g.default),i.default.component("media-infobar",y.default),i.default.component("media-upload",b.default),window.MediaManager=window.MediaManager||{},window.MediaManager.Event=new o.default,document.addEventListener("DOMContentLoaded",function(t){return new i.default({el:"#com-media",store:C.default,render:function(t){return t(a.default)}})})},function(t,e,n){(function(t){function r(t,e){this._id=t,this._clearFn=e}var i=Function.prototype.apply;e.setTimeout=function(){return new r(i.call(setTimeout,window,arguments),clearTimeout)},e.setInterval=function(){return new r(i.call(setInterval,window,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(window,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(67),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(e,n(18))},function(t,e,n){(function(t,e){!function(t,n){"use strict";function r(t){delete s[t]}function i(t){if(c)setTimeout(i,0,t);else{var e=s[t];if(e){c=!0;try{!function(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(n,r)}}(e)}finally{r(t),c=!1}}}}if(!t.setImmediate){var o,a=1,s={},c=!1,u=t.document,l=Object.getPrototypeOf&&Object.getPrototypeOf(t);l=l&&l.setTimeout?l:t,"[object process]"==={}.toString.call(t.process)?o=function(t){e.nextTick(function(){i(t)})}:function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?function(){var e="setImmediate$"+Math.random()+"$",n=function(n){n.source===t&&"string"==typeof n.data&&0===n.data.indexOf(e)&&i(+n.data.slice(e.length))};t.addEventListener?t.addEventListener("message",n,!1):t.attachEvent("onmessage",n),o=function(n){t.postMessage(e+n,"*")}}():t.MessageChannel?function(){var t=new MessageChannel;t.port1.onmessage=function(t){i(t.data)},o=function(e){t.port2.postMessage(e)}}():u&&"onreadystatechange"in u.createElement("script")?function(){var t=u.documentElement;o=function(e){var n=u.createElement("script");n.onreadystatechange=function(){i(e),n.onreadystatechange=null,t.removeChild(n),n=null},t.appendChild(n)}}():o=function(t){setTimeout(i,0,t)},l.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var r={callback:t,args:e};return s[a]=r,o(a),a++},l.clearImmediate=r}}("undefined"==typeof self?void 0===t?this:t:self)}).call(e,n(18),n(36))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=r(n(19)),o=r(n(20)),a=r(n(14)),s=function(){function t(){(0,i.default)(this,t),this.vue=new a.default}return(0,o.default)(t,[{key:"fire",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.vue.$emit(t,e)}},{key:"listen",value:function(t,e){this.vue.$on(t,e)}}]),t}();e.default=s},function(t,e,n){n(70);var r=n(3).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){var r=n(6);r(r.S+r.F*!n(9),"Object",{defineProperty:n(8).f})},function(t,e,n){t.exports=!n(9)&&!n(21)(function(){return 7!=Object.defineProperty(n(22)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(11);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(0)(n(74),n(105),null,null,null);t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(1)),i=n(38);i&&i.__esModule,e.default={name:"media-app",data:function(){return{fullHeight:""}},computed:{disks:function(){return this.$store.state.disks}},methods:{setFullHeight:function(){this.fullHeight=window.innerHeight-this.$el.getBoundingClientRect().top+"px"}},created:function(){var t=this;MediaManager.Event.listen("onClickCreateFolder",function(){return t.$store.commit(r.SHOW_CREATE_FOLDER_MODAL)}),MediaManager.Event.listen("onClickDelete",function(){return t.$store.dispatch("deleteSelectedItems")})},mounted:function(){var t=this;this.$nextTick(function(){t.setFullHeight(),window.addEventListener("resize",t.setFullHeight)}),this.$store.dispatch("getContents",this.$store.state.selectedDirectory)},beforeDestroy:function(){window.removeEventListener("resize",this.setFullHeight)}}},function(t,e,n){var r=n(3),i=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return i.stringify.apply(i,arguments)}},function(t,e,n){t.exports={default:n(77),__esModule:!0}},function(t,e,n){n(78),n(25),n(48),n(91),n(98),n(99),t.exports=n(3).Promise},function(t,e){},function(t,e,n){var r=n(26),i=n(27);t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),c=r(n),u=s.length;return c<0||c>=u?t?"":void 0:(o=s.charCodeAt(c))<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-56320+(o-55296<<10)+65536}}},function(t,e,n){t.exports=n(7)},function(t,e,n){"use strict";var r=n(82),i=n(23),o=n(31),a={};n(7)(a,n(4)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var r=n(5),i=n(83),o=n(46),a=n(30)("IE_PROTO"),s=function(){},c=function(){var t,e=n(22)("iframe"),r=o.length;for(e.style.display="none",n(47).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=c(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(8),i=n(5),o=n(42);t.exports=n(9)?Object.defineProperties:function(t,e){i(t);for(var n,a=o(e),s=a.length,c=0;s>c;)r.f(t,n=a[c++],e[n]);return t}},function(t,e,n){var r=n(16),i=n(28),o=n(85)(!1),a=n(30)("IE_PROTO");t.exports=function(t,e){var n,s=i(t),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;e.length>c;)r(s,n=e[c++])&&(~o(u,n)||u.push(n));return u}},function(t,e,n){var r=n(28),i=n(29),o=n(86);t.exports=function(t){return function(e,n,a){var s,c=r(e),u=i(c.length),l=o(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var r=n(26),i=Math.max,o=Math.min;t.exports=function(t,e){return(t=r(t))<0?i(t+e,0):o(t,e)}},function(t,e,n){var r=n(16),i=n(32),o=n(30)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){"use strict";var r=n(89),i=n(90),o=n(12),a=n(28);t.exports=n(40)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var r,i,o,a,s=n(41),c=n(2),u=n(10),l=n(49),f=n(6),d=n(11),p=n(15),v=n(92),m=n(93),h=n(52),_=n(53).set,g=n(95)(),y=n(34),b=n(54),E=n(55),C=c.TypeError,w=c.process,O=c.Promise,S="process"==l(w),A=function(){},I=i=y.f,M=!!function(){try{var t=O.resolve(1),e=(t.constructor={})[n(4)("species")]=function(t){t(A,A)};return(S||"function"==typeof PromiseRejectionEvent)&&t.then(A)instanceof e}catch(t){}}(),x=function(t){var e;return!(!d(t)||"function"!=typeof(e=t.then))&&e},T=function(t,e){if(!t._n){t._n=!0;var n=t._c;g(function(){for(var r=t._v,i=1==t._s,o=0;n.length>o;)!function(e){var n,o,a=i?e.ok:e.fail,s=e.resolve,c=e.reject,u=e.domain;try{a?(i||(2==t._h&&k(t),t._h=1),!0===a?n=r:(u&&u.enter(),n=a(r),u&&u.exit()),n===e.promise?c(C("Promise-chain cycle")):(o=x(n))?o.call(n,s,c):s(n)):c(r)}catch(t){c(t)}}(n[o++]);t._c=[],t._n=!1,e&&!t._h&&$(t)})}},$=function(t){_.call(c,function(){var e,n,r,i=t._v,o=D(t);if(o&&(e=b(function(){S?w.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=S||D(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},D=function(t){return 1!==t._h&&0===(t._a||t._c).length},k=function(t){_.call(c,function(){var e;S?w.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},L=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),T(e,!0))},R=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw C("Promise can't be resolved itself");(e=x(t))?g(function(){var r={_w:n,_d:!1};try{e.call(t,u(R,r,1),u(L,r,1))}catch(t){L.call(r,t)}}):(n._v=t,n._s=1,T(n,!1))}catch(t){L.call({_w:n,_d:!1},t)}}};M||(O=function(t){v(this,O,"Promise","_h"),p(t),r.call(this);try{t(u(R,this,1),u(L,this,1))}catch(t){L.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(96)(O.prototype,{then:function(t,e){var n=I(h(this,O));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=S?w.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&T(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=u(R,t,1),this.reject=u(L,t,1)},y.f=I=function(t){return t===O||t===a?new o(t):i(t)}),f(f.G+f.W+f.F*!M,{Promise:O}),n(31)(O,"Promise"),n(97)("Promise"),a=n(3).Promise,f(f.S+f.F*!M,"Promise",{reject:function(t){var e=I(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(s||!M),"Promise",{resolve:function(t){return E(s&&this===a?O:this,t)}}),f(f.S+f.F*!(M&&n(56)(function(t){O.all(t).catch(A)})),"Promise",{all:function(t){var e=this,n=I(e),r=n.resolve,i=n.reject,o=b(function(){var n=[],o=0,a=1;m(t,!1,function(t){var s=o++,c=!1;n.push(void 0),a++,e.resolve(t).then(function(t){c||(c=!0,n[s]=t,--a||r(n))},i)}),--a||r(n)});return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=I(e),r=n.reject,i=b(function(){m(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(10),i=n(50),o=n(51),a=n(5),s=n(29),c=n(33),u={},l={};(e=t.exports=function(t,e,n,f,d){var p,v,m,h,_=d?function(){return t}:c(t),g=r(n,f,e?2:1),y=0;if("function"!=typeof _)throw TypeError(t+" is not iterable!");if(o(_)){for(p=s(t.length);p>y;y++)if((h=e?g(a(v=t[y])[0],v[1]):g(t[y]))===u||h===l)return h}else for(m=_.call(t);!(v=m.next()).done;)if((h=i(m,g,v.value,e))===u||h===l)return h}).BREAK=u,e.RETURN=l},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(2),i=n(53).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==n(17)(a);t.exports=function(){var t,e,n,u=function(){var r,i;for(c&&(r=a.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve();n=function(){l.then(u)}}else n=function(){i.call(r,u)};else{var f=!0,d=document.createTextNode("");new o(u).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},function(t,e,n){var r=n(7);t.exports=function(t,e,n){for(var i in e)n&&t[i]?t[i]=e[i]:r(t,i,e[i]);return t}},function(t,e,n){"use strict";var r=n(2),i=n(3),o=n(8),a=n(9),s=n(4)("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:r[t];a&&e&&!e[s]&&o.f(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){"use strict";var r=n(6),i=n(3),o=n(2),a=n(52),s=n(55);r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then(function(){return n})}:t,n?function(n){return s(e,t()).then(function(){throw n})}:t)}})},function(t,e,n){"use strict";var r=n(6),i=n(34),o=n(54);r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},function(t,e,n){n(101),t.exports=n(3).Object.assign},function(t,e,n){var r=n(6);r(r.S+r.F,"Object",{assign:n(102)})},function(t,e,n){"use strict";var r=n(42),i=n(103),o=n(104),a=n(32),s=n(43),c=Object.assign;t.exports=!c||n(21)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r})?function(t,e){for(var n=a(t),c=arguments.length,u=1,l=i.f,f=o.f;c>u;)for(var d,p=s(arguments[u++]),v=l?r(p).concat(l(p)):r(p),m=v.length,h=0;m>h;)f.call(p,d=v[h++])&&(n[d]=p[d]);return n}:c},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"media-container row"},[n("div",{staticClass:"media-sidebar col-md-2 d-none d-md-block"},t._l(t.disks,function(t,e){return n("media-disk",{key:e,attrs:{disk:t}})})),t._v(" "),n("div",{staticClass:"col-md-10"},[n("div",{staticClass:"media-main"},[n("media-toolbar"),t._v(" "),n("media-browser")],1)]),t._v(" "),n("media-upload"),t._v(" "),n("media-create-folder-modal"),t._v(" "),n("media-preview-modal"),t._v(" "),n("media-rename-modal")],1)},staticRenderFns:[]}},function(t,e,n){var r=n(0)(n(107),n(108),null,null,null);t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"media-disk",props:["disk"]}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"media-disk"},[n("div",{staticClass:"media-disk-name"},[t._v(t._s(t.disk.displayName))]),t._v(" "),t._l(t.disk.drives,function(t,e){return n("media-drive",{key:e,attrs:{drive:t}})})],2)},staticRenderFns:[]}},function(t,e,n){var r=n(0)(n(110),n(111),null,null,null);t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){return t&&t.__esModule?t:{default:t}}(n(13));e.default={name:"media-drive",props:["drive"],mixins:[r.default],methods:{onDriveClick:function(){this.navigateTo(this.drive.root)}}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"media-drive",on:{click:function(e){e.stopPropagation(),e.preventDefault(),t.onDriveClick()}}},[n("div",{staticClass:"media-drive-name"},[t._v(t._s(t.drive.displayName))]),t._v(" "),n("media-tree",{attrs:{root:t.drive.root}})],1)},staticRenderFns:[]}},function(t,e,n){var r=n(0)(n(113),n(114),null,null,null);t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"media-tree",props:["root"],computed:{directories:function(){var t=this;return this.$store.state.directories.filter(function(e){return e.directory===t.root}).sort(function(t,e){return t.name.toUpperCase()<e.name.toUpperCase()?-1:1})}}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ul",{staticClass:"media-tree"},t._l(t.directories,function(t){return n("media-tree-item",{key:t.path,attrs:{item:t}})}))},staticRenderFns:[]}},function(t,e,n){var r=n(0)(n(116),n(117),null,null,null);t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){return t&&t.__esModule?t:{default:t}}(n(13));e.default={name:"media-tree-item",props:["item"],mixins:[r.default],computed:{isActive:function(){return this.item.path===this.$store.state.selectedDirectory},isOpen:function(){return this.$store.state.selectedDirectory.includes(this.item.path)},hasChildren:function(){return this.item.directories.length>0},iconClass:function(){return{fa:!0,"fa-folder-o":!this.isOpen,"fa-folder-open-o":this.isOpen}}},methods:{onItemClick:function(){this.navigateTo(this.item.path)}}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("li",{staticClass:"media-tree-item",class:{active:t.isActive}},[n("a",{on:{click:function(e){e.stopPropagation(),e.preventDefault(),t.onItemClick()}}},[n("span",{staticClass:"item-icon"},[n("span",{class:t.iconClass})]),t._v(" "),n("span",{staticClass:"item-name"},[t._v(t._s(t.item.name))])]),t._v(" "),n("transition",{attrs:{name:"slide-fade"}},[t.hasChildren?n("media-tree",{directives:[{name:"show",rawName:"v-show",value:t.isOpen,expression:"isOpen"}],attrs:{root:t.item.path}}):t._e()],1)],1)},staticRenderFns:[]}},function(t,e,n){var r=n(0)(n(119),n(120),null,null,null);t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(1));e.default={name:"media-toolbar",computed:{toggleListViewBtnIcon:function(){return this.isGridView?"fa fa-list":"fa fa-th"},toggleSelectAllBtnIcon:function(){return this.allItemsSelected?"fa fa fa-square-o":"fa fa-check-square-o"},isLoading:function(){return this.$store.state.isLoading},atLeastOneItemSelected:function(){return this.$store.state.selectedItems.length>0},isGridView:function(){return"grid"===this.$store.state.listView},allItemsSelected:function(){return this.$store.getters.getSelectedDirectoryContents.length===this.$store.state.selectedItems.length}},methods:{toggleInfoBar:function(){this.$store.state.showInfoBar?this.$store.commit(r.HIDE_INFOBAR):this.$store.commit(r.SHOW_INFOBAR)},decreaseGridSize:function(){this.isGridSize("xs")||this.$store.commit(r.DECREASE_GRID_SIZE)},increaseGridSize:function(){this.isGridSize("xl")||this.$store.commit(r.INCREASE_GRID_SIZE)},changeListView:function(){"grid"===this.$store.state.listView?this.$store.commit(r.CHANGE_LIST_VIEW,"table"):this.$store.commit(r.CHANGE_LIST_VIEW,"grid")},toggleSelectAll:function(){this.allItemsSelected?this.$store.commit(r.UNSELECT_ALL_BROWSER_ITEMS):this.$store.commit(r.SELECT_BROWSER_ITEMS,this.$store.getters.getSelectedDirectoryContents)},isGridSize:function(t){return this.$store.state.gridSize===t}}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"media-toolbar"},[t.isLoading?n("div",{staticClass:"media-loader"}):t._e(),t._v(" "),n("div",{staticClass:"media-view-icons"},[n("a",{staticClass:"media-toolbar-icon media-toolbar-select-all",attrs:{href:"#","aria-label":t.translate("COM_MEDIA_SELECT_ALL")},on:{click:function(e){e.stopPropagation(),e.preventDefault(),t.toggleSelectAll()}}},[n("span",{class:t.toggleSelectAllBtnIcon,attrs:{"aria-hidden":"true"}})])]),t._v(" "),n("media-breadcrumb"),t._v(" "),n("div",{staticClass:"media-view-icons"},[t.isGridView?n("a",{staticClass:"media-toolbar-icon media-toolbar-decrease-grid-size",class:{disabled:t.isGridSize("xs")},attrs:{href:"#","aria-label":t.translate("COM_MEDIA_DECREASE_GRID")},on:{click:function(e){e.stopPropagation(),e.preventDefault(),t.decreaseGridSize()}}},[n("span",{staticClass:"fa fa-search-minus",attrs:{"aria-hidden":"true"}})]):t._e(),t._v(" "),t.isGridView?n("a",{staticClass:"media-toolbar-icon media-toolbar-increase-grid-size",class:{disabled:t.isGridSize("xl")},attrs:{href:"#","aria-label":t.translate("COM_MEDIA_INCREASE_GRID")},on:{click:function(e){e.stopPropagation(),e.preventDefault(),t.increaseGridSize()}}},[n("span",{staticClass:"fa fa-search-plus",attrs:{"aria-hidden":"true"}})]):t._e(),t._v(" "),n("a",{staticClass:"media-toolbar-icon media-toolbar-list-view",attrs:{href:"#","aria-label":t.translate("COM_MEDIA_TOGGLE_LIST_VIEW")},on:{click:function(e){e.stopPropagation(),e.preventDefault(),t.changeListView()}}},[n("span",{class:t.toggleListViewBtnIcon,attrs:{"aria-hidden":"true"}})]),t._v(" "),n("a",{staticClass:"media-toolbar-icon media-toolbar-info",attrs:{href:"#","aria-label":t.translate("COM_MEDIA_TOGGLE_INFO")},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.toggleInfoBar(e)}}},[n("span",{staticClass:"fa fa-info",attrs:{"aria-hidden":"true"}})])])],1)},staticRenderFns:[]}},function(t,e,n){var r=n(0)(n(122),n(123),null,null,null);t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){return t&&t.__esModule?t:{default:t}}(n(13));e.default={name:"media-breadcrumb",mixins:[r.default],computed:{crumbs:function(){var t=this,e=[],n=this.$store.state.selectedDirectory.split("/");if(n){var r=this.findDrive(n[0]);r&&(e.push(r),n.shift())}return n.filter(function(t){return 0!==t.length}).forEach(function(n){e.push({name:n,path:t.$store.state.selectedDirectory.split(n)[0]+n})}),e},isLast:function(t){return this.crumbs.indexOf(t)===this.crumbs.length-1}},methods:{onCrumbClick:function(t){this.navigateTo(t.path)},findDrive:function(t){var e=null;return this.$store.state.disks.forEach(function(n){n.drives.forEach(function(n){n.root.startsWith(t)&&(e={name:n.displayName,path:n.root})})}),e}}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ol",{staticClass:"media-breadcrumb"},t._l(t.crumbs,function(e){return n("li",{staticClass:"media-breadcrumb-item"},[n("a",{on:{click:function(n){n.stopPropagation(),n.preventDefault(),t.onCrumbClick(e)}}},[t._v(t._s(e.name))])])}))},staticRenderFns:[]}},function(t,e,n){var r=n(0)(n(125),n(130),null,null,null);t.exports=r.exports},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=r(n(24)),o=r(n(35)),a=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(1));e.default={name:"media-browser",computed:{items:function(){var t=this.$store.getters.getSelectedDirectoryDirectories.sort(function(t,e){return t.name.toUpperCase()<e.name.toUpperCase()?-1:1}),e=this.$store.getters.getSelectedDirectoryFiles.sort(function(t,e){return t.name.toUpperCase()<e.name.toUpperCase()?-1:1});return[].concat((0,o.default)(t),(0,o.default)(e))},mediaBrowserStyles:function(){return{width:this.$store.state.showInfoBar?"75%":"100%"}},listView:function(){return this.$store.state.listView},mediaBrowserGridItemsClass:function(){return(0,i.default)({},"media-browser-items-"+this.$store.state.gridSize,!0)},isModal:function(){return Joomla.getOptions("com_media",{}).isModal}},methods:{unselectAllBrowserItems:function(t){var e=this.$refs.browserItems&&!this.$refs.browserItems.contains(t.target)||t.target===this.$refs.browserItems,n=void 0!==this.$refs.infobar&&!this.$refs.infobar.$el.contains(t.target);e&&n&&this.$store.commit(a.UNSELECT_ALL_BROWSER_ITEMS)},onDragEnter:function(t){return t.stopPropagation(),!1},onDragOver:function(t){return t.preventDefault(),document.querySelector(".media-dragoutline").classList.add("active"),!1},upload:function(t){var e=this,n=new FileReader;n.onload=function(n){var r=n.target.result,i=r.indexOf("base64")+7,o=r.slice(i,r.length);e.$store.dispatch("uploadFile",{name:t.name,parent:e.$store.state.selectedDirectory,content:o})},n.readAsDataURL(t)},onDrop:function(t){if(t.preventDefault(),t.dataTransfer&&t.dataTransfer.files&&t.dataTransfer.files.length>0)for(var e,n=0;e=t.dataTransfer.files[n];n++)document.querySelector(".media-dragoutline").classList.remove("active"),this.upload(e);document.querySelector(".media-dragoutline").classList.remove("active")},onDragLeave:function(t){return t.stopPropagation(),t.preventDefault(),document.querySelector(".media-dragoutline").classList.remove("active"),!1}},created:function(){document.body.addEventListener("click",this.unselectAllBrowserItems,!1)},beforeDestroy:function(){document.body.removeEventListener("click",this.unselectAllBrowserItems,!1)}}},function(t,e,n){t.exports={default:n(127),__esModule:!0}},function(t,e,n){n(25),n(128),t.exports=n(3).Array.from},function(t,e,n){"use strict";var r=n(10),i=n(6),o=n(32),a=n(50),s=n(51),c=n(29),u=n(129),l=n(33);i(i.S+i.F*!n(56)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,i,f,d=o(t),p="function"==typeof this?this:Array,v=arguments.length,m=v>1?arguments[1]:void 0,h=void 0!==m,_=0,g=l(d);if(h&&(m=r(m,v>2?arguments[2]:void 0,2)),void 0==g||p==Array&&s(g))for(n=new p(e=c(d.length));e>_;_++)u(n,_,h?m(d[_],_):d[_]);else for(f=g.call(d),n=new p;!(i=f.next()).done;_++)u(n,_,h?a(f,m,[i.value,_],!0):i.value);return n.length=_,n}})},function(t,e,n){"use strict";var r=n(8),i=n(23);t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{ref:"browserItems",staticClass:"media-browser",style:t.mediaBrowserStyles,on:{dragenter:t.onDragEnter,drop:t.onDrop,dragover:t.onDragOver,dragleave:t.onDragLeave}},[t._m(0),t._v(" "),"table"===t.listView?n("div",{staticClass:"media-browser-table"},[n("div",{staticClass:"media-browser-table-head"},[n("ul",[n("li",{staticClass:"type"}),t._v(" "),n("li",{staticClass:"name"},[t._v(t._s(t.translate("COM_MEDIA_MEDIA_NAME")))]),t._v(" "),n("li",{staticClass:"size"},[t._v(t._s(t.translate("COM_MEDIA_MEDIA_SIZE")))]),t._v(" "),n("li",{staticClass:"dimension"},[t._v(t._s(t.translate("COM_MEDIA_MEDIA_DIMENSION")))]),t._v(" "),n("li",{staticClass:"created"},[t._v(t._s(t.translate("COM_MEDIA_MEDIA_CREATED_AT")))]),t._v(" "),n("li",{staticClass:"modified"},[t._v(t._s(t.translate("COM_MEDIA_MEDIA_MODIFIED_AT")))])])]),t._v(" "),t._l(t.items,function(t){return n("media-browser-item",{key:t.path,attrs:{item:t}})})],2):"grid"===t.listView?n("div",{staticClass:"media-browser-grid"},[n("div",{staticClass:"media-browser-items",class:t.mediaBrowserGridItemsClass},t._l(t.items,function(t){return n("media-browser-item",{key:t.path,attrs:{item:t}})}))]):t._e()]),t._v(" "),this.isModal?t._e():n("media-infobar",{ref:"infobar"})],1)},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"media-dragoutline"},[n("span",{staticClass:"fa fa-cloud-upload upload-icon",attrs:{"aria-hidden":"true"}}),t._v(" "),n("p",[t._v("Drop file(s) to Upload")])])}]}},function(t,e,n){var r=n(0)(n(132),n(133),null,null,null);t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){return t&&t.__esModule?t:{default:t}}(n(13)),i=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(1));e.default={name:"media-browser-item-directory",data:function(){return{showActions:!1}},props:["item"],mixins:[r.default],methods:{onPreviewDblClick:function(){this.navigateTo(this.item.path)},deleteItem:function(){this.$store.dispatch("deleteItem",this.item)},openRenameModal:function(){this.$store.commit(i.SELECT_BROWSER_ITEM,this.item),this.$store.commit(i.SHOW_RENAME_MODAL)},toggleSelect:function(){this.$store.dispatch("toggleBrowserItemSelect",this.item)}}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"media-browser-item-directory"},[n("div",{staticClass:"media-browser-item-preview",on:{dblclick:function(e){e.stopPropagation(),e.preventDefault(),t.onPreviewDblClick()}}},[t._m(0)]),t._v(" "),n("div",{staticClass:"media-browser-item-info"},[t._v("\n "+t._s(t.item.name)+"\n ")]),t._v(" "),n("a",{staticClass:"media-browser-select",attrs:{href:"#","aria-label":t.translate("COM_MEDIA_TOGGLE_SELECT_ITEM")},on:{click:function(e){e.stopPropagation(),t.toggleSelect()}}}),t._v(" "),n("div",{staticClass:"media-browser-actions",class:{active:t.showActions}},[n("a",{staticClass:"action-toggle",attrs:{href:"#","aria-label":t.translate("COM_MEDIA_OPEN_ITEM_ACTIONS")}},[n("span",{staticClass:"image-browser-action fa fa-ellipsis-h",attrs:{"aria-hidden":"true"},on:{click:function(e){e.stopPropagation(),t.showActions=!0}}})]),t._v(" "),n("div",{staticClass:"media-browser-actions-list"},[n("a",{staticClass:"action-rename",attrs:{href:"#","aria-label":t.translate("COM_MEDIA_ACTIN_RENAME")}},[n("span",{staticClass:"image-browser-action fa fa-text-width",attrs:{"aria-hidden":"true"},on:{click:function(e){e.stopPropagation(),t.openRenameModal()}}})]),t._v(" "),n("a",{staticClass:"action-delete",attrs:{href:"#","aria-label":t.translate("COM_MEDIA_ACTION_DELETE")}},[n("span",{staticClass:"image-browser-action fa fa-trash",attrs:{"aria-hidden":"true"},on:{click:function(e){e.stopPropagation(),t.deleteItem()}}})])])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"file-background"},[e("div",{staticClass:"folder-icon"},[e("span",{staticClass:"fa fa-folder-o"})])])}]}},function(t,e,n){var r=n(0)(n(135),n(136),null,null,null);t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(1));e.default={name:"media-browser-item-file",data:function(){return{showActions:!1}},props:["item"],methods:{download:function(){this.$store.dispatch("download",this.item)},deleteItem:function(){this.$store.dispatch("deleteItem",this.item)},openRenameModal:function(){this.$store.commit(r.SELECT_BROWSER_ITEM,this.item),this.$store.commit(r.SHOW_RENAME_MODAL)},toggleSelect:function(){this.$store.dispatch("toggleBrowserItemSelect",this.item)}}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"media-browser-item-file"},[t._m(0),t._v(" "),n("div",{staticClass:"media-browser-item-info"},[t._v("\n "+t._s(t.item.name)+" "+t._s(t.item.filetype)+"\n ")]),t._v(" "),n("a",{staticClass:"media-browser-select",attrs:{href:"#","aria-label":t.translate("COM_MEDIA_TOGGLE_SELECT_ITEM")},on:{click:function(e){e.stopPropagation(),t.toggleSelect()}}}),t._v(" "),n("div",{staticClass:"media-browser-actions",class:{active:t.showActions}},[n("a",{staticClass:"action-toggle",attrs:{href:"#","aria-label":t.translate("COM_MEDIA_OPEN_ITEM_ACTIONS")}},[n("span",{staticClass:"image-browser-action fa fa-ellipsis-h",attrs:{"aria-hidden":"true"},on:{click:function(e){e.stopPropagation(),t.showActions=!0}}})]),t._v(" "),n("div",{staticClass:"media-browser-actions-list"},[n("a",{staticClass:"action-download",attrs:{href:"#","aria-label":t.translate("COM_MEDIA_ACTION_DOWNLOAD")}},[n("span",{staticClass:"image-browser-action fa fa-download",attrs:{"aria-hidden":"true"},on:{click:function(e){e.stopPropagation(),t.download()}}})]),t._v(" "),n("a",{staticClass:"action-rename",attrs:{href:"#","aria-label":t.translate("COM_MEDIA_ACTIN_RENAME")}},[n("span",{staticClass:"image-browser-action fa fa-text-width",attrs:{"aria-hidden":"true"},on:{click:function(e){e.stopPropagation(),t.openRenameModal()}}})]),t._v(" "),n("a",{staticClass:"action-delete",attrs:{href:"#","aria-label":t.translate("COM_MEDIA_ACTION_DELETE")}},[n("span",{staticClass:"image-browser-action fa fa-trash",attrs:{"aria-hidden":"true"},on:{click:function(e){e.stopPropagation(),t.deleteItem()}}})])])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"media-browser-item-preview"},[e("div",{staticClass:"file-background"},[e("div",{staticClass:"file-icon"},[e("span",{staticClass:"fa fa-file-text-o"})])])])}]}},function(t,e,n){var r=n(0)(n(138),n(139),null,null,null);t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(1));e.default={name:"media-browser-item-image",data:function(){return{showActions:!1}},props:["item"],computed:{thumbUrl:function(){return this.item.thumb_path},canEdit:function(){return["jpg","jpeg","png"].indexOf(this.item.extension.toLowerCase())>-1}},methods:{openPreview:function(){this.$store.commit(r.SHOW_PREVIEW_MODAL),this.$store.dispatch("getFullContents",this.item)},download:function(){this.$store.dispatch("download",this.item)},deleteItem:function(){this.$store.dispatch("deleteItem",this.item)},openRenameModal:function(){this.$store.commit(r.SELECT_BROWSER_ITEM,this.item),this.$store.commit(r.SHOW_RENAME_MODAL)},editItem:function(){var t=Joomla.getOptions("com_media").editViewUrl+"&path=";window.location.href=t+this.item.path},toggleSelect:function(){this.$store.dispatch("toggleBrowserItemSelect",this.item)}}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"media-browser-image",on:{dblclick:function(e){t.openPreview()},mouseleave:function(e){t.showActions=!1}}},[n("div",{staticClass:"media-browser-item-preview"},[n("div",{staticClass:"image-brackground"},[n("div",{staticClass:"image-cropped",style:{backgroundImage:"url("+t.thumbUrl+")"}})])]),t._v(" "),n("div",{staticClass:"media-browser-item-info"},[t._v("\n "+t._s(t.item.name)+" "+t._s(t.item.filetype)+"\n ")]),t._v(" "),n("a",{staticClass:"media-browser-select",attrs:{href:"#","aria-label":t.translate("COM_MEDIA_TOGGLE_SELECT_ITEM")},on:{click:function(e){e.stopPropagation(),t.toggleSelect()}}}),t._v(" "),n("div",{staticClass:"media-browser-actions",class:{active:t.showActions}},[n("a",{staticClass:"action-toggle",attrs:{href:"#","aria-label":t.translate("COM_MEDIA_OPEN_ITEM_ACTIONS")}},[n("span",{staticClass:"image-browser-action fa fa-ellipsis-h",attrs:{"aria-hidden":"true"},on:{click:function(e){e.stopPropagation(),t.showActions=!0}}})]),t._v(" "),n("div",{staticClass:"media-browser-actions-list"},[n("a",{staticClass:"action-preview",attrs:{href:"#","aria-label":t.translate("COM_MEDIA_ACTION_PREVIEW")}},[n("span",{staticClass:"image-browser-action fa fa-search-plus",attrs:{"aria-hidden":"true"},on:{click:function(e){e.stopPropagation(),t.openPreview()}}})]),t._v(" "),n("a",{staticClass:"action-download",attrs:{href:"#","aria-label":t.translate("COM_MEDIA_ACTION_DOWNLOAD")}},[n("span",{staticClass:"image-browser-action fa fa-download",attrs:{"aria-hidden":"true"},on:{click:function(e){e.stopPropagation(),t.download()}}})]),t._v(" "),n("a",{staticClass:"action-rename",attrs:{href:"#","aria-label":t.translate("COM_MEDIA_ACTIN_RENAME")}},[n("span",{staticClass:"image-browser-action fa fa-text-width",attrs:{"aria-hidden":"true"},on:{click:function(e){e.stopPropagation(),t.openRenameModal()}}})]),t._v(" "),t.canEdit?n("a",{staticClass:"action-edit",attrs:{href:"#","aria-label":t.translate("COM_MEDIA_ACTION_EDIT")}},[n("span",{staticClass:"image-browser-action fa fa-pencil",attrs:{"aria-hidden":"true"},on:{click:function(e){e.stopPropagation(),t.editItem()}}})]):t._e(),t._v(" "),n("a",{staticClass:"action-delete",attrs:{href:"#","aria-label":t.translate("COM_MEDIA_ACTION_DELETE")}},[n("span",{staticClass:"image-browser-action fa fa-trash",attrs:{"aria-hidden":"true"},on:{click:function(e){e.stopPropagation(),t.deleteItem()}}})])])])])},staticRenderFns:[]}},function(t,e,n){var r=n(0)(n(141),n(142),null,null,null);t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(1));e.default={name:"media-browser-item-video",data:function(){return{showActions:!1}},props:["item"],methods:{openPreview:function(){this.$store.commit(r.SHOW_PREVIEW_MODAL),this.$store.dispatch("getFullContents",this.item)},download:function(){this.$store.dispatch("download",this.item)},deleteItem:function(){this.$store.dispatch("deleteItem",this.item)},openRenameModal:function(){this.$store.commit(r.SELECT_BROWSER_ITEM,this.item),this.$store.commit(r.SHOW_RENAME_MODAL)},toggleSelect:function(){this.$store.dispatch("toggleBrowserItemSelect",this.item)}}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"media-browser-image",on:{dblclick:function(e){t.openPreview()}}},[t._m(0),t._v(" "),n("div",{staticClass:"media-browser-item-info"},[t._v("\n "+t._s(t.item.name)+" "+t._s(t.item.filetype)+"\n ")]),t._v(" "),n("a",{staticClass:"media-browser-select",attrs:{href:"#","aria-label":t.translate("COM_MEDIA_TOGGLE_SELECT_ITEM")},on:{click:function(e){e.stopPropagation(),t.toggleSelect()}}}),t._v(" "),n("div",{staticClass:"media-browser-actions",class:{active:t.showActions}},[n("a",{staticClass:"action-toggle",attrs:{href:"#","aria-label":t.translate("COM_MEDIA_OPEN_ITEM_ACTIONS")}},[n("span",{staticClass:"image-browser-action fa fa-ellipsis-h",attrs:{"aria-hidden":"true"},on:{click:function(e){e.stopPropagation(),t.showActions=!0}}})]),t._v(" "),n("div",{staticClass:"media-browser-actions-list"},[n("a",{staticClass:"action-preview",attrs:{href:"#","aria-label":t.translate("COM_MEDIA_ACTION_PREVIEW")}},[n("span",{staticClass:"image-browser-action fa fa-search-plus",attrs:{"aria-hidden":"true"},on:{click:function(e){e.stopPropagation(),t.openPreview()}}})]),t._v(" "),n("a",{staticClass:"action-download",attrs:{href:"#","aria-label":t.translate("COM_MEDIA_ACTION_DOWNLOAD")}},[n("span",{staticClass:"image-browser-action fa fa-download",attrs:{"aria-hidden":"true"},on:{click:function(e){e.stopPropagation(),t.download()}}})]),t._v(" "),n("a",{staticClass:"action-rename",attrs:{href:"#","aria-label":t.translate("COM_MEDIA_ACTIN_RENAME")}},[n("span",{staticClass:"image-browser-action fa fa-text-width",attrs:{"aria-hidden":"true"},on:{click:function(e){e.stopPropagation(),t.openRenameModal()}}})]),t._v(" "),n("a",{staticClass:"action-delete",attrs:{href:"#","aria-label":t.translate("COM_MEDIA_ACTION_DELETE")}},[n("span",{staticClass:"image-browser-action fa fa-trash",attrs:{"aria-hidden":"true"},on:{click:function(e){e.stopPropagation(),t.deleteItem()}}})])])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"media-browser-item-preview"},[e("div",{staticClass:"file-background"},[e("div",{staticClass:"file-icon"},[e("span",{staticClass:"fa fa-file-text-o"})])])])}]}},function(t,e,n){var r=n(0)(n(144),n(145),null,null,null);t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){return t&&t.__esModule?t:{default:t}}(n(13));e.default={name:"media-browser-item-row",props:["item"],mixins:[r.default],computed:{dimension:function(){return this.item.width?this.item.width+" x "+this.item.height:""},isDir:function(){return"dir"===this.item.type}},methods:{onDblClick:function(){this.isDir&&this.navigateTo(this.item.path)}}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ul",{on:{dblclick:function(e){e.stopPropagation(),e.preventDefault(),t.onDblClick()}}},[n("li",{staticClass:"type",attrs:{"data-type":t.item.extension}}),t._v(" "),n("li",{staticClass:"name"},[t._v("\n "+t._s(t.item.name)+"\n ")]),t._v(" "),n("li",{staticClass:"size"},[t._v("\n "+t._s(t.item.size)+"\n ")]),t._v(" "),n("li",{staticClass:"dimension"},[t._v("\n "+t._s(t.dimension)+"\n ")]),t._v(" "),n("li",{staticClass:"created"},[t._v("\n "+t._s(t.item.create_date_formatted)+"\n ")]),t._v(" "),n("li",{staticClass:"modified"},[t._v("\n "+t._s(t.item.modified_date_formatted)+"\n ")])])},staticRenderFns:[]}},function(t,e,n){var r=n(0)(n(147),n(148),null,null,null);t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);e.default=t}(n(1)),e.default={name:"media-modal",props:{showClose:{type:Boolean,default:!0},size:{type:String}},computed:{modalClass:function(){return{"modal-sm":"sm"===this.size}}},methods:{close:function(){this.$emit("close")},onKeyDown:function(t){27==t.keyCode&&this.close()}},mounted:function(){document.addEventListener("keydown",this.onKeyDown)},beforeDestroy:function(){document.removeEventListener("keydown",this.onKeyDown)}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"media-modal-backdrop",on:{click:function(e){t.close()}}},[n("div",{staticClass:"modal",staticStyle:{display:"flex"},on:{click:function(t){t.stopPropagation()}}},[t._t("backdrop-close"),t._v(" "),n("div",{staticClass:"modal-dialog",class:t.modalClass,attrs:{role:"document"}},[n("div",{staticClass:"modal-content"},[n("div",{staticClass:"modal-header"},[t._t("header"),t._v(" "),t.showClose?n("button",{staticClass:"close",attrs:{type:"button","aria-label":"Close"},on:{click:function(e){t.close()}}},[n("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])]):t._e()],2),t._v(" "),n("div",{staticClass:"modal-body"},[t._t("body")],2),t._v(" "),n("div",{staticClass:"modal-footer"},[t._t("footer")],2)])])],2)])},staticRenderFns:[]}},function(t,e,n){var r=n(0)(n(150),n(151),null,null,null);t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(1)),i=n(61);e.default={name:"media-create-folder-modal",directives:{focus:i.focus},data:function(){return{folder:""}},methods:{isValid:function(){return this.folder},close:function(){this.reset(),this.$store.commit(r.HIDE_CREATE_FOLDER_MODAL)},save:function(){this.isValid()&&(this.$store.dispatch("createDirectory",{name:this.folder,parent:this.$store.state.selectedDirectory}),this.reset())},reset:function(){this.folder=""}}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.$store.state.showCreateFolderModal?n("media-modal",{attrs:{size:"sm"},on:{close:function(e){t.close()}}},[n("h3",{staticClass:"modal-title",attrs:{slot:"header"},slot:"header"},[t._v(t._s(t.translate("COM_MEDIA_CREATE_NEW_FOLDER")))]),t._v(" "),n("div",{attrs:{slot:"body"},slot:"body"},[n("form",{staticClass:"form",attrs:{novalidate:""},on:{submit:function(e){return e.preventDefault(),t.save(e)}}},[n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"folder"}},[t._v(t._s(t.translate("COM_MEDIA_FOLDER")))]),t._v(" "),n("input",{directives:[{name:"focus",rawName:"v-focus",value:!0,expression:"true"},{name:"model",rawName:"v-model.trim",value:t.folder,expression:"folder",modifiers:{trim:!0}}],staticClass:"form-control",attrs:{id:"folder",placeholder:"Folder",required:"",autocomplete:"off"},domProps:{value:t.folder},on:{input:[function(e){e.target.composing||(t.folder=e.target.value.trim())},function(e){t.folder=e.target.value}],blur:function(e){t.$forceUpdate()}}})])])]),t._v(" "),n("div",{attrs:{slot:"footer"},slot:"footer"},[n("button",{staticClass:"btn btn-link",on:{click:function(e){t.close()}}},[t._v(t._s(t.translate("JCANCEL")))]),t._v(" "),n("button",{staticClass:"btn btn-success",attrs:{disabled:!t.isValid()},on:{click:function(e){t.save()}}},[t._v(t._s(t.translate("JAPPLY"))+"\n ")])])]):t._e()},staticRenderFns:[]}},function(t,e,n){var r=n(0)(n(153),n(154),null,null,null);t.exports=r.exports},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}Object.defineProperty(e,"__esModule",{value:!0});var i=r(n(1));r(n(60)),e.default={name:"media-preview-modal",computed:{item:function(){return this.$store.state.previewItem}},methods:{close:function(){this.$store.commit(i.HIDE_PREVIEW_MODAL)},isImage:function(){return 0===this.item.mime_type.indexOf("image/")},isVideo:function(){return 0===this.item.mime_type.indexOf("video/")}}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.$store.state.showPreviewModal&&t.item?n("media-modal",{staticClass:"media-preview-modal",attrs:{size:"md"},on:{close:function(e){t.close()}}},[n("h3",{staticClass:"modal-title",attrs:{slot:"header"},slot:"header"},[t._v(t._s(t.item.name))]),t._v(" "),n("div",{attrs:{slot:"body"},slot:"body"},[t.isImage()?n("img",{attrs:{src:t.item.url,type:t.item.mime_type}}):t._e(),t._v(" "),t.isVideo()?n("video",{attrs:{controls:""}},[n("source",{attrs:{src:t.item.url,type:t.item.mime_type}})]):t._e()]),t._v(" "),n("a",{staticClass:"media-preview-close",attrs:{slot:"backdrop-close"},on:{click:function(e){t.close()}},slot:"backdrop-close"},[n("span",{staticClass:"fa fa-times"})])]):t._e()},staticRenderFns:[]}},function(t,e,n){var r=n(0)(n(156),n(157),null,null,null);t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(1)),i=n(61);e.default={name:"media-rename-modal",directives:{focus:i.focus},data:function(){return{originalName:""}},computed:{item:function(){return this.$store.state.selectedItems[this.$store.state.selectedItems.length-1]},name:{get:function(){return 0===this.originalName.length&&(this.originalName=this.item.name),this.item.name.replace("."+this.item.extension,"")},set:function(t){this.extension.length&&(t+="."+this.item.extension),this.$store.state.selectedItems[this.$store.state.selectedItems.length-1].name=t}},extension:function(){return this.item.extension}},methods:{isValid:function(){return this.item.name.length>0},close:function(){this.$store.state.selectedItems[this.$store.state.selectedItems.length-1].name=this.originalName,this.originalName="",this.$store.commit(r.HIDE_RENAME_MODAL)},save:function(){if(this.isValid()){var t=this.item.directory;"/"!==t.substr(-1)&&(t+="/"),t+=this.item.name,this.$store.dispatch("renameItem",{path:this.item.path,newPath:t}),this.originalName=""}}}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.$store.state.showRenameModal?n("media-modal",{attrs:{size:"sm","show-close":!1},on:{close:function(e){t.close()}}},[n("h3",{staticClass:"modal-title",attrs:{slot:"header"},slot:"header"},[t._v(t._s(t.translate("COM_MEDIA_RENAME")))]),t._v(" "),n("div",{attrs:{slot:"body"},slot:"body"},[n("form",{staticClass:"form",attrs:{novalidate:""},on:{submit:function(e){return e.preventDefault(),t.save(e)}}},[n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"name"}},[t._v(t._s(t.translate("COM_MEDIA_NAME")))]),t._v(" "),n("div",{class:{"input-group":t.extension.length}},[n("input",{directives:[{name:"focus",rawName:"v-focus",value:!0,expression:"true"},{name:"model",rawName:"v-model.trim",value:t.name,expression:"name",modifiers:{trim:!0}}],staticClass:"form-control",attrs:{id:"name",placeholder:"Name",required:"",autocomplete:"off"},domProps:{value:t.name},on:{input:[function(e){e.target.composing||(t.name=e.target.value.trim())},function(e){t.name=e.target.value}],blur:function(e){t.$forceUpdate()}}}),t._v(" "),t.extension.length?n("span",{staticClass:"input-group-addon"},[t._v(t._s(t.extension))]):t._e()])])])]),t._v(" "),n("div",{attrs:{slot:"footer"},slot:"footer"},[n("button",{staticClass:"btn btn-link",on:{click:function(e){t.close()}}},[t._v(t._s(t.translate("JCANCEL")))]),t._v(" "),n("button",{staticClass:"btn btn-success",attrs:{disabled:!t.isValid()},on:{click:function(e){t.save()}}},[t._v(t._s(t.translate("JAPPLY"))+"\n ")])])]):t._e()},staticRenderFns:[]}},function(t,e,n){var r=n(0)(n(159),n(160),null,null,null);t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(1));e.default={name:"media-infobar",computed:{item:function(){var t=this.$store.state.selectedItems;return 1===t.length?t[0]:t.length>1?t.slice(-1)[0]:this.$store.getters.getSelectedDirectory},showInfoBar:function(){return this.$store.state.showInfoBar}},methods:{hideInfoBar:function(){this.$store.commit(r.HIDE_INFOBAR)}}}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"infobar"}},[t.showInfoBar&&t.item?n("div",{staticClass:"media-infobar"},[n("span",{staticClass:"infobar-close",on:{click:function(e){t.hideInfoBar()}}},[t._v("×")]),t._v(" "),n("h2",[t._v(t._s(t.item.name))]),t._v(" "),"/"===t.item.path?n("div",{staticClass:"text-center"},[n("span",{staticClass:"fa fa-file placeholder-icon"}),t._v("\n Select file or folder to view its details.\n ")]):n("dl",[n("dt",[t._v(t._s(t.translate("COM_MEDIA_FOLDER")))]),t._v(" "),n("dd",[t._v(t._s(t.item.directory))]),t._v(" "),n("dt",[t._v(t._s(t.translate("COM_MEDIA_MEDIA_TYPE")))]),t._v(" "),n("dd",[t._v(t._s(t.item.type||"-"))]),t._v(" "),n("dt",[t._v(t._s(t.translate("COM_MEDIA_MEDIA_CREATED_AT")))]),t._v(" "),n("dd",[t._v(t._s(t.item.create_date_formatted))]),t._v(" "),n("dt",[t._v(t._s(t.translate("COM_MEDIA_MEDIA_MODIFIED_AT")))]),t._v(" "),n("dd",[t._v(t._s(t.item.modified_date_formatted))]),t._v(" "),n("dt",[t._v(t._s(t.translate("COM_MEDIA_MEDIA_DIMENSION")))]),t._v(" "),t.item.width||t.item.height?n("dd",[t._v(t._s(t.item.width)+" x "+t._s(t.item.height))]):n("dd",[t._v("-")]),t._v(" "),n("dt",[t._v(t._s(t.translate("COM_MEDIA_MEDIA_SIZE")))]),t._v(" "),n("dd",[t._v(t._s(t.item.size||"-"))]),t._v(" "),n("dt",[t._v(t._s(t.translate("COM_MEDIA_MEDIA_MIME_TYPE")))]),t._v(" "),n("dd",[t._v(t._s(t.item.mime_type))]),t._v(" "),n("dt",[t._v(t._s(t.translate("COM_MEDIA_MEDIA_EXTENSION")))]),t._v(" "),n("dd",[t._v(t._s(t.item.extension||"-"))])])]):t._e()])},staticRenderFns:[]}},function(t,e,n){var r=n(0)(n(162),n(166),null,null,null);t.exports=r.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){return t&&t.__esModule?t:{default:t}}(n(163));e.default={name:"media-upload",props:{accept:{type:String},extensions:{default:function(){return[]}},name:{type:String,default:"file"},multiple:{type:Boolean,default:!0}},methods:{chooseFiles:function(){this.$refs.fileInput.click()},upload:function(t){var e=this;t.preventDefault();var n=t.target.files,i=!0,o=!1,a=void 0;try{for(var s,c=(0,r.default)(n);!(i=(s=c.next()).done);i=!0)!function(){var t=s.value,n=new FileReader;n.onload=function(n){var r=n.target.result,i=r.indexOf("base64")+7,o=r.slice(i,r.length);e.$store.dispatch("uploadFile",{name:t.name,parent:e.$store.state.selectedDirectory,content:o})},n.readAsDataURL(t)}()}catch(t){o=!0,a=t}finally{try{!i&&c.return&&c.return()}finally{if(o)throw a}}}},created:function(){var t=this;MediaManager.Event.listen("onClickUpload",function(){return t.chooseFiles()})}}},function(t,e,n){t.exports={default:n(164),__esModule:!0}},function(t,e,n){n(48),n(25),t.exports=n(165)},function(t,e,n){var r=n(5),i=n(33);t.exports=n(3).getIterator=function(t){var e=i(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},function(t,e){t.exports={render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("input",{ref:"fileInput",staticClass:"hidden",attrs:{type:"file",name:t.name,multiple:t.multiple,accept:t.accept},on:{change:t.upload}})},staticRenderFns:[]}},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var o=i(n(14)),a=i(n(168)),s=i(n(169)),c=r(n(170)),u=r(n(171)),l=i(n(175)),f=i(n(176)),d=n(63);o.default.use(a.default),e.default=new a.default.Store({state:s.default,getters:c,actions:u,mutations:l.default,plugins:[(0,f.default)(d.persistedStateOptions)],strict:!1})},function(t,e,n){"use strict";function r(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function i(t,e){return e.indexOf(t)<0&&e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function o(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;s(t,n,[],t._modules.root,!0),a(t,n,e)}function a(t,e,n){var i=t._vm;t.getters={};var o={};r(t._wrappedGetters,function(e,n){o[n]=function(){return e(t)},Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})});var a=b.config.silent;b.config.silent=!0,t._vm=new b({data:{$$state:e},computed:o}),b.config.silent=a,t.strict&&function(t){t._vm.$watch(function(){return this._data.$$state},function(){},{deep:!0,sync:!0})}(t),i&&(n&&t._withCommit(function(){i._data.$$state=null}),b.nextTick(function(){return i.$destroy()}))}function s(t,e,n,r,i){var o=!n.length,a=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[a]=r),!o&&!i){var f=u(e,n.slice(0,-1)),d=n[n.length-1];t._withCommit(function(){b.set(f,d,r.state)})}var p=r.context=function(t,e,n){var r=""===e,i={dispatch:r?t.dispatch:function(n,r,i){var o=l(n,r,i),a=o.payload,s=o.options,c=o.type;return s&&s.root||(c=e+c),t.dispatch(c,a)},commit:r?t.commit:function(n,r,i){var o=l(n,r,i),a=o.payload,s=o.options,c=o.type;s&&s.root||(c=e+c),t.commit(c,a,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return t.getters}:function(){return function(t,e){var n={},r=e.length;return Object.keys(t.getters).forEach(function(i){if(i.slice(0,r)===e){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return t.getters[i]},enumerable:!0})}}),n}(t,e)}},state:{get:function(){return u(t.state,n)}}}),i}(t,a,n);r.forEachMutation(function(e,n){!function(t,e,n,r){(t._mutations[e]||(t._mutations[e]=[])).push(function(e){n.call(t,r.state,e)})}(t,a+n,e,p)}),r.forEachAction(function(e,n){var r=e.root?n:a+n,i=e.handler||e;c(t,r,i,p)}),r.forEachGetter(function(e,n){!function(t,e,n,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)})}(t,a+n,e,p)}),r.forEachChild(function(r,o){s(t,e,n.concat(o),r,i)})}function c(t,e,n,r){(t._actions[e]||(t._actions[e]=[])).push(function(e,i){var o=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e,i);return function(t){return t&&"function"==typeof t.then}(o)||(o=Promise.resolve(o)),t._devtoolHook?o.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):o})}function u(t,e){return e.length?e.reduce(function(t,e){return t[e]},t):t}function l(t,e,n){return function(t){return null!==t&&"object"==typeof t}(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function f(t){b&&t===b||m(b=t)}function d(t){return Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}})}function p(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function v(t,e,n){return t._modulesNamespaceMap[n]}Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"Store",function(){return E}),n.d(e,"install",function(){return f}),n.d(e,"mapState",function(){return w}),n.d(e,"mapMutations",function(){return O}),n.d(e,"mapGetters",function(){return S}),n.d(e,"mapActions",function(){return A}),n.d(e,"createNamespacedHelpers",function(){return I});var m=function(t){function e(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:e});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[e].concat(t.init):e,n.call(this,t)}}},h="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,_=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},g={namespaced:{configurable:!0}};g.namespaced.get=function(){return!!this._rawModule.namespaced},_.prototype.addChild=function(t,e){this._children[t]=e},_.prototype.removeChild=function(t){delete this._children[t]},_.prototype.getChild=function(t){return this._children[t]},_.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},_.prototype.forEachChild=function(t){r(this._children,t)},_.prototype.forEachGetter=function(t){this._rawModule.getters&&r(this._rawModule.getters,t)},_.prototype.forEachAction=function(t){this._rawModule.actions&&r(this._rawModule.actions,t)},_.prototype.forEachMutation=function(t){this._rawModule.mutations&&r(this._rawModule.mutations,t)},Object.defineProperties(_.prototype,g);var y=function(t){this.register([],t,!1)};y.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},y.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")},"")},y.prototype.update=function(t){!function t(e,n,r){if(n.update(r),r.modules)for(var i in r.modules){if(!n.getChild(i))return;t(e.concat(i),n.getChild(i),r.modules[i])}}([],this.root,t)},y.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var o=new _(e,n);0===t.length?this.root=o:this.get(t.slice(0,-1)).addChild(t[t.length-1],o),e.modules&&r(e.modules,function(e,r){i.register(t.concat(r),e,n)})},y.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)};var b,E=function(t){var e=this;void 0===t&&(t={}),!b&&"undefined"!=typeof window&&window.Vue&&f(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1);var i=t.state;void 0===i&&(i={}),"function"==typeof i&&(i=i()||{}),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new y(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new b;var o=this,c=this.dispatch,u=this.commit;this.dispatch=function(t,e){return c.call(o,t,e)},this.commit=function(t,e,n){return u.call(o,t,e,n)},this.strict=r,s(this,i,[],this._modules.root),a(this,i),n.forEach(function(t){return t(e)}),b.config.devtools&&function(t){h&&(t._devtoolHook=h,h.emit("vuex:init",t),h.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(t,e){h.emit("vuex:mutation",t,e)}))}(this)},C={state:{configurable:!0}};C.state.get=function(){return this._vm._data.$$state},C.state.set=function(t){},E.prototype.commit=function(t,e,n){var r=this,i=l(t,e,n),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),c=this._mutations[o];c&&(this._withCommit(function(){c.forEach(function(t){t(a)})}),this._subscribers.forEach(function(t){return t(s,r.state)}))},E.prototype.dispatch=function(t,e){var n=this,r=l(t,e),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s)return this._actionSubscribers.forEach(function(t){return t(a,n.state)}),s.length>1?Promise.all(s.map(function(t){return t(o)})):s[0](o)},E.prototype.subscribe=function(t){return i(t,this._subscribers)},E.prototype.subscribeAction=function(t){return i(t,this._actionSubscribers)},E.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch(function(){return t(r.state,r.getters)},e,n)},E.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},E.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),s(this,this.state,t,this._modules.get(t),n.preserveState),a(this,this.state)},E.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var n=u(e.state,t.slice(0,-1));b.delete(n,t[t.length-1])}),o(this)},E.prototype.hotUpdate=function(t){this._modules.update(t),o(this,!0)},E.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(E.prototype,C);var w=p(function(t,e){var n={};return d(e).forEach(function(e){var r=e.key,i=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=v(this.$store,0,t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof i?i.call(this,e,n):e[i]},n[r].vuex=!0}),n}),O=p(function(t,e){var n={};return d(e).forEach(function(e){var r=e.key,i=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var o=v(this.$store,0,t);if(!o)return;r=o.context.commit}return"function"==typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}}),n}),S=p(function(t,e){var n={};return d(e).forEach(function(e){var r=e.key,i=e.val;i=t+i,n[r]=function(){if(!t||v(this.$store,0,t))return this.$store.getters[i]},n[r].vuex=!0}),n}),A=p(function(t,e){var n={};return d(e).forEach(function(e){var r=e.key,i=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var o=v(this.$store,0,t);if(!o)return;r=o.context.dispatch}return"function"==typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}}),n}),I=function(t){return{mapState:w.bind(null,t),mapGetters:S.bind(null,t),mapMutations:O.bind(null,t),mapActions:A.bind(null,t)}},M={Store:E,install:f,version:"2.5.0",mapState:w,mapMutations:O,mapGetters:S,mapActions:A,createNamespacedHelpers:I};e.default=M},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){return t&&t.__esModule?t:{default:t}}(n(39)),i=n(63),o=Joomla.getOptions("com_media",{});if(void 0===o.providers||0===o.providers.length)throw new TypeError("Media providers are not defined.");var a=o.providers.map(function(t){return{displayName:t.displayName,drives:t.adapterNames.map(function(e,n){return{root:t.name+"-"+n+":/",displayName:e}})}});if(void 0===a[0].drives[0]||0===a[0].drives.length)throw new TypeError("No default media drive was found");if(o.currentPath){var s=JSON.parse(i.persistedStateOptions.storage.getItem(i.persistedStateOptions.key));s&&s.selectedDirectory&&s.selectedDirectory!==o.currentPath&&(s.selectedDirectory=o.currentPath,i.persistedStateOptions.storage.setItem(i.persistedStateOptions.key,(0,r.default)(s)))}e.default={isLoading:!1,disks:a,directories:a.map(function(t){return{path:t.drives[0].root,name:t.displayName,directories:[],files:[],directory:null}}),files:[],selectedDirectory:o.currentPath||a[0].drives[0].root,selectedItems:[],showInfoBar:!1,listView:"grid",gridSize:"md",showCreateFolderModal:!1,showPreviewModal:!1,showRenameModal:!1,previewItem:null}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSelectedDirectoryContents=e.getSelectedDirectoryFiles=e.getSelectedDirectoryDirectories=e.getSelectedDirectory=void 0;var r=function(t){return t&&t.__esModule?t:{default:t}}(n(35));e.getSelectedDirectory=function(t){return t.directories.find(function(e){return e.path===t.selectedDirectory})},e.getSelectedDirectoryDirectories=function(t,e){return t.directories.filter(function(e){return e.directory===t.selectedDirectory})},e.getSelectedDirectoryFiles=function(t,e){return t.files.filter(function(e){return e.directory===t.selectedDirectory})},e.getSelectedDirectoryContents=function(t,e){return[].concat((0,r.default)(e.getSelectedDirectoryDirectories),(0,r.default)(e.getSelectedDirectoryFiles))}},function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}Object.defineProperty(e,"__esModule",{value:!0}),e.deleteSelectedItems=e.renameItem=e.deleteItem=e.uploadFile=e.createDirectory=e.toggleBrowserItemSelect=e.download=e.getFullContents=e.getContents=void 0;var i=n(38),o=r(n(1)),a=function(t){return t&&t.__esModule?t:{default:t}}(n(62)),s=n(57),c=r(n(172));e.getContents=function(t,e){(function(t){null==t&&(t="");var e=window.location.href,n=new RegExp("\\b(path=).*?(&|$)");e.search(n)>=0?history.pushState(null,"",e.replace(n,"$1"+t+"$2")):history.pushState(null,"",e+(e.indexOf("?")>0?"&":"?")+"path="+t)})(e),t.commit(o.SET_IS_LOADING,!0),i.api.getContents(e,0).then(function(n){t.commit(o.LOAD_CONTENTS_SUCCESS,n),t.commit(o.UNSELECT_ALL_BROWSER_ITEMS),t.commit(o.SELECT_DIRECTORY,e),t.commit(o.SET_IS_LOADING,!1)}).catch(function(e){t.commit(o.SET_IS_LOADING,!1),console.log("error",e)})},e.getFullContents=function(t,e){t.commit(o.SET_IS_LOADING,!0),i.api.getContents(e.path,1).then(function(e){t.commit(o.LOAD_FULL_CONTENTS_SUCCESS,e.files[0]),t.commit(o.SET_IS_LOADING,!1)}).catch(function(e){t.commit(o.SET_IS_LOADING,!1),console.log("error",e)})},e.download=function(t,e){i.api.getContents(e.path,0,1).then(function(t){for(var e=t.files[0],n=atob(e.content),r=[],i=0;i<n.length;i+=512){for(var o=n.slice(i,i+512),a=new Array(o.length),s=0;s<o.length;s++)a[s]=o.charCodeAt(s);var u=new Uint8Array(a);r.push(u)}c.saveAs(new Blob(r,{type:e.mime_type}),e.name)}).catch(function(t){console.log("error",t)})},e.toggleBrowserItemSelect=function(t,e){var n=e;t.state.selectedItems.some(function(t){return t.path===n.path})?t.commit(o.UNSELECT_BROWSER_ITEM,n):t.commit(o.SELECT_BROWSER_ITEM,n)},e.createDirectory=function(t,e){t.commit(o.SET_IS_LOADING,!0),i.api.createDirectory(e.name,e.parent).then(function(e){t.commit(o.CREATE_DIRECTORY_SUCCESS,e),t.commit(o.HIDE_CREATE_FOLDER_MODAL),t.commit(o.SET_IS_LOADING,!1)}).catch(function(e){t.commit(o.SET_IS_LOADING,!1),console.log("error",e)})},e.uploadFile=function t(e,n){e.commit(o.SET_IS_LOADING,!0),i.api.upload(n.name,n.parent,n.content,n.override||!1).then(function(t){e.commit(o.UPLOAD_SUCCESS,t),e.commit(o.SET_IS_LOADING,!1)}).catch(function(r){e.commit(o.SET_IS_LOADING,!1),409===r.status&&s.notifications.ask(a.default.sprintf("COM_MEDIA_FILE_EXISTS_AND_OVERRIDE",n.name),{})&&(n.override=!0,t(e,n))})},e.deleteItem=function(t,e){t.commit(o.SET_IS_LOADING,!0);var n=e;i.api.delete(n.path).then(function(){t.commit(o.DELETE_SUCCESS,n),t.commit(o.UNSELECT_ALL_BROWSER_ITEMS),t.commit(o.SET_IS_LOADING,!1)}).catch(function(e){t.commit(o.SET_IS_LOADING,!1),console.log("error",e)})},e.renameItem=function(t,e){t.commit(o.SET_IS_LOADING,!0),i.api.rename(e.path,e.newPath).then(function(n){t.commit(o.RENAME_SUCCESS,{item:n,oldPath:e.path}),t.commit(o.HIDE_RENAME_MODAL),t.commit(o.SET_IS_LOADING,!1)}).catch(function(e){t.commit(o.SET_IS_LOADING,!1),console.log("error",e)})},e.deleteSelectedItems=function(t,e){t.commit(o.SET_IS_LOADING,!0);var n=t.state.selectedItems;n.length>0&&n.forEach(function(e){i.api.delete(e.path).then(function(){t.commit(o.DELETE_SUCCESS,e),t.commit(o.UNSELECT_ALL_BROWSER_ITEMS),t.commit(o.SET_IS_LOADING,!1)}).catch(function(e){t.commit(o.SET_IS_LOADING,!1),console.log("error",e)})})}},function(t,e,n){var r,i=i||function(t){"use strict";if(!(void 0===t||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var e=function(){return t.URL||t.webkitURL||t},n=t.document.createElementNS("http://www.w3.org/1999/xhtml","a"),r="download"in n,i=/constructor/i.test(t.HTMLElement)||t.safari,o=/CriOS\/[\d]+/.test(navigator.userAgent),a=function(e){(t.setImmediate||t.setTimeout)(function(){throw e},0)},s=function(t){setTimeout(function(){"string"==typeof t?e().revokeObjectURL(t):t.remove()},4e4)},c=function(t,e,n){for(var r=(e=[].concat(e)).length;r--;){var i=t["on"+e[r]];if("function"==typeof i)try{i.call(t,n||t)}catch(t){a(t)}}},u=function(t){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t},l=function(a,l,f){f||(a=u(a));var d,p=this,v="application/octet-stream"===a.type,m=function(){c(p,"writestart progress write writeend".split(" "))};if(p.readyState=p.INIT,r)return d=e().createObjectURL(a),void setTimeout(function(){var t,e;n.href=d,n.download=l,t=n,e=new MouseEvent("click"),t.dispatchEvent(e),m(),s(d),p.readyState=p.DONE});!function(){if((o||v&&i)&&t.FileReader){var n=new FileReader;return n.onloadend=function(){var e=o?n.result:n.result.replace(/^data:[^;]*;/,"data:attachment/file;");t.open(e,"_blank")||(t.location.href=e),e=void 0,p.readyState=p.DONE,m()},n.readAsDataURL(a),void(p.readyState=p.INIT)}d||(d=e().createObjectURL(a)),v?t.location.href=d:t.open(d,"_blank")||(t.location.href=d),p.readyState=p.DONE,m(),s(d)}()},f=l.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(t,e,n){return e=e||t.name||"download",n||(t=u(t)),navigator.msSaveOrOpenBlob(t,e)}:(f.abort=function(){},f.readyState=f.INIT=0,f.WRITING=1,f.DONE=2,f.error=f.onwritestart=f.onprogress=f.onwrite=f.onabort=f.onerror=f.onwriteend=null,function(t,e,n){return new l(t,e||t.name||"download",n)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);void 0!==t&&t.exports?t.exports.saveAs=i:null!==n(173)&&null!==n(174)&&void 0!==(r=function(){return i}.call(e,n,e,t))&&(t.exports=r)},function(t,e){t.exports=function(){throw new Error("define cannot be used indirect")}},function(t,e){(function(e){t.exports=e}).call(e,{})},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i,o=r(n(24)),a=r(n(35)),s=r(n(58)),c=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(1)),u=n(59),l=["xs","sm","md","lg","xl"];e.default=(i={},(0,o.default)(i,c.SELECT_DIRECTORY,function(t,e){t.selectedDirectory=e}),(0,o.default)(i,c.LOAD_CONTENTS_SUCCESS,function(t,e){(function e(n){if(!t.directories.some(function(t){return t.path===n})){var r=function(t){var e=t.split("/"),n=u.dirname(t);return-1!==n.indexOf(":",n.length-1)&&(n+="/"),{path:t,name:e[e.length-1],directories:[],files:[],directory:"."!==n?n:null,type:"dir",mime_type:"directory"}}(n);r.directories=t.directories.filter(function(t){return t.directory===r.path}).map(function(t){return t.path}),t.directories.push(r),r.directory&&e(r.directory)}})(t.selectedDirectory),e.directories.forEach(function(e){!function(t,e){var n=t.directories.find(function(t){return t.path===e.directory}),r=t.directories.indexOf(n),i=t.directories.findIndex(function(t){return t.path===e.path});-1===i&&(i=t.directories.length),t.directories.splice(i,1,e),-1!==r&&t.directories.splice(r,1,(0,s.default)({},n,{directories:[].concat((0,a.default)(n.directories),[e.path])}))}(t,e)}),e.files.forEach(function(e){!function(t,e){var n=t.directories.find(function(t){return t.path===e.directory}),r=t.directories.indexOf(n),i=t.files.findIndex(function(t){return t.path===e.path});-1===i&&(i=t.files.length),t.files.splice(i,1,e),-1!==r&&t.directories.splice(r,1,(0,s.default)({},n,{files:[].concat((0,a.default)(n.files),[e.path])}))}(t,e)})}),(0,o.default)(i,c.UPLOAD_SUCCESS,function(t,e){var n=e;if(!t.files.some(function(t){return t.path===n.path})){var r=t.directories.find(function(t){return t.path===n.directory}),i=t.directories.indexOf(r);t.files.push(n),t.directories.splice(i,1,(0,s.default)({},r,{files:[].concat((0,a.default)(r.files),[n.path])}))}}),(0,o.default)(i,c.CREATE_DIRECTORY_SUCCESS,function(t,e){var n=e;if(!t.directories.some(function(t){return t.path===n.path})){var r=t.directories.find(function(t){return t.path===n.directory}),i=t.directories.indexOf(r);t.directories.push(n),t.directories.splice(i,1,(0,s.default)({},r,{directories:[].concat((0,a.default)(r.directories),[n.path])}))}}),(0,o.default)(i,c.RENAME_SUCCESS,function(t,e){var n=e.item,r=e.oldPath;if("file"===n.type){var i=t.files.findIndex(function(t){return t.path===r});t.files.splice(i,1,n)}else{var o=t.directories.findIndex(function(t){return t.path===r});t.directories.splice(o,1,n)}}),(0,o.default)(i,c.DELETE_SUCCESS,function(t,e){var n=e;"file"===n.type&&t.files.splice(t.files.findIndex(function(t){return t.path===n.path}),1),"dir"===n.type&&t.directories.splice(t.directories.findIndex(function(t){return t.path===n.path}),1)}),(0,o.default)(i,c.SELECT_BROWSER_ITEM,function(t,e){t.selectedItems.push(e)}),(0,o.default)(i,c.SELECT_BROWSER_ITEMS,function(t,e){t.selectedItems=e}),(0,o.default)(i,c.UNSELECT_BROWSER_ITEM,function(t,e){var n=e;t.selectedItems.splice(t.selectedItems.findIndex(function(t){return t.path===n.path}),1)}),(0,o.default)(i,c.UNSELECT_ALL_BROWSER_ITEMS,function(t,e){t.selectedItems=[]}),(0,o.default)(i,c.SHOW_CREATE_FOLDER_MODAL,function(t){t.showCreateFolderModal=!0}),(0,o.default)(i,c.HIDE_CREATE_FOLDER_MODAL,function(t){t.showCreateFolderModal=!1}),(0,o.default)(i,c.SHOW_INFOBAR,function(t){t.showInfoBar=!0}),(0,o.default)(i,c.HIDE_INFOBAR,function(t){t.showInfoBar=!1}),(0,o.default)(i,c.CHANGE_LIST_VIEW,function(t,e){t.listView=e}),(0,o.default)(i,c.LOAD_FULL_CONTENTS_SUCCESS,function(t,e){t.previewItem=e}),(0,o.default)(i,c.SHOW_PREVIEW_MODAL,function(t){t.showPreviewModal=!0}),(0,o.default)(i,c.HIDE_PREVIEW_MODAL,function(t){t.showPreviewModal=!1}),(0,o.default)(i,c.SET_IS_LOADING,function(t,e){t.isLoading=e}),(0,o.default)(i,c.SHOW_RENAME_MODAL,function(t){t.showRenameModal=!0}),(0,o.default)(i,c.HIDE_RENAME_MODAL,function(t){t.showRenameModal=!1}),(0,o.default)(i,c.INCREASE_GRID_SIZE,function(t){var e=l.indexOf(t.gridSize);e>=0&&e<l.length-1&&(t.gridSize=l[++e])}),(0,o.default)(i,c.DECREASE_GRID_SIZE,function(t){var e=l.indexOf(t.gridSize);e>0&&e<l.length&&(t.gridSize=l[--e])}),i)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(177),i=n(178),o=n.n(i);e.default=function(t,e,n){function i(t,e,n){try{return(n=e.getItem(t))&&"undefined"!==n?JSON.parse(n):void 0}catch(t){}}if(e=(t=t||{}).storage||window&&window.localStorage,n=t.key||"vuex",!function(t){try{return t.setItem("@@",1),t.removeItem("@@"),!0}catch(t){}return!1}(e))throw new Error("Invalid storage instance given");return function(a){var s=o.a.get(t,"getState",i)(n,e);"object"==typeof s&&null!==s&&a.replaceState(Object(r.a)(a.state,s,{arrayMerge:t.arrayMerger||function(t,e){return e},clone:!1})),(t.subscriber||function(t){return function(e){return t.subscribe(e)}})(a)(function(r,i){(t.filter||function(){return!0})(r)&&(t.setState||function(t,e,n){return n.setItem(t,JSON.stringify(e))})(n,(t.reducer||function(t,e){return 0===e.length?t:e.reduce(function(e,n){return o.a.set(e,n,o.a.get(t,n))},{})})(i,t.paths||[]),e)})}}},function(t,e,n){"use strict";function r(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===c}(t)}function i(t,e){return!1!==e.clone&&e.isMergeableObject(t)?a(function(t){return Array.isArray(t)?[]:{}}(t),t,e):t}function o(t,e,n){return t.concat(e).map(function(t){return i(t,n)})}function a(t,e,n){(n=n||{}).arrayMerge=n.arrayMerge||o,n.isMergeableObject=n.isMergeableObject||s;var r=Array.isArray(e);return r===Array.isArray(t)?r?n.arrayMerge(t,e,n):function(t,e,n){var r={};return n.isMergeableObject(t)&&Object.keys(t).forEach(function(e){r[e]=i(t[e],n)}),Object.keys(e).forEach(function(o){n.isMergeableObject(e[o])&&t[o]?r[o]=a(t[o],e[o],n):r[o]=i(e[o],n)}),r}(t,e,n):i(e,n)}var s=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!r(t)},c="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;a.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(t,n){return a(t,n,e)},{})};var u=a;e.a=u},function(t,e){e.get=function(t,e,n){return void 0===(t=(e.split?e.split("."):e).reduce(function(t,e){return t&&t[e]},t))?n:t},e.set=function(t,e,n,r){return(e=e.split?e.split("."):e).slice(0,-1).reduce(function(t,e){return t[e]=t[e]||{}},t)[e.pop()]=n,t}},function(t,e){}]);
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L73

Insecure DOM Manipulation (XSS) in admin-module-edit.js

CWE-79
File Location: media/com_modules/js/admin-module-edit.js:73
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- tmpMenu.innerHTML = '<span class=\"badge badge-success\">' + Joomla.JText._('JYES') + '</span>';
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L311

Insecure DOM Manipulation (XSS) in chosen.js

CWE-79
File Location: media/legacy/js/chosen.js:311
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- group_el.innerHTML = group.search_text;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L61

Insecure DOM Manipulation (XSS) in extensionupdatecheck.js

CWE-79
File Location: media/plg_quickicon_extensionupdate/js/extensionupdatecheck.js:61
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- linkSpan[i].innerHTML = Joomla.JText._('PLG_QUICKICON_EXTENSIONUPDATE_ERROR');
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L55

Insecure DOM Manipulation (XSS) in jupdatecheck.js

CWE-79
File Location: media/plg_quickicon_joomlaupdate/js/jupdatecheck.js:55
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- linkSpan[i].innerHTML = Joomla.JText._('PLG_QUICKICON_JOOMLAUPDATE_UPDATEFOUND').replace("%s", '<span class="badge badge-light">' + updateInfoList.length + '</span>');
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L90

Insecure DOM Manipulation (XSS) in validate.js

CWE-79
File Location: media/system/js/fields/validate.js:90
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- elMsg.innerHTML = message ? message : Joomla.JText._('JLIB_FORM_FIELD_REQUIRED_CHECK');
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L94

Insecure DOM Manipulation (XSS) in validate.js

CWE-79
File Location: media/system/js/fields/validate.js:94
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- elMsg.innerHTML = message ? message : Joomla.JText._('JLIB_FORM_FIELD_INVALID_VALUE');
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L1

Insecure DOM Manipulation (XSS) in joomla-field-media-es5.min.js

CWE-79
File Location: media/system/webcomponents/js/joomla-field-media-es5.min.js:1
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- !function(){return function t(e,i,n){function r(u,s){if(!i[u]){if(!e[u]){var a="function"==typeof require&&require;if(!s&&a)return a(u,!0);if(o)return o(u,!0);var l=new Error("Cannot find module '"+u+"'");throw l.code="MODULE_NOT_FOUND",l}var c=i[u]={exports:{}};e[u][0].call(c.exports,function(t){return r(e[u][1][t]||t)},c,c.exports,t,e,i,n)}return i[u].exports}for(var o="function"==typeof require&&require,u=0;u<n.length;u++)r(n[u]);return r}}()({1:[function(t,e,i){"use strict";var n=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,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),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};!function(t,e,i){if(!e)throw new Error("Joomla API is not properly initiated");e.selectedFile={},window.document.addEventListener("onMediaFileSelected",function(t){e.selectedFile=t.detail}),e.doIt=function(t,i,n){if(!0===t.success){if(t.data[0].url)if(/local-/.test(t.data[0].adapter)){var o=e.getOptions("system.paths").rootFull;e.selectedFile.url=t.data[0].url.split(o)[1],t.data[0].thumb_path?e.selectedFile.thumb=t.data[0].thumb_path:e.selectedFile.thumb=!1}else t.data[0].thumb_path&&(e.selectedFile.thumb=t.data[0].thumb_path);else e.selectedFile.url=!1;var u=function(t){return"object"===("undefined"==typeof HTMLElement?"undefined":r(HTMLElement))?t instanceof HTMLElement:t&&"object"===(void 0===t?"undefined":r(t))&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName};e.selectedFile.url&&(u(i)||"object"===(void 0===i?"undefined":r(i))?!u(i)&&"object"===(void 0===i?"undefined":r(i))&&i.id?parent.window.Joomla.editors.instances[i.id].replaceSelection('<img src="'+e.selectedFile.url+'" alt=""/>'):(i.value=e.selectedFile.url,n.updatePreview()):e.editors.instances[i].replaceSelection('<img src="'+e.selectedFile.url+'" alt=""/>'))}},e.getImage=function(t,i,n){return new Promise(function(r,o){var u=e.getOptions("csrf.token"),s=e.getOptions("system.paths").rootFull+"administrator/index.php?option=com_media&format=json";e.request({url:s+"&task=api.files&url=true&path="+t.path+"&"+u+"=1&format=json",method:"GET",perform:!0,headers:{"Content-Type":"application/json"},onSuccess:function(t){var o=JSON.parse(t);r(e.doIt(o,i,n))},onError:function(){o()}})})};var o=function(t){function r(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,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,(r.__proto__||Object.getPrototypeOf(r)).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)}(r,HTMLElement),n(r,[{key:"connectedCallback",value:function(){var t=this.querySelector(this.buttonSelect),e=this.querySelector(this.buttonClear);this.show=this.show.bind(this),this.modalClose=this.modalClose.bind(this),this.clearValue=this.clearValue.bind(this),this.setValue=this.setValue.bind(this),this.updatePreview=this.updatePreview.bind(this),t.addEventListener("click",this.show),e&&e.addEventListener("click",this.clearValue),this.updatePreview()}},{key:"disconnectedCallback",value:function(){this.querySelector(this.buttonClear).removeEventListener("click",this)}},{key:"show",value:function(){var t=this,e=this;i(this.querySelector('[role="dialog"]')).modal("show"),i(this.querySelector(this.buttonSaveSelected)).on("click",function(i){return i.preventDefault(),i.stopPropagation(),t.selectedPath&&e.setValue(t.selectedPath),e.modalClose(),!1})}},{key:"modalClose",value:function(){var t=this.querySelector(this.input);e.getImage(e.selectedFile,t,this),i(this.querySelector('[role="dialog"]')).modal("hide")}},{key:"setValue",value:function(t){i(this.querySelector(this.input)).val(t).trigger("change"),this.updatePreview()}},{key:"clearValue",value:function(){this.setValue("")}},{key:"updatePreview",value:function(){if(-1!==["true","static"].indexOf(this.preview)&&"false"!==this.preview&&this.preview){var t=this.querySelector(this.input).value,i=this.querySelector(".field-media-preview");if(t){i.innerHTML="";var n=new Image;switch(this.type){case"image":n.src=n.src=/http/.test(t)?t:e.getOptions("system.paths").rootFull+t}i.style.width=this.previewWidth,i.appendChild(n)}else i.innerHTML='<span class="field-media-preview-icon fa fa-picture-o"></span>'}}},{key:"type",get:function(){return this.getAttribute("type")},set:function(t){this.setAttribute("type",t)}},{key:"basePath",get:function(){return this.getAttribute("base-path")},set:function(t){this.setAttribute("base-path",t)}},{key:"rootFolder",get:function(){return this.getAttribute("root-folder")},set:function(t){this.setAttribute("root-folder",t)}},{key:"url",get:function(){return this.getAttribute("url")},set:function(t){this.setAttribute("url",t)}},{key:"modalContainer",get:function(){return this.getAttribute("modal-container")},set:function(t){this.setAttribute("modal-container",t)}},{key:"input",get:function(){return this.getAttribute("input")},set:function(t){this.setAttribute("input",t)}},{key:"buttonSelect",get:function(){return this.getAttribute("button-select")},set:function(t){this.setAttribute("button-select",t)}},{key:"buttonClear",get:function(){return this.getAttribute("button-clear")},set:function(t){this.setAttribute("button-clear",t)}},{key:"buttonSaveSelected",get:function(){return this.getAttribute("button-save-selected")},set:function(t){this.setAttribute("button-save-selected",t)}},{key:"modalWidth",get:function(){return this.getAttribute(parseInt("modal-width",10))},set:function(t){this.setAttribute("modal-width",t)}},{key:"modalHeight",get:function(){return this.getAttribute(parseInt("modal-height",10))},set:function(t){this.setAttribute("modal-height",t)}},{key:"previewWidth",get:function(){return this.getAttribute(parseInt("preview-width",10))},set:function(t){this.setAttribute("preview-width",t)}},{key:"previewHeight",get:function(){return this.getAttribute(parseInt("preview-height",10))},set:function(t){this.setAttribute("preview-height",t)}},{key:"preview",get:function(){return this.getAttribute("preview")},set:function(t){this.setAttribute("preview",t)}},{key:"previewContainer",get:function(){return this.getAttribute("preview-container")}}],[{key:"observedAttributes",get:function(){return["type","base-path","root-folder","url","modal-container","modal-width","modal-height","input","button-select","button-clear","button-save-selected","preview","preview-width","preview-height"]}}]),r}();t.define("joomla-field-media",o)}(customElements,Joomla,jQuery)},{}]},{},[1]);
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L192

Insecure DOM Manipulation (XSS) in joomla-field-media.js

CWE-79
File Location: media/system/webcomponents/js/joomla-field-media.js:192
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- div.innerHTML = '';
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L103

Insecure DOM Manipulation (XSS) in joomla-field-module-order-es5.js

CWE-79
File Location: media/system/webcomponents/js/joomla-field-module-order-es5.js:103
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- this.innerHTML = '';
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L24

Insecure DOM Manipulation (XSS) in dialog.js

CWE-79
File Location: media/vendor/codemirror/addon/dialog/dialog.js:24
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- dialog.innerHTML = template;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L1

Insecure DOM Manipulation (XSS) in colorize.min.js

CWE-79
File Location: media/vendor/codemirror/addon/runmode/colorize.min.js:1
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- !function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror"),require("./runmode")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","./runmode"],e):e(CodeMirror)}(function(e){"use strict";var o=/^(p|li|div|h\\d|pre|blockquote|td)$/;function r(e,n){if(3==e.nodeType)return n.push(e.nodeValue);for(var t=e.firstChild;t;t=t.nextSibling)r(t,n),o.test(e.nodeType)&&n.push("\n")}e.colorize=function(o,n){o||(o=document.body.getElementsByTagName("pre"));for(var t=0;t<o.length;++t){var i=o[t],d=i.getAttribute("data-lang")||n;if(d){var u=[];r(i,u),i.innerHTML="",e.runMode(u.join(""),d,i),i.className+=" cm-s-default"}}}});
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L193

Insecure DOM Manipulation (XSS) in joomla-alert-es5.js

CWE-79
File Location: media/vendor/joomla-custom-elements/js/joomla-alert-es5.js:193
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- closeButton.innerHTML = this.getText('JOK', 'ok');
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L107

Insecure DOM Manipulation (XSS) in joomla-alert.js

CWE-79
File Location: media/vendor/joomla-custom-elements/js/joomla-alert.js:107
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- closeButton.innerHTML = '<span aria-hidden="true">&times;</span>';
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L1

Insecure DOM Manipulation (XSS) in jquery.min.js

CWE-79
File Location: media/vendor/jquery/js/jquery.min.js:1
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],r=e.document,i=Object.getPrototypeOf,o=n.slice,a=n.concat,s=n.push,u=n.indexOf,l={},c=l.toString,f=l.hasOwnProperty,p=f.toString,d=p.call(Object),h={},g=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},v=function(e){return null!=e&&e===e.window},y={type:!0,src:!0,noModule:!0};function m(e,t,n){var i,o=(t=t||r).createElement("script");if(o.text=e,n)for(i in y)n[i]&&(o[i]=n[i]);t.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var b=function(e,t){return new b.fn.init(e,t)},w=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function T(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!g(e)&&!v(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}b.fn=b.prototype={jquery:"3.3.1",constructor:b,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=b.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return b.each(this,e)},map:function(e){return this.pushStack(b.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},b.extend=b.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||g(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],a!==(r=e[t])&&(l&&r&&(b.isPlainObject(r)||(i=Array.isArray(r)))?(i?(i=!1,o=n&&Array.isArray(n)?n:[]):o=n&&b.isPlainObject(n)?n:{},a[t]=b.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},b.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==c.call(e))&&(!(t=i(e))||"function"==typeof(n=f.call(t,"constructor")&&t.constructor)&&p.call(n)===d)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){m(e)},each:function(e,t){var n,r=0;if(T(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(w,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(T(Object(e))?b.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,s=[];if(T(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&s.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&s.push(i);return a.apply([],s)},guid:1,support:h}),"function"==typeof Symbol&&(b.fn[Symbol.iterator]=n[Symbol.iterator]),b.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});var C=function(e){var t,n,r,i,o,a,s,u,l,c,f,p,d,h,g,v,y,m,x,b="sizzle"+1*new Date,w=e.document,T=0,C=0,E=ae(),k=ae(),S=ae(),D=function(e,t){return e===t&&(f=!0),0},N={}.hasOwnProperty,A=[],j=A.pop,q=A.push,L=A.push,H=A.slice,O=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},P="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",I="\\["+M+"*("+R+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+M+"*\\]",W=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+I+")*)|.*)\\)|)",$=new RegExp(M+"+","g"),B=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),F=new RegExp("^"+M+"*,"+M+"*"),_=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),z=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),X=new RegExp(W),U=new RegExp("^"+R+"$"),V={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){p()},ie=me(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{L.apply(A=H.call(w.childNodes),w.childNodes),A[w.childNodes.length].nodeType}catch(e){L={apply:A.length?function(e,t){q.apply(e,H.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function oe(e,t,r,i){var o,s,l,c,f,h,y,m=t&&t.ownerDocument,T=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==T&&9!==T&&11!==T)return r;if(!i&&((t?t.ownerDocument||t:w)!==d&&p(t),t=t||d,g)){if(11!==T&&(f=J.exec(e)))if(o=f[1]){if(9===T){if(!(l=t.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(m&&(l=m.getElementById(o))&&x(t,l)&&l.id===o)return r.push(l),r}else{if(f[2])return L.apply(r,t.getElementsByTagName(e)),r;if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return L.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!S[e+" "]&&(!v||!v.test(e))){if(1!==T)m=t,y=e;else if("object"!==t.nodeName.toLowerCase()){for((c=t.getAttribute("id"))?c=c.replace(te,ne):t.setAttribute("id",c=b),s=(h=a(e)).length;s--;)h[s]="#"+c+" "+ye(h[s]);y=h.join(","),m=K.test(e)&&ge(t.parentNode)||t}if(y)try{return L.apply(r,m.querySelectorAll(y)),r}catch(e){}finally{c===b&&t.removeAttribute("id")}}}return u(e.replace(B,"$1"),t,r,i)}function ae(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function se(e){return e[b]=!0,e}function ue(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function le(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function de(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return se(function(t){return t=+t,se(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=oe.support={},o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},p=oe.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!==d&&9===a.nodeType&&a.documentElement?(h=(d=a).documentElement,g=!o(d),w!==d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(d.getElementsByClassName),n.getById=ue(function(e){return h.appendChild(e).id=b,!d.getElementsByName||!d.getElementsByName(b).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},y=[],v=[],(n.qsa=Q.test(d.querySelectorAll))&&(ue(function(e){h.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+b+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||v.push(".#.+[+~]")}),ue(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=d.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(n.matchesSelector=Q.test(m=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=m.call(e,"*"),m.call(e,"[s!='']:x"),y.push("!=",W)}),v=v.length&&new RegExp(v.join("|")),y=y.length&&new RegExp(y.join("|")),t=Q.test(h.compareDocumentPosition),x=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===d||e.ownerDocument===w&&x(w,e)?-1:t===d||t.ownerDocument===w&&x(w,t)?1:c?O(c,e)-O(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===d?-1:t===d?1:i?-1:o?1:c?O(c,e)-O(c,t):0;if(i===o)return ce(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?ce(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0},d):d},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==d&&p(e),t=t.replace(z,"='$1']"),n.matchesSelector&&g&&!S[t+" "]&&(!y||!y.test(t))&&(!v||!v.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return oe(t,d,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==d&&p(e),x(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==d&&p(e);var i=r.attrHandle[t.toLowerCase()],o=i&&N.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},oe.escape=function(e){return(e+"").replace(te,ne)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(D),f){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return c=null,e},i=oe.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=oe.selectors={cacheLength:50,createPseudo:se,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Z,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Z,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&E(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=oe.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace($," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,d,h,g=o!==a?"nextSibling":"previousSibling",v=t.parentNode,y=s&&t.nodeName.toLowerCase(),m=!u&&!s,x=!1;if(v){if(o){for(;g;){for(p=t;p=p[g];)if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?v.firstChild:v.lastChild],a&&m){for(x=(d=(l=(c=(f=(p=v)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1])&&l[2],p=d&&v.childNodes[d];p=++d&&p&&p[g]||(x=d=0)||h.pop();)if(1===p.nodeType&&++x&&p===t){c[e]=[T,d,x];break}}else if(m&&(x=d=(l=(c=(f=(p=t)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1]),!1===x)for(;(p=++d&&p&&p[g]||(x=d=0)||h.pop())&&((s?p.nodeName.toLowerCase()!==y:1!==p.nodeType)||!++x||(m&&((c=(f=p[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]=[T,x]),p!==t)););return(x-=i)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=O(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:se(function(e){var t=[],n=[],r=s(e.replace(B,"$1"));return r[b]?se(function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return oe(e,t).length>0}}),contains:se(function(e){return e=e.replace(Z,ee),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:se(function(e){return U.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(Z,ee).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:de(!1),disabled:de(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:he(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:he(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=pe(t);function ve(){}function ye(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function me(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=C++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,u){var l,c,f,p=[T,s];if(u){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,u))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(c=(f=t[b]||(t[b]={}))[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=c[o])&&l[0]===T&&l[1]===s)return p[2]=l[2];if(c[o]=p,p[2]=e(t,n,u))return!0}return!1}}function xe(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function be(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function we(e,t,n,r,i,o){return r&&!r[b]&&(r=we(r)),i&&!i[b]&&(i=we(i,o)),se(function(o,a,s,u){var l,c,f,p=[],d=[],h=a.length,g=o||function(e,t,n){for(var r=0,i=t.length;r<i;r++)oe(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),v=!e||!o&&t?g:be(g,p,e,s,u),y=n?i||(o?e:h||r)?[]:a:v;if(n&&n(v,y,s,u),r)for(l=be(y,d),r(l,[],s,u),c=l.length;c--;)(f=l[c])&&(y[d[c]]=!(v[d[c]]=f));if(o){if(i||e){if(i){for(l=[],c=y.length;c--;)(f=y[c])&&l.push(v[c]=f);i(null,y=[],l,u)}for(c=y.length;c--;)(f=y[c])&&(l=i?O(o,f):p[c])>-1&&(o[l]=!(a[l]=f))}}else y=be(y===a?y.splice(h,y.length):y),i?i(null,a,y,u):L.apply(a,y)})}function Te(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,c=me(function(e){return e===t},s,!0),f=me(function(e){return O(t,e)>-1},s,!0),p=[function(e,n,r){var i=!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,i}];u<o;u++)if(n=r.relative[e[u].type])p=[me(xe(p),n)];else{if((n=r.filter[e[u].type].apply(null,e[u].matches))[b]){for(i=++u;i<o&&!r.relative[e[i].type];i++);return we(u>1&&xe(p),u>1&&ye(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(B,"$1"),n,u<i&&Te(e.slice(u,i)),i<o&&Te(e=e.slice(i)),i<o&&ye(e))}p.push(n)}return xe(p)}return ve.prototype=r.filters=r.pseudos,r.setFilters=new ve,a=oe.tokenize=function(e,t){var n,i,o,a,s,u,l,c=k[e+" "];if(c)return t?0:c.slice(0);for(s=e,u=[],l=r.preFilter;s;){for(a in n&&!(i=F.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),n=!1,(i=_.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(B," ")}),s=s.slice(n.length)),r.filter)!(i=V[a].exec(s))||l[a]&&!(i=l[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?oe.error(e):k(e,u).slice(0)},s=oe.compile=function(e,t){var n,i=[],o=[],s=S[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=Te(t[n]))[b]?i.push(s):o.push(s);(s=S(e,function(e,t){var n=t.length>0,i=e.length>0,o=function(o,a,s,u,c){var f,h,v,y=0,m="0",x=o&&[],b=[],w=l,C=o||i&&r.find.TAG("*",c),E=T+=null==w?1:Math.random()||.1,k=C.length;for(c&&(l=a===d||a||c);m!==k&&null!=(f=C[m]);m++){if(i&&f){for(h=0,a||f.ownerDocument===d||(p(f),s=!g);v=e[h++];)if(v(f,a||d,s)){u.push(f);break}c&&(T=E)}n&&((f=!v&&f)&&y--,o&&x.push(f))}if(y+=m,n&&m!==y){for(h=0;v=t[h++];)v(x,b,a,s);if(o){if(y>0)for(;m--;)x[m]||b[m]||(b[m]=j.call(u));b=be(b)}L.apply(u,b),c&&!o&&b.length>0&&y+t.length>1&&oe.uniqueSort(u)}return c&&(T=E,l=w),x};return n?se(o):o}(o,i))).selector=e}return s},u=oe.select=function(e,t,n,i){var o,u,l,c,f,p="function"==typeof e&&e,d=!i&&a(e=p.selector||e);if(n=n||[],1===d.length){if((u=d[0]=d[0].slice(0)).length>2&&"ID"===(l=u[0]).type&&9===t.nodeType&&g&&r.relative[u[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(Z,ee),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(u.shift().value.length)}for(o=V.needsContext.test(e)?0:u.length;o--&&(l=u[o],!r.relative[c=l.type]);)if((f=r.find[c])&&(i=f(l.matches[0].replace(Z,ee),K.test(u[0].type)&&ge(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&ye(u)))return L.apply(n,i),n;break}}return(p||s(e,d))(i,t,!g,n,!t||K.test(e)&&ge(t.parentNode)||t),n},n.sortStable=b.split("").sort(D).join("")===b,n.detectDuplicates=!!f,p(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))}),ue(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||le("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||le("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||le(P,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),oe}(e);b.find=C,b.expr=C.selectors,b.expr[":"]=b.expr.pseudos,b.uniqueSort=b.unique=C.uniqueSort,b.text=C.getText,b.isXMLDoc=C.isXML,b.contains=C.contains,b.escapeSelector=C.escape;var E=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&b(e).is(n))break;r.push(e)}return r},k=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},S=b.expr.match.needsContext;function D(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function A(e,t,n){return g(t)?b.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?b.grep(e,function(e){return e===t!==n}):"string"!=typeof t?b.grep(e,function(e){return u.call(t,e)>-1!==n}):b.filter(t,e,n)}b.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?b.find.matchesSelector(r,e)?[r]:[]:b.find.matches(e,b.grep(t,function(e){return 1===e.nodeType}))},b.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(b(e).filter(function(){for(t=0;t<r;t++)if(b.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)b.find(e,i[t],n);return r>1?b.uniqueSort(n):n},filter:function(e){return this.pushStack(A(this,e||[],!1))},not:function(e){return this.pushStack(A(this,e||[],!0))},is:function(e){return!!A(this,"string"==typeof e&&S.test(e)?b(e):e||[],!1).length}});var j,q=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(b.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||j,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:q.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof b?t[0]:t,b.merge(this,b.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:r,!0)),N.test(i[1])&&b.isPlainObject(t))for(i in t)g(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(o=r.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(b):b.makeArray(e,this)}).prototype=b.fn,j=b(r);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}b.fn.extend({has:function(e){var t=b(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(b.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&b(e);if(!S.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&b.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?b.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(b(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(b.uniqueSort(b.merge(this.get(),b(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),b.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return E(e,"parentNode")},parentsUntil:function(e,t,n){return E(e,"parentNode",n)},next:function(e){return O(e,"nextSibling")},prev:function(e){return O(e,"previousSibling")},nextAll:function(e){return E(e,"nextSibling")},prevAll:function(e){return E(e,"previousSibling")},nextUntil:function(e,t,n){return E(e,"nextSibling",n)},prevUntil:function(e,t,n){return E(e,"previousSibling",n)},siblings:function(e){return k((e.parentNode||{}).firstChild,e)},children:function(e){return k(e.firstChild)},contents:function(e){return D(e,"iframe")?e.contentDocument:(D(e,"template")&&(e=e.content||e),b.merge([],e.childNodes))}},function(e,t){b.fn[e]=function(n,r){var i=b.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=b.filter(r,i)),this.length>1&&(H[e]||b.uniqueSort(i),L.test(e)&&i.reverse()),this.pushStack(i)}});var P=/[^\x20\t\r\n\f]+/g;function M(e){return e}function R(e){throw e}function I(e,t,n,r){var i;try{e&&g(i=e.promise)?i.call(e).done(t).fail(n):e&&g(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}b.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return b.each(e.match(P)||[],function(e,n){t[n]=!0}),t}(e):b.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},l={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){b.each(n,function(n,r){g(r)?e.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==x(r)&&t(r)})}(arguments),n&&!t&&u()),this},remove:function(){return b.each(arguments,function(e,t){for(var n;(n=b.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?b.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},b.extend({Deferred:function(t){var n=[["notify","progress",b.Callbacks("memory"),b.Callbacks("memory"),2],["resolve","done",b.Callbacks("once memory"),b.Callbacks("once memory"),0,"resolved"],["reject","fail",b.Callbacks("once memory"),b.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return b.Deferred(function(t){b.each(n,function(n,r){var i=g(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&g(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){var o=0;function a(t,n,r,i){return function(){var s=this,u=arguments,l=function(){var e,l;if(!(t<o)){if((e=r.apply(s,u))===n.promise())throw new TypeError("Thenable self-resolution");l=e&&("object"==typeof e||"function"==typeof e)&&e.then,g(l)?i?l.call(e,a(o,n,M,i),a(o,n,R,i)):(o++,l.call(e,a(o,n,M,i),a(o,n,R,i),a(o,n,M,n.notifyWith))):(r!==M&&(s=void 0,u=[e]),(i||n.resolveWith)(s,u))}},c=i?l:function(){try{l()}catch(e){b.Deferred.exceptionHook&&b.Deferred.exceptionHook(e,c.stackTrace),t+1>=o&&(r!==R&&(s=void 0,u=[e]),n.rejectWith(s,u))}};t?c():(b.Deferred.getStackHook&&(c.stackTrace=b.Deferred.getStackHook()),e.setTimeout(c))}}return b.Deferred(function(e){n[0][3].add(a(0,e,g(i)?i:M,e.notifyWith)),n[1][3].add(a(0,e,g(t)?t:M)),n[2][3].add(a(0,e,g(r)?r:R))}).promise()},promise:function(e){return null!=e?b.extend(e,i):i}},o={};return b.each(n,function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add,s&&a.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=o.call(arguments),a=b.Deferred(),s=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?o.call(arguments):n,--t||a.resolveWith(r,i)}};if(t<=1&&(I(e,a.done(s(n)).resolve,a.reject,!t),"pending"===a.state()||g(i[n]&&i[n].then)))return a.then();for(;n--;)I(i[n],s(n),a.reject);return a.promise()}});var W=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;b.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&W.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},b.readyException=function(t){e.setTimeout(function(){throw t})};var $=b.Deferred();function B(){r.removeEventListener("DOMContentLoaded",B),e.removeEventListener("load",B),b.ready()}b.fn.ready=function(e){return $.then(e).catch(function(e){b.readyException(e)}),this},b.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--b.readyWait:b.isReady)||(b.isReady=!0,!0!==e&&--b.readyWait>0||$.resolveWith(r,[b]))}}),b.ready.then=$.then,"complete"===r.readyState||"loading"!==r.readyState&&!r.documentElement.doScroll?e.setTimeout(b.ready):(r.addEventListener("DOMContentLoaded",B),e.addEventListener("load",B));var F=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n))for(s in i=!0,n)F(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,g(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(b(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},_=/^-ms-/,z=/-([a-z])/g;function X(e,t){return t.toUpperCase()}function U(e){return e.replace(_,"ms-").replace(z,X)}var V=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function G(){this.expando=b.expando+G.uid++}G.uid=1,G.prototype={cache:function(e){var t=e[this.expando];return t||(t={},V(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[U(t)]=n;else for(r in t)i[U(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][U(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(U):(t=U(t))in r?[t]:t.match(P)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||b.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!b.isEmptyObject(t)}};var Y=new G,Q=new G,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,K=/[A-Z]/g;function Z(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(K,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:J.test(e)?JSON.parse(e):e)}(n)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}b.extend({hasData:function(e){return Q.hasData(e)||Y.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return Y.access(e,t,n)},_removeData:function(e,t){Y.remove(e,t)}}),b.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=Q.get(o),1===o.nodeType&&!Y.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=U(r.slice(5)),Z(o,r,i[r]));Y.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){Q.set(this,e)}):F(this,function(t){var n;if(o&&void 0===t)return void 0!==(n=Q.get(o,e))?n:void 0!==(n=Z(o,e))?n:void 0;this.each(function(){Q.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Q.remove(this,e)})}}),b.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Y.get(e,t),n&&(!r||Array.isArray(n)?r=Y.access(e,t,b.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=b.queue(e,t),r=n.length,i=n.shift(),o=b._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){b.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Y.get(e,n)||Y.access(e,n,{empty:b.Callbacks("once memory").add(function(){Y.remove(e,[t+"queue",n])})})}}),b.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?b.queue(this[0],e):void 0===t?this:this.each(function(){var n=b.queue(this,e,t);b._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&b.dequeue(this,e)})},dequeue:function(e){return this.each(function(){b.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=b.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Y.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ne=["Top","Right","Bottom","Left"],re=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&b.contains(e.ownerDocument,e)&&"none"===b.css(e,"display")},ie=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=a[o];return i};function oe(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return b.css(e,t,"")},u=s(),l=n&&n[3]||(b.cssNumber[t]?"":"px"),c=(b.cssNumber[t]||"px"!==l&&+u)&&te.exec(b.css(e,t));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;a--;)b.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,b.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ae={};function se(e){var t,n=e.ownerDocument,r=e.nodeName,i=ae[r];return i||(t=n.body.appendChild(n.createElement(r)),i=b.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),ae[r]=i,i)}function ue(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=Y.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&re(r)&&(i[o]=se(r))):"none"!==n&&(i[o]="none",Y.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}b.fn.extend({show:function(){return ue(this,!0)},hide:function(){return ue(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){re(this)?b(this).show():b(this).hide()})}});var le=/^(?:checkbox|radio)$/i,ce=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,fe=/^$|^module$|\/(?:java|ecma)script/i,pe={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function de(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&D(e,t)?b.merge([e],n):n}function he(e,t){for(var n=0,r=e.length;n<r;n++)Y.set(e[n],"globalEval",!t||Y.get(t[n],"globalEval"))}pe.optgroup=pe.option,pe.tbody=pe.tfoot=pe.colgroup=pe.caption=pe.thead,pe.th=pe.td;var ge,ve,ye=/<|&#?\w+;/;function me(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))b.merge(p,o.nodeType?[o]:o);else if(ye.test(o)){for(a=a||f.appendChild(t.createElement("div")),s=(ce.exec(o)||["",""])[1].toLowerCase(),u=pe[s]||pe._default,a.innerHTML=u[1]+b.htmlPrefilter(o)+u[2],c=u[0];c--;)a=a.lastChild;b.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));for(f.textContent="",d=0;o=p[d++];)if(r&&b.inArray(o,r)>-1)i&&i.push(o);else if(l=b.contains(o.ownerDocument,o),a=de(f.appendChild(o),"script"),l&&he(a),n)for(c=0;o=a[c++];)fe.test(o.type||"")&&n.push(o);return f}ge=r.createDocumentFragment().appendChild(r.createElement("div")),(ve=r.createElement("input")).setAttribute("type","radio"),ve.setAttribute("checked","checked"),ve.setAttribute("name","t"),ge.appendChild(ve),h.checkClone=ge.cloneNode(!0).cloneNode(!0).lastChild.checked,ge.innerHTML="<textarea>x</textarea>",h.noCloneChecked=!!ge.cloneNode(!0).lastChild.defaultValue;var xe=r.documentElement,be=/^key/,we=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Te=/^([^.]*)(?:\.(.+)|)/;function Ce(){return!0}function Ee(){return!1}function ke(){try{return r.activeElement}catch(e){}}function Se(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Se(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Ee;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return b().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=b.guid++)),e.each(function(){b.event.add(this,t,i,r,n)})}b.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Y.get(e);if(v)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&b.find.matchesSelector(xe,i),n.guid||(n.guid=b.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(t){return void 0!==b&&b.event.triggered!==t.type?b.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(P)||[""]).length;l--;)d=g=(s=Te.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=b.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=b.event.special[d]||{},c=b.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&b.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),b.event.global[d]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Y.hasData(e)&&Y.get(e);if(v&&(u=v.events)){for(l=(t=(t||"").match(P)||[""]).length;l--;)if(d=g=(s=Te.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){for(f=b.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||b.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)b.event.remove(e,d+t[l],n,r,!0);b.isEmptyObject(u)&&Y.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=b.event.fix(e),u=new Array(arguments.length),l=(Y.get(this,"events")||{})[s.type]||[],c=b.event.special[s.type]||{};for(u[0]=s,t=1;t<arguments.length;t++)u[t]=arguments[t];if(s.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,s)){for(a=b.event.handlers.call(this,s,l),t=0;(i=a[t++])&&!s.isPropagationStopped();)for(s.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,void 0!==(r=((b.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,u))&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?b(i,this).index(l)>-1:b.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(b.Event.prototype,e,{enumerable:!0,configurable:!0,get:g(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[b.expando]?e:new b.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==ke()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===ke()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&D(this,"input"))return this.click(),!1},_default:function(e){return D(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},b.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},b.Event=function(e,t){if(!(this instanceof b.Event))return new b.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ce:Ee,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&b.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[b.expando]=!0},b.Event.prototype={constructor:b.Event,isDefaultPrevented:Ee,isPropagationStopped:Ee,isImmediatePropagationStopped:Ee,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ce,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ce,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ce,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},b.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&be.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&we.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},b.event.addProp),b.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){b.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,i=e.handleObj;return r&&(r===this||b.contains(this,r))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}}),b.fn.extend({on:function(e,t,n,r){return Se(this,e,t,n,r)},one:function(e,t,n,r){return Se(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,b(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ee),this.each(function(){b.event.remove(this,e,n,t)})}});var De=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Ne=/<script|<style|<link/i,Ae=/checked\s*(?:[^=]|=\s*.checked.)/i,je=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function qe(e,t){return D(e,"table")&&D(11!==t.nodeType?t:t.firstChild,"tr")&&b(e).children("tbody")[0]||e}function Le(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function He(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Oe(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Y.hasData(e)&&(o=Y.access(e),a=Y.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n<r;n++)b.event.add(t,i,l[i][n]);Q.hasData(e)&&(s=Q.access(e),u=b.extend({},s),Q.set(t,u))}}function Pe(e,t,n,r){t=a.apply([],t);var i,o,s,u,l,c,f=0,p=e.length,d=p-1,v=t[0],y=g(v);if(y||p>1&&"string"==typeof v&&!h.checkClone&&Ae.test(v))return e.each(function(i){var o=e.eq(i);y&&(t[0]=v.call(this,i,o.html())),Pe(o,t,n,r)});if(p&&(o=(i=me(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(u=(s=b.map(de(i,"script"),Le)).length;f<p;f++)l=i,f!==d&&(l=b.clone(l,!0,!0),u&&b.merge(s,de(l,"script"))),n.call(e[f],l,f);if(u)for(c=s[s.length-1].ownerDocument,b.map(s,He),f=0;f<u;f++)l=s[f],fe.test(l.type||"")&&!Y.access(l,"globalEval")&&b.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?b._evalUrl&&b._evalUrl(l.src):m(l.textContent.replace(je,""),c,l))}return e}function Me(e,t,n){for(var r,i=t?b.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||b.cleanData(de(r)),r.parentNode&&(n&&b.contains(r.ownerDocument,r)&&he(de(r,"script")),r.parentNode.removeChild(r));return e}b.extend({htmlPrefilter:function(e){return e.replace(De,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=b.contains(e.ownerDocument,e);if(!(h.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||b.isXMLDoc(e)))for(a=de(c),r=0,i=(o=de(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&le.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||de(e),a=a||de(c),r=0,i=o.length;r<i;r++)Oe(o[r],a[r]);else Oe(e,c);return(a=de(c,"script")).length>0&&he(a,!f&&de(e,"script")),c},cleanData:function(e){for(var t,n,r,i=b.event.special,o=0;void 0!==(n=e[o]);o++)if(V(n)){if(t=n[Y.expando]){if(t.events)for(r in t.events)i[r]?b.event.remove(n,r):b.removeEvent(n,r,t.handle);n[Y.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),b.fn.extend({detach:function(e){return Me(this,e,!0)},remove:function(e){return Me(this,e)},text:function(e){return F(this,function(e){return void 0===e?b.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Pe(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||qe(this,e).appendChild(e)})},prepend:function(){return Pe(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=qe(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Pe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Pe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(b.cleanData(de(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return b.clone(this,e,t)})},html:function(e){return F(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ne.test(e)&&!pe[(ce.exec(e)||["",""])[1].toLowerCase()]){e=b.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(b.cleanData(de(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Pe(this,arguments,function(t){var n=this.parentNode;b.inArray(this,e)<0&&(b.cleanData(de(this)),n&&n.replaceChild(t,this))},e)}}),b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){b.fn[e]=function(e){for(var n,r=[],i=b(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),b(i[a])[t](n),s.apply(r,n.get());return this.pushStack(r)}});var Re=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),Ie=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},We=new RegExp(ne.join("|"),"i");function $e(e,t,n){var r,i,o,a,s=e.style;return(n=n||Ie(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||b.contains(e.ownerDocument,e)||(a=b.style(e,t)),!h.pixelBoxStyles()&&Re.test(a)&&We.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function Be(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function t(){if(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",xe.appendChild(l).appendChild(c);var t=e.getComputedStyle(c);i="1%"!==t.top,u=12===n(t.marginLeft),c.style.right="60%",s=36===n(t.right),o=36===n(t.width),c.style.position="absolute",a=36===c.offsetWidth||"absolute",xe.removeChild(l),c=null}}function n(e){return Math.round(parseFloat(e))}var i,o,a,s,u,l=r.createElement("div"),c=r.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",h.clearCloneStyle="content-box"===c.style.backgroundClip,b.extend(h,{boxSizingReliable:function(){return t(),o},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),a}}))}();var Fe=/^(none|table(?!-c[ea]).+)/,_e=/^--/,ze={position:"absolute",visibility:"hidden",display:"block"},Xe={letterSpacing:"0",fontWeight:"400"},Ue=["Webkit","Moz","ms"],Ve=r.createElement("div").style;function Ge(e){var t=b.cssProps[e];return t||(t=b.cssProps[e]=function(e){if(e in Ve)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=Ue.length;n--;)if((e=Ue[n]+t)in Ve)return e}(e)||e),t}function Ye(e,t,n){var r=te.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Qe(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=b.css(e,n+ne[a],!0,i)),r?("content"===n&&(u-=b.css(e,"padding"+ne[a],!0,i)),"margin"!==n&&(u-=b.css(e,"border"+ne[a]+"Width",!0,i))):(u+=b.css(e,"padding"+ne[a],!0,i),"padding"!==n?u+=b.css(e,"border"+ne[a]+"Width",!0,i):s+=b.css(e,"border"+ne[a]+"Width",!0,i));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))),u}function Je(e,t,n){var r=Ie(e),i=$e(e,t,r),o="border-box"===b.css(e,"boxSizing",!1,r),a=o;if(Re.test(i)){if(!n)return i;i="auto"}return a=a&&(h.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===b.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(i=parseFloat(i)||0)+Qe(e,t,n||(o?"border":"content"),a,r,i)+"px"}function Ke(e,t,n,r,i){return new Ke.prototype.init(e,t,n,r,i)}b.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=$e(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=U(t),u=_e.test(t),l=e.style;if(u||(t=Ge(s)),a=b.cssHooks[t]||b.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=te.exec(n))&&i[1]&&(n=oe(e,t,i),o="number"),null!=n&&n==n&&("number"===o&&(n+=i&&i[3]||(b.cssNumber[s]?"":"px")),h.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=U(t);return _e.test(t)||(t=Ge(s)),(a=b.cssHooks[t]||b.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=$e(e,t,r)),"normal"===i&&t in Xe&&(i=Xe[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),b.each(["height","width"],function(e,t){b.cssHooks[t]={get:function(e,n,r){if(n)return!Fe.test(b.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Je(e,t,r):ie(e,ze,function(){return Je(e,t,r)})},set:function(e,n,r){var i,o=Ie(e),a="border-box"===b.css(e,"boxSizing",!1,o),s=r&&Qe(e,t,r,a,o);return a&&h.scrollboxSize()===o.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-Qe(e,t,"border",!1,o)-.5)),s&&(i=te.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=b.css(e,t)),Ye(0,n,s)}}}),b.cssHooks.marginLeft=Be(h.reliableMarginLeft,function(e,t){if(t)return(parseFloat($e(e,"marginLeft"))||e.getBoundingClientRect().left-ie(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),b.each({margin:"",padding:"",border:"Width"},function(e,t){b.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+ne[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(b.cssHooks[e+t].set=Ye)}),b.fn.extend({css:function(e,t){return F(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Ie(e),i=t.length;a<i;a++)o[t[a]]=b.css(e,t[a],!1,r);return o}return void 0!==n?b.style(e,t,n):b.css(e,t)},e,t,arguments.length>1)}}),b.Tween=Ke,Ke.prototype={constructor:Ke,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||b.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(b.cssNumber[n]?"":"px")},cur:function(){var e=Ke.propHooks[this.prop];return e&&e.get?e.get(this):Ke.propHooks._default.get(this)},run:function(e){var t,n=Ke.propHooks[this.prop];return this.options.duration?this.pos=t=b.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Ke.propHooks._default.set(this),this}},Ke.prototype.init.prototype=Ke.prototype,Ke.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=b.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){b.fx.step[e.prop]?b.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[b.cssProps[e.prop]]&&!b.cssHooks[e.prop]?e.elem[e.prop]=e.now:b.style(e.elem,e.prop,e.now+e.unit)}}},Ke.propHooks.scrollTop=Ke.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},b.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},b.fx=Ke.prototype.init,b.fx.step={};var Ze,et,tt=/^(?:toggle|show|hide)$/,nt=/queueHooks$/;function rt(){et&&(!1===r.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(rt):e.setTimeout(rt,b.fx.interval),b.fx.tick())}function it(){return e.setTimeout(function(){Ze=void 0}),Ze=Date.now()}function ot(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ne[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function at(e,t,n){for(var r,i=(st.tweeners[t]||[]).concat(st.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function st(e,t,n){var r,i,o=0,a=st.prefilters.length,s=b.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=Ze||it(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),o=0,a=l.tweens.length;o<a;o++)l.tweens[o].run(r);return s.notifyWith(e,[l,r,n]),r<1&&a?n:(a||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:b.extend({},t),opts:b.extend(!0,{specialEasing:{},easing:b.easing._default},n),originalProperties:t,originalOptions:n,startTime:Ze||it(),duration:n.duration,tweens:[],createTween:function(t,n){var r=b.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=U(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=b.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);o<a;o++)if(r=st.prefilters[o].call(l,e,c,l.opts))return g(r.stop)&&(b._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return b.map(c,at,l),g(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),b.fx.timer(b.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}b.Animation=b.extend(st,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return oe(n.elem,e,te.exec(t),n),n}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(P);for(var n,r=0,i=e.length;r<i;r++)n=e[r],st.tweeners[n]=st.tweeners[n]||[],st.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&re(e),v=Y.get(e,"fxshow");for(r in n.queue||(null==(a=b._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,b.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],tt.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||b.style(e,r)}if((u=!b.isEmptyObject(t))||!b.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=Y.get(e,"display")),"none"===(c=b.css(e,"display"))&&(l?c=l:(ue([e],!0),l=e.style.display||l,c=b.css(e,"display"),ue([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===b.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=Y.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&ue([e],!0),p.done(function(){for(r in g||ue([e]),Y.remove(e,"fxshow"),d)b.style(e,r,d[r])})),u=at(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?st.prefilters.unshift(e):st.prefilters.push(e)}}),b.speed=function(e,t,n){var r=e&&"object"==typeof e?b.extend({},e):{complete:n||!n&&t||g(e)&&e,duration:e,easing:n&&t||t&&!g(t)&&t};return b.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in b.fx.speeds?r.duration=b.fx.speeds[r.duration]:r.duration=b.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){g(r.old)&&r.old.call(this),r.queue&&b.dequeue(this,r.queue)},r},b.fn.extend({fadeTo:function(e,t,n,r){return this.filter(re).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=b.isEmptyObject(e),o=b.speed(t,n,r),a=function(){var t=st(this,b.extend({},e),o);(i||Y.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=b.timers,a=Y.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&nt.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||b.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=Y.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=b.timers,a=r?r.length:0;for(n.finish=!0,b.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),b.each(["toggle","show","hide"],function(e,t){var n=b.fn[t];b.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ot(t,!0),e,r,i)}}),b.each({slideDown:ot("show"),slideUp:ot("hide"),slideToggle:ot("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){b.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),b.timers=[],b.fx.tick=function(){var e,t=0,n=b.timers;for(Ze=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||b.fx.stop(),Ze=void 0},b.fx.timer=function(e){b.timers.push(e),b.fx.start()},b.fx.interval=13,b.fx.start=function(){et||(et=!0,rt())},b.fx.stop=function(){et=null},b.fx.speeds={slow:600,fast:200,_default:400},b.fn.delay=function(t,n){return t=b.fx&&b.fx.speeds[t]||t,n=n||"fx",this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})},function(){var e=r.createElement("input"),t=r.createElement("select").appendChild(r.createElement("option"));e.type="checkbox",h.checkOn=""!==e.value,h.optSelected=t.selected,(e=r.createElement("input")).value="t",e.type="radio",h.radioValue="t"===e.value}();var ut,lt=b.expr.attrHandle;b.fn.extend({attr:function(e,t){return F(this,b.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){b.removeAttr(this,e)})}}),b.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?b.prop(e,t,n):(1===o&&b.isXMLDoc(e)||(i=b.attrHooks[t.toLowerCase()]||(b.expr.match.bool.test(t)?ut:void 0)),void 0!==n?null===n?void b.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=b.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&D(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(P);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),ut={set:function(e,t,n){return!1===t?b.removeAttr(e,n):e.setAttribute(n,n),n}},b.each(b.expr.match.bool.source.match(/\w+/g),function(e,t){var n=lt[t]||b.find.attr;lt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=lt[a],lt[a]=i,i=null!=n(e,t,r)?a:null,lt[a]=o),i}});var ct=/^(?:input|select|textarea|button)$/i,ft=/^(?:a|area)$/i;function pt(e){return(e.match(P)||[]).join(" ")}function dt(e){return e.getAttribute&&e.getAttribute("class")||""}function ht(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(P)||[]}b.fn.extend({prop:function(e,t){return F(this,b.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[b.propFix[e]||e]})}}),b.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&b.isXMLDoc(e)||(t=b.propFix[t]||t,i=b.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=b.find.attr(e,"tabindex");return t?parseInt(t,10):ct.test(e.nodeName)||ft.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),h.optSelected||(b.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),b.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){b.propFix[this.toLowerCase()]=this}),b.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each(function(t){b(this).addClass(e.call(this,t,dt(this)))});if((t=ht(e)).length)for(;n=this[u++];)if(i=dt(n),r=1===n.nodeType&&" "+pt(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=pt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each(function(t){b(this).removeClass(e.call(this,t,dt(this)))});if(!arguments.length)return this.attr("class","");if((t=ht(e)).length)for(;n=this[u++];)if(i=dt(n),r=1===n.nodeType&&" "+pt(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(s=pt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):g(e)?this.each(function(n){b(this).toggleClass(e.call(this,n,dt(this),t),t)}):this.each(function(){var t,i,o,a;if(r)for(i=0,o=b(this),a=ht(e);t=a[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=dt(this))&&Y.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Y.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+pt(dt(n))+" ").indexOf(t)>-1)return!0;return!1}});var gt=/\r/g;b.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=g(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,b(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=b.map(i,function(e){return null==e?"":e+""})),(t=b.valHooks[this.type]||b.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=b.valHooks[i.type]||b.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(gt,""):null==n?"":n:void 0}}),b.extend({valHooks:{option:{get:function(e){var t=b.find.attr(e,"value");return null!=t?t:pt(b.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!D(n.parentNode,"optgroup"))){if(t=b(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,i=e.options,o=b.makeArray(t),a=i.length;a--;)((r=i[a]).selected=b.inArray(b.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),b.each(["radio","checkbox"],function(){b.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=b.inArray(b(e).val(),t)>-1}},h.checkOn||(b.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),h.focusin="onfocusin"in e;var vt=/^(?:focusinfocus|focusoutblur)$/,yt=function(e){e.stopPropagation()};b.extend(b.event,{trigger:function(t,n,i,o){var a,s,u,l,c,p,d,h,y=[i||r],m=f.call(t,"type")?t.type:t,x=f.call(t,"namespace")?t.namespace.split("."):[];if(s=h=u=i=i||r,3!==i.nodeType&&8!==i.nodeType&&!vt.test(m+b.event.triggered)&&(m.indexOf(".")>-1&&(m=(x=m.split(".")).shift(),x.sort()),c=m.indexOf(":")<0&&"on"+m,(t=t[b.expando]?t:new b.Event(m,"object"==typeof t&&t)).isTrigger=o?2:3,t.namespace=x.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+x.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:b.makeArray(n,[t]),d=b.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(i,n))){if(!o&&!d.noBubble&&!v(i)){for(l=d.delegateType||m,vt.test(l+m)||(s=s.parentNode);s;s=s.parentNode)y.push(s),u=s;u===(i.ownerDocument||r)&&y.push(u.defaultView||u.parentWindow||e)}for(a=0;(s=y[a++])&&!t.isPropagationStopped();)h=s,t.type=a>1?l:d.bindType||m,(p=(Y.get(s,"events")||{})[t.type]&&Y.get(s,"handle"))&&p.apply(s,n),(p=c&&s[c])&&p.apply&&V(s)&&(t.result=p.apply(s,n),!1===t.result&&t.preventDefault());return t.type=m,o||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(y.pop(),n)||!V(i)||c&&g(i[m])&&!v(i)&&((u=i[c])&&(i[c]=null),b.event.triggered=m,t.isPropagationStopped()&&h.addEventListener(m,yt),i[m](),t.isPropagationStopped()&&h.removeEventListener(m,yt),b.event.triggered=void 0,u&&(i[c]=u)),t.result}},simulate:function(e,t,n){var r=b.extend(new b.Event,n,{type:e,isSimulated:!0});b.event.trigger(r,null,t)}}),b.fn.extend({trigger:function(e,t){return this.each(function(){b.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return b.event.trigger(e,t,n,!0)}}),h.focusin||b.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){b.event.simulate(t,e.target,b.event.fix(e))};b.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=Y.access(r,t);i||r.addEventListener(e,n,!0),Y.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=Y.access(r,t)-1;i?Y.access(r,t,i):(r.removeEventListener(e,n,!0),Y.remove(r,t))}}});var mt=e.location,xt=Date.now(),bt=/\?/;b.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||b.error("Invalid XML: "+t),n};var wt=/\[\]$/,Tt=/\r?\n/g,Ct=/^(?:submit|button|image|reset|file)$/i,Et=/^(?:input|select|textarea|keygen)/i;function kt(e,t,n,r){var i;if(Array.isArray(t))b.each(t,function(t,i){n||wt.test(e)?r(e,i):kt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==x(t))r(e,t);else for(i in t)kt(e+"["+i+"]",t[i],n,r)}b.param=function(e,t){var n,r=[],i=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!b.isPlainObject(e))b.each(e,function(){i(this.name,this.value)});else for(n in e)kt(n,e[n],t,i);return r.join("&")},b.fn.extend({serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=b.prop(this,"elements");return e?b.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!b(this).is(":disabled")&&Et.test(this.nodeName)&&!Ct.test(e)&&(this.checked||!le.test(e))}).map(function(e,t){var n=b(this).val();return null==n?null:Array.isArray(n)?b.map(n,function(e){return{name:t.name,value:e.replace(Tt,"\r\n")}}):{name:t.name,value:n.replace(Tt,"\r\n")}}).get()}});var St=/%20/g,Dt=/#.*$/,Nt=/([?&])_=[^&]*/,At=/^(.*?):[ \t]*([^\r\n]*)$/gm,jt=/^(?:GET|HEAD)$/,qt=/^\/\//,Lt={},Ht={},Ot="*/".concat("*"),Pt=r.createElement("a");function Mt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(P)||[];if(g(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Rt(e,t,n,r){var i={},o=e===Ht;function a(s){var u;return i[s]=!0,b.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)}),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function It(e,t){var n,r,i=b.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&b.extend(!0,e,r),e}Pt.href=mt.href,b.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:mt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(mt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ot,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":b.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?It(It(e,b.ajaxSettings),t):It(b.ajaxSettings,e)},ajaxPrefilter:Mt(Lt),ajaxTransport:Mt(Ht),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,a,s,u,l,c,f,p,d,h=b.ajaxSetup({},n),g=h.context||h,v=h.context&&(g.nodeType||g.jquery)?b(g):b.event,y=b.Deferred(),m=b.Callbacks("once memory"),x=h.statusCode||{},w={},T={},C="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s)for(s={};t=At.exec(a);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=T[e.toLowerCase()]=T[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)E.always(e[E.status]);else for(t in e)x[t]=[x[t],e[t]];return this},abort:function(e){var t=e||C;return i&&i.abort(t),k(0,t),this}};if(y.promise(E),h.url=((t||h.url||mt.href)+"").replace(qt,mt.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(P)||[""],null==h.crossDomain){l=r.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Pt.protocol+"//"+Pt.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=b.param(h.data,h.traditional)),Rt(Lt,h,n,E),c)return E;for(p in(f=b.event&&h.global)&&0==b.active++&&b.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!jt.test(h.type),o=h.url.replace(Dt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(St,"+")):(d=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(bt.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Nt,"$1"),d=(bt.test(o)?"&":"?")+"_="+xt+++d),h.url=o+d),h.ifModified&&(b.lastModified[o]&&E.setRequestHeader("If-Modified-Since",b.lastModified[o]),b.etag[o]&&E.setRequestHeader("If-None-Match",b.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&E.setRequestHeader("Content-Type",h.contentType),E.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Ot+"; q=0.01":""):h.accepts["*"]),h.headers)E.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(g,E,h)||c))return E.abort();if(C="abort",m.add(h.complete),E.done(h.success),E.fail(h.error),i=Rt(Ht,h,n,E)){if(E.readyState=1,f&&v.trigger("ajaxSend",[E,h]),c)return E;h.async&&h.timeout>0&&(u=e.setTimeout(function(){E.abort("timeout")},h.timeout));try{c=!1,i.send(w,k)}catch(e){if(c)throw e;k(-1,e)}}else k(-1,"No Transport");function k(t,n,r,s){var l,p,d,w,T,C=n;c||(c=!0,u&&e.clearTimeout(u),i=void 0,a=s||"",E.readyState=t>0?4:0,l=t>=200&&t<300||304===t,r&&(w=function(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(h,E,r)),w=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(h,w,E,l),l?(h.ifModified&&((T=E.getResponseHeader("Last-Modified"))&&(b.lastModified[o]=T),(T=E.getResponseHeader("etag"))&&(b.etag[o]=T)),204===t||"HEAD"===h.type?C="nocontent":304===t?C="notmodified":(C=w.state,p=w.data,l=!(d=w.error))):(d=C,!t&&C||(C="error",t<0&&(t=0))),E.status=t,E.statusText=(n||C)+"",l?y.resolveWith(g,[p,C,E]):y.rejectWith(g,[E,C,d]),E.statusCode(x),x=void 0,f&&v.trigger(l?"ajaxSuccess":"ajaxError",[E,h,l?p:d]),m.fireWith(g,[E,C]),f&&(v.trigger("ajaxComplete",[E,h]),--b.active||b.event.trigger("ajaxStop")))}return E},getJSON:function(e,t,n){return b.get(e,t,n,"json")},getScript:function(e,t){return b.get(e,void 0,t,"script")}}),b.each(["get","post"],function(e,t){b[t]=function(e,n,r,i){return g(n)&&(i=i||r,r=n,n=void 0),b.ajax(b.extend({url:e,type:t,dataType:i,data:n,success:r},b.isPlainObject(e)&&e))}}),b._evalUrl=function(e){return b.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},b.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=b(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return g(e)?this.each(function(t){b(this).wrapInner(e.call(this,t))}):this.each(function(){var t=b(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=g(e);return this.each(function(n){b(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){b(this).replaceWith(this.childNodes)}),this}}),b.expr.pseudos.hidden=function(e){return!b.expr.pseudos.visible(e)},b.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},b.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Wt={0:200,1223:204},$t=b.ajaxSettings.xhr();h.cors=!!$t&&"withCredentials"in $t,h.ajax=$t=!!$t,b.ajaxTransport(function(t){var n,r;if(h.cors||$t&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Wt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),b.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return b.globalEval(e),e}}}),b.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),b.ajaxTransport("script",function(e){var t,n;if(e.crossDomain)return{send:function(i,o){t=b("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),r.head.appendChild(t[0])},abort:function(){n&&n()}}});var Bt,Ft=[],_t=/(=)\?(?=&|$)|\?\?/;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ft.pop()||b.expando+"_"+xt++;return this[e]=!0,e}}),b.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,s=!1!==t.jsonp&&(_t.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&_t.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=g(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(_t,"$1"+i):!1!==t.jsonp&&(t.url+=(bt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||b.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){void 0===o?b(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,Ft.push(i)),a&&g(o)&&o(a[0]),a=o=void 0}),"script"}),h.createHTMLDocument=((Bt=r.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Bt.childNodes.length),b.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(h.createHTMLDocument?((i=(t=r.implementation.createHTMLDocument("")).createElement("base")).href=r.location.href,t.head.appendChild(i)):t=r),o=N.exec(e),a=!n&&[],o?[t.createElement(o[1])]:(o=me([e],t,a),a&&a.length&&b(a).remove(),b.merge([],o.childNodes)));var i,o,a},b.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=pt(e.slice(s)),e=e.slice(0,s)),g(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&b.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?b("<div>").append(b.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},b.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){b.fn[t]=function(e){return this.on(t,e)}}),b.expr.pseudos.animated=function(e){return b.grep(b.timers,function(t){return e===t.elem}).length},b.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=b.css(e,"position"),c=b(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=b.css(e,"top"),u=b.css(e,"left"),("absolute"===l||"fixed"===l)&&(o+u).indexOf("auto")>-1?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),g(t)&&(t=t.call(e,n,b.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},b.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){b.offset.setOffset(this,e,t)});var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===b.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===b.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=b(e).offset()).top+=b.css(e,"borderTopWidth",!0),i.left+=b.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-b.css(r,"marginTop",!0),left:t.left-i.left-b.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===b.css(e,"position");)e=e.offsetParent;return e||xe})}}),b.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;b.fn[e]=function(r){return F(this,function(e,r,i){var o;if(v(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i},e,r,arguments.length)}}),b.each(["top","left"],function(e,t){b.cssHooks[t]=Be(h.pixelPosition,function(e,n){if(n)return n=$e(e,t),Re.test(n)?b(e).position()[t]+"px":n})}),b.each({Height:"height",Width:"width"},function(e,t){b.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){b.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return F(this,function(t,n,i){var o;return v(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?b.css(t,n,s):b.style(t,n,i,s)},t,a?i:void 0,a)}})}),b.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){b.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),b.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),b.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),b.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),g(e))return r=o.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(o.call(arguments)))}).guid=e.guid=e.guid||b.guid++,i},b.holdReady=function(e){e?b.readyWait++:b.ready(!0)},b.isArray=Array.isArray,b.parseJSON=JSON.parse,b.nodeName=D,b.isFunction=g,b.isWindow=v,b.camelCase=U,b.type=x,b.now=Date.now,b.isNumeric=function(e){var t=b.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return b});var zt=e.jQuery,Xt=e.$;return b.noConflict=function(t){return e.$===b&&(e.$=Xt),t&&e.jQuery===b&&(e.jQuery=zt),b},t||(e.jQuery=e.$=b),b});
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L1485

Insecure DOM Manipulation (XSS) in mediaelement-and-player.js

CWE-79
File Location: media/vendor/mediaelement/js/mediaelement-and-player.js:1485
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- play.innerHTML = '<button type="button" aria-controls="' + t.id + '" title="' + playTitle + '" aria-label="' + pauseTitle + '" tabindex="0"></button>';
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L2139

Insecure DOM Manipulation (XSS) in mediaelement-and-player.js

CWE-79
File Location: media/vendor/mediaelement/js/mediaelement-and-player.js:2139
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- duration.innerHTML = '<span class="' + t.options.classPrefix + 'duration">' + ((0, _time.secondsToTimeCode)(t.options.duration, t.options.alwaysShowHours, t.options.showTimecodeFrameCount, t.options.framesPerSecond, t.options.secondsDecimalLength, t.options.timeFormat) + '</span>');
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L2644

Insecure DOM Manipulation (XSS) in mediaelement-and-player.js

CWE-79
File Location: media/vendor/mediaelement/js/mediaelement-and-player.js:2644
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- t.captionsText.innerHTML = sanitize(track.entries[i].text);
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L84

Insecure DOM Manipulation (XSS) in plugin.js

CWE-79
File Location: media/vendor/tinymce/plugins/autosave/plugin.js:84
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- html = Tools.trim(typeof html === 'undefined' ? editor.getBody().innerHTML : html);
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L177

Insecure DOM Manipulation (XSS) in plugin.js

CWE-79
File Location: media/vendor/tinymce/plugins/codesample/plugin.js:177
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- env.element.innerHTML = env.highlightedCode;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L741

Insecure DOM Manipulation (XSS) in plugin.js

CWE-79
File Location: media/vendor/tinymce/plugins/codesample/plugin.js:741
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- node.innerHTML = code;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L1

Insecure DOM Manipulation (XSS) in plugin.min.js

CWE-79
File Location: media/vendor/tinymce/plugins/codesample/plugin.min.js:1
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- !function(){"use strict";var e=function(t){var a=t,n=function(){return a};return{get:n,set:function(e){a=e},clone:function(){return e(n())}}},t=tinymce.util.Tools.resolve("tinymce.PluginManager"),a=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),n=function(e){return e.settings.codesample_content_css},i=function(e){return e.settings.codesample_languages},r=function(e){return Math.min(a.DOM.getViewPort().w,e.getParam("codesample_dialog_width",800))},s=function(e){return Math.min(a.DOM.getViewPort().w,e.getParam("codesample_dialog_height",650))},o={},l=void 0!==o?o:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},c=function(){var e=/\blang(?:uage)?-(?!\*)(\w+)\b/i,t=l.Prism={util:{encode:function(e){return e instanceof a?new a(e.type,t.util.encode(e.content),e.alias):"Array"===t.util.type(e)?e.map(t.util.encode):e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).match(/\[object (\w+)\]/)[1]},clone:function(e){switch(t.util.type(e)){case"Object":var a={};for(var n in e)e.hasOwnProperty(n)&&(a[n]=t.util.clone(e[n]));return a;case"Array":return e.map&&e.map(function(e){return t.util.clone(e)})}return e}},languages:{extend:function(e,a){var n=t.util.clone(t.languages[e]);for(var i in a)n[i]=a[i];return n},insertBefore:function(e,a,n,i){var r=(i=i||t.languages)[e];if(2===arguments.length){for(var s in n=arguments[1])n.hasOwnProperty(s)&&(r[s]=n[s]);return r}var o={};for(var l in r)if(r.hasOwnProperty(l)){if(l===a)for(var s in n)n.hasOwnProperty(s)&&(o[s]=n[s]);o[l]=r[l]}return t.languages.DFS(t.languages,function(t,a){a===i[e]&&t!==e&&(this[t]=o)}),i[e]=o},DFS:function(e,a,n){for(var i in e)e.hasOwnProperty(i)&&(a.call(e,i,e[i],n||i),"Object"===t.util.type(e[i])?t.languages.DFS(e[i],a):"Array"===t.util.type(e[i])&&t.languages.DFS(e[i],a,i))}},plugins:{},highlightAll:function(e,a){for(var n=document.querySelectorAll('code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'),i=0,r=void 0;r=n[i++];)t.highlightElement(r,!0===e,a)},highlightElement:function(a,n,i){for(var r,s,o=a;o&&!e.test(o.className);)o=o.parentNode;o&&(r=(o.className.match(e)||[,""])[1],s=t.languages[r]),a.className=a.className.replace(e,"").replace(/\s+/g," ")+" language-"+r,o=a.parentNode,/pre/i.test(o.nodeName)&&(o.className=o.className.replace(e,"").replace(/\s+/g," ")+" language-"+r);var c=a.textContent,u={element:a,language:r,grammar:s,code:c};if(c&&s)if(t.hooks.run("before-highlight",u),n&&l.Worker){var g=new Worker(t.filename);g.onmessage=function(e){u.highlightedCode=e.data,t.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,i&&i.call(u.element),t.hooks.run("after-highlight",u),t.hooks.run("complete",u)},g.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else u.highlightedCode=t.highlight(u.code,u.grammar,u.language),t.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,i&&i.call(a),t.hooks.run("after-highlight",u),t.hooks.run("complete",u);else t.hooks.run("complete",u)},highlight:function(e,n,i){var r=t.tokenize(e,n);return a.stringify(t.util.encode(r),i)},tokenize:function(e,a,n){var i=t.Token,r=[e],s=a.rest;if(s){for(var o in s)a[o]=s[o];delete a.rest}e:for(var o in a)if(a.hasOwnProperty(o)&&a[o]){var l=a[o];l="Array"===t.util.type(l)?l:[l];for(var c=0;c<l.length;++c){var u=l[c],g=u.inside,d=!!u.lookbehind,p=0,f=u.alias;u=u.pattern||u;for(var h=0;h<r.length;h++){var m=r[h];if(r.length>e.length)break e;if(!(m instanceof i)){u.lastIndex=0;var b=u.exec(m);if(b){d&&(p=b[1].length);var y=b.index-1+p,v=y+(b=b[0].slice(p)).length,k=m.slice(0,y+1),w=m.slice(v+1),x=[h,1];k&&x.push(k);var S=new i(o,g?t.tokenize(b,g):b,f);x.push(S),w&&x.push(w),Array.prototype.splice.apply(r,x)}}}}}return r},hooks:{all:{},add:function(e,a){var n=t.hooks.all;n[e]=n[e]||[],n[e].push(a)},run:function(e,a){var n=t.hooks.all[e];if(n&&n.length)for(var i=0,r=void 0;r=n[i++];)r(a)}}},a=t.Token=function(e,t,a){this.type=e,this.content=t,this.alias=a};if(a.stringify=function(e,n,i){if("string"==typeof e)return e;if("Array"===t.util.type(e))return e.map(function(t){return a.stringify(t,n,e)}).join("");var r={type:e.type,content:a.stringify(e.content,n,i),tag:"span",classes:["token",e.type],attributes:{},language:n,parent:i};if("comment"===r.type&&(r.attributes.spellcheck="true"),e.alias){var s="Array"===t.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(r.classes,s)}t.hooks.run("wrap",r);var o="";for(var l in r.attributes)o+=(o?" ":"")+l+'="'+(r.attributes[l]||"")+'"';return"<"+r.tag+' class="'+r.classes.join(" ")+'" '+o+">"+r.content+"</"+r.tag+">"},!l.document)return l.addEventListener?(l.addEventListener("message",function(e){var a=JSON.parse(e.data),n=a.language,i=a.code,r=a.immediateClose;l.postMessage(t.highlight(i,t.languages[n],n)),r&&l.close()},!1),l.Prism):l.Prism}();"undefined"!=typeof module&&module.exports&&(module.exports=c),"undefined"!=typeof global&&(global.Prism=c),c.languages.markup={comment:/<!--[\w\W]*?-->/,prolog:/<\?[\w\W]+?\?>/,doctype:/<!DOCTYPE[\w\W]+?>/,cdata:/<!\[CDATA\[[\w\W]*?]]>/i,tag:{pattern:/<\/?[^\s>\/=.]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\\1|\\?(?!\1)[\w\W])*\1|[^\s'">=]+))?)*\s*\/?>/i,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:('|")[\w\W]*?(\1)|[^\s>]+)/i,inside:{punctuation:/[=>"']/}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},c.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),c.languages.xml=c.languages.markup,c.languages.html=c.languages.markup,c.languages.mathml=c.languages.markup,c.languages.svg=c.languages.markup,c.languages.css={comment:/\/\*[\w\W]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^\{\}\s][^\{\};]*?(?=\s*\{)/,string:/("|')(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1/,property:/(\b|\B)[\w-]+(?=\s*:)/i,important:/\B!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},c.languages.css.atrule.inside.rest=c.util.clone(c.languages.css),c.languages.markup&&(c.languages.insertBefore("markup","tag",{style:{pattern:/<style[\w\W]*?>[\w\W]*?<\/style>/i,inside:{tag:{pattern:/<style[\w\W]*?>|<\/style>/i,inside:c.languages.markup.tag.inside},rest:c.languages.css},alias:"language-css"}}),c.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|').*?\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:c.languages.markup.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:c.languages.css}},alias:"language-css"}},c.languages.markup.tag)),c.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\w\W]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0}],string:/(["'])(\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[a-z0-9_\.\\]+/i,lookbehind:!0,inside:{punctuation:/(\.|\\)/}},keyword:/\b(if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(true|false)\b/,function:/[a-z0-9_]+(?=\()/i,number:/\b-?(?:0x[\da-f]+|\d*\.?\d+(?:e[+-]?\d+)?)\b/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/},c.languages.javascript=c.languages.extend("clike",{keyword:/\b(as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/,number:/\b-?(0x[\dA-Fa-f]+|0b[01]+|0o[0-7]+|\d*\.?\d+([Ee][+-]?\d+)?|NaN|Infinity)\b/,function:/[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*(?=\()/i}),c.languages.insertBefore("javascript","keyword",{regex:{pattern:/(^|[^/])\/(?!\/)(\[.+?]|\\.|[^/\\\r\n])+\/[gimyu]{0,5}(?=\s*($|[\r\n,.;})]))/,lookbehind:!0}}),c.languages.insertBefore("javascript","class-name",{"template-string":{pattern:/`(?:\\`|\\?[^`])*`/,inside:{interpolation:{pattern:/\$\{[^}]+\}/,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:c.languages.javascript}},string:/[\s\S]+/}}}),c.languages.markup&&c.languages.insertBefore("markup","tag",{script:{pattern:/<script[\w\W]*?>[\w\W]*?<\/script>/i,inside:{tag:{pattern:/<script[\w\W]*?>|<\/script>/i,inside:c.languages.markup.tag.inside},rest:c.languages.javascript},alias:"language-javascript"}}),c.languages.js=c.languages.javascript,c.languages.c=c.languages.extend("clike",{keyword:/\b(asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,operator:/\-[>-]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|?\||[~^%?*\/]/,number:/\b-?(?:0x[\da-f]+|\d*\.?\d+(?:e[+-]?\d+)?)[ful]*\b/i}),c.languages.insertBefore("c","string",{macro:{pattern:/(^\s*)#\s*[a-z]+([^\r\n\\]|\\.|\\(?:\r\n?|\n))*/im,lookbehind:!0,alias:"property",inside:{string:{pattern:/(#\s*include\s*)(<.+?>|("|')(\\?.)+?\3)/,lookbehind:!0}}}}),delete c.languages.c["class-name"],delete c.languages.c.boolean,c.languages.csharp=c.languages.extend("clike",{keyword:/\b(abstract|as|async|await|base|bool|break|byte|case|catch|char|checked|class|const|continue|decimal|default|delegate|do|double|else|enum|event|explicit|extern|false|finally|fixed|float|for|foreach|goto|if|implicit|in|int|interface|internal|is|lock|long|namespace|new|null|object|operator|out|override|params|private|protected|public|readonly|ref|return|sbyte|sealed|short|sizeof|stackalloc|static|string|struct|switch|this|throw|true|try|typeof|uint|ulong|unchecked|unsafe|ushort|using|virtual|void|volatile|while|add|alias|ascending|async|await|descending|dynamic|from|get|global|group|into|join|let|orderby|partial|remove|select|set|value|var|where|yield)\b/,string:[/@("|')(\1\1|\\\1|\\?(?!\1)[\s\S])*\1/,/("|')(\\?.)*?\1/],number:/\b-?(0x[\da-f]+|\d*\.?\d+)\b/i}),c.languages.insertBefore("csharp","keyword",{preprocessor:{pattern:/(^\s*)#.*/m,lookbehind:!0}}),c.languages.cpp=c.languages.extend("c",{keyword:/\b(alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|class|compl|const|constexpr|const_cast|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|float|for|friend|goto|if|inline|int|long|mutable|namespace|new|noexcept|nullptr|operator|private|protected|public|register|reinterpret_cast|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,boolean:/\b(true|false)\b/,operator:/[-+]{1,2}|!=?|<{1,2}=?|>{1,2}=?|\->|:{1,2}|={1,2}|\^|~|%|&{1,2}|\|?\||\?|\*|\/|\b(and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/}),c.languages.insertBefore("cpp","keyword",{"class-name":{pattern:/(class\s+)[a-z0-9_]+/i,lookbehind:!0}}),c.languages.java=c.languages.extend("clike",{keyword:/\b(abstract|continue|for|new|switch|assert|default|goto|package|synchronized|boolean|do|if|private|this|break|double|implements|protected|throw|byte|else|import|public|throws|case|enum|instanceof|return|transient|catch|extends|int|short|try|char|final|interface|static|void|class|finally|long|strictfp|volatile|const|float|native|super|while)\b/,number:/\b0b[01]+\b|\b0x[\da-f]*\.?[\da-fp\-]+\b|\b\d*\.?\d+(?:e[+-]?\d+)?[df]?\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|!=?|<<?=?|>>?>?=?|==?|&[&=]?|\|[|=]?|\*=?|\/=?|%=?|\^=?|[?:~])/m,lookbehind:!0}}),c.languages.php=c.languages.extend("clike",{keyword:/\b(and|or|xor|array|as|break|case|cfunction|class|const|continue|declare|default|die|do|else|elseif|enddeclare|endfor|endforeach|endif|endswitch|endwhile|extends|for|foreach|function|include|include_once|global|if|new|return|static|switch|use|require|require_once|var|while|abstract|interface|public|implements|private|protected|parent|throw|null|echo|print|trait|namespace|final|yield|goto|instanceof|finally|try|catch)\b/i,constant:/\b[A-Z0-9_]{2,}\b/,comment:{pattern:/(^|[^\\])(?:\/\*[\w\W]*?\*\/|\/\/.*)/,lookbehind:!0}}),c.languages.insertBefore("php","class-name",{"shell-comment":{pattern:/(^|[^\\])#.*/,lookbehind:!0,alias:"comment"}}),c.languages.insertBefore("php","keyword",{delimiter:/\?>|<\?(?:php)?/i,variable:/\$\w+\b/i,package:{pattern:/(\\|namespace\s+|use\s+)[\w\\]+/,lookbehind:!0,inside:{punctuation:/\\/}}}),c.languages.insertBefore("php","operator",{property:{pattern:/(->)[\w]+/,lookbehind:!0}}),c.languages.markup&&(c.hooks.add("before-highlight",function(e){"php"===e.language&&(e.tokenStack=[],e.backupCode=e.code,e.code=e.code.replace(/(?:<\?php|<\?)[\w\W]*?(?:\?>)/gi,function(t){return e.tokenStack.push(t),"{{{PHP"+e.tokenStack.length+"}}}"}))}),c.hooks.add("before-insert",function(e){"php"===e.language&&(e.code=e.backupCode,delete e.backupCode)}),c.hooks.add("after-highlight",function(e){if("php"===e.language){for(var t=0,a=void 0;a=e.tokenStack[t];t++)e.highlightedCode=e.highlightedCode.replace("{{{PHP"+(t+1)+"}}}",c.highlight(a,e.grammar,"php").replace(/\$/g,"$$$$"));e.element.innerHTML=e.highlightedCode}}),c.hooks.add("wrap",function(e){"php"===e.language&&"markup"===e.type&&(e.content=e.content.replace(/(\{\{\{PHP[0-9]+\}\}\})/g,'<span class="token php">$1</span>'))}),c.languages.insertBefore("php","comment",{markup:{pattern:/<[^?]\/?(.*?)>/,inside:c.languages.markup},php:/\{\{\{PHP[0-9]+\}\}\}/})),c.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:/"""[\s\S]+?"""|'''[\s\S]+?'''|("|')(?:\\?.)*?\1/,function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_][a-zA-Z0-9_]*(?=\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)[a-z0-9_]+/i,lookbehind:!0},keyword:/\b(?:as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|pass|print|raise|return|try|while|with|yield)\b/,boolean:/\b(?:True|False)\b/,number:/\b-?(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*\.?\d*|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:or|and|not)\b/,punctuation:/[{}[\];(),.:]/},function(e){e.languages.ruby=e.languages.extend("clike",{comment:/#(?!\{[^\r\n]*?\}).*/,keyword:/\b(alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|false|for|if|in|module|new|next|nil|not|or|raise|redo|require|rescue|retry|return|self|super|then|throw|true|undef|unless|until|when|while|yield)\b/});var t={pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"tag"},rest:e.util.clone(e.languages.ruby)}};e.languages.insertBefore("ruby","keyword",{regex:[{pattern:/%r([^a-zA-Z0-9\s\{\(\[<])(?:[^\\]|\\[\s\S])*?\1[gim]{0,3}/,inside:{interpolation:t}},{pattern:/%r\((?:[^()\\]|\\[\s\S])*\)[gim]{0,3}/,inside:{interpolation:t}},{pattern:/%r\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}[gim]{0,3}/,inside:{interpolation:t}},{pattern:/%r\[(?:[^\[\]\\]|\\[\s\S])*\][gim]{0,3}/,inside:{interpolation:t}},{pattern:/%r<(?:[^<>\\]|\\[\s\S])*>[gim]{0,3}/,inside:{interpolation:t}},{pattern:/(^|[^/])\/(?!\/)(\[.+?]|\\.|[^/\r\n])+\/[gim]{0,3}(?=\s*($|[\r\n,.;})]))/,lookbehind:!0}],variable:/[@$]+[a-zA-Z_][a-zA-Z_0-9]*(?:[?!]|\b)/,symbol:/:[a-zA-Z_][a-zA-Z_0-9]*(?:[?!]|\b)/}),e.languages.insertBefore("ruby","number",{builtin:/\b(Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|File|Fixnum|Fload|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,constant:/\b[A-Z][a-zA-Z_0-9]*(?:[?!]|\b)/}),e.languages.ruby.string=[{pattern:/%[qQiIwWxs]?([^a-zA-Z0-9\s\{\(\[<])(?:[^\\]|\\[\s\S])*?\1/,inside:{interpolation:t}},{pattern:/%[qQiIwWxs]?\((?:[^()\\]|\\[\s\S])*\)/,inside:{interpolation:t}},{pattern:/%[qQiIwWxs]?\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/,inside:{interpolation:t}},{pattern:/%[qQiIwWxs]?\[(?:[^\[\]\\]|\\[\s\S])*\]/,inside:{interpolation:t}},{pattern:/%[qQiIwWxs]?<(?:[^<>\\]|\\[\s\S])*>/,inside:{interpolation:t}},{pattern:/("|')(#\{[^}]+\}|\\(?:\r?\n|\r)|\\?.)*?\1/,inside:{interpolation:t}}]}(c);var u={isCodeSample:function(e){return e&&"PRE"===e.nodeName&&-1!==e.className.indexOf("language-")},trimArg:function(e){return function(t,a){return e(a)}}},g=function(e){var t=e.selection.getNode();return u.isCodeSample(t)?t:null},d=g,p=function(e,t,n){e.undoManager.transact(function(){var i=g(e);n=a.DOM.encode(n),i?(e.dom.setAttrib(i,"class","language-"+t),i.innerHTML=n,c.highlightElement(i),e.selection.select(i)):(e.insertContent('<pre id="__new" class="language-'+t+'">'+n+"</pre>"),e.selection.select(e.$("#__new").removeAttr("id")[0]))})},f=function(e){var t=g(e);return t?t.textContent:""},h=function(e){var t=i(e);return t||[{text:"HTML/XML",value:"markup"},{text:"JavaScript",value:"javascript"},{text:"CSS",value:"css"},{text:"PHP",value:"php"},{text:"Ruby",value:"ruby"},{text:"Python",value:"python"},{text:"Java",value:"java"},{text:"C",value:"c"},{text:"C#",value:"csharp"},{text:"C++",value:"cpp"}]},m=function(e){var t,a=d(e);return a&&(t=a.className.match(/language-(\w+)/))?t[1]:""},b=function(e){var t=r(e),a=s(e),n=m(e),i=h(e),o=f(e);e.windowManager.open({title:"Insert/Edit code sample",minWidth:t,minHeight:a,layout:"flex",direction:"column",align:"stretch",body:[{type:"listbox",name:"language",label:"Language",maxWidth:200,value:n,values:i},{type:"textbox",name:"code",multiline:!0,spellcheck:!1,ariaLabel:"Code view",flex:1,style:"direction: ltr; text-align: left",classes:"monospace",value:o,autofocus:!0}],onSubmit:function(t){p(e,t.data.language,t.data.code)}})},y=function(e){e.addCommand("codesample",function(){var t=e.selection.getNode();e.selection.isCollapsed()||u.isCodeSample(t)?b(e):e.formatter.toggle("code")})},v=function(e){var t=e.$;e.on("PreProcess",function(e){t("pre[contenteditable=false]",e.node).filter(u.trimArg(u.isCodeSample)).each(function(e,a){var n=t(a),i=a.textContent;n.attr("class",t.trim(n.attr("class"))),n.removeAttr("contentEditable"),n.empty().append(t("<code></code>").each(function(){this.textContent=i}))})}),e.on("SetContent",function(){var a=t("pre").filter(u.trimArg(u.isCodeSample)).filter(function(e,t){return"false"!==t.contentEditable});a.length&&e.undoManager.transact(function(){a.each(function(a,n){t(n).find("br").each(function(t,a){a.parentNode.replaceChild(e.getDoc().createTextNode("\n"),a)}),n.contentEditable=!1,n.innerHTML=e.dom.encode(n.textContent),c.highlightElement(n),n.className=t.trim(n.className)})})})},k=function(e,t,a,i){var r,s=n(e);e.inline&&a.get()||!e.inline&&i.get()||(e.inline?a.set(!0):i.set(!0),!1!==s&&(r=e.dom.create("link",{rel:"stylesheet",href:s||t+"/css/prism.css"}),e.getDoc().getElementsByTagName("head")[0].appendChild(r)))},w=function(e){e.addButton("codesample",{cmd:"codesample",title:"Insert/Edit code sample"}),e.addMenuItem("codesample",{cmd:"codesample",text:"Code sample",icon:"codesample"})},x=e(!1);t.add("codesample",function(t,a){var n=e(!1);v(t),w(t),y(t),t.on("init",function(){k(t,a,x,n)}),t.on("dblclick",function(e){u.isCodeSample(e.target)&&b(t)})})}();
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L2362

Insecure DOM Manipulation (XSS) in plugin.js

CWE-79
File Location: media/vendor/tinymce/plugins/table/plugin.js:2362
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- div.innerHTML = html;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L1235

Insecure DOM Manipulation (XSS) in theme.js

CWE-79
File Location: media/vendor/tinymce/themes/mobile/theme.js:1235
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- div.innerHTML = html;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L1670

Insecure DOM Manipulation (XSS) in theme.js

CWE-79
File Location: media/vendor/tinymce/themes/mobile/theme.js:1670
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- div.innerHTML = html;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L8983

Insecure DOM Manipulation (XSS) in theme.js

CWE-79
File Location: media/vendor/tinymce/themes/modern/theme.js:8983
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- body.innerHTML = html;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L6857

Insecure DOM Manipulation (XSS) in tinymce.js

CWE-79
File Location: media/vendor/tinymce/tinymce.js:6857
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- target.innerHTML = '<br>' + html;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L24622

Insecure DOM Manipulation (XSS) in tinymce.js

CWE-79
File Location: media/vendor/tinymce/tinymce.js:24622
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- elm.innerHTML = html;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L21

Insecure DOM Manipulation (XSS) in webcomponents-hi-sd-ce.js

CWE-79
File Location: media/vendor/webcomponentsjs/js/webcomponents-hi-sd-ce.js:21
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- a.indexOf("type=")?b+" type=import-disable "+c:a}));var c=document.createElement("template");c.innerHTML=a;if(c.content)a=c.content,l(a);else for(a=document.createDocumentFragment();c.firstChild;)a.appendChild(c.firstChild);if(c=a.querySelector("base"))b=A.R(c.getAttribute("href"),b),c.removeAttribute("href");c=m(a,'link[rel=import],link[rel=stylesheet][href][type=import-disable],style:not([type]),link[rel=stylesheet][href]:not([type]),script:not([type]),script[type="application/javascript"],script[type="text/javascript"]');
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L113

Insecure DOM Manipulation (XSS) in webcomponents-hi-sd-ce.js

CWE-79
File Location: media/vendor/webcomponentsjs/js/webcomponents-hi-sd-ce.js:113
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- return b})}Sc&&K(Element.prototype,"attachShadow",function(a){return this.__CE_shadowRoot=a=Sc.call(this,a)});Tc&&Tc.get?b(Element.prototype,Tc):hd&&hd.get?b(HTMLElement.prototype,hd):yc(a,function(a){b(a,{enumerable:!0,configurable:!0,get:function(){return Mc.call(this,!0).innerHTML},set:function(a){var b="template"===this.localName,c=b?this.content:this,d=Fc.call(document,this.localName);for(d.innerHTML=a;0<c.childNodes.length;)Pc.call(c,c.childNodes[0]);for(a=b?d.content:d;0<a.childNodes.length;)Nc.call(c,
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L21

Insecure DOM Manipulation (XSS) in webcomponents-hi-sd.js

CWE-79
File Location: media/vendor/webcomponentsjs/js/webcomponents-hi-sd.js:21
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- a.indexOf("type=")?b+" type=import-disable "+c:a}));var c=document.createElement("template");c.innerHTML=a;if(c.content)a=c.content,l(a);else for(a=document.createDocumentFragment();c.firstChild;)a.appendChild(c.firstChild);if(c=a.querySelector("base"))b=x.M(c.getAttribute("href"),b),c.removeAttribute("href");c=m(a,'link[rel=import],link[rel=stylesheet][href][type=import-disable],style:not([type]),link[rel=stylesheet][href]:not([type]),script:not([type]),script[type="application/javascript"],script[type="text/javascript"]');
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L1

Insecure DOM Manipulation (XSS) in webcomponents-hi.min.js

CWE-79
File Location: media/vendor/webcomponentsjs/js/webcomponents-hi.min.js:1
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- (function(){"use strict";!function(e){function t(e,t){if("function"==typeof window.CustomEvent)return new CustomEvent(e,t);var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,!!t.bubbles,!!t.cancelable,t.detail),n}function n(e){if(s)return e.ownerDocument!==document?e.ownerDocument:null;var t=e.__importDoc;if(!t&&e.parentNode){if("function"==typeof(t=e.parentNode).closest)t=t.closest("link[rel=import]");else for(;!a(t)&&(t=t.parentNode););e.__importDoc=t}return t}function o(e){function t(){"loading"!==document.readyState&&document.body&&(document.removeEventListener("readystatechange",t),e())}document.addEventListener("readystatechange",t),t()}function r(e){o(function(){return function(e){var t=l(document,"link[rel=import]:not([import-dependency])"),n=t.length;n?u(t,function(t){return i(t,function(){0==--n&&e()})}):e()}(function(){return e&&e()})})}function i(e,t){if(e.__loaded)t&&t();else if("script"===e.localName&&!e.src||"style"===e.localName&&!e.firstChild)e.__loaded=!0,t&&t();else{var n=function(o){e.removeEventListener(o.type,n),e.__loaded=!0,t&&t()};e.addEventListener("load",n),g&&"style"===e.localName||e.addEventListener("error",n)}}function a(e){return e.nodeType===Node.ELEMENT_NODE&&"link"===e.localName&&"import"===e.rel}function c(){var e=this;this.a={},this.b=0,this.g=new MutationObserver(function(t){return e.A(t)}),this.g.observe(document.head,{childList:!0,subtree:!0}),this.loadImports(document)}function l(e,t){return e.childNodes.length?e.querySelectorAll(t):p}function u(e,t,n){var o=e?e.length:0,r=n?-1:1;for(n=n?o-1:0;n<o&&0<=n;n+=r)t(e[n],n)}var d=document.createElement("link"),s="import"in d,p=d.querySelectorAll("*"),m=null;!1=="currentScript"in document&&Object.defineProperty(document,"currentScript",{get:function(){return m||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null)},configurable:!0});var f=/(url\()([^)]*)(\))/g,h=/(@import[\s]+(?!url\())([^;]*)(;)/g,y=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,v={v:function(e,t){if(e.href&&e.setAttribute("href",v.c(e.getAttribute("href"),t)),e.src&&e.setAttribute("src",v.c(e.getAttribute("src"),t)),"style"===e.localName){var n=v.o(e.textContent,t,f);e.textContent=v.o(n,t,h)}},o:function(e,t,n){return e.replace(n,function(e,n,o,r){return e=o.replace(/["']/g,""),t&&(e=v.c(e,t)),n+"'"+e+"'"+r})},c:function(e,t){if(void 0===v.f){v.f=!1;try{var n=new URL("b","http://a");n.pathname="c%20d",v.f="http://a/c%20d"===n.href}catch(e){}}return v.f?new URL(e,t).href:((n=v.s)||(n=document.implementation.createHTMLDocument("temp"),v.s=n,n.i=n.createElement("base"),n.head.appendChild(n.i),n.h=n.createElement("a")),n.i.href=t,n.h.href=e,n.h.href||e)}},b={async:!0,load:function(e,t,n){if(e)if(e.match(/^data:/)){var o=(e=e.split(","))[1];o=-1<e[0].indexOf(";base64")?atob(o):decodeURIComponent(o),t(o)}else{var r=new XMLHttpRequest;r.open("GET",e,b.async),r.onload=function(){var e=r.responseURL||r.getResponseHeader("Location");e&&0===e.indexOf("/")&&(e=(location.origin||location.protocol+"//"+location.host)+e);var o=r.response||r.responseText;304===r.status||0===r.status||200<=r.status&&300>r.status?t(o,e):n(o)},r.send()}else n("error: href must be specified")}},g=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent);c.prototype.loadImports=function(e){var t=this;u(l(e,"link[rel=import]"),function(e){return t.l(e)})},c.prototype.l=function(e){var t=this,n=e.href;if(void 0!==this.a[n]){var o=this.a[n];o&&o.__loaded&&(e.__import=o,this.j(e))}else this.b++,this.a[n]="pending",b.load(n,function(e,o){e=t.B(e,o||n),t.a[n]=e,t.b--,t.loadImports(e),t.m()},function(){t.a[n]=null,t.b--,t.m()})},c.prototype.B=function(e,t){if(!e)return document.createDocumentFragment();g&&(e=e.replace(y,function(e,t,n){return-1===e.indexOf("type=")?t+" type=import-disable "+n:e}));var n=document.createElement("template");if(n.innerHTML=e,n.content)(function e(t){u(l(t,"template"),function(t){u(l(t.content,'script:not([type]),script[type="application/javascript"],script[type="text/javascript"]'),function(e){var t=document.createElement("script");u(e.attributes,function(e){return t.setAttribute(e.name,e.value)}),t.textContent=e.textContent,e.parentNode.replaceChild(t,e)}),e(t.content)})})(e=n.content);else for(e=document.createDocumentFragment();n.firstChild;)e.appendChild(n.firstChild);(n=e.querySelector("base"))&&(t=v.c(n.getAttribute("href"),t),n.removeAttribute("href"));var o=0;return u(l(e,'link[rel=import],link[rel=stylesheet][href][type=import-disable],style:not([type]),link[rel=stylesheet][href]:not([type]),script:not([type]),script[type="application/javascript"],script[type="text/javascript"]'),function(e){i(e),v.v(e,t),e.setAttribute("import-dependency",""),"script"===e.localName&&!e.src&&e.textContent&&(e.setAttribute("src","data:text/javascript;charset=utf-8,"+encodeURIComponent(e.textContent+"\n//# sourceURL="+t+(o?"-"+o:"")+".js\n")),e.textContent="",o++)}),e},c.prototype.m=function(){var e=this;if(!this.b){this.g.disconnect(),this.flatten(document);var t=!1,n=!1,o=function(){n&&t&&(e.loadImports(document),e.b||(e.g.observe(document.head,{childList:!0,subtree:!0}),e.w()))};this.D(function(){n=!0,o()}),this.C(function(){t=!0,o()})}},c.prototype.flatten=function(e){var t=this;u(l(e,"link[rel=import]"),function(e){var n=t.a[e.href];(e.__import=n)&&n.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(t.a[e.href]=e,e.readyState="loading",e.__import=e,t.flatten(n),e.appendChild(n))})},c.prototype.C=function(e){var t=l(document,"script[import-dependency]"),n=t.length;!function o(r){if(r<n){var a=t[r],c=document.createElement("script");a.removeAttribute("import-dependency"),u(a.attributes,function(e){return c.setAttribute(e.name,e.value)}),m=c,a.parentNode.replaceChild(c,a),i(c,function(){m=null,o(r+1)})}else e()}(0)},c.prototype.D=function(e){var t=l(document,"style[import-dependency],link[rel=stylesheet][import-dependency]"),o=t.length;if(o){var r=g&&!!document.querySelector("link[rel=stylesheet][href][type=import-disable]");u(t,function(t){if(i(t,function(){t.removeAttribute("import-dependency"),0==--o&&e()}),r&&t.parentNode!==document.head){var a=document.createElement(t.localName);for(a.__appliedElement=t,a.setAttribute("type","import-placeholder"),t.parentNode.insertBefore(a,t.nextSibling),a=n(t);a&&n(a);)a=n(a);a.parentNode!==document.head&&(a=null),document.head.insertBefore(t,a),t.removeAttribute("type")}})}else e()},c.prototype.w=function(){var e=this;u(l(document,"link[rel=import]"),function(t){return e.j(t)},!0)},c.prototype.j=function(e){e.__loaded||(e.__loaded=!0,e.import&&(e.import.readyState="complete"),e.dispatchEvent(t(e.import?"load":"error",{bubbles:!1,cancelable:!1,detail:void 0})))},c.prototype.A=function(e){var t=this;u(e,function(e){return u(e.addedNodes,function(e){e&&e.nodeType===Node.ELEMENT_NODE&&(a(e)?t.l(e):t.loadImports(e))})})};var E=null;if(s)u(l(document,"link[rel=import]"),function(e){e.import&&"loading"===e.import.readyState||(e.__loaded=!0)}),d=function(e){a(e=e.target)&&(e.__loaded=!0)},document.addEventListener("load",d,!0),document.addEventListener("error",d,!0);else{var w=Object.getOwnPropertyDescriptor(Node.prototype,"baseURI");Object.defineProperty((!w||w.configurable?Node:Element).prototype,"baseURI",{get:function(){var e=a(this)?this:n(this);return e?e.href:w&&w.get?w.get.call(this):(document.querySelector("base")||window.location).href},configurable:!0,enumerable:!0}),Object.defineProperty(HTMLLinkElement.prototype,"import",{get:function(){return this.__import||null},configurable:!0,enumerable:!0}),o(function(){E=new c})}r(function(){return document.dispatchEvent(t("HTMLImportsLoaded",{cancelable:!0,bubbles:!0,detail:void 0}))}),e.useNative=s,e.whenReady=r,e.importForElement=n,e.loadImports=function(e){E&&E.loadImports(e)}}(window.HTMLImports=window.HTMLImports||{});var e=window.customElements,t=window.HTMLImports,n=window.HTMLTemplateElement;if(window.WebComponents=window.WebComponents||{},e&&e.polyfillWrapFlushCallback){var o,r=function(){if(o){n.u&&n.u(window.document);var e=o;return o=null,e(),!0}},i=t.whenReady;e.polyfillWrapFlushCallback(function(e){o=e,i(r)}),t.whenReady=function(e){i(function(){r()?t.whenReady(e):e()})}}t.whenReady(function(){requestAnimationFrame(function(){window.WebComponents.ready=!0,document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})});var a=document.createElement("style");a.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var c=document.querySelector("head");c.insertBefore(a,c.firstChild)}).call(this);
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L151

Insecure DOM Manipulation (XSS) in webcomponents-lite.js

CWE-79
File Location: media/vendor/webcomponentsjs/js/webcomponents-lite.js:151
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- return b})}$d&&M(Element.prototype,"attachShadow",function(a){return this.__CE_shadowRoot=a=$d.call(this,a)});ae&&ae.get?b(Element.prototype,ae):pe&&pe.get?b(HTMLElement.prototype,pe):Hd(a,function(a){b(a,{enumerable:!0,configurable:!0,get:function(){return Ud.call(this,!0).innerHTML},set:function(a){var b="template"===this.localName,c=b?this.content:this,d=Nd.call(document,this.localName);for(d.innerHTML=a;0<c.childNodes.length;)Xd.call(c,c.childNodes[0]);for(a=b?d.content:d;0<a.childNodes.length;)Vd.call(c,
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L1

Insecure DOM Manipulation (XSS) in webcomponents-lite.min.js

CWE-79
File Location: media/vendor/webcomponentsjs/js/webcomponents-lite.min.js:1
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- (function(){"use strict";var t,e="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,n="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,n){t!=Array.prototype&&t!=Object.prototype&&(t[e]=n.value)};function o(){o=function(){},e.Symbol||(e.Symbol=i)}var r,i=(r=0,function(t){return"jscomp_symbol_"+(t||"")+r++});function a(){o();var t=e.Symbol.iterator;t||(t=e.Symbol.iterator=e.Symbol("iterator")),"function"!=typeof Array.prototype[t]&&n(Array.prototype,t,{configurable:!0,writable:!0,value:function(){return s(this)}}),a=function(){}}function s(t){var n=0;return function(t){return a(),(t={next:t})[e.Symbol.iterator]=function(){return this},t}(function(){return n<t.length?{done:!1,value:t[n++]}:{done:!0}})}!function(){if(!function(){var t=document.createEvent("Event");return t.initEvent("foo",!0,!0),t.preventDefault(),t.defaultPrevented}()){var t=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(t.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var e=/Trident/.test(navigator.userAgent);if((!window.CustomEvent||e&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(t,e){e=e||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,!!e.bubbles,!!e.cancelable,e.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.Event||e&&"function"!=typeof window.Event){var n=window.Event;if(window.Event=function(t,e){e=e||{};var n=document.createEvent("Event");return n.initEvent(t,!!e.bubbles,!!e.cancelable),n},n)for(var o in n)window.Event[o]=n[o];window.Event.prototype=n.prototype}if(!window.MouseEvent||e&&"function"!=typeof window.MouseEvent){if(e=window.MouseEvent,window.MouseEvent=function(t,e){e=e||{};var n=document.createEvent("MouseEvent");return n.initMouseEvent(t,!!e.bubbles,!!e.cancelable,e.view||window,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget),n},e)for(o in e)window.MouseEvent[o]=e[o];window.MouseEvent.prototype=e.prototype}Array.from||(Array.from=function(t){return[].slice.call(t)}),Object.assign||(Object.assign=function(t,e){for(var n,o=[].slice.call(arguments,1),r=0;r<o.length;r++)if(n=o[r])for(var i=t,a=n,s=Object.getOwnPropertyNames(a),l=0;l<s.length;l++)i[n=s[l]]=a[n];return t})}(window.WebComponents),function(){function t(){}function e(t,e){if(!t.childNodes.length)return[];switch(t.nodeType){case Node.DOCUMENT_NODE:return h.call(t,e);case Node.DOCUMENT_FRAGMENT_NODE:return f.call(t,e);default:return d.call(t,e)}}var n="undefined"==typeof HTMLTemplateElement,o=!(document.createDocumentFragment().cloneNode()instanceof DocumentFragment),r=!1;/Trident/.test(navigator.userAgent)&&function(){function t(t,e){if(t instanceof DocumentFragment)for(var o;o=t.firstChild;)n.call(this,o,e);else n.call(this,t,e);return t}r=!0;var e=Node.prototype.cloneNode;Node.prototype.cloneNode=function(t){return t=e.call(this,t),this instanceof DocumentFragment&&(t.__proto__=DocumentFragment.prototype),t},DocumentFragment.prototype.querySelectorAll=HTMLElement.prototype.querySelectorAll,DocumentFragment.prototype.querySelector=HTMLElement.prototype.querySelector,Object.defineProperties(DocumentFragment.prototype,{nodeType:{get:function(){return Node.DOCUMENT_FRAGMENT_NODE},configurable:!0},localName:{get:function(){},configurable:!0},nodeName:{get:function(){return"#document-fragment"},configurable:!0}});var n=Node.prototype.insertBefore;Node.prototype.insertBefore=t;var o=Node.prototype.appendChild;Node.prototype.appendChild=function(e){return e instanceof DocumentFragment?t.call(this,e,null):o.call(this,e),e};var i=Node.prototype.removeChild,a=Node.prototype.replaceChild;Node.prototype.replaceChild=function(e,n){return e instanceof DocumentFragment?(t.call(this,e,n),i.call(this,n)):a.call(this,e,n),n},Document.prototype.createDocumentFragment=function(){var t=this.createElement("df");return t.__proto__=DocumentFragment.prototype,t};var s=Document.prototype.importNode;Document.prototype.importNode=function(t,e){return e=s.call(this,t,e||!1),t instanceof DocumentFragment&&(e.__proto__=DocumentFragment.prototype),e}}();var i=Node.prototype.cloneNode,a=Document.prototype.createElement,s=Document.prototype.importNode,l=Node.prototype.removeChild,c=Node.prototype.appendChild,u=Node.prototype.replaceChild,d=Element.prototype.querySelectorAll,h=Document.prototype.querySelectorAll,f=DocumentFragment.prototype.querySelectorAll,p=function(){if(!n){var t=document.createElement("template"),e=document.createElement("template");return e.content.appendChild(document.createElement("div")),t.content.appendChild(e),0===(t=t.cloneNode(!0)).content.childNodes.length||0===t.content.firstChild.content.childNodes.length||o}}();if(n){var m=document.implementation.createHTMLDocument("template"),y=!0,v=document.createElement("style");v.textContent="template{display:none;}";var _=document.head;_.insertBefore(v,_.firstElementChild),t.prototype=Object.create(HTMLElement.prototype);var g=!document.createElement("div").hasOwnProperty("innerHTML");t.D=function(e){if(!e.content){e.content=m.createDocumentFragment();for(var n;n=e.firstChild;)c.call(e.content,n);if(g)e.__proto__=t.prototype;else if(e.cloneNode=function(e){return t.ca(this,e)},y)try{b(e),w(e)}catch(t){y=!1}t.J(e.content)}};var b=function(e){Object.defineProperty(e,"innerHTML",{get:function(){for(var t="",e=this.content.firstChild;e;e=e.nextSibling)t+=e.outerHTML||e.data.replace(E,N);return t},set:function(e){for(m.body.innerHTML=e,t.J(m);this.content.firstChild;)l.call(this.content,this.content.firstChild);for(;m.body.firstChild;)c.call(this.content,m.body.firstChild)},configurable:!0})},w=function(t){Object.defineProperty(t,"outerHTML",{get:function(){return"<template>"+this.innerHTML+"</template>"},set:function(t){if(!this.parentNode)throw Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");for(m.body.innerHTML=t,t=this.ownerDocument.createDocumentFragment();m.body.firstChild;)c.call(t,m.body.firstChild);u.call(this.parentNode,t,this)},configurable:!0})};b(t.prototype),w(t.prototype),t.J=function(n){for(var o,r=0,i=(n=e(n,"template")).length;r<i&&(o=n[r]);r++)t.D(o)},document.addEventListener("DOMContentLoaded",function(){t.J(document)}),Document.prototype.createElement=function(){var e=a.apply(this,arguments);return"template"===e.localName&&t.D(e),e};var E=/[&\u00A0<>]/g,N=function(t){switch(t){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case" ":return"&nbsp;"}}}if(n||p){t.ca=function(t,e){var n=i.call(t,!1);return this.D&&this.D(n),e&&(c.call(n.content,i.call(t.content,!0)),C(n.content,t.content)),n};var C=function(n,o){if(o.querySelectorAll&&0!==(o=e(o,"template")).length)for(var r,i,a=0,s=(n=e(n,"template")).length;a<s;a++)i=o[a],r=n[a],t&&t.D&&t.D(i),u.call(r.parentNode,S.call(i,!0),r)},S=Node.prototype.cloneNode=function(e){if(!r&&o&&this instanceof DocumentFragment){if(!e)return this.ownerDocument.createDocumentFragment();var n=T.call(this.ownerDocument,this,!0)}else n=this.nodeType===Node.ELEMENT_NODE&&"template"===this.localName?t.ca(this,e):i.call(this,e);return e&&C(n,this),n},T=Document.prototype.importNode=function(n,o){if(o=o||!1,"template"===n.localName)return t.ca(n,o);var r=s.call(this,n,o);if(o){C(r,n),n=e(r,'script:not([type]),script[type="application/javascript"],script[type="text/javascript"]');for(var i,l=0;l<n.length;l++){i=n[l],(o=a.call(document,"script")).textContent=i.textContent;for(var c,d=i.attributes,h=0;h<d.length;h++)c=d[h],o.setAttribute(c.name,c.value);u.call(i.parentNode,o,i)}}return r}}n&&(window.HTMLTemplateElement=t)}();var l,c=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},u=0,d="undefined"!=typeof window?window:void 0,h=d||{},f=h.MutationObserver||h.WebKitMutationObserver,p="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function m(){var t=setTimeout;return function(){return t(g,1)}}var y,v,_=Array(1e3);function g(){for(var t=0;t<u;t+=2)(0,_[t])(_[t+1]),_[t]=void 0,_[t+1]=void 0;u=0}if("undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process))v=function(){return process.ib(g)};else{var b;if(f)b=function(){var t=0,e=new f(g),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}();else{var w;if(p)w=function(){var t=new MessageChannel;return t.port1.onmessage=g,function(){return t.port2.postMessage(0)}}();else{var E;if(void 0===d&&"function"==typeof require)try{var N=require("vertx");E=void 0!==(l=N.kb||N.jb)?function(){l(g)}:m()}catch(r){E=m()}else E=m();w=E}b=w}v=b}function C(t,e){_[u]=t,_[u+1]=e,2===(u+=2)&&y()}function S(t,e){var n=this,o=new this.constructor(x);void 0===o[O]&&V(o);var r=n.g;if(r){var i=arguments[r-1];C(function(){return q(r,o,i,n.f)})}else P(n,o,t,e);return o}function T(t){if(t&&"object"==typeof t&&t.constructor===this)return t;var e=new this(x);return L(e,t),e}y=v;var O=Math.random().toString(36).substring(16);function x(){}var D=new H;function A(t){try{return t.then}catch(t){return D.error=t,D}}function M(t,e,n){e.constructor===t.constructor&&n===S&&e.constructor.resolve===T?function(t,e){1===e.g?k(t,e.f):2===e.g?R(t,e.f):P(e,void 0,function(e){return L(t,e)},function(e){return R(t,e)})}(t,e):n===D?(R(t,D.error),D.error=null):void 0===n?k(t,e):"function"==typeof n?function(t,e,n){C(function(t){var o=!1,r=function(t,e,n,o){try{t.call(e,n,o)}catch(t){return t}}(n,e,function(n){o||(o=!0,e!==n?L(t,n):k(t,n))},function(e){o||(o=!0,R(t,e))});!o&&r&&(o=!0,R(t,r))},t)}(t,e,n):k(t,e)}function L(t,e){if(t===e)R(t,new TypeError("You cannot resolve a promise with itself"));else{var n=typeof e;null===e||"object"!==n&&"function"!==n?k(t,e):M(t,e,A(e))}}function j(t){t.na&&t.na(t.f),F(t)}function k(t,e){void 0===t.g&&(t.f=e,t.g=1,0!==t.I.length&&C(F,t))}function R(t,e){void 0===t.g&&(t.g=2,t.f=e,C(j,t))}function P(t,e,n,o){var r=t.I,i=r.length;t.na=null,r[i]=e,r[i+1]=n,r[i+2]=o,0===i&&t.g&&C(F,t)}function F(t){var e=t.I,n=t.g;if(0!==e.length){for(var o,r,i=t.f,a=0;a<e.length;a+=3)o=e[a],r=e[a+n],o?q(n,o,r,i):r(i);t.I.length=0}}function H(){this.error=null}var I=new H;function q(t,e,n,o){var r="function"==typeof n;if(r){try{var i=n(o)}catch(t){I.error=t,i=I}if(i===I){var a=!0,s=i.error;i.error=null}else var l=!0;if(e===i)return void R(e,new TypeError("A promises callback cannot return that same promise."))}else i=o,l=!0;void 0===e.g&&(r&&l?L(e,i):a?R(e,s):1===t?k(e,i):2===t&&R(e,i))}var W=0;function V(t){t[O]=W++,t.g=void 0,t.f=void 0,t.I=[]}function B(t,e,n){var o=t.Ea,r=o.resolve;r===T?(r=A(e))===S&&void 0!==e.g?U(t,e.g,n,e.f):"function"!=typeof r?(t.S--,t.f[n]=e):o===$?(M(o=new o(x),e,r),G(t,o,n)):G(t,new o(function(t){return t(e)}),n):G(t,r(e),n)}function U(t,e,n,o){var r=t.A;void 0===r.g&&(t.S--,2===e?R(r,o):t.f[n]=o),0===t.S&&k(r,t.f)}function G(t,e,n){P(e,void 0,function(e){return U(t,1,n,e)},function(e){return U(t,2,n,e)})}function $(t){if(this[O]=W++,this.f=this.g=void 0,this.I=[],x!==t){if("function"!=typeof t)throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(!(this instanceof $))throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");!function(t,e){try{e(function(e){L(t,e)},function(e){R(t,e)})}catch(e){R(t,e)}}(this,t)}}$.prototype={constructor:$,then:S,a:function(t){return this.then(null,t)}},window.Promise||(window.Promise=$,$.prototype.catch=$.prototype.a,$.prototype.then=$.prototype.then,$.all=function(t){return new function(t,e){if(this.Ea=t,this.A=new t(x),this.A[O]||V(this.A),c(e))if(this.S=this.length=e.length,this.f=Array(this.length),0===this.length)k(this.A,this.f);else{for(this.length=this.length||0,t=0;void 0===this.g&&t<e.length;t++)B(this,e[t],t);0===this.S&&k(this.A,this.f)}else R(this.A,Error("Array Methods must be provided an Array"))}(this,t).A},$.race=function(t){var e=this;return c(t)?new e(function(n,o){for(var r=t.length,i=0;i<r;i++)e.resolve(t[i]).then(n,o)}):new e(function(t,e){return e(new TypeError("You must pass an array to race."))})},$.resolve=T,$.reject=function(t){var e=new this(x);return R(e,t),e}),function(t){function e(t,e){if("function"==typeof window.CustomEvent)return new CustomEvent(t,e);var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,!!e.bubbles,!!e.cancelable,e.detail),n}function n(t){if(d)return t.ownerDocument!==document?t.ownerDocument:null;var e=t.__importDoc;if(!e&&t.parentNode){if("function"==typeof(e=t.parentNode).closest)e=e.closest("link[rel=import]");else for(;!a(e)&&(e=e.parentNode););t.__importDoc=e}return e}function o(t){function e(){"loading"!==document.readyState&&document.body&&(document.removeEventListener("readystatechange",e),t())}document.addEventListener("readystatechange",e),e()}function r(t){o(function(){return function(t){var e=l(document,"link[rel=import]:not([import-dependency])"),n=e.length;n?c(e,function(e){return i(e,function(){0==--n&&t()})}):t()}(function(){return t&&t()})})}function i(t,e){if(t.__loaded)e&&e();else if("script"===t.localName&&!t.src||"style"===t.localName&&!t.firstChild)t.__loaded=!0,e&&e();else{var n=function(o){t.removeEventListener(o.type,n),t.__loaded=!0,e&&e()};t.addEventListener("load",n),g&&"style"===t.localName||t.addEventListener("error",n)}}function a(t){return t.nodeType===Node.ELEMENT_NODE&&"link"===t.localName&&"import"===t.rel}function s(){var t=this;this.a={},this.b=0,this.c=new MutationObserver(function(e){return t.Ra(e)}),this.c.observe(document.head,{childList:!0,subtree:!0}),this.loadImports(document)}function l(t,e){return t.childNodes.length?t.querySelectorAll(e):h}function c(t,e,n){var o=t?t.length:0,r=n?-1:1;for(n=n?o-1:0;n<o&&0<=n;n+=r)e(t[n],n)}var u=document.createElement("link"),d="import"in u,h=u.querySelectorAll("*"),f=null;!1=="currentScript"in document&&Object.defineProperty(document,"currentScript",{get:function(){return f||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null)},configurable:!0});var p=/(url\()([^)]*)(\))/g,m=/(@import[\s]+(?!url\())([^;]*)(;)/g,y=/(<link[^>]*)(rel=['|"]?stylesheet['|"]?[^>]*>)/g,v={La:function(t,e){if(t.href&&t.setAttribute("href",v.Y(t.getAttribute("href"),e)),t.src&&t.setAttribute("src",v.Y(t.getAttribute("src"),e)),"style"===t.localName){var n=v.ta(t.textContent,e,p);t.textContent=v.ta(n,e,m)}},ta:function(t,e,n){return t.replace(n,function(t,n,o,r){return t=o.replace(/["']/g,""),e&&(t=v.Y(t,e)),n+"'"+t+"'"+r})},Y:function(t,e){if(void 0===v.ba){v.ba=!1;try{var n=new URL("b","http://a");n.pathname="c%20d",v.ba="http://a/c%20d"===n.href}catch(t){}}return v.ba?new URL(t,e).href:((n=v.Ba)||(n=document.implementation.createHTMLDocument("temp"),v.Ba=n,n.ma=n.createElement("base"),n.head.appendChild(n.ma),n.la=n.createElement("a")),n.ma.href=e,n.la.href=t,n.la.href||t)}},_={async:!0,load:function(t,e,n){if(t)if(t.match(/^data:/)){var o=(t=t.split(","))[1];o=-1<t[0].indexOf(";base64")?atob(o):decodeURIComponent(o),e(o)}else{var r=new XMLHttpRequest;r.open("GET",t,_.async),r.onload=function(){var t=r.responseURL||r.getResponseHeader("Location");t&&0===t.indexOf("/")&&(t=(location.origin||location.protocol+"//"+location.host)+t);var o=r.response||r.responseText;304===r.status||0===r.status||200<=r.status&&300>r.status?e(o,t):n(o)},r.send()}else n("error: href must be specified")}},g=/Trident/.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent);s.prototype.loadImports=function(t){var e=this;c(t=l(t,"link[rel=import]"),function(t){return e.s(t)})},s.prototype.s=function(t){var e=this,n=t.href;if(void 0!==this.a[n]){var o=this.a[n];o&&o.__loaded&&(t.__import=o,this.h(t))}else this.b++,this.a[n]="pending",_.load(n,function(t,o){t=e.Sa(t,o||n),e.a[n]=t,e.b--,e.loadImports(t),e.L()},function(){e.a[n]=null,e.b--,e.L()})},s.prototype.Sa=function(t,e){if(!t)return document.createDocumentFragment();g&&(t=t.replace(y,function(t,e,n){return-1===t.indexOf("type=")?e+" type=import-disable "+n:t}));var n=document.createElement("template");if(n.innerHTML=t,n.content)(function t(e){c(l(e,"template"),function(e){c(l(e.content,'script:not([type]),script[type="application/javascript"],script[type="text/javascript"]'),function(t){var e=document.createElement("script");c(t.attributes,function(t){return e.setAttribute(t.name,t.value)}),e.textContent=t.textContent,t.parentNode.replaceChild(e,t)}),t(e.content)})})(t=n.content);else for(t=document.createDocumentFragment();n.firstChild;)t.appendChild(n.firstChild);(n=t.querySelector("base"))&&(e=v.Y(n.getAttribute("href"),e),n.removeAttribute("href"));var o=0;return c(n=l(t,'link[rel=import],link[rel=stylesheet][href][type=import-disable],style:not([type]),link[rel=stylesheet][href]:not([type]),script:not([type]),script[type="application/javascript"],script[type="text/javascript"]'),function(t){i(t),v.La(t,e),t.setAttribute("import-dependency",""),"script"===t.localName&&!t.src&&t.textContent&&(t.setAttribute("src","data:text/javascript;charset=utf-8,"+encodeURIComponent(t.textContent+"\n//# sourceURL="+e+(o?"-"+o:"")+".js\n")),t.textContent="",o++)}),t},s.prototype.L=function(){var t=this;if(!this.b){this.c.disconnect(),this.flatten(document);var e=!1,n=!1,o=function(){n&&e&&(t.loadImports(document),t.b||(t.c.observe(document.head,{childList:!0,subtree:!0}),t.Pa()))};this.Ua(function(){n=!0,o()}),this.Ta(function(){e=!0,o()})}},s.prototype.flatten=function(t){var e=this;c(t=l(t,"link[rel=import]"),function(t){var n=e.a[t.href];(t.__import=n)&&n.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(e.a[t.href]=t,t.readyState="loading",t.__import=t,e.flatten(n),t.appendChild(n))})},s.prototype.Ta=function(t){var e=l(document,"script[import-dependency]"),n=e.length;!function o(r){if(r<n){var a=e[r],s=document.createElement("script");a.removeAttribute("import-dependency"),c(a.attributes,function(t){return s.setAttribute(t.name,t.value)}),f=s,a.parentNode.replaceChild(s,a),i(s,function(){f=null,o(r+1)})}else t()}(0)},s.prototype.Ua=function(t){var e=l(document,"style[import-dependency],link[rel=stylesheet][import-dependency]"),o=e.length;if(o){var r=g&&!!document.querySelector("link[rel=stylesheet][href][type=import-disable]");c(e,function(e){if(i(e,function(){e.removeAttribute("import-dependency"),0==--o&&t()}),r&&e.parentNode!==document.head){var a=document.createElement(e.localName);for(a.__appliedElement=e,a.setAttribute("type","import-placeholder"),e.parentNode.insertBefore(a,e.nextSibling),a=n(e);a&&n(a);)a=n(a);a.parentNode!==document.head&&(a=null),document.head.insertBefore(e,a),e.removeAttribute("type")}})}else t()},s.prototype.Pa=function(){var t=this;c(l(document,"link[rel=import]"),function(e){return t.h(e)},!0)},s.prototype.h=function(t){t.__loaded||(t.__loaded=!0,t.import&&(t.import.readyState="complete"),t.dispatchEvent(e(t.import?"load":"error",{bubbles:!1,cancelable:!1,detail:void 0})))},s.prototype.Ra=function(t){var e=this;c(t,function(t){return c(t.addedNodes,function(t){t&&t.nodeType===Node.ELEMENT_NODE&&(a(t)?e.s(t):e.loadImports(t))})})};var b=null;if(d)c(u=l(document,"link[rel=import]"),function(t){t.import&&"loading"===t.import.readyState||(t.__loaded=!0)}),u=function(t){a(t=t.target)&&(t.__loaded=!0)},document.addEventListener("load",u,!0),document.addEventListener("error",u,!0);else{var w=Object.getOwnPropertyDescriptor(Node.prototype,"baseURI");Object.defineProperty((!w||w.configurable?Node:Element).prototype,"baseURI",{get:function(){var t=a(this)?this:n(this);return t?t.href:w&&w.get?w.get.call(this):(document.querySelector("base")||window.location).href},configurable:!0,enumerable:!0}),Object.defineProperty(HTMLLinkElement.prototype,"import",{get:function(){return this.__import||null},configurable:!0,enumerable:!0}),o(function(){b=new s})}r(function(){return document.dispatchEvent(e("HTMLImportsLoaded",{cancelable:!0,bubbles:!0,detail:void 0}))}),t.useNative=d,t.whenReady=r,t.importForElement=n,t.loadImports=function(t){b&&b.loadImports(t)}}(window.HTMLImports=window.HTMLImports||{}),window.WebComponents=window.WebComponents||{flags:{}};var K=document.querySelector('script[src*="webcomponents-lite.js"]'),X=/wc-(.+)/,Y={};if(!Y.noOpts){if(location.search.slice(1).split("&").forEach(function(t){var e;(t=t.split("="))[0]&&(e=t[0].match(X))&&(Y[e[1]]=t[1]||!0)}),K)for(var z,J=0;z=K.attributes[J];J++)"src"!==z.name&&(Y[z.name]=z.value||!0);if(Y.log&&Y.log.split){var Z=Y.log.split(",");Y.log={},Z.forEach(function(t){Y.log[t]=!0})}else Y.log={}}window.WebComponents.flags=Y;var Q=Y.shadydom;Q&&(window.ShadyDOM=window.ShadyDOM||{},window.ShadyDOM.force=Q);var tt=Y.register||Y.ce;tt&&window.customElements&&(window.customElements.forcePolyfill=tt);var et=window.ShadyDOM||{};et.Na=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var nt=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");function ot(t){return t.__shady&&void 0!==t.__shady.firstChild}function rt(t){return"ShadyRoot"===t.ya}function it(t){if(rt(t=t.getRootNode()))return t}et.M=!!(nt&&nt.configurable&&nt.get),et.sa=et.force||!et.Na;var at=Element.prototype,st=at.matches||at.matchesSelector||at.mozMatchesSelector||at.msMatchesSelector||at.oMatchesSelector||at.webkitMatchesSelector;function lt(t,e){if(t&&e)for(var n,o=Object.getOwnPropertyNames(e),r=0;r<o.length&&(n=o[r]);r++){var i=Object.getOwnPropertyDescriptor(e,n);i&&Object.defineProperty(t,n,i)}}function ct(t,e){for(var n=[],o=1;o<arguments.length;++o)n[o-1]=arguments[o];for(o=0;o<n.length;o++)lt(t,n[o]);return t}var ut=document.createTextNode(""),dt=0,ht=[];function ft(t){ht.push(t),ut.textContent=dt++}new MutationObserver(function(){for(;ht.length;)try{ht.shift()()}catch(t){throw ut.textContent=dt++,t}}).observe(ut,{characterData:!0});var pt=!!document.contains;function mt(t,e){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}var yt,vt=[];function _t(t){yt||(yt=!0,ft(gt)),vt.push(t)}function gt(){yt=!1;for(var t=!!vt.length;vt.length;)vt.shift()();return t}function bt(){this.a=!1,this.addedNodes=[],this.removedNodes=[],this.V=new Set}gt.list=vt,bt.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var t=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],t}return[]};var wt={},Et=Element.prototype.insertBefore,Nt=Element.prototype.removeChild,Ct=Element.prototype.setAttribute,St=Element.prototype.removeAttribute,Tt=Element.prototype.cloneNode,Ot=Document.prototype.importNode,xt=Element.prototype.addEventListener,Dt=Element.prototype.removeEventListener,At=Window.prototype.addEventListener,Mt=Window.prototype.removeEventListener,Lt=Element.prototype.dispatchEvent,jt=Element.prototype.querySelector,kt=Element.prototype.querySelectorAll,Rt=Node.prototype.contains||HTMLElement.prototype.contains;wt.appendChild=Element.prototype.appendChild,wt.insertBefore=Et,wt.removeChild=Nt,wt.setAttribute=Ct,wt.removeAttribute=St,wt.cloneNode=Tt,wt.importNode=Ot,wt.addEventListener=xt,wt.removeEventListener=Dt,wt.ab=At,wt.bb=Mt,wt.dispatchEvent=Lt,wt.querySelector=jt,wt.querySelectorAll=kt,wt.contains=Rt;var Pt=/[&\u00A0"]/g,Ft=/[&\u00A0<>]/g;function Ht(t){switch(t){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case'"':return"&quot;";case" ":return"&nbsp;"}}function It(t){for(var e={},n=0;n<t.length;n++)e[t[n]]=!0;return e}var qt=It("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),Wt=It("style script xmp iframe noembed noframes plaintext noscript".split(" "));function Vt(t,e){"template"===t.localName&&(t=t.content);for(var n,o="",r=e?e(t):t.childNodes,i=0,a=r.length;i<a&&(n=r[i]);i++){t:{var s=n,l=t,c=e;switch(s.nodeType){case Node.ELEMENT_NODE:for(var u=s.localName,d="<"+u,h=s.attributes,f=0;l=h[f];f++)d+=" "+l.name+'="'+l.value.replace(Pt,Ht)+'"';d+=">",s=qt[u]?d:d+Vt(s,c)+"</"+u+">";break t;case Node.TEXT_NODE:s=s.data,s=l&&Wt[l.localName]?s:s.replace(Ft,Ht);break t;case Node.COMMENT_NODE:s="\x3c!--"+s.data+"--\x3e";break t;default:throw window.console.error(s),Error("not implemented")}}o+=s}return o}var Bt={},Ut=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),Gt=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1);function $t(t){var e=[];for(Ut.currentNode=t,t=Ut.firstChild();t;)e.push(t),t=Ut.nextSibling();return e}Bt.parentNode=function(t){return Ut.currentNode=t,Ut.parentNode()},Bt.firstChild=function(t){return Ut.currentNode=t,Ut.firstChild()},Bt.lastChild=function(t){return Ut.currentNode=t,Ut.lastChild()},Bt.previousSibling=function(t){return Ut.currentNode=t,Ut.previousSibling()},Bt.nextSibling=function(t){return Ut.currentNode=t,Ut.nextSibling()},Bt.childNodes=$t,Bt.parentElement=function(t){return Gt.currentNode=t,Gt.parentNode()},Bt.firstElementChild=function(t){return Gt.currentNode=t,Gt.firstChild()},Bt.lastElementChild=function(t){return Gt.currentNode=t,Gt.lastChild()},Bt.previousElementSibling=function(t){return Gt.currentNode=t,Gt.previousSibling()},Bt.nextElementSibling=function(t){return Gt.currentNode=t,Gt.nextSibling()},Bt.children=function(t){var e=[];for(Gt.currentNode=t,t=Gt.firstChild();t;)e.push(t),t=Gt.nextSibling();return e},Bt.innerHTML=function(t){return Vt(t,function(t){return $t(t)})},Bt.textContent=function(t){switch(t.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:t=document.createTreeWalker(t,NodeFilter.SHOW_TEXT,null,!1);for(var e,n="";e=t.nextNode();)n+=e.nodeValue;return n;default:return t.nodeValue}};var Kt=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML")||Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML"),Xt=document.implementation.createHTMLDocument("inert"),Yt=Object.getOwnPropertyDescriptor(Document.prototype,"activeElement"),zt={parentElement:{get:function(){var t=this.__shady&&this.__shady.parentNode;return t&&t.nodeType!==Node.ELEMENT_NODE&&(t=null),void 0!==t?t:Bt.parentElement(this)},configurable:!0},parentNode:{get:function(){var t=this.__shady&&this.__shady.parentNode;return void 0!==t?t:Bt.parentNode(this)},configurable:!0},nextSibling:{get:function(){var t=this.__shady&&this.__shady.nextSibling;return void 0!==t?t:Bt.nextSibling(this)},configurable:!0},previousSibling:{get:function(){var t=this.__shady&&this.__shady.previousSibling;return void 0!==t?t:Bt.previousSibling(this)},configurable:!0},className:{get:function(){return this.getAttribute("class")||""},set:function(t){this.setAttribute("class",t)},configurable:!0},nextElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.nextSibling){for(var t=this.nextSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.nextSibling;return t}return Bt.nextElementSibling(this)},configurable:!0},previousElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.previousSibling){for(var t=this.previousSibling;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.previousSibling;return t}return Bt.previousElementSibling(this)},configurable:!0}},Jt={childNodes:{get:function(){if(ot(this)){if(!this.__shady.childNodes){this.__shady.childNodes=[];for(var t=this.firstChild;t;t=t.nextSibling)this.__shady.childNodes.push(t)}var e=this.__shady.childNodes}else e=Bt.childNodes(this);return e.item=function(t){return e[t]},e},configurable:!0},childElementCount:{get:function(){return this.children.length},configurable:!0},firstChild:{get:function(){var t=this.__shady&&this.__shady.firstChild;return void 0!==t?t:Bt.firstChild(this)},configurable:!0},lastChild:{get:function(){var t=this.__shady&&this.__shady.lastChild;return void 0!==t?t:Bt.lastChild(this)},configurable:!0},textContent:{get:function(){if(ot(this)){for(var t,e=[],n=0,o=this.childNodes;t=o[n];n++)t.nodeType!==Node.COMMENT_NODE&&e.push(t.textContent);return e.join("")}return Bt.textContent(this)},set:function(t){switch(void 0!==t&&null!==t||(t=""),this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(;this.firstChild;)this.removeChild(this.firstChild);(0<t.length||this.nodeType===Node.ELEMENT_NODE)&&this.appendChild(document.createTextNode(t));break;default:this.nodeValue=t}},configurable:!0},firstElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){for(var t=this.firstChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.nextSibling;return t}return Bt.firstElementChild(this)},configurable:!0},lastElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.lastChild){for(var t=this.lastChild;t&&t.nodeType!==Node.ELEMENT_NODE;)t=t.previousSibling;return t}return Bt.lastElementChild(this)},configurable:!0},children:{get:function(){var t=ot(this)?Array.prototype.filter.call(this.childNodes,function(t){return t.nodeType===Node.ELEMENT_NODE}):Bt.children(this);return t.item=function(e){return t[e]},t},configurable:!0},innerHTML:{get:function(){var t="template"===this.localName?this.content:this;return ot(this)?Vt(t):Bt.innerHTML(t)},set:function(t){for(var e="template"===this.localName?this.content:this;e.firstChild;)e.removeChild(e.firstChild);var n=this.localName;for(n&&"template"!==n||(n="div"),n=Xt.createElement(n),Kt&&Kt.set?Kt.set.call(n,t):n.innerHTML=t;n.firstChild;)e.appendChild(n.firstChild)},configurable:!0}},Zt={shadowRoot:{get:function(){return this.__shady&&this.__shady.Va||null},configurable:!0}},Qt={activeElement:{get:function(){var t=Yt&&Yt.get?Yt.get.call(document):et.M?void 0:document.activeElement;if(t&&t.nodeType){var e=!!rt(this);if(this===document||e&&this.host!==t&&wt.contains.call(this.host,t)){for(e=it(t);e&&e!==this;)e=it(t=e.host);t=this===document?e?null:t:e===this?t:null}else t=null}else t=null;return t},set:function(){},configurable:!0}};function te(t,e,n){for(var o in e){var r=Object.getOwnPropertyDescriptor(t,o);r&&r.configurable||!r&&n?Object.defineProperty(t,o,e[o]):n&&console.warn("Could not define",o,"on",t)}}function ee(t){te(t,zt),te(t,Jt),te(t,Qt)}var ne=et.M?function(){}:function(t){t.__shady&&t.__shady.za||(t.__shady=t.__shady||{},t.__shady.za=!0,te(t,zt,!0))},oe=et.M?function(){}:function(t){t.__shady&&t.__shady.xa||(t.__shady=t.__shady||{},t.__shady.xa=!0,te(t,Jt,!0),te(t,Zt,!0))};function re(t,e,n){ne(t),n=n||null,t.__shady=t.__shady||{},e.__shady=e.__shady||{},n&&(n.__shady=n.__shady||{}),t.__shady.previousSibling=n?n.__shady.previousSibling:e.lastChild;var o=t.__shady.previousSibling;o&&o.__shady&&(o.__shady.nextSibling=t),(o=t.__shady.nextSibling=n)&&o.__shady&&(o.__shady.previousSibling=t),t.__shady.parentNode=e,n?n===e.__shady.firstChild&&(e.__shady.firstChild=t):(e.__shady.lastChild=t,e.__shady.firstChild||(e.__shady.firstChild=t)),e.__shady.childNodes=null}function ie(t){if(!t.__shady||void 0===t.__shady.firstChild){t.__shady=t.__shady||{},t.__shady.firstChild=Bt.firstChild(t),t.__shady.lastChild=Bt.lastChild(t),oe(t);for(var e,n=t.__shady.childNodes=Bt.childNodes(t),o=0;o<n.length&&(e=n[o]);o++)e.__shady=e.__shady||{},e.__shady.parentNode=t,e.__shady.nextSibling=n[o+1]||null,e.__shady.previousSibling=n[o-1]||null,ne(e)}}function ae(t,e,n){if(e===t)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(n){var o=n.__shady&&n.__shady.parentNode;if(void 0!==o&&o!==t||void 0===o&&Bt.parentNode(n)!==t)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(n===e)return e;var r;if(e.parentNode&&se(e.parentNode,e),r=o=it(t))t:{var i;if(!e.__noInsertionPoint)if("slot"===e.localName?i=[e]:e.querySelectorAll&&(i=e.querySelectorAll("slot")),i&&i.length){r=i;break t}r=void 0}if((i=r)&&o.H.push.apply(o.H,[].concat(i instanceof Array?i:function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(function(t){a();var e=t[Symbol.iterator];return e?e.call(t):s(t)}(i)))),o&&("slot"===t.localName||i)&&Pe(o),ot(t)){if(o=n,oe(t),t.__shady=t.__shady||{},void 0!==t.__shady.firstChild&&(t.__shady.childNodes=null),e.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(i=e.childNodes,r=0;r<i.length;r++)re(i[r],t,o);e.__shady=e.__shady||{},o=void 0!==e.__shady.firstChild?null:void 0,e.__shady.firstChild=e.__shady.lastChild=o,e.__shady.childNodes=o}else re(e,t,o);if(le(t)){Pe(t.__shady.root);var l=!0}else t.__shady.root&&(l=!0)}return l||(l=rt(t)?t.host:t,n?(n=function t(e){var n=e;e&&"slot"===e.localName&&(n=(n=e.__shady&&e.__shady.K)&&n.length?n[0]:t(e.nextSibling));return n}(n),wt.insertBefore.call(l,e,n)):wt.appendChild.call(l,e)),ue(t,e),e}function se(t,e){if(e.parentNode!==t)throw Error("The node to be removed is not a child of this node: "+e);var n=it(e);if(ot(t)){e.__shady=e.__shady||{},t.__shady=t.__shady||{},e===t.__shady.firstChild&&(t.__shady.firstChild=e.__shady.nextSibling),e===t.__shady.lastChild&&(t.__shady.lastChild=e.__shady.previousSibling);var o=e.__shady.previousSibling,r=e.__shady.nextSibling;if(o&&(o.__shady=o.__shady||{},o.__shady.nextSibling=r),r&&(r.__shady=r.__shady||{},r.__shady.previousSibling=o),e.__shady.parentNode=e.__shady.previousSibling=e.__shady.nextSibling=void 0,void 0!==t.__shady.childNodes&&(t.__shady.childNodes=null),le(t)){Pe(t.__shady.root);var i=!0}}if(function t(e){if(e.__shady&&void 0!==e.__shady.ka)for(var n,o=e.childNodes,r=0,i=o.length;r<i&&(n=o[r]);r++)t(n);e.__shady&&(e.__shady.ka=void 0)}(e),n){for(var a in(o=t&&"slot"===t.localName)&&(i=!0),We(n),r=n.l)for(var s=r[a],l=0;l<s.length;l++){var c=s[l];if(mt(e,c)){s.splice(l,1);var u=n.o.indexOf(c);if(0<=u&&n.o.splice(u,1),l--,u=c.__shady.K)for(c=0;c<u.length;c++){var d=u[c],h=Bt.parentNode(d);h&&wt.removeChild.call(h,d)}u=!0}}(u||o)&&Pe(n)}return i||(i=rt(t)?t.host:t,(!t.__shady.root&&"slot"!==e.localName||i===Bt.parentNode(e))&&wt.removeChild.call(i,e)),ue(t,null,e),e}function le(t){return(t=t&&t.__shady&&t.__shady.root)&&Ge(t)}function ce(t,e){if("slot"===e)le(t=t.parentNode)&&Pe(t.__shady.root);else if("slot"===t.localName&&"name"===e&&(e=it(t))){var n=t.Aa,o=Ve(t);if(o!==n){var r=(n=e.l[n]).indexOf(t);0<=r&&n.splice(r,1),(n=e.l[o]||(e.l[o]=[])).push(t),1<n.length&&(e.l[o]=Be(n))}Pe(e)}}function ue(t,e,n){(t=t.__shady&&t.__shady.N)&&(e&&t.addedNodes.push(e),n&&t.removedNodes.push(n),function(t){t.a||(t.a=!0,ft(function(){!function(t){if(t.a){t.a=!1;var e=t.takeRecords();e.length&&t.V.forEach(function(t){t(e)})}}(t)}))}(t))}function de(t,e,n){var o=[];return function t(e,n,o,r){for(var i,a=0,s=e.length;a<s&&(i=e[a]);a++){var l;if(l=i.nodeType===Node.ELEMENT_NODE){var c=n,u=o,d=r,h=c(l=i);h&&d.push(l),u&&u(h)?l=h:(t(l.childNodes,c,u,d),l=void 0)}if(l)break}}(t.childNodes,e,n,o),o}var he=null;function fe(t,e,n){he||(he=window.ShadyCSS&&window.ShadyCSS.ScopingShim),he&&"class"===e?he.setElementClass(t,n):(wt.setAttribute.call(t,e,n),ce(t,e))}var pe="__eventWrappers"+Date.now(),me={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0};function ye(t,e){var n=[],o=t;for(t=t===window?window:t.getRootNode();o;)n.push(o),o=o.assignedSlot?o.assignedSlot:o.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&o.host&&(e||o!==t)?o.host:o.parentNode;return n[n.length-1]===document&&n.push(window),n}function ve(t,e){if(!rt)return t;t=ye(t,!0);for(var n,o,r,i,a=0;a<e.length;a++)if((r=(n=e[a])===window?window:n.getRootNode())!==o&&(i=t.indexOf(r),o=r),!rt(r)||-1<i)return n}var _e={get composed(){return!1!==this.isTrusted&&void 0===this.Z&&(this.Z=me[this.type]),this.Z||!1},composedPath:function(){return this.b||(this.b=ye(this.__target,this.composed)),this.b},get target(){return ve(this.currentTarget,this.composedPath())},get relatedTarget(){return this.$?(this.c||(this.c=ye(this.$,!0)),ve(this.currentTarget,this.c)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.a=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.a=this.h=!0}};function ge(t){function e(e,n){return(e=new t(e,n)).Z=n&&!!n.composed,e}return function(t,e){for(var n in e)t[n]=e[n]}(e,t),e.prototype=t.prototype,e}var be={focus:!0,blur:!0};function we(t){return t.__target!==t.target||t.$!==t.relatedTarget}function Ee(t,e,n){if(n=e.__handlers&&e.__handlers[t.type]&&e.__handlers[t.type][n])for(var o,r=0;(o=n[r])&&(!we(t)||t.target!==t.relatedTarget)&&(o.call(e,t),!t.h);r++);}function Ne(t){var e,n=t.composedPath();Object.defineProperty(t,"currentTarget",{get:function(){return r},configurable:!0});for(var o=n.length-1;0<=o;o--){var r=n[o];if(Ee(t,r,"capture"),t.a)return}for(Object.defineProperty(t,"eventPhase",{get:function(){return Event.AT_TARGET}}),o=0;o<n.length;o++){var i=(r=n[o]).__shady&&r.__shady.root;if((0===o||i&&i===e)&&(Ee(t,r,"bubble"),r!==window&&(e=r.getRootNode()),t.a))break}}function Ce(t,e,n,o,r,i){for(var a=0;a<t.length;a++){var s=t[a],l=s.type,c=s.capture,u=s.once,d=s.passive;if(e===s.node&&n===l&&o===c&&r===u&&i===d)return a}return-1}function Se(t,e,n){if(e){var o=typeof e;if(("function"===o||"object"===o)&&("object"!==o||e.handleEvent&&"function"==typeof e.handleEvent)){if(n&&"object"==typeof n)var r=!!n.capture,i=!!n.once,a=!!n.passive;else r=!!n,a=i=!1;var s=n&&n.aa||this,l=e[pe];if(l){if(-1<Ce(l,s,t,r,i,a))return}else e[pe]=[];l=function(r){if(i&&this.removeEventListener(t,e,n),r.__target||Oe(r),s!==this){var a=Object.getOwnPropertyDescriptor(r,"currentTarget");Object.defineProperty(r,"currentTarget",{get:function(){return s},configurable:!0})}if(r.composed||-1<r.composedPath().indexOf(s))if(we(r)&&r.target===r.relatedTarget)r.eventPhase===Event.BUBBLING_PHASE&&r.stopImmediatePropagation();else if(r.eventPhase===Event.CAPTURING_PHASE||r.bubbles||r.target===s||s instanceof Window){var l="function"===o?e.call(s,r):e.handleEvent&&e.handleEvent(r);return s!==this&&(a?(Object.defineProperty(r,"currentTarget",a),a=null):delete r.currentTarget),l}},e[pe].push({node:this,type:t,capture:r,once:i,passive:a,cb:l}),be[t]?(this.__handlers=this.__handlers||{},this.__handlers[t]=this.__handlers[t]||{capture:[],bubble:[]},this.__handlers[t][r?"capture":"bubble"].push(l)):(this instanceof Window?wt.ab:wt.addEventListener).call(this,t,l,n)}}}function Te(t,e,n){if(e){if(n&&"object"==typeof n)var o=!!n.capture,r=!!n.once,i=!!n.passive;else o=!!n,i=r=!1;var a=n&&n.aa||this,s=void 0,l=null;try{l=e[pe]}catch(t){}l&&(-1<(r=Ce(l,a,t,o,r,i))&&(s=l.splice(r,1)[0].cb,l.length||(e[pe]=void 0))),(this instanceof Window?wt.bb:wt.removeEventListener).call(this,t,s||e,n),s&&be[t]&&this.__handlers&&this.__handlers[t]&&(-1<(s=(t=this.__handlers[t][o?"capture":"bubble"]).indexOf(s))&&t.splice(s,1))}}function Oe(t){if(t.__target=t.target,t.$=t.relatedTarget,et.M){var e=Object.getPrototypeOf(t);if(!e.hasOwnProperty("__patchProto")){var n=Object.create(e);n.fb=e,lt(n,_e),e.__patchProto=n}t.__proto__=e.__patchProto}else lt(t,_e)}var xe=ge(window.Event),De=ge(window.CustomEvent),Ae=ge(window.MouseEvent);function Me(t,e){return{index:t,O:[],U:e}}function Le(t,e,n,o){var r=0,i=0,a=0,s=0,l=Math.min(e-r,o-i);if(0==r&&0==i)t:{for(a=0;a<l;a++)if(t[a]!==n[a])break t;a=l}if(e==t.length&&o==n.length){s=t.length;for(var c=n.length,u=0;u<l-a&&je(t[--s],n[--c]);)u++;s=u}if(i+=a,o-=s,0==(e-=s)-(r+=a)&&0==o-i)return[];if(r==e){for(e=Me(r,0);i<o;)e.O.push(n[i++]);return[e]}if(i==o)return[Me(r,e-r)];for(o=o-(a=i)+1,s=e-(l=r)+1,e=Array(o),c=0;c<o;c++)e[c]=Array(s),e[c][0]=c;for(c=0;c<s;c++)e[0][c]=c;for(c=1;c<o;c++)for(u=1;u<s;u++)if(t[l+u-1]===n[a+c-1])e[c][u]=e[c-1][u-1];else{var d=e[c-1][u]+1,h=e[c][u-1]+1;e[c][u]=d<h?d:h}for(l=e.length-1,a=e[0].length-1,o=e[l][a],t=[];0<l||0<a;)0==l?(t.push(2),a--):0==a?(t.push(3),l--):(s=e[l-1][a-1],(d=(c=e[l-1][a])<(u=e[l][a-1])?c<s?c:s:u<s?u:s)==s?(s==o?t.push(0):(t.push(1),o=s),l--,a--):d==c?(t.push(3),l--,o=c):(t.push(2),a--,o=u));for(t.reverse(),e=void 0,l=[],a=0;a<t.length;a++)switch(t[a]){case 0:e&&(l.push(e),e=void 0),r++,i++;break;case 1:e||(e=Me(r,0)),e.U++,r++,e.O.push(n[i]),i++;break;case 2:e||(e=Me(r,0)),e.U++,r++;break;case 3:e||(e=Me(r,0)),e.O.push(n[i]),i++}return e&&l.push(e),l}function je(t,e){return t===e}var ke={};function Re(t,e,n){if(t!==ke)throw new TypeError("Illegal constructor");(t=document.createDocumentFragment()).__proto__=Re.prototype,t.ya="ShadyRoot",ie(e),ie(t),t.host=e,t.Fa=n&&n.mode,e.__shady=e.__shady||{},e.__shady.root=t,e.__shady.Va="closed"!==t.Fa?t:null,t.T=!1,t.o=[],t.l={},t.H=[];for(var o=0,r=(n=Bt.childNodes(e)).length;o<r;o++)wt.removeChild.call(e,n[o]);return t}function Pe(t){t.T||(t.T=!0,_t(function(){return Fe(t)}))}function Fe(t){for(var e;t;){t.T&&(e=t);t:{var n=t;if(rt(t=n.host.getRootNode()))for(var o=n.host.childNodes,r=0;r<o.length;r++)if("slot"==(n=o[r]).localName)break t;t=void 0}}e&&e._renderRoot()}function He(t,e,n){e.__shady=e.__shady||{};var o=e.__shady.ga;e.__shady.ga=null,n||(n=(t=t.l[e.slot||"__catchall"])&&t[0]),n?(n.__shady.assignedNodes.push(e),e.__shady.assignedSlot=n):e.__shady.assignedSlot=void 0,o!==e.__shady.assignedSlot&&e.__shady.assignedSlot&&(e.__shady.assignedSlot.__shady.ia=!0)}function Ie(t,e,n){for(var o,r=0;r<n.length&&(o=n[r]);r++)if("slot"==o.localName){var i=o.__shady.assignedNodes;i&&i.length&&Ie(t,e,i)}else e.push(n[r])}function qe(t,e){wt.dispatchEvent.call(e,new Event("slotchange")),e.__shady.assignedSlot&&qe(t,e.__shady.assignedSlot)}function We(t){if(t.H.length){for(var e,n=t.H,o=0;o<n.length;o++){var r=n[o];r.__shady=r.__shady||{},ie(r),ie(r.parentNode);var i=Ve(r);t.l[i]?((e=e||{})[i]=!0,t.l[i].push(r)):t.l[i]=[r],t.o.push(r)}if(e)for(var a in e)t.l[a]=Be(t.l[a]);t.H=[]}}function Ve(t){var e=t.name||t.getAttribute("name")||"__catchall";return t.Aa=e}function Be(t){return t.sort(function(t,e){t=Ue(t);for(var n=Ue(e),o=0;o<t.length;o++){e=t[o];var r=n[o];if(e!==r)return(t=Array.from(e.parentNode.childNodes)).indexOf(e)-t.indexOf(r)}})}function Ue(t){var e=[];do{e.unshift(t)}while(t=t.parentNode);return e}function Ge(t){return We(t),!!t.o.length}Re.prototype=Object.create(DocumentFragment.prototype),Re.prototype._renderRoot=function(){this.T=!1,We(this);for(var t,e=0;e<this.o.length;e++){var n=(t=this.o[e]).__shady.assignedNodes;if(t.__shady.assignedNodes=[],t.__shady.K=[],t.__shady.oa=n)for(var o=0;o<n.length;o++){var r=n[o];r.__shady.ga=r.__shady.assignedSlot,r.__shady.assignedSlot===t&&(r.__shady.assignedSlot=null)}}for(t=this.host.firstChild;t;t=t.nextSibling)He(this,t);for(e=0;e<this.o.length;e++){if(!(t=this.o[e]).__shady.assignedNodes.length)for(n=t.firstChild;n;n=n.nextSibling)He(this,n,t);if((n=(n=t.parentNode).__shady&&n.__shady.root)&&Ge(n)&&n._renderRoot(),Ie(this,t.__shady.K,t.__shady.assignedNodes),n=t.__shady.oa){for(o=0;o<n.length;o++)n[o].__shady.ga=null;t.__shady.oa=null,n.length>t.__shady.assignedNodes.length&&(t.__shady.ia=!0)}t.__shady.ia&&(t.__shady.ia=!1,qe(this,t))}for(e=this.o,t=[],n=0;n<e.length;n++)(o=e[n].parentNode).__shady&&o.__shady.root||!(0>t.indexOf(o))||t.push(o);for(e=0;e<t.length;e++){o=(n=t[e])===this?this.host:n,r=[],n=n.childNodes;for(var i=0;i<n.length;i++){var a=n[i];if("slot"==a.localName){a=a.__shady.K;for(var s=0;s<a.length;s++)r.push(a[s])}else r.push(a)}n=void 0,i=Bt.childNodes(o),a=Le(r,r.length,i,i.length);for(var l=s=0;s<a.length&&(n=a[s]);s++){for(var c,u=0;u<n.O.length&&(c=n.O[u]);u++)Bt.parentNode(c)===o&&wt.removeChild.call(o,c),i.splice(n.index+l,1);l-=n.U}for(l=0;l<a.length&&(n=a[l]);l++)for(s=i[n.index],u=n.index;u<n.index+n.U;u++)c=r[u],wt.insertBefore.call(o,c,s),i.splice(u,0,c)}},Re.prototype.addEventListener=function(t,e,n){"object"!=typeof n&&(n={capture:!!n}),n.aa=this,this.host.addEventListener(t,e,n)},Re.prototype.removeEventListener=function(t,e,n){"object"!=typeof n&&(n={capture:!!n}),n.aa=this,this.host.removeEventListener(t,e,n)},Re.prototype.getElementById=function(t){return de(this,function(e){return e.id==t},function(t){return!!t})[0]||null};var $e=Re.prototype;function Ke(t){var e=t.getRootNode();return rt(e)&&Fe(e),t.__shady&&t.__shady.assignedSlot||null}te($e,Jt,!0),te($e,Qt,!0);var Xe={addEventListener:Se.bind(window),removeEventListener:Te.bind(window)},Ye={addEventListener:Se,removeEventListener:Te,appendChild:function(t){return ae(this,t)},insertBefore:function(t,e){return ae(this,t,e)},removeChild:function(t){return se(this,t)},replaceChild:function(t,e){return ae(this,t,e),se(this,e),t},cloneNode:function(t){if("template"==this.localName)var e=wt.cloneNode.call(this,t);else if(e=wt.cloneNode.call(this,!1),t){t=this.childNodes;for(var n,o=0;o<t.length;o++)n=t[o].cloneNode(!0),e.appendChild(n)}return e},getRootNode:function(){return function t(e){if(e&&e.nodeType){e.__shady=e.__shady||{};var n=e.__shady.ka;return void 0===n&&(n=rt(e)?e:(n=e.parentNode)?t(n):e,wt.contains.call(document.documentElement,e)&&(e.__shady.ka=n)),n}}(this)},contains:function(t){return mt(this,t)},get isConnected(){var t=this.ownerDocument;if(pt&&wt.contains.call(t,this)||t.documentElement&&wt.contains.call(t.documentElement,this))return!0;for(t=this;t&&!(t instanceof Document);)t=t.parentNode||(t instanceof Re?t.host:void 0);return!!(t&&t instanceof Document)},dispatchEvent:function(t){return gt(),wt.dispatchEvent.call(this,t)}},ze={get assignedSlot(){return Ke(this)}},Je={querySelector:function(t){return de(this,function(e){return st.call(e,t)},function(t){return!!t})[0]||null},querySelectorAll:function(t){return de(this,function(e){return st.call(e,t)})}},Ze={assignedNodes:function(t){if("slot"===this.localName){var e=this.getRootNode();return rt(e)&&Fe(e),this.__shady&&(t&&t.flatten?this.__shady.K:this.__shady.assignedNodes)||[]}}},Qe=ct({setAttribute:function(t,e){fe(this,t,e)},removeAttribute:function(t){wt.removeAttribute.call(this,t),ce(this,t)},attachShadow:function(t){if(!this)throw"Must provide a host.";if(!t)throw"Not enough arguments.";return new Re(ke,this,t)},get slot(){return this.getAttribute("slot")},set slot(t){fe(this,"slot",t)},get assignedSlot(){return Ke(this)}},Je,Ze);Object.defineProperties(Qe,Zt);var tn=ct({importNode:function(t,e){return function t(e,n){if(e.ownerDocument!==document)return wt.importNode.call(document,e,n);var o=wt.importNode.call(document,e,!1);if(n){e=e.childNodes,n=0;for(var r;n<e.length;n++)r=t(e[n],!0),o.appendChild(r)}return o}(t,e)},getElementById:function(t){return de(this,function(e){return e.id==t},function(t){return!!t})[0]||null}},Je);Object.defineProperties(tn,{_activeElement:Qt.activeElement});var en=HTMLElement.prototype.blur,nn=ct({blur:function(){var t=this.__shady&&this.__shady.root;(t=t&&t.activeElement)?t.blur():en.call(this)}});function on(t,e){for(var n=Object.getOwnPropertyNames(e),o=0;o<n.length;o++){var r=n[o],i=Object.getOwnPropertyDescriptor(e,r);i.value?t[r]=i.value:Object.defineProperty(t,r,i)}}if(et.sa){var rn={inUse:et.sa,patch:function(t){return t},isShadyRoot:rt,enqueue:_t,flush:gt,settings:et,filterMutations:function(t,e){var n=e.getRootNode();return t.map(function(t){var e=n===t.target.getRootNode();if(e&&t.addedNodes){if((e=Array.from(t.addedNodes).filter(function(t){return n===t.getRootNode()})).length)return t=Object.create(t),Object.defineProperty(t,"addedNodes",{value:e,configurable:!0}),t}else if(e)return t}).filter(function(t){return t})},observeChildren:function(t,e){t.__shady=t.__shady||{},t.__shady.N||(t.__shady.N=new bt),t.__shady.N.V.add(e);var n=t.__shady.N;return{Ca:e,C:n,Ga:t,takeRecords:function(){return n.takeRecords()}}},unobserveChildren:function(t){var e=t&&t.C;e&&(e.V.delete(t.Ca),e.V.size||(t.Ga.__shady.N=null))},nativeMethods:wt,nativeTree:Bt};window.ShadyDOM=rn,window.Event=xe,window.CustomEvent=De,window.MouseEvent=Ae,function(){for(var t in be)window.addEventListener(t,function(t){t.__target||(Oe(t),Ne(t))},!0)}();var an=window.customElements&&window.customElements.nativeHTMLElement||HTMLElement;on(window.Node.prototype,Ye),on(window.Window.prototype,Xe),on(window.Text.prototype,ze),on(window.DocumentFragment.prototype,Je),on(window.Element.prototype,Qe),on(window.Document.prototype,tn),window.HTMLSlotElement&&on(window.HTMLSlotElement.prototype,Ze),on(an.prototype,nn),et.M&&(ee(window.Node.prototype),ee(window.Text.prototype),ee(window.DocumentFragment.prototype),ee(window.Element.prototype),ee(an.prototype),ee(window.Document.prototype),window.HTMLSlotElement&&ee(window.HTMLSlotElement.prototype)),window.ShadowRoot=Re}var sn=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function ln(t){var e=sn.has(t);return t=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(t),!e&&t}function cn(t){var e=t.isConnected;if(void 0!==e)return e;for(;t&&!(t.__CE_isImportDocument||t instanceof Document);)t=t.parentNode||(window.ShadowRoot&&t instanceof ShadowRoot?t.host:void 0);return!(!t||!(t.__CE_isImportDocument||t instanceof Document))}function un(t,e){for(;e&&e!==t&&!e.nextSibling;)e=e.parentNode;return e&&e!==t?e.nextSibling:null}function dn(t,e,n){n=void 0===n?new Set:n;for(var o=t;o;){if(o.nodeType===Node.ELEMENT_NODE){var r=o;e(r);var i=r.localName;if("link"===i&&"import"===r.getAttribute("rel")){if((o=r.import)instanceof Node&&!n.has(o))for(n.add(o),o=o.firstChild;o;o=o.nextSibling)dn(o,e,n);o=un(t,r);continue}if("template"===i){o=un(t,r);continue}if(r=r.__CE_shadowRoot)for(r=r.firstChild;r;r=r.nextSibling)dn(r,e,n)}o=o.firstChild?o.firstChild:un(t,o)}}function hn(t,e,n){t[e]=n}function fn(){this.a=new Map,this.s=new Map,this.h=[],this.c=!1}function pn(t,e){t.c=!0,t.h.push(e)}function mn(t,e){t.c&&dn(e,function(e){return t.b(e)})}function yn(t,e){var n=[];for(dn(e,function(t){return n.push(t)}),e=0;e<n.length;e++){var o=n[e];1===o.__CE_state?t.connectedCallback(o):gn(t,o)}}function vn(t,e){var n=[];for(dn(e,function(t){return n.push(t)}),e=0;e<n.length;e++){var o=n[e];1===o.__CE_state&&t.disconnectedCallback(o)}}function _n(t,e,n){var o=(n=void 0===n?{}:n).$a||new Set,r=n.va||function(e){return gn(t,e)},i=[];if(dn(e,function(e){if("link"===e.localName&&"import"===e.getAttribute("rel")){var n=e.import;n instanceof Node&&(n.__CE_isImportDocument=!0,n.__CE_hasRegistry=!0),n&&"complete"===n.readyState?n.__CE_documentLoadHandled=!0:e.addEventListener("load",function(){var n=e.import;if(!n.__CE_documentLoadHandled){n.__CE_documentLoadHandled=!0;var i=new Set(o);i.delete(n),_n(t,n,{$a:i,va:r})}})}else i.push(e)},o),t.c)for(e=0;e<i.length;e++)t.b(i[e]);for(e=0;e<i.length;e++)r(i[e])}function gn(t,e){if(void 0===e.__CE_state){var n=e.ownerDocument;if((n.defaultView||n.__CE_isImportDocument&&n.__CE_hasRegistry)&&(n=t.a.get(e.localName))){n.constructionStack.push(e);var o=n.constructor;try{try{if(new o!==e)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{n.constructionStack.pop()}}catch(t){throw e.__CE_state=2,t}if(e.__CE_state=1,e.__CE_definition=n,n.attributeChangedCallback)for(n=n.observedAttributes,o=0;o<n.length;o++){var r=n[o],i=e.getAttribute(r);null!==i&&t.attributeChangedCallback(e,r,null,i,null)}cn(e)&&t.connectedCallback(e)}}}function bn(t){var e=document;this.j=t,this.a=e,this.C=void 0,_n(this.j,this.a),"loading"===this.a.readyState&&(this.C=new MutationObserver(this.b.bind(this)),this.C.observe(this.a,{childList:!0,subtree:!0}))}function wn(){var t=this;this.b=this.a=void 0,this.c=new Promise(function(e){t.b=e,t.a&&e(t.a)})}function En(t){this.da=!1,this.j=t,this.ha=new Map,this.ea=function(t){return t()},this.R=!1,this.fa=[],this.Da=new bn(t)}fn.prototype.b=function(t){if(this.c&&!t.__CE_patched){t.__CE_patched=!0;for(var e=0;e<this.h.length;e++)this.h[e](t)}},fn.prototype.connectedCallback=function(t){var e=t.__CE_definition;e.connectedCallback&&e.connectedCallback.call(t)},fn.prototype.disconnectedCallback=function(t){var e=t.__CE_definition;e.disconnectedCallback&&e.disconnectedCallback.call(t)},fn.prototype.attributeChangedCallback=function(t,e,n,o,r){var i=t.__CE_definition;i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(e)&&i.attributeChangedCallback.call(t,e,n,o,r)},bn.prototype.disconnect=function(){this.C&&this.C.disconnect()},bn.prototype.b=function(t){var e=this.a.readyState;for("interactive"!==e&&"complete"!==e||this.disconnect(),e=0;e<t.length;e++)for(var n=t[e].addedNodes,o=0;o<n.length;o++)_n(this.j,n[o])},wn.prototype.resolve=function(t){if(this.a)throw Error("Already resolved.");this.a=t,this.b&&this.b(t)},En.prototype.define=function(t,e){var n=this;if(!(e instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!ln(t))throw new SyntaxError("The element name '"+t+"' is not valid.");if(this.j.a.get(t))throw Error("A custom element with name '"+t+"' has already been defined.");if(this.da)throw Error("A custom element is already being defined.");this.da=!0;try{var o=function(t){var e=r[t];if(void 0!==e&&!(e instanceof Function))throw Error("The '"+t+"' callback must be a function.");return e},r=e.prototype;if(!(r instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var i=o("connectedCallback"),a=o("disconnectedCallback"),s=o("adoptedCallback"),l=o("attributeChangedCallback"),c=e.observedAttributes||[]}catch(t){return}finally{this.da=!1}e={localName:t,constructor:e,connectedCallback:i,disconnectedCallback:a,adoptedCallback:s,attributeChangedCallback:l,observedAttributes:c,constructionStack:[]},function(t,e,n){t.a.set(e,n),t.s.set(n.constructor,n)}(this.j,t,e),this.fa.push(e),this.R||(this.R=!0,this.ea(function(){return function(t){if(!1!==t.R){t.R=!1;for(var e=t.fa,n=[],o=new Map,r=0;r<e.length;r++)o.set(e[r].localName,[]);for(_n(t.j,document,{va:function(e){if(void 0===e.__CE_state){var r=e.localName,i=o.get(r);i?i.push(e):t.j.a.get(r)&&n.push(e)}}}),r=0;r<n.length;r++)gn(t.j,n[r]);for(;0<e.length;){var i=e.shift();r=i.localName,i=o.get(i.localName);for(var a=0;a<i.length;a++)gn(t.j,i[a]);(r=t.ha.get(r))&&r.resolve(void 0)}}}(n)}))},En.prototype.get=function(t){if(t=this.j.a.get(t))return t.constructor},En.prototype.a=function(t){if(!ln(t))return Promise.reject(new SyntaxError("'"+t+"' is not a valid custom element name."));var e=this.ha.get(t);return e?e.c:(e=new wn,this.ha.set(t,e),this.j.a.get(t)&&!this.fa.some(function(e){return e.localName===t})&&e.resolve(void 0),e.c)},En.prototype.b=function(t){this.Da.disconnect();var e=this.ea;this.ea=function(n){return t(function(){return e(n)})}},window.CustomElementRegistry=En,En.prototype.define=En.prototype.define,En.prototype.get=En.prototype.get,En.prototype.whenDefined=En.prototype.a,En.prototype.polyfillWrapFlushCallback=En.prototype.b;var Nn=window.Document.prototype.createElement,Cn=window.Document.prototype.createElementNS,Sn=window.Document.prototype.importNode,Tn=window.Document.prototype.prepend,On=window.Document.prototype.append,xn=window.DocumentFragment.prototype.prepend,Dn=window.DocumentFragment.prototype.append,An=window.Node.prototype.cloneNode,Mn=window.Node.prototype.appendChild,Ln=window.Node.prototype.insertBefore,jn=window.Node.prototype.removeChild,kn=window.Node.prototype.replaceChild,Rn=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),Pn=window.Element.prototype.attachShadow,Fn=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),Hn=window.Element.prototype.getAttribute,In=window.Element.prototype.setAttribute,qn=window.Element.prototype.removeAttribute,Wn=window.Element.prototype.getAttributeNS,Vn=window.Element.prototype.setAttributeNS,Bn=window.Element.prototype.removeAttributeNS,Un=window.Element.prototype.insertAdjacentElement,Gn=window.Element.prototype.prepend,$n=window.Element.prototype.append,Kn=window.Element.prototype.before,Xn=window.Element.prototype.after,Yn=window.Element.prototype.replaceWith,zn=window.Element.prototype.remove,Jn=window.HTMLElement,Zn=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),Qn=window.HTMLElement.prototype.insertAdjacentElement,to=new function(){};function eo(t,e,n){function o(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r-0]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&cn(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(e.apply(this,o),o=0;o<i.length;o++)vn(t,i[o]);if(cn(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&yn(t,i)}}void 0!==n.X&&(e.prepend=o(n.X)),void 0!==n.append&&(e.append=o(n.append))}var no=window.customElements;if(!no||no.forcePolyfill||"function"!=typeof no.define||"function"!=typeof no.get){var oo=new fn;!function(){var t=oo;window.HTMLElement=function(){function e(){var e=this.constructor,n=t.s.get(e);if(!n)throw Error("The custom element being constructed was not registered with `customElements`.");var o=n.constructionStack;if(0===o.length)return o=Nn.call(document,n.localName),Object.setPrototypeOf(o,e.prototype),o.__CE_state=1,o.__CE_definition=n,t.b(o),o;var r=o[n=o.length-1];if(r===to)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");return o[n]=to,Object.setPrototypeOf(r,e.prototype),t.b(r),r}return e.prototype=Jn.prototype,e}()}(),function(){var t=oo;hn(Document.prototype,"createElement",function(e){if(this.__CE_hasRegistry){var n=t.a.get(e);if(n)return new n.constructor}return e=Nn.call(this,e),t.b(e),e}),hn(Document.prototype,"importNode",function(e,n){return e=Sn.call(this,e,n),this.__CE_hasRegistry?_n(t,e):mn(t,e),e}),hn(Document.prototype,"createElementNS",function(e,n){if(this.__CE_hasRegistry&&(null===e||"http://www.w3.org/1999/xhtml"===e)){var o=t.a.get(n);if(o)return new o.constructor}return e=Cn.call(this,e,n),t.b(e),e}),eo(t,Document.prototype,{X:Tn,append:On})}(),eo(oo,DocumentFragment.prototype,{X:xn,append:Dn}),function(){var t=oo;function e(e,n){Object.defineProperty(e,"textContent",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){if(this.nodeType===Node.TEXT_NODE)n.set.call(this,e);else{var o=void 0;if(this.firstChild){var r=this.childNodes,i=r.length;if(0<i&&cn(this)){o=Array(i);for(var a=0;a<i;a++)o[a]=r[a]}}if(n.set.call(this,e),o)for(e=0;e<o.length;e++)vn(t,o[e])}}})}hn(Node.prototype,"insertBefore",function(e,n){if(e instanceof DocumentFragment){var o=Array.prototype.slice.apply(e.childNodes);if(e=Ln.call(this,e,n),cn(this))for(n=0;n<o.length;n++)yn(t,o[n]);return e}return o=cn(e),n=Ln.call(this,e,n),o&&vn(t,e),cn(this)&&yn(t,e),n}),hn(Node.prototype,"appendChild",function(e){if(e instanceof DocumentFragment){var n=Array.prototype.slice.apply(e.childNodes);if(e=Mn.call(this,e),cn(this))for(var o=0;o<n.length;o++)yn(t,n[o]);return e}return n=cn(e),o=Mn.call(this,e),n&&vn(t,e),cn(this)&&yn(t,e),o}),hn(Node.prototype,"cloneNode",function(e){return e=An.call(this,e),this.ownerDocument.__CE_hasRegistry?_n(t,e):mn(t,e),e}),hn(Node.prototype,"removeChild",function(e){var n=cn(e),o=jn.call(this,e);return n&&vn(t,e),o}),hn(Node.prototype,"replaceChild",function(e,n){if(e instanceof DocumentFragment){var o=Array.prototype.slice.apply(e.childNodes);if(e=kn.call(this,e,n),cn(this))for(vn(t,n),n=0;n<o.length;n++)yn(t,o[n]);return e}o=cn(e);var r=kn.call(this,e,n),i=cn(this);return i&&vn(t,n),o&&vn(t,e),i&&yn(t,e),r}),Rn&&Rn.get?e(Node.prototype,Rn):pn(t,function(t){e(t,{enumerable:!0,configurable:!0,get:function(){for(var t=[],e=0;e<this.childNodes.length;e++)t.push(this.childNodes[e].textContent);return t.join("")},set:function(t){for(;this.firstChild;)jn.call(this,this.firstChild);Mn.call(this,document.createTextNode(t))}})})}(),function(){var t=oo;function e(e,n){Object.defineProperty(e,"innerHTML",{enumerable:n.enumerable,configurable:!0,get:n.get,set:function(e){var o=this,r=void 0;if(cn(this)&&(r=[],dn(this,function(t){t!==o&&r.push(t)})),n.set.call(this,e),r)for(var i=0;i<r.length;i++){var a=r[i];1===a.__CE_state&&t.disconnectedCallback(a)}return this.ownerDocument.__CE_hasRegistry?_n(t,this):mn(t,this),e}})}function n(e,n){hn(e,"insertAdjacentElement",function(e,o){var r=cn(o);return e=n.call(this,e,o),r&&vn(t,o),cn(e)&&yn(t,o),e})}Pn&&hn(Element.prototype,"attachShadow",function(t){return this.__CE_shadowRoot=Pn.call(this,t)}),Fn&&Fn.get?e(Element.prototype,Fn):Zn&&Zn.get?e(HTMLElement.prototype,Zn):pn(t,function(t){e(t,{enumerable:!0,configurable:!0,get:function(){return An.call(this,!0).innerHTML},set:function(t){var e="template"===this.localName,n=e?this.content:this,o=Nn.call(document,this.localName);for(o.innerHTML=t;0<n.childNodes.length;)jn.call(n,n.childNodes[0]);for(t=e?o.content:o;0<t.childNodes.length;)Mn.call(n,t.childNodes[0])}})}),hn(Element.prototype,"setAttribute",function(e,n){if(1!==this.__CE_state)return In.call(this,e,n);var o=Hn.call(this,e);In.call(this,e,n),n=Hn.call(this,e),t.attributeChangedCallback(this,e,o,n,null)}),hn(Element.prototype,"setAttributeNS",function(e,n,o){if(1!==this.__CE_state)return Vn.call(this,e,n,o);var r=Wn.call(this,e,n);Vn.call(this,e,n,o),o=Wn.call(this,e,n),t.attributeChangedCallback(this,n,r,o,e)}),hn(Element.prototype,"removeAttribute",function(e){if(1!==this.__CE_state)return qn.call(this,e);var n=Hn.call(this,e);qn.call(this,e),null!==n&&t.attributeChangedCallback(this,e,n,null,null)}),hn(Element.prototype,"removeAttributeNS",function(e,n){if(1!==this.__CE_state)return Bn.call(this,e,n);var o=Wn.call(this,e,n);Bn.call(this,e,n);var r=Wn.call(this,e,n);o!==r&&t.attributeChangedCallback(this,n,o,r,e)}),Qn?n(HTMLElement.prototype,Qn):Un?n(Element.prototype,Un):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched."),eo(t,Element.prototype,{X:Gn,append:$n}),function(t){var e=Element.prototype;function n(e){return function(n){for(var o=[],r=0;r<arguments.length;++r)o[r-0]=arguments[r];r=[];for(var i=[],a=0;a<o.length;a++){var s=o[a];if(s instanceof Element&&cn(s)&&i.push(s),s instanceof DocumentFragment)for(s=s.firstChild;s;s=s.nextSibling)r.push(s);else r.push(s)}for(e.apply(this,o),o=0;o<i.length;o++)vn(t,i[o]);if(cn(this))for(o=0;o<r.length;o++)(i=r[o])instanceof Element&&yn(t,i)}}void 0!==Kn&&(e.before=n(Kn)),void 0!==Kn&&(e.after=n(Xn)),void 0!==Yn&&hn(e,"replaceWith",function(e){for(var n=[],o=0;o<arguments.length;++o)n[o-0]=arguments[o];o=[];for(var r=[],i=0;i<n.length;i++){var a=n[i];if(a instanceof Element&&cn(a)&&r.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)o.push(a);else o.push(a)}for(i=cn(this),Yn.apply(this,n),n=0;n<r.length;n++)vn(t,r[n]);if(i)for(vn(t,this),n=0;n<o.length;n++)(r=o[n])instanceof Element&&yn(t,r)}),void 0!==zn&&hn(e,"remove",function(){var e=cn(this);zn.call(this),e&&vn(t,this)})}(t)}(),document.__CE_hasRegistry=!0;var ro=new En(oo);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:ro})}function io(){this.end=this.start=0,this.rules=this.parent=this.previous=null,this.cssText=this.parsedCssText="",this.atRule=!1,this.type=0,this.parsedSelector=this.selector=this.keyframesName=""}function ao(t){var e=so,n=t=t.replace(po,"").replace(mo,""),o=new io;o.start=0,o.end=n.length;for(var r=o,i=0,a=n.length;i<a;i++)if("{"===n[i]){r.rules||(r.rules=[]);var s=r,l=s.rules[s.rules.length-1]||null;(r=new io).start=i+1,r.parent=s,r.previous=l,s.rules.push(r)}else"}"===n[i]&&(r.end=i+1,r=r.parent||o);return e(o,t)}function so(t,e){var n=e.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=n.trim(),t.parent&&(n=(n=(n=function(t){return t.replace(/\\([0-9a-f]{1,6})\s/gi,function(t,e){for(e=6-(t=e).length;e--;)t="0"+t;return"\\"+t})}(n=e.substring(t.previous?t.previous.end:t.parent.start,t.start-1))).replace(wo," ")).substring(n.lastIndexOf(";")+1),n=t.parsedSelector=t.selector=n.trim(),t.atRule=0===n.indexOf("@"),t.atRule?0===n.indexOf("@media")?t.type=ho:n.match(bo)&&(t.type=uo,t.keyframesName=t.selector.split(wo).pop()):t.type=0===n.indexOf("--")?fo:co),n=t.rules)for(var o,r=0,i=n.length;r<i&&(o=n[r]);r++)so(o,e);return t}var lo,co=1,uo=7,ho=4,fo=1e3,po=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,mo=/@import[^;]*;/gim,yo=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,vo=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,_o=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,go=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,bo=/^@[^\s]*keyframes/,wo=/\s+/g,Eo=!(window.ShadyDOM&&window.ShadyDOM.inUse);function No(t){lo=(!t||!t.shimcssproperties)&&(Eo||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?lo=window.ShadyCSS.nativeCss:window.ShadyCSS?(No(window.ShadyCSS),window.ShadyCSS=void 0):No(window.WebComponents&&window.WebComponents.flags);var Co=lo,So=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,To=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,Oo=/(--[\w-]+)\s*([:,;)]|$)/gi,xo=/(animation\s*:)|(animation-name\s*:)/,Do=/@media\s(.*)/,Ao=/\{[^}]*\}/g,Mo=new Set;function Lo(t,e){return t?("string"==typeof t&&(t=ao(t)),e&&Ro(t,e),function t(e,n,o){o=void 0===o?"":o;var r="";if(e.cssText||e.rules){var i,a=e.rules;if((i=a)&&(i=!((i=a[0])&&i.selector&&0===i.selector.indexOf("--"))),i){i=0;for(var s,l=a.length;i<l&&(s=a[i]);i++)r=t(s,n,r)}else n=n?e.cssText:(n=(n=e.cssText).replace(yo,"").replace(vo,"")).replace(_o,"").replace(go,""),(r=n.trim())&&(r=" "+r+"\n")}return r&&(e.selector&&(o+=e.selector+" {\n"),o+=r,e.selector&&(o+="}\n\n")),o}(t,Co)):""}function jo(t){return!t.__cssRules&&t.textContent&&(t.__cssRules=ao(t.textContent)),t.__cssRules||null}function ko(t){return!!t.parent&&t.parent.type===uo}function Ro(t,e,n,o){if(t){var r=!1,i=t.type;if(o&&i===ho){var a=t.selector.match(Do);a&&(window.matchMedia(a[1]).matches||(r=!0))}if(i===co?e(t):n&&i===uo?n(t):i===fo&&(r=!0),(t=t.rules)&&!r){r=0,i=t.length;for(var s;r<i&&(s=t[r]);r++)Ro(s,e,n,o)}}}function Po(t,e,n,o){var r=document.createElement("style");return e&&r.setAttribute("scope",e),r.textContent=t,Ho(r,n,o),r}var Fo=null;function Ho(t,e,n){(e=e||document.head).insertBefore(t,n&&n.nextSibling||e.firstChild),Fo?t.compareDocumentPosition(Fo)===Node.DOCUMENT_POSITION_PRECEDING&&(Fo=t):Fo=t}function Io(t,e){Eo?t.setAttribute("class",e):window.ShadyDOM.nativeMethods.setAttribute.call(t,"class",e)}function qo(t){var e=t.localName,n="";return e?-1<e.indexOf("-")||(n=e,e=t.getAttribute&&t.getAttribute("is")||""):(e=t.is,n=t.extends),{is:e,P:n}}function Wo(){}function Vo(t,e,n){var o=hr;t.__styleScoped?t.__styleScoped=null:function t(e,n,o,r){n.nodeType===Node.ELEMENT_NODE&&Bo(n,o,r);if(n="template"===n.localName?(n.content||n.gb).childNodes:n.children||n.childNodes)for(var i=0;i<n.length;i++)t(e,n[i],o,r)}(o,t,e||"",n)}function Bo(t,e,n){if(e)if(t.classList)n?(t.classList.remove("style-scope"),t.classList.remove(e)):(t.classList.add("style-scope"),t.classList.add(e));else if(t.getAttribute){var o=t.getAttribute(ur);n?o&&Io(t,e=o.replace("style-scope","").replace(e,"")):Io(t,(o?o+" ":"")+"style-scope "+e)}}function Uo(t,e,n){var o=hr,r=t.__cssBuild;return Eo||"shady"===r?e=Lo(e,n):e=function(t,e,n,o,r){var i=Go(n,o);return n=n?lr+n:"",Lo(e,function(e){e.c||(e.selector=e.m=$o(t,e,t.b,n,i),e.c=!0),r&&r(e,n,i)})}(o,e,(t=qo(t)).is,t.P,n)+"\n\n",e.trim()}function Go(t,e){return e?"[is="+t+"]":t}function $o(t,e,n,o,r){var i=e.selector.split(Zo);if(!ko(e)){e=0;for(var a,s=i.length;e<s&&(a=i[e]);e++)i[e]=n.call(t,a,o,r)}return i.join(Zo)}function Ko(t){return t.replace(zo,function(t,e,n){return-1<n.indexOf("+")?n=n.replace(/\+/g,"___"):-1<n.indexOf("___")&&(n=n.replace(/___/g,"+")),":"+e+"("+n+")"})}function Xo(t,e){return(t=t.split(cr))[0]+=e,t.join(cr)}function Yo(t){t.selector===nr&&(t.selector="html")}Wo.prototype.b=function(t,e,n){var o=!1;t=t.trim();var r=zo.test(t);return r&&(t=Ko(t=t.replace(zo,function(t,e,n){return":"+e+"("+n.replace(/\s/g,"")+")"}))),t=(t=t.replace(rr,er+" $1")).replace(Qo,function(t,r,i){return o||(t=function(t,e,n,o){var r=t.indexOf(or);if(0<=t.indexOf(er)?t=function(t,e){var n=t.match(ir);return(n=n&&n[2].trim()||"")?n[0].match(tr)?t.replace(ir,function(t,n,o){return e+o}):n.split(tr)[0]===e?n:dr:t.replace(er,e)}(t,o):0!==r&&(t=n?Xo(t,n):t),n=!1,0<=r&&(e="",n=!0),n){var i=!0;n&&(t=t.replace(ar,function(t,e){return" > "+e}))}return{value:t=t.replace(sr,function(t,e,n){return'[dir="'+n+'"] '+e+", "+e+'[dir="'+n+'"]'}),Ka:e,stop:i}}(i,r,e,n),o=o||t.stop,r=t.Ka,i=t.value),r+i}),r&&(t=Ko(t)),t},Wo.prototype.c=function(t){return t.match(or)?this.b(t,Jo):Xo(t.trim(),Jo)},e.Object.defineProperties(Wo.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var zo=/:(nth[-\w]+)\(([^)]+)\)/,Jo=":not(.style-scope)",Zo=",",Qo=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,tr=/[[.:#*]/,er=":host",nr=":root",or="::slotted",rr=new RegExp("^("+or+")"),ir=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,ar=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,sr=/(.*):dir\((?:(ltr|rtl))\)/,lr=".",cr=":",ur="class",dr="should_not_match",hr=new Wo;function fr(t,e,n,o){this.w=t||null,this.b=e||null,this.ja=n||[],this.G=null,this.P=o||"",this.a=this.u=this.B=null}function pr(t){return t?t.__styleInfo:null}function mr(t,e){return t.__styleInfo=e}fr.prototype.c=function(){return this.w},fr.prototype._getStyleRules=fr.prototype.c;var yr,vr=window.Element.prototype;yr=vr.matches||vr.matchesSelector||vr.mozMatchesSelector||vr.msMatchesSelector||vr.oMatchesSelector||vr.webkitMatchesSelector;var _r=navigator.userAgent.match("Trident");function gr(){}function br(t){if(!t.i){var e={},n={};wr(t,n)&&(e.v=n,t.rules=null),e.cssText=t.parsedCssText.replace(Ao,"").replace(So,""),t.i=e}}function wr(t,e){var n=t.i;if(!n){n=t.parsedCssText;for(var o;t=So.exec(n);)"inherit"===(o=(t[2]||t[3]).trim())&&"unset"===o||(e[t[1].trim()]=o),o=!0;return o}if(n.v)return Object.assign(e,n.v),!0}function Er(t,e,n){return e&&(e=0<=e.indexOf(";")?Nr(t,e,n):function t(e,n){var o=e.indexOf("var(");if(-1===o)return n(e,"","","");t:{for(var r=0,i=o+3,a=e.length;i<a;i++)if("("===e[i])r++;else if(")"===e[i]&&0==--r)break t;i=-1}return r=e.substring(o+4,i),o=e.substring(0,o),e=t(e.substring(i+1),n),-1===(i=r.indexOf(","))?n(o,r.trim(),"",e):n(o,r.substring(0,i).trim(),r.substring(i+1).trim(),e)}(e,function(e,o,r,i){return o?((o=Er(t,n[o],n))&&"initial"!==o?"apply-shim-inherit"===o&&(o="inherit"):o=Er(t,n[r]||r,n)||r,e+(o||"")+i):e+i})),e&&e.trim()||""}function Nr(t,e,n){e=e.split(";");for(var o,r,i=0;i<e.length;i++)if(o=e[i]){if(To.lastIndex=0,r=To.exec(o))o=Er(t,n[r[1]],n);else if(-1!==(r=o.indexOf(":"))){var a=o.substring(r);a=Er(t,a=a.trim(),n)||a,o=o.substring(0,r)+a}e[i]=o&&o.lastIndexOf(";")===o.length-1?o.slice(0,-1):o||""}return e.join(";")}function Cr(t,e){var n={},o={},r=e&&e.__cssBuild;return Ro(e,function(e){!function(t,e,n,o){if(e.i||br(e),e.i.v){var r=qo(t);t=r.is,r=r.P,r=t?Go(t,r):"html";var i=e.parsedSelector,a=":host > *"===i||"html"===i,s=0===i.indexOf(":host")&&!a;"shady"===n&&(s=!(a=i===r+" > *."+r||-1!==i.indexOf("html"))&&0===i.indexOf(r)),"shadow"===n&&(a=":host > *"===i||"html"===i,s=s&&!a),(a||s)&&(n=r,s&&(Eo&&!e.m&&(e.m=$o(hr,e,hr.b,t?lr+t:"",r)),n=e.m||r),o({Xa:n,Qa:s,hb:a}))}}(t,e,r,function(r){yr.call(t.b||t,r.Xa)&&(r.Qa?wr(e,n):wr(e,o))})},null,!0),{Wa:o,Oa:n}}function Sr(t,e,n,o){var r=qo(e),i=Go(r.is,r.P),a=new RegExp("(?:^|[^.#[:])"+(e.extends?"\\"+i.slice(0,-1)+"\\]":i)+"($|[.:[\\s>+~])"),s=function(t,e){t=t.b;var n={};if(!Eo&&t)for(var o=0,r=t[o];o<t.length;r=t[++o]){var i=r,a=e;i.h=new RegExp("\\b"+i.keyframesName+"(?!\\B|-)","g"),i.a=i.keyframesName+"-"+a,i.m=i.m||i.selector,i.selector=i.m.replace(i.keyframesName,i.a),n[r.keyframesName]=Tr(r)}return n}(r=pr(e).w,o);return Uo(e,r,function(e){var r="";if(e.i||br(e),e.i.cssText&&(r=Nr(t,e.i.cssText,n)),e.cssText=r,!Eo&&!ko(e)&&e.cssText){var l=r=e.cssText;if(null==e.ra&&(e.ra=xo.test(r)),e.ra)if(null==e.W)for(var c in e.W=[],s)r!==(l=(l=s[c])(r))&&(r=l,e.W.push(c));else{for(c=0;c<e.W.length;++c)r=(l=s[e.W[c]])(r);l=r}e.cssText=l,e.m=e.m||e.selector,r="."+o,l=0;for(var u,d=(c=e.m.split(",")).length;l<d&&(u=c[l]);l++)c[l]=u.match(a)?u.replace(i,r):r+" "+u;e.selector=c.join(",")}})}function Tr(t){return function(e){return e.replace(t.h,t.a)}}function Or(t,e){var n=xr,o=jo(t);t.textContent=Lo(o,function(t){var o=t.cssText=t.parsedCssText;t.i&&t.i.cssText&&(o=o.replace(yo,"").replace(vo,""),t.cssText=Nr(n,o,e))})}e.Object.defineProperties(gr.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var xr=new gr,Dr={},Ar=window.customElements;if(Ar&&!Eo){var Mr=Ar.define;Ar.define=function(t,e,n){var o=document.createComment(" Shady DOM styles for "+t+" "),r=document.head;return r.insertBefore(o,(Fo?Fo.nextSibling:null)||r.firstChild),Fo=o,Dr[t]=o,Mr.call(Ar,t,e,n)}}function Lr(){this.cache={}}function jr(){}function kr(t){for(var e=0;e<t.length;e++){var n=t[e];if(n.target!==document.documentElement&&n.target!==document.head)for(var o=0;o<n.addedNodes.length;o++){var r=n.addedNodes[o];if(r.nodeType===Node.ELEMENT_NODE){var i=r.getRootNode(),a=r,s=[];if(a.classList?s=Array.from(a.classList):a instanceof window.SVGElement&&a.hasAttribute("class")&&(s=a.getAttribute("class").split(/\s+/)),(a=-1<(s=(a=s).indexOf(hr.a))?a[s+1]:"")&&i===r.ownerDocument)Vo(r,a,!0);else if(i.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&(i=i.host))if(a===(i=qo(i).is))for(r=window.ShadyDOM.nativeMethods.querySelectorAll.call(r,":not(."+hr.a+")"),i=0;i<r.length;i++)Bo(r[i],a);else a&&Vo(r,a,!0),Vo(r,i)}}}}if(Lr.prototype.store=function(t,e,n,o){var r=this.cache[t]||[];r.push({v:e,styleElement:n,u:o}),100<r.length&&r.shift(),this.cache[t]=r},Lr.prototype.fetch=function(t,e,n){if(t=this.cache[t])for(var o=t.length-1;0<=o;o--){var r,i=t[o];t:{for(r=0;r<n.length;r++){var a=n[r];if(i.v[a]!==e[a]){r=!1;break t}}r=!0}if(r)return i}},!Eo){var Rr=new MutationObserver(kr),Pr=function(t){Rr.observe(t,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)Pr(document);else{var Fr=function(){Pr(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Fr):requestAnimationFrame(function(){if("loading"===document.readyState){var t=function(){Fr(),document.removeEventListener("readystatechange",t)};document.addEventListener("readystatechange",t)}else Fr()})}jr=function(){kr(Rr.takeRecords())}}var Hr=jr,Ir={},qr=Promise.resolve();function Wr(t){(t=Ir[t])&&(t._applyShimCurrentVersion=t._applyShimCurrentVersion||0,t._applyShimValidatingVersion=t._applyShimValidatingVersion||0,t._applyShimNextVersion=(t._applyShimNextVersion||0)+1)}function Vr(t){return t._applyShimCurrentVersion===t._applyShimNextVersion}var Br,Ur=null,Gr=window.HTMLImports&&window.HTMLImports.whenReady||null;var $r=new Lr;function Kr(){var t=this;this.L={},this.c=document.documentElement;var e=new io;e.rules=[],this.h=mr(this.c,new fr(e)),this.s=!1,this.b=this.a=null,function(t){requestAnimationFrame(function(){Gr?Gr(t):(Ur||(Ur=new Promise(function(t){Br=t}),"complete"===document.readyState?Br():document.addEventListener("readystatechange",function(){"complete"===document.readyState&&Br()})),Ur.then(function(){t&&t()}))})}(function(){Xr(t)})}function Xr(t){!t.a&&window.ShadyCSS&&window.ShadyCSS.ApplyShim&&(t.a=window.ShadyCSS.ApplyShim,t.a.invalidCallback=Wr),function(t){!t.b&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(t.b=window.ShadyCSS.CustomStyleInterface,t.b.transformCallback=function(e){t.ua(e)},t.b.validateCallback=function(){requestAnimationFrame(function(){(t.b.enqueued||t.s)&&t.F()})})}(t)}function Yr(t,e){return(e=e.getRootNode().host)?pr(e)?e:Yr(t,e):t.c}function zr(t,e,n){var o=pr(t=Yr(t,e));t=Object.create(o.B||null);var r=Cr(e,n.w);for(var i in e=function(t,e){var n={},o=[];return Ro(t,function(t){t.i||br(t);var r=t.m||t.parsedSelector;e&&t.i.v&&r&&yr.call(e,r)&&(wr(t,n),t=t.index,r=parseInt(t/32,10),o[r]=(o[r]||0)|1<<t%32)},null,!0),{v:n,key:o}}(o.w,e).v,Object.assign(t,r.Oa,e,r.Wa),e=n.G)((r=e[i])||0===r)&&(t[i]=r);for(i=xr,e=Object.getOwnPropertyNames(t),r=0;r<e.length;r++)t[o=e[r]]=Er(i,t[o],t);n.B=t}(t=Kr.prototype).wa=function(){Hr()},t.Ma=function(t){return jo(t)},t.Za=function(t){return Lo(t)},t.prepareTemplate=function(t,e,n){if(!t.Ia){t.Ia=!0,t.name=e,t.extends=n,Ir[e]=t;for(var o=(o=t.content.querySelector("style"))&&o.getAttribute("css-build")||"",r=[],i=t.content.querySelectorAll("style"),a=0;a<i.length;a++){var s=i[a];if(s.hasAttribute("shady-unscoped")){if(!Eo){var l=s.textContent;Mo.has(l)||(Mo.add(l),l=s.cloneNode(!0),document.head.appendChild(l)),s.parentNode.removeChild(s)}}else r.push(s.textContent),s.parentNode.removeChild(s)}r=r.join("").trim(),n={is:e,extends:n,eb:o},Eo||Vo(t.content,e),Xr(this),i=To.test(r)||So.test(r),To.lastIndex=0,So.lastIndex=0,r=ao(r),i&&Co&&this.a&&this.a.transformRules(r,e),t._styleAst=r,t.a=o,o=[],Co||(o=function(t){var e={},n=[],o=0;for(var r in Ro(t,function(t){br(t),t.index=o++,t=t.i.cssText;for(var n;n=Oo.exec(t);){var r=n[1];":"!==n[2]&&(e[r]=!0)}},function(t){n.push(t)}),t.b=n,t=[],e)t.push(r);return t}(t._styleAst)),o.length&&!Co||(r=Eo?t.content:null,e=Dr[e],e=(i=Uo(n,t._styleAst)).length?Po(i,n.is,r,e):void 0,t.pa=e),t.Ha=o}},t.F=function(){if(Xr(this),this.b){var t=this.b.processStyles();if(this.b.enqueued){if(Co)for(var e=0;e<t.length;e++){var n=this.b.getStyleForCustomStyle(t[e]);if(n&&Co&&this.a){var o=jo(n);Xr(this),this.a.transformRules(o),n.textContent=Lo(o)}}else for(zr(this,this.c,this.h),e=0;e<t.length;e++)(n=this.b.getStyleForCustomStyle(t[e]))&&Or(n,this.h.B);this.b.enqueued=!1,this.s&&!Co&&this.styleDocument()}}},t.styleElement=function(t,e){var n=qo(t).is,o=pr(t);if(!o){var r=qo(t);o=r.is,r=r.P;var i=Dr[o];if(o=Ir[o])var a=o._styleAst,s=o.Ha;o=mr(t,new fr(a,i,s,r))}if(t!==this.c&&(this.s=!0),e&&(o.G=o.G||{},Object.assign(o.G,e)),Co){if(o.G)for(var l in e=o.G)null===l?t.style.removeProperty(l):t.style.setProperty(l,e[l]);((l=Ir[n])||t===this.c)&&l&&l.pa&&!Vr(l)&&((Vr(l)||l._applyShimValidatingVersion!==l._applyShimNextVersion)&&(Xr(this),this.a&&this.a.transformRules(l._styleAst,n),l.pa.textContent=Uo(t,o.w),function(t){t._applyShimValidatingVersion=t._applyShimNextVersion,t.qa||(t.qa=!0,qr.then(function(){t._applyShimCurrentVersion=t._applyShimNextVersion,t.qa=!1}))}(l)),Eo&&(n=t.shadowRoot)&&(n.querySelector("style").textContent=Uo(t,o.w)),o.w=l._styleAst)}else if(zr(this,t,o),o.ja&&o.ja.length){n=o,l=qo(t).is,o=(e=$r.fetch(l,n.B,n.ja))?e.styleElement:null,a=n.u,(s=e&&e.u)||(s=l+"-"+(s=this.L[l]=(this.L[l]||0)+1)),n.u=s,s=n.u,r=xr,r=o?o.textContent||"":Sr(r,t,n.B,s);var c=(i=pr(t)).a;c&&!Eo&&c!==o&&(c._useCount--,0>=c._useCount&&c.parentNode&&c.parentNode.removeChild(c)),Eo?i.a?(i.a.textContent=r,o=i.a):r&&(o=Po(r,s,t.shadowRoot,i.b)):o?o.parentNode||(_r&&-1<r.indexOf("@media")&&(o.textContent=r),Ho(o,null,i.b)):r&&(o=Po(r,s,null,i.b)),o&&(o._useCount=o._useCount||0,i.a!=o&&o._useCount++,i.a=o),s=o,Eo||(o=n.u,i=r=t.getAttribute("class")||"",a&&(i=r.replace(new RegExp("\\s*x-scope\\s*"+a+"\\s*","g")," ")),r!==(i+=(i?" ":"")+"x-scope "+o)&&Io(t,i)),e||$r.store(l,n.B,s,n.u)}},t.styleDocument=function(t){this.styleSubtree(this.c,t)},t.styleSubtree=function(t,e){var n=t.shadowRoot;if((n||t===this.c)&&this.styleElement(t,e),e=n&&(n.children||n.childNodes))for(t=0;t<e.length;t++)this.styleSubtree(e[t]);else if(t=t.children||t.childNodes)for(e=0;e<t.length;e++)this.styleSubtree(t[e])},t.ua=function(t){var e=this,n=jo(t);Ro(n,function(t){if(Eo)Yo(t);else{var n=hr;t.selector=t.parsedSelector,Yo(t),t.selector=t.m=$o(n,t,n.c,void 0,void 0)}Co&&(Xr(e),e.a&&e.a.transformRule(t))}),Co?t.textContent=Lo(n):this.h.w.rules.push(n)},t.getComputedStyleValue=function(t,e){var n;return Co||(n=(pr(t)||pr(Yr(this,t))).B[e]),(n=n||window.getComputedStyle(t).getPropertyValue(e))?n.trim():""},t.Ya=function(t,e){var n=t.getRootNode();if(e=e?e.split(/\s/):[],!(n=n.host&&n.host.localName)){var o=t.getAttribute("class");if(o){o=o.split(/\s/);for(var r=0;r<o.length;r++)if(o[r]===hr.a){n=o[r+1];break}}}n&&e.push(hr.a,n),Co||(n=pr(t))&&n.u&&e.push(xr.a,n.u),Io(t,e.join(" "))},t.Ja=function(t){return pr(t)},Kr.prototype.flush=Kr.prototype.wa,Kr.prototype.prepareTemplate=Kr.prototype.prepareTemplate,Kr.prototype.styleElement=Kr.prototype.styleElement,Kr.prototype.styleDocument=Kr.prototype.styleDocument,Kr.prototype.styleSubtree=Kr.prototype.styleSubtree,Kr.prototype.getComputedStyleValue=Kr.prototype.getComputedStyleValue,Kr.prototype.setElementClass=Kr.prototype.Ya,Kr.prototype._styleInfoForNode=Kr.prototype.Ja,Kr.prototype.transformCustomStyleForDocument=Kr.prototype.ua,Kr.prototype.getStyleAst=Kr.prototype.Ma,Kr.prototype.styleAstToString=Kr.prototype.Za,Kr.prototype.flushCustomStyles=Kr.prototype.F,Object.defineProperties(Kr.prototype,{nativeShadow:{get:function(){return Eo}},nativeCss:{get:function(){return Co}}});var Jr,Zr,Qr=new Kr;window.ShadyCSS&&(Jr=window.ShadyCSS.ApplyShim,Zr=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:Qr,prepareTemplate:function(t,e,n){Qr.F(),Qr.prepareTemplate(t,e,n)},styleSubtree:function(t,e){Qr.F(),Qr.styleSubtree(t,e)},styleElement:function(t){Qr.F(),Qr.styleElement(t)},styleDocument:function(t){Qr.F(),Qr.styleDocument(t)},getComputedStyleValue:function(t,e){return Qr.getComputedStyleValue(t,e)},nativeCss:Co,nativeShadow:Eo},Jr&&(window.ShadyCSS.ApplyShim=Jr),Zr&&(window.ShadyCSS.CustomStyleInterface=Zr);var ti=window.customElements,ei=window.HTMLImports,ni=window.HTMLTemplateElement;if(window.WebComponents=window.WebComponents||{},ti&&ti.polyfillWrapFlushCallback){var oi,ri=function(){if(oi){ni.J&&ni.J(window.document);var t=oi;return oi=null,t(),!0}},ii=ei.whenReady;ti.polyfillWrapFlushCallback(function(t){oi=t,ii(ri)}),ei.whenReady=function(t){ii(function(){ri()?ei.whenReady(t):t()})}}ei.whenReady(function(){requestAnimationFrame(function(){window.WebComponents.ready=!0,document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})});var ai=document.createElement("style");ai.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var si=document.querySelector("head");si.insertBefore(ai,si.firstChild)}).call(this);
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L28

Insecure DOM Manipulation (XSS) in webcomponents-sd-ce.js

CWE-79
File Location: media/vendor/webcomponentsjs/js/webcomponents-sd-ce.js:28
Security Score:
75 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- a):c.innerHTML=a;c.firstChild;)b.appendChild(c.firstChild)},configurable:!0}},fb={shadowRoot:{get:function(){return this.__shady&&this.__shady.xa||null},configurable:!0}},gb={activeElement:{get:function(){var a=cb&&cb.get?cb.get.call(document):r.F?void 0:document.activeElement;if(a&&a.nodeType){var b=!!u(this);if(this===document||b&&this.host!==a&&w.contains.call(this.host,a)){for(b=ka(a);b&&b!==this;)a=b.host,b=ka(a);a=this===document?b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L82

Insecure DOM Manipulation (XSS) in field-module-order.js

CWE-79
File Location: build/webcomponents/js/field-module-order/field-module-order.js:82
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- this.innerHTML = '';
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L55

Insecure DOM Manipulation (XSS) in admin-module-edit.js

CWE-79
File Location: media/com_modules/js/admin-module-edit.js:55
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- tmpMenu.innerHTML = '<span class=\"badge badge-info\">' + Joomla.JText._('JALL') + '</span>';
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L1

Insecure DOM Manipulation (XSS) in chosen.min.js

CWE-79
File Location: media/legacy/js/chosen.min.js:1
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- (function(){var t,e,s,i,r={}.hasOwnProperty;(i=function(){function t(){this.options_index=0,this.parsed=[]}return t.prototype.add_node=function(t){return"OPTGROUP"===t.nodeName.toUpperCase()?this.add_group(t):this.add_option(t)},t.prototype.add_group=function(t){var e,s,i,r,o,n;for(e=this.parsed.length,this.parsed.push({array_index:e,group:!0,label:this.escapeExpression(t.label),title:t.title?t.title:void 0,children:0,disabled:t.disabled,classes:t.className}),n=[],i=0,r=(o=t.childNodes).length;i<r;i++)s=o[i],n.push(this.add_option(s,e,t.disabled));return n},t.prototype.add_option=function(t,e,s){if("OPTION"===t.nodeName.toUpperCase())return""!==t.text?(null!=e&&(this.parsed[e].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:t.value,text:t.text,html:t.innerHTML,title:t.title?t.title:void 0,selected:t.selected,disabled:!0===s?s:t.disabled,group_array_index:e,group_label:null!=e?this.parsed[e].label:null,classes:t.className,style:t.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1},t.prototype.escapeExpression=function(t){var e,s;return null==t||!1===t?"":/[\&\<\>\"\'\`]/.test(t)?(e={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},s=/&(?!\w+;)|[\<\>\"\'\`]/g,t.replace(s,function(t){return e[t]||"&amp;"})):t},t}()).select_to_array=function(t){var e,s,r,o,n;for(s=new i,r=0,o=(n=t.childNodes).length;r<o;r++)e=n[r],s.add_node(e);return s.parsed},e=function(){function t(e,s){this.form_field=e,this.options=null!=s?s:{},t.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers(),this.on_ready())}return t.prototype.set_default_values=function(){var t=this;return this.click_test_action=function(e){return t.test_active_click(e)},this.activate_action=function(e){return t.activate_field(e)},this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.allow_custom_value=!1,this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text&&this.options.allow_single_deselect,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null==this.options.enable_split_word_search||this.options.enable_split_word_search,this.group_search=null==this.options.group_search||this.options.group_search,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null==this.options.single_backstroke_delete||this.options.single_backstroke_delete,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null==this.options.display_selected_options||this.options.display_selected_options,this.display_disabled_options=null==this.options.display_disabled_options||this.options.display_disabled_options,this.include_group_label_in_selected=this.options.include_group_label_in_selected||!1,this.max_shown_results=this.options.max_shown_results||Number.POSITIVE_INFINITY,this.case_sensitive_search=this.options.case_sensitive_search||!1},t.prototype.set_default_text=function(){return this.form_field.getAttribute("data-placeholder")?this.default_text=this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.default_text=this.options.placeholder_text_multiple||this.options.placeholder_text||t.default_multiple_text:this.default_text=this.options.placeholder_text_single||this.options.placeholder_text||t.default_single_text,this.custom_group_text=this.form_field.getAttribute("data-custom_group_text")||this.options.custom_group_text||"Custom Value",this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||t.default_no_result_text},t.prototype.choice_label=function(t){return this.include_group_label_in_selected&&null!=t.group_label?"<b class='group-name'>"+t.group_label+"</b>"+t.html:t.html},t.prototype.mouse_enter=function(){return this.mouse_on_container=!0},t.prototype.mouse_leave=function(){return this.mouse_on_container=!1},t.prototype.input_focus=function(t){var e=this;if(this.is_multiple){if(!this.active_field)return setTimeout(function(){return e.container_mousedown()},50)}else if(!this.active_field)return this.activate_field()},t.prototype.input_blur=function(t){var e=this;if(!this.mouse_on_container)return this.active_field=!1,setTimeout(function(){return e.blur_test()},100)},t.prototype.results_option_build=function(t){var e,s,i,r,o,n,l;for(e="",r=0,o=0,n=(l=this.results_data).length;o<n&&(i="",""!==(i=(s=l[o]).group?this.result_add_group(s):this.result_add_option(s))&&(r++,e+=i),(null!=t?t.first:void 0)&&(s.selected&&this.is_multiple?this.choice_build(s):s.selected&&!this.is_multiple&&this.single_set_selected_text(this.choice_label(s))),!(r>=this.max_shown_results));o++);return e},t.prototype.result_add_option=function(t){var e,s;return t.search_match&&this.include_option_in_results(t)?(e=[],t.disabled||t.selected&&this.is_multiple||e.push("active-result"),!t.disabled||t.selected&&this.is_multiple||e.push("disabled-result"),t.selected&&e.push("result-selected"),null!=t.group_array_index&&e.push("group-option"),""!==t.classes&&e.push(t.classes),(s=document.createElement("li")).className=e.join(" "),s.style.cssText=t.style,s.setAttribute("data-option-array-index",t.array_index),s.innerHTML=t.search_text,t.title&&(s.title=t.title),this.outerHTML(s)):""},t.prototype.result_add_group=function(t){var e,s;return(t.search_match||t.group_match)&&t.active_options>0?((e=[]).push("group-result"),t.classes&&e.push(t.classes),(s=document.createElement("li")).className=e.join(" "),s.innerHTML=t.search_text,t.title&&(s.title=t.title),this.outerHTML(s)):""},t.prototype.results_update_field=function(){if(this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing)return this.winnow_results()},t.prototype.reset_single_select_options=function(){var t,e,s,i,r;for(r=[],e=0,s=(i=this.results_data).length;e<s;e++)(t=i[e]).selected?r.push(t.selected=!1):r.push(void 0);return r},t.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},t.prototype.results_search=function(t){return this.results_showing?this.winnow_results():this.results_show()},t.prototype.winnow_results=function(){var t,e,s,i,r,o,n,l,h,c,a,_;for(this.no_results_clear(),i=0,t=(o=this.get_search_text()).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),h=new RegExp(t,"i"),s=this.get_search_regex(t),c=0,a=(_=this.results_data).length;c<a;c++)(e=_[c]).search_match=!1,r=null,this.include_option_in_results(e)&&(e.group&&(e.group_match=!1,e.active_options=0),null!=e.group_array_index&&this.results_data[e.group_array_index]&&(0===(r=this.results_data[e.group_array_index]).active_options&&r.search_match&&(i+=1),r.active_options+=1),e.search_text=e.group?e.label:e.html,e.group&&!this.group_search||(e.search_match=this.search_string_match(e.search_text,s),e.search_match&&!e.group&&(i+=1),e.search_match?(o.length&&(n=e.search_text.search(h),l=e.search_text.substr(0,n+o.length)+"</em>"+e.search_text.substr(n+o.length),e.search_text=l.substr(0,n)+"<em>"+l.substr(n)),null!=r&&(r.group_match=!0)):null!=e.group_array_index&&this.results_data[e.group_array_index].search_match&&(e.search_match=!0)));return this.result_clear_highlight(),i<1&&o.length?(this.update_results_content(""),this.no_results(o)):(this.update_results_content(this.results_option_build()),this.winnow_results_set_highlight())},t.prototype.get_search_regex=function(t){var e,s;return e=this.search_contains?"":"^",s=this.case_sensitive_search?"":"i",new RegExp(e+t,s)},t.prototype.search_string_match=function(t,e){var s,i,r,o;if(e.test(t))return!0;if(this.enable_split_word_search&&(t.indexOf(" ")>=0||0===t.indexOf("["))&&(i=t.replace(/\[|\]/g,"").split(" ")).length)for(r=0,o=i.length;r<o;r++)if(s=i[r],e.test(s))return!0},t.prototype.choices_count=function(){var t,e,s;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,t=0,e=(s=this.form_field.options).length;t<e;t++)s[t].selected&&(this.selected_option_count+=1);return this.selected_option_count},t.prototype.choices_click=function(t){if(t.preventDefault(),!this.results_showing&&!this.is_disabled)return this.results_show()},t.prototype.keyup_checker=function(t){var e,s;switch(e=null!=(s=t.which)?s:t.keyCode,this.search_field_scale(),e){case 8:if(this.is_multiple&&this.backstroke_length<1&&this.choices_count()>0)return this.keydown_backstroke();if(!this.pending_backstroke)return this.result_clear_highlight(),this.results_search();break;case 13:if(t.preventDefault(),this.results_showing)return this.result_select(t);break;case 27:return this.results_showing&&this.results_hide(),!0;case 9:case 38:case 40:case 16:case 91:case 17:case 18:break;default:return this.results_search()}},t.prototype.clipboard_event_checker=function(t){var e=this;return setTimeout(function(){return e.results_search()},50)},t.prototype.container_width=function(){return null!=this.options.width?this.options.width:this.form_field_jq.css("width")||this.form_field.offsetWidth+"px"},t.prototype.include_option_in_results=function(t){return!(this.is_multiple&&!this.display_selected_options&&t.selected)&&(!(!this.display_disabled_options&&t.disabled)&&!t.empty)},t.prototype.search_results_touchstart=function(t){return this.touch_started=!0,this.search_results_mouseover(t)},t.prototype.search_results_touchmove=function(t){return this.touch_started=!1,this.search_results_mouseout(t)},t.prototype.search_results_touchend=function(t){if(this.touch_started)return this.search_results_mouseup(t)},t.prototype.outerHTML=function(t){var e;return t.outerHTML?t.outerHTML:((e=document.createElement("div")).appendChild(t),e.innerHTML)},t.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?document.documentMode>=8:!(/iP(od|hone)/i.test(window.navigator.userAgent)||/IEMobile/i.test(window.navigator.userAgent)||/Windows Phone/i.test(window.navigator.userAgent)||/BlackBerry/i.test(window.navigator.userAgent)||/BB10/i.test(window.navigator.userAgent)||/Android.*Mobile/i.test(window.navigator.userAgent))},t.default_multiple_text="Select Some Options",t.default_single_text="Select an Option",t.default_no_result_text="No results match",t}(),(t=jQuery).fn.extend({chosen:function(i){return e.browser_is_supported()?this.each(function(e){var r,o;o=(r=t(this)).data("chosen"),"destroy"!==i?o||r.data("chosen",new s(this,i)):o instanceof s&&o.destroy()}):this}}),s=function(s){function o(){return o.__super__.constructor.apply(this,arguments)}return function(t,e){for(var s in e)r.call(e,s)&&(t[s]=e[s]);function i(){this.constructor=t}i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype}(o,e),o.prototype.setup=function(){return this.form_field_jq=t(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex,this.allow_custom_value=this.form_field_jq.hasClass("chzn-custom-value")||this.options.allow_custom_value,this.is_rtl=this.form_field_jq.hasClass("chzn-rtl")},o.prototype.set_up_html=function(){var e,s;return(e=["chzn-container"]).push("chzn-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&e.push(this.form_field.className),this.is_rtl&&e.push("chzn-rtl"),s={class:e.join(" "),style:"width: "+this.container_width()+";",title:this.form_field.title},this.form_field.id.length&&(s.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chzn"),this.container=t("<div />",s),this.is_multiple?this.container.html('<ul class="chzn-choices"><li class="search-field"><input type="text" value="'+this.default_text+'" class="default" autocomplete="off" style="width:25px;" /></li></ul><div class="chzn-drop"><ul class="chzn-results"></ul></div>'):this.container.html('<a class="chzn-single chzn-default"><span>'+this.default_text+'</span><div><b></b></div></a><div class="chzn-drop"><div class="chzn-search"><input type="text" autocomplete="off" /></div><ul class="chzn-results"></ul></div>'),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chzn-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chzn-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chzn-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chzn-search").first(),this.selected_item=this.container.find(".chzn-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior()},o.prototype.on_ready=function(){return this.form_field_jq.trigger("liszt:ready",{chosen:this})},o.prototype.register_observers=function(){var t=this;return this.container.bind("touchstart.chosen",function(e){return t.container_mousedown(e),e.preventDefault()}),this.container.bind("touchend.chosen",function(e){return t.container_mouseup(e),e.preventDefault()}),this.container.bind("mousedown.chosen",function(e){t.container_mousedown(e)}),this.container.bind("mouseup.chosen",function(e){t.container_mouseup(e)}),this.container.bind("mouseenter.chosen",function(e){t.mouse_enter(e)}),this.container.bind("mouseleave.chosen",function(e){t.mouse_leave(e)}),this.search_results.bind("mouseup.chosen",function(e){t.search_results_mouseup(e)}),this.search_results.bind("mouseover.chosen",function(e){t.search_results_mouseover(e)}),this.search_results.bind("mouseout.chosen",function(e){t.search_results_mouseout(e)}),this.search_results.bind("mousewheel.chosen DOMMouseScroll.chosen",function(e){t.search_results_mousewheel(e)}),this.search_results.bind("touchstart.chosen",function(e){t.search_results_touchstart(e)}),this.search_results.bind("touchmove.chosen",function(e){t.search_results_touchmove(e)}),this.search_results.bind("touchend.chosen",function(e){t.search_results_touchend(e)}),this.form_field_jq.bind("liszt:updated.chosen",function(e){t.results_update_field(e)}),this.form_field_jq.bind("liszt:activate.chosen",function(e){t.activate_field(e)}),this.form_field_jq.bind("liszt:open.chosen",function(e){t.container_mousedown(e)}),this.form_field_jq.bind("liszt:close.chosen",function(e){t.input_blur(e)}),this.search_field.bind("blur.chosen",function(e){t.input_blur(e)}),this.search_field.bind("keyup.chosen",function(e){t.keyup_checker(e)}),this.search_field.bind("keydown.chosen",function(e){t.keydown_checker(e)}),this.search_field.bind("focus.chosen",function(e){t.input_focus(e)}),this.search_field.bind("cut.chosen",function(e){t.clipboard_event_checker(e)}),this.search_field.bind("paste.chosen",function(e){t.clipboard_event_checker(e)}),this.is_multiple?this.search_choices.bind("click.chosen",function(e){t.choices_click(e)}):this.container.bind("click.chosen",function(t){t.preventDefault()})},o.prototype.destroy=function(){return t(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},o.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field_jq[0].disabled,this.is_disabled?(this.container.addClass("chzn-disabled"),this.search_field[0].disabled=!0,this.is_multiple||this.selected_item.unbind("focus.chosen",this.activate_action),this.close_field()):(this.container.removeClass("chzn-disabled"),this.search_field[0].disabled=!1,this.is_multiple?void 0:this.selected_item.bind("focus.chosen",this.activate_action))},o.prototype.container_mousedown=function(e){if(!this.is_disabled&&(e&&"mousedown"===e.type&&!this.results_showing&&e.preventDefault(),null==e||!t(e.target).hasClass("search-choice-close")))return this.active_field?this.is_multiple||!e||t(e.target)[0]!==this.selected_item[0]&&!t(e.target).parents("a.chzn-single").length||(e.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),t(this.container[0].ownerDocument).bind("click.chosen",this.click_test_action),this.results_show()),this.activate_field()},o.prototype.container_mouseup=function(t){if("ABBR"===t.target.nodeName&&!this.is_disabled)return this.results_reset(t)},o.prototype.search_results_mousewheel=function(t){var e;if(t.originalEvent&&(e=t.originalEvent.deltaY||-t.originalEvent.wheelDelta||t.originalEvent.detail),null!=e)return t.preventDefault(),"DOMMouseScroll"===t.type&&(e*=40),this.search_results.scrollTop(e+this.search_results.scrollTop())},o.prototype.blur_test=function(t){if(!this.active_field&&this.container.hasClass("chzn-container-active"))return this.close_field()},o.prototype.close_field=function(){return t(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chzn-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale()},o.prototype.activate_field=function(){return this.container.addClass("chzn-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},o.prototype.test_active_click=function(e){var s;return(s=t(e.target).closest(".chzn-container")).length&&this.container[0]===s[0]?this.active_field=!0:this.close_field()},o.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=i.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():this.is_multiple||(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chzn-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chzn-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},o.prototype.result_do_highlight=function(t){var e,s,i,r,o;if(t.length){if(this.result_clear_highlight(),this.result_highlight=t,this.result_highlight.addClass("highlighted"),r=(i=parseInt(this.search_results.css("maxHeight"),10))+(o=this.search_results.scrollTop()),(e=(s=this.result_highlight.position().top+this.search_results.scrollTop())+this.result_highlight.outerHeight())>=r)return this.search_results.scrollTop(e-i>0?e-i:0);if(s<o)return this.search_results.scrollTop(s)}},o.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},o.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("liszt:maxselected",{chosen:this}),!1):(this.container.addClass("chzn-with-drop"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.search_field.val()),this.winnow_results(),this.form_field_jq.trigger("liszt:showing_dropdown",{chosen:this}))},o.prototype.update_results_content=function(t){return this.search_results.html(t)},o.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chzn-with-drop"),this.form_field_jq.trigger("liszt:hiding_dropdown",{chosen:this})),this.results_showing=!1},o.prototype.set_tab_index=function(t){var e;if(this.form_field.tabIndex)return e=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=e},o.prototype.set_label_behavior=function(){var e=this;if(this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=t("label[for='"+this.form_field.id+"']")),this.form_field_label.length>0)return this.form_field_label.bind("click.chosen",function(t){return e.is_multiple?e.container_mousedown(t):e.activate_field()})},o.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},o.prototype.search_results_mouseup=function(e){var s;if((s=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first()).length)return this.result_highlight=s,this.result_select(e),this.search_field.focus()},o.prototype.search_results_mouseover=function(e){var s;if(s=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first())return this.result_do_highlight(s)},o.prototype.search_results_mouseout=function(e){if(t(e.target).hasClass("active-result"))return this.result_clear_highlight()},o.prototype.choice_build=function(e){var s,i,r=this;return s=t("<li />",{class:"search-choice"}).html("<span>"+this.choice_label(e)+"</span>"),e.disabled?s.addClass("search-choice-disabled"):((i=t("<a />",{class:"search-choice-close","data-option-array-index":e.array_index})).bind("click.chosen",function(t){return r.choice_destroy_link_click(t)}),s.append(i)),this.search_container.before(s)},o.prototype.choice_destroy_link_click=function(e){if(e.preventDefault(),e.stopPropagation(),!this.is_disabled)return this.choice_destroy(t(e.target))},o.prototype.choice_destroy=function(t){if(this.result_deselect(t[0].getAttribute("data-option-array-index")))return this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.search_field.val().length<1&&this.results_hide(),t.parents("li").first().remove(),this.search_field_scale()},o.prototype.results_reset=function(){if(this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.form_field_jq.trigger("change"),this.active_field)return this.results_hide()},o.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},o.prototype.result_select=function(e){var s,i,r,o,n;return this.result_highlight?(i=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("liszt:maxselected",{chosen:this}),!1):(this.is_multiple?i.removeClass("active-result"):this.reset_single_select_options(),i.addClass("result-selected"),(r=this.results_data[i[0].getAttribute("data-option-array-index")]).selected=!0,this.form_field.options[r.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(r):this.single_set_selected_text(this.choice_label(r)),(e.metaKey||e.ctrlKey)&&this.is_multiple||this.results_hide(),this.show_search_field_default(),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.form_field_jq.trigger("change",{selected:this.form_field.options[r.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,e.preventDefault(),this.search_field_scale())):!this.is_multiple&&this.allow_custom_value?(n=this.search_field.val(),s=this.add_unique_custom_group(),o=t('<option value="'+n+'">'+n+"</option>"),s.append(o),this.form_field_jq.append(s),this.form_field.options[this.form_field.options.length-1].selected=!0,e.metaKey||this.results_hide(),this.results_build()):void 0},o.prototype.find_custom_group=function(){var e,s,i,r,o;for(i=0,r=(o=t("optgroup",this.form_field)).length;i<r;i++)(s=o[i]).getAttribute("label")===this.custom_group_text&&(e=s);return e},o.prototype.add_unique_custom_group=function(){var e;return(e=this.find_custom_group())||(e=t('<optgroup label="'+this.custom_group_text+'"></optgroup>')),t(e)},o.prototype.single_set_selected_text=function(t){return null==t&&(t=this.default_text),t===this.default_text?this.selected_item.addClass("chzn-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chzn-default")),this.selected_item.find("span").html(t)},o.prototype.result_deselect=function(t){var e;return e=this.results_data[t],!this.form_field.options[e.options_index].disabled&&(e.selected=!1,this.form_field.options[e.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.form_field_jq.trigger("change",{deselected:this.form_field.options[e.options_index].value}),this.search_field_scale(),!0)},o.prototype.single_deselect_control_build=function(){if(this.allow_single_deselect)return this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>'),this.selected_item.addClass("chzn-single-with-deselect")},o.prototype.get_search_text=function(){return t("<div/>").text(t.trim(this.search_field.val())).html()},o.prototype.winnow_results_set_highlight=function(){var t,e;if(null!=(t=(e=this.is_multiple?[]:this.search_results.find(".result-selected.active-result")).length?e.first():this.search_results.find(".active-result").first()))return this.result_do_highlight(t)},o.prototype.no_results=function(e){var s;return(s=t('<li class="no-results">'+this.results_none_found+' "<span></span>"</li>')).find("span").first().html(e),this.search_results.append(s),this.form_field_jq.trigger("liszt:no_results",{chosen:this})},o.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},o.prototype.keydown_arrow=function(){var t;return this.results_showing&&this.result_highlight?(t=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(t):void 0:this.results_show()},o.prototype.keyup_arrow=function(){var t;return this.results_showing||this.is_multiple?this.result_highlight?(t=this.result_highlight.prevAll("li.active-result")).length?this.result_do_highlight(t.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight()):void 0:this.results_show()},o.prototype.keydown_backstroke=function(){var t;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(t=this.search_container.siblings("li.search-choice").last()).length&&!t.hasClass("search-choice-disabled")?(this.pending_backstroke=t,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0},o.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},o.prototype.keydown_checker=function(t){var e,s;switch(e=null!=(s=t.which)?s:t.keyCode,this.search_field_scale(),8!==e&&this.pending_backstroke&&this.clear_backstroke(),e){case 8:this.backstroke_length=this.search_field.val().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(t),this.mouse_on_container=!1;break;case 13:this.results_showing&&t.preventDefault();break;case 32:this.disable_search&&t.preventDefault();break;case 38:t.preventDefault(),this.keyup_arrow();break;case 40:t.preventDefault(),this.keydown_arrow()}},o.prototype.search_field_scale=function(){var e,s,i,r,o,n,l,h;if(this.is_multiple){for(0,n=0,r="position:absolute; left: -1000px; top: -1000px; display:none;",l=0,h=(o=["font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"]).length;l<h;l++)r+=(i=o[l])+":"+this.search_field.css(i)+";";return(e=t("<div />",{style:r})).text(this.search_field.val()),t("body").append(e),n=e.width()+25,e.remove(),n>(s=this.container.outerWidth())-10&&(n=s-10),this.search_field.css({width:n+"px"})}},o}()}).call(this);
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L73

Insecure DOM Manipulation (XSS) in client.js

CWE-79
File Location: media/plg_installer_webinstaller/js/client.js:73
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- document.querySelector('#jed-container').innerHTML = response.data.html;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L67

Insecure DOM Manipulation (XSS) in jupdatecheck.js

CWE-79
File Location: media/plg_quickicon_joomlaupdate/js/jupdatecheck.js:67
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- linkSpan[i].innerHTML = Joomla.JText._('PLG_QUICKICON_JOOMLAUPDATE_ERROR');
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L351

Insecure DOM Manipulation (XSS) in calendar.js

CWE-79
File Location: media/system/js/fields/calendar.js:351
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- if (el.navtype === 50) { el._current = el.innerHTML; }
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L612

Insecure DOM Manipulation (XSS) in calendar.js

CWE-79
File Location: media/system/js/fields/calendar.js:612
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- cell.innerHTML = cs ? "<div unselectable='on'" + classes + ">" + text + "</div>" : text;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L668

Insecure DOM Manipulation (XSS) in calendar.js

CWE-79
File Location: media/system/js/fields/calendar.js:668
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- cell.innerHTML = JoomlaCalLocale.shortDays[(i + fdow) % 7];
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L695

Insecure DOM Manipulation (XSS) in calendar.js

CWE-79
File Location: media/system/js/fields/calendar.js:695
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- cell.innerHTML = " ";
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L1

Insecure DOM Manipulation (XSS) in validate.min.js

CWE-79
File Location: media/system/js/fields/validate.min.js:1
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- var JFormValidator=function(){"use strict";var e,t,a,r=function(t,a,r){r=""===r||r,e[t]={enabled:r,exec:a}},s=function(e,t,a){"button"!==t.tagName.toLowerCase()&&"undefined"!==t.value&&(!1===e?n(t,a):i(t))},i=function(e){var t,a=e.form.querySelector('label[for="'+e.id+'"]');(e.classList.contains("required")||e.getAttribute("required"))&&(a&&(t=a.querySelector("span.form-control-feedback")));e.classList.remove("form-control-danger"),e.classList.add("form-control-success"),e.parentNode.classList.remove("has-danger"),e.parentNode.classList.add("has-success"),e.setAttribute("aria-invalid","false"),t&&t.parentNode.removeChild(t),a&&a.classList.remove("invalid")},n=function(e,t){var a=e.form.querySelector('label[for="'+e.id+'"]');e.classList.remove("form-control-success"),e.classList.add("form-control-danger"),e.classList.add("invalid"),e.parentNode.classList.remove("has-success"),e.parentNode.classList.add("has-danger"),e.setAttribute("aria-invalid","true");var r,s=e.getAttribute("data-validation-text");if(a&&(r=a.querySelector("span.form-control-feedback")),!r){var i=document.createElement("span");i.classList.add("form-control-feedback"),i.innerHTML=t&&"checkbox"===t?s||Joomla.JText._("JLIB_FORM_FIELD_REQUIRED_CHECK"):t&&"value"===t?s||Joomla.JText._("JLIB_FORM_FIELD_REQUIRED_VALUE"):s||Joomla.JText._("JLIB_FORM_FIELD_INVALID_VALUE"),a&&a.appendChild(i)}a&&a.classList.add("invalid")},o=function(t){var a,r;if("disabled"===t.getAttribute("disabled")||"none"===t.getAttribute("display"))return s(!0,t),!0;if(t.getAttribute("required")||t.classList.contains("required"))if("fieldset"===(a=t.tagName.toLowerCase())&&(t.classList.contains("radio")||t.classList.contains("checkboxes"))){if(!t.querySelector("input:checked").length)return s(!1,t,"checkbox"),!1}else{if("checkbox"===t.getAttribute("type")&&0!==!t.checked.length||"select"===a&&!t.value.length)return s(!1,t,"checkbox"),!1;if(!t.value||t.classList.contains("placeholder"))return s(!1,t,"value"),!1}return r=t.getAttribute("class")&&t.getAttribute("class").match(/validate-([a-zA-Z0-9\_\-]+)/)?t.getAttribute("class").match(/validate-([a-zA-Z0-9\_\-]+)/)[1]:"",t.getAttribute("pattern")&&""!=t.getAttribute("pattern")?t.value.length?(l=new RegExp("^"+t.getAttribute("pattern")+"$").test(t.value),s(l,t,"empty"),l):(s(!1,t),!1):""===r?(s(!0,t),!0):r&&"none"!==r&&e[r]&&t.value&&!0!==e[r].exec(t.value,t)?(s(!1,t,"invalid_value"),!1):(s(!0,t),!0)},l=function(e){var t,r,s,i,n=!0,l=[];for(s=0,i=(t=e.querySelectorAll("input, textarea, select, button")).length;s<i;s++)!1===o(t[s])&&(n=!1,l.push(t[s]));for(var c in a)a.hasOwnProperty(c)&&!0!==a[validator].exec()&&(n=!1);return function(e,t){for(var a=0,r=e.length;a<r;++a)t(e[a],a)}(a,function(e,t){!0!==t.exec()&&(n=!1)}),!n&&l.length>0&&(r={error:[e.getAttribute("data-validation-text")?e.getAttribute("data-validation-text"):Joomla.JText._("JLIB_FORM_CONTAINS_INVALID_FIELDS")]},Joomla.renderMessages(r)),n},c=function(e){for(var a,r=[],s=0,i=(a=e.querySelectorAll("input, textarea, select, button, fieldset")).length;s<i;s++){var n=a[s],c=n.tagName.toLowerCase();["input","textarea","select","fieldset"].indexOf(c)>-1&&n.classList.contains("required")&&(n.setAttribute("required",""),n.setAttribute("aria-required","true")),"input"!==c&&"button"!==c||"submit"!==n.getAttribute("type")&&"image"!==n.getAttribute("type")?"button"===c||"input"===c&&"button"===n.getAttribute("type")||(n.classList.contains("required")&&n.setAttribute("aria-required",!0),"fieldset"!==c&&(n.addEventListener("blur",function(){return o(this)}),n.addEventListener("focus",function(){return(a=(e=this).form.querySelector('label[for="'+e.id+'"]'))&&(t=a.querySelector("span.form-control-feedback")),e.classList.remove("form-control-danger"),e.classList.remove("form-control-success"),e.classList.remove("invalid"),e.classList.add("valid"),e.parentNode.classList.remove("has-danger"),e.parentNode.classList.remove("has-success"),t&&a&&a.removeChild(t),void(a&&a.classList.remove("invalid"));var e,t,a}),n.classList.contains("validate-email")&&t&&n.setAttribute("type","email")),r.push(n)):n.classList.contains("validate")&&n.addEventListener("click",function(){return l(e)})}};return function(){var s;e={},a=a||{},(s=document.createElement("input")).setAttribute("type","email"),t="text"!==s.type,r("username",function(e,t){return!new RegExp("[<|>|\"|'|%|;|(|)|&]","i").test(e)}),r("password",function(e,t){return/^\S[\S ]{2,98}\S$/.test(e)}),r("numeric",function(e,t){return/^(\d|-)?(\d|,)*\.?\d*$/.test(e)}),r("email",function(e,t){return e=punycode.toASCII(e),/^[a-zA-Z0-9.!#$%&’*+\/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(e)});for(var i=document.querySelectorAll("form"),n=0,o=i.length;n<o;n++)i[n].classList.contains("form-validate")&&c(i[n])}(),{isValid:l,validate:o,setHandler:r,attachToForm:c,custom:a}};document.formvalidator=null,document.addEventListener("DOMContentLoaded",function(){document.formvalidator=new JFormValidator});
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L1

Insecure DOM Manipulation (XSS) in joomla-field-simple-color-es5.min.js

CWE-79
File Location: media/system/webcomponents/js/joomla-field-simple-color-es5.min.js:1
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- !function(){return function e(t,n,i){function r(a,s){if(!n[a]){if(!t[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(o)return o(a,!0);var f=new Error("Cannot find module '"+a+"'");throw f.code="MODULE_NOT_FOUND",f}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){return r(t[a][1][e]||e)},c,c.exports,e,t,n,i)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a<i.length;a++)r(i[a]);return r}}()({1:[function(e,t,n){"use strict";var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();!function(e){var t=9,n=27,r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},o=function(e){function o(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return e.select="",e.options=[],e.icon="",e.panel="",e.buttons=[],e.focusableElements=null,e.focusableSelectors=["a[href]","area[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'],e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(o,HTMLElement),i(o,[{key:"connectedCallback",value:function(){var e=this;if(this.select=this.querySelector("select"),!this.select)throw new Error("Simple color field requires a select element");this.options=[].slice.call(this.select.querySelectorAll("option")),this.select.classList.add("hidden"),this.options.forEach(function(t){var n=t.value,i="swatch";"none"===n&&(i+=" nocolor",n="transparent"),t.selected&&(i+=" active");var r=document.createElement("button");r.setAttribute("class",i),r.style.backgroundColor=n,r.setAttribute("type","button");var o="transparent"===n?e.textTransp:e.getColorName(n);r.innerHTML='<span class="sr-only">'+o+"</span>",e.buttons.push(r)});var t=document.createElement("button");t.setAttribute("class","btn-close"),t.setAttribute("type","button"),t.innerHTML=this.textClose,this.buttons.push(t);var n=this.select.value,i="";"none"===n&&(i+=" nocolor",n="transparent"),this.icon=document.createElement("button"),i&&this.icon.setAttribute("class",i);var r="simple-color-"+Math.random().toString(36).substr(2,10);this.icon.setAttribute("type","button"),this.icon.setAttribute("tabindex","0"),this.icon.style.backgroundColor=n,this.icon.innerHTML='<span class="sr-only">'+this.textSelect+"</span>",this.icon.id=r,this.select.insertAdjacentElement("beforebegin",this.icon),this.icon.addEventListener("click",this.show.bind(this)),this.panel=document.createElement("div"),this.panel.classList.add("simplecolors-panel"),this.panel.setAttribute("aria-labelledby",r),this.hide=this.hide.bind(this),this.colorSelect=this.colorSelect.bind(this),this.buttons.forEach(function(t){t.classList.contains("btn-close")?t.addEventListener("click",e.hide):t.addEventListener("click",e.colorSelect),e.panel.insertAdjacentElement("beforeend",t)}),this.appendChild(this.panel),this.focusableElements=[].slice.call(this.panel.querySelectorAll(this.focusableSelectors.join())),this.keys=this.keys.bind(this),this.hide=this.hide.bind(this),this.mousedown=this.mousedown.bind(this)}},{key:"disconnectedCallback",value:function(){}},{key:"show",value:function(){document.addEventListener("mousedown",this.hide),this.addEventListener("keydown",this.keys),this.panel.addEventListener("mousedown",this.mousedown),this.panel.setAttribute("data-open","");var e=this.panel.querySelector("button");e&&e.focus()}},{key:"hide",value:function(){document.removeEventListener("mousedown",this.hide,!1),this.removeEventListener("keydown",this.keys),this.panel.hasAttribute("data-open")&&this.panel.removeAttribute("data-open"),this.icon.focus()}},{key:"colorSelect",value:function(e){var t="",n="",i="";e.target.classList.contains("nocolor")?(t="none",n="transparent",i="nocolor"):(t=this.rgb2hex(e.target.style.backgroundColor),n=t),this.buttons.forEach(function(e){e.classList.contains("active")&&e.classList.remove("active")}),e.target.classList.add("active"),this.icon.classList.remove("nocolor"),this.icon.setAttribute("class",i),this.icon.style.backgroundColor=n,this.hide(),this.options.forEach(function(e){e.selected&&e.removeAttribute("selected"),e.value===n&&e.setAttribute("selected","")})}},{key:"keys",value:function(e){if(e.keyCode===n&&this.hide(),e.keyCode===t){var i=this.focusableElements.indexOf(document.activeElement);!e.shiftKey||0!==i&&-1!==i||(this.focusableElements[this.focusableElements.length-1].focus(),e.preventDefault()),e.shiftKey||i!==this.focusableElements.length-1||(this.focusableElements[0].focus(),e.preventDefault())}}},{key:"mousedown",value:function(e){e.stopPropagation(),e.preventDefault()}},{key:"getColorName",value:function(e){var t=e;if(4===e.length){var n=e.split("");t=n[0]+n[1]+n[1]+n[2]+n[2]+n[3]+n[3]}for(var i in r)if(r.hasOwnProperty(i)&&t.toLowerCase()===r[i])return i;return this.textColor+" "+e.replace("#","").split("").join(", ")}},{key:"rgb2hex",value:function(e){var t=function(e){return("0"+parseInt(e,10).toString(16)).slice(-2)},n=e.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);return"#"+t(n[1])+t(n[2])+t(n[3])}},{key:"textSelect",get:function(){return this.getAttribute("text-select")}},{key:"textColor",get:function(){return this.getAttribute("text-color")}},{key:"textClose",get:function(){return this.getAttribute("text-close")}},{key:"textTransp",get:function(){return this.getAttribute("text-transparent")}}],[{key:"observedAttributes",get:function(){return["text-select","text-color","text-close","text-transparent"]}}]),o}();e.define("joomla-field-simple-color",o)}(customElements)},{}]},{},[1]);
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L102

Insecure DOM Manipulation (XSS) in joomla-field-user-es5.js

CWE-79
File Location: media/system/webcomponents/js/joomla-field-user-es5.js:102
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- this.modalBody.innerHTML = '';
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L1

Insecure DOM Manipulation (XSS) in joomla-hidden-mail-es5.min.js

CWE-79
File Location: media/system/webcomponents/js/joomla-hidden-mail-es5.min.js:1
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- !function(){return function t(e,r,n){function i(u,a){if(!r[u]){if(!e[u]){var c="function"==typeof require&&require;if(!a&&c)return c(u,!0);if(o)return o(u,!0);var s=new Error("Cannot find module '"+u+"'");throw s.code="MODULE_NOT_FOUND",s}var f=r[u]={exports:{}};e[u][0].call(f.exports,function(t){return i(e[u][1][t]||t)},f,f.exports,t,e,r,n)}return r[u].exports}for(var o="function"==typeof require&&require,u=0;u<n.length;u++)i(n[u]);return i}}()({1:[function(t,e,r){"use strict";var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}();customElements.define("joomla-hidden-mail",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,HTMLElement),n(e,[{key:"connectedCallback",value:function(){var t=void 0,e=this.getAttribute("base")+"/";if("1"===this.getAttribute("is-link")){(t=document.createElement("a")).setAttribute("href","mailto:"+this.b64DecodeUnicode(this.getAttribute("first"))+"@"+this.b64DecodeUnicode(this.getAttribute("last")));for(var r=0,n=this.attributes.length;r<n;++r){var i=this.attributes.item(r).nodeName;if(i){if(["is-link","is-email","first","last","text"].indexOf(i)>-1)continue;var o=this.attributes.item(r).nodeValue;t.setAttribute(i,o)}}}else t=document.createElement("span");if(this.getAttribute("text")){var u=this.b64DecodeUnicode(this.getAttribute("text"));u=u.replace('src="images/','src="'+e+"images/").replace('src="media/','src="'+e+"media/"),t.innerHTML=u}else t.innerText=window.atob(this.getAttribute("first"))+"@"+window.atob(this.getAttribute("last"));this.innerText="",this.appendChild(t)}},{key:"b64DecodeUnicode",value:function(t){return decodeURIComponent(Array.prototype.map.call(atob(t),function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)}).join(""))}}]),e}())},{}]},{},[1]);
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L1

Insecure DOM Manipulation (XSS) in joomla-hidden-mail.min.js

CWE-79
File Location: media/system/webcomponents/js/joomla-hidden-mail.min.js:1
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- customElements.define("joomla-hidden-mail",class extends HTMLElement{connectedCallback(){let t,e=this.getAttribute("base")+"/";if("1"===this.getAttribute("is-link")){(t=document.createElement("a")).setAttribute("href","mailto:"+this.b64DecodeUnicode(this.getAttribute("first"))+"@"+this.b64DecodeUnicode(this.getAttribute("last")));for(let e=0,i=this.attributes.length;e<i;++e){const i=this.attributes.item(e).nodeName;if(i){if(["is-link","is-email","first","last","text"].indexOf(i)>-1)continue;const s=this.attributes.item(e).nodeValue;t.setAttribute(i,s)}}}else t=document.createElement("span");if(this.getAttribute("text")){let i=this.b64DecodeUnicode(this.getAttribute("text"));i=i.replace('src="images/',`src="${e}images/`).replace('src="media/',`src="${e}media/`),t.innerHTML=i}else t.innerText=window.atob(this.getAttribute("first"))+"@"+window.atob(this.getAttribute("last"));this.innerText="",this.appendChild(t)}b64DecodeUnicode(t){return decodeURIComponent(Array.prototype.map.call(atob(t),t=>"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)).join(""))}});
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L1

Insecure DOM Manipulation (XSS) in cropper.min.js

CWE-79
File Location: media/vendor/cropperjs/js/cropper.min.js:1
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- !function(t,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i():"function"==typeof define&&define.amd?define(i):t.Cropper=i()}(this,function(){"use strict";var t="undefined"!=typeof window?window:{},i="cropper-hidden",e=t.PointerEvent?"pointerdown":"touchstart mousedown",a=t.PointerEvent?"pointermove":"touchmove mousemove",n=t.PointerEvent?"pointerup pointercancel":"touchend touchcancel mouseup",o=/^(e|w|s|n|se|sw|ne|nw|all|crop|move|zoom)$/,r=/^data:/,h=/^data:image\/jpeg;base64,/,s=/^(img|canvas)$/i,c={viewMode:0,dragMode:"crop",aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:200,minContainerHeight:100,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},l="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},d=function(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")},p=function(){function t(t,i){for(var e=0;e<i.length;e++){var a=i[e];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}return function(i,e,a){return e&&t(i.prototype,e),a&&t(i,a),i}}(),m=function(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)},u=Number.isNaN||t.isNaN;function g(t){return"number"==typeof t&&!u(t)}function f(t){return void 0===t}function v(t){return"object"===(void 0===t?"undefined":l(t))&&null!==t}var w=Object.prototype.hasOwnProperty;function x(t){if(!v(t))return!1;try{var i=t.constructor,e=i.prototype;return i&&e&&w.call(e,"isPrototypeOf")}catch(t){return!1}}function b(t){return"function"==typeof t}function y(t,i){if(t&&b(i))if(Array.isArray(t)||g(t.length)){var e=t.length,a=void 0;for(a=0;a<e&&!1!==i.call(t,t[a],a,t);a+=1);}else v(t)&&Object.keys(t).forEach(function(e){i.call(t,t[e],e,t)});return t}function C(t){for(var i=arguments.length,e=Array(i>1?i-1:0),a=1;a<i;a++)e[a-1]=arguments[a];if(v(t)&&e.length>0){if(Object.assign)return Object.assign.apply(Object,[t].concat(e));e.forEach(function(i){v(i)&&Object.keys(i).forEach(function(e){t[e]=i[e]})})}return t}function M(t,i){for(var e=arguments.length,a=Array(e>2?e-2:0),n=2;n<e;n++)a[n-2]=arguments[n];return function(){for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return t.apply(i,a.concat(n))}}var D=/\.\d*(?:0|9){12}\d*$/i;function B(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e11;return D.test(t)?Math.round(t*i)/i:t}var k=/^(width|height|left|top|marginLeft|marginTop)$/;function E(t,i){var e=t.style;y(i,function(t,i){k.test(i)&&g(t)&&(t+="px"),e[i]=t})}function T(t,i){if(i)if(g(t.length))y(t,function(t){T(t,i)});else if(t.classList)t.classList.add(i);else{var e=t.className.trim();e?e.indexOf(i)<0&&(t.className=e+" "+i):t.className=i}}function W(t,i){i&&(g(t.length)?y(t,function(t){W(t,i)}):t.classList?t.classList.remove(i):t.className.indexOf(i)>=0&&(t.className=t.className.replace(i,"")))}function N(t,i,e){i&&(g(t.length)?y(t,function(t){N(t,i,e)}):e?T(t,i):W(t,i))}var H=/([a-z\d])([A-Z])/g;function L(t){return t.replace(H,"$1-$2").toLowerCase()}function Y(t,i){return v(t[i])?t[i]:t.dataset?t.dataset[i]:t.getAttribute("data-"+L(i))}function X(t,i,e){v(e)?t[i]=e:t.dataset?t.dataset[i]=e:t.setAttribute("data-"+L(i),e)}function O(t,i){if(v(t[i]))try{delete t[i]}catch(e){t[i]=null}else if(t.dataset)try{delete t.dataset[i]}catch(e){t.dataset[i]=null}else t.removeAttribute("data-"+L(i))}var S=/\s+/;function z(t,i,e){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(b(e)){var n=i.trim().split(S);n.length>1?y(n,function(i){z(t,i,e,a)}):t.removeEventListener?t.removeEventListener(i,e,a):t.detachEvent&&t.detachEvent("on"+i,e)}}function R(t,i,e){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(b(e)){var n=i.trim().split(S);if(n.length>1)y(n,function(i){R(t,i,e,a)});else{if(a.once){var o=e;e=function(){for(var n=arguments.length,r=Array(n),h=0;h<n;h++)r[h]=arguments[h];return z(t,i,e,a),o.apply(t,r)}}t.addEventListener?t.addEventListener(i,e,a):t.attachEvent&&t.attachEvent("on"+i,e)}}}function A(t,i,e){if(t.dispatchEvent){var a=void 0;return b(Event)&&b(CustomEvent)?a=f(e)?new Event(i,{bubbles:!0,cancelable:!0}):new CustomEvent(i,{detail:e,bubbles:!0,cancelable:!0}):f(e)?(a=document.createEvent("Event")).initEvent(i,!0,!0):(a=document.createEvent("CustomEvent")).initCustomEvent(i,!0,!0,e),t.dispatchEvent(a)}return!t.fireEvent||t.fireEvent("on"+i)}function I(t){var i=document.documentElement,e=t.getBoundingClientRect();return{left:e.left+((window.scrollX||i&&i.scrollLeft||0)-(i&&i.clientLeft||0)),top:e.top+((window.scrollY||i&&i.scrollTop||0)-(i&&i.clientTop||0))}}var U=t.location,j=/^(https?:)\/\/([^:/?#]+):?(\d*)/i;function P(t){var i=t.match(j);return i&&(i[1]!==U.protocol||i[2]!==U.hostname||i[3]!==U.port)}function q(t){var i="timestamp="+(new Date).getTime();return t+(-1===t.indexOf("?")?"?":"&")+i}function $(t){var i=t.rotate,e=t.scaleX,a=t.scaleY,n=t.translateX,o=t.translateY,r=[];g(n)&&0!==n&&r.push("translateX("+n+"px)"),g(o)&&0!==o&&r.push("translateY("+o+"px)"),g(i)&&0!==i&&r.push("rotate("+i+"deg)"),g(e)&&1!==e&&r.push("scaleX("+e+")"),g(a)&&1!==a&&r.push("scaleY("+a+")");var h=r.length?r.join(" "):"none";return{WebkitTransform:h,msTransform:h,transform:h}}var Q=t.navigator,Z=Q&&/(Macintosh|iPhone|iPod|iPad).*AppleWebKit/i.test(Q.userAgent);function F(t,i){var e=t.pageX,a=t.pageY,n={endX:e,endY:a};return i?n:C({startX:e,startY:a},n)}var K=Number.isFinite||t.isFinite;function V(t){var i=t.aspectRatio,e=t.height,a=t.width,n=function(t){return K(t)&&t>0};return n(a)&&n(e)?e*i>a?e=a/i:a=e*i:n(a)?e=a/i:n(e)&&(a=e*i),{width:a,height:e}}var G=String.fromCharCode;var J=/^data:.*,/;function _(t){var i=new DataView(t),e=void 0,a=void 0,n=void 0,o=void 0;if(255===i.getUint8(0)&&216===i.getUint8(1))for(var r=i.byteLength,h=2;h<r;){if(255===i.getUint8(h)&&225===i.getUint8(h+1)){n=h;break}h+=1}if(n){var s=n+10;if("Exif"===function(t,i,e){var a="",n=void 0;for(e+=i,n=i;n<e;n+=1)a+=G(t.getUint8(n));return a}(i,n+4,4)){var c=i.getUint16(s);if(((a=18761===c)||19789===c)&&42===i.getUint16(s+2,a)){var l=i.getUint32(s+4,a);l>=8&&(o=s+l)}}}if(o){var d=i.getUint16(o,a),p=void 0,m=void 0;for(m=0;m<d;m+=1)if(p=o+12*m+2,274===i.getUint16(p,a)){p+=8,e=i.getUint16(p,a),i.setUint16(p,1,a);break}}return e}var tt={render:function(){this.initContainer(),this.initCanvas(),this.initCropBox(),this.renderCanvas(),this.cropped&&this.renderCropBox()},initContainer:function(){var t=this.element,e=this.options,a=this.container,n=this.cropper;T(n,i),W(t,i);var o={width:Math.max(a.offsetWidth,Number(e.minContainerWidth)||200),height:Math.max(a.offsetHeight,Number(e.minContainerHeight)||100)};this.containerData=o,E(n,{width:o.width,height:o.height}),T(t,i),W(n,i)},initCanvas:function(){var t=this.containerData,i=this.imageData,e=this.options.viewMode,a=Math.abs(i.rotate)%180==90,n=a?i.naturalHeight:i.naturalWidth,o=a?i.naturalWidth:i.naturalHeight,r=n/o,h=t.width,s=t.height;t.height*r>t.width?3===e?h=t.height*r:s=t.width/r:3===e?s=t.width/r:h=t.height*r;var c={aspectRatio:r,naturalWidth:n,naturalHeight:o,width:h,height:s};c.left=(t.width-h)/2,c.top=(t.height-s)/2,c.oldLeft=c.left,c.oldTop=c.top,this.canvasData=c,this.limited=1===e||2===e,this.limitCanvas(!0,!0),this.initialImageData=C({},i),this.initialCanvasData=C({},c)},limitCanvas:function(t,i){var e=this.options,a=this.containerData,n=this.canvasData,o=this.cropBoxData,r=e.viewMode,h=n.aspectRatio,s=this.cropped&&o;if(t){var c=Number(e.minCanvasWidth)||0,l=Number(e.minCanvasHeight)||0;r>1?(c=Math.max(c,a.width),l=Math.max(l,a.height),3===r&&(l*h>c?c=l*h:l=c/h)):r>0&&(c?c=Math.max(c,s?o.width:0):l?l=Math.max(l,s?o.height:0):s&&(c=o.width,(l=o.height)*h>c?c=l*h:l=c/h));var d=V({aspectRatio:h,width:c,height:l});c=d.width,l=d.height,n.minWidth=c,n.minHeight=l,n.maxWidth=1/0,n.maxHeight=1/0}if(i)if(r){var p=a.width-n.width,m=a.height-n.height;n.minLeft=Math.min(0,p),n.minTop=Math.min(0,m),n.maxLeft=Math.max(0,p),n.maxTop=Math.max(0,m),s&&this.limited&&(n.minLeft=Math.min(o.left,o.left+(o.width-n.width)),n.minTop=Math.min(o.top,o.top+(o.height-n.height)),n.maxLeft=o.left,n.maxTop=o.top,2===r&&(n.width>=a.width&&(n.minLeft=Math.min(0,p),n.maxLeft=Math.max(0,p)),n.height>=a.height&&(n.minTop=Math.min(0,m),n.maxTop=Math.max(0,m))))}else n.minLeft=-n.width,n.minTop=-n.height,n.maxLeft=a.width,n.maxTop=a.height},renderCanvas:function(t,i){var e=this.canvasData,a=this.imageData;if(i){var n=function(t){var i=t.width,e=t.height,a=t.degree;if(90==(a=Math.abs(a)%180))return{width:e,height:i};var n=a%90*Math.PI/180,o=Math.sin(n),r=Math.cos(n),h=i*r+e*o,s=i*o+e*r;return a>90?{width:s,height:h}:{width:h,height:s}}({width:a.naturalWidth*Math.abs(a.scaleX||1),height:a.naturalHeight*Math.abs(a.scaleY||1),degree:a.rotate||0}),o=n.width,r=n.height,h=e.width*(o/e.naturalWidth),s=e.height*(r/e.naturalHeight);e.left-=(h-e.width)/2,e.top-=(s-e.height)/2,e.width=h,e.height=s,e.aspectRatio=o/r,e.naturalWidth=o,e.naturalHeight=r,this.limitCanvas(!0,!1)}(e.width>e.maxWidth||e.width<e.minWidth)&&(e.left=e.oldLeft),(e.height>e.maxHeight||e.height<e.minHeight)&&(e.top=e.oldTop),e.width=Math.min(Math.max(e.width,e.minWidth),e.maxWidth),e.height=Math.min(Math.max(e.height,e.minHeight),e.maxHeight),this.limitCanvas(!1,!0),e.left=Math.min(Math.max(e.left,e.minLeft),e.maxLeft),e.top=Math.min(Math.max(e.top,e.minTop),e.maxTop),e.oldLeft=e.left,e.oldTop=e.top,E(this.canvas,C({width:e.width,height:e.height},$({translateX:e.left,translateY:e.top}))),this.renderImage(t),this.cropped&&this.limited&&this.limitCropBox(!0,!0)},renderImage:function(t){var i=this.canvasData,e=this.imageData,a=e.naturalWidth*(i.width/i.naturalWidth),n=e.naturalHeight*(i.height/i.naturalHeight);C(e,{width:a,height:n,left:(i.width-a)/2,top:(i.height-n)/2}),E(this.image,C({width:e.width,height:e.height},$(C({translateX:e.left,translateY:e.top},e)))),t&&this.output()},initCropBox:function(){var t=this.options,i=this.canvasData,e=t.aspectRatio,a=Number(t.autoCropArea)||.8,n={width:i.width,height:i.height};e&&(i.height*e>i.width?n.height=n.width/e:n.width=n.height*e),this.cropBoxData=n,this.limitCropBox(!0,!0),n.width=Math.min(Math.max(n.width,n.minWidth),n.maxWidth),n.height=Math.min(Math.max(n.height,n.minHeight),n.maxHeight),n.width=Math.max(n.minWidth,n.width*a),n.height=Math.max(n.minHeight,n.height*a),n.left=i.left+(i.width-n.width)/2,n.top=i.top+(i.height-n.height)/2,n.oldLeft=n.left,n.oldTop=n.top,this.initialCropBoxData=C({},n)},limitCropBox:function(t,i){var e=this.options,a=this.containerData,n=this.canvasData,o=this.cropBoxData,r=this.limited,h=e.aspectRatio;if(t){var s=Number(e.minCropBoxWidth)||0,c=Number(e.minCropBoxHeight)||0,l=Math.min(a.width,r?n.width:a.width),d=Math.min(a.height,r?n.height:a.height);s=Math.min(s,a.width),c=Math.min(c,a.height),h&&(s&&c?c*h>s?c=s/h:s=c*h:s?c=s/h:c&&(s=c*h),d*h>l?d=l/h:l=d*h),o.minWidth=Math.min(s,l),o.minHeight=Math.min(c,d),o.maxWidth=l,o.maxHeight=d}i&&(r?(o.minLeft=Math.max(0,n.left),o.minTop=Math.max(0,n.top),o.maxLeft=Math.min(a.width,n.left+n.width)-o.width,o.maxTop=Math.min(a.height,n.top+n.height)-o.height):(o.minLeft=0,o.minTop=0,o.maxLeft=a.width-o.width,o.maxTop=a.height-o.height))},renderCropBox:function(){var t=this.options,i=this.containerData,e=this.cropBoxData;(e.width>e.maxWidth||e.width<e.minWidth)&&(e.left=e.oldLeft),(e.height>e.maxHeight||e.height<e.minHeight)&&(e.top=e.oldTop),e.width=Math.min(Math.max(e.width,e.minWidth),e.maxWidth),e.height=Math.min(Math.max(e.height,e.minHeight),e.maxHeight),this.limitCropBox(!1,!0),e.left=Math.min(Math.max(e.left,e.minLeft),e.maxLeft),e.top=Math.min(Math.max(e.top,e.minTop),e.maxTop),e.oldLeft=e.left,e.oldTop=e.top,t.movable&&t.cropBoxMovable&&X(this.face,"action",e.width>=i.width&&e.height>=i.height?"move":"all"),E(this.cropBox,C({width:e.width,height:e.height},$({translateX:e.left,translateY:e.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),this.complete&&A(this.element,"crop",this.getData())}},it={initPreview:function(){var t=this.crossOrigin,i=this.options.preview,e=t?this.crossOriginUrl:this.url,a=document.createElement("img");if(t&&(a.crossOrigin=t),a.src=e,this.viewBox.appendChild(a),this.image2=a,i){var n=i.querySelector?[i]:document.querySelectorAll(i);this.previews=n,y(n,function(i){var a=document.createElement("img");X(i,"preview",{width:i.offsetWidth,height:i.offsetHeight,html:i.innerHTML}),t&&(a.crossOrigin=t),a.src=e,a.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',function(t){for(;t.firstChild;)t.removeChild(t.firstChild)}(i),i.appendChild(a)})}},resetPreview:function(){y(this.previews,function(t){var i=Y(t,"preview");E(t,{width:i.width,height:i.height}),t.innerHTML=i.html,O(t,"preview")})},preview:function(){var t=this.imageData,i=this.canvasData,e=this.cropBoxData,a=e.width,n=e.height,o=t.width,r=t.height,h=e.left-i.left-t.left,s=e.top-i.top-t.top;this.cropped&&!this.disabled&&(E(this.image2,C({width:o,height:r},$(C({translateX:-h,translateY:-s},t)))),y(this.previews,function(i){var e=Y(i,"preview"),c=e.width,l=e.height,d=c,p=l,m=1;a&&(p=n*(m=c/a)),n&&p>l&&(d=a*(m=l/n),p=l),E(i,{width:d,height:p}),E(i.getElementsByTagName("img")[0],C({width:o*m,height:r*m},$(C({translateX:-h*m,translateY:-s*m},t))))}))}},et={bind:function(){var t=this.element,i=this.options,o=this.cropper;b(i.cropstart)&&R(t,"cropstart",i.cropstart),b(i.cropmove)&&R(t,"cropmove",i.cropmove),b(i.cropend)&&R(t,"cropend",i.cropend),b(i.crop)&&R(t,"crop",i.crop),b(i.zoom)&&R(t,"zoom",i.zoom),R(o,e,this.onCropStart=M(this.cropStart,this)),i.zoomable&&i.zoomOnWheel&&R(o,"wheel mousewheel DOMMouseScroll",this.onWheel=M(this.wheel,this)),i.toggleDragModeOnDblclick&&R(o,"dblclick",this.onDblclick=M(this.dblclick,this)),R(t.ownerDocument,a,this.onCropMove=M(this.cropMove,this)),R(t.ownerDocument,n,this.onCropEnd=M(this.cropEnd,this)),i.responsive&&R(window,"resize",this.onResize=M(this.resize,this))},unbind:function(){var t=this.element,i=this.options,o=this.cropper;b(i.cropstart)&&z(t,"cropstart",i.cropstart),b(i.cropmove)&&z(t,"cropmove",i.cropmove),b(i.cropend)&&z(t,"cropend",i.cropend),b(i.crop)&&z(t,"crop",i.crop),b(i.zoom)&&z(t,"zoom",i.zoom),z(o,e,this.onCropStart),i.zoomable&&i.zoomOnWheel&&z(o,"wheel mousewheel DOMMouseScroll",this.onWheel),i.toggleDragModeOnDblclick&&z(o,"dblclick",this.onDblclick),z(t.ownerDocument,a,this.onCropMove),z(t.ownerDocument,n,this.onCropEnd),i.responsive&&z(window,"resize",this.onResize)}},at={resize:function(){var t=this.options,i=this.container,e=this.containerData,a=Number(t.minContainerWidth)||200,n=Number(t.minContainerHeight)||100;if(!(this.disabled||e.width<=a||e.height<=n)){var o=i.offsetWidth/e.width;if(1!==o||i.offsetHeight!==e.height){var r=void 0,h=void 0;t.restore&&(r=this.getCanvasData(),h=this.getCropBoxData()),this.render(),t.restore&&(this.setCanvasData(y(r,function(t,i){r[i]=t*o})),this.setCropBoxData(y(h,function(t,i){h[i]=t*o})))}}},dblclick:function(){var t,i;this.disabled||"none"===this.options.dragMode||this.setDragMode((t=this.dragBox,i="cropper-crop",(t.classList?t.classList.contains(i):t.className.indexOf(i)>-1)?"move":"crop"))},wheel:function(t){var i=this,e=Number(this.options.wheelZoomRatio)||.1,a=1;this.disabled||(t.preventDefault(),this.wheeling||(this.wheeling=!0,setTimeout(function(){i.wheeling=!1},50),t.deltaY?a=t.deltaY>0?1:-1:t.wheelDelta?a=-t.wheelDelta/120:t.detail&&(a=t.detail>0?1:-1),this.zoom(-a*e,t)))},cropStart:function(t){if(!this.disabled){var i=this.options,e=this.pointers,a=void 0;t.changedTouches?y(t.changedTouches,function(t){e[t.identifier]=F(t)}):e[t.pointerId||0]=F(t),a=Object.keys(e).length>1&&i.zoomable&&i.zoomOnTouch?"zoom":Y(t.target,"action"),o.test(a)&&!1!==A(this.element,"cropstart",{originalEvent:t,action:a})&&(t.preventDefault(),this.action=a,this.cropping=!1,"crop"===a&&(this.cropping=!0,T(this.dragBox,"cropper-modal")))}},cropMove:function(t){var i=this.action;if(!this.disabled&&i){var e=this.pointers;t.preventDefault(),!1!==A(this.element,"cropmove",{originalEvent:t,action:i})&&(t.changedTouches?y(t.changedTouches,function(t){C(e[t.identifier],F(t,!0))}):C(e[t.pointerId||0],F(t,!0)),this.change(t))}},cropEnd:function(t){if(!this.disabled){var i=this.action,e=this.pointers;t.changedTouches?y(t.changedTouches,function(t){delete e[t.identifier]}):delete e[t.pointerId||0],i&&(t.preventDefault(),Object.keys(e).length||(this.action=""),this.cropping&&(this.cropping=!1,N(this.dragBox,"cropper-modal",this.cropped&&this.options.modal)),A(this.element,"cropend",{originalEvent:t,action:i}))}}},nt={change:function(t){var e=this.options,a=this.canvasData,n=this.containerData,o=this.cropBoxData,r=this.pointers,h=this.action,s=e.aspectRatio,c=o.left,l=o.top,d=o.width,p=o.height,m=c+d,u=l+p,g=0,f=0,v=n.width,w=n.height,x=!0,b=void 0;!s&&t.shiftKey&&(s=d&&p?d/p:1),this.limited&&(g=o.minLeft,f=o.minTop,v=g+Math.min(n.width,a.width,a.left+a.width),w=f+Math.min(n.height,a.height,a.top+a.height));var M=r[Object.keys(r)[0]],D={x:M.endX-M.startX,y:M.endY-M.startY},B=function(t){switch(t){case"e":m+D.x>v&&(D.x=v-m);break;case"w":c+D.x<g&&(D.x=g-c);break;case"n":l+D.y<f&&(D.y=f-l);break;case"s":u+D.y>w&&(D.y=w-u)}};switch(h){case"all":c+=D.x,l+=D.y;break;case"e":if(D.x>=0&&(m>=v||s&&(l<=f||u>=w))){x=!1;break}B("e"),d+=D.x,s&&(p=d/s,l-=D.x/s/2),d<0&&(h="w",d=0);break;case"n":if(D.y<=0&&(l<=f||s&&(c<=g||m>=v))){x=!1;break}B("n"),p-=D.y,l+=D.y,s&&(d=p*s,c+=D.y*s/2),p<0&&(h="s",p=0);break;case"w":if(D.x<=0&&(c<=g||s&&(l<=f||u>=w))){x=!1;break}B("w"),d-=D.x,c+=D.x,s&&(p=d/s,l+=D.x/s/2),d<0&&(h="e",d=0);break;case"s":if(D.y>=0&&(u>=w||s&&(c<=g||m>=v))){x=!1;break}B("s"),p+=D.y,s&&(d=p*s,c-=D.y*s/2),p<0&&(h="n",p=0);break;case"ne":if(s){if(D.y<=0&&(l<=f||m>=v)){x=!1;break}B("n"),p-=D.y,l+=D.y,d=p*s}else B("n"),B("e"),D.x>=0?m<v?d+=D.x:D.y<=0&&l<=f&&(x=!1):d+=D.x,D.y<=0?l>f&&(p-=D.y,l+=D.y):(p-=D.y,l+=D.y);d<0&&p<0?(h="sw",p=0,d=0):d<0?(h="nw",d=0):p<0&&(h="se",p=0);break;case"nw":if(s){if(D.y<=0&&(l<=f||c<=g)){x=!1;break}B("n"),p-=D.y,l+=D.y,d=p*s,c+=D.y*s}else B("n"),B("w"),D.x<=0?c>g?(d-=D.x,c+=D.x):D.y<=0&&l<=f&&(x=!1):(d-=D.x,c+=D.x),D.y<=0?l>f&&(p-=D.y,l+=D.y):(p-=D.y,l+=D.y);d<0&&p<0?(h="se",p=0,d=0):d<0?(h="ne",d=0):p<0&&(h="sw",p=0);break;case"sw":if(s){if(D.x<=0&&(c<=g||u>=w)){x=!1;break}B("w"),d-=D.x,c+=D.x,p=d/s}else B("s"),B("w"),D.x<=0?c>g?(d-=D.x,c+=D.x):D.y>=0&&u>=w&&(x=!1):(d-=D.x,c+=D.x),D.y>=0?u<w&&(p+=D.y):p+=D.y;d<0&&p<0?(h="ne",p=0,d=0):d<0?(h="se",d=0):p<0&&(h="nw",p=0);break;case"se":if(s){if(D.x>=0&&(m>=v||u>=w)){x=!1;break}B("e"),p=(d+=D.x)/s}else B("s"),B("e"),D.x>=0?m<v?d+=D.x:D.y>=0&&u>=w&&(x=!1):d+=D.x,D.y>=0?u<w&&(p+=D.y):p+=D.y;d<0&&p<0?(h="nw",p=0,d=0):d<0?(h="sw",d=0):p<0&&(h="ne",p=0);break;case"move":this.move(D.x,D.y),x=!1;break;case"zoom":this.zoom(function(t){var i=C({},t),e=[];return y(t,function(t,a){delete i[a],y(i,function(i){var a=Math.abs(t.startX-i.startX),n=Math.abs(t.startY-i.startY),o=Math.abs(t.endX-i.endX),r=Math.abs(t.endY-i.endY),h=Math.sqrt(a*a+n*n),s=(Math.sqrt(o*o+r*r)-h)/h;e.push(s)})}),e.sort(function(t,i){return Math.abs(t)<Math.abs(i)}),e[0]}(r),t),x=!1;break;case"crop":if(!D.x||!D.y){x=!1;break}b=I(this.cropper),c=M.startX-b.left,l=M.startY-b.top,d=o.minWidth,p=o.minHeight,D.x>0?h=D.y>0?"se":"ne":D.x<0&&(c-=d,h=D.y>0?"sw":"nw"),D.y<0&&(l-=p),this.cropped||(W(this.cropBox,i),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0))}x&&(o.width=d,o.height=p,o.left=c,o.top=l,this.action=h,this.renderCropBox()),y(r,function(t){t.startX=t.endX,t.startY=t.endY})}},ot={crop:function(){return this.ready&&!this.disabled&&(this.cropped||(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&T(this.dragBox,"cropper-modal"),W(this.cropBox,i)),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=C({},this.initialImageData),this.canvasData=C({},this.initialCanvasData),this.cropBoxData=C({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(C(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),W(this.dragBox,"cropper-modal"),T(this.cropBox,i)),this},replace:function(t){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!this.disabled&&t&&(this.isImg&&(this.element.src=t),i?(this.url=t,this.image.src=t,this.ready&&(this.image2.src=t,y(this.previews,function(i){i.getElementsByTagName("img")[0].src=t}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.load(t))),this},enable:function(){return this.ready&&(this.disabled=!1,W(this.cropper,"cropper-disabled")),this},disable:function(){return this.ready&&(this.disabled=!0,T(this.cropper,"cropper-disabled")),this},destroy:function(){var t=this.element,e=this.image;return this.loaded?(this.isImg&&this.replaced&&(t.src=this.originalUrl),this.unbuild(),W(t,i)):this.isImg?z(t,"load",this.onStart):e&&e.parentNode.removeChild(e),O(t,"cropper"),this},move:function(t,i){var e=this.canvasData,a=e.left,n=e.top;return this.moveTo(f(t)?t:a+Number(t),f(i)?i:n+Number(i))},moveTo:function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,e=this.canvasData,a=!1;return t=Number(t),i=Number(i),this.ready&&!this.disabled&&this.options.movable&&(g(t)&&(e.left=t,a=!0),g(i)&&(e.top=i,a=!0),a&&this.renderCanvas(!0)),this},zoom:function(t,i){var e=this.canvasData;return t=(t=Number(t))<0?1/(1-t):1+t,this.zoomTo(e.width*t/e.naturalWidth,null,i)},zoomTo:function(t,i,e){var a=this.options,n=this.canvasData,o=n.width,r=n.height,h=n.naturalWidth,s=n.naturalHeight;if((t=Number(t))>=0&&this.ready&&!this.disabled&&a.zoomable){var c=h*t,l=s*t;if(!1===A(this.element,"zoom",{originalEvent:e,oldRatio:o/h,ratio:c/h}))return this;if(e){var d=this.pointers,p=I(this.cropper),m=d&&Object.keys(d).length?function(t){var i=0,e=0,a=0;return y(t,function(t){var n=t.startX,o=t.startY;i+=n,e+=o,a+=1}),{pageX:i/=a,pageY:e/=a}}(d):{pageX:e.pageX,pageY:e.pageY};n.left-=(c-o)*((m.pageX-p.left-n.left)/o),n.top-=(l-r)*((m.pageY-p.top-n.top)/r)}else x(i)&&g(i.x)&&g(i.y)?(n.left-=(c-o)*((i.x-n.left)/o),n.top-=(l-r)*((i.y-n.top)/r)):(n.left-=(c-o)/2,n.top-=(l-r)/2);n.width=c,n.height=l,this.renderCanvas(!0)}return this},rotate:function(t){return this.rotateTo((this.imageData.rotate||0)+Number(t))},rotateTo:function(t){return g(t=Number(t))&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=t%360,this.renderCanvas(!0,!0)),this},scaleX:function(t){var i=this.imageData.scaleY;return this.scale(t,g(i)?i:1)},scaleY:function(t){var i=this.imageData.scaleX;return this.scale(g(i)?i:1,t)},scale:function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,e=this.imageData,a=!1;return t=Number(t),i=Number(i),this.ready&&!this.disabled&&this.options.scalable&&(g(t)&&(e.scaleX=t,a=!0),g(i)&&(e.scaleY=i,a=!0),a&&this.renderCanvas(!0,!0)),this},getData:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=this.options,e=this.imageData,a=this.canvasData,n=this.cropBoxData,o=void 0;if(this.ready&&this.cropped){o={x:n.left-a.left,y:n.top-a.top,width:n.width,height:n.height};var r=e.width/e.naturalWidth;y(o,function(i,e){i/=r,o[e]=t?Math.round(i):i})}else o={x:0,y:0,width:0,height:0};return i.rotatable&&(o.rotate=e.rotate||0),i.scalable&&(o.scaleX=e.scaleX||1,o.scaleY=e.scaleY||1),o},setData:function(t){var i=this.options,e=this.imageData,a=this.canvasData,n={};if(b(t)&&(t=t.call(this.element)),this.ready&&!this.disabled&&x(t)){var o=!1;i.rotatable&&g(t.rotate)&&t.rotate!==e.rotate&&(e.rotate=t.rotate,o=!0),i.scalable&&(g(t.scaleX)&&t.scaleX!==e.scaleX&&(e.scaleX=t.scaleX,o=!0),g(t.scaleY)&&t.scaleY!==e.scaleY&&(e.scaleY=t.scaleY,o=!0)),o&&this.renderCanvas(!0,!0);var r=e.width/e.naturalWidth;g(t.x)&&(n.left=t.x*r+a.left),g(t.y)&&(n.top=t.y*r+a.top),g(t.width)&&(n.width=t.width*r),g(t.height)&&(n.height=t.height*r),this.setCropBoxData(n)}return this},getContainerData:function(){return this.ready?C({},this.containerData):{}},getImageData:function(){return this.loaded?C({},this.imageData):{}},getCanvasData:function(){var t=this.canvasData,i={};return this.ready&&y(["left","top","width","height","naturalWidth","naturalHeight"],function(e){i[e]=t[e]}),i},setCanvasData:function(t){var i=this.canvasData,e=i.aspectRatio;return b(t)&&(t=t.call(this.element)),this.ready&&!this.disabled&&x(t)&&(g(t.left)&&(i.left=t.left),g(t.top)&&(i.top=t.top),g(t.width)?(i.width=t.width,i.height=t.width/e):g(t.height)&&(i.height=t.height,i.width=t.height*e),this.renderCanvas(!0)),this},getCropBoxData:function(){var t=this.cropBoxData,i=void 0;return this.ready&&this.cropped&&(i={left:t.left,top:t.top,width:t.width,height:t.height}),i||{}},setCropBoxData:function(t){var i=this.cropBoxData,e=this.options.aspectRatio,a=void 0,n=void 0;return b(t)&&(t=t.call(this.element)),this.ready&&this.cropped&&!this.disabled&&x(t)&&(g(t.left)&&(i.left=t.left),g(t.top)&&(i.top=t.top),g(t.width)&&t.width!==i.width&&(a=!0,i.width=t.width),g(t.height)&&t.height!==i.height&&(n=!0,i.height=t.height),e&&(a?i.height=i.width/e:n&&(i.width=i.height*e)),this.renderCropBox()),this},getCroppedCanvas:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var i=this.canvasData,e=function(t,i,e,a){var n=i.naturalWidth,o=i.naturalHeight,r=i.rotate,h=void 0===r?0:r,s=i.scaleX,c=void 0===s?1:s,l=i.scaleY,d=void 0===l?1:l,p=e.aspectRatio,u=e.naturalWidth,g=e.naturalHeight,f=a.fillColor,v=void 0===f?"transparent":f,w=a.imageSmoothingEnabled,x=void 0===w||w,b=a.imageSmoothingQuality,y=void 0===b?"low":b,C=a.maxWidth,M=void 0===C?1/0:C,D=a.maxHeight,k=void 0===D?1/0:D,E=a.minWidth,T=void 0===E?0:E,W=a.minHeight,N=void 0===W?0:W,H=document.createElement("canvas"),L=H.getContext("2d"),Y=V({aspectRatio:p,width:M,height:k}),X=V({aspectRatio:p,width:T,height:N}),O=Math.min(Y.width,Math.max(X.width,u)),S=Math.min(Y.height,Math.max(X.height,g)),z=[-n/2,-o/2,n,o];return H.width=B(O),H.height=B(S),L.fillStyle=v,L.fillRect(0,0,O,S),L.save(),L.translate(O/2,S/2),L.rotate(h*Math.PI/180),L.scale(c,d),L.imageSmoothingEnabled=x,L.imageSmoothingQuality=y,L.drawImage.apply(L,[t].concat(m(z.map(function(t){return Math.floor(B(t))})))),L.restore(),H}(this.image,this.imageData,i,t);if(!this.cropped)return e;var a=this.getData(),n=a.x,o=a.y,r=a.width,h=a.height,s=r/h,c=V({aspectRatio:s,width:t.maxWidth||1/0,height:t.maxHeight||1/0}),l=V({aspectRatio:s,width:t.minWidth||0,height:t.minHeight||0}),d=V({aspectRatio:s,width:t.width||r,height:t.height||h}),p=d.width,u=d.height;p=Math.min(c.width,Math.max(l.width,p)),u=Math.min(c.height,Math.max(l.height,u));var g=document.createElement("canvas"),f=g.getContext("2d");g.width=B(p),g.height=B(u),f.fillStyle=t.fillColor||"transparent",f.fillRect(0,0,p,u);var v=t.imageSmoothingEnabled,w=void 0===v||v,x=t.imageSmoothingQuality;f.imageSmoothingEnabled=w,x&&(f.imageSmoothingQuality=x);var b=e.width,y=e.height,C=n,M=o,D=void 0,k=void 0,E=void 0,T=void 0,W=void 0,N=void 0;C<=-r||C>b?(C=0,D=0,E=0,W=0):C<=0?(E=-C,C=0,W=D=Math.min(b,r+C)):C<=b&&(E=0,W=D=Math.min(r,b-C)),D<=0||M<=-h||M>y?(M=0,k=0,T=0,N=0):M<=0?(T=-M,M=0,N=k=Math.min(y,h+M)):M<=y&&(T=0,N=k=Math.min(h,y-M));var H=[C,M,D,k];if(W>0&&N>0){var L=p/r;H.push(E*L,T*L,W*L,N*L)}return f.drawImage.apply(f,[e].concat(m(H.map(function(t){return Math.floor(B(t))})))),g},setAspectRatio:function(t){var i=this.options;return this.disabled||f(t)||(i.aspectRatio=Math.max(0,t)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(t){var i=this.options,e=this.dragBox,a=this.face;if(this.loaded&&!this.disabled){var n="crop"===t,o=i.movable&&"move"===t;X(e,"action",t=n||o?t:"none"),N(e,"cropper-crop",n),N(e,"cropper-move",o),i.cropBoxMovable||(X(a,"action",t),N(a,"cropper-crop",n),N(a,"cropper-move",o))}return this}},rt=t.Cropper,ht=function(){function t(i){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(d(this,t),!i||!s.test(i.tagName))throw new Error("The first argument is required and must be an <img> or <canvas> element.");this.element=i,this.options=C({},c,x(e)&&e),this.complete=!1,this.cropped=!1,this.disabled=!1,this.isImg=!1,this.limited=!1,this.loaded=!1,this.ready=!1,this.replaced=!1,this.wheeling=!1,this.originalUrl="",this.canvasData=null,this.cropBoxData=null,this.previews=null,this.pointers={},this.init()}return p(t,[{key:"init",value:function(){var t=this.element,i=t.tagName.toLowerCase(),e=void 0;if(!Y(t,"cropper")){if(X(t,"cropper",this),"img"===i){if(this.isImg=!0,e=t.getAttribute("src")||"",this.originalUrl=e,!e)return;e=t.src}else"canvas"===i&&window.HTMLCanvasElement&&(e=t.toDataURL());this.load(e)}}},{key:"load",value:function(t){var i=this;if(t){this.url=t,this.imageData={};var e=this.element,a=this.options;if(a.checkOrientation&&window.ArrayBuffer)if(r.test(t))h.test(t)?this.read((n=t.replace(J,""),o=atob(n),s=new ArrayBuffer(o.length),y(c=new Uint8Array(s),function(t,i){c[i]=o.charCodeAt(i)}),s)):this.clone();else{var n,o,s,c,l=new XMLHttpRequest;l.onerror=function(){i.clone()},l.onload=function(){i.read(l.response)},a.checkCrossOrigin&&P(t)&&e.crossOrigin&&(t=q(t)),l.open("get",t),l.responseType="arraybuffer",l.withCredentials="use-credentials"===e.crossOrigin,l.send()}else this.clone()}}},{key:"read",value:function(t){var i=this.options,e=this.imageData,a=_(t),n=0,o=1,r=1;if(a>1){this.url=function(t,i){var e="";return y(new Uint8Array(t),function(t){e+=G(t)}),"data:"+i+";base64,"+btoa(e)}(t,"image/jpeg");var h=function(t){var i=0,e=1,a=1;switch(t){case 2:e=-1;break;case 3:i=-180;break;case 4:a=-1;break;case 5:i=90,a=-1;break;case 6:i=90;break;case 7:i=90,e=-1;break;case 8:i=-90}return{rotate:i,scaleX:e,scaleY:a}}(a);n=h.rotate,o=h.scaleX,r=h.scaleY}i.rotatable&&(e.rotate=n),i.scalable&&(e.scaleX=o,e.scaleY=r),this.clone()}},{key:"clone",value:function(){var t=this.element,i=this.url,e=void 0,a=void 0;this.options.checkCrossOrigin&&P(i)&&((e=t.crossOrigin)?a=i:(e="anonymous",a=q(i))),this.crossOrigin=e,this.crossOriginUrl=a;var n=document.createElement("img");e&&(n.crossOrigin=e),n.src=a||i;var o=M(this.start,this),r=M(this.stop,this);this.image=n,this.onStart=o,this.onStop=r,this.isImg?t.complete?this.start():R(t,"load",o):(R(n,"load",o),R(n,"error",r),T(n,"cropper-hide"),t.parentNode.insertBefore(n,t.nextSibling))}},{key:"start",value:function(t){var i=this,e=this.isImg?this.element:this.image;t&&(z(e,"load",this.onStart),z(e,"error",this.onStop)),function(t,i){if(!t.naturalWidth||Z){var e=document.createElement("img"),a=document.body||document.documentElement;e.onload=function(){i(e.width,e.height),Z||a.removeChild(e)},e.src=t.src,Z||(e.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",a.appendChild(e))}else i(t.naturalWidth,t.naturalHeight)}(e,function(t,e){C(i.imageData,{naturalWidth:t,naturalHeight:e,aspectRatio:t/e}),i.loaded=!0,i.build()})}},{key:"stop",value:function(){var t=this.image;z(t,"load",this.onStart),z(t,"error",this.onStop),t.parentNode.removeChild(t),this.image=null}},{key:"build",value:function(){var t=this;if(this.loaded){this.ready&&this.unbuild();var e=this.element,a=this.options,n=this.image,o=e.parentNode,r=document.createElement("div");r.innerHTML='<div class="cropper-container"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-action="e"></span><span class="cropper-line line-n" data-action="n"></span><span class="cropper-line line-w" data-action="w"></span><span class="cropper-line line-s" data-action="s"></span><span class="cropper-point point-e" data-action="e"></span><span class="cropper-point point-n" data-action="n"></span><span class="cropper-point point-w" data-action="w"></span><span class="cropper-point point-s" data-action="s"></span><span class="cropper-point point-ne" data-action="ne"></span><span class="cropper-point point-nw" data-action="nw"></span><span class="cropper-point point-sw" data-action="sw"></span><span class="cropper-point point-se" data-action="se"></span></div></div>';var h=r.querySelector(".cropper-container"),s=h.querySelector(".cropper-canvas"),c=h.querySelector(".cropper-drag-box"),l=h.querySelector(".cropper-crop-box"),d=l.querySelector(".cropper-face");this.container=o,this.cropper=h,this.canvas=s,this.dragBox=c,this.cropBox=l,this.viewBox=h.querySelector(".cropper-view-box"),this.face=d,s.appendChild(n),T(e,i),o.insertBefore(h,e.nextSibling),this.isImg||W(n,"cropper-hide"),this.initPreview(),this.bind(),a.aspectRatio=Math.max(0,a.aspectRatio)||NaN,a.viewMode=Math.max(0,Math.min(3,Math.round(a.viewMode)))||0,this.cropped=a.autoCrop,a.autoCrop?a.modal&&T(c,"cropper-modal"):T(l,i),a.guides||T(l.getElementsByClassName("cropper-dashed"),i),a.center||T(l.getElementsByClassName("cropper-center"),i),a.background&&T(h,"cropper-bg"),a.highlight||T(d,"cropper-invisible"),a.cropBoxMovable&&(T(d,"cropper-move"),X(d,"action","all")),a.cropBoxResizable||(T(l.getElementsByClassName("cropper-line"),i),T(l.getElementsByClassName("cropper-point"),i)),this.setDragMode(a.dragMode),this.render(),this.ready=!0,this.setData(a.data),this.completing=setTimeout(function(){b(a.ready)&&R(e,"ready",a.ready,{once:!0}),A(e,"ready"),A(e,"crop",t.getData()),t.complete=!0},0)}}},{key:"unbuild",value:function(){this.ready&&(this.complete||clearTimeout(this.completing),this.ready=!1,this.complete=!1,this.initialImageData=null,this.initialCanvasData=null,this.initialCropBoxData=null,this.containerData=null,this.canvasData=null,this.cropBoxData=null,this.unbind(),this.resetPreview(),this.previews=null,this.viewBox=null,this.cropBox=null,this.dragBox=null,this.canvas=null,this.container=null,this.cropper.parentNode.removeChild(this.cropper),this.cropper=null)}}],[{key:"noConflict",value:function(){return window.Cropper=rt,t}},{key:"setDefaults",value:function(t){C(c,x(t)&&t)}}]),t}();return C(ht.prototype,tt,it,et,at,nt,ot),ht});
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L188

Insecure DOM Manipulation (XSS) in joomla-alert-es5.js

CWE-79
File Location: media/vendor/joomla-custom-elements/js/joomla-alert-es5.js:188
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- closeButton.innerHTML = '<span aria-hidden="true">&times;</span>';
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L2710

Insecure DOM Manipulation (XSS) in jquery.js

CWE-79
File Location: media/vendor/jquery/js/jquery.js:2710
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- el.innerHTML = "<a href='#'></a>";
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L2588

Insecure DOM Manipulation (XSS) in mediaelement-and-player.js

CWE-79
File Location: media/vendor/mediaelement/js/mediaelement-and-player.js:2588
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- t.captionsButton.querySelector('ul').innerHTML += '<li class="' + t.options.classPrefix + 'captions-selector-list-item">' + ('<input type="radio" class="' + t.options.classPrefix + 'captions-selector-input" ') + ('name="' + t.id + '_captions" id="' + trackId + '" value="' + trackId + '" disabled>') + ('<label class="' + t.options.classPrefix + 'captions-selector-label"') + ('for="' + trackId + '">' + label + ' (loading)</label>') + '</li>';
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L963

Insecure DOM Manipulation (XSS) in theme.js

CWE-79
File Location: media/vendor/tinymce/themes/inlite/theme.js:963
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- elm.innerHTML = children;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L9544

Insecure DOM Manipulation (XSS) in theme.js

CWE-79
File Location: media/vendor/tinymce/themes/inlite/theme.js:9544
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- self.getEl('body').innerHTML = '';
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L4104

Insecure DOM Manipulation (XSS) in theme.js

CWE-79
File Location: media/vendor/tinymce/themes/modern/theme.js:4104
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- self.getEl().lastChild.innerHTML = self.encode(e.value);
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L9847

Insecure DOM Manipulation (XSS) in theme.js

CWE-79
File Location: media/vendor/tinymce/themes/modern/theme.js:9847
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- self.getEl().innerHTML = createOptions(e.value);
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L20479

Insecure DOM Manipulation (XSS) in tinymce.js

CWE-79
File Location: media/vendor/tinymce/tinymce.js:20479
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- resizeHelper.innerHTML = width + ' &times; ' + height;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L21208

Insecure DOM Manipulation (XSS) in tinymce.js

CWE-79
File Location: media/vendor/tinymce/tinymce.js:21208
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- tmpElm.innerHTML = '<br>' + (rng.item ? rng.item(0).outerHTML : rng.htmlText);
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L21211

Insecure DOM Manipulation (XSS) in tinymce.js

CWE-79
File Location: media/vendor/tinymce/tinymce.js:21211
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- tmpElm.innerHTML = rng.toString();
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L21247

Insecure DOM Manipulation (XSS) in tinymce.js

CWE-79
File Location: media/vendor/tinymce/tinymce.js:21247
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- doc.body.innerHTML = content;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L53

Insecure DOM Manipulation (XSS) in webcomponents-hi-sd-ce.js

CWE-79
File Location: media/vendor/webcomponentsjs/js/webcomponents-hi-sd-ce.js:53
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- a):c.innerHTML=a;c.firstChild;)b.appendChild(c.firstChild)},configurable:!0}},jb={shadowRoot:{get:function(){return this.__shady&&this.__shady.Ka||null},configurable:!0}},kb={activeElement:{get:function(){var a=gb&&gb.get?gb.get.call(document):r.G?void 0:document.activeElement;if(a&&a.nodeType){var b=!!u(this);if(this===document||b&&this.host!==a&&x.contains.call(this.host,a)){for(b=la(a);b&&b!==this;)a=b.host,b=la(a);a=this===document?b?null:a:b===this?a:null}else a=null}else a=null;return a},set:function(){},
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L22

Insecure DOM Manipulation (XSS) in webcomponents-lite.js

CWE-79
File Location: media/vendor/webcomponentsjs/js/webcomponents-lite.js:22
Security Score:
74 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- "",b=this.content.firstChild;b;b=b.nextSibling)a+=b.outerHTML||b.data.replace(oa,U);return a},set:function(b){J.body.innerHTML=b;for(a.J(J);this.content.firstChild;)k.call(this.content,this.content.firstChild);for(;J.body.firstChild;)l.call(this.content,J.body.firstChild)},configurable:!0})},aa=function(a){Object.defineProperty(a,"outerHTML",{get:function(){return"<template>"+this.innerHTML+"</template>"},set:function(a){if(this.parentNode){J.body.innerHTML=a;for(a=this.ownerDocument.createDocumentFragment();J.body.firstChild;)l.call(a,
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L112

Insecure DOM Manipulation (XSS) in field-permissions.js

CWE-79
File Location: build/webcomponents/js/field-permissions/field-permissions.js:112
Security Score:
73 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- badgeSpan.innerHTML = response.data.text;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L178

Insecure DOM Manipulation (XSS) in field-subform.js

CWE-79
File Location: build/webcomponents/js/field-subform/field-subform.js:178
Security Score:
73 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- tmpEl.innerHTML = this.template;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L45

Insecure DOM Manipulation (XSS) in admin-module-edit.js

CWE-79
File Location: media/com_modules/js/admin-module-edit.js:45
Security Score:
73 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- tmpMenu.innerHTML = '<span class=\"badge badge-info\">' + Joomla.JText._('JALL') + '</span>';
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L36

Insecure DOM Manipulation (XSS) in html5.js

CWE-79
File Location: media/legacy/js/html5.js:36
Security Score:
73 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- a.innerHTML = '<xyz></xyz>';
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L396

Insecure DOM Manipulation (XSS) in core.js

CWE-79
File Location: media/system/js/core.js:396
Security Score:
73 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- buttonWrapper.innerHTML = '×';
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L766

Insecure DOM Manipulation (XSS) in calendar.js

CWE-79
File Location: media/system/js/fields/calendar.js:766
Security Score:
73 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- cell.innerHTML = "&#160;";
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L929

Insecure DOM Manipulation (XSS) in calendar.js

CWE-79
File Location: media/system/js/fields/calendar.js:929
Security Score:
73 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- cell.innerHTML = this.params.debug ? iday : Date.convertNumbers(iday); // translated day number for each cell
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L114

Insecure DOM Manipulation (XSS) in passwordstrength.js

CWE-79
File Location: media/system/js/fields/passwordstrength.js:114
Security Score:
73 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- label.innerHTML = '';
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L336

Insecure DOM Manipulation (XSS) in searchtools.js

CWE-79
File Location: media/system/js/searchtools.js:336
Security Score:
73 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- this.theForm.innerHTML+= this.orderField.outerHTML;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L1

Insecure DOM Manipulation (XSS) in joomla-field-module-order-es5.min.js

CWE-79
File Location: media/system/webcomponents/js/joomla-field-module-order-es5.min.js:1
Security Score:
73 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- !function(){return function e(t,i,n){function r(l,a){if(!i[l]){if(!t[l]){var s="function"==typeof require&&require;if(!a&&s)return s(l,!0);if(o)return o(l,!0);var u=new Error("Cannot find module '"+l+"'");throw u.code="MODULE_NOT_FOUND",u}var d=i[l]={exports:{}};t[l][0].call(d.exports,function(e){return r(t[l][1][e]||e)},d,d.exports,e,t,i,n)}return i[l].exports}for(var o="function"==typeof require&&require,l=0;l<n.length;l++)r(n[l]);return r}}()({1:[function(e,t,i){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}();customElements.define("joomla-field-module-order",function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.linkedFieldSelector="",e.linkedFieldElement="",e.originalPosition="",e.writeDynaList.bind(e),e.getNewOrder.bind(e),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,HTMLElement),r(t,[{key:"connectedCallback",value:function(){if(this.linkedFieldSelector=this.getAttribute("data-linked-field")||"jform_position",!this.linkedFieldSelector)throw new Error("No linked field defined!");if(this.linkedFieldElement=document.getElementById(this.linkedFieldSelector),!this.linkedFieldElement)throw new Error("No linked field defined!");var e=this;this.originalPosition=this.linkedFieldElement.value,this.getNewOrder(this.originalPosition),this.linkedFieldElement.addEventListener("change",function(){e.originalPosition=e.linkedFieldElement.value,e.getNewOrder(e.linkedFieldElement.value)})}},{key:"writeDynaList",value:function(e,t,i,n){var r=0,o=document.createElement("select");for(var l in this.hasOwnProperty("disabled")&&o.setAttribute("disabled",""),this.getAttribute("onchange")&&o.setAttribute("onchange",this.getAttribute("onchange")),this.getAttribute("size")&&o.setAttribute("size",this.getAttribute("size")),o.classList.add(e.itemClass),o.setAttribute("name",e.name),o.id=e.id,t)if(t.hasOwnProperty(l)){var a=document.createElement("option"),s=t[l];a.value=s[1],a.innerHTML=s[2],(i&&n===s[1]||!i&&0===r)&&a.setAttribute("selected","selected"),o.appendChild(a),r++}this.innerHTML="",this.appendChild(o)}},{key:"getNewOrder",value:function(e){var t=this.getAttribute("data-url"),i=this.getAttribute("data-client-id"),r=this.getAttribute("data-ordering"),o=this.getAttribute("data-name"),l=this.getAttribute("data-client-attr")?this.getAttribute("data-client-attr"):"custom-select",a=this.getAttribute("id")+"_1",s=[],u=this;Joomla.request({url:t+"client_id="+i+"&position="+e,method:"GET",perform:!0,headers:{"Content-Type":"application/x-www-form-urlencoded"},onSuccess:function(e,t){if(e&&(e=JSON.parse(e)).data.length>0){for(var i=0;i<e.data.length;++i)s[i]=e.data[i].split(",");u.writeDynaList({name:o,id:a,itemClass:l},s,u.originalPosition,r)}"object"==n(e.messages)&&null!==e.messages&&Joomla.renderMessages(e.messages)}})}}]),t}())},{}]},{},[1]);
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L238

Insecure DOM Manipulation (XSS) in joomla-field-simple-color-es5.js

CWE-79
File Location: media/system/webcomponents/js/joomla-field-simple-color-es5.js:238
Security Score:
73 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- close.innerHTML = this.textClose;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L209

Insecure DOM Manipulation (XSS) in joomla-field-simple-color.js

CWE-79
File Location: media/system/webcomponents/js/joomla-field-simple-color.js:209
Security Score:
73 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- el.innerHTML = `<span class="sr-only">${a11yColor}</span>`;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L97

Insecure DOM Manipulation (XSS) in joomla-field-user.js

CWE-79
File Location: media/system/webcomponents/js/joomla-field-user.js:97
Security Score:
73 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- this.modalBody.innerHTML = '';
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L33

Insecure DOM Manipulation (XSS) in joomla-hidden-mail.js

CWE-79
File Location: media/system/webcomponents/js/joomla-hidden-mail.js:33
Security Score:
73 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- newEl.innerHTML = innerStr;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L22

Insecure DOM Manipulation (XSS) in runmode.js

CWE-79
File Location: media/vendor/codemirror/addon/runmode/runmode.js:22
Security Score:
73 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- node.innerHTML = "";
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L1

Insecure DOM Manipulation (XSS) in joomla-panels-es5.min.js

CWE-79
File Location: media/vendor/joomla-custom-elements/js/joomla-panels-es5.min.js:1
Security Score:
73 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- !function t(e,i,r){function n(s,o){if(!i[s]){if(!e[s]){var c="function"==typeof require&&require;if(!o&&c)return c(s,!0);if(a)return a(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var h=i[s]={exports:{}};e[s][0].call(h.exports,function(t){var i=e[s][1][t];return n(i||t)},h,h.exports,t,e,i,r)}return i[s].exports}for(var a="function"==typeof require&&require,s=0;s<r.length;s++)n(r[s]);return n}({1:[function(t,e,i){"use strict";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},n=function(){function t(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,i,r){return i&&t(e.prototype,i),r&&t(e,r),e}}();var a=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"!==(void 0===e?"undefined":r(e))&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.hasActive=!1,t.currentActive="",t.hasNested=!1,t.isNested=!1,t.tabs=[],t.tabsLinks=[],t.panels=[],t.tabLinkHash=[],t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":r(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,HTMLElement),n(e,[{key:"recall",get:function(){return this.getAttribute("recall")},set:function(t){return this.setAttribute("recall",t)}},{key:"view",get:function(){return this.getAttribute("view")},set:function(t){this.setAttribute("view",t)}},{key:"orientation",get:function(){return this.getAttribute("orientation")||"horizontal"},set:function(t){this.setAttribute("orientation",t)}},{key:"responsive",get:function(){return this.getAttribute("responsive")},set:function(t){this.setAttribute("responsive",t)}},{key:"collapseWidth",get:function(){return this.getAttribute("collapse-width")},set:function(t){this.setAttribute("collapse-width",t)}}],[{key:"observedAttributes",get:function(){return["recall","orientation","view","responsive","collapse-width"]}}]),n(e,[{key:"connectedCallback",value:function(){var t=this;if((!this.orientation||this.orientation&&-1===["horizontal","vertical"].indexOf(this.orientation))&&this.setAttribute("orientation","horizontal"),this.view=this.getAttribute("view")||"tabs",this.recall=this.recall||"false",this.responsive=this.getAttribute("responsive")||"false",this.collapseWidth=this.getAttribute("collapseWidth")||0,this.panels=[].slice.call(this.querySelectorAll("section")),!this.panels.length)throw new Error("`Joomla-panels` require one ore more panels!");if(this.findAncestorByTagNme(this,"joomla-tab")&&(this.isNested=!0),this.querySelector("joomla-tab")&&(this.hasNested=!0),this.recall){var e=sessionStorage.getItem(this.getStorageKey());e&&!/@\[/.test(e)&&this.tabLinkHash.push(e),this.setTabState()}"ul"!==this.firstElementChild.tagName&&this.createNavigation(),this.panels.forEach(function(e){e.setAttribute("role","tabpanel"),t.tabs.push("#tab-"+e.id),e.hasAttribute("active")&&(t.hasActive=!0,t.currentActive=e.id,t.querySelector("#tab-"+e.id).setAttribute("aria-selected","true"),t.querySelector("#tab-"+e.id).setAttribute("active",""),t.querySelector("#tab-"+e.id).setAttribute("tabindex","0"))}),this.hasActive||(this.tabsLinks[0].setAttribute("active",""),this.hasActive=!0,this.currentActive=this.panels[0].id,this.tabsLinks[0].setAttribute("aria-selected","true"),this.tabsLinks[0].setAttribute("tabindex","0"),this.tabsLinks[0].setAttribute("active",""),this.panels[0].setAttribute("active","")),window.location.href.match(/#tab-/),"accordion"===this.view&&this.toAccordion.bind(this)(),"true"===this.responsive&&(this.changeView.bind(this),window.addEventListener("resize",this.changeView.bind(this)))}},{key:"disconnectedCallback",value:function(){var t=this,e=this.querySelector("ul");[].slice.call(e.querySelectorAll("a")).forEach(function(e){e.removeEventListener("click",t.activateTabFromLink,!0)}),e.removeEventListener("keydown",t.keyBehaviour,!0)}},{key:"createNavigation",value:function(){var t=this,e=this,i="";"ul"!==this.firstElementChild.tagName.toLowerCase()&&(i=document.createElement("ul")),i.setAttribute("role","tablist"),this.panels.forEach(function(r){if(!r.id)throw new Error("`joomla-panels` All panels require an ID");if(r.parentNode===t){var n=r.getAttribute("active")||!1,a=document.createElement("li"),s=document.createElement("a");a.setAttribute("role","presentation"),s.setAttribute("role","tab"),s.setAttribute("aria-controls",r.id),s.setAttribute("aria-selected",n?"true":"false"),s.setAttribute("tabindex",n?"0":"-1"),s.setAttribute("href","#"+r.id),s.setAttribute("id","tab-"+r.id),s.innerHTML=r.getAttribute("name"),n&&s.setAttribute("active",""),s.addEventListener("click",e.activateTabFromLink.bind(e)),t.tabsLinks.push(s),a.append(s),i.append(a),r.setAttribute("aria-labelledby","tab-"+r.id),n||r.setAttribute("aria-hidden","true")}}),this.insertAdjacentElement("afterbegin",i),this.querySelector("ul").addEventListener("keydown",this.keyBehaviour.bind(this))}},{key:"hideCurrent",value:function(){if(this.currentActive){var t=this.querySelector('a[aria-controls="'+this.currentActive+'"]');this.dispatchCustomEvent("joomla.tab.hide",t,this.querySelector("#tab-"+this.currentActive)),t.removeAttribute("active"),t.setAttribute("tabindex","-1"),this.querySelector("#"+this.currentActive).removeAttribute("active"),this.querySelector("#"+this.currentActive).setAttribute("aria-hidden","true"),t.removeAttribute("aria-selected"),this.dispatchCustomEvent("joomla.tab.hidden",t,this.querySelector("#tab-"+this.currentActive))}}},{key:"activateTabFromLink",value:function(t){t.preventDefault();var e=this.currentActive;this.hasActive&&this.hideCurrent(),this.dispatchCustomEvent("joomla.tab.show",t.target,this.querySelector("#tab-"+e)),t.target.setAttribute("active",""),t.target.setAttribute("aria-selected","true"),t.target.setAttribute("tabindex","0"),this.querySelector(t.target.hash).setAttribute("active",""),this.querySelector(t.target.hash).removeAttribute("aria-hidden"),this.currentActive=t.target.hash.substring(1),this.dispatchCustomEvent("joomla.tab.shown",t.target,this.querySelector("#tab-"+e)),this.saveState("#tab-"+t.target.hash.substring(1))}},{key:"showTab",value:function(t){document.querySelector("#tab-"+t.id).click()}},{key:"show",value:function(t){t.click()}},{key:"keyBehaviour",value:function(t){var e=this.querySelector("#tab-"+this.currentActive),i=e.parentNode.previousElementSibling||e.parentNode.parentNode.lastElementChild,r=e.parentNode.nextElementSibling||e.parentNode.parentNode.firstElementChild;if(!t.metaKey&&!t.altKey&&-1!==this.tabs.indexOf("#"+document.activeElement.id))switch(t.keyCode){case 37:case 38:t.preventDefault(),t.stopPropagation(),i.querySelector("a").click(),i.querySelector("a").focus();break;case 39:case 40:t.preventDefault(),t.stopPropagation(),r.querySelector("a").click(),r.querySelector("a").focus()}}},{key:"getStorageKey",value:function(){return window.location.href.toString().split(window.location.host)[1].replace(/&return=[a-zA-Z0-9%]+/,"").split("#")[0]}},{key:"saveState",value:function(t){var e=this.getStorageKey();sessionStorage.setItem(e,t)}},{key:"setTabState",value:function(){var t=this,e=this,i=this.tabsLinks;if(this.hasNested){if(this.tabLinkHash.length&&""!==this.tabLinkHash[0]){var r=this.tabLinkHash[0].substring(5),n=this.querySelector(""+r);if(n){var a=this.findAncestorByTagNme(n,"joomla-tab");if(this.findAncestorByTagNme(a,"joomla-tab")){var s=this.findAncestorByTagNme(a,"section");s&&this.tabLinkHash.push("#tab-"+s.id)}}}i.forEach(function(i){if(t.tabLinkHash.length){var r="#tab-"+i.id;-1===t.tabLinkHash.indexOf(r)?i.removeAttribute("active"):i.setAttribute("active","")}i.parentNode===e&&t.tabsLinks.push(i)})}else i.forEach(function(e){if(t.tabLinkHash.length){var i="#tab-"+e.hash;t.tabLinkHash.indexOf(i)>-1?e.removeAttribute("active"):e.setAttribute("active","")}}),this.tabsLinks=i}},{key:"toTabs",value:function(){for(var t=this,e=0,i=this.panels.length;e<i;++e)this.panels[e].parentNode.parentNode.parentNode===this&&this.tabsLinks.push(this.panels[e]);this.tabsLinks.length&&this.tabsLinks.forEach(function(e){t.appendChild(e)})}},{key:"toAccordion",value:function(){var t=this;this.panels.length&&this.panels.forEach(function(e){t.querySelector('a[aria-controls="'+e.id+'"]').parentNode.appendChild(e)})}},{key:"changeView",value:function(){if(window.outerWidth>920){if("tabs"===this.view)return;this.toTabs.bind(this),this.view="tabs"}else{if("accordion"===this.view)return;this.toAccordion.bind(this),this.view="accordion"}}},{key:"activateUriHash",value:function(){var t=window.location.href.match(/#\S[^&]*/),e=this.querySelector(t[0]);if(e){var i=this.findAncestorByTagNme(e,"joomla-tab"),r=this.findAncestorByTagNme(i,"joomla-tab");if(r){var n=this.findAncestorByTagNme(i,"section");r.showTab(n),this.show(e)}else this.showTab(e)}}},{key:"findAncestorByTagNme",value:function(t,e){for(;(t=t.parentElement)&&t.nodeName.toLowerCase()!==e;);return t}},{key:"dispatchCustomEvent",value:function(t,e,i){var r=new CustomEvent(t,{bubbles:!0,cancelable:!0});i&&(r.relatedTarget=i),e.dispatchEvent(r),e.removeEventListener(t,e)}}]),e}();customElements.define("joomla-panels",a)},{}]},{},[1]);
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L1

Insecure DOM Manipulation (XSS) in joomla-panels.js

CWE-79
File Location: media/vendor/joomla-custom-elements/js/joomla-panels.js:1
Security Score:
73 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- class JoomlaPanelsElement extends HTMLElement{static get observedAttributes(){return["recall","orientation","view","responsive","collapse-width"]}get recall(){return this.getAttribute("recall")}set recall(t){return this.setAttribute("recall",t)}get view(){return this.getAttribute("view")}set view(t){this.setAttribute("view",t)}get orientation(){return this.getAttribute("orientation")||"horizontal"}set orientation(t){this.setAttribute("orientation",t)}get responsive(){return this.getAttribute("responsive")}set responsive(t){this.setAttribute("responsive",t)}get collapseWidth(){return this.getAttribute("collapse-width")}set collapseWidth(t){this.setAttribute("collapse-width",t)}constructor(){super(),this.hasActive=!1,this.currentActive="",this.hasNested=!1,this.isNested=!1,this.tabs=[],this.tabsLinks=[],this.panels=[],this.tabLinkHash=[]}connectedCallback(){if((!this.orientation||this.orientation&&-1===["horizontal","vertical"].indexOf(this.orientation))&&this.setAttribute("orientation","horizontal"),this.view=this.getAttribute("view")||"tabs",this.recall=this.recall||"false",this.responsive=this.getAttribute("responsive")||"false",this.collapseWidth=this.getAttribute("collapseWidth")||0,this.panels=[].slice.call(this.querySelectorAll("section")),!this.panels.length)throw new Error("`Joomla-panels` require one ore more panels!");if(this.findAncestorByTagNme(this,"joomla-tab")&&(this.isNested=!0),this.querySelector("joomla-tab")&&(this.hasNested=!0),this.recall){const t=sessionStorage.getItem(this.getStorageKey());t&&!/@\[/.test(t)&&this.tabLinkHash.push(t),this.setTabState()}"ul"!==this.firstElementChild.tagName&&this.createNavigation(),this.panels.forEach(t=>{t.setAttribute("role","tabpanel"),this.tabs.push(`#tab-${t.id}`),t.hasAttribute("active")&&(this.hasActive=!0,this.currentActive=t.id,this.querySelector(`#tab-${t.id}`).setAttribute("aria-selected","true"),this.querySelector(`#tab-${t.id}`).setAttribute("active",""),this.querySelector(`#tab-${t.id}`).setAttribute("tabindex","0"))}),this.hasActive||(this.tabsLinks[0].setAttribute("active",""),this.hasActive=!0,this.currentActive=this.panels[0].id,this.tabsLinks[0].setAttribute("aria-selected","true"),this.tabsLinks[0].setAttribute("tabindex","0"),this.tabsLinks[0].setAttribute("active",""),this.panels[0].setAttribute("active","")),window.location.href.match(/#tab-/),"accordion"===this.view&&this.toAccordion.bind(this)(),"true"===this.responsive&&(this.changeView.bind(this),window.addEventListener("resize",this.changeView.bind(this)))}disconnectedCallback(){const t=this,e=this.querySelector("ul");[].slice.call(e.querySelectorAll("a")).forEach(e=>{e.removeEventListener("click",t.activateTabFromLink,!0)}),e.removeEventListener("keydown",t.keyBehaviour,!0)}createNavigation(){const t=this;let e="";"ul"!==this.firstElementChild.tagName.toLowerCase()&&(e=document.createElement("ul")),e.setAttribute("role","tablist"),this.panels.forEach(i=>{if(!i.id)throw new Error("`joomla-panels` All panels require an ID");if(i.parentNode!==this)return;const s=i.getAttribute("active")||!1,a=document.createElement("li"),r=document.createElement("a");a.setAttribute("role","presentation"),r.setAttribute("role","tab"),r.setAttribute("aria-controls",i.id),r.setAttribute("aria-selected",s?"true":"false"),r.setAttribute("tabindex",s?"0":"-1"),r.setAttribute("href",`#${i.id}`),r.setAttribute("id",`tab-${i.id}`),r.innerHTML=i.getAttribute("name"),s&&r.setAttribute("active",""),r.addEventListener("click",t.activateTabFromLink.bind(t)),this.tabsLinks.push(r),a.append(r),e.append(a),i.setAttribute("aria-labelledby",`tab-${i.id}`),s||i.setAttribute("aria-hidden","true")}),this.insertAdjacentElement("afterbegin",e),this.querySelector("ul").addEventListener("keydown",this.keyBehaviour.bind(this))}hideCurrent(){if(this.currentActive){const t=this.querySelector(`a[aria-controls="${this.currentActive}"]`);this.dispatchCustomEvent("joomla.tab.hide",t,this.querySelector(`#tab-${this.currentActive}`)),t.removeAttribute("active"),t.setAttribute("tabindex","-1"),this.querySelector(`#${this.currentActive}`).removeAttribute("active"),this.querySelector(`#${this.currentActive}`).setAttribute("aria-hidden","true"),t.removeAttribute("aria-selected"),this.dispatchCustomEvent("joomla.tab.hidden",t,this.querySelector(`#tab-${this.currentActive}`))}}activateTabFromLink(t){t.preventDefault();const e=this.currentActive;this.hasActive&&this.hideCurrent(),this.dispatchCustomEvent("joomla.tab.show",t.target,this.querySelector(`#tab-${e}`)),t.target.setAttribute("active",""),t.target.setAttribute("aria-selected","true"),t.target.setAttribute("tabindex","0"),this.querySelector(t.target.hash).setAttribute("active",""),this.querySelector(t.target.hash).removeAttribute("aria-hidden"),this.currentActive=t.target.hash.substring(1),this.dispatchCustomEvent("joomla.tab.shown",t.target,this.querySelector(`#tab-${e}`)),this.saveState(`#tab-${t.target.hash.substring(1)}`)}showTab(t){document.querySelector(`#tab-${t.id}`).click()}show(t){t.click()}keyBehaviour(t){const e=this.querySelector(`#tab-${this.currentActive}`),i=e.parentNode.previousElementSibling||e.parentNode.parentNode.lastElementChild,s=e.parentNode.nextElementSibling||e.parentNode.parentNode.firstElementChild;if(!t.metaKey&&!t.altKey&&-1!==this.tabs.indexOf(`#${document.activeElement.id}`))switch(t.keyCode){case 37:case 38:t.preventDefault(),t.stopPropagation(),i.querySelector("a").click(),i.querySelector("a").focus();break;case 39:case 40:t.preventDefault(),t.stopPropagation(),s.querySelector("a").click(),s.querySelector("a").focus()}}getStorageKey(){return window.location.href.toString().split(window.location.host)[1].replace(/&return=[a-zA-Z0-9%]+/,"").split("#")[0]}saveState(t){const e=this.getStorageKey();sessionStorage.setItem(e,t)}setTabState(){const t=this,e=this.tabsLinks;if(this.hasNested){if(this.tabLinkHash.length&&""!==this.tabLinkHash[0]){const t=this.tabLinkHash[0].substring(5),e=this.querySelector(`${t}`);if(e){const t=this.findAncestorByTagNme(e,"joomla-tab");if(this.findAncestorByTagNme(t,"joomla-tab")){const e=this.findAncestorByTagNme(t,"section");e&&this.tabLinkHash.push(`#tab-${e.id}`)}}}e.forEach(e=>{if(this.tabLinkHash.length){const t=`#tab-${e.id}`;-1===this.tabLinkHash.indexOf(t)?e.removeAttribute("active"):e.setAttribute("active","")}e.parentNode===t&&this.tabsLinks.push(e)})}else e.forEach(t=>{if(this.tabLinkHash.length){const e=`#tab-${t.hash}`;this.tabLinkHash.indexOf(e)>-1?t.removeAttribute("active"):t.setAttribute("active","")}}),this.tabsLinks=e}toTabs(){const t=this;for(let t=0,e=this.panels.length;t<e;++t)this.panels[t].parentNode.parentNode.parentNode===this&&this.tabsLinks.push(this.panels[t]);this.tabsLinks.length&&this.tabsLinks.forEach(e=>{t.appendChild(e)})}toAccordion(){const t=this;this.panels.length&&this.panels.forEach(e=>{t.querySelector('a[aria-controls="'+e.id+'"]').parentNode.appendChild(e)})}changeView(){if(window.outerWidth>920){if("tabs"===this.view)return;this.toTabs.bind(this),this.view="tabs"}else{if("accordion"===this.view)return;this.toAccordion.bind(this),this.view="accordion"}}activateUriHash(){const t=window.location.href.match(/#\S[^&]*/),e=this.querySelector(t[0]);if(e){const t=this.findAncestorByTagNme(e,"joomla-tab"),i=this.findAncestorByTagNme(t,"joomla-tab");if(i){const s=this.findAncestorByTagNme(t,"section");i.showTab(s),this.show(e)}else this.showTab(e)}}findAncestorByTagNme(t,e){for(;(t=t.parentElement)&&t.nodeName.toLowerCase()!==e;);return t}dispatchCustomEvent(t,e,i){const s=new CustomEvent(t,{bubbles:!0,cancelable:!0});i&&(s.relatedTarget=i),e.dispatchEvent(s),e.removeEventListener(t,e)}}customElements.define("joomla-panels",JoomlaPanelsElement);
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L1

Insecure DOM Manipulation (XSS) in jquery.ui.core.min.js

CWE-79
File Location: media/vendor/jquery-ui/js/jquery.ui.core.min.js:1
Security Score:
73 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- !function(t,e){var i,o,n=0,s=/^ui-id-\d+$/;(t.ui=t.ui||{},t.ui.version)||(t.extend(t.ui,{version:"1.9.2",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),t.fn.extend({_focus:t.fn.focus,focus:function(e,i){return"number"==typeof e?this.each(function(){var o=this;setTimeout(function(){t(o).focus(),i&&i.call(o)},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;return e=t.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(t.css(this,"position"))&&/(auto|scroll)/.test(t.css(this,"overflow")+t.css(this,"overflow-y")+t.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(t.css(this,"overflow")+t.css(this,"overflow-y")+t.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!e.length?t(document):e},zIndex:function(e){if(void 0!==e)return this.css("zIndex",e);if(this.length)for(var i,o,n=t(this[0]);n.length&&n[0]!==document;){if(("absolute"===(i=n.css("position"))||"relative"===i||"fixed"===i)&&(o=parseInt(n.css("zIndex"),10),!isNaN(o)&&0!==o))return o;n=n.parent()}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++n)})},removeUniqueId:function(){return this.each(function(){s.test(this.id)&&t(this).removeAttr("id")})}}),t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(i){return!!t.data(i,e)}}):function(e,i,o){return!!t.data(e,o[3])},focusable:function(e){return r(e,!isNaN(t.attr(e,"tabindex")))},tabbable:function(e){var i=t.attr(e,"tabindex"),o=isNaN(i);return(o||i>=0)&&r(e,!o)}}),t(function(){var e=document.body,i=e.appendChild(i=document.createElement("div"));i.offsetHeight,t.extend(i.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),t.support.minHeight=100===i.offsetHeight,t.support.selectstart="onselectstart"in i,e.removeChild(i).style.display="none"}),t("<a>").outerWidth(1).jquery||t.each(["Width","Height"],function(e,i){var o="Width"===i?["Left","Right"]:["Top","Bottom"],n=i.toLowerCase(),s={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};function r(e,i,n,s){return t.each(o,function(){i-=parseFloat(t.css(e,"padding"+this))||0,n&&(i-=parseFloat(t.css(e,"border"+this+"Width"))||0),s&&(i-=parseFloat(t.css(e,"margin"+this))||0)}),i}t.fn["inner"+i]=function(e){return void 0===e?s["inner"+i].call(this):this.each(function(){t(this).css(n,r(this,e)+"px")})},t.fn["outer"+i]=function(e,o){return"number"!=typeof e?s["outer"+i].call(this,e):this.each(function(){t(this).css(n,r(this,e,!0,o)+"px")})}}),t("<a>").data("a-b","a").removeData("a-b").data("a-b")&&(t.fn.removeData=(i=t.fn.removeData,function(e){return arguments.length?i.call(this,t.camelCase(e)):i.call(this)})),o=/msie ([\w.]+)/.exec(navigator.userAgent.toLowerCase())||[],t.ui.ie=!!o.length,t.ui.ie6=6===parseFloat(o[1],10),t.fn.extend({disableSelection:function(){return this.bind((t.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(t){t.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),t.extend(t.ui,{plugin:{add:function(e,i,o){var n,s=t.ui[e].prototype;for(n in o)s.plugins[n]=s.plugins[n]||[],s.plugins[n].push([i,o[n]])},call:function(t,e,i){var o,n=t.plugins[e];if(n&&t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType)for(o=0;o<n.length;o++)t.options[n[o][0]]&&n[o][1].apply(t.element,i)}},contains:t.contains,hasScroll:function(e,i){if("hidden"===t(e).css("overflow"))return!1;var o,n=i&&"left"===i?"scrollLeft":"scrollTop";return e[n]>0||(e[n]=1,o=e[n]>0,e[n]=0,o)},isOverAxis:function(t,e,i){return t>e&&t<e+i},isOver:function(e,i,o,n,s,r){return t.ui.isOverAxis(e,o,s)&&t.ui.isOverAxis(i,n,r)}}));function r(e,i){var o,n,s,r=e.nodeName.toLowerCase();return"area"===r?(n=(o=e.parentNode).name,!(!e.href||!n||"map"!==o.nodeName.toLowerCase())&&(!!(s=t("img[usemap=#"+n+"]")[0])&&a(s))):(/input|select|textarea|button|object/.test(r)?!e.disabled:"a"===r&&e.href||i)&&a(e)}function a(e){return t.expr.filters.visible(e)&&!t(e).parents().andSelf().filter(function(){return"hidden"===t.css(this,"visibility")}).length}}(jQuery),function(t,e){var i=0,o=Array.prototype.slice,n=t.cleanData;t.cleanData=function(e){for(var i,o=0;null!=(i=e[o]);o++)try{t(i).triggerHandler("remove")}catch(t){}n(e)},t.widget=function(e,i,o){var n,s,r,a,u=e.split(".")[0];e=e.split(".")[1],n=u+"-"+e,o||(o=i,i=t.Widget),t.expr[":"][n.toLowerCase()]=function(e){return!!t.data(e,n)},t[u]=t[u]||{},s=t[u][e],r=t[u][e]=function(t,e){if(!this._createWidget)return new r(t,e);arguments.length&&this._createWidget(t,e)},t.extend(r,s,{version:o.version,_proto:t.extend({},o),_childConstructors:[]}),(a=new i).options=t.widget.extend({},a.options),t.each(o,function(e,n){var s,r;t.isFunction(n)&&(o[e]=(s=function(){return i.prototype[e].apply(this,arguments)},r=function(t){return i.prototype[e].apply(this,t)},function(){var t,e=this._super,i=this._superApply;return this._super=s,this._superApply=r,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}))}),r.prototype=t.widget.extend(a,{widgetEventPrefix:s?a.widgetEventPrefix:e},o,{constructor:r,namespace:u,widgetName:e,widgetBaseClass:n,widgetFullName:n}),s?(t.each(s._childConstructors,function(e,i){var o=i.prototype;t.widget(o.namespace+"."+o.widgetName,r,i._proto)}),delete s._childConstructors):i._childConstructors.push(r),t.widget.bridge(e,r)},t.widget.extend=function(e){for(var i,n,s=o.call(arguments,1),r=0,a=s.length;r<a;r++)for(i in s[r])n=s[r][i],s[r].hasOwnProperty(i)&&void 0!==n&&(t.isPlainObject(n)?e[i]=t.isPlainObject(e[i])?t.widget.extend({},e[i],n):t.widget.extend({},n):e[i]=n);return e},t.widget.bridge=function(e,i){var n=i.prototype.widgetFullName||e;t.fn[e]=function(s){var r="string"==typeof s,a=o.call(arguments,1),u=this;return s=!r&&a.length?t.widget.extend.apply(null,[s].concat(a)):s,r?this.each(function(){var i,o=t.data(this,n);return o?t.isFunction(o[s])&&"_"!==s.charAt(0)?(i=o[s].apply(o,a))!==o&&void 0!==i?(u=i&&i.jquery?u.pushStack(i.get()):i,!1):void 0:t.error("no such method '"+s+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; attempted to call method '"+s+"'")}):this.each(function(){var e=t.data(this,n);e?e.option(s||{})._init():t.data(this,n,new i(s,this))}),u}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(e,o){o=t(o||this.defaultElement||this)[0],this.element=t(o),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this.bindings=t(),this.hoverable=t(),this.focusable=t(),o!==this&&(t.data(o,this.widgetName,this),t.data(o,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===o&&this.destroy()}}),this.document=t(o.style?o.ownerDocument:o.document||o),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:t.noop,_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(t.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var o,n,s,r=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(r={},e=(o=e.split(".")).shift(),o.length){for(n=r[e]=t.widget.extend({},this.options[e]),s=0;s<o.length-1;s++)n[o[s]]=n[o[s]]||{},n=n[o[s]];if(e=o.pop(),void 0===i)return void 0===n[e]?null:n[e];n[e]=i}else{if(void 0===i)return void 0===this.options[e]?null:this.options[e];r[e]=i}return this._setOptions(r),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return this.options[t]=e,"disabled"===t&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!e).attr("aria-disabled",e),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_on:function(e,i,o){var n,s=this;"boolean"!=typeof e&&(o=i,i=e,e=!1),o?(i=n=t(i),this.bindings=this.bindings.add(i)):(o=i,i=this.element,n=this.widget()),t.each(o,function(o,r){function a(){if(e||!0!==s.options.disabled&&!t(this).hasClass("ui-state-disabled"))return("string"==typeof r?s[r]:r).apply(s,arguments)}"string"!=typeof r&&(a.guid=r.guid=r.guid||a.guid||t.guid++);var u=o.match(/^(\w+)\s*(.*)$/),l=u[1]+s.eventNamespace,h=u[2];h?n.delegate(h,l,a):i.bind(l,a)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.unbind(e).undelegate(e)},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){t(e.currentTarget).addClass("ui-state-hover")},mouseleave:function(e){t(e.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){t(e.currentTarget).addClass("ui-state-focus")},focusout:function(e){t(e.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(e,i,o){var n,s,r=this.options[e];if(o=o||{},(i=t.Event(i)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],s=i.originalEvent)for(n in s)n in i||(i[n]=s[n]);return this.element.trigger(i,o),!(t.isFunction(r)&&!1===r.apply(this.element[0],[i].concat(o))||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(o,n,s){"string"==typeof n&&(n={effect:n});var r,a=n?!0===n||"number"==typeof n?i:n.effect||i:e;"number"==typeof(n=n||{})&&(n={duration:n}),r=!t.isEmptyObject(n),n.complete=s,n.delay&&o.delay(n.delay),r&&t.effects&&(t.effects.effect[a]||!1!==t.uiBackCompat&&t.effects[a])?o[e](n):a!==e&&o[a]?o[a](n.duration,n.easing,s):o.queue(function(i){t(this)[e](),s&&s.call(o[0]),i()})}}),!1!==t.uiBackCompat&&(t.Widget.prototype._getCreateOptions=function(){return t.metadata&&t.metadata.get(this.element[0])[this.widgetName]})}(jQuery),function(t,e){var i=!1;t(document).mouseup(function(t){i=!1}),t.widget("ui.mouse",{version:"1.9.2",options:{cancel:"input,textarea,button,select,option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.bind("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).bind("click."+this.widgetName,function(i){if(!0===t.data(i.target,e.widgetName+".preventClickEvent"))return t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.unbind("."+this.widgetName),this._mouseMoveDelegate&&t(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!i){this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var o=this,n=1===e.which,s=!("string"!=typeof this.options.cancel||!e.target.nodeName)&&t(e.target).closest(this.options.cancel).length;return!(n&&!s&&this._mouseCapture(e))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){o.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(e),!this._mouseStarted)?(e.preventDefault(),!0):(!0===t.data(e.target,this.widgetName+".preventClickEvent")&&t.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return o._mouseMove(t)},this._mouseUpDelegate=function(t){return o._mouseUp(t)},t(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),i=!0,!0))}},_mouseMove:function(e){return!t.ui.ie||document.documentMode>=9||e.button?this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted):this._mouseUp(e)},_mouseUp:function(e){return t(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),!1},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(t){return this.mouseDelayMet},_mouseStart:function(t){},_mouseDrag:function(t){},_mouseStop:function(t){},_mouseCapture:function(t){return!0}})}(jQuery),function(t,e){t.ui=t.ui||{};var i,o=Math.max,n=Math.abs,s=Math.round,r=/left|center|right/,a=/top|center|bottom/,u=/[\+\-]\d+%?/,l=/^\w+/,h=/%$/,c=t.fn.position;function d(t,e,i){return[parseInt(t[0],10)*(h.test(t[0])?e/100:1),parseInt(t[1],10)*(h.test(t[1])?i/100:1)]}function f(e,i){return parseInt(t.css(e,i),10)||0}t.position={scrollbarWidth:function(){if(void 0!==i)return i;var e,o,n=t("<div style='display:block;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),s=n.children()[0];return t("body").append(n),e=s.offsetWidth,n.css("overflow","scroll"),e===(o=s.offsetWidth)&&(o=n[0].clientWidth),n.remove(),i=e-o},getScrollInfo:function(e){var i=e.isWindow?"":e.element.css("overflow-x"),o=e.isWindow?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.width<e.element[0].scrollWidth,s="scroll"===o||"auto"===o&&e.height<e.element[0].scrollHeight;return{width:n?t.position.scrollbarWidth():0,height:s?t.position.scrollbarWidth():0}},getWithinInfo:function(e){var i=t(e||window),o=t.isWindow(i[0]);return{element:i,isWindow:o,offset:i.offset()||{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:o?i.width():i.outerWidth(),height:o?i.height():i.outerHeight()}}},t.fn.position=function(e){if(!e||!e.of)return c.apply(this,arguments);e=t.extend({},e);var i,h,p,m,g,v=t(e.of),w=t.position.getWithinInfo(e.within),_=t.position.getScrollInfo(w),y=v[0],b=(e.collision||"flip").split(" "),x={};return 9===y.nodeType?(h=v.width(),p=v.height(),m={top:0,left:0}):t.isWindow(y)?(h=v.width(),p=v.height(),m={top:v.scrollTop(),left:v.scrollLeft()}):y.preventDefault?(e.at="left top",h=p=0,m={top:y.pageY,left:y.pageX}):(h=v.outerWidth(),p=v.outerHeight(),m=v.offset()),g=t.extend({},m),t.each(["my","at"],function(){var t,i,o=(e[this]||"").split(" ");1===o.length&&(o=r.test(o[0])?o.concat(["center"]):a.test(o[0])?["center"].concat(o):["center","center"]),o[0]=r.test(o[0])?o[0]:"center",o[1]=a.test(o[1])?o[1]:"center",t=u.exec(o[0]),i=u.exec(o[1]),x[this]=[t?t[0]:0,i?i[0]:0],e[this]=[l.exec(o[0])[0],l.exec(o[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===e.at[0]?g.left+=h:"center"===e.at[0]&&(g.left+=h/2),"bottom"===e.at[1]?g.top+=p:"center"===e.at[1]&&(g.top+=p/2),i=d(x.at,h,p),g.left+=i[0],g.top+=i[1],this.each(function(){var r,a,u=t(this),l=u.outerWidth(),c=u.outerHeight(),y=f(this,"marginLeft"),D=f(this,"marginTop"),N=l+y+f(this,"marginRight")+_.width,W=c+D+f(this,"marginBottom")+_.height,C=t.extend({},g),E=d(x.my,u.outerWidth(),u.outerHeight());"right"===e.my[0]?C.left-=l:"center"===e.my[0]&&(C.left-=l/2),"bottom"===e.my[1]?C.top-=c:"center"===e.my[1]&&(C.top-=c/2),C.left+=E[0],C.top+=E[1],t.support.offsetFractions||(C.left=s(C.left),C.top=s(C.top)),r={marginLeft:y,marginTop:D},t.each(["left","top"],function(o,n){t.ui.position[b[o]]&&t.ui.position[b[o]][n](C,{targetWidth:h,targetHeight:p,elemWidth:l,elemHeight:c,collisionPosition:r,collisionWidth:N,collisionHeight:W,offset:[i[0]+E[0],i[1]+E[1]],my:e.my,at:e.at,within:w,elem:u})}),t.fn.bgiframe&&u.bgiframe(),e.using&&(a=function(t){var i=m.left-C.left,s=i+h-l,r=m.top-C.top,a=r+p-c,d={target:{element:v,left:m.left,top:m.top,width:h,height:p},element:{element:u,left:C.left,top:C.top,width:l,height:c},horizontal:s<0?"left":i>0?"right":"center",vertical:a<0?"top":r>0?"bottom":"middle"};h<l&&n(i+s)<h&&(d.horizontal="center"),p<c&&n(r+a)<p&&(d.vertical="middle"),o(n(i),n(s))>o(n(r),n(a))?d.important="horizontal":d.important="vertical",e.using.call(this,t,d)}),u.offset(t.extend(C,{using:a}))})},t.ui.position={fit:{left:function(t,e){var i,n=e.within,s=n.isWindow?n.scrollLeft:n.offset.left,r=n.width,a=t.left-e.collisionPosition.marginLeft,u=s-a,l=a+e.collisionWidth-r-s;e.collisionWidth>r?u>0&&l<=0?(i=t.left+u+e.collisionWidth-r-s,t.left+=u-i):t.left=l>0&&u<=0?s:u>l?s+r-e.collisionWidth:s:u>0?t.left+=u:l>0?t.left-=l:t.left=o(t.left-a,t.left)},top:function(t,e){var i,n=e.within,s=n.isWindow?n.scrollTop:n.offset.top,r=e.within.height,a=t.top-e.collisionPosition.marginTop,u=s-a,l=a+e.collisionHeight-r-s;e.collisionHeight>r?u>0&&l<=0?(i=t.top+u+e.collisionHeight-r-s,t.top+=u-i):t.top=l>0&&u<=0?s:u>l?s+r-e.collisionHeight:s:u>0?t.top+=u:l>0?t.top-=l:t.top=o(t.top-a,t.top)}},flip:{left:function(t,e){var i,o,s=e.within,r=s.offset.left+s.scrollLeft,a=s.width,u=s.isWindow?s.scrollLeft:s.offset.left,l=t.left-e.collisionPosition.marginLeft,h=l-u,c=l+e.collisionWidth-a-u,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,f="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,p=-2*e.offset[0];h<0?((i=t.left+d+f+p+e.collisionWidth-a-r)<0||i<n(h))&&(t.left+=d+f+p):c>0&&((o=t.left-e.collisionPosition.marginLeft+d+f+p-u)>0||n(o)<c)&&(t.left+=d+f+p)},top:function(t,e){var i,o,s=e.within,r=s.offset.top+s.scrollTop,a=s.height,u=s.isWindow?s.scrollTop:s.offset.top,l=t.top-e.collisionPosition.marginTop,h=l-u,c=l+e.collisionHeight-a-u,d="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,p=-2*e.offset[1];h<0?(o=t.top+d+f+p+e.collisionHeight-a-r,t.top+d+f+p>h&&(o<0||o<n(h))&&(t.top+=d+f+p)):c>0&&(i=t.top-e.collisionPosition.marginTop+d+f+p-u,t.top+d+f+p>c&&(i>0||n(i)<c)&&(t.top+=d+f+p))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}},function(){var e,i,o,n,s,r=document.getElementsByTagName("body")[0],a=document.createElement("div");for(s in e=document.createElement(r?"div":"body"),o={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},r&&t.extend(o,{position:"absolute",left:"-1000px",top:"-1000px"}),o)e.style[s]=o[s];e.appendChild(a),(i=r||document.documentElement).insertBefore(e,i.firstChild),a.style.cssText="position: absolute; left: 10.7432222px;",n=t(a).offset().left,t.support.offsetFractions=n>10&&n<11,e.innerHTML="",i.removeChild(e)}(),!1!==t.uiBackCompat&&function(t){var e=t.fn.position;t.fn.position=function(i){if(!i||!i.offset)return e.call(this,i);var o=i.offset.split(" "),n=i.at.split(" ");return 1===o.length&&(o[1]=o[0]),/^\d/.test(o[0])&&(o[0]="+"+o[0]),/^\d/.test(o[1])&&(o[1]="+"+o[1]),1===n.length&&(/left|center|right/.test(n[0])?n[1]="center":(n[1]=n[0],n[0]="center")),e.call(this,t.extend(i,{at:n[0]+o[0]+" "+n[1]+o[1],offset:void 0}))}}(jQuery)}(jQuery);
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L1248

Insecure DOM Manipulation (XSS) in jquery.js

CWE-79
File Location: media/vendor/jquery/js/jquery.js:1248
Security Score:
73 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- docElem.appendChild( el ).innerHTML = "<a id='" + expando + "'></a>" +
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L603

Insecure DOM Manipulation (XSS) in plugin.js

CWE-79
File Location: media/vendor/tinymce/plugins/codesample/plugin.js:603
Security Score:
73 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- env.element.innerHTML = env.highlightedCode;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L4302

Insecure DOM Manipulation (XSS) in theme.js

CWE-79
File Location: media/vendor/tinymce/themes/modern/theme.js:4302
Security Score:
73 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- self.getEl().firstChild.innerHTML = e.value;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L10429

Insecure DOM Manipulation (XSS) in tinymce.js

CWE-79
File Location: media/vendor/tinymce/tinymce.js:10429
Security Score:
73 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- value = parentNode === rootNode ? rootNode.innerHTML : dom.getOuterHTML(parentNode);
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L72

Insecure DOM Manipulation (XSS) in field-module-order.js

CWE-79
File Location: build/webcomponents/js/field-module-order/field-module-order.js:72
Security Score:
72 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- node.innerHTML = item[2];
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L140

Insecure DOM Manipulation (XSS) in indexer.js

CWE-79
File Location: media/com_finder/js/indexer.js:140
Security Score:
72 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- progressMessage.innerHTML = message;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L1

Insecure DOM Manipulation (XSS) in mediamanager.js

CWE-79
File Location: media/com_media/js/mediamanager.js:1
Security Score:
72 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- !function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=64)}([function(t,e){t.exports=function(t,e,n,r,i){var o,a=t=t||{},s=typeof t.default;"object"!==s&&"function"!==s||(o=t,a=t.default);var c="function"==typeof a?a.options:a;e&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns),r&&(c._scopeId=r);var u;if(i?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},c._ssrRegister=u):n&&(u=n),u){var l=c.functional,f=l?c.render:c.beforeCreate;l?c.render=function(t,e){return u.call(e),f(t,e)}:c.beforeCreate=f?[].concat(f,u):[u]}return{esModule:o,exports:a,options:c}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.SET_IS_LOADING="SET_IS_LOADING",e.SELECT_DIRECTORY="SELECT_DIRECTORY",e.SELECT_BROWSER_ITEM="SELECT_BROWSER_ITEM",e.SELECT_BROWSER_ITEMS="SELECT_BROWSER_ITEMS",e.UNSELECT_BROWSER_ITEM="UNSELECT_BROWSER_ITEM",e.UNSELECT_ALL_BROWSER_ITEMS="UNSELECT_ALL_BROWSER_ITEMS",e.INCREASE_GRID_SIZE="INCREASE_GRID_SIZE",e.DECREASE_GRID_SIZE="DECREASE_GRID_SIZE",e.LOAD_CONTENTS_SUCCESS="LOAD_CONTENTS_SUCCESS",e.LOAD_FULL_CONTENTS_SUCCESS="LOAD_FULL_CONTENTS_SUCCESS",e.CREATE_DIRECTORY_SUCCESS="CREATE_DIRECTORY_SUCCESS",e.UPLOAD_SUCCESS="UPLOAD_SUCCESS",e.SHOW_CREATE_FOLDER_MODAL="SHOW_CREATE_FOLDER_MODAL",e.HIDE_CREATE_FOLDER_MODAL="HIDE_CREATE_FOLDER_MODAL",e.SHOW_INFOBAR="SHOW_INFOBAR",e.HIDE_INFOBAR="HIDE_INFOBAR",e.DELETE_SUCCESS="DELETE_SUCCESS",e.CHANGE_LIST_VIEW="CHANGE_LIST_VIEW",e.SHOW_PREVIEW_MODAL="SHOW_PREVIEW_MODAL",e.HIDE_PREVIEW_MODAL="HIDE_PREVIEW_MODAL",e.SHOW_RENAME_MODAL="SHOW_RENAME_MODAL",e.HIDE_RENAME_MODAL="HIDE_RENAME_MODAL",e.RENAME_SUCCESS="RENAME_SUCCESS"},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n=t.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(44)("wks"),i=n(45),o=n(2).Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},function(t,e,n){var r=n(11);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(2),i=n(3),o=n(10),a=n(7),s=function(t,e,n){var c,u,l,f=t&s.F,d=t&s.G,p=t&s.S,v=t&s.P,m=t&s.B,h=t&s.W,_=d?i:i[e]||(i[e]={}),y=_.prototype,g=d?r:p?r[e]:(r[e]||{}).prototype;d&&(n=e);for(c in n)(u=!f&&g&&void 0!==g[c])&&c in _||(l=u?g[c]:n[c],_[c]=d&&"function"!=typeof g[c]?n[c]:m&&u?o(l,r):h&&g[c]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(l):v&&"function"==typeof l?o(Function.call,l):l,v&&((_.virtual||(_.virtual={}))[c]=l,t&s.R&&y&&!y[c]&&a(y,c,l)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},function(t,e,n){var r=n(8),i=n(23);t.exports=n(9)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(5),i=n(71),o=n(72),a=Object.defineProperty;e.f=n(9)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){t.exports=!n(21)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(15);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports={}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={methods:{navigateTo:function(t){this.$store.dispatch("getContents",t)}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,n){function r(t){return void 0===t||null===t}function i(t){return void 0!==t&&null!==t}function o(t){return!0===t}function a(t){return!1===t}function s(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function c(t){return null!==t&&"object"==typeof t}function u(t){return"[object Object]"===so.call(t)}function l(t){return"[object RegExp]"===so.call(t)}function f(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function p(t){var e=parseFloat(t);return isNaN(e)?t:e}function v(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}function m(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function h(t,e){return lo.call(t,e)}function _(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}function y(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function g(t,e){return t.bind(e)}function b(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function E(t,e){for(var n in e)t[n]=e[n];return t}function C(t){for(var e={},n=0;n<t.length;n++)t[n]&&E(e,t[n]);return e}function w(t,e,n){}function O(t,e){if(t===e)return!0;var n=c(t),r=c(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var i=Array.isArray(t),o=Array.isArray(e);if(i&&o)return t.length===e.length&&t.every(function(t,n){return O(t,e[n])});if(i||o)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every(function(n){return O(t[n],e[n])})}catch(t){return!1}}function S(t,e){for(var n=0;n<t.length;n++)if(O(t[n],e))return n;return-1}function A(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function I(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function M(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function x(t){if(!Oo.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}function T(t){return"function"==typeof t&&/native code/.test(t.toString())}function $(t){Wo.target&&Vo.push(Wo.target),Wo.target=t}function D(){Wo.target=Vo.pop()}function k(t){return new zo(void 0,void 0,void 0,String(t))}function L(t){var e=new zo(t.tag,t.data,t.children,t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.isCloned=!0,e}function R(t){Xo=t}function N(t,e,n){t.__proto__=e}function P(t,e,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];M(t,o,e[o])}}function j(t,e){if(c(t)&&!(t instanceof zo)){var n;return h(t,"__ob__")&&t.__ob__ instanceof Qo?n=t.__ob__:Xo&&!Fo()&&(Array.isArray(t)||u(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new Qo(t)),e&&n&&n.vmCount++,n}}function F(t,e,n,r,i){var o=new Wo,a=Object.getOwnPropertyDescriptor(t,e);if(!a||!1!==a.configurable){var s=a&&a.get;s||2!==arguments.length||(n=t[e]);var c=a&&a.set,u=!i&&j(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(t):n;return Wo.target&&(o.depend(),u&&(u.dep.depend(),Array.isArray(e)&&H(e))),e},set:function(e){var r=s?s.call(t):n;e===r||e!==e&&r!==r||(c?c.call(t,e):n=e,u=!i&&j(e),o.notify())}})}}function U(t,e,n){if(Array.isArray(t)&&f(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var r=t.__ob__;return t._isVue||r&&r.vmCount?n:r?(F(r.value,e,n),r.dep.notify(),n):(t[e]=n,n)}function B(t,e){if(Array.isArray(t)&&f(e))return void t.splice(e,1);var n=t.__ob__;t._isVue||n&&n.vmCount||h(t,e)&&(delete t[e],n&&n.dep.notify())}function H(t){for(var e=void 0,n=0,r=t.length;n<r;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&H(e)}function G(t,e){if(!e)return t;for(var n,r,i,o=Object.keys(e),a=0;a<o.length;a++)n=o[a],r=t[n],i=e[n],h(t,n)?u(r)&&u(i)&&G(r,i):U(t,n,i);return t}function W(t,e,n){return n?function(){var r="function"==typeof e?e.call(n,n):e,i="function"==typeof t?t.call(n,n):t;return r?G(r,i):i}:e?t?function(){return G("function"==typeof e?e.call(this,this):e,"function"==typeof t?t.call(this,this):t)}:e:t}function V(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t}function z(t,e,n,r){var i=Object.create(t||null);return e?E(i,e):i}function J(t,e){var n=t.props;if(n){var r,i,o,a={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(i=n[r])&&(o=po(i),a[o]={type:null});else if(u(n))for(var s in n)i=n[s],o=po(s),a[o]=u(i)?i:{type:i};t.props=a}}function q(t,e){var n=t.inject;if(n){var r=t.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(u(n))for(var o in n){var a=n[o];r[o]=u(a)?E({from:o},a):{from:a}}}}function K(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"==typeof r&&(e[n]={bind:r,update:r})}}function Z(t,e,n){function r(r){var i=ta[r]||ra;c[r]=i(t[r],e[r],n,r)}"function"==typeof e&&(e=e.options),J(e,n),q(e,n),K(e);var i=e.extends;if(i&&(t=Z(t,i,n)),e.mixins)for(var o=0,a=e.mixins.length;o<a;o++)t=Z(t,e.mixins[o],n);var s,c={};for(s in t)r(s);for(s in e)h(t,s)||r(s);return c}function Y(t,e,n,r){if("string"==typeof n){var i=t[e];if(h(i,n))return i[n];var o=po(n);if(h(i,o))return i[o];var a=vo(o);if(h(i,a))return i[a];return i[n]||i[o]||i[a]}}function X(t,e,n,r){var i=e[t],o=!h(n,t),a=n[t],s=nt(Boolean,i.type);if(s>-1)if(o&&!h(i,"default"))a=!1;else if(""===a||a===ho(t)){var c=nt(String,i.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=Q(r,i,t);var u=Xo;R(!0),j(a),R(u)}return a}function Q(t,e,n){if(h(e,"default")){var r=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:"function"==typeof r&&"Function"!==tt(e.type)?r.call(t):r}}function tt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function et(t,e){return tt(t)===tt(e)}function nt(t,e){if(!Array.isArray(e))return et(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(et(e[n],t))return n;return-1}function rt(t,e,n){if(e)for(var r=e;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{var a=!1===i[o].call(r,t,e,n);if(a)return}catch(t){it(t,r,"errorCaptured hook")}}it(t,e,n)}function it(t,e,n){if(wo.errorHandler)try{return wo.errorHandler.call(null,t,e,n)}catch(t){ot(t,null,"config.errorHandler")}ot(t,e,n)}function ot(t,e,n){if(!Ao&&!Io||"undefined"==typeof console)throw t;console.error(t)}function at(){oa=!1;var t=ia.slice(0);ia.length=0;for(var e=0;e<t.length;e++)t[e]()}function st(t){return t._withTask||(t._withTask=function(){aa=!0;var e=t.apply(null,arguments);return aa=!1,e})}function ct(t,e){var n;if(ia.push(function(){if(t)try{t.call(e)}catch(t){rt(t,e,"nextTick")}else n&&n(e)}),oa||(oa=!0,aa?na():ea()),!t&&"undefined"!=typeof Promise)return new Promise(function(t){n=t})}function ut(t){lt(t,fa),fa.clear()}function lt(t,e){var n,r,i=Array.isArray(t);if(!(!i&&!c(t)||Object.isFrozen(t)||t instanceof zo)){if(t.__ob__){var o=t.__ob__.dep.id;if(e.has(o))return;e.add(o)}if(i)for(n=t.length;n--;)lt(t[n],e);else for(r=Object.keys(t),n=r.length;n--;)lt(t[r[n]],e)}}function ft(t){function e(){var t=arguments,n=e.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var r=n.slice(),i=0;i<r.length;i++)r[i].apply(null,t)}return e.fns=t,e}function dt(t,e,n,i,o){var a,s,c,u;for(a in t)s=t[a],c=e[a],u=da(a),r(s)||(r(c)?(r(s.fns)&&(s=t[a]=ft(s)),n(u.name,s,u.once,u.capture,u.passive,u.params)):s!==c&&(c.fns=s,t[a]=c));for(a in e)r(t[a])&&(u=da(a),i(u.name,e[a],u.capture))}function pt(t,e,n){function a(){n.apply(this,arguments),m(s.fns,a)}t instanceof zo&&(t=t.data.hook||(t.data.hook={}));var s,c=t[e];r(c)?s=ft([a]):i(c.fns)&&o(c.merged)?(s=c,s.fns.push(a)):s=ft([c,a]),s.merged=!0,t[e]=s}function vt(t,e,n){var o=e.options.props;if(!r(o)){var a={},s=t.attrs,c=t.props;if(i(s)||i(c))for(var u in o){var l=ho(u);mt(a,c,u,l,!0)||mt(a,s,u,l,!1)}return a}}function mt(t,e,n,r,o){if(i(e)){if(h(e,n))return t[n]=e[n],o||delete e[n],!0;if(h(e,r))return t[n]=e[r],o||delete e[r],!0}return!1}function ht(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}function _t(t){return s(t)?[k(t)]:Array.isArray(t)?gt(t):void 0}function yt(t){return i(t)&&i(t.text)&&a(t.isComment)}function gt(t,e){var n,a,c,u,l=[];for(n=0;n<t.length;n++)a=t[n],r(a)||"boolean"==typeof a||(c=l.length-1,u=l[c],Array.isArray(a)?a.length>0&&(a=gt(a,(e||"")+"_"+n),yt(a[0])&&yt(u)&&(l[c]=k(u.text+a[0].text),a.shift()),l.push.apply(l,a)):s(a)?yt(u)?l[c]=k(u.text+a):""!==a&&l.push(k(a)):yt(a)&&yt(u)?l[c]=k(u.text+a.text):(o(t._isVList)&&i(a.tag)&&r(a.key)&&i(e)&&(a.key="__vlist"+e+"_"+n+"__"),l.push(a)));return l}function bt(t,e){return(t.__esModule||Bo&&"Module"===t[Symbol.toStringTag])&&(t=t.default),c(t)?e.extend(t):t}function Et(t,e,n,r,i){var o=qo();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:r,tag:i},o}function Ct(t,e,n){if(o(t.error)&&i(t.errorComp))return t.errorComp;if(i(t.resolved))return t.resolved;if(o(t.loading)&&i(t.loadingComp))return t.loadingComp;if(!i(t.contexts)){var a=t.contexts=[n],s=!0,u=function(){for(var t=0,e=a.length;t<e;t++)a[t].$forceUpdate()},l=A(function(n){t.resolved=bt(n,e),s||u()}),f=A(function(e){i(t.errorComp)&&(t.error=!0,u())}),d=t(l,f);return c(d)&&("function"==typeof d.then?r(t.resolved)&&d.then(l,f):i(d.component)&&"function"==typeof d.component.then&&(d.component.then(l,f),i(d.error)&&(t.errorComp=bt(d.error,e)),i(d.loading)&&(t.loadingComp=bt(d.loading,e),0===d.delay?t.loading=!0:setTimeout(function(){r(t.resolved)&&r(t.error)&&(t.loading=!0,u())},d.delay||200)),i(d.timeout)&&setTimeout(function(){r(t.resolved)&&f(null)},d.timeout))),s=!1,t.loading?t.loadingComp:t.resolved}t.contexts.push(n)}function wt(t){return t.isComment&&t.asyncFactory}function Ot(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(i(n)&&(i(n.componentOptions)||wt(n)))return n}}function St(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Mt(t,e)}function At(t,e,n){n?la.$once(t,e):la.$on(t,e)}function It(t,e){la.$off(t,e)}function Mt(t,e,n){la=t,dt(e,n||{},At,It,t),la=void 0}function xt(t,e){var n={};if(!t)return n;for(var r=0,i=t.length;r<i;r++){var o=t[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==e&&o.fnContext!==e||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===o.tag?c.push.apply(c,o.children||[]):c.push(o)}}for(var u in n)n[u].every(Tt)&&delete n[u];return n}function Tt(t){return t.isComment&&!t.asyncFactory||" "===t.text}function $t(t,e){e=e||{};for(var n=0;n<t.length;n++)Array.isArray(t[n])?$t(t[n],e):e[t[n].key]=t[n].fn;return e}function Dt(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function kt(t,e,n){t.$el=e,t.$options.render||(t.$options.render=qo),jt(t,"beforeMount");var r;return r=function(){t._update(t._render(),n)},new Ea(t,r,w,null,!0),n=!1,null==t.$vnode&&(t._isMounted=!0,jt(t,"mounted")),t}function Lt(t,e,n,r,i){var o=!!(i||t.$options._renderChildren||r.data.scopedSlots||t.$scopedSlots!==ao);if(t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=i,t.$attrs=r.data.attrs||ao,t.$listeners=n||ao,e&&t.$options.props){R(!1);for(var a=t._props,s=t.$options._propKeys||[],c=0;c<s.length;c++){var u=s[c],l=t.$options.props;a[u]=X(u,l,e,t)}R(!0),t.$options.propsData=e}n=n||ao;var f=t.$options._parentListeners;t.$options._parentListeners=n,Mt(t,n,f),o&&(t.$slots=xt(i,r.context),t.$forceUpdate())}function Rt(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function Nt(t,e){if(e){if(t._directInactive=!1,Rt(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)Nt(t.$children[n]);jt(t,"activated")}}function Pt(t,e){if(!(e&&(t._directInactive=!0,Rt(t))||t._inactive)){t._inactive=!0;for(var n=0;n<t.$children.length;n++)Pt(t.$children[n]);jt(t,"deactivated")}}function jt(t,e){$();var n=t.$options[e];if(n)for(var r=0,i=n.length;r<i;r++)try{n[r].call(t)}catch(n){rt(n,t,e+" hook")}t._hasHookEvent&&t.$emit("hook:"+e),D()}function Ft(){ga=va.length=ma.length=0,ha={},_a=ya=!1}function Ut(){ya=!0;var t,e;for(va.sort(function(t,e){return t.id-e.id}),ga=0;ga<va.length;ga++)t=va[ga],e=t.id,ha[e]=null,t.run();var n=ma.slice(),r=va.slice();Ft(),Gt(n),Bt(r),Uo&&wo.devtools&&Uo.emit("flush")}function Bt(t){for(var e=t.length;e--;){var n=t[e],r=n.vm;r._watcher===n&&r._isMounted&&jt(r,"updated")}}function Ht(t){t._inactive=!1,ma.push(t)}function Gt(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,Nt(t[e],!0)}function Wt(t){var e=t.id;if(null==ha[e]){if(ha[e]=!0,ya){for(var n=va.length-1;n>ga&&va[n].id>t.id;)n--;va.splice(n+1,0,t)}else va.push(t);_a||(_a=!0,ct(Ut))}}function Vt(t,e,n){Ca.get=function(){return this[e][n]},Ca.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Ca)}function zt(t){t._watchers=[];var e=t.$options;e.props&&Jt(t,e.props),e.methods&&Qt(t,e.methods),e.data?qt(t):j(t._data={},!0),e.computed&&Zt(t,e.computed),e.watch&&e.watch!==Lo&&te(t,e.watch)}function Jt(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[];!t.$parent||R(!1);for(var o in e)!function(o){i.push(o);var a=X(o,e,n,t);F(r,o,a),o in t||Vt(t,"_props",o)}(o);R(!0)}function qt(t){var e=t.$options.data;e=t._data="function"==typeof e?Kt(e,t):e||{},u(e)||(e={});for(var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);i--;){var o=n[i];r&&h(r,o)||I(o)||Vt(t,"_data",o)}j(e,!0)}function Kt(t,e){$();try{return t.call(e,e)}catch(t){return rt(t,e,"data()"),{}}finally{D()}}function Zt(t,e){var n=t._computedWatchers=Object.create(null),r=Fo();for(var i in e){var o=e[i],a="function"==typeof o?o:o.get;r||(n[i]=new Ea(t,a||w,w,wa)),i in t||Yt(t,i,o)}}function Yt(t,e,n){var r=!Fo();"function"==typeof n?(Ca.get=r?Xt(e):n,Ca.set=w):(Ca.get=n.get?r&&!1!==n.cache?Xt(e):n.get:w,Ca.set=n.set?n.set:w),Object.defineProperty(t,e,Ca)}function Xt(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),Wo.target&&e.depend(),e.value}}function Qt(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?w:_o(e[n],t)}function te(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)ee(t,n,r[i]);else ee(t,n,r)}}function ee(t,e,n,r){return u(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}function ne(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}function re(t){var e=ie(t.$options.inject,t);e&&(R(!1),Object.keys(e).forEach(function(n){F(t,n,e[n])}),R(!0))}function ie(t,e){if(t){for(var n=Object.create(null),r=Bo?Reflect.ownKeys(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}):Object.keys(t),i=0;i<r.length;i++){for(var o=r[i],a=t[o].from,s=e;s;){if(s._provided&&h(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s&&"default"in t[o]){var c=t[o].default;n[o]="function"==typeof c?c.call(e):c}}return n}}function oe(t,e){var n,r,o,a,s;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,o=t.length;r<o;r++)n[r]=e(t[r],r);else if("number"==typeof t)for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r);else if(c(t))for(a=Object.keys(t),n=new Array(a.length),r=0,o=a.length;r<o;r++)s=a[r],n[r]=e(t[s],s,r);return i(n)&&(n._isVList=!0),n}function ae(t,e,n,r){var i,o=this.$scopedSlots[t];if(o)n=n||{},r&&(n=E(E({},r),n)),i=o(n)||e;else{var a=this.$slots[t];a&&(a._rendered=!0),i=a||e}var s=n&&n.slot;return s?this.$createElement("template",{slot:s},i):i}function se(t){return Y(this.$options,"filters",t,!0)||go}function ce(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function ue(t,e,n,r,i){var o=wo.keyCodes[e]||n;return i&&r&&!wo.keyCodes[e]?ce(i,r):o?ce(o,t):r?ho(r)!==e:void 0}function le(t,e,n,r,i){if(n)if(c(n)){Array.isArray(n)&&(n=C(n));var o;for(var a in n)!function(a){if("class"===a||"style"===a||uo(a))o=t;else{var s=t.attrs&&t.attrs.type;o=r||wo.mustUseProp(e,s,a)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}if(!(a in o)&&(o[a]=n[a],i)){(t.on||(t.on={}))["update:"+a]=function(t){n[a]=t}}}(a)}else;return t}function fe(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e?r:(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),pe(r,"__static__"+t,!1),r)}function de(t,e,n){return pe(t,"__once__"+e+(n?"_"+n:""),!0),t}function pe(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&ve(t[r],e+"_"+r,n);else ve(t,e,n)}function ve(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function me(t,e){if(e)if(u(e)){var n=t.on=t.on?E({},t.on):{};for(var r in e){var i=n[r],o=e[r];n[r]=i?[].concat(i,o):o}}else;return t}function he(t){t._o=de,t._n=p,t._s=d,t._l=oe,t._t=ae,t._q=O,t._i=S,t._m=fe,t._f=se,t._k=ue,t._b=le,t._v=k,t._e=qo,t._u=$t,t._g=me}function _e(t,e,n,r,i){var a,s=i.options;h(r,"_uid")?(a=Object.create(r),a._original=r):(a=r,r=r._original);var c=o(s._compiled),u=!c;this.data=t,this.props=e,this.children=n,this.parent=r,this.listeners=t.on||ao,this.injections=ie(s.inject,r),this.slots=function(){return xt(n,r)},c&&(this.$options=s,this.$slots=this.slots(),this.$scopedSlots=t.scopedSlots||ao),s._scopeId?this._c=function(t,e,n,i){var o=Se(a,t,e,n,i,u);return o&&!Array.isArray(o)&&(o.fnScopeId=s._scopeId,o.fnContext=r),o}:this._c=function(t,e,n,r){return Se(a,t,e,n,r,u)}}function ye(t,e,n,r,o){var a=t.options,s={},c=a.props;if(i(c))for(var u in c)s[u]=X(u,c,e||ao);else i(n.attrs)&&be(s,n.attrs),i(n.props)&&be(s,n.props);var l=new _e(n,s,o,r,t),f=a.render.call(null,l._c,l);if(f instanceof zo)return ge(f,n,l.parent,a);if(Array.isArray(f)){for(var d=_t(f)||[],p=new Array(d.length),v=0;v<d.length;v++)p[v]=ge(d[v],n,l.parent,a);return p}}function ge(t,e,n,r){var i=L(t);return i.fnContext=n,i.fnOptions=r,e.slot&&((i.data||(i.data={})).slot=e.slot),i}function be(t,e){for(var n in e)t[po(n)]=e[n]}function Ee(t,e,n,a,s){if(!r(t)){var u=n.$options._base;if(c(t)&&(t=u.extend(t)),"function"==typeof t){var l;if(r(t.cid)&&(l=t,void 0===(t=Ct(l,u,n))))return Et(l,e,n,a,s);e=e||{},$e(t),i(e.model)&&Oe(t.options,e);var f=vt(e,t,s);if(o(t.options.functional))return ye(t,f,e,n,a);var d=e.on;if(e.on=e.nativeOn,o(t.options.abstract)){var p=e.slot;e={},p&&(e.slot=p)}we(e);var v=t.options.name||s;return new zo("vue-component-"+t.cid+(v?"-"+v:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:f,listeners:d,tag:s,children:a},l)}}}function Ce(t,e,n,r){var o={_isComponent:!0,parent:e,_parentVnode:t,_parentElm:n||null,_refElm:r||null},a=t.data.inlineTemplate;return i(a)&&(o.render=a.render,o.staticRenderFns=a.staticRenderFns),new t.componentOptions.Ctor(o)}function we(t){for(var e=t.hook||(t.hook={}),n=0;n<Sa.length;n++){var r=Sa[n];e[r]=Oa[r]}}function Oe(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.props||(e.props={}))[n]=e.model.value;var o=e.on||(e.on={});i(o[r])?o[r]=[e.model.callback].concat(o[r]):o[r]=e.model.callback}function Se(t,e,n,r,i,a){return(Array.isArray(n)||s(n))&&(i=r,r=n,n=void 0),o(a)&&(i=Ia),Ae(t,e,n,r,i)}function Ae(t,e,n,r,o){if(i(n)&&i(n.__ob__))return qo();if(i(n)&&i(n.is)&&(e=n.is),!e)return qo();Array.isArray(r)&&"function"==typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),o===Ia?r=_t(r):o===Aa&&(r=ht(r));var a,s;if("string"==typeof e){var c;s=t.$vnode&&t.$vnode.ns||wo.getTagNamespace(e),a=wo.isReservedTag(e)?new zo(wo.parsePlatformTagName(e),n,r,void 0,void 0,t):i(c=Y(t.$options,"components",e))?Ee(c,n,t,r,e):new zo(e,n,r,void 0,void 0,t)}else a=Ee(e,n,t,r);return Array.isArray(a)?a:i(a)?(i(s)&&Ie(a,s),i(n)&&Me(n),a):qo()}function Ie(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),i(t.children))for(var a=0,s=t.children.length;a<s;a++){var c=t.children[a];i(c.tag)&&(r(c.ns)||o(n)&&"svg"!==c.tag)&&Ie(c,e,n)}}function Me(t){c(t.style)&&ut(t.style),c(t.class)&&ut(t.class)}function xe(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=xt(e._renderChildren,r),t.$scopedSlots=ao,t._c=function(e,n,r,i){return Se(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return Se(t,e,n,r,i,!0)};var i=n&&n.data;F(t,"$attrs",i&&i.attrs||ao,null,!0),F(t,"$listeners",e._parentListeners||ao,null,!0)}function Te(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r,n._parentElm=e._parentElm,n._refElm=e._refElm;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function $e(t){var e=t.options;if(t.super){var n=$e(t.super);if(n!==t.superOptions){t.superOptions=n;var r=De(t);r&&E(t.extendOptions,r),e=t.options=Z(n,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function De(t){var e,n=t.options,r=t.extendOptions,i=t.sealedOptions;for(var o in n)n[o]!==i[o]&&(e||(e={}),e[o]=ke(n[o],r[o],i[o]));return e}function ke(t,e,n){if(Array.isArray(t)){var r=[];n=Array.isArray(n)?n:[n],e=Array.isArray(e)?e:[e];for(var i=0;i<t.length;i++)(e.indexOf(t[i])>=0||n.indexOf(t[i])<0)&&r.push(t[i]);return r}return t}function Le(t){this._init(t)}function Re(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=b(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}function Ne(t){t.mixin=function(t){return this.options=Z(this.options,t),this}}function Pe(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name,a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=Z(n.options,t),a.super=n,a.options.props&&je(a),a.options.computed&&Fe(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Eo.forEach(function(t){a[t]=n[t]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=E({},a.options),i[r]=a,a}}function je(t){var e=t.options.props;for(var n in e)Vt(t.prototype,"_props",n)}function Fe(t){var e=t.options.computed;for(var n in e)Yt(t.prototype,n,e[n])}function Ue(t){Eo.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function Be(t){return t&&(t.Ctor.options.name||t.tag)}function He(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!l(t)&&t.test(e)}function Ge(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var a=n[o];if(a){var s=Be(a.componentOptions);s&&!e(s)&&We(n,o,r,i)}}}function We(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,m(n,e)}function Ve(t){for(var e=t.data,n=t,r=t;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=ze(r.data,e));for(;i(n=n.parent);)n&&n.data&&(e=ze(e,n.data));return Je(e.staticClass,e.class)}function ze(t,e){return{staticClass:qe(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function Je(t,e){return i(t)||i(e)?qe(t,Ke(e)):""}function qe(t,e){return t?e?t+" "+e:t:e||""}function Ke(t){return Array.isArray(t)?Ze(t):c(t)?Ye(t):"string"==typeof t?t:""}function Ze(t){for(var e,n="",r=0,o=t.length;r<o;r++)i(e=Ke(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}function Ye(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}function Xe(t){return Xa(t)?"svg":"math"===t?"math":void 0}function Qe(t){if(!Ao)return!0;if(ts(t))return!1;if(t=t.toLowerCase(),null!=es[t])return es[t];var e=document.createElement(t);return t.indexOf("-")>-1?es[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:es[t]=/HTMLUnknownElement/.test(e.toString())}function tn(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function en(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function nn(t,e){return document.createElementNS(Za[t],e)}function rn(t){return document.createTextNode(t)}function on(t){return document.createComment(t)}function an(t,e,n){t.insertBefore(e,n)}function sn(t,e){t.removeChild(e)}function cn(t,e){t.appendChild(e)}function un(t){return t.parentNode}function ln(t){return t.nextSibling}function fn(t){return t.tagName}function dn(t,e){t.textContent=e}function pn(t,e){t.setAttribute(e,"")}function vn(t,e){var n=t.data.ref;if(i(n)){var r=t.context,o=t.componentInstance||t.elm,a=r.$refs;e?Array.isArray(a[n])?m(a[n],o):a[n]===o&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}function mn(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&i(t.data)===i(e.data)&&hn(t,e)||o(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&r(e.asyncFactory.error))}function hn(t,e){if("input"!==t.tag)return!0;var n,r=i(n=t.data)&&i(n=n.attrs)&&n.type,o=i(n=e.data)&&i(n=n.attrs)&&n.type;return r===o||ns(r)&&ns(o)}function _n(t,e,n){var r,o,a={};for(r=e;r<=n;++r)o=t[r].key,i(o)&&(a[o]=r);return a}function yn(t,e){(t.data.directives||e.data.directives)&&gn(t,e)}function gn(t,e){var n,r,i,o=t===os,a=e===os,s=bn(t.data.directives,t.context),c=bn(e.data.directives,e.context),u=[],l=[];for(n in c)r=s[n],i=c[n],r?(i.oldValue=r.value,Cn(i,"update",e,t),i.def&&i.def.componentUpdated&&l.push(i)):(Cn(i,"bind",e,t),i.def&&i.def.inserted&&u.push(i));if(u.length){var f=function(){for(var n=0;n<u.length;n++)Cn(u[n],"inserted",e,t)};o?pt(e,"insert",f):f()}if(l.length&&pt(e,"postpatch",function(){for(var n=0;n<l.length;n++)Cn(l[n],"componentUpdated",e,t)}),!o)for(n in s)c[n]||Cn(s[n],"unbind",t,t,a)}function bn(t,e){var n=Object.create(null);if(!t)return n;var r,i;for(r=0;r<t.length;r++)i=t[r],i.modifiers||(i.modifiers=cs),n[En(i)]=i,i.def=Y(e.$options,"directives",i.name,!0);return n}function En(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function Cn(t,e,n,r,i){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,r,i)}catch(r){rt(r,n.context,"directive "+t.name+" "+e+" hook")}}function wn(t,e){var n=e.componentOptions;if(!(i(n)&&!1===n.Ctor.options.inheritAttrs||r(t.data.attrs)&&r(e.data.attrs))){var o,a,s=e.elm,c=t.data.attrs||{},u=e.data.attrs||{};i(u.__ob__)&&(u=e.data.attrs=E({},u));for(o in u)a=u[o],c[o]!==a&&On(s,o,a);(To||Do)&&u.value!==c.value&&On(s,"value",u.value);for(o in c)r(u[o])&&(Ja(o)?s.removeAttributeNS(za,qa(o)):Wa(o)||s.removeAttribute(o))}}function On(t,e,n){t.tagName.indexOf("-")>-1?Sn(t,e,n):Va(e)?Ka(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Wa(e)?t.setAttribute(e,Ka(n)||"false"===n?"false":"true"):Ja(e)?Ka(n)?t.removeAttributeNS(za,qa(e)):t.setAttributeNS(za,e,n):Sn(t,e,n)}function Sn(t,e,n){if(Ka(n))t.removeAttribute(e);else{if(To&&!$o&&"TEXTAREA"===t.tagName&&"placeholder"===e&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}function An(t,e){var n=e.elm,o=e.data,a=t.data;if(!(r(o.staticClass)&&r(o.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=Ve(e),c=n._transitionClasses;i(c)&&(s=qe(s,Ke(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}function In(t){function e(){(a||(a=[])).push(t.slice(v,i).trim()),v=i+1}var n,r,i,o,a,s=!1,c=!1,u=!1,l=!1,f=0,d=0,p=0,v=0;for(i=0;i<t.length;i++)if(r=n,n=t.charCodeAt(i),s)39===n&&92!==r&&(s=!1);else if(c)34===n&&92!==r&&(c=!1);else if(u)96===n&&92!==r&&(u=!1);else if(l)47===n&&92!==r&&(l=!1);else if(124!==n||124===t.charCodeAt(i+1)||124===t.charCodeAt(i-1)||f||d||p){switch(n){case 34:c=!0;break;case 39:s=!0;break;case 96:u=!0;break;case 40:p++;break;case 41:p--;break;case 91:d++;break;case 93:d--;break;case 123:f++;break;case 125:f--}if(47===n){for(var m=i-1,h=void 0;m>=0&&" "===(h=t.charAt(m));m--);h&&ds.test(h)||(l=!0)}}else void 0===o?(v=i+1,o=t.slice(0,i).trim()):e();if(void 0===o?o=t.slice(0,i).trim():0!==v&&e(),a)for(i=0;i<a.length;i++)o=Mn(o,a[i]);return o}function Mn(t,e){var n=e.indexOf("(");if(n<0)return'_f("'+e+'")('+t+")";var r=e.slice(0,n),i=e.slice(n+1);return'_f("'+r+'")('+t+(")"!==i?","+i:i)}function xn(t){console.error("[Vue compiler]: "+t)}function Tn(t,e){return t?t.map(function(t){return t[e]}).filter(function(t){return t}):[]}function $n(t,e,n){(t.props||(t.props=[])).push({name:e,value:n}),t.plain=!1}function Dn(t,e,n){(t.attrs||(t.attrs=[])).push({name:e,value:n}),t.plain=!1}function kn(t,e,n){t.attrsMap[e]=n,t.attrsList.push({name:e,value:n})}function Ln(t,e,n,r,i,o){(t.directives||(t.directives=[])).push({name:e,rawName:n,value:r,arg:i,modifiers:o}),t.plain=!1}function Rn(t,e,n,r,i,o){r=r||ao,r.capture&&(delete r.capture,e="!"+e),r.once&&(delete r.once,e="~"+e),r.passive&&(delete r.passive,e="&"+e),"click"===e&&(r.right?(e="contextmenu",delete r.right):r.middle&&(e="mouseup"));var a;r.native?(delete r.native,a=t.nativeEvents||(t.nativeEvents={})):a=t.events||(t.events={});var s={value:n.trim()};r!==ao&&(s.modifiers=r);var c=a[e];Array.isArray(c)?i?c.unshift(s):c.push(s):a[e]=c?i?[s,c]:[c,s]:s,t.plain=!1}function Nn(t,e,n){var r=Pn(t,":"+e)||Pn(t,"v-bind:"+e);if(null!=r)return In(r);if(!1!==n){var i=Pn(t,e);if(null!=i)return JSON.stringify(i)}}function Pn(t,e,n){var r;if(null!=(r=t.attrsMap[e]))for(var i=t.attrsList,o=0,a=i.length;o<a;o++)if(i[o].name===e){i.splice(o,1);break}return n&&delete t.attrsMap[e],r}function jn(t,e,n){var r=n||{},i=r.number,o=r.trim,a="$$v";o&&(a="(typeof $$v === 'string'? $$v.trim(): $$v)"),i&&(a="_n("+a+")");var s=Fn(e,a);t.model={value:"("+e+")",expression:'"'+e+'"',callback:"function ($$v) {"+s+"}"}}function Fn(t,e){var n=Un(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function Un(t){if(t=t.trim(),Da=t.length,t.indexOf("[")<0||t.lastIndexOf("]")<Da-1)return Ra=t.lastIndexOf("."),Ra>-1?{exp:t.slice(0,Ra),key:'"'+t.slice(Ra+1)+'"'}:{exp:t,key:null};for(ka=t,Ra=Na=Pa=0;!Hn();)La=Bn(),Gn(La)?Vn(La):91===La&&Wn(La);return{exp:t.slice(0,Na),key:t.slice(Na+1,Pa)}}function Bn(){return ka.charCodeAt(++Ra)}function Hn(){return Ra>=Da}function Gn(t){return 34===t||39===t}function Wn(t){var e=1;for(Na=Ra;!Hn();)if(t=Bn(),Gn(t))Vn(t);else if(91===t&&e++,93===t&&e--,0===e){Pa=Ra;break}}function Vn(t){for(var e=t;!Hn()&&(t=Bn())!==e;);}function zn(t,e,n){ja=n;var r=e.value,i=e.modifiers,o=t.tag,a=t.attrsMap.type;if(t.component)return jn(t,r,i),!1;if("select"===o)Kn(t,r,i);else if("input"===o&&"checkbox"===a)Jn(t,r,i);else if("input"===o&&"radio"===a)qn(t,r,i);else if("input"===o||"textarea"===o)Zn(t,r,i);else if(!wo.isReservedTag(o))return jn(t,r,i),!1;return!0}function Jn(t,e,n){var r=n&&n.number,i=Nn(t,"value")||"null",o=Nn(t,"true-value")||"true",a=Nn(t,"false-value")||"false";$n(t,"checked","Array.isArray("+e+")?_i("+e+","+i+")>-1"+("true"===o?":("+e+")":":_q("+e+","+o+")")),Rn(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Fn(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Fn(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Fn(e,"$$c")+"}",null,!0)}function qn(t,e,n){var r=n&&n.number,i=Nn(t,"value")||"null";i=r?"_n("+i+")":i,$n(t,"checked","_q("+e+","+i+")"),Rn(t,"change",Fn(e,i),null,!0)}function Kn(t,e,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",o="var $$selectedVal = "+i+";";o=o+" "+Fn(e,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),Rn(t,"change",o,null,!0)}function Zn(t,e,n){var r=t.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?ps:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=Fn(e,l);c&&(f="if($event.target.composing)return;"+f),$n(t,"value","("+e+")"),Rn(t,u,f,null,!0),(s||a)&&Rn(t,"blur","$forceUpdate()")}function Yn(t){if(i(t[ps])){var e=To?"change":"input";t[e]=[].concat(t[ps],t[e]||[]),delete t[ps]}i(t[vs])&&(t.change=[].concat(t[vs],t.change||[]),delete t[vs])}function Xn(t,e,n){var r=Fa;return function i(){null!==t.apply(null,arguments)&&tr(e,i,n,r)}}function Qn(t,e,n,r,i){e=st(e),n&&(e=Xn(e,t,r)),Fa.addEventListener(t,e,Ro?{capture:r,passive:i}:r)}function tr(t,e,n,r){(r||Fa).removeEventListener(t,e._withTask||e,n)}function er(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};Fa=e.elm,Yn(n),dt(n,i,Qn,tr,e.context),Fa=void 0}}function nr(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,o,a=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};i(c.__ob__)&&(c=e.data.domProps=E({},c));for(n in s)r(c[n])&&(a[n]="");for(n in c){if(o=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),o===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n){a._value=o;var u=r(o)?"":String(o);rr(a,u)&&(a.value=u)}else a[n]=o}}}function rr(t,e){return!t.composing&&("OPTION"===t.tagName||ir(t,e)||or(t,e))}function ir(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}function or(t,e){var n=t.value,r=t._vModifiers;if(i(r)){if(r.lazy)return!1;if(r.number)return p(n)!==p(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}function ar(t){var e=sr(t.style);return t.staticStyle?E(t.staticStyle,e):e}function sr(t){return Array.isArray(t)?C(t):"string"==typeof t?_s(t):t}function cr(t,e){var n,r={};if(e)for(var i=t;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=ar(i.data))&&E(r,n);(n=ar(t.data))&&E(r,n);for(var o=t;o=o.parent;)o.data&&(n=ar(o.data))&&E(r,n);return r}function ur(t,e){var n=e.data,o=t.data;if(!(r(n.staticStyle)&&r(n.style)&&r(o.staticStyle)&&r(o.style))){var a,s,c=e.elm,u=o.staticStyle,l=o.normalizedStyle||o.style||{},f=u||l,d=sr(e.data.style)||{};e.data.normalizedStyle=i(d.__ob__)?E({},d):d;var p=cr(e,!0);for(s in f)r(p[s])&&bs(c,s,"");for(s in p)(a=p[s])!==f[s]&&bs(c,s,null==a?"":a)}}function lr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function fr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function dr(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&E(e,Os(t.name||"v")),E(e,t),e}return"string"==typeof t?Os(t):void 0}}function pr(t){Ds(function(){Ds(t)})}function vr(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),lr(t,e))}function mr(t,e){t._transitionClasses&&m(t._transitionClasses,e),fr(t,e)}function hr(t,e,n){var r=_r(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===As?xs:$s,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout(function(){c<a&&u()},o+1),t.addEventListener(s,l)}function _r(t,e){var n,r=window.getComputedStyle(t),i=r[Ms+"Delay"].split(", "),o=r[Ms+"Duration"].split(", "),a=yr(i,o),s=r[Ts+"Delay"].split(", "),c=r[Ts+"Duration"].split(", "),u=yr(s,c),l=0,f=0;return e===As?a>0&&(n=As,l=a,f=o.length):e===Is?u>0&&(n=Is,l=u,f=c.length):(l=Math.max(a,u),n=l>0?a>u?As:Is:null,f=n?n===As?o.length:c.length:0),{type:n,timeout:l,propCount:f,hasTransform:n===As&&ks.test(r[Ms+"Property"])}}function yr(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return gr(e)+gr(t[n])}))}function gr(t){return 1e3*Number(t.slice(0,-1))}function br(t,e){var n=t.elm;i(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var o=dr(t.data.transition);if(!r(o)&&!i(n._enterCb)&&1===n.nodeType){for(var a=o.css,s=o.type,u=o.enterClass,l=o.enterToClass,f=o.enterActiveClass,d=o.appearClass,v=o.appearToClass,m=o.appearActiveClass,h=o.beforeEnter,_=o.enter,y=o.afterEnter,g=o.enterCancelled,b=o.beforeAppear,E=o.appear,C=o.afterAppear,w=o.appearCancelled,O=o.duration,S=pa,I=pa.$vnode;I&&I.parent;)I=I.parent,S=I.context;var M=!S._isMounted||!t.isRootInsert;if(!M||E||""===E){var x=M&&d?d:u,T=M&&m?m:f,$=M&&v?v:l,D=M?b||h:h,k=M&&"function"==typeof E?E:_,L=M?C||y:y,R=M?w||g:g,N=p(c(O)?O.enter:O),P=!1!==a&&!$o,j=wr(k),F=n._enterCb=A(function(){P&&(mr(n,$),mr(n,T)),F.cancelled?(P&&mr(n,x),R&&R(n)):L&&L(n),n._enterCb=null});t.data.show||pt(t,"insert",function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),k&&k(n,F)}),D&&D(n),P&&(vr(n,x),vr(n,T),pr(function(){mr(n,x),F.cancelled||(vr(n,$),j||(Cr(N)?setTimeout(F,N):hr(n,s,F)))})),t.data.show&&(e&&e(),k&&k(n,F)),P||j||F()}}}function Er(t,e){function n(){w.cancelled||(t.data.show||((o.parentNode._pending||(o.parentNode._pending={}))[t.key]=t),v&&v(o),b&&(vr(o,l),vr(o,d),pr(function(){mr(o,l),w.cancelled||(vr(o,f),E||(Cr(C)?setTimeout(w,C):hr(o,u,w)))})),m&&m(o,w),b||E||w())}var o=t.elm;i(o._enterCb)&&(o._enterCb.cancelled=!0,o._enterCb());var a=dr(t.data.transition);if(r(a)||1!==o.nodeType)return e();if(!i(o._leaveCb)){var s=a.css,u=a.type,l=a.leaveClass,f=a.leaveToClass,d=a.leaveActiveClass,v=a.beforeLeave,m=a.leave,h=a.afterLeave,_=a.leaveCancelled,y=a.delayLeave,g=a.duration,b=!1!==s&&!$o,E=wr(m),C=p(c(g)?g.leave:g),w=o._leaveCb=A(function(){o.parentNode&&o.parentNode._pending&&(o.parentNode._pending[t.key]=null),b&&(mr(o,f),mr(o,d)),w.cancelled?(b&&mr(o,l),_&&_(o)):(e(),h&&h(o)),o._leaveCb=null});y?y(n):n()}}function Cr(t){return"number"==typeof t&&!isNaN(t)}function wr(t){if(r(t))return!1;var e=t.fns;return i(e)?wr(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Or(t,e){!0!==e.data.show&&br(e)}function Sr(t,e,n){Ar(t,e,n),(To||Do)&&setTimeout(function(){Ar(t,e,n)},0)}function Ar(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=t.options.length;s<c;s++)if(a=t.options[s],i)o=S(r,Mr(a))>-1,a.selected!==o&&(a.selected=o);else if(O(Mr(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function Ir(t,e){return e.every(function(e){return!O(e,t)})}function Mr(t){return"_value"in t?t._value:t.value}function xr(t){t.target.composing=!0}function Tr(t){t.target.composing&&(t.target.composing=!1,$r(t.target,"input"))}function $r(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Dr(t){return!t.componentInstance||t.data&&t.data.transition?t:Dr(t.componentInstance._vnode)}function kr(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?kr(Ot(e.children)):t}function Lr(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[po(o)]=i[o];return e}function Rr(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Nr(t){for(;t=t.parent;)if(t.data.transition)return!0}function Pr(t,e){return e.key===t.key&&e.tag===t.tag}function jr(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Fr(t){t.data.newPos=t.elm.getBoundingClientRect()}function Ur(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}function Br(t,e){var n=e?Ks(e):Js;if(n.test(t)){for(var r,i,o,a=[],s=[],c=n.lastIndex=0;r=n.exec(t);){i=r.index,i>c&&(s.push(o=t.slice(c,i)),a.push(JSON.stringify(o)));var u=In(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=i+r[0].length}return c<t.length&&(s.push(o=t.slice(c)),a.push(JSON.stringify(o))),{expression:a.join("+"),tokens:s}}}function Hr(t,e){var n=(e.warn,Pn(t,"class"));n&&(t.staticClass=JSON.stringify(n));var r=Nn(t,"class",!1);r&&(t.classBinding=r)}function Gr(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}function Wr(t,e){var n=(e.warn,Pn(t,"style"));if(n){t.staticStyle=JSON.stringify(_s(n))}var r=Nn(t,"style",!1);r&&(t.styleBinding=r)}function Vr(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}function zr(t,e){var n=e?Ic:Ac;return t.replace(n,function(t){return Sc[t]})}function Jr(t,e){function n(e){l+=e,t=t.substring(e)}function r(t,n,r){var i,s;if(null==n&&(n=l),null==r&&(r=l),t&&(s=t.toLowerCase()),t)for(i=a.length-1;i>=0&&a[i].lowerCasedTag!==s;i--);else i=0;if(i>=0){for(var c=a.length-1;c>=i;c--)e.end&&e.end(a[c].tag,n,r);a.length=i,o=i&&a[i-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,r):"p"===s&&(e.start&&e.start(t,[],!1,n,r),e.end&&e.end(t,n,r))}for(var i,o,a=[],s=e.expectHTML,c=e.isUnaryTag||yo,u=e.canBeLeftOpenTag||yo,l=0;t;){if(i=t,o&&wc(o)){var f=0,d=o.toLowerCase(),p=Oc[d]||(Oc[d]=new RegExp("([\\s\\S]*?)(</"+d+"[^>]*>)","i")),v=t.replace(p,function(t,n,r){return f=r.length,wc(d)||"noscript"===d||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),xc(d,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""});l+=t.length-v.length,t=v,r(d,l-f,l)}else{var m=t.indexOf("<");if(0===m){if(uc.test(t)){var h=t.indexOf("--\x3e");if(h>=0){e.shouldKeepComment&&e.comment(t.substring(4,h)),n(h+3);continue}}if(lc.test(t)){var _=t.indexOf("]>");if(_>=0){n(_+2);continue}}var y=t.match(cc);if(y){n(y[0].length);continue}var g=t.match(sc);if(g){var b=l;n(g[0].length),r(g[1],b,l);continue}var E=function(){var e=t.match(oc);if(e){var r={tagName:e[1],attrs:[],start:l};n(e[0].length);for(var i,o;!(i=t.match(ac))&&(o=t.match(nc));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=l,r}}();if(E){!function(t){var n=t.tagName,i=t.unarySlash;s&&("p"===o&&ec(n)&&r(o),u(n)&&o===n&&r(n));for(var l=c(n)||!!i,f=t.attrs.length,d=new Array(f),p=0;p<f;p++){var v=t.attrs[p];fc&&-1===v[0].indexOf('""')&&(""===v[3]&&delete v[3],""===v[4]&&delete v[4],""===v[5]&&delete v[5]);var m=v[3]||v[4]||v[5]||"",h="a"===n&&"href"===v[1]?e.shouldDecodeNewlinesForHref:e.shouldDecodeNewlines;d[p]={name:v[1],value:zr(m,h)}}l||(a.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:d}),o=n),e.start&&e.start(n,d,l,t.start,t.end)}(E),xc(o,t)&&n(1);continue}}var C=void 0,w=void 0,O=void 0;if(m>=0){for(w=t.slice(m);!(sc.test(w)||oc.test(w)||uc.test(w)||lc.test(w)||(O=w.indexOf("<",1))<0);)m+=O,w=t.slice(m);C=t.substring(0,m),n(m)}m<0&&(C=t,t=""),e.chars&&C&&e.chars(C)}if(t===i){e.chars&&e.chars(t);break}}r()}function qr(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:pi(e),parent:n,children:[]}}function Kr(t,e){function n(t){t.pre&&(s=!1),_c(t.tag)&&(c=!1);for(var n=0;n<hc.length;n++)hc[n](t,e)}dc=e.warn||xn,_c=e.isPreTag||yo,yc=e.mustUseProp||yo,gc=e.getTagNamespace||yo,vc=Tn(e.modules,"transformNode"),mc=Tn(e.modules,"preTransformNode"),hc=Tn(e.modules,"postTransformNode"),pc=e.delimiters;var r,i,o=[],a=!1!==e.preserveWhitespace,s=!1,c=!1;return Jr(t,{warn:dc,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,start:function(t,a,u){var l=i&&i.ns||gc(t);To&&"svg"===l&&(a=hi(a));var f=qr(t,a,i);l&&(f.ns=l),mi(f)&&!Fo()&&(f.forbidden=!0);for(var d=0;d<mc.length;d++)f=mc[d](f,e)||f;if(s||(Zr(f),f.pre&&(s=!0)),_c(f.tag)&&(c=!0),s?Yr(f):f.processed||(ei(f),ri(f),si(f),Xr(f,e)),r?o.length||r.if&&(f.elseif||f.else)&&ai(r,{exp:f.elseif,block:f}):r=f,i&&!f.forbidden)if(f.elseif||f.else)ii(f,i);else if(f.slotScope){i.plain=!1;var p=f.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[p]=f}else i.children.push(f),f.parent=i;u?n(f):(i=f,o.push(f))},end:function(){var t=o[o.length-1],e=t.children[t.children.length-1];e&&3===e.type&&" "===e.text&&!c&&t.children.pop(),o.length-=1,i=o[o.length-1],n(t)},chars:function(t){if(i&&(!To||"textarea"!==i.tag||i.attrsMap.placeholder!==t)){var e=i.children;if(t=c||t.trim()?vi(i)?t:jc(t):a&&e.length?" ":""){var n;!s&&" "!==t&&(n=Br(t,pc))?e.push({type:2,expression:n.expression,tokens:n.tokens,text:t}):" "===t&&e.length&&" "===e[e.length-1].text||e.push({type:3,text:t})}}},comment:function(t){i.children.push({type:3,text:t,isComment:!0})}}),r}function Zr(t){null!=Pn(t,"v-pre")&&(t.pre=!0)}function Yr(t){var e=t.attrsList.length;if(e)for(var n=t.attrs=new Array(e),r=0;r<e;r++)n[r]={name:t.attrsList[r].name,value:JSON.stringify(t.attrsList[r].value)};else t.pre||(t.plain=!0)}function Xr(t,e){Qr(t),t.plain=!t.key&&!t.attrsList.length,ti(t),ci(t),ui(t);for(var n=0;n<vc.length;n++)t=vc[n](t,e)||t;li(t)}function Qr(t){var e=Nn(t,"key");e&&(t.key=e)}function ti(t){var e=Nn(t,"ref");e&&(t.ref=e,t.refInFor=fi(t))}function ei(t){var e;if(e=Pn(t,"v-for")){var n=ni(e);n&&E(t,n)}}function ni(t){var e=t.match(Dc);if(e){var n={};n.for=e[2].trim();var r=e[1].trim().replace(Lc,""),i=r.match(kc);return i?(n.alias=r.replace(kc,""),n.iterator1=i[1].trim(),i[2]&&(n.iterator2=i[2].trim())):n.alias=r,n}}function ri(t){var e=Pn(t,"v-if");if(e)t.if=e,ai(t,{exp:e,block:t});else{null!=Pn(t,"v-else")&&(t.else=!0);var n=Pn(t,"v-else-if");n&&(t.elseif=n)}}function ii(t,e){var n=oi(e.children);n&&n.if&&ai(n,{exp:t.elseif,block:t})}function oi(t){for(var e=t.length;e--;){if(1===t[e].type)return t[e];t.pop()}}function ai(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function si(t){null!=Pn(t,"v-once")&&(t.once=!0)}function ci(t){if("slot"===t.tag)t.slotName=Nn(t,"name");else{var e;"template"===t.tag?(e=Pn(t,"scope"),t.slotScope=e||Pn(t,"slot-scope")):(e=Pn(t,"slot-scope"))&&(t.slotScope=e);var n=Nn(t,"slot");n&&(t.slotTarget='""'===n?'"default"':n,"template"===t.tag||t.slotScope||Dn(t,"slot",n))}}function ui(t){var e;(e=Nn(t,"is"))&&(t.component=e),null!=Pn(t,"inline-template")&&(t.inlineTemplate=!0)}function li(t){var e,n,r,i,o,a,s,c=t.attrsList;for(e=0,n=c.length;e<n;e++)if(r=i=c[e].name,o=c[e].value,$c.test(r))if(t.hasBindings=!0,a=di(r),a&&(r=r.replace(Pc,"")),Nc.test(r))r=r.replace(Nc,""),o=In(o),s=!1,a&&(a.prop&&(s=!0,"innerHtml"===(r=po(r))&&(r="innerHTML")),a.camel&&(r=po(r)),a.sync&&Rn(t,"update:"+po(r),Fn(o,"$event"))),s||!t.component&&yc(t.tag,t.attrsMap.type,r)?$n(t,r,o):Dn(t,r,o);else if(Tc.test(r))r=r.replace(Tc,""),Rn(t,r,o,a,!1,dc);else{r=r.replace($c,"");var u=r.match(Rc),l=u&&u[1];l&&(r=r.slice(0,-(l.length+1))),Ln(t,r,i,o,l,a)}else{Dn(t,r,JSON.stringify(o)),!t.component&&"muted"===r&&yc(t.tag,t.attrsMap.type,r)&&$n(t,r,"true")}}function fi(t){for(var e=t;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}function di(t){var e=t.match(Pc);if(e){var n={};return e.forEach(function(t){n[t.slice(1)]=!0}),n}}function pi(t){for(var e={},n=0,r=t.length;n<r;n++)e[t[n].name]=t[n].value;return e}function vi(t){return"script"===t.tag||"style"===t.tag}function mi(t){return"style"===t.tag||"script"===t.tag&&(!t.attrsMap.type||"text/javascript"===t.attrsMap.type)}function hi(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];Fc.test(r.name)||(r.name=r.name.replace(Uc,""),e.push(r))}return e}function _i(t,e){if("input"===t.tag){var n=t.attrsMap;if(!n["v-model"])return;var r;if((n[":type"]||n["v-bind:type"])&&(r=Nn(t,"type")),n.type||r||!n["v-bind"]||(r="("+n["v-bind"]+").type"),r){var i=Pn(t,"v-if",!0),o=i?"&&("+i+")":"",a=null!=Pn(t,"v-else",!0),s=Pn(t,"v-else-if",!0),c=yi(t);ei(c),kn(c,"type","checkbox"),Xr(c,e),c.processed=!0,c.if="("+r+")==='checkbox'"+o,ai(c,{exp:c.if,block:c});var u=yi(t);Pn(u,"v-for",!0),kn(u,"type","radio"),Xr(u,e),ai(c,{exp:"("+r+")==='radio'"+o,block:u});var l=yi(t);return Pn(l,"v-for",!0),kn(l,":type",r),Xr(l,e),ai(c,{exp:i,block:l}),a?c.else=!0:s&&(c.elseif=s),c}}}function yi(t){return qr(t.tag,t.attrsList.slice(),t.parent)}function gi(t,e){e.value&&$n(t,"textContent","_s("+e.value+")")}function bi(t,e){e.value&&$n(t,"innerHTML","_s("+e.value+")")}function Ei(t,e){t&&(bc=Vc(e.staticKeys||""),Ec=e.isReservedTag||yo,wi(t),Oi(t,!1))}function Ci(t){return v("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(t?","+t:""))}function wi(t){if(t.static=Si(t),1===t.type){if(!Ec(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var e=0,n=t.children.length;e<n;e++){var r=t.children[e];wi(r),r.static||(t.static=!1)}if(t.ifConditions)for(var i=1,o=t.ifConditions.length;i<o;i++){var a=t.ifConditions[i].block;wi(a),a.static||(t.static=!1)}}}function Oi(t,e){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=e),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var n=0,r=t.children.length;n<r;n++)Oi(t.children[n],e||!!t.for);if(t.ifConditions)for(var i=1,o=t.ifConditions.length;i<o;i++)Oi(t.ifConditions[i].block,e)}}function Si(t){return 2!==t.type&&(3===t.type||!(!t.pre&&(t.hasBindings||t.if||t.for||co(t.tag)||!Ec(t.tag)||Ai(t)||!Object.keys(t).every(bc))))}function Ai(t){for(;t.parent;){if(t=t.parent,"template"!==t.tag)return!1;if(t.for)return!0}return!1}function Ii(t,e,n){var r=e?"nativeOn:{":"on:{";for(var i in t)r+='"'+i+'":'+Mi(i,t[i])+",";return r.slice(0,-1)+"}"}function Mi(t,e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return Mi(t,e)}).join(",")+"]";var n=Jc.test(e.value),r=zc.test(e.value);if(e.modifiers){var i="",o="",a=[];for(var s in e.modifiers)if(Yc[s])o+=Yc[s],qc[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;o+=Zc(["ctrl","shift","alt","meta"].filter(function(t){return!c[t]}).map(function(t){return"$event."+t+"Key"}).join("||"))}else a.push(s);a.length&&(i+=xi(a)),o&&(i+=o);return"function($event){"+i+(n?"return "+e.value+"($event)":r?"return ("+e.value+")($event)":e.value)+"}"}return n||r?e.value:"function($event){"+e.value+"}"}function xi(t){return"if(!('button' in $event)&&"+t.map(Ti).join("&&")+")return null;"}function Ti(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=qc[t],r=Kc[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}function $i(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}}function Di(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}}function ki(t,e){var n=new Qc(e);return{render:"with(this){return "+(t?Li(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Li(t,e){if(t.staticRoot&&!t.staticProcessed)return Ri(t,e);if(t.once&&!t.onceProcessed)return Ni(t,e);if(t.for&&!t.forProcessed)return Fi(t,e);if(t.if&&!t.ifProcessed)return Pi(t,e);if("template"!==t.tag||t.slotTarget){if("slot"===t.tag)return Xi(t,e);var n;if(t.component)n=Qi(t.component,t,e);else{var r=t.plain?void 0:Ui(t,e),i=t.inlineTemplate?null:zi(t,e,!0);n="_c('"+t.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o<e.transforms.length;o++)n=e.transforms[o](t,n);return n}return zi(t,e)||"void 0"}function Ri(t,e){return t.staticProcessed=!0,e.staticRenderFns.push("with(this){return "+Li(t,e)+"}"),"_m("+(e.staticRenderFns.length-1)+(t.staticInFor?",true":"")+")"}function Ni(t,e){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return Pi(t,e);if(t.staticInFor){for(var n="",r=t.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o("+Li(t,e)+","+e.onceId+++","+n+")":Li(t,e)}return Ri(t,e)}function Pi(t,e,n,r){return t.ifProcessed=!0,ji(t.ifConditions.slice(),e,n,r)}function ji(t,e,n,r){function i(t){return n?n(t,e):t.once?Ni(t,e):Li(t,e)}if(!t.length)return r||"_e()";var o=t.shift();return o.exp?"("+o.exp+")?"+i(o.block)+":"+ji(t,e,n,r):""+i(o.block)}function Fi(t,e,n,r){var i=t.for,o=t.alias,a=t.iterator1?","+t.iterator1:"",s=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,(r||"_l")+"(("+i+"),function("+o+a+s+"){return "+(n||Li)(t,e)+"})"}function Ui(t,e){var n="{",r=Bi(t,e);r&&(n+=r+","),t.key&&(n+="key:"+t.key+","),t.ref&&(n+="ref:"+t.ref+","),t.refInFor&&(n+="refInFor:true,"),t.pre&&(n+="pre:true,"),t.component&&(n+='tag:"'+t.tag+'",');for(var i=0;i<e.dataGenFns.length;i++)n+=e.dataGenFns[i](t);if(t.attrs&&(n+="attrs:{"+to(t.attrs)+"},"),t.props&&(n+="domProps:{"+to(t.props)+"},"),t.events&&(n+=Ii(t.events,!1,e.warn)+","),t.nativeEvents&&(n+=Ii(t.nativeEvents,!0,e.warn)+","),t.slotTarget&&!t.slotScope&&(n+="slot:"+t.slotTarget+","),t.scopedSlots&&(n+=Gi(t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var o=Hi(t,e);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function Bi(t,e){var n=t.directives;if(n){var r,i,o,a,s="directives:[",c=!1;for(r=0,i=n.length;r<i;r++){o=n[r],a=!0;var u=e.directives[o.name];u&&(a=!!u(t,o,e.warn)),a&&(c=!0,s+='{name:"'+o.name+'",rawName:"'+o.rawName+'"'+(o.value?",value:("+o.value+"),expression:"+JSON.stringify(o.value):"")+(o.arg?',arg:"'+o.arg+'"':"")+(o.modifiers?",modifiers:"+JSON.stringify(o.modifiers):"")+"},")}return c?s.slice(0,-1)+"]":void 0}}function Hi(t,e){var n=t.children[0];if(1===n.type){var r=ki(n,e.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(t){return"function(){"+t+"}"}).join(",")+"]}"}}function Gi(t,e){return"scopedSlots:_u(["+Object.keys(t).map(function(n){return Wi(n,t[n],e)}).join(",")+"])"}function Wi(t,e,n){return e.for&&!e.forProcessed?Vi(t,e,n):"{key:"+t+",fn:function("+String(e.slotScope)+"){return "+("template"===e.tag?e.if?e.if+"?"+(zi(e,n)||"undefined")+":undefined":zi(e,n)||"undefined":Li(e,n))+"}}"}function Vi(t,e,n){var r=e.for,i=e.alias,o=e.iterator1?","+e.iterator1:"",a=e.iterator2?","+e.iterator2:"";return e.forProcessed=!0,"_l(("+r+"),function("+i+o+a+"){return "+Wi(t,e,n)+"})"}function zi(t,e,n,r,i){var o=t.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag)return(r||Li)(a,e);var s=n?Ji(o,e.maybeComponent):0,c=i||Ki;return"["+o.map(function(t){return c(t,e)}).join(",")+"]"+(s?","+s:"")}}function Ji(t,e){for(var n=0,r=0;r<t.length;r++){var i=t[r];if(1===i.type){if(qi(i)||i.ifConditions&&i.ifConditions.some(function(t){return qi(t.block)})){n=2;break}(e(i)||i.ifConditions&&i.ifConditions.some(function(t){return e(t.block)}))&&(n=1)}}return n}function qi(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function Ki(t,e){return 1===t.type?Li(t,e):3===t.type&&t.isComment?Yi(t):Zi(t)}function Zi(t){return"_v("+(2===t.type?t.expression:eo(JSON.stringify(t.text)))+")"}function Yi(t){return"_e("+JSON.stringify(t.text)+")"}function Xi(t,e){var n=t.slotName||'"default"',r=zi(t,e),i="_t("+n+(r?","+r:""),o=t.attrs&&"{"+t.attrs.map(function(t){return po(t.name)+":"+t.value}).join(",")+"}",a=t.attrsMap["v-bind"];return!o&&!a||r||(i+=",null"),o&&(i+=","+o),a&&(i+=(o?"":",null")+","+a),i+")"}function Qi(t,e,n){var r=e.inlineTemplate?null:zi(e,n,!0);return"_c("+t+","+Ui(e,n)+(r?","+r:"")+")"}function to(t){for(var e="",n=0;n<t.length;n++){var r=t[n];e+='"'+r.name+'":'+eo(r.value)+","}return e.slice(0,-1)}function eo(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function no(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),w}}function ro(t){var e=Object.create(null);return function(n,r,i){r=E({},r);r.warn;delete r.warn;var o=r.delimiters?String(r.delimiters)+n:n;if(e[o])return e[o];var a=t(n,r),s={},c=[];return s.render=no(a.render,c),s.staticRenderFns=a.staticRenderFns.map(function(t){return no(t,c)}),e[o]=s}}function io(t){return Cc=Cc||document.createElement("div"),Cc.innerHTML=t?'<a href="\n"/>':'<div a="\n"/>',Cc.innerHTML.indexOf("&#10;")>0}function oo(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}/*!
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L58

Insecure DOM Manipulation (XSS) in admin-module-edit.js

CWE-79
File Location: media/com_modules/js/admin-module-edit.js:58
Security Score:
72 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- tmpMenu.innerHTML = '<span class=\"badge badge-success\">' + Joomla.JText._('JYES') + '</span>';
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L39

Insecure DOM Manipulation (XSS) in helpsite.js

CWE-79
File Location: media/legacy/js/helpsite.js:39
Security Score:
72 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- node.innerHTML = item.text;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L1

Insecure DOM Manipulation (XSS) in helpsite.min.js

CWE-79
File Location: media/legacy/js/helpsite.min.js:1
Security Score:
72 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- "use strict";var resetHelpSiteList=function(){var e=this.getAttribute("rel"),t=this.getAttribute("showDefault");Joomla.request({url:"index.php?option=com_users&task=profile.gethelpsites&format=json",method:"GET",data:"",perform:!0,headers:{"Content-Type":"application/json;charset=utf-8"},onSuccess:function(n,o){var r;n=JSON.parse(n),document.getElementById(e).innerHTML="",n.data.forEach(function(n){""===n.value&&"true"!==t||((r=document.createElement("option")).value=n.value,r.innerHTML=n.text,document.getElementById(e).appendChild(r))})},onError:function(e){Joomla.removeMessages(),Joomla.renderMessages(Joomla.ajaxErrorsMessages(e))}})};document.addEventListener("DOMContentLoaded",function(){document.getElementById("helpsite-refresh").addEventListener("click",resetHelpSiteList)});
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L174

Insecure DOM Manipulation (XSS) in client.js

CWE-79
File Location: media/plg_installer_webinstaller/js/client.js:174
Security Score:
72 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- document.querySelector('#uploadform-web-name').innerHTML = name;
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output
L80

Insecure DOM Manipulation (XSS) in jupdatecheck.js

CWE-79
File Location: media/plg_quickicon_joomlaupdate/js/jupdatecheck.js:80
Security Score:
72 / 100
Needs Audit

Rule Engine Warning

Detected insecure pattern matching known vulnerability signatures. Medium Confidence (Fuzzy matcher overlap - minor review required). Please apply remediation steps matching the recommended patch format below.

Heuristics Diff
- linkSpan[i].innerHTML = Joomla.JText._('PLG_QUICKICON_JOOMLAUPDATE_ERROR');
+ element.textContent = data; // Or use DOMPurify to sanitize HTML output