// ==UserScript== // @name Better MDL // @description A userscript to enhance the website by making it more friendly & modern // @version 1.3.7 // @author Mio. // @supportURL https://mydramalist.com/discussions/general-discussion/88611-gathering-feedbacks // @match *://*.mydramalist.com/* // @grant GM_addStyle // @grant GM.xmlHttpRequest // @grant GM_getValue // @icon https://github.com/dear-clouds/better-mdl/raw/main/images/favicon.png // @namespace https://dear-clouds.carrd.co/#better-mdl // @downloadURL https://update.greasyfork.cloud/scripts/481510/Better%20MDL.user.js // @updateURL https://update.greasyfork.cloud/scripts/481510/Better%20MDL.meta.js // ==/UserScript== /*! For license information please see better-mdl.js.LICENSE.txt */ (()=>{var e={8075:(e,t,r)=>{"use strict";var n=r(453),o=r(487),s=o(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&s(e,".prototype.")>-1?o(r):r}},487:(e,t,r)=>{"use strict";var n=r(6743),o=r(453),s=r(6897),i=r(9675),a=o("%Function.prototype.apply%"),l=o("%Function.prototype.call%"),c=o("%Reflect.apply%",!0)||n.call(l,a),u=r(655),p=o("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new i("a function is required");var t=c(n,l,arguments);return s(t,1+p(0,e.length-(arguments.length-1)),!0)};var d=function(){return c(n,a,arguments)};u?u(e.exports,"apply",{value:d}):e.exports.apply=d},3611:(e,t,r)=>{"use strict";const n=r(2181);e.exports=n.default,e.exports.defaultGetLocalIdent=r(8208).defaultGetLocalIdent},9903:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var n=r(1601),o=r.n(n),s=r(6314),i=r.n(s),a=r(4417),l=r.n(a),c=new URL(r(8066),r.b),u=new URL(r(7679),r.b),p=i()(o()),d=l()(c),f=l()(u);p.push([e.id,`.minicolors {\n position: relative;\n}\n\n.minicolors-sprite {\n background-image: url(${d});\n}\n\n.minicolors-no-data-uris .minicolors-sprite {\n background-image: url(${f});\n}\n\n.minicolors-swatch {\n position: absolute;\n vertical-align: middle;\n background-position: -80px 0;\n border: solid 1px #ccc;\n cursor: text;\n padding: 0;\n margin: 0;\n display: inline-block;\n}\n\n.minicolors-swatch-color {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n}\n\n.minicolors input[type=hidden] + .minicolors-swatch {\n width: 28px;\n position: static;\n cursor: pointer;\n}\n\n.minicolors input[type=hidden][disabled] + .minicolors-swatch {\n cursor: default;\n}\n\n/* Panel */\n.minicolors-panel {\n position: absolute;\n width: 173px;\n height: 152px;\n background: white;\n border: solid 1px #CCC;\n box-shadow: 0 0 20px rgba(0, 0, 0, .2);\n z-index: 99999;\n -moz-box-sizing: content-box;\n -webkit-box-sizing: content-box;\n box-sizing: content-box;\n display: none;\n}\n\n.minicolors-panel.minicolors-visible {\n display: block;\n}\n\n/* Panel positioning */\n.minicolors-position-top .minicolors-panel {\n top: -154px;\n}\n\n.minicolors-position-right .minicolors-panel {\n right: 0;\n}\n\n.minicolors-position-bottom .minicolors-panel {\n top: auto;\n}\n\n.minicolors-position-left .minicolors-panel {\n left: 0;\n}\n\n.minicolors-with-opacity .minicolors-panel {\n width: 194px;\n}\n\n.minicolors .minicolors-grid {\n position: absolute;\n top: 1px;\n left: 1px;\n width: 150px;\n height: 150px;\n background-position: -120px 0;\n cursor: crosshair;\n}\n\n.minicolors .minicolors-grid-inner {\n position: absolute;\n top: 0;\n left: 0;\n width: 150px;\n height: 150px;\n}\n\n.minicolors-slider-saturation .minicolors-grid {\n background-position: -420px 0;\n}\n\n.minicolors-slider-saturation .minicolors-grid-inner {\n background-position: -270px 0;\n background-image: inherit;\n}\n\n.minicolors-slider-brightness .minicolors-grid {\n background-position: -570px 0;\n}\n\n.minicolors-slider-brightness .minicolors-grid-inner {\n background-color: black;\n}\n\n.minicolors-slider-wheel .minicolors-grid {\n background-position: -720px 0;\n}\n\n.minicolors-slider,\n.minicolors-opacity-slider {\n position: absolute;\n top: 1px;\n left: 152px;\n width: 20px;\n height: 150px;\n background-color: white;\n background-position: 0 0;\n cursor: row-resize;\n}\n\n.minicolors-slider-saturation .minicolors-slider {\n background-position: -60px 0;\n}\n\n.minicolors-slider-brightness .minicolors-slider {\n background-position: -20px 0;\n}\n\n.minicolors-slider-wheel .minicolors-slider {\n background-position: -20px 0;\n}\n\n.minicolors-opacity-slider {\n left: 173px;\n background-position: -40px 0;\n display: none;\n}\n\n.minicolors-with-opacity .minicolors-opacity-slider {\n display: block;\n}\n\n/* Pickers */\n.minicolors-grid .minicolors-picker {\n position: absolute;\n top: 70px;\n left: 70px;\n width: 12px;\n height: 12px;\n border: solid 1px black;\n border-radius: 10px;\n margin-top: -6px;\n margin-left: -6px;\n background: none;\n}\n\n.minicolors-grid .minicolors-picker > div {\n position: absolute;\n top: 0;\n left: 0;\n width: 8px;\n height: 8px;\n border-radius: 8px;\n border: solid 2px white;\n -moz-box-sizing: content-box;\n -webkit-box-sizing: content-box;\n box-sizing: content-box;\n}\n\n.minicolors-picker {\n position: absolute;\n top: 0;\n left: 0;\n width: 18px;\n height: 2px;\n background: white;\n border: solid 1px black;\n margin-top: -2px;\n -moz-box-sizing: content-box;\n -webkit-box-sizing: content-box;\n box-sizing: content-box;\n}\n\n/* Inline controls */\n.minicolors-inline {\n display: inline-block;\n}\n\n.minicolors-inline .minicolors-input {\n display: none !important;\n}\n\n.minicolors-inline .minicolors-panel {\n position: relative;\n top: auto;\n left: auto;\n box-shadow: none;\n z-index: auto;\n display: inline-block;\n}\n\n/* Default theme */\n.minicolors-theme-default .minicolors-swatch {\n top: 5px;\n left: 5px;\n width: 18px;\n height: 18px;\n}\n.minicolors-theme-default.minicolors-position-right .minicolors-swatch {\n left: auto;\n right: 5px;\n}\n.minicolors-theme-default.minicolors {\n width: auto;\n display: inline-block;\n}\n.minicolors-theme-default .minicolors-input {\n height: 20px;\n width: auto;\n display: inline-block;\n padding-left: 26px;\n}\n.minicolors-theme-default.minicolors-position-right .minicolors-input {\n padding-right: 26px;\n padding-left: inherit;\n}\n\n/* Bootstrap theme */\n.minicolors-theme-bootstrap .minicolors-swatch {\n z-index: 2;\n top: 3px;\n left: 3px;\n width: 28px;\n height: 28px;\n border-radius: 3px;\n}\n.minicolors-theme-bootstrap .minicolors-swatch-color {\n border-radius: inherit;\n}\n.minicolors-theme-bootstrap.minicolors-position-right .minicolors-swatch {\n left: auto;\n right: 3px;\n}\n.minicolors-theme-bootstrap .minicolors-input {\n float: none;\n padding-left: 44px;\n}\n.minicolors-theme-bootstrap.minicolors-position-right .minicolors-input {\n padding-right: 44px;\n padding-left: 12px;\n}\n.minicolors-theme-bootstrap .minicolors-input.input-lg + .minicolors-swatch {\n top: 4px;\n left: 4px;\n width: 37px;\n height: 37px;\n border-radius: 5px;\n}\n.minicolors-theme-bootstrap .minicolors-input.input-sm + .minicolors-swatch {\n width: 24px;\n height: 24px;\n}\n.input-group .minicolors-theme-bootstrap:not(:first-child) .minicolors-input {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n`,""]);const h=p},2944:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(1601),o=r.n(n),s=r(6314),i=r.n(s)()(o());i.push([e.id,'.mio-filters {\n display: block;\n text-align: right;\n}\n\n.mio-filters .btn,\n.mio-filters .btn-group {\n float: none;\n}\n\ntd:first-child {\n text-align: center;\n}\n\ntable.film-list th {\n vertical-align: top;\n}\n\nth.year,\nth.episodes {\n text-align: center;\n}\n\n#backToTop {\n background: var(--mdl-primary);\n padding: 0px 15px 5px 15px;\n color: var(--mdl-background);\n}\n\n.count-box:hover {\n transform: scale(1.1);\n transition: transform 0.5s ease;\n}\n\n.poster-view {\n margin-top: 10px;\n}\n\n.image-container {\n position: relative;\n height: 215px;\n overflow: hidden;\n}\n\n.image-container .label {\n position: absolute;\n margin: 10px;\n}\n\n.label-left {\n top: 0;\n left: 0;\n background-color: var(--mdl-primary);\n}\n\n.label-right {\n top: 0;\n right: 0;\n color: var(--mdl-primary);\n}\n\n.label-rating {\n position: absolute;\n background: transparent;\n bottom: 0;\n left: 0;\n right: 0;\n margin: 0 auto;\n background-image: linear-gradient(rgba(var(--crustRaw), 0.1), rgba(var(--crustRaw), 0.8), rgb(var(--crustRaw)));\n padding: 5px;\n width: 100%;\n}\n\n.card {\n background-color: var(--mdl-background);\n border: none;\n}\n\n.poster-view .card-footer {\n background-color: var(--mdl-btn-white);\n padding: 0px;\n}\n\n.poster-view .film-cover img {\n min-height: 220px;\n}\n\n.poster-view .card-body {\n height: 80px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n padding: 5px;\n}\n\n.poster-view .card-title {\n font-weight: bold;\n color: var(--mdl-primary);\n}\n\n.poster-view .btn-manage-list.simple {\n font-size: 90%;\n padding: 5px 10px;\n border-radius: 10px;\n}\n\n.card-footer-btn {\n padding: 8px;\n box-shadow: none;\n border: 0;\n border-radius: 0px 0px 5px 5px;\n background-color: var(--mdl-btn-white);\n color: var(--mdl-text);\n}\n\n.card-footer-btn:hover {\n /*transform: scale(1.1);*/\n transition: transform 0.5s ease;\n}\n\n.mio-manga-box .card:hover {\n transform: scale(1.05);\n transition: transform 0.5s ease;\n}\n\n.mio-ratings {\n float: left;\n /*margin-left: 15px;*/\n font-weight: bold;\n line-height: 27px;\n}\n\n.mio-ratings img {\n margin-right: 5px;\n}\n\n.form-check-inline+.form-check-inline {\n margin-left: 0px;\n}\n\n#better-mdl {\n width: 1270px;\n margin: 0 auto;\n background: var(--mdl-box-background);\n border-radius: 5px;\n margin-bottom: 20px;\n}\n\n.mdl-style-nav-desktop {\n z-index: 1;\n top: 60px;\n position: sticky;\n}\n\n.mdl-style-nav-desktop {\n overflow: visible;\n}\n\n.legend li:before {\n display: none;\n}\n\n.chart-container {\n display: flex;\n justify-content: center;\n}\n\n.legend-container {\n padding: 20px;\n}\n\n.bettermdl-friends .details {\n flex: 1;\n margin-left: 10px;\n}\n\n.bettermdl-friends .contributor {\n display: flex;\n border-bottom: 1px dotted;\n padding: 10px;\n}\n\n.bettermdl-friends .avatar {\n width: 60px;\n}\n\n.author-score i {\n color: var(--rating);\n}\n\n.bettermdl-stats {\n padding: 10px;\n}\n\n.stats-section .col-sm-6 {\n height: 95%;\n}\n\n.stats-section .box {\n height: 95%;\n}\n\n.bettermdl-tag {\n border: 0;\n padding: 4px 8px 4px 8px;\n border-radius: 15px;\n font-size: 11px;\n color: #fff;\n padding: 1px 4px;\n line-height: 10px;\n margin-left: 5px;\n margin-bottom: 0;\n background-color: var(--mdl-primary);\n cursor: pointer;\n font-weight: 700;\n}\n\n.custom-picker-container {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n z-index: 9999;\n}\n\n.row.custom-list-preview.large {\n padding: 15px;\n}\n\n.mio-saved-list:not(:last-child) {\n border-bottom: 1px solid var(--mdl-background);\n}\n\n.minicolors-theme-bootstrap .minicolors-swatch {\n top: 8px !important;\n left: 8px !important;\n}\n\n.mio-notes {\n position: absolute;\n top: 0;\n left: 0;\n width: 86%;\n height: 65%;\n background-color: var(--mdl-background);\n color: var(--mdl-text);\n font-size: 13px;\n text-align: justify;\n display: flex;\n opacity: 0.9;\n transition: opacity 0.3s ease;\n z-index: 2;\n margin-left: 15px;\n padding: 10px;\n overflow-y: scroll;\n}\n\n.mio-edit-icon {\n display: none;\n padding: 2px;\n border-radius: 50%;\n}\n\n.filter-select.with-exclude i.include::before {\n content: "\\F14A";\n color: #5cb85c;\n}\n\n.filter-select.with-exclude i.exclude::before {\n content: "\\F2D3";\n color: #f44455;\n}',""]);const a=i},2181:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=async function(e,t,r){const c=this.getOptions(i.default),u=this.async();if(this._compiler&&this._compiler.options&&this._compiler.options.experiments&&this._compiler.options.experiments.css&&this._module&&("css"===this._module.type||"css/auto"===this._module.type||"css/global"===this._module.type||"css/module"===this._module.type))return this.emitWarning(new Error('You can\'t use `experiments.css` (`experiments.futureDefaults` enable built-in CSS support by default) and `css-loader` together, please set `experiments.css` to `false` or set `{ type: "javascript/auto" }` for rules with `css-loader` in your webpack config (now css-loader does nothing).')),void u(null,e,t,r);let p;try{p=(0,l.normalizeOptions)(c,this)}catch(e){return void u(e)}const d=[],f=[],h=[];(0,l.shouldUseModulesPlugins)(p)&&d.push(...(0,l.getModulesPlugins)(p,this));const m=[],g=[];let y=!1;this._compilation&&this._compilation.options&&this._compilation.options.experiments&&this._compilation.options.experiments.buildHttp&&(y=!0);const b=p.esModule&&Boolean("fsStartTime"in this._compiler);(0,l.shouldUseImportPlugin)(p)&&d.push((0,a.importParser)({isSupportAbsoluteURL:!1,isSupportDataURL:!1,isCSSStyleSheet:"css-style-sheet"===p.exportType,loaderContext:this,imports:m,api:g,filter:p.import.filter,urlHandler:e=>(0,l.stringifyRequest)(this,(0,l.combineRequests)((0,l.getPreRequester)(this)(p.importLoaders),e))}));const v=[];if((0,l.shouldUseURLPlugin)(p)){const e=!p.esModule;d.push((0,a.urlParser)({isSupportAbsoluteURL:y,isSupportDataURL:b,imports:v,replacements:f,context:this.context,rootContext:this.rootContext,filter:(0,l.getFilter)(p.url.filter,this.resourcePath),resolver:e?this.getResolve({mainFiles:[],extensions:[]}):void 0,urlHandler:e=>(0,l.stringifyRequest)(this,e)}))}const w=[],x=[],S=(0,l.shouldUseIcssPlugin)(p);if(S&&d.push((0,a.icssParser)({loaderContext:this,imports:w,api:x,replacements:f,exports:h,urlHandler:e=>(0,l.stringifyRequest)(this,(0,l.combineRequests)((0,l.getPreRequester)(this)(p.importLoaders),e))})),r){const{ast:t}=r;t&&"postcss"===t.type&&(0,s.satisfies)(t.version,`^${o.default.version}`)&&(e=t.root)}const{resourcePath:A}=this;let E;try{E=await(0,n.default)(d).process(e,{hideNothingWarning:!0,from:A,to:A,map:!!p.sourceMap&&{prev:t?(0,l.normalizeSourceMap)(t,A):null,inline:!1,annotation:!1}})}catch(e){return e.file&&this.addDependency(e.file),void u("CssSyntaxError"===e.name?(0,l.syntaxErrorFactory)(e):e)}for(const e of E.warnings())this.emitWarning((0,l.warningFactory)(e));const k=[].concat(w.sort(l.sort)).concat(m.sort(l.sort)).concat(v.sort(l.sort)),O=[].concat(g.sort(l.sort)).concat(x.sort(l.sort));!0!==p.modules.exportOnlyLocals&&(k.unshift({type:"api_import",importName:"___CSS_LOADER_API_IMPORT___",url:(0,l.stringifyRequest)(this,6314)}),p.sourceMap?k.unshift({importName:"___CSS_LOADER_API_SOURCEMAP_IMPORT___",url:(0,l.stringifyRequest)(this,1354)}):k.unshift({importName:"___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___",url:(0,l.stringifyRequest)(this,1601)}));let M=!1;this._compilation&&this._compilation.options&&this._compilation.options.output&&this._compilation.options.output.environment&&this._compilation.options.output.environment.templateLiteral&&(M=!0);const C=(0,l.getImportCode)(k,p);let L;try{L=(0,l.getModuleCode)(E,O,f,p,M,this)}catch(e){return void u(e)}u(null,`${C}${L}${(0,l.getExportCode)(h,f,S,p,M)}`)};var n=c(r(2895)),o=c(r(673)),s=r(9589),i=c(r(2208)),a=r(7498),l=r(8208);function c(e){return e&&e.__esModule?e:{default:e}}},7498:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"icssParser",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"importParser",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"urlParser",{enumerable:!0,get:function(){return s.default}});var n=i(r(713)),o=i(r(9184)),s=i(r(3687));function i(e){return e&&e.__esModule?e:{default:e}}},9184:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(866),o=r(8208);const s=(e={})=>({postcssPlugin:"postcss-icss-parser",async OnceExit(t){const r=Object.create(null),{icssImports:s,icssExports:i}=(0,n.extractICSS)(t),a=new Map,l=[],{loaderContext:c}=e,u=c.getResolve({dependencyType:"icss",conditionNames:["style"],extensions:["..."],mainFields:["css","style","main","..."],mainFiles:["index","..."],preferRelative:!0});for(const e in s){const t=s[e];if(0===Object.keys(t).length)continue;let r=e,n="";const i=r.split("!");i.length>1&&(r=i.pop(),n=i.join("!"));const a=(0,o.requestify)((0,o.normalizeUrl)(r,!0),c.rootContext),p=async()=>{const e=await(0,o.resolveRequests)(u,c.context,[...new Set([r,a])]);if(e)return{url:e,prefix:n,tokens:t}};l.push(p())}const p=await Promise.all(l);for(let t=0;t<=p.length-1;t++){const n=p[t];if(!n)continue;const o=n.prefix?`${n.prefix}!${n.url}`:n.url,s=o;let i=a.get(s);i||(i=`___CSS_LOADER_ICSS_IMPORT_${a.size}___`,a.set(s,i),e.imports.push({type:"icss_import",importName:i,url:e.urlHandler(o),icss:!0,index:t}),e.api.push({importName:i,dedupe:!0,index:t}));for(const[o,s]of Object.keys(n.tokens).entries()){const a=`___CSS_LOADER_ICSS_IMPORT_${t}_REPLACEMENT_${o}___`,l=n.tokens[s];r[s]=a,e.replacements.push({replacementName:a,importName:i,localName:l})}}Object.keys(r).length>0&&(0,n.replaceSymbols)(t,r);for(const t of Object.keys(i)){const o=(0,n.replaceValueSymbols)(i[t],r);e.exports.push({name:t,value:o})}}});s.postcss=!0,t.default=s},713:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=(n=r(5482))&&n.__esModule?n:{default:n},s=r(8208);const i=(e={})=>({postcssPlugin:"postcss-import-parser",prepare(t){const r=[];return{AtRule:{import(n){if(e.isCSSStyleSheet)return void e.loaderContext.emitError(new Error(n.error("'@import' rules are not allowed here and will not be processed").message));const{isSupportDataURL:i,isSupportAbsoluteURL:a}=e;let l;try{l=function(e,t,r){if("root"!==e.parent.type)return;if(e.raws&&e.raws.afterName&&e.raws.afterName.trim().length>0){const t=e.raws.afterName.lastIndexOf("/*"),r=e.raws.afterName.slice(t).match(s.WEBPACK_IGNORE_COMMENT_REGEXP);if(r&&"true"===r[2])return}const n=e.prev();if(n&&"comment"===n.type){const e=n.text.match(s.WEBPACK_IGNORE_COMMENT_REGEXP);if(e&&"true"===e[2])return}if(e.nodes){const t=new Error("It looks like you didn't end your @import statement correctly. Child nodes are attached to it.");throw t.node=e,t}const i=e.raws&&e.raws[t]&&void 0!==e.raws[t].raw?e.raws[t].raw:e[t],{nodes:a}=(0,o.default)(i);if(0===a.length||"string"!==a[0].type&&"function"!==a[0].type){const t=new Error(`Unable to find uri in "${e.toString()}"`);throw t.node=e,t}let l,c;if("string"===a[0].type)l=!0,c=a[0].value;else{if("url"!==a[0].value.toLowerCase()){const t=new Error(`Unable to find uri in "${e.toString()}"`);throw t.node=e,t}l=0!==a[0].nodes.length&&"string"===a[0].nodes[0].type,c=l?a[0].nodes[0].value:o.default.stringify(a[0].nodes)}c=(0,s.normalizeUrl)(c,l);const{requestable:u,needResolve:p}=(0,s.isURLRequestable)(c,r);let d;if(u&&p){const e=c.split("!");e.length>1&&(c=e.pop(),d=e.join("!"))}if(0===c.trim().length){const t=new Error(`Unable to find uri in "${e.toString()}"`);throw t.node=e,t}const f=a.slice(1);let h,m,g;if(f.length>0){let e=[];for(const t of f){e.push(t);const r="function"===t.type&&"layer"===t.value.toLowerCase(),n="word"===t.type&&"layer"===t.value.toLowerCase();r||n?(r?e.splice(e.length-1,1,...t.nodes):e.splice(e.length-1,1,{type:"string",value:"",unclosed:!1}),m=o.default.stringify(e).trim().toLowerCase(),e=[]):"function"===t.type&&"supports"===t.value.toLowerCase()&&(e.splice(e.length-1,1,...t.nodes),h=o.default.stringify(e).trim().toLowerCase(),e=[])}e.length>0&&(g=o.default.stringify(e).trim().toLowerCase())}return{atRule:e,prefix:d,url:c,layer:m,supports:h,media:g,requestable:u,needResolve:p}}(n,"params",{isSupportAbsoluteURL:a,isSupportDataURL:i})}catch(e){t.warn(e.message,{node:e.node})}l&&r.push(l)}},async OnceExit(){if(0===r.length)return;const{loaderContext:t}=e,n=t.getResolve({dependencyType:"css",conditionNames:["style"],mainFields:["css","style","main","..."],mainFiles:["index","..."],extensions:[".css","..."],preferRelative:!0}),o=await Promise.all(r.map((async r=>{const{atRule:o,requestable:i,needResolve:a,prefix:l,url:c,layer:u,supports:p,media:d}=r;if(!e.filter||await e.filter(c,d,t.resourcePath,p,u)){if(a){const e=(0,s.requestify)(c,t.rootContext),r=await(0,s.resolveRequests)(n,t.context,[...new Set([e,c])]);if(!r)return;return r===t.resourcePath?void o.remove():(o.remove(),{url:r,layer:u,supports:p,media:d,prefix:l,requestable:i})}return o.remove(),{url:c,layer:u,supports:p,media:d,prefix:l,requestable:i}}}))),i=new Map;for(let t=0;t<=o.length-1;t++){const r=o[t];if(!r)continue;const{url:n,requestable:s,layer:a,supports:l,media:c}=r;if(!s){e.api.push({url:n,layer:a,supports:l,media:c,index:t});continue}const{prefix:u}=r,p=u?`${u}!${n}`:n;let d=i.get(p);d||(d=`___CSS_LOADER_AT_RULE_IMPORT_${i.size}___`,i.set(p,d),e.imports.push({type:"rule_import",importName:d,url:e.urlHandler(p),index:t})),e.api.push({importName:d,layer:a,supports:l,media:c,index:t})}}}}});i.postcss=!0,t.default=i},3687:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,o=(n=r(5482))&&n.__esModule?n:{default:n},s=r(8208);const i=/url/i,a=/^(?:-webkit-)?image-set$/i,l=/(?:url|(?:-webkit-)?image-set)\(/i;function c(e){return e.nodes&&e.nodes[0]}function u(e,t,r){if(0===e&&void 0!==r)return r;let n=t[e-1];if(!n)return;if("space"===n.type){if(!t[e-2])return;n=t[e-2]}if("comment"!==n.type)return;const o=n.value.match(s.WEBPACK_IGNORE_COMMENT_REGEXP);return o&&"true"===o[2]}function p(e,t,r,n){return 0===e.length?(r.warn(`Unable to find uri in '${t.toString()}'`,{node:t}),{requestable:!1,needResolve:!1}):(0,s.isURLRequestable)(e,n)}const d=(e={})=>({postcssPlugin:"postcss-url-parser",prepare(t){const r=[];return{Declaration(n){const{isSupportDataURL:d,isSupportAbsoluteURL:f}=e,h=function(e,t,r,n){if(!l.test(e[t]))return;const d=(0,o.default)(e.raws&&e.raws.value&&e.raws.value.raw?e.raws.value.raw:e[t]);let f;if(e.raws&&e.raws.between){const t=e.raws.between.lastIndexOf("/*"),r=e.raws.between.slice(t).match(s.WEBPACK_IGNORE_COMMENT_REGEXP);r&&(f="true"===r[2])}let h=!1;const m=e.prev();if(m&&"comment"===m.type){const e=m.text.match(s.WEBPACK_IGNORE_COMMENT_REGEXP);e&&(h="true"===e[2])}let g;const y=[];return d.walk(((t,l,m)=>{if("function"===t.type){if(i.test(t.value)){if(g=u(l,m,f),h&&void 0===g||g)return void(g&&(g=void 0));const{nodes:i}=t,a=0!==i.length&&"string"===i[0].type;let b=a?i[0].value:o.default.stringify(i);b=(0,s.normalizeUrl)(b,a);const{requestable:v,needResolve:w}=p(b,e,r,n);if(!v)return!1;const x=b.split("!");let S;return x.length>1&&(b=x.pop(),S=x.join("!")),y.push({declaration:e,parsed:d,node:c(t),prefix:S,url:b,needQuotes:!1,needResolve:w}),!1}if(a.test(t.value)){for(const[a,l]of t.nodes.entries()){const{type:f,value:m}=l;if("function"===f&&i.test(m)){if(g=u(a,t.nodes),h&&void 0===g||g){g&&(g=void 0);continue}const{nodes:i}=l,f=0!==i.length&&"string"===i[0].type;let m=f?i[0].value:o.default.stringify(i);m=(0,s.normalizeUrl)(m,f);const{requestable:b,needResolve:v}=p(m,e,r,n);if(!b)return!1;const w=m.split("!");let x;w.length>1&&(m=w.pop(),x=w.join("!")),y.push({declaration:e,parsed:d,node:c(l),prefix:x,url:m,needQuotes:!1,needResolve:v})}else if("string"===f){if(g=u(a,t.nodes),h&&void 0===g||g){g&&(g=void 0);continue}let o=(0,s.normalizeUrl)(m,!0);const{requestable:i,needResolve:c}=p(o,e,r,n);if(!i)return!1;const f=o.split("!");let b;f.length>1&&(o=f.pop(),b=f.join("!")),y.push({declaration:e,parsed:d,node:l,prefix:b,url:o,needQuotes:!0,needResolve:c})}}return!1}}})),y}(n,"value",t,{isSupportDataURL:d,isSupportAbsoluteURL:f});h&&r.push(...h)},async OnceExit(){if(0===r.length)return;const t=await Promise.all(r.map((async t=>{const{url:r,needResolve:n}=t;if(e.filter&&!await e.filter(r))return;if(!n)return t;const o=r.split(/(\?)?#/),[i,a,l]=o;let c=a?"?":"";c+=l?`#${l}`:"";const{resolver:u,rootContext:p}=e,d=(0,s.requestify)(i,p,Boolean(u));if(!u)return{...t,url:d,hash:c};const f=await(0,s.resolveRequests)(u,e.context,[...new Set([d,r])]);return f?{...t,url:f,hash:c}:void 0}))),n=new Map,o=new Map;let i=!1;for(let r=0;r<=t.length-1;r++){const s=t[r];if(!s)continue;i||(e.imports.push({type:"get_url_import",importName:"___CSS_LOADER_GET_URL_IMPORT___",url:e.urlHandler(4417),index:-1}),i=!0);const{url:a,prefix:l}=s,c=l?`${l}!${a}`:a;let u=n.get(c);u||(u=`___CSS_LOADER_URL_IMPORT_${n.size}___`,n.set(c,u),e.imports.push({type:"url",importName:u,url:e.resolver?e.urlHandler(c):JSON.stringify(c),index:r}));const{hash:p,needQuotes:d}=s,f=JSON.stringify({newUrl:c,hash:p,needQuotes:d});let h=o.get(f);h||(h=`___CSS_LOADER_URL_REPLACEMENT_${o.size}___`,o.set(f,h),e.replacements.push({replacementName:h,importName:u,hash:p,needQuotes:d})),s.node.type="word",s.node.value=h,s.declaration.value=s.parsed.toString()}}}}});d.postcss=!0,t.default=d},6314:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,o,s){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(n)for(var a=0;a0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=s),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},4417:e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},1601:e=>{"use strict";e.exports=function(e){return e[1]}},1354:e=>{"use strict";e.exports=function(e){var t=e[1],r=e[3];if(!r)return t;if("function"==typeof btoa){var n=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(n),s="/*# ".concat(o," */");return[t].concat([s]).join("\n")}return[t].join("\n")}},8208:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WEBPACK_IGNORE_COMMENT_REGEXP=void 0,t.camelCase=b,t.combineRequests=function(e,t){const r=t.indexOf("!=!");return-1!==r?t.slice(0,r+3)+e+t.slice(r+3):e+t},t.defaultGetLocalIdent=O,t.getExportCode=function(e,t,r,n,o){let s,i="// Exports\n";if(r){let r="",s=0;const a=(e,t)=>{const i=Array.isArray(e)?new Set(e):new Set([e]);for(const e of i){const i=o?Z(t):JSON.stringify(t);if(n.modules.namedExport)if(n.modules.useExportsAs){s+=1;const t=`_${s.toString(16)}`;r+=`var ${t} = ${i};\n`,r+=`export { ${t} as ${JSON.stringify(e)} };\n`}else r+=`export var ${e} = ${i};\n`;else r&&(r+=",\n"),r+=`\t${JSON.stringify(e)}: ${i}`}};for(const{name:t,value:r}of e)a(n.modules.exportLocalsConvention(t),r);for(const e of t){const{replacementName:t,localName:s}=e;if(s){const{importName:i}=e;r=r.replace(new RegExp(t,"g"),(()=>n.modules.namedExport?o?`\${${i}_NAMED___[${JSON.stringify(L(s,n.modules.exportLocalsConvention))}]}`:`" + ${i}_NAMED___[${JSON.stringify(L(s,n.modules.exportLocalsConvention))}] + "`:n.modules.exportOnlyLocals?o?`\${${i}[${JSON.stringify(s)}]}`:`" + ${i}[${JSON.stringify(s)}] + "`:o?`\${${i}.locals[${JSON.stringify(s)}]}`:`" + ${i}.locals[${JSON.stringify(s)}] + "`))}else r=r.replace(new RegExp(t,"g"),(()=>o?`\${${t}}`:`" + ${t} + "`))}if(n.modules.exportOnlyLocals)return i+=n.modules.namedExport?r:`${n.esModule?"export default":"module.exports ="} {\n${r}\n};\n`,i;i+=n.modules.namedExport?r:`___CSS_LOADER_EXPORT___.locals = {${r?`\n${r}\n`:""}};\n`}switch("css-style-sheet"===n.exportType&&(i+="var ___CSS_LOADER_STYLE_SHEET___ = new CSSStyleSheet();\n",i+="___CSS_LOADER_STYLE_SHEET___.replaceSync(___CSS_LOADER_EXPORT___.toString());\n"),n.exportType){case"string":s="___CSS_LOADER_EXPORT___.toString()";break;case"css-style-sheet":s="___CSS_LOADER_STYLE_SHEET___";break;default:s="___CSS_LOADER_EXPORT___"}return i+=`${n.esModule?"export default":"module.exports ="} ${s};\n`,i},t.getFilter=function(e,t){return(...r)=>"function"!=typeof e||e(...r,t)},t.getImportCode=function(e,t){let r="";for(const n of e){const{importName:e,url:o,icss:s,type:i}=n;t.esModule?s&&t.modules.namedExport?r+=`import ${t.modules.exportOnlyLocals?"":`${e}, `}* as ${e}_NAMED___ from ${o};\n`:r+="url"===i?`var ${e} = new URL(${o}, import.meta.url);\n`:`import ${e} from ${o};\n`:r+=`var ${e} = require(${o});\n`}return r?`// Imports\n${r}`:""},t.getModuleCode=function(e,t,r,n,s,i){if(!0===n.modules.exportOnlyLocals)return"";let a="";n.sourceMap&&(a=`,${function(e,t){const r=e?e.toJSON():null;return r&&(delete r.file,t._compilation&&t._compilation.options&&t._compilation.options.devtool&&t._compilation.options.devtool.includes("nosources")&&delete r.sourcesContent,r.sourceRoot="",r.sources=r.sources.map((e=>{if(0===e.indexOf("<"))return e;if("path-relative"!==D(e))return e;const r=o.default.dirname(t.resourcePath),n=o.default.resolve(r,e);return`webpack://./${S(o.default.relative(t.rootContext,n))}`}))),JSON.stringify(r)}(e.map,i)}`);let l=s?Z(e.css):JSON.stringify(e.css),c=`var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(${n.sourceMap?"___CSS_LOADER_API_SOURCEMAP_IMPORT___":"___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___"});\n`;for(const e of t){const{url:t,layer:r,supports:n,media:o,dedupe:s}=e;if(t){const e=I(o,void 0,n,r);c+=`___CSS_LOADER_EXPORT___.push([module.id, ${JSON.stringify(`@import url(${t});`)}${e.length>0?`, ${e}`:""}]);\n`}else{const t=I(o,s,n,r);c+=`___CSS_LOADER_EXPORT___.i(${e.importName}${t.length>0?`, ${t}`:""});\n`}}for(const e of r){const{replacementName:t,importName:r,localName:o}=e;if(o)l=l.replace(new RegExp(t,"g"),(()=>n.modules.namedExport?s?`\${ ${r}_NAMED___[${JSON.stringify(L(o,n.modules.exportLocalsConvention))}] }`:`" + ${r}_NAMED___[${JSON.stringify(L(o,n.modules.exportLocalsConvention))}] + "`:s?`\${${r}.locals[${JSON.stringify(o)}]}`:`" + ${r}.locals[${JSON.stringify(o)}] + "`));else{const{hash:n,needQuotes:o}=e,i=[].concat(n?[`hash: ${JSON.stringify(n)}`]:[]).concat(o?"needQuotes: true":[]),a=i.length>0?`, { ${i.join(", ")} }`:"";c+=`var ${t} = ___CSS_LOADER_GET_URL_IMPORT___(${r}${a});\n`,l=l.replace(new RegExp(t,"g"),(()=>s?`\${${t}}`:`" + ${t} + "`))}}return`${c}// Module\n___CSS_LOADER_EXPORT___.push([module.id, ${l}, ""${a}]);\n`},t.getModulesOptions=N,t.getModulesPlugins=function(e,t){const{mode:r,getLocalIdent:n,localIdentName:o,localIdentContext:c,localIdentHashSalt:u,localIdentHashFunction:p,localIdentHashDigest:d,localIdentHashDigestLength:f,localIdentRegExp:h,hashStrategy:m}=e.modules;let g=[];try{g=[s.default,(0,i.default)({mode:r}),(0,a.default)(),(0,l.default)({generateScopedName(e,r,s,i){let a;return void 0!==n&&(a=n(t,o,x(e),{context:c,hashSalt:u,hashFunction:p,hashDigest:d,hashDigestLength:f,hashStrategy:m,regExp:h,node:i})),null==a?(a=O(t,o,x(e),{context:c,hashSalt:u,hashFunction:p,hashDigest:d,hashDigestLength:f,hashStrategy:m,regExp:h,node:i}),k(a).replace(/\\\[local\\]/gi,e)):k(a)},exportGlobals:e.modules.exportGlobals})]}catch(e){t.emitError(e)}return g},t.getPreRequester=function({loaders:e,loaderIndex:t}){const r=Object.create(null);return n=>{if(r[n])return r[n];if(!1===n)r[n]="";else{const o=e.slice(t,t+1+("number"!=typeof n?0:n)).map((e=>e.request)).join("!");r[n]=`-!${o}!`}return r[n]}},t.isDataUrl=M,t.isURLRequestable=function(e,t={}){if(/^\/\//.test(e))return{requestable:!1,needResolve:!1};if(/^#/.test(e))return{requestable:!1,needResolve:!1};if(M(e)&&t.isSupportDataURL){try{decodeURIComponent(e)}catch(e){return{requestable:!1,needResolve:!1}}return{requestable:!0,needResolve:!1}}return/^file:/i.test(e)?{requestable:!0,needResolve:!0}:/^[a-z][a-z0-9+.-]*:/i.test(e)&&!C.test(e)?t.isSupportAbsoluteURL&&/^https?:/i.test(e)?{requestable:!0,needResolve:!1}:{requestable:!1,needResolve:!1}:{requestable:!0,needResolve:!0}},t.normalizeOptions=function(e,t){const r=void 0===e.exportType?"array":e.exportType,n=N(e,r,t);return{url:void 0===e.url||e.url,import:void 0===e.import||e.import,modules:n,sourceMap:"boolean"==typeof e.sourceMap?e.sourceMap:t.sourceMap,importLoaders:"string"==typeof e.importLoaders?parseInt(e.importLoaders,10):e.importLoaders,esModule:void 0===e.esModule||e.esModule,exportType:r}},t.normalizeSourceMap=function(e,t){let r=e;"string"==typeof r&&(r=JSON.parse(r)),delete r.file;const{sourceRoot:n}=r;return delete r.sourceRoot,r.sources&&(r.sources=r.sources.map((e=>{if(0===e.indexOf("<"))return e;const r=D(e);if("path-relative"===r||"path-absolute"===r){const s="path-relative"===r&&n?o.default.resolve(n,S(e)):S(e);return o.default.relative(o.default.dirname(t),s)}return e}))),r},t.normalizeUrl=function(e,t){let r=e.replace(/^( |\t\n|\r\n|\r|\f)*/g,"").replace(/( |\t\n|\r\n|\r|\f)*$/g,"");if(t&&/\\(\n|\r\n|\r|\f)/.test(r)&&(r=r.replace(/\\(\n|\r\n|\r|\f)/g,"")),C.test(e)){try{r=decodeURI(r)}catch(e){}return r}if(r=x(r),M(e))return r.replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16)}`));try{r=decodeURI(r)}catch(e){}return r},t.requestify=function(e,t,r=!0){return r?/^file:/i.test(e)?(0,n.fileURLToPath)(e):"/"===e.charAt(0)?h(e,t):h(e):"/"===e.charAt(0)||/^file:/i.test(e)?e:f.test(e)?e.replace(f,""):e},t.resolveRequests=async function e(t,r,n){return t(r,n[0]).then((e=>e)).catch((o=>{const[,...s]=n;if(0===s.length)throw o;return e(t,r,s)}))},t.shouldUseIcssPlugin=function(e){return Boolean(e.modules)},t.shouldUseImportPlugin=function(e){return!e.modules.exportOnlyLocals&&("boolean"!=typeof e.import||e.import)},t.shouldUseModulesPlugins=function(e){return("boolean"!=typeof e.modules||!1!==e.modules)&&"icss"!==e.modules.mode},t.shouldUseURLPlugin=function(e){return!e.modules.exportOnlyLocals&&("boolean"!=typeof e.url||e.url)},t.sort=function(e,t){return e.index-t.index},t.stringifyRequest=function(e,t){if(void 0!==e.utils&&"function"==typeof e.utils.contextify)return JSON.stringify(e.utils.contextify(e.context||e.rootContext,t));const r=t.split("!"),{context:n}=e;return JSON.stringify(r.map((e=>{const t=e.match(/^(.*?)(\?.*)/),r=t?t[2]:"";let s=t?t[1]:e;if(p(s)&&n){if(s=o.default.relative(n,s),p(s))return s+r;!1===(i=s,u.test(i))&&(s=`./${s}`)}var i;return s.replace(/\\/g,"/")+r})).join("!"))},t.syntaxErrorFactory=function(e){let t="\nSyntaxError\n\n";void 0!==e.line&&(t+=`(${e.line}:${e.column}) `),void 0!==e.plugin&&(t+=`from "${e.plugin}" plugin: `),t+=e.file?`${e.file} `:" ",t+=`${e.reason}`;const r=e.showSourceCode();r&&(t+=`\n\n${r}\n`);const n=new Error(t,{cause:e});return n.stack=null,n},t.warningFactory=function(e){let t="";void 0!==e.line&&(t+=`(${e.line}:${e.column}) `),void 0!==e.plugin&&(t+=`from "${e.plugin}" plugin: `),t+=e.text,e.node&&(t+=`\n\nCode:\n ${e.node.toString()}\n`);const r=new Error(t,{cause:e});return r.stack=null,r};var n=r(8835),o=c(r(7975)),s=c(r(8598)),i=c(r(1339)),a=c(r(9304)),l=c(r(4446));function c(e){return e&&e.__esModule?e:{default:e}}t.WEBPACK_IGNORE_COMMENT_REGEXP=/webpackIgnore:(\s+)?(true|false)/;const u=/^\.\.?[/\\]/;function p(e){return o.default.posix.isAbsolute(e)||o.default.win32.isAbsolute(e)}const d=/^[a-z]:[/\\]|^\\\\/i,f=/^[^?]*~/;function h(e,t){let r;return r=d.test(e)?e:void 0!==t&&/^\//.test(e)?t+e:/^\.\.?\//.test(e)?e:`./${e}`,f.test(r)&&(r=r.replace(f,"")),r}const m=/[ -,.\/:-@[\]\^`{-~]/,g=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,y=e=>{let t=e,r=!1,n=!1,o=!1;for(let e=0;et.toUpperCase())).replace(/\d+([\p{Alpha}\p{N}_]|$)/gu,(e=>e.toUpperCase())))}function v(e){const t=e.toLowerCase();let r="",n=!1;for(let e=0;e<6&&void 0!==t[e];e++){const o=t.charCodeAt(e);if(n=32===o,!(o>=97&&o<=102||o>=48&&o<=57))break;r+=t[e]}if(0===r.length)return;const o=parseInt(r,16);return o>=55296&&o<=57343||0===o||o>1114111?["�",r.length+(n?1:0)]:[String.fromCodePoint(o),r.length+(n?1:0)]}const w=/\\/;function x(e){if(!w.test(e))return e;let t="";for(let r=0;r:"/\\|?*]/g,E=/[\u0000-\u001f\u0080-\u009f]/g;function k(e){return function(e){let t="",r=0;for(;rt&&t.length%2?e:(t||"")+r)),t}(e.replace(/^((-?[0-9])|--)/,"_$1").replace(A,"-").replace(E,"-").replace(/\./g,"-"))}function O(e,t,r,n){const{context:s,hashSalt:i,hashStrategy:a}=n,{resourcePath:l}=e;let c=S(o.default.relative(s,l));e._module&&e._module.matchResource&&(c=`${S(o.default.relative(s,e._module.matchResource))}`),n.content="minimal-subset"===a&&/\[local\]/.test(t)?c:`${c}\0${r}`;let{hashFunction:u,hashDigest:p,hashDigestLength:d}=n;const f=t.match(/\[(?:([^:\]]+):)?(?:(hash|contenthash|fullhash))(?::([a-z]+\d*))?(?::(\d+))?\]/i);if(f){const e=f[2]||u;u=f[1]||u,p=f[3]||p,d=f[4]||d,t=t.replace(/\[(?:([^:\]]+):)?(?:hash|contenthash|fullhash)(?::([a-z]+\d*))?(?::(\d+))?\]/gi,(()=>"fullhash"===e?"[fullhash]":"[contenthash]"))}let h="";for(let t=0;h.length1&&(r=o.default.basename(t)),v=v.replace(/\[folder\]/gi,(()=>r))}if(n.regExp){const e=l.match(n.regExp);e&&e.forEach(((e,t)=>{v=v.replace(new RegExp(`\\[${t}\\]`,"ig"),e)}))}return v}function M(e){return!!/^data:/i.test(e)}const C=/^[A-Z]:[/\\]|^\\\\/i;function L(e,t){const r=t(e);return Array.isArray(r)?r[0]:r}const j=/\.module(s)?\.\w+$/i,T=/\.icss\.\w+$/i;function N(e,t,r){if("boolean"==typeof e.modules&&!1===e.modules)return!1;const n=r._module&&r._module.matchResource||r.resourcePath;let o,s;void 0===e.modules?(s={},o=!0):"boolean"==typeof e.modules?s={}:"string"==typeof e.modules?s={mode:e.modules}:(s=e.modules,({auto:o}=s));const{outputOptions:i}=r._compilation,a="css-style-sheet"===t||"string"===t,l={auto:o,mode:"local",exportGlobals:!1,localIdentName:"[hash:base64]",localIdentContext:r.rootContext,localIdentHashSalt:i.hashSalt,localIdentHashFunction:i.hashFunction,localIdentHashDigest:i.hashDigest,localIdentHashDigestLength:i.hashDigestLength,localIdentRegExp:void 0,getLocalIdent:void 0,namedExport:a||!1,exportLocalsConvention:!0!==s.namedExport&&!a||void 0!==s.exportLocalsConvention?"asIs":"camelCaseOnly",exportOnlyLocals:!1,...s,useExportsAs:"asIs"===s.exportLocalsConvention};let c;if("string"==typeof l.exportLocalsConvention&&(c=l.exportLocalsConvention,l.exportLocalsConvention=e=>{switch(c){case"camelCase":return[e,b(e)];case"camelCaseOnly":return b(e);case"dashes":return[e,Y(e)];case"dashesOnly":return Y(e);default:return e}}),"boolean"==typeof l.auto){const e=l.auto&&j.test(n);let t;if(e||(t=T.test(n),t&&(l.mode="icss")),!e&&!t)return!1}else if(l.auto instanceof RegExp){if(!l.auto.test(n))return!1}else if("function"==typeof l.auto){const{resourceQuery:e,resourceFragment:t}=r;if(!l.auto(n,e,t))return!1}if("function"==typeof l.mode&&(l.mode=l.mode(r.resourcePath,r.resourceQuery,r.resourceFragment)),a){if(!1===e.esModule)throw new Error("The 'exportType' option with the 'css-style-sheet' or 'string' value requires the 'esModule' option to be enabled");if(!1===l.namedExport)throw new Error("The 'exportType' option with the 'css-style-sheet' or 'string' value requires the 'modules.namedExport' option to be enabled")}if(!0===l.namedExport){if(!1===e.esModule)throw new Error("The 'modules.namedExport' option requires the 'esModule' option to be enabled");if("string"==typeof c&&"asIs"!==c&&"camelCaseOnly"!==c&&"dashesOnly"!==c)throw new Error('The "modules.namedExport" option requires the "modules.exportLocalsConvention" option to be "camelCaseOnly" or "dashesOnly"')}return l}const P=/^[a-z0-9+\-.]+:/i;function D(e){return"/"===e[0]?"/"===e[1]?"scheme-relative":"path-absolute":d.test(e)?"path-absolute":P.test(e)?"absolute":"path-relative"}function I(e,t,r,n){let o="";return void 0!==n&&(o=`, ${JSON.stringify(n)}`),void 0!==r?o=`, ${JSON.stringify(r)}${o}`:o.length>0&&(o=`, undefined${o}`),t?o=`, true${o}`:o.length>0&&(o=`, false${o}`),e?o=`${JSON.stringify(e)}${o}`:o.length>0&&(o=`""${o}`),o}const R="\\".charCodeAt(0),z="`".charCodeAt(0),W="$".charCodeAt(0);function Z(e){let t="";for(let r=0;rt.toUpperCase()))}},8937:e=>{"use strict";var t={}.hasOwnProperty,r=/[ -,\.\/:-@\[-\^`\{-~]/,n=/[ -,\.\/:-@\[\]\^`\{-~]/,o=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,s=function e(s,i){"single"!=(i=function(e,r){if(!e)return r;var n={};for(var o in r)n[o]=t.call(e,o)?e[o]:r[o];return n}(i,e.options)).quotes&&"double"!=i.quotes&&(i.quotes="single");for(var a="double"==i.quotes?'"':"'",l=i.isIdentifier,c=s.charAt(0),u="",p=0,d=s.length;p126){if(h>=55296&&h<=56319&&p{"use strict";var n=r(655),o=r(8068),s=r(9675),i=r(5795);e.exports=function(e,t,r){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new s("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new s("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new s("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new s("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new s("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new s("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],p=!!i&&i(e,t);if(n)n(e,t,{configurable:null===c&&p?p.configurable:!c,enumerable:null===a&&p?p.enumerable:!a,value:r,writable:null===l&&p?p.writable:!l});else{if(!u&&(a||l||c))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=r}}},655:(e,t,r)=>{"use strict";var n=r(453)("%Object.defineProperty%",!0)||!1;if(n)try{n({},"a",{value:1})}catch(e){n=!1}e.exports=n},1237:e=>{"use strict";e.exports=EvalError},9383:e=>{"use strict";e.exports=Error},9290:e=>{"use strict";e.exports=RangeError},9538:e=>{"use strict";e.exports=ReferenceError},8068:e=>{"use strict";e.exports=SyntaxError},9675:e=>{"use strict";e.exports=TypeError},5345:e=>{"use strict";e.exports=URIError},9353:e=>{"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n{"use strict";var n=r(9353);e.exports=Function.prototype.bind||n},453:(e,t,r)=>{"use strict";var n,o=r(9383),s=r(1237),i=r(9290),a=r(9538),l=r(8068),c=r(9675),u=r(5345),p=Function,d=function(e){try{return p('"use strict"; return ('+e+").constructor;")()}catch(e){}},f=Object.getOwnPropertyDescriptor;if(f)try{f({},"")}catch(e){f=null}var h=function(){throw new c},m=f?function(){try{return h}catch(e){try{return f(arguments,"callee").get}catch(e){return h}}}():h,g=r(4039)(),y=r(24)(),b=Object.getPrototypeOf||(y?function(e){return e.__proto__}:null),v={},w="undefined"!=typeof Uint8Array&&b?b(Uint8Array):n,x={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":g&&b?b([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":v,"%AsyncGenerator%":v,"%AsyncGeneratorFunction%":v,"%AsyncIteratorPrototype%":v,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":s,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":p,"%GeneratorFunction%":v,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g&&b?b(b([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&g&&b?b((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":i,"%ReferenceError%":a,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&g&&b?b((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&b?b(""[Symbol.iterator]()):n,"%Symbol%":g?Symbol:n,"%SyntaxError%":l,"%ThrowTypeError%":m,"%TypedArray%":w,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet};if(b)try{null.error}catch(e){var S=b(b(e));x["%Error.prototype%"]=S}var A=function e(t){var r;if("%AsyncFunction%"===t)r=d("async function () {}");else if("%GeneratorFunction%"===t)r=d("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=d("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&b&&(r=b(o.prototype))}return x[t]=r,r},E={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},k=r(6743),O=r(9957),M=k.call(Function.call,Array.prototype.concat),C=k.call(Function.apply,Array.prototype.splice),L=k.call(Function.call,String.prototype.replace),j=k.call(Function.call,String.prototype.slice),T=k.call(Function.call,RegExp.prototype.exec),N=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,P=/\\(\\)?/g,D=function(e,t){var r,n=e;if(O(E,n)&&(n="%"+(r=E[n])[0]+"%"),O(x,n)){var o=x[n];if(o===v&&(o=A(n)),void 0===o&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===T(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=j(e,0,1),r=j(e,-1);if("%"===t&&"%"!==r)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var n=[];return L(e,N,(function(e,t,r,o){n[n.length]=r?L(o,P,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",o=D("%"+n+"%",t),s=o.name,i=o.value,a=!1,u=o.alias;u&&(n=u[0],C(r,M([0,1],u)));for(var p=1,d=!0;p=r.length){var y=f(i,h);i=(d=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:i[h]}else d=O(i,h),i=i[h];d&&!a&&(x[s]=i)}}return i}},5795:(e,t,r)=>{"use strict";var n=r(453)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},592:(e,t,r)=>{"use strict";var n=r(655),o=function(){return!!n};o.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},24:e=>{"use strict";var t={__proto__:null,foo:{}},r=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof r)}},4039:(e,t,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(1333);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&o()}},1333:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},9957:(e,t,r)=>{"use strict";var n=Function.prototype.call,o=Object.prototype.hasOwnProperty,s=r(6743);e.exports=s.call(n,o)},3071:e=>{const t=(e,t,r="rule")=>Object.keys(e).map((n=>{const o=e[n],s=Object.keys(o).map((e=>t.decl({prop:e,value:o[e],raws:{before:"\n "}}))),i=s.length>0,a="rule"===r?t.rule({selector:`:import('${n}')`,raws:{after:i?"\n":""}}):t.atRule({name:"icss-import",params:`'${n}'`,raws:{after:i?"\n":""}});return i&&a.append(s),a})),r=(e,t,r="rule")=>{const n=Object.keys(e).map((r=>t.decl({prop:r,value:e[r],raws:{before:"\n "}})));if(0===n.length)return[];const o="rule"===r?t.rule({selector:":export",raws:{after:"\n"}}):t.atRule({name:"icss-export",raws:{after:"\n"}});return o.append(n),[o]};e.exports=(e,n,o,s)=>[...t(e,o,s),...r(n,o,s)]},6609:e=>{const t=/^:import\(("[^"]*"|'[^']*'|[^"']+)\)$/,r=/^("[^"]*"|'[^']*'|[^"']+)$/,n=e=>{const t={};return e.walkDecls((e=>{const r=e.raws.before?e.raws.before.trim():"";t[r+e.prop]=e.value})),t};e.exports=(e,o=!0,s="auto")=>{const i={},a={};function l(e,t){const r=t.replace(/'|"/g,"");i[r]=Object.assign(i[r]||{},n(e)),o&&e.remove()}function c(e){Object.assign(a,n(e)),o&&e.remove()}return e.each((e=>{if("rule"===e.type&&"at-rule"!==s){if(":import"===e.selector.slice(0,7)){const r=t.exec(e.selector);r&&l(e,r[1])}":export"===e.selector&&c(e)}if("atrule"===e.type&&"rule"!==s){if("icss-import"===e.name){const t=r.exec(e.params);t&&l(e,t[1])}"icss-export"===e.name&&c(e)}})),{icssImports:i,icssExports:a}}},866:(e,t,r)=>{const n=r(8528),o=r(217),s=r(6609),i=r(3071);e.exports={replaceValueSymbols:n,replaceSymbols:o,extractICSS:s,createICSSRules:i}},217:(e,t,r)=>{const n=r(8528);e.exports=(e,t)=>{e.walk((e=>{"decl"===e.type&&e.value?e.value=n(e.value.toString(),t):"rule"===e.type&&e.selector?e.selector=n(e.selector.toString(),t):"atrule"===e.type&&e.params&&(e.params=n(e.params.toString(),t))}))}},8528:e=>{const t=/[$]?[\w-]+/g;e.exports=(e,r)=>{let n;for(;n=t.exec(e);){const o=r[n[0]];o&&(e=e.slice(0,n.index)+o+e.slice(t.lastIndex),t.lastIndex-=n[0].length-o.length)}return e}},6398:(e,t,r)=>{var n,o,s;o=[r(4692)],void 0===(s="function"==typeof(n=function(e){function t(e){var t=e.parent();e.removeData("minicolors-initialized").removeData("minicolors-settings").removeProp("size").removeClass("minicolors-input"),t.before(e).remove()}function r(e){var t=e.parent(),r=t.find(".minicolors-panel"),o=e.data("minicolors-settings");!e.data("minicolors-initialized")||e.prop("disabled")||t.hasClass("minicolors-inline")||t.hasClass("minicolors-focus")||(n(),t.addClass("minicolors-focus"),r.stop(!0,!0).fadeIn(o.showSpeed,(function(){o.show&&o.show.call(e.get(0))})))}function n(){e(".minicolors-focus").each((function(){var t=e(this),r=t.find(".minicolors-input"),n=t.find(".minicolors-panel"),o=r.data("minicolors-settings");n.fadeOut(o.hideSpeed,(function(){o.hide&&o.hide.call(r.get(0)),t.removeClass("minicolors-focus")}))}))}function o(e,t,r){var n,o,i,a,l=e.parents(".minicolors").find(".minicolors-input"),c=l.data("minicolors-settings"),u=e.find("[class$=-picker]"),p=e.offset().left,d=e.offset().top,f=Math.round(t.pageX-p),h=Math.round(t.pageY-d),m=r?c.animationSpeed:0;t.originalEvent.changedTouches&&(f=t.originalEvent.changedTouches[0].pageX-p,h=t.originalEvent.changedTouches[0].pageY-d),f<0&&(f=0),h<0&&(h=0),f>e.width()&&(f=e.width()),h>e.height()&&(h=e.height()),e.parent().is(".minicolors-slider-wheel")&&u.parent().is(".minicolors-grid")&&(n=75-f,o=75-h,i=Math.sqrt(n*n+o*o),(a=Math.atan2(o,n))<0&&(a+=2*Math.PI),i>75&&(i=75,f=75-75*Math.cos(a),h=75-75*Math.sin(a)),f=Math.round(f),h=Math.round(h)),e.is(".minicolors-grid")?u.stop(!0).animate({top:h+"px",left:f+"px"},m,c.animationEasing,(function(){s(l,e)})):u.stop(!0).animate({top:h+"px"},m,c.animationEasing,(function(){s(l,e)}))}function s(e,t){function r(e,t){var r,n;return e.length&&t?(r=e.offset().left,n=e.offset().top,{x:r-t.offset().left+e.outerWidth()/2,y:n-t.offset().top+e.outerHeight()/2}):null}var n,o,s,i,c,d,f,h=e.val(),m=e.attr("data-opacity"),g=e.parent(),y=e.data("minicolors-settings"),b=g.find(".minicolors-swatch"),v=g.find(".minicolors-grid"),w=g.find(".minicolors-slider"),x=g.find(".minicolors-opacity-slider"),S=v.find("[class$=-picker]"),A=w.find("[class$=-picker]"),E=x.find("[class$=-picker]"),k=r(S,v),O=r(A,w),M=r(E,x);if(t.is(".minicolors-grid, .minicolors-slider")){switch(y.control){case"wheel":i=v.width()/2-k.x,c=v.height()/2-k.y,d=Math.sqrt(i*i+c*c),(f=Math.atan2(c,i))<0&&(f+=2*Math.PI),d>75&&(d=75,k.x=69-75*Math.cos(f),k.y=69-75*Math.sin(f)),o=u(d/.75,0,100),h=p({h:n=u(180*f/Math.PI,0,360),s:o,b:s=u(100-Math.floor(O.y*(100/w.height())),0,100)}),w.css("backgroundColor",p({h:n,s:o,b:100}));break;case"saturation":h=p({h:n=u(parseInt(k.x*(360/v.width()),10),0,360),s:o=u(100-Math.floor(O.y*(100/w.height())),0,100),b:s=u(100-Math.floor(k.y*(100/v.height())),0,100)}),w.css("backgroundColor",p({h:n,s:100,b:s})),g.find(".minicolors-grid-inner").css("opacity",o/100);break;case"brightness":h=p({h:n=u(parseInt(k.x*(360/v.width()),10),0,360),s:o=u(100-Math.floor(k.y*(100/v.height())),0,100),b:s=u(100-Math.floor(O.y*(100/w.height())),0,100)}),w.css("backgroundColor",p({h:n,s:o,b:100})),g.find(".minicolors-grid-inner").css("opacity",1-s/100);break;default:h=p({h:n=u(360-parseInt(O.y*(360/w.height()),10),0,360),s:o=u(Math.floor(k.x*(100/v.width())),0,100),b:s=u(100-Math.floor(k.y*(100/v.height())),0,100)}),v.css("backgroundColor",p({h:n,s:100,b:100}))}e.val(l(h,y.letterCase))}t.is(".minicolors-opacity-slider")&&(m=y.opacity?parseFloat(1-M.y/x.height()).toFixed(2):1,y.opacity&&e.attr("data-opacity",m)),b.find("SPAN").css({backgroundColor:h,opacity:m}),a(e,h,m)}function i(e,t){var r,n,o,s,i,f,h,m=e.parent(),g=e.data("minicolors-settings"),y=m.find(".minicolors-swatch"),b=m.find(".minicolors-grid"),v=m.find(".minicolors-slider"),w=m.find(".minicolors-opacity-slider"),x=b.find("[class$=-picker]"),S=v.find("[class$=-picker]"),A=w.find("[class$=-picker]");switch((r=l(c(e.val(),!0),g.letterCase))||(r=l(c(g.defaultValue,!0),g.letterCase)),n=function(e){var t=function(e){var t={h:0,s:0,b:0},r=Math.min(e.r,e.g,e.b),n=Math.max(e.r,e.g,e.b),o=n-r;return t.b=n,t.s=0!==n?255*o/n:0,0!==t.s?e.r===n?t.h=(e.g-e.b)/o:e.g===n?t.h=2+(e.b-e.r)/o:t.h=4+(e.r-e.g)/o:t.h=-1,t.h*=60,t.h<0&&(t.h+=360),t.s*=100/255,t.b*=100/255,t}(d(e));return 0===t.s&&(t.h=360),t}(r),t||e.val(r),g.opacity&&(o=""===e.attr("data-opacity")?1:u(parseFloat(e.attr("data-opacity")).toFixed(2),0,1),isNaN(o)&&(o=1),e.attr("data-opacity",o),y.find("SPAN").css("opacity",o),i=u(w.height()-w.height()*o,0,w.height()),A.css("top",i+"px")),y.find("SPAN").css("backgroundColor",r),g.control){case"wheel":f=u(Math.ceil(.75*n.s),0,b.height()/2),h=n.h*Math.PI/180,s=u(75-Math.cos(h)*f,0,b.width()),i=u(75-Math.sin(h)*f,0,b.height()),x.css({top:i+"px",left:s+"px"}),i=150-n.b/(100/b.height()),""===r&&(i=0),S.css("top",i+"px"),v.css("backgroundColor",p({h:n.h,s:n.s,b:100}));break;case"saturation":s=u(5*n.h/12,0,150),i=u(b.height()-Math.ceil(n.b/(100/b.height())),0,b.height()),x.css({top:i+"px",left:s+"px"}),i=u(v.height()-n.s*(v.height()/100),0,v.height()),S.css("top",i+"px"),v.css("backgroundColor",p({h:n.h,s:100,b:n.b})),m.find(".minicolors-grid-inner").css("opacity",n.s/100);break;case"brightness":s=u(5*n.h/12,0,150),i=u(b.height()-Math.ceil(n.s/(100/b.height())),0,b.height()),x.css({top:i+"px",left:s+"px"}),i=u(v.height()-n.b*(v.height()/100),0,v.height()),S.css("top",i+"px"),v.css("backgroundColor",p({h:n.h,s:n.s,b:100})),m.find(".minicolors-grid-inner").css("opacity",1-n.b/100);break;default:s=u(Math.ceil(n.s/(100/b.width())),0,b.width()),i=u(b.height()-Math.ceil(n.b/(100/b.height())),0,b.height()),x.css({top:i+"px",left:s+"px"}),i=u(v.height()-n.h/(360/v.height()),0,v.height()),S.css("top",i+"px"),b.css("backgroundColor",p({h:n.h,s:100,b:100}))}e.data("minicolors-initialized")&&a(e,r,o)}function a(e,t,r){var n=e.data("minicolors-settings"),o=e.data("minicolors-lastChange");o&&o.hex===t&&o.opacity===r||(e.data("minicolors-lastChange",{hex:t,opacity:r}),n.change&&(n.changeDelay?(clearTimeout(e.data("minicolors-changeTimeout")),e.data("minicolors-changeTimeout",setTimeout((function(){n.change.call(e.get(0),t,r)}),n.changeDelay))):n.change.call(e.get(0),t,r)),e.trigger("change").trigger("input"))}function l(e,t){return"uppercase"===t?e.toUpperCase():e.toLowerCase()}function c(e,t){return 3!==(e=e.replace(/[^A-F0-9]/gi,"")).length&&6!==e.length?"":(3===e.length&&t&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),"#"+e)}function u(e,t,r){return er&&(e=r),e}function p(t){return r=function(e){var t={},r=Math.round(e.h),n=Math.round(255*e.s/100),o=Math.round(255*e.b/100);if(0===n)t.r=t.g=t.b=o;else{var s=o,i=(255-n)*o/255,a=r%60*(s-i)/60;360===r&&(r=0),r<60?(t.r=s,t.b=i,t.g=i+a):r<120?(t.g=s,t.b=i,t.r=s-a):r<180?(t.g=s,t.r=i,t.b=i+a):r<240?(t.b=s,t.r=i,t.g=s-a):r<300?(t.b=s,t.g=i,t.r=i+a):r<360?(t.r=s,t.g=i,t.b=s-a):(t.r=0,t.g=0,t.b=0)}return{r:Math.round(t.r),g:Math.round(t.g),b:Math.round(t.b)}}(t),n=[r.r.toString(16),r.g.toString(16),r.b.toString(16)],e.each(n,(function(e,t){1===t.length&&(n[e]="0"+t)})),"#"+n.join("");var r,n}function d(e){return{r:(e=parseInt(e.indexOf("#")>-1?e.substring(1):e,16))>>16,g:(65280&e)>>8,b:255&e}}e.minicolors={defaults:{animationSpeed:50,animationEasing:"swing",change:null,changeDelay:0,control:"hue",dataUris:!0,defaultValue:"",hide:null,hideSpeed:100,inline:!1,letterCase:"lowercase",opacity:!1,position:"bottom left",show:null,showSpeed:100,theme:"default"}},e.extend(e.fn,{minicolors:function(o,s){switch(o){case"destroy":return e(this).each((function(){t(e(this))})),e(this);case"hide":return n(),e(this);case"opacity":return void 0===s?e(this).attr("data-opacity"):(e(this).each((function(){i(e(this).attr("data-opacity",s))})),e(this));case"rgbObject":return a=e(this),l=d(c(e(a).val(),!0)),u=e(a).attr("data-opacity"),l?(void 0!==u&&e.extend(l,{a:parseFloat(u)}),l):null;case"rgbString":case"rgbaString":return function(t,r){var n=d(c(e(t).val(),!0)),o=e(t).attr("data-opacity");return n?(void 0===o&&(o=1),r?"rgba("+n.r+", "+n.g+", "+n.b+", "+parseFloat(o)+")":"rgb("+n.r+", "+n.g+", "+n.b+")"):null}(e(this),"rgbaString"===o);case"settings":return void 0===s?e(this).data("minicolors-settings"):(e(this).each((function(){var r=e(this).data("minicolors-settings")||{};t(e(this)),e(this).minicolors(e.extend(!0,r,s))})),e(this));case"show":return r(e(this).eq(0)),e(this);case"value":return void 0===s?e(this).val():(e(this).each((function(){i(e(this).val(s))})),e(this));default:return"create"!==o&&(s=o),e(this).each((function(){!function(t,r){var n=e('
'),o=e.minicolors.defaults;t.data("minicolors-initialized")||(r=e.extend(!0,{},o,r),n.addClass("minicolors-theme-"+r.theme).toggleClass("minicolors-with-opacity",r.opacity).toggleClass("minicolors-no-data-uris",!0!==r.dataUris),void 0!==r.position&&e.each(r.position.split(" "),(function(){n.addClass("minicolors-position-"+this)})),t.addClass("minicolors-input").data("minicolors-initialized",!1).data("minicolors-settings",r).prop("size",7).wrap(n).after('
'),r.inline||(t.after(''),t.next(".minicolors-swatch").on("click",(function(e){e.preventDefault(),t.focus()}))),t.parent().find(".minicolors-panel").on("selectstart",(function(){return!1})).end(),r.inline&&t.parent().addClass("minicolors-inline"),i(t,!1),t.data("minicolors-initialized",!0))}(e(this),s)})),e(this)}var a,l,u}}),e(document).on("mousedown.minicolors touchstart.minicolors",(function(t){e(t.target).parents().add(t.target).hasClass("minicolors")||n()})).on("mousedown.minicolors touchstart.minicolors",".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider",(function(t){var r=e(this);t.preventDefault(),e(document).data("minicolors-target",r),o(r,t,!0)})).on("mousemove.minicolors touchmove.minicolors",(function(t){var r=e(document).data("minicolors-target");r&&o(r,t)})).on("mouseup.minicolors touchend.minicolors",(function(){e(this).removeData("minicolors-target")})).on("mousedown.minicolors touchstart.minicolors",".minicolors-swatch",(function(t){var n=e(this).parent().find(".minicolors-input");t.preventDefault(),r(n)})).on("focus.minicolors",".minicolors-input",(function(){var t=e(this);t.data("minicolors-initialized")&&r(t)})).on("blur.minicolors",".minicolors-input",(function(){var t=e(this),r=t.data("minicolors-settings");t.data("minicolors-initialized")&&(t.val(c(t.val(),!0)),""===t.val()&&t.val(c(r.defaultValue,!0)),t.val(l(t.val(),r.letterCase)))})).on("keydown.minicolors",".minicolors-input",(function(t){var r=e(this);if(r.data("minicolors-initialized"))switch(t.keyCode){case 9:n();break;case 13:case 27:n(),r.blur()}})).on("keyup.minicolors",".minicolors-input",(function(){var t=e(this);t.data("minicolors-initialized")&&i(t,!0)})).on("paste.minicolors",".minicolors-input",(function(){var t=e(this);t.data("minicolors-initialized")&&setTimeout((function(){i(t,!0)}),1)}))})?n.apply(t,o):n)||(e.exports=s)},4692:function(e,t){var r;!function(t,r){"use strict";"object"==typeof e.exports?e.exports=t.document?r(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return r(e)}:r(t)}("undefined"!=typeof window?window:this,(function(n,o){"use strict";var s=[],i=Object.getPrototypeOf,a=s.slice,l=s.flat?function(e){return s.flat.call(e)}:function(e){return s.concat.apply([],e)},c=s.push,u=s.indexOf,p={},d=p.toString,f=p.hasOwnProperty,h=f.toString,m=h.call(Object),g={},y=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},b=function(e){return null!=e&&e===e.window},v=n.document,w={type:!0,src:!0,nonce:!0,noModule:!0};function x(e,t,r){var n,o,s=(r=r||v).createElement("script");if(s.text=e,t)for(n in w)(o=t[n]||t.getAttribute&&t.getAttribute(n))&&s.setAttribute(n,o);r.head.appendChild(s).parentNode.removeChild(s)}function S(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?p[d.call(e)]||"object":typeof e}var A="3.7.1",E=/HTML$/i,k=function(e,t){return new k.fn.init(e,t)};function O(e){var t=!!e&&"length"in e&&e.length,r=S(e);return!y(e)&&!b(e)&&("array"===r||0===t||"number"==typeof t&&t>0&&t-1 in e)}function M(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}k.fn=k.prototype={jquery:A,constructor:k,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=k.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return k.each(this,e)},map:function(e){return this.pushStack(k.map(this,(function(t,r){return e.call(t,r,t)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(k.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(k.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,r=+e+(e<0?t:0);return this.pushStack(r>=0&&r+~]|"+T+")"+T+"*"),G=new RegExp(T+"|>"),F=new RegExp(z),B=new RegExp("^"+P+"$"),q={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+D),PSEUDO:new RegExp("^"+z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+T+"*(even|odd|(([+-]|)(\\d*)n|)"+T+"*(?:([+-]|)"+T+"*(\\d+)|))"+T+"*\\)|)","i"),bool:new RegExp("^(?:"+O+")$","i"),needsContext:new RegExp("^"+T+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+T+"*((?:-\\d)?\\d*)"+T+"*\\)|)(?=[^-]|$)","i")},J=/^(?:input|select|textarea|button)$/i,U=/^h\d$/i,H=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,V=/[+~]/,X=new RegExp("\\\\[\\da-fA-F]{1,6}"+T+"?|\\\\([^\\r\\n\\f])","g"),K=function(e,t){var r="0x"+e.slice(1)-65536;return t||(r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320))},Q=function(){le()},$=de((function(e){return!0===e.disabled&&M(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{m.apply(s=a.call(I.childNodes),I.childNodes),s[I.childNodes.length].nodeType}catch(e){m={apply:function(e,t){R.apply(e,a.call(t))},call:function(e){R.apply(e,a.call(arguments,1))}}}function _(e,t,r,n){var o,s,i,a,c,u,f,h=t&&t.ownerDocument,b=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==b&&9!==b&&11!==b)return r;if(!n&&(le(t),t=t||l,p)){if(11!==b&&(c=H.exec(e)))if(o=c[1]){if(9===b){if(!(i=t.getElementById(o)))return r;if(i.id===o)return m.call(r,i),r}else if(h&&(i=h.getElementById(o))&&_.contains(t,i)&&i.id===o)return m.call(r,i),r}else{if(c[2])return m.apply(r,t.getElementsByTagName(e)),r;if((o=c[3])&&t.getElementsByClassName)return m.apply(r,t.getElementsByClassName(o)),r}if(!(A[e+" "]||d&&d.test(e))){if(f=e,h=t,1===b&&(G.test(e)||Y.test(e))){for((h=V.test(e)&&ae(t.parentNode)||t)==t&&g.scope||((a=t.getAttribute("id"))?a=k.escapeSelector(a):t.setAttribute("id",a=y)),s=(u=ue(e)).length;s--;)u[s]=(a?"#"+a:":scope")+" "+pe(u[s]);f=u.join(",")}try{return m.apply(r,h.querySelectorAll(f)),r}catch(t){A(e,!0)}finally{a===y&&t.removeAttribute("id")}}}return be(e.replace(N,"$1"),t,r,n)}function ee(){var e=[];return function r(n,o){return e.push(n+" ")>t.cacheLength&&delete r[e.shift()],r[n+" "]=o}}function te(e){return e[y]=!0,e}function re(e){var t=l.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ne(e){return function(t){return M(t,"input")&&t.type===e}}function oe(e){return function(t){return(M(t,"input")||M(t,"button"))&&t.type===e}}function se(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&&$(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ie(e){return te((function(t){return t=+t,te((function(r,n){for(var o,s=e([],r.length,t),i=s.length;i--;)r[o=s[i]]&&(r[o]=!(n[o]=r[o]))}))}))}function ae(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var r,n=e?e.ownerDocument||e:I;return n!=l&&9===n.nodeType&&n.documentElement?(c=(l=n).documentElement,p=!k.isXMLDoc(l),h=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&I!=l&&(r=l.defaultView)&&r.top!==r&&r.addEventListener("unload",Q),g.getById=re((function(e){return c.appendChild(e).id=k.expando,!l.getElementsByName||!l.getElementsByName(k.expando).length})),g.disconnectedMatch=re((function(e){return h.call(e,"*")})),g.scope=re((function(){return l.querySelectorAll(":scope")})),g.cssHas=re((function(){try{return l.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),g.getById?(t.filter.ID=function(e){var t=e.replace(X,K);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var r=t.getElementById(e);return r?[r]:[]}}):(t.filter.ID=function(e){var t=e.replace(X,K);return function(e){var r=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return r&&r.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var r,n,o,s=t.getElementById(e);if(s){if((r=s.getAttributeNode("id"))&&r.value===e)return[s];for(o=t.getElementsByName(e),n=0;s=o[n++];)if((r=s.getAttributeNode("id"))&&r.value===e)return[s]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&p)return t.getElementsByClassName(e)},d=[],re((function(e){var t;c.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||d.push("\\["+T+"*(?:value|"+O+")"),e.querySelectorAll("[id~="+y+"-]").length||d.push("~="),e.querySelectorAll("a#"+y+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=l.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),c.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+T+"*name"+T+"*="+T+"*(?:''|\"\")")})),g.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),E=function(e,t){if(e===t)return i=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!g.sortDetached&&t.compareDocumentPosition(e)===r?e===l||e.ownerDocument==I&&_.contains(I,e)?-1:t===l||t.ownerDocument==I&&_.contains(I,t)?1:o?u.call(o,e)-u.call(o,t):0:4&r?-1:1)},l):l}for(e in _.matches=function(e,t){return _(e,null,null,t)},_.matchesSelector=function(e,t){if(le(e),p&&!A[t+" "]&&(!d||!d.test(t)))try{var r=h.call(e,t);if(r||g.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){A(t,!0)}return _(t,l,null,[e]).length>0},_.contains=function(e,t){return(e.ownerDocument||e)!=l&&le(e),k.contains(e,t)},_.attr=function(e,r){(e.ownerDocument||e)!=l&&le(e);var n=t.attrHandle[r.toLowerCase()],o=n&&f.call(t.attrHandle,r.toLowerCase())?n(e,r,!p):void 0;return void 0!==o?o:e.getAttribute(r)},_.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},k.uniqueSort=function(e){var t,r=[],n=0,s=0;if(i=!g.sortStable,o=!g.sortStable&&a.call(e,0),L.call(e,E),i){for(;t=e[s++];)t===e[s]&&(n=r.push(s));for(;n--;)j.call(e,r[n],1)}return o=null,e},k.fn.uniqueSort=function(){return this.pushStack(k.uniqueSort(a.apply(this)))},t=k.expr={cacheLength:50,createPseudo:te,match:q,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(X,K),e[3]=(e[3]||e[4]||e[5]||"").replace(X,K),"~="===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]||_.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]&&_.error(e[0]),e},PSEUDO:function(e){var t,r=!e[6]&&e[2];return q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":r&&F.test(r)&&(t=ue(r,!0))&&(t=r.indexOf(")",r.length-t)-r.length)&&(e[0]=e[0].slice(0,t),e[2]=r.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(X,K).toLowerCase();return"*"===e?function(){return!0}:function(e){return M(e,t)}},CLASS:function(e){var t=w[e+" "];return t||(t=new RegExp("(^|"+T+")"+e+"("+T+"|$)"))&&w(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,r){return function(n){var o=_.attr(n,e);return null==o?"!="===t:!t||(o+="","="===t?o===r:"!="===t?o!==r:"^="===t?r&&0===o.indexOf(r):"*="===t?r&&o.indexOf(r)>-1:"$="===t?r&&o.slice(-r.length)===r:"~="===t?(" "+o.replace(W," ")+" ").indexOf(r)>-1:"|="===t&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,r,n,o){var s="nth"!==e.slice(0,3),i="last"!==e.slice(-4),a="of-type"===t;return 1===n&&0===o?function(e){return!!e.parentNode}:function(t,r,l){var c,u,p,d,f,h=s!==i?"nextSibling":"previousSibling",m=t.parentNode,g=a&&t.nodeName.toLowerCase(),v=!l&&!a,w=!1;if(m){if(s){for(;h;){for(p=t;p=p[h];)if(a?M(p,g):1===p.nodeType)return!1;f=h="only"===e&&!f&&"nextSibling"}return!0}if(f=[i?m.firstChild:m.lastChild],i&&v){for(w=(d=(c=(u=m[y]||(m[y]={}))[e]||[])[0]===b&&c[1])&&c[2],p=d&&m.childNodes[d];p=++d&&p&&p[h]||(w=d=0)||f.pop();)if(1===p.nodeType&&++w&&p===t){u[e]=[b,d,w];break}}else if(v&&(w=d=(c=(u=t[y]||(t[y]={}))[e]||[])[0]===b&&c[1]),!1===w)for(;(p=++d&&p&&p[h]||(w=d=0)||f.pop())&&(!(a?M(p,g):1===p.nodeType)||!++w||(v&&((u=p[y]||(p[y]={}))[e]=[b,w]),p!==t)););return(w-=o)===n||w%n==0&&w/n>=0}}},PSEUDO:function(e,r){var n,o=t.pseudos[e]||t.setFilters[e.toLowerCase()]||_.error("unsupported pseudo: "+e);return o[y]?o(r):o.length>1?(n=[e,e,"",r],t.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,t){for(var n,s=o(e,r),i=s.length;i--;)e[n=u.call(e,s[i])]=!(t[n]=s[i])})):function(e){return o(e,0,n)}):o}},pseudos:{not:te((function(e){var t=[],r=[],n=ye(e.replace(N,"$1"));return n[y]?te((function(e,t,r,o){for(var s,i=n(e,null,o,[]),a=e.length;a--;)(s=i[a])&&(e[a]=!(t[a]=s))})):function(e,o,s){return t[0]=e,n(t,null,s,r),t[0]=null,!r.pop()}})),has:te((function(e){return function(t){return _(e,t).length>0}})),contains:te((function(e){return e=e.replace(X,K),function(t){return(t.textContent||k.text(t)).indexOf(e)>-1}})),lang:te((function(e){return B.test(e||"")||_.error("unsupported lang: "+e),e=e.replace(X,K).toLowerCase(),function(t){var r;do{if(r=p?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(r=r.toLowerCase())===e||0===r.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===c},focus:function(e){return e===function(){try{return l.activeElement}catch(e){}}()&&l.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:se(!1),disabled:se(!0),checked:function(e){return M(e,"input")&&!!e.checked||M(e,"option")&&!!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!t.pseudos.empty(e)},header:function(e){return U.test(e.nodeName)},input:function(e){return J.test(e.nodeName)},button:function(e){return M(e,"input")&&"button"===e.type||M(e,"button")},text:function(e){var t;return M(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ie((function(){return[0]})),last:ie((function(e,t){return[t-1]})),eq:ie((function(e,t,r){return[r<0?r+t:r]})),even:ie((function(e,t){for(var r=0;rt?t:r;--n>=0;)e.push(n);return e})),gt:ie((function(e,t,r){for(var n=r<0?r+t:r;++n1?function(t,r,n){for(var o=e.length;o--;)if(!e[o](t,r,n))return!1;return!0}:e[0]}function he(e,t,r,n,o){for(var s,i=[],a=0,l=e.length,c=null!=t;a-1&&(s[c]=!(i[c]=d))}}else f=he(f===i?f.splice(y,f.length):f),o?o(null,i,f,l):m.apply(i,f)}))}function ge(e){for(var n,o,s,i=e.length,a=t.relative[e[0].type],l=a||t.relative[" "],c=a?1:0,p=de((function(e){return e===n}),l,!0),d=de((function(e){return u.call(n,e)>-1}),l,!0),f=[function(e,t,o){var s=!a&&(o||t!=r)||((n=t).nodeType?p(e,t,o):d(e,t,o));return n=null,s}];c1&&fe(f),c>1&&pe(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(N,"$1"),o,c0,s=e.length>0,i=function(i,a,c,u,d){var f,h,g,y=0,v="0",w=i&&[],x=[],S=r,A=i||s&&t.find.TAG("*",d),E=b+=null==S?1:Math.random()||.1,O=A.length;for(d&&(r=a==l||a||d);v!==O&&null!=(f=A[v]);v++){if(s&&f){for(h=0,a||f.ownerDocument==l||(le(f),c=!p);g=e[h++];)if(g(f,a||l,c)){m.call(u,f);break}d&&(b=E)}o&&((f=!g&&f)&&y--,i&&w.push(f))}if(y+=v,o&&v!==y){for(h=0;g=n[h++];)g(w,x,a,c);if(i){if(y>0)for(;v--;)w[v]||x[v]||(x[v]=C.call(u));x=he(x)}m.apply(u,x),d&&!i&&x.length>0&&y+n.length>1&&k.uniqueSort(u)}return d&&(b=E,r=S),w};return o?te(i):i}(i,s)),a.selector=e}return a}function be(e,r,n,o){var s,i,a,l,c,u="function"==typeof e&&e,d=!o&&ue(e=u.selector||e);if(n=n||[],1===d.length){if((i=d[0]=d[0].slice(0)).length>2&&"ID"===(a=i[0]).type&&9===r.nodeType&&p&&t.relative[i[1].type]){if(!(r=(t.find.ID(a.matches[0].replace(X,K),r)||[])[0]))return n;u&&(r=r.parentNode),e=e.slice(i.shift().value.length)}for(s=q.needsContext.test(e)?0:i.length;s--&&(a=i[s],!t.relative[l=a.type]);)if((c=t.find[l])&&(o=c(a.matches[0].replace(X,K),V.test(i[0].type)&&ae(r.parentNode)||r))){if(i.splice(s,1),!(e=o.length&&pe(i)))return m.apply(n,o),n;break}}return(u||ye(e,d))(o,r,!p,n,!r||V.test(e)&&ae(r.parentNode)||r),n}ce.prototype=t.filters=t.pseudos,t.setFilters=new ce,g.sortStable=y.split("").sort(E).join("")===y,le(),g.sortDetached=re((function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"))})),k.find=_,k.expr[":"]=k.expr.pseudos,k.unique=k.uniqueSort,_.compile=ye,_.select=be,_.setDocument=le,_.tokenize=ue,_.escape=k.escapeSelector,_.getText=k.text,_.isXML=k.isXMLDoc,_.selectors=k.expr,_.support=k.support,_.uniqueSort=k.uniqueSort}();var z=function(e,t,r){for(var n=[],o=void 0!==r;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&k(e).is(r))break;n.push(e)}return n},W=function(e,t){for(var r=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&r.push(e);return r},Z=k.expr.match.needsContext,Y=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function G(e,t,r){return y(t)?k.grep(e,(function(e,n){return!!t.call(e,n,e)!==r})):t.nodeType?k.grep(e,(function(e){return e===t!==r})):"string"!=typeof t?k.grep(e,(function(e){return u.call(t,e)>-1!==r})):k.filter(t,e,r)}k.filter=function(e,t,r){var n=t[0];return r&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?k.find.matchesSelector(n,e)?[n]:[]:k.find.matches(e,k.grep(t,(function(e){return 1===e.nodeType})))},k.fn.extend({find:function(e){var t,r,n=this.length,o=this;if("string"!=typeof e)return this.pushStack(k(e).filter((function(){for(t=0;t1?k.uniqueSort(r):r},filter:function(e){return this.pushStack(G(this,e||[],!1))},not:function(e){return this.pushStack(G(this,e||[],!0))},is:function(e){return!!G(this,"string"==typeof e&&Z.test(e)?k(e):e||[],!1).length}});var F,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,r){var n,o;if(!e)return this;if(r=r||F,"string"==typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:B.exec(e))||!n[1]&&t)return!t||t.jquery?(t||r).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:v,!0)),Y.test(n[1])&&k.isPlainObject(t))for(n in t)y(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(o=v.getElementById(n[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==r.ready?r.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,F=k(v);var q=/^(?:parents|prev(?:Until|All))/,J={children:!0,contents:!0,next:!0,prev:!0};function U(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}k.fn.extend({has:function(e){var t=k(e,this),r=t.length;return this.filter((function(){for(var e=0;e-1:1===r.nodeType&&k.find.matchesSelector(r,e))){s.push(r);break}return this.pushStack(s.length>1?k.uniqueSort(s):s)},index:function(e){return e?"string"==typeof e?u.call(k(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(k.uniqueSort(k.merge(this.get(),k(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),k.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return z(e,"parentNode")},parentsUntil:function(e,t,r){return z(e,"parentNode",r)},next:function(e){return U(e,"nextSibling")},prev:function(e){return U(e,"previousSibling")},nextAll:function(e){return z(e,"nextSibling")},prevAll:function(e){return z(e,"previousSibling")},nextUntil:function(e,t,r){return z(e,"nextSibling",r)},prevUntil:function(e,t,r){return z(e,"previousSibling",r)},siblings:function(e){return W((e.parentNode||{}).firstChild,e)},children:function(e){return W(e.firstChild)},contents:function(e){return null!=e.contentDocument&&i(e.contentDocument)?e.contentDocument:(M(e,"template")&&(e=e.content||e),k.merge([],e.childNodes))}},(function(e,t){k.fn[e]=function(r,n){var o=k.map(this,t,r);return"Until"!==e.slice(-5)&&(n=r),n&&"string"==typeof n&&(o=k.filter(n,o)),this.length>1&&(J[e]||k.uniqueSort(o),q.test(e)&&o.reverse()),this.pushStack(o)}}));var H=/[^\x20\t\r\n\f]+/g;function V(e){return e}function X(e){throw e}function K(e,t,r,n){var o;try{e&&y(o=e.promise)?o.call(e).done(t).fail(r):e&&y(o=e.then)?o.call(e,t,r):t.apply(void 0,[e].slice(n))}catch(e){r.apply(void 0,[e])}}k.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return k.each(e.match(H)||[],(function(e,r){t[r]=!0})),t}(e):k.extend({},e);var t,r,n,o,s=[],i=[],a=-1,l=function(){for(o=o||e.once,n=t=!0;i.length;a=-1)for(r=i.shift();++a-1;)s.splice(r,1),r<=a&&a--})),this},has:function(e){return e?k.inArray(e,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return o=i=[],s=r="",this},disabled:function(){return!s},lock:function(){return o=i=[],r||t||(s=r=""),this},locked:function(){return!!o},fireWith:function(e,r){return o||(r=[e,(r=r||[]).slice?r.slice():r],i.push(r),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!n}};return c},k.extend({Deferred:function(e){var t=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return s.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return k.Deferred((function(r){k.each(t,(function(t,n){var o=y(e[n[4]])&&e[n[4]];s[n[1]]((function(){var e=o&&o.apply(this,arguments);e&&y(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[n[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,r,o){var s=0;function i(e,t,r,o){return function(){var a=this,l=arguments,c=function(){var n,c;if(!(e=s&&(r!==X&&(a=void 0,l=[n]),t.rejectWith(a,l))}};e?u():(k.Deferred.getErrorHook?u.error=k.Deferred.getErrorHook():k.Deferred.getStackHook&&(u.error=k.Deferred.getStackHook()),n.setTimeout(u))}}return k.Deferred((function(n){t[0][3].add(i(0,n,y(o)?o:V,n.notifyWith)),t[1][3].add(i(0,n,y(e)?e:V)),t[2][3].add(i(0,n,y(r)?r:X))})).promise()},promise:function(e){return null!=e?k.extend(e,o):o}},s={};return k.each(t,(function(e,n){var i=n[2],a=n[5];o[n[1]]=i.add,a&&i.add((function(){r=a}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),i.add(n[3].fire),s[n[0]]=function(){return s[n[0]+"With"](this===s?void 0:this,arguments),this},s[n[0]+"With"]=i.fireWith})),o.promise(s),e&&e.call(s,s),s},when:function(e){var t=arguments.length,r=t,n=Array(r),o=a.call(arguments),s=k.Deferred(),i=function(e){return function(r){n[e]=this,o[e]=arguments.length>1?a.call(arguments):r,--t||s.resolveWith(n,o)}};if(t<=1&&(K(e,s.done(i(r)).resolve,s.reject,!t),"pending"===s.state()||y(o[r]&&o[r].then)))return s.then();for(;r--;)K(o[r],i(r),s.reject);return s.promise()}});var Q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&Q.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},k.readyException=function(e){n.setTimeout((function(){throw e}))};var $=k.Deferred();function _(){v.removeEventListener("DOMContentLoaded",_),n.removeEventListener("load",_),k.ready()}k.fn.ready=function(e){return $.then(e).catch((function(e){k.readyException(e)})),this},k.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--k.readyWait:k.isReady)||(k.isReady=!0,!0!==e&&--k.readyWait>0||$.resolveWith(v,[k]))}}),k.ready.then=$.then,"complete"===v.readyState||"loading"!==v.readyState&&!v.documentElement.doScroll?n.setTimeout(k.ready):(v.addEventListener("DOMContentLoaded",_),n.addEventListener("load",_));var ee=function(e,t,r,n,o,s,i){var a=0,l=e.length,c=null==r;if("object"===S(r))for(a in o=!0,r)ee(e,t,a,r[a],!0,s,i);else if(void 0!==n&&(o=!0,y(n)||(i=!0),c&&(i?(t.call(e,n),t=null):(c=t,t=function(e,t,r){return c.call(k(e),r)})),t))for(;a1,null,!0)},removeData:function(e){return this.each((function(){le.remove(this,e)}))}}),k.extend({queue:function(e,t,r){var n;if(e)return t=(t||"fx")+"queue",n=ae.get(e,t),r&&(!n||Array.isArray(r)?n=ae.access(e,t,k.makeArray(r)):n.push(r)),n||[]},dequeue:function(e,t){t=t||"fx";var r=k.queue(e,t),n=r.length,o=r.shift(),s=k._queueHooks(e,t);"inprogress"===o&&(o=r.shift(),n--),o&&("fx"===t&&r.unshift("inprogress"),delete s.stop,o.call(e,(function(){k.dequeue(e,t)}),s)),!n&&s&&s.empty.fire()},_queueHooks:function(e,t){var r=t+"queueHooks";return ae.get(e,r)||ae.access(e,r,{empty:k.Callbacks("once memory").add((function(){ae.remove(e,[t+"queue",r])}))})}}),k.fn.extend({queue:function(e,t){var r=2;return"string"!=typeof e&&(t=e,e="fx",r--),arguments.length\x20\t\r\n\f]*)/i,Me=/^$|^module$|\/(?:java|ecma)script/i;Ae=v.createDocumentFragment().appendChild(v.createElement("div")),(Ee=v.createElement("input")).setAttribute("type","radio"),Ee.setAttribute("checked","checked"),Ee.setAttribute("name","t"),Ae.appendChild(Ee),g.checkClone=Ae.cloneNode(!0).cloneNode(!0).lastChild.checked,Ae.innerHTML="",g.noCloneChecked=!!Ae.cloneNode(!0).lastChild.defaultValue,Ae.innerHTML="",g.option=!!Ae.lastChild;var Ce={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function Le(e,t){var r;return r=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&M(e,t)?k.merge([e],r):r}function je(e,t){for(var r=0,n=e.length;r",""]);var Te=/<|&#?\w+;/;function Ne(e,t,r,n,o){for(var s,i,a,l,c,u,p=t.createDocumentFragment(),d=[],f=0,h=e.length;f-1)o&&o.push(s);else if(c=ge(s),i=Le(p.appendChild(s),"script"),c&&je(i),r)for(u=0;s=i[u++];)Me.test(s.type||"")&&r.push(s);return p}var Pe=/^([^.]*)(?:\.(.+)|)/;function De(){return!0}function Ie(){return!1}function Re(e,t,r,n,o,s){var i,a;if("object"==typeof t){for(a in"string"!=typeof r&&(n=n||r,r=void 0),t)Re(e,a,r,n,t[a],s);return e}if(null==n&&null==o?(o=r,n=r=void 0):null==o&&("string"==typeof r?(o=n,n=void 0):(o=n,n=r,r=void 0)),!1===o)o=Ie;else if(!o)return e;return 1===s&&(i=o,o=function(e){return k().off(e),i.apply(this,arguments)},o.guid=i.guid||(i.guid=k.guid++)),e.each((function(){k.event.add(this,t,o,n,r)}))}function ze(e,t,r){r?(ae.set(e,t,!1),k.event.add(e,t,{namespace:!1,handler:function(e){var r,n=ae.get(this,t);if(1&e.isTrigger&&this[t]){if(n)(k.event.special[t]||{}).delegateType&&e.stopPropagation();else if(n=a.call(arguments),ae.set(this,t,n),this[t](),r=ae.get(this,t),ae.set(this,t,!1),n!==r)return e.stopImmediatePropagation(),e.preventDefault(),r}else n&&(ae.set(this,t,k.event.trigger(n[0],n.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=De)}})):void 0===ae.get(e,t)&&k.event.add(e,t,De)}k.event={global:{},add:function(e,t,r,n,o){var s,i,a,l,c,u,p,d,f,h,m,g=ae.get(e);if(se(e))for(r.handler&&(r=(s=r).handler,o=s.selector),o&&k.find.matchesSelector(me,o),r.guid||(r.guid=k.guid++),(l=g.events)||(l=g.events=Object.create(null)),(i=g.handle)||(i=g.handle=function(t){return void 0!==k&&k.event.triggered!==t.type?k.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(H)||[""]).length;c--;)f=m=(a=Pe.exec(t[c])||[])[1],h=(a[2]||"").split(".").sort(),f&&(p=k.event.special[f]||{},f=(o?p.delegateType:p.bindType)||f,p=k.event.special[f]||{},u=k.extend({type:f,origType:m,data:n,handler:r,guid:r.guid,selector:o,needsContext:o&&k.expr.match.needsContext.test(o),namespace:h.join(".")},s),(d=l[f])||((d=l[f]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(e,n,h,i)||e.addEventListener&&e.addEventListener(f,i)),p.add&&(p.add.call(e,u),u.handler.guid||(u.handler.guid=r.guid)),o?d.splice(d.delegateCount++,0,u):d.push(u),k.event.global[f]=!0)},remove:function(e,t,r,n,o){var s,i,a,l,c,u,p,d,f,h,m,g=ae.hasData(e)&&ae.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(H)||[""]).length;c--;)if(f=m=(a=Pe.exec(t[c])||[])[1],h=(a[2]||"").split(".").sort(),f){for(p=k.event.special[f]||{},d=l[f=(n?p.delegateType:p.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=s=d.length;s--;)u=d[s],!o&&m!==u.origType||r&&r.guid!==u.guid||a&&!a.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(d.splice(s,1),u.selector&&d.delegateCount--,p.remove&&p.remove.call(e,u));i&&!d.length&&(p.teardown&&!1!==p.teardown.call(e,h,g.handle)||k.removeEvent(e,f,g.handle),delete l[f])}else for(f in l)k.event.remove(e,f+t[c],r,n,!0);k.isEmptyObject(l)&&ae.remove(e,"handle events")}},dispatch:function(e){var t,r,n,o,s,i,a=new Array(arguments.length),l=k.event.fix(e),c=(ae.get(this,"events")||Object.create(null))[l.type]||[],u=k.event.special[l.type]||{};for(a[0]=l,t=1;t=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(s=[],i={},r=0;r-1:k.find(o,this,null,[c]).length),i[o]&&s.push(n);s.length&&a.push({elem:c,handlers:s})}return c=this,l\s*$/g;function Ge(e,t){return M(e,"table")&&M(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Fe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Be(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function qe(e,t){var r,n,o,s,i,a;if(1===t.nodeType){if(ae.hasData(e)&&(a=ae.get(e).events))for(o in ae.remove(t,"handle events"),a)for(r=0,n=a[o].length;r1&&"string"==typeof h&&!g.checkClone&&Ze.test(h))return e.each((function(o){var s=e.eq(o);m&&(t[0]=h.call(this,o,s.html())),Ue(s,t,r,n)}));if(d&&(s=(o=Ne(t,e[0].ownerDocument,!1,e,n)).firstChild,1===o.childNodes.length&&(o=s),s||n)){for(a=(i=k.map(Le(o,"script"),Fe)).length;p0&&je(i,!l&&Le(e,"script")),a},cleanData:function(e){for(var t,r,n,o=k.event.special,s=0;void 0!==(r=e[s]);s++)if(se(r)){if(t=r[ae.expando]){if(t.events)for(n in t.events)o[n]?k.event.remove(r,n):k.removeEvent(r,n,t.handle);r[ae.expando]=void 0}r[le.expando]&&(r[le.expando]=void 0)}}}),k.fn.extend({detach:function(e){return He(this,e,!0)},remove:function(e){return He(this,e)},text:function(e){return ee(this,(function(e){return void 0===e?k.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 Ue(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ge(this,e).appendChild(e)}))},prepend:function(){return Ue(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ge(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ue(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ue(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&&(k.cleanData(Le(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return k.clone(this,e,t)}))},html:function(e){return ee(this,(function(e){var t=this[0]||{},r=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!We.test(e)&&!Ce[(Oe.exec(e)||["",""])[1].toLowerCase()]){e=k.htmlPrefilter(e);try{for(;r=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-s-l-a-.5))||0),l+c}function ut(e,t,r){var n=Ke(e),o=(!g.boxSizingReliable()||r)&&"border-box"===k.css(e,"boxSizing",!1,n),s=o,i=_e(e,t,n),a="offset"+t[0].toUpperCase()+t.slice(1);if(Ve.test(i)){if(!r)return i;i="auto"}return(!g.boxSizingReliable()&&o||!g.reliableTrDimensions()&&M(e,"tr")||"auto"===i||!parseFloat(i)&&"inline"===k.css(e,"display",!1,n))&&e.getClientRects().length&&(o="border-box"===k.css(e,"boxSizing",!1,n),(s=a in e)&&(i=e[a])),(i=parseFloat(i)||0)+ct(e,t,r||(o?"border":"content"),s,n,i)+"px"}function pt(e,t,r,n,o){return new pt.prototype.init(e,t,r,n,o)}k.extend({cssHooks:{opacity:{get:function(e,t){if(t){var r=_e(e,"opacity");return""===r?"1":r}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,r,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,s,i,a=oe(t),l=Xe.test(t),c=e.style;if(l||(t=ot(a)),i=k.cssHooks[t]||k.cssHooks[a],void 0===r)return i&&"get"in i&&void 0!==(o=i.get(e,!1,n))?o:c[t];"string"==(s=typeof r)&&(o=fe.exec(r))&&o[1]&&(r=ve(e,t,o),s="number"),null!=r&&r==r&&("number"!==s||l||(r+=o&&o[3]||(k.cssNumber[a]?"":"px")),g.clearCloneStyle||""!==r||0!==t.indexOf("background")||(c[t]="inherit"),i&&"set"in i&&void 0===(r=i.set(e,r,n))||(l?c.setProperty(t,r):c[t]=r))}},css:function(e,t,r,n){var o,s,i,a=oe(t);return Xe.test(t)||(t=ot(a)),(i=k.cssHooks[t]||k.cssHooks[a])&&"get"in i&&(o=i.get(e,!0,r)),void 0===o&&(o=_e(e,t,n)),"normal"===o&&t in at&&(o=at[t]),""===r||r?(s=parseFloat(o),!0===r||isFinite(s)?s||0:o):o}}),k.each(["height","width"],(function(e,t){k.cssHooks[t]={get:function(e,r,n){if(r)return!st.test(k.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ut(e,t,n):Qe(e,it,(function(){return ut(e,t,n)}))},set:function(e,r,n){var o,s=Ke(e),i=!g.scrollboxSize()&&"absolute"===s.position,a=(i||n)&&"border-box"===k.css(e,"boxSizing",!1,s),l=n?ct(e,t,n,a,s):0;return a&&i&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(s[t])-ct(e,t,"border",!1,s)-.5)),l&&(o=fe.exec(r))&&"px"!==(o[3]||"px")&&(e.style[t]=r,r=k.css(e,t)),lt(0,r,l)}}})),k.cssHooks.marginLeft=et(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(_e(e,"marginLeft"))||e.getBoundingClientRect().left-Qe(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),k.each({margin:"",padding:"",border:"Width"},(function(e,t){k.cssHooks[e+t]={expand:function(r){for(var n=0,o={},s="string"==typeof r?r.split(" "):[r];n<4;n++)o[e+he[n]+t]=s[n]||s[n-2]||s[0];return o}},"margin"!==e&&(k.cssHooks[e+t].set=lt)})),k.fn.extend({css:function(e,t){return ee(this,(function(e,t,r){var n,o,s={},i=0;if(Array.isArray(t)){for(n=Ke(e),o=t.length;i1)}}),k.Tween=pt,pt.prototype={constructor:pt,init:function(e,t,r,n,o,s){this.elem=e,this.prop=r,this.easing=o||k.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=s||(k.cssNumber[r]?"":"px")},cur:function(){var e=pt.propHooks[this.prop];return e&&e.get?e.get(this):pt.propHooks._default.get(this)},run:function(e){var t,r=pt.propHooks[this.prop];return this.options.duration?this.pos=t=k.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),r&&r.set?r.set(this):pt.propHooks._default.set(this),this}},pt.prototype.init.prototype=pt.prototype,pt.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=k.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){k.fx.step[e.prop]?k.fx.step[e.prop](e):1!==e.elem.nodeType||!k.cssHooks[e.prop]&&null==e.elem.style[ot(e.prop)]?e.elem[e.prop]=e.now:k.style(e.elem,e.prop,e.now+e.unit)}}},pt.propHooks.scrollTop=pt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},k.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},k.fx=pt.prototype.init,k.fx.step={};var dt,ft,ht=/^(?:toggle|show|hide)$/,mt=/queueHooks$/;function gt(){ft&&(!1===v.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(gt):n.setTimeout(gt,k.fx.interval),k.fx.tick())}function yt(){return n.setTimeout((function(){dt=void 0})),dt=Date.now()}function bt(e,t){var r,n=0,o={height:e};for(t=t?1:0;n<4;n+=2-t)o["margin"+(r=he[n])]=o["padding"+r]=e;return t&&(o.opacity=o.width=e),o}function vt(e,t,r){for(var n,o=(wt.tweeners[t]||[]).concat(wt.tweeners["*"]),s=0,i=o.length;s1)},removeAttr:function(e){return this.each((function(){k.removeAttr(this,e)}))}}),k.extend({attr:function(e,t,r){var n,o,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===e.getAttribute?k.prop(e,t,r):(1===s&&k.isXMLDoc(e)||(o=k.attrHooks[t.toLowerCase()]||(k.expr.match.bool.test(t)?xt:void 0)),void 0!==r?null===r?void k.removeAttr(e,t):o&&"set"in o&&void 0!==(n=o.set(e,r,t))?n:(e.setAttribute(t,r+""),r):o&&"get"in o&&null!==(n=o.get(e,t))?n:null==(n=k.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&M(e,"input")){var r=e.value;return e.setAttribute("type",t),r&&(e.value=r),t}}}},removeAttr:function(e,t){var r,n=0,o=t&&t.match(H);if(o&&1===e.nodeType)for(;r=o[n++];)e.removeAttribute(r)}}),xt={set:function(e,t,r){return!1===t?k.removeAttr(e,r):e.setAttribute(r,r),r}},k.each(k.expr.match.bool.source.match(/\w+/g),(function(e,t){var r=St[t]||k.find.attr;St[t]=function(e,t,n){var o,s,i=t.toLowerCase();return n||(s=St[i],St[i]=o,o=null!=r(e,t,n)?i:null,St[i]=s),o}}));var At=/^(?:input|select|textarea|button)$/i,Et=/^(?:a|area)$/i;function kt(e){return(e.match(H)||[]).join(" ")}function Ot(e){return e.getAttribute&&e.getAttribute("class")||""}function Mt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(H)||[]}k.fn.extend({prop:function(e,t){return ee(this,k.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[k.propFix[e]||e]}))}}),k.extend({prop:function(e,t,r){var n,o,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&k.isXMLDoc(e)||(t=k.propFix[t]||t,o=k.propHooks[t]),void 0!==r?o&&"set"in o&&void 0!==(n=o.set(e,r,t))?n:e[t]=r:o&&"get"in o&&null!==(n=o.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=k.find.attr(e,"tabindex");return t?parseInt(t,10):At.test(e.nodeName)||Et.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(k.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)}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){k.propFix[this.toLowerCase()]=this})),k.fn.extend({addClass:function(e){var t,r,n,o,s,i;return y(e)?this.each((function(t){k(this).addClass(e.call(this,t,Ot(this)))})):(t=Mt(e)).length?this.each((function(){if(n=Ot(this),r=1===this.nodeType&&" "+kt(n)+" "){for(s=0;s-1;)r=r.replace(" "+o+" "," ");i=kt(r),n!==i&&this.setAttribute("class",i)}})):this:this.attr("class","")},toggleClass:function(e,t){var r,n,o,s,i=typeof e,a="string"===i||Array.isArray(e);return y(e)?this.each((function(r){k(this).toggleClass(e.call(this,r,Ot(this),t),t)})):"boolean"==typeof t&&a?t?this.addClass(e):this.removeClass(e):(r=Mt(e),this.each((function(){if(a)for(s=k(this),o=0;o-1)return!0;return!1}});var Ct=/\r/g;k.fn.extend({val:function(e){var t,r,n,o=this[0];return arguments.length?(n=y(e),this.each((function(r){var o;1===this.nodeType&&(null==(o=n?e.call(this,r,k(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=k.map(o,(function(e){return null==e?"":e+""}))),(t=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=k.valHooks[o.type]||k.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(r=t.get(o,"value"))?r:"string"==typeof(r=o.value)?r.replace(Ct,""):null==r?"":r:void 0}}),k.extend({valHooks:{option:{get:function(e){var t=k.find.attr(e,"value");return null!=t?t:kt(k.text(e))}},select:{get:function(e){var t,r,n,o=e.options,s=e.selectedIndex,i="select-one"===e.type,a=i?null:[],l=i?s+1:o.length;for(n=s<0?l:i?s:0;n-1)&&(r=!0);return r||(e.selectedIndex=-1),s}}}}),k.each(["radio","checkbox"],(function(){k.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=k.inArray(k(e).val(),t)>-1}},g.checkOn||(k.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var Lt=n.location,jt={guid:Date.now()},Tt=/\?/;k.parseXML=function(e){var t,r;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){}return r=t&&t.getElementsByTagName("parsererror")[0],t&&!r||k.error("Invalid XML: "+(r?k.map(r.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Nt=/^(?:focusinfocus|focusoutblur)$/,Pt=function(e){e.stopPropagation()};k.extend(k.event,{trigger:function(e,t,r,o){var s,i,a,l,c,u,p,d,h=[r||v],m=f.call(e,"type")?e.type:e,g=f.call(e,"namespace")?e.namespace.split("."):[];if(i=d=a=r=r||v,3!==r.nodeType&&8!==r.nodeType&&!Nt.test(m+k.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[k.expando]?e:new k.Event(m,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:k.makeArray(t,[e]),p=k.event.special[m]||{},o||!p.trigger||!1!==p.trigger.apply(r,t))){if(!o&&!p.noBubble&&!b(r)){for(l=p.delegateType||m,Nt.test(l+m)||(i=i.parentNode);i;i=i.parentNode)h.push(i),a=i;a===(r.ownerDocument||v)&&h.push(a.defaultView||a.parentWindow||n)}for(s=0;(i=h[s++])&&!e.isPropagationStopped();)d=i,e.type=s>1?l:p.bindType||m,(u=(ae.get(i,"events")||Object.create(null))[e.type]&&ae.get(i,"handle"))&&u.apply(i,t),(u=c&&i[c])&&u.apply&&se(i)&&(e.result=u.apply(i,t),!1===e.result&&e.preventDefault());return e.type=m,o||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(h.pop(),t)||!se(r)||c&&y(r[m])&&!b(r)&&((a=r[c])&&(r[c]=null),k.event.triggered=m,e.isPropagationStopped()&&d.addEventListener(m,Pt),r[m](),e.isPropagationStopped()&&d.removeEventListener(m,Pt),k.event.triggered=void 0,a&&(r[c]=a)),e.result}},simulate:function(e,t,r){var n=k.extend(new k.Event,r,{type:e,isSimulated:!0});k.event.trigger(n,null,t)}}),k.fn.extend({trigger:function(e,t){return this.each((function(){k.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var r=this[0];if(r)return k.event.trigger(e,t,r,!0)}});var Dt=/\[\]$/,It=/\r?\n/g,Rt=/^(?:submit|button|image|reset|file)$/i,zt=/^(?:input|select|textarea|keygen)/i;function Wt(e,t,r,n){var o;if(Array.isArray(t))k.each(t,(function(t,o){r||Dt.test(e)?n(e,o):Wt(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,r,n)}));else if(r||"object"!==S(t))n(e,t);else for(o in t)Wt(e+"["+o+"]",t[o],r,n)}k.param=function(e,t){var r,n=[],o=function(e,t){var r=y(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==r?"":r)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!k.isPlainObject(e))k.each(e,(function(){o(this.name,this.value)}));else for(r in e)Wt(r,e[r],t,o);return n.join("&")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=k.prop(this,"elements");return e?k.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!k(this).is(":disabled")&&zt.test(this.nodeName)&&!Rt.test(e)&&(this.checked||!ke.test(e))})).map((function(e,t){var r=k(this).val();return null==r?null:Array.isArray(r)?k.map(r,(function(e){return{name:t.name,value:e.replace(It,"\r\n")}})):{name:t.name,value:r.replace(It,"\r\n")}})).get()}});var Zt=/%20/g,Yt=/#.*$/,Gt=/([?&])_=[^&]*/,Ft=/^(.*?):[ \t]*([^\r\n]*)$/gm,Bt=/^(?:GET|HEAD)$/,qt=/^\/\//,Jt={},Ut={},Ht="*/".concat("*"),Vt=v.createElement("a");function Xt(e){return function(t,r){"string"!=typeof t&&(r=t,t="*");var n,o=0,s=t.toLowerCase().match(H)||[];if(y(r))for(;n=s[o++];)"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(r)):(e[n]=e[n]||[]).push(r)}}function Kt(e,t,r,n){var o={},s=e===Ut;function i(a){var l;return o[a]=!0,k.each(e[a]||[],(function(e,a){var c=a(t,r,n);return"string"!=typeof c||s||o[c]?s?!(l=c):void 0:(t.dataTypes.unshift(c),i(c),!1)})),l}return i(t.dataTypes[0])||!o["*"]&&i("*")}function Qt(e,t){var r,n,o=k.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((o[r]?e:n||(n={}))[r]=t[r]);return n&&k.extend(!0,e,n),e}Vt.href=Lt.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Lt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Lt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ht,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":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Qt(Qt(e,k.ajaxSettings),t):Qt(k.ajaxSettings,e)},ajaxPrefilter:Xt(Jt),ajaxTransport:Xt(Ut),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,o,s,i,a,l,c,u,p,d,f=k.ajaxSetup({},t),h=f.context||f,m=f.context&&(h.nodeType||h.jquery)?k(h):k.event,g=k.Deferred(),y=k.Callbacks("once memory"),b=f.statusCode||{},w={},x={},S="canceled",A={readyState:0,getResponseHeader:function(e){var t;if(c){if(!i)for(i={};t=Ft.exec(s);)i[t[1].toLowerCase()+" "]=(i[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=i[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?s:null},setRequestHeader:function(e,t){return null==c&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==c&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)A.always(e[A.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||S;return r&&r.abort(t),E(0,t),this}};if(g.promise(A),f.url=((e||f.url||Lt.href)+"").replace(qt,Lt.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(H)||[""],null==f.crossDomain){l=v.createElement("a");try{l.href=f.url,l.href=l.href,f.crossDomain=Vt.protocol+"//"+Vt.host!=l.protocol+"//"+l.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=k.param(f.data,f.traditional)),Kt(Jt,f,t,A),c)return A;for(p in(u=k.event&&f.global)&&0==k.active++&&k.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Bt.test(f.type),o=f.url.replace(Yt,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Zt,"+")):(d=f.url.slice(o.length),f.data&&(f.processData||"string"==typeof f.data)&&(o+=(Tt.test(o)?"&":"?")+f.data,delete f.data),!1===f.cache&&(o=o.replace(Gt,"$1"),d=(Tt.test(o)?"&":"?")+"_="+jt.guid+++d),f.url=o+d),f.ifModified&&(k.lastModified[o]&&A.setRequestHeader("If-Modified-Since",k.lastModified[o]),k.etag[o]&&A.setRequestHeader("If-None-Match",k.etag[o])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&A.setRequestHeader("Content-Type",f.contentType),A.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Ht+"; q=0.01":""):f.accepts["*"]),f.headers)A.setRequestHeader(p,f.headers[p]);if(f.beforeSend&&(!1===f.beforeSend.call(h,A,f)||c))return A.abort();if(S="abort",y.add(f.complete),A.done(f.success),A.fail(f.error),r=Kt(Ut,f,t,A)){if(A.readyState=1,u&&m.trigger("ajaxSend",[A,f]),c)return A;f.async&&f.timeout>0&&(a=n.setTimeout((function(){A.abort("timeout")}),f.timeout));try{c=!1,r.send(w,E)}catch(e){if(c)throw e;E(-1,e)}}else E(-1,"No Transport");function E(e,t,i,l){var p,d,v,w,x,S=t;c||(c=!0,a&&n.clearTimeout(a),r=void 0,s=l||"",A.readyState=e>0?4:0,p=e>=200&&e<300||304===e,i&&(w=function(e,t,r){for(var n,o,s,i,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(o in a)if(a[o]&&a[o].test(n)){l.unshift(o);break}if(l[0]in r)s=l[0];else{for(o in r){if(!l[0]||e.converters[o+" "+l[0]]){s=o;break}i||(i=o)}s=s||i}if(s)return s!==l[0]&&l.unshift(s),r[s]}(f,A,i)),!p&&k.inArray("script",f.dataTypes)>-1&&k.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),w=function(e,t,r,n){var o,s,i,a,l,c={},u=e.dataTypes.slice();if(u[1])for(i in e.converters)c[i.toLowerCase()]=e.converters[i];for(s=u.shift();s;)if(e.responseFields[s]&&(r[e.responseFields[s]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=s,s=u.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(!(i=c[l+" "+s]||c["* "+s]))for(o in c)if((a=o.split(" "))[1]===s&&(i=c[l+" "+a[0]]||c["* "+a[0]])){!0===i?i=c[o]:!0!==c[o]&&(s=a[0],u.unshift(a[1]));break}if(!0!==i)if(i&&e.throws)t=i(t);else try{t=i(t)}catch(e){return{state:"parsererror",error:i?e:"No conversion from "+l+" to "+s}}}return{state:"success",data:t}}(f,w,A,p),p?(f.ifModified&&((x=A.getResponseHeader("Last-Modified"))&&(k.lastModified[o]=x),(x=A.getResponseHeader("etag"))&&(k.etag[o]=x)),204===e||"HEAD"===f.type?S="nocontent":304===e?S="notmodified":(S=w.state,d=w.data,p=!(v=w.error))):(v=S,!e&&S||(S="error",e<0&&(e=0))),A.status=e,A.statusText=(t||S)+"",p?g.resolveWith(h,[d,S,A]):g.rejectWith(h,[A,S,v]),A.statusCode(b),b=void 0,u&&m.trigger(p?"ajaxSuccess":"ajaxError",[A,f,p?d:v]),y.fireWith(h,[A,S]),u&&(m.trigger("ajaxComplete",[A,f]),--k.active||k.event.trigger("ajaxStop")))}return A},getJSON:function(e,t,r){return k.get(e,t,r,"json")},getScript:function(e,t){return k.get(e,void 0,t,"script")}}),k.each(["get","post"],(function(e,t){k[t]=function(e,r,n,o){return y(r)&&(o=o||n,n=r,r=void 0),k.ajax(k.extend({url:e,type:t,dataType:o,data:r,success:n},k.isPlainObject(e)&&e))}})),k.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),k._evalUrl=function(e,t,r){return k.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){k.globalEval(e,t,r)}})},k.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=k(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 y(e)?this.each((function(t){k(this).wrapInner(e.call(this,t))})):this.each((function(){var t=k(this),r=t.contents();r.length?r.wrapAll(e):t.append(e)}))},wrap:function(e){var t=y(e);return this.each((function(r){k(this).wrapAll(t?e.call(this,r):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){k(this).replaceWith(this.childNodes)})),this}}),k.expr.pseudos.hidden=function(e){return!k.expr.pseudos.visible(e)},k.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var $t={0:200,1223:204},_t=k.ajaxSettings.xhr();g.cors=!!_t&&"withCredentials"in _t,g.ajax=_t=!!_t,k.ajaxTransport((function(e){var t,r;if(g.cors||_t&&!e.crossDomain)return{send:function(o,s){var i,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(i in e.xhrFields)a[i]=e.xhrFields[i];for(i in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)a.setRequestHeader(i,o[i]);t=function(e){return function(){t&&(t=r=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?s(0,"error"):s(a.status,a.statusText):s($t[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),r=a.onerror=a.ontimeout=t("error"),void 0!==a.onabort?a.onabort=r:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout((function(){t&&r()}))},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),k.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),k.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 k.globalEval(e),e}}}),k.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),k.ajaxTransport("script",(function(e){var t,r;if(e.crossDomain||e.scriptAttrs)return{send:function(n,o){t=k("