From ba598bafe1b912b613bfcb529bef81f1425b6ec4 Mon Sep 17 00:00:00 2001 From: Licoy Date: Fri, 27 Jan 2023 17:21:42 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E4=BC=98=E5=8C=96=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E4=B8=AD=E5=BF=83=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/dist/js/libs.min.js | 6 +++--- assets/dist/style/screen.min.css | 2 +- assets/dist/style/style.min.css | 2 +- assets/style/screen.less | 18 ++++++++++++++++++ assets/style/style.less | 27 ++++++++++++++++++++++----- inc/page/user-center.php | 12 +++--------- 6 files changed, 48 insertions(+), 19 deletions(-) diff --git a/assets/dist/js/libs.min.js b/assets/dist/js/libs.min.js index 4f62054a..0d8f3c95 100644 --- a/assets/dist/js/libs.min.js +++ b/assets/dist/js/libs.min.js @@ -17,11 +17,11 @@ a=-1===(a=(s=e.getAttribute("data-background-image-set").split(a))[0].substr(0,s (c) 2006-2021 Ivan Sagalaev and other contributors License: BSD-3-Clause */ -var hljs=function(){"use strict";var e={exports:{}};function i(t){return t instanceof Map?t.clear=t.delete=t.set=()=>{throw Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=()=>{throw Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(e=>{e=t[e];"object"!=typeof e||Object.isFrozen(e)||i(e)}),t}e.exports=i,e.exports.default=i;var p=e.exports;class O{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function t(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function l(e,...t){const i=Object.create(null);for(const t in e)i[t]=e[t];return t.forEach(e=>{for(const t in e)i[t]=e[t]}),i}const n=e=>!!e.kind;class s{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=t(e)}openNode(t){if(n(t)){let e=t.kind;e=t.sublanguage?"language-"+e:((e,{prefix:t})=>{if(e.includes(".")){const i=e.split(".");return[""+t+i.shift(),...i.map((e,t)=>""+e+"_".repeat(t+1))].join(" ")}return""+t+e})(e,{prefix:this.classPrefix}),this.span(e)}}closeNode(e){n(e)&&(this.buffer+="")}value(){return this.buffer}span(e){this.buffer+=``}}class a{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){e={kind:e,children:[]};this.add(e),this.stack.push(e)}closeNode(){if(1this._walk(t,e)),t.closeNode(e)),t}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every(e=>"string"==typeof e)?e.children=[e.children.join("")]:e.children.forEach(e=>{a._collapse(e)}))}}class h extends a{constructor(e){super(),this.options=e}addKeyword(e,t){""!==e&&(this.openNode(t),this.addText(e),this.closeNode())}addText(e){""!==e&&this.add(e)}addSublanguage(e,t){const i=e.root;i.kind=t,i.sublanguage=!0,this.add(i)}toHTML(){return new s(this,this.options).value()}finalize(){return!0}}function c(e){return e?"string"==typeof e?e:e.source:null}function A(e){return L("(?=",e,")")}function f(e){return L("(?:",e,")?")}function L(...e){return e.map(e=>c(e)).join("")}function I(...e){return"("+(("object"==typeof(i=(t=e)[t.length-1])&&i.constructor===Object?(t.splice(t.length-1,1),i):{}).capture?"":"?:")+e.map(e=>c(e)).join("|")+")";var t,i}function d(e){return RegExp(e.toString()+"|").exec("").length-1}const r=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function u(e,{joinWith:t}){let s=0;return e.map(e=>{s+=1;var t=s;let i=c(e),n="";for(;0`(${e})`).join(t)}const o="[a-zA-Z]\\w*",m="[a-zA-Z_]\\w*",g="\\b\\d+(\\.\\d+)?",b="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",v="\\b(0b[01]+)",y={begin:"\\\\[\\s\\S]",relevance:0},w={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[y]},_={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[y]},E=(e,t,i={})=>{const n=l({scope:"comment",begin:e,end:t,contains:[]},i);n.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});i=I("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return n.contains.push({begin:L(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),n},x=E("//","$"),T=E("/\\*","\\*/"),C=E("#","$");var D=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:o,UNDERSCORE_IDENT_RE:m,NUMBER_RE:g,C_NUMBER_RE:b,BINARY_NUMBER_RE:v,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{var t=/^#![ ]*\//;return e.binary&&(e.begin=L(t,/.*\b/,e.binary,/\b.*/)),l({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},BACKSLASH_ESCAPE:y,APOS_STRING_MODE:w,QUOTE_STRING_MODE:_,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT:E,C_LINE_COMMENT_MODE:x,C_BLOCK_COMMENT_MODE:T,HASH_COMMENT_MODE:C,NUMBER_MODE:{scope:"number",begin:g,relevance:0},C_NUMBER_MODE:{scope:"number",begin:b,relevance:0},BINARY_NUMBER_MODE:{scope:"number",begin:v,relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[y,{begin:/\[/,end:/\]/,relevance:0,contains:[y]}]}]},TITLE_MODE:{scope:"title",begin:o,relevance:0},UNDERSCORE_TITLE_MODE:{scope:"title",begin:m,relevance:0},METHOD_GUARD:{begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0},END_SAME_AS_BEGIN:e=>Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})});function S(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}const k=(t,e)=>{if(t.beforeMatch){if(t.starts)throw Error("beforeMatch cannot be used with starts");const i=Object.assign({},t);Object.keys(t).forEach(e=>{delete t[e]}),t.keywords=i.keywords,t.begin=L(i.beforeMatch,A(i.begin)),t.starts={relevance:0,contains:[Object.assign(i,{endsParent:!0})]},t.relevance=0,delete i.beforeMatch}},M=["of","and","for","in","not","or","if","then","parent","list","value"];function N(t,n,e="keyword"){const s=Object.create(null);return"string"==typeof t?i(e,t.split(" ")):Array.isArray(t)?i(e,t):Object.keys(t).forEach(e=>{Object.assign(s,N(t[e],n,e))}),s;function i(i,e){(e=n?e.map(e=>e.toLowerCase()):e).forEach(e=>{var t=e.split("|");s[t[0]]=[i,(e=t[0],(t=t[1])?Number(t):(e=>M.includes(e.toLowerCase()))(e)?0:1)]})}}const $={},P=e=>{console.error(e)},z=(e,...t)=>{console.log("WARN: "+e,...t)},R=(e,t)=>{$[e+"/"+t]||(console.log(`Deprecated as of ${e}. `+t),$[e+"/"+t]=!0)},B=Error();function j(e,t,{key:i}){let n=0;const s=e[i],a={},r={};for(let e=1;e<=t.length;e++)r[e+n]=s[e],a[e+n]=!0,n+=d(t[e-1]);e[i]=r,e[i]._emit=a,e[i]._multi=!0}function F(e){var t;(t=e).scope&&"object"==typeof t.scope&&null!==t.scope&&(t.beginScope=t.scope,delete t.scope),"string"==typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope}),(e=>{if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw P("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),B;if("object"!=typeof e.beginScope||null===e.beginScope)throw P("beginScope must be object"),B;j(e,e.begin,{key:"beginScope"}),e.begin=u(e.begin,{joinWith:""})}})(e),(e=>{if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw P("skip, excludeEnd, returnEnd not compatible with endScope: {}"),B;if("object"!=typeof e.endScope||null===e.endScope)throw P("endScope must be object"),B;j(e,e.end,{key:"endScope"}),e.end=u(e.end,{joinWith:""})}})(e)}function H(a){function r(e,t){return RegExp(c(e),"m"+(a.case_insensitive?"i":"")+(t?"g":""))}class t{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=d(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);var e=this.regexes.map(e=>e[1]);this.matcherRe=r(u(e,{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;var i=t.findIndex((e,t)=>0i.addRule(e,t)),i.compile(),this.multiRegexes[e]=i,i}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let i=t.exec(e);if(this.resumingScanAtSamePosition()&&(!i||i.index!==this.lastIndex)){const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,i=t.exec(e)}return i&&(this.regexIndex+=i.position+1,this.regexIndex===this.count&&this.considerAll()),i}}if(a.compilerExtensions||(a.compilerExtensions=[]),a.contains&&a.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return a.classNameAliases=l(a.classNameAliases||{}),function t(i,n){const s=i;if(i.isCompiled)return s;[function(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)},function(e,t){if(e.match){if(e.begin||e.end)throw Error("begin & end are not supported with match");e.begin=e.match,delete e.match}},F,k].forEach(e=>e(i,n)),a.compilerExtensions.forEach(e=>e(i,n)),i.__beforeBegin=null,[function(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=S,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))},function(e,t){Array.isArray(e.illegal)&&(e.illegal=I(...e.illegal))},function(e,t){void 0===e.relevance&&(e.relevance=1)}].forEach(e=>e(i,n)),i.isCompiled=!0;let e=null;return"object"==typeof i.keywords&&i.keywords.$pattern&&(i.keywords=Object.assign({},i.keywords),e=i.keywords.$pattern,delete i.keywords.$pattern),e=e||/\w+/,i.keywords&&(i.keywords=N(i.keywords,a.case_insensitive)),s.keywordPatternRe=r(e,!0),n&&(i.begin||(i.begin=/\B|\b/),s.beginRe=r(i.begin),i.end||i.endsWithParent||(i.end=/\B|\b/),i.end&&(s.endRe=r(i.end)),s.terminatorEnd=c(i.end)||"",i.endsWithParent&&n.terminatorEnd&&(s.terminatorEnd+=(i.end?"|":"")+n.terminatorEnd)),i.illegal&&(s.illegalRe=r(i.illegal)),i.contains||(i.contains=[]),i.contains=[].concat(...i.contains.map(e=>(t=>(t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(e=>l(t,{variants:null},e))),t.cachedVariants||(function e(t){return!!t&&(t.endsWithParent||e(t.starts))}(t)?l(t,{starts:t.starts?l(t.starts):null}):Object.isFrozen(t)?l(t):t)))("self"===e?i:e))),i.contains.forEach(e=>{t(e,s)}),i.starts&&t(i.starts,n),s.matcher=(e=>{const t=new o;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:"begin"})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t})(s),s}(a)}const q=t,W=l,U=Symbol("nomatch");var G=(n=>{const x=Object.create(null),s=Object.create(null),a=[];let T=!0;const C="Could not find the language '{}', did you forget to load/include a language module?",l={disableAutodetect:!0,name:"Plain text",contains:[]};let S={ignoreUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:h};function r(e){return S.noHighlightRe.test(e)}function o(e,t,i){let n="",s="";"object"==typeof t?(n=e,i=t.ignoreIllegals,s=t.language):(R("10.7.0","highlight(lang, code, ...args) has been deprecated."),R("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),s=e,n=t),void 0===i&&(i=!0);t={code:n,language:s};u("before:highlight",t);const a=t.result||k(t.language,t.code,i);return a.code=t.code,u("after:highlight",a),a}function k(n,s,a,e){const r=Object.create(null);function o(){if(!f.keywords)return b.addText(v),0;let e=0;f.keywordPatternRe.lastIndex=0;let t=f.keywordPatternRe.exec(v),i="";for(;t;){i+=v.substring(e,t.index);var n=h.case_insensitive?t[0].toLowerCase():t[0],s=(s=n,f.keywords[s]);if(s){const[e,a]=s;if(b.addText(i),i="",r[n]=(r[n]||0)+1,r[n]<=7&&(y+=a),e.startsWith("_"))i+=t[0];else{const i=h.classNameAliases[e]||e;b.addKeyword(t[0],i)}}else i+=t[0];e=f.keywordPatternRe.lastIndex,t=f.keywordPatternRe.exec(v)}var s;i+=v.substr(e),b.addText(i)}function l(){(null!=f.subLanguage?()=>{if(""!==v){let e=null;if("string"==typeof f.subLanguage){if(!x[f.subLanguage])return void b.addText(v);e=k(f.subLanguage,v,!0,g[f.subLanguage]),g[f.subLanguage]=e._top}else e=M(v,f.subLanguage.length?f.subLanguage:null);0(e=e&&e.exec(n))&&0===e.index)(t.endRe);if(s){if(t["on:end"]){const n=new O(t);t["on:end"](i,n),n.isMatchIgnored&&(s=!1)}if(s){for(;t.endsParent&&t.parent;)t=t.parent;return t}}if(t.endsWithParent)return e(t.parent,i,n)}(f,e,i);if(!n)return U;i=f;for(f.endScope&&f.endScope._wrap?(l(),b.addKeyword(t,f.endScope._wrap)):f.endScope&&f.endScope._multi?(l(),c(f.endScope,e)):i.skip?v+=t:(i.returnEnd||i.excludeEnd||(v+=t),l(),i.excludeEnd&&(v=t));f.scope&&b.closeNode(),f.skip||f.subLanguage||(y+=f.relevance),f=f.parent,f!==n.parent;);return n.starts&&d(n.starts,e),i.returnEnd?0:t.length}let p={};function t(e,t){var i=t&&t[0];if(v+=e,null==i)return l(),0;if("begin"===p.type&&"end"===t.type&&p.index===t.index&&""===i){if(v+=s.slice(t.index,t.index+1),T)return 1;{const e=Error(`0 width match regex (${n})`);throw e.languageName=n,e.badRule=p.rule,e}}if("begin"===(p=t).type)return(e=>{const t=e[0],i=e.rule,n=new O(i),s=[i.__beforeBegin,i["on:begin"]];for(const i of s)if(i&&(i(e,n),n.isMatchIgnored))return a=t,0===f.matcher.regexIndex?(v+=a[0],1):(E=!0,0);var a;return i.skip?v+=t:(i.excludeBegin&&(v+=t),l(),i.returnBegin||i.excludeBegin||(v=t)),d(i,e),i.returnBegin?0:t.length})(t);if("illegal"===t.type&&!a){const n=Error('Illegal lexeme "'+i+'" for mode "'+(f.scope||"")+'"');throw n.mode=f,n}if("end"===t.type){const n=u(t);if(n!==U)return n}if("illegal"===t.type&&""===i)return 1;if(1e5<_&&_>3*t.index)throw Error("potential infinite loop, way more iterations than matches");return v+=i,i.length}const h=N(n);if(!h)throw P(C.replace("{}",n)),Error('Unknown language: "'+n+'"');var i=H(h);let m="",f=e||i;const g={},b=new S.__emitter(S);(()=>{const t=[];for(let e=f;e!==h;e=e.parent)e.scope&&t.unshift(e.scope);t.forEach(e=>b.openNode(e))})();let v="",y=0,w=0,_=0,E=!1;try{for(f.matcher.considerAll();;){_++,E?E=!1:f.matcher.considerAll(),f.matcher.lastIndex=w;const n=f.matcher.exec(s);if(!n)break;const x=t(s.substring(w,n.index),n);w=n.index+x}return t(s.substr(w)),b.closeAllNodes(),b.finalize(),m=b.toHTML(),{language:n,value:m,relevance:y,illegal:!1,_emitter:b,_top:f}}catch(e){if(e.message&&e.message.includes("Illegal"))return{language:n,value:q(s),illegal:!0,relevance:0,_illegalBy:{message:e.message,index:w,context:s.slice(w-100,w+100),mode:e.mode,resultSoFar:m},_emitter:b};if(T)return{language:n,value:q(s),illegal:!1,relevance:0,errorRaised:e,_emitter:b,_top:f};throw e}}function M(t,e){e=e||S.languages||Object.keys(x);const i=(e=>{const t={value:q(e),illegal:!1,relevance:0,_top:l,_emitter:new S.__emitter(S)};return t._emitter.addText(e),t})(t),n=e.filter(N).filter(d).map(e=>k(e,t,!1));n.unshift(i);const s=n.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(N(e.language).supersetOf===t.language)return 1;if(N(t.language).supersetOf===e.language)return-1}return 0}),[a,r]=s,o=a;return o.secondBest=r,o}function t(e){var t,i,n=(e=>{let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";var i=S.languageDetectRe.exec(t);if(i){const t=N(i[1]);return t||(z(C.replace("{}",i[1])),z("Falling back to no-highlight mode for this block.",e)),t?i[1]:"no-highlight"}return t.split(/\s+/).find(e=>r(e)||N(e))})(e);r(n)||(u("before:highlightElement",{el:e,language:n}),!S.ignoreUnescapedHTML&&0{i=t&&s[t]||i;e.classList.add("hljs"),e.classList.add("language-"+i)})(e,n,i.language),e.result={language:i.language,re:i.relevance,relevance:i.relevance},i.secondBest&&(e.secondBest={language:i.secondBest.language,relevance:i.secondBest.relevance}),u("after:highlightElement",{el:e,result:i,text:t}))}let e=!1;function i(){"loading"!==document.readyState?document.querySelectorAll(S.cssSelector).forEach(t):e=!0}function N(e){return e=(e||"").toLowerCase(),x[e]||x[s[e]]}function c(e,{languageName:t}){(e="string"==typeof e?[e]:e).forEach(e=>{s[e.toLowerCase()]=t})}function d(e){e=N(e);return e&&!e.disableAutodetect}function u(e,t){const i=e;a.forEach(e=>{e[i]&&e[i](t)})}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",()=>{e&&i()},!1),Object.assign(n,{highlight:o,highlightAuto:M,highlightAll:i,highlightElement:t,highlightBlock:e=>(R("10.7.0","highlightBlock will be removed entirely in v12.0"),R("10.7.0","Please use highlightElement now."),t(e)),configure:e=>{S=W(S,e)},initHighlighting:()=>{i(),R("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:()=>{i(),R("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:(t,e)=>{let i=null;try{i=e(n)}catch(e){if(P("Language definition for '{}' could not be registered.".replace("{}",t)),!T)throw e;P(e),i=l}i.name||(i.name=t),x[t]=i,i.rawDefinition=e.bind(null,n),i.aliases&&c(i.aliases,{languageName:t})},unregisterLanguage:e=>{delete x[e];for(const x of Object.keys(s))s[x]===e&&delete s[x]},listLanguages:()=>Object.keys(x),getLanguage:N,registerAliases:c,autoDetection:d,inherit:W,addPlugin:e=>{var t;(t=e)["before:highlightBlock"]&&!t["before:highlightElement"]&&(t["before:highlightElement"]=e=>{t["before:highlightBlock"](Object.assign({block:e.el},e))}),t["after:highlightBlock"]&&!t["after:highlightElement"]&&(t["after:highlightElement"]=e=>{t["after:highlightBlock"](Object.assign({block:e.el},e))}),a.push(e)}}),n.debugMode=()=>{T=!1},n.safeMode=()=>{T=!0},n.versionString="11.2.0";for(const n in D)"object"==typeof D[n]&&p(D[n]);return Object.assign(n,D),n})({});const X=e=>({IMPORTANT:{scope:"meta",begin:"!important"},HEXCOLOR:{scope:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),Y=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],K=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],V=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],Z=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],Q=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse(),J=V.concat(Z);var ee="\\.([0-9](_*[0-9])*)",e="[0-9a-fA-F](_*[0-9a-fA-F])*",te={className:"number",variants:[{begin:`(\\b([0-9](_*[0-9])*)((${ee})|\\.)?|(${ee}))[eE][+-]?([0-9](_*[0-9])*)[fFdD]?\\b`},{begin:`\\b([0-9](_*[0-9])*)((${ee})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${ee})[fFdD]?\\b`},{begin:"\\b([0-9](_*[0-9])*)[fFdD]\\b"},{begin:`\\b0[xX]((${e})\\.?|(${e})?\\.(${e}))[pP][+-]?([0-9](_*[0-9])*)[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${e})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};const ie="[A-Za-z$_][0-9A-Za-z$_]*",ne=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],se=["true","false","null","undefined","NaN","Infinity"],ae=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],re=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],oe=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],le=["arguments","this","super","console","window","document","localStorage","module","global"],ce=[].concat(oe,ae,re);function de(e){const t=ie,i=/<[A-Za-z0-9\\._:-]+/,n=/\/[A-Za-z0-9\\._:-]+>|\/>/,s=(e,t)=>{var i=e[0].length+e.index,n=e.input[i];"<"!==n?">"===n&&([n,e]=[e,{after:i}["after"]],i="",C={match:[/const|var|let/,/\s+/,t,/\s*/,/=\s*/,A(T)],className:{1:"keyword",3:"title.function"},contains:[b]};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:g},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,u,p,h,l,y,{className:"attr",begin:t+A(":"),relevance:0},C,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[h,e.REGEXP_MODE,{className:"function",begin:T,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:g}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{begin:i,"on:begin":s,end:n}],subLanguage:"xml",contains:[{begin:i,end:n,skip:!0,contains:["self"]}]}]},w,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[b,e.inherit(e.TITLE_MODE,{begin:t,className:"title.function"})]},{match:/\.\.\./,relevance:0},E,{match:"\\$"+t,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[b]},_,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},v,x,{match:/\$[(.]/}]}}const ue=e=>L(/\b/,e,/\w$/.test(e)?/\b/:/\B/),pe=["Protocol","Type"].map(ue),he=["init","self"].map(ue),me=["Any","Self"],fe=["actor","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],ge=["false","nil","true"],be=["assignment","associativity","higherThan","left","lowerThan","none","right"],ve=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],ye=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],we=I(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),_e=I(we,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),Ee=L(we,_e,"*"),xe=I(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),Te=I(xe,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),Ce=L(xe,Te,"*"),Se=L(/[A-Z]/,Te,"*"),ke=["autoclosure",L(/convention\(/,I("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",L(/objc\(/,Ce,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],Me=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];var Ne=Object.freeze({__proto__:null,grmr_bash:e=>{var t={},i={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[t]}]};Object.assign(t,{className:"variable",variants:[{begin:L(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},i]});const n={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},s={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},a={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t,n]};n.contains.push(a);var r={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,t]},o=e.SHEBANG({binary:"(fish|bash|zsh|sh|csh|ksh|tcsh|dash|scsh)",relevance:10}),i={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:["if","then","else","elif","fi","for","while","in","do","done","case","esac","function"],literal:["true","false"],built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[o,e.SHEBANG(),i,r,e.HASH_COMMENT_MODE,s,a,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},t]}},grmr_c:e=>{const t=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="[a-zA-Z_]\\w*::",n="(decltype\\(auto\\)|"+f(i)+"[a-zA-Z_]\\w*"+f("<[^<>]+>")+")",s={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},a={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},r={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},o={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(a,{className:"string"}),{className:"string",begin:/<.*?>/},t,e.C_BLOCK_COMMENT_MODE]},l={className:"title",begin:f(i)+e.IDENT_RE,relevance:0},c=f(i)+e.IDENT_RE+"\\s*\\(",d={keyword:["asm","auto","break","case","const","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","static","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},u=[o,s,t,e.C_BLOCK_COMMENT_MODE,r,a],p={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:d,contains:u.concat([{begin:/\(/,end:/\)/,keywords:d,contains:u.concat(["self"]),relevance:0}]),relevance:0},h={begin:"("+n+"[\\*&\\s]+)+"+c,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:d,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:"decltype\\(auto\\)",keywords:d,relevance:0},{begin:c,returnBegin:!0,contains:[e.inherit(l,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:d,relevance:0,contains:[t,e.C_BLOCK_COMMENT_MODE,a,r,s,{begin:/\(/,end:/\)/,keywords:d,relevance:0,contains:["self",t,e.C_BLOCK_COMMENT_MODE,a,r,s]}]},s,t,e.C_BLOCK_COMMENT_MODE,o]};return{name:"C",aliases:["h"],keywords:d,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:o,strings:a,keywords:d}}},grmr_cpp:e=>{const t=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="[a-zA-Z_]\\w*::",n="(?!struct)(decltype\\(auto\\)|"+f(i)+"[a-zA-Z_]\\w*"+f("<[^<>]+>")+")",s={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},a={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},r={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},o={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(a,{className:"string"}),{className:"string",begin:/<.*?>/},t,e.C_BLOCK_COMMENT_MODE]},l={className:"title",begin:f(i)+e.IDENT_RE,relevance:0},c=f(i)+e.IDENT_RE+"\\s*\\(",d={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","signed","sizeof","static","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","unsigned","using","virtual","volatile","while","xor","xor_eq,"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},u={className:"function.dispatch",relevance:0,keywords:{_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:L(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!while)/,e.IDENT_RE,A(/(<[^<>]+>|)\s*\(/))},p=[u,o,s,t,e.C_BLOCK_COMMENT_MODE,r,a],h={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:d,contains:p.concat([{begin:/\(/,end:/\)/,keywords:d,contains:p.concat(["self"]),relevance:0}]),relevance:0},m={className:"function",begin:"("+n+"[\\*&\\s]+)+"+c,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:d,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:"decltype\\(auto\\)",keywords:d,relevance:0},{begin:c,returnBegin:!0,contains:[l],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[a,r]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:d,relevance:0,contains:[t,e.C_BLOCK_COMMENT_MODE,a,r,s,{begin:/\(/,end:/\)/,keywords:d,relevance:0,contains:["self",t,e.C_BLOCK_COMMENT_MODE,a,r,s]}]},s,t,e.C_BLOCK_COMMENT_MODE,o]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:d,illegal:"",keywords:d,contains:["self",s]},{begin:e.IDENT_RE+"::",keywords:d},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}},grmr_csharp:e=>{const t={keyword:["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"]),built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],literal:["default","false","null","true"]},i=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),n={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},s={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},a=e.inherit(s,{illegal:/\n/}),r={className:"subst",begin:/\{/,end:/\}/,keywords:t},o=e.inherit(r,{illegal:/\n/}),l={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,o]},c={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},r]},d=e.inherit(c,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},o]});r.contains=[c,l,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,n,e.C_BLOCK_COMMENT_MODE],o.contains=[d,l,a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,n,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];var u={variants:[c,l,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},p={begin:"<",end:">",contains:[{beginKeywords:"in out"},i]},h=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",m={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:t,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},u,n,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},i,p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[i,p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+h+"\\s+)+"+e.IDENT_RE+"\\s*(<.+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:t,contains:[{beginKeywords:"public private protected static internal protected abstract async extern override unsafe virtual new sealed partial",relevance:0},{begin:e.IDENT_RE+"\\s*(<.+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,p],relevance:0},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,relevance:0,contains:[u,n,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},m]}},grmr_css:e=>{var t=X(e),i=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[e.C_BLOCK_COMMENT_MODE,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},t.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+V.join("|")+")"},{begin:"::("+Z.join("|")+")"}]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Q.join("|")+")\\b"},{begin:":",end:"[;}]",contains:[t.HEXCOLOR,t.IMPORTANT,t.CSS_NUMBER_MODE,...i,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},{className:"built_in",begin:/[\w-]+(?=\()/}]},{begin:A(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:K.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...i,t.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+Y.join("|")+")\\b"}]}},grmr_diff:e=>({name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:I(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:I(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}),grmr_go:e=>{var t={keyword:["break","default","func","interface","select","case","map","struct","chan","else","goto","package","switch","const","fallthrough","if","range","type","continue","for","import","return","var","go","defer","bool","byte","complex64","complex128","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:t,illegal:"{const t={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},i=e.COMMENT();i.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];var n={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},s={className:"literal",begin:/\bon|off|true|false|yes|no\b/},a={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},r={begin:/\[/,end:/\]/,contains:[i,s,n,a,t,"self"],relevance:0},e=I(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[i,{className:"section",begin:/\[+/,end:/\]+/},{begin:L(e,"(\\s*\\.\\s*",e,")*",A(/\s*=\s*[^#\s]/)),className:"attr",starts:{end:/$/,contains:[i,r,s,n,a,t]}}]}},grmr_java:e=>{var t="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",i=t+function t(i,n,s){return-1===s?"":i.replace(n,e=>t(i,n,s-1))}("(?:<"+t+"~~~(?:\\s*,\\s*"+t+"~~~)*>)?",/~~~/g,2),n={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},s={className:"meta",begin:"@"+t,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},a={className:"params",begin:/\(/,end:/\)/,keywords:n,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:n,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,t],className:{1:"keyword",3:"title.class"}},{begin:[t,/\s+/,t,/\s+/,/=/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,t],className:{1:"keyword",3:"title.class"},contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+i+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:n,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:n,relevance:0,contains:[s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,te,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},te,s]}},grmr_javascript:de,grmr_json:e=>({name:"JSON",contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/,className:"punctuation",relevance:0},e.QUOTE_STRING_MODE,{beginKeywords:"true false null"},e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}),grmr_kotlin:e=>{const t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},i={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},n={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},s={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},a={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[s,n]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,s,n]}]};n.contains.push(a);const r={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},o={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(a,{className:"string"})]}]},l=te,c=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),d={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},u=d;return u.variants[1].contains=[d],d.variants[1].contains=[u],{name:"Kotlin",aliases:["kt","kts"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,c,{className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},i,r,o,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[d,e.C_LINE_COMMENT_MODE,c],relevance:0},e.C_LINE_COMMENT_MODE,c,r,o,a,e.C_NUMBER_MODE]},c]},{className:"class",beginKeywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,]|$/,excludeBegin:!0,returnEnd:!0},r,o]},a,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},l]}},grmr_less:e=>{const t=X(e),i=J,n="([\\w-]+|@\\{[\\w-]+\\})",s=[],a=[],r=e=>({className:"string",begin:"~?"+e+".*?"+e}),o=(e,t,i)=>({className:e,begin:t,relevance:i}),l={$pattern:/[a-z-]+/,keyword:"and or not only",attribute:K.join(" ")},c={begin:"\\(",end:"\\)",contains:a,keywords:l,relevance:0};a.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r("'"),r('"'),t.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},t.HEXCOLOR,c,o("variable","@@?[\\w-]+",10),o("variable","@\\{[\\w-]+\\}"),o("built_in","~?`[^`]*?`"),{className:"attribute",begin:"[\\w-]+\\s*:",end:":",returnBegin:!0,excludeEnd:!0},t.IMPORTANT);var d=a.concat({begin:/\{/,end:/\}/,contains:s}),u={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(a)},p={begin:n+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Q.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:a}}]},h={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:l,returnEnd:!0,contains:a,relevance:0}},m={className:"variable",variants:[{begin:"@[\\w-]+\\s*:",relevance:15},{begin:"@[\\w-]+"}],starts:{end:"[;}]",returnEnd:!0,contains:d}},u={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:n,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,u,o("keyword","all\\b"),o("variable","@\\{[\\w-]+\\}"),{begin:"\\b("+Y.join("|")+")\\b",className:"selector-tag"},o("selector-tag",n+"%?",0),o("selector-id","#"+n),o("selector-class","\\."+n,0),o("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+V.join("|")+")"},{className:"selector-pseudo",begin:"::("+Z.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:d},{begin:"!important"}]},d={begin:`[\\w-]+:(:)?(${i.join("|")})`,returnBegin:!0,contains:[u]};return s.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,h,m,d,p,u),{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:s}},grmr_lua:e=>{const t="\\[=*\\[",i="\\]=*\\]",n={begin:t,end:i,contains:["self"]},s=[e.COMMENT("--(?!\\[=*\\[)","$"),e.COMMENT("--\\[=*\\[",i,{contains:[n],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:s.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:s}].concat(s)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:i,contains:[n],relevance:5}])}},grmr_makefile:e=>{var t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%{var t=L(/[A-Z_]/,f(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),i={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},n={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},s=e.inherit(n,{begin:/\(/,end:/\)/}),a=e.inherit(e.APOS_STRING_MODE,{className:"string"}),r=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),o={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin://,relevance:10,contains:[n,r,a,s,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[n,s,r,a]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},i,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[o],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[o],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:L(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:t,relevance:0,starts:o}]},{className:"tag",begin:L(/<\//,A(L(t,/>/))),contains:[{className:"name",begin:t,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}},grmr_markdown:e=>{const t={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},i={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:L(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},n={className:"strong",contains:[],variants:[{begin:/_{2}/,end:/_{2}/},{begin:/\*{2}/,end:/\*{2}/}]},s={className:"emphasis",contains:[],variants:[{begin:/\*(?!\*)/,end:/\*/},{begin:/_(?!_)/,end:/_/,relevance:0}]};n.contains.push(s),s.contains.push(n);let a=[t,i];return n.contains=n.contains.concat(a),s.contains=s.contains.concat(a),a=a.concat(n,s),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:a},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:a}]}]},t,{className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},n,s,{className:"quote",begin:"^>\\s+",contains:a,end:"$"},{className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},i,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]}]}},grmr_objectivec:e=>{const t=/[a-zA-Z@][a-zA-Z0-9_]*/,i={$pattern:t,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:{$pattern:t,keyword:["int","float","while","char","export","sizeof","typedef","const","struct","for","union","unsigned","long","volatile","static","bool","mutable","if","do","return","goto","void","enum","else","break","extern","asm","case","short","default","double","register","explicit","signed","typename","this","switch","continue","wchar_t","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","super","unichar","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["BOOL","dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"]},illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+i.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:i,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}},grmr_perl:e=>{const s=/[dualxmsipngr]{0,12}/,t={$pattern:/[\w.]+/,keyword:"abs accept alarm and atan2 bind binmode bless break caller chdir chmod chomp chop chown chr chroot close closedir connect continue cos crypt dbmclose dbmopen defined delete die do dump each else elsif endgrent endhostent endnetent endprotoent endpwent endservent eof eval exec exists exit exp fcntl fileno flock for foreach fork format formline getc getgrent getgrgid getgrnam gethostbyaddr gethostbyname gethostent getlogin getnetbyaddr getnetbyname getnetent getpeername getpgrp getpriority getprotobyname getprotobynumber getprotoent getpwent getpwnam getpwuid getservbyname getservbyport getservent getsockname getsockopt given glob gmtime goto grep gt hex if index int ioctl join keys kill last lc lcfirst length link listen local localtime log lstat lt ma map mkdir msgctl msgget msgrcv msgsnd my ne next no not oct open opendir or ord our pack package pipe pop pos print printf prototype push q|0 qq quotemeta qw qx rand read readdir readline readlink readpipe recv redo ref rename require reset return reverse rewinddir rindex rmdir say scalar seek seekdir select semctl semget semop send setgrent sethostent setnetent setpgrp setpriority setprotoent setpwent setservent setsockopt shift shmctl shmget shmread shmwrite shutdown sin sleep socket socketpair sort splice split sprintf sqrt srand stat state study sub substr symlink syscall sysopen sysread sysseek system syswrite tell telldir tie tied time times tr truncate uc ucfirst umask undef unless unlink unpack unshift untie until use utime values vec wait waitpid wantarray warn when while write x|0 xor y|0"},i={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:t},n={begin:/->\{/,end:/\}/},a={variants:[{begin:/\$\d/},{begin:L(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},r=[e.BACKSLASH_ESCAPE,i,a],o=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],l=(e,t,i="\\1")=>{var n="\\1"===i?i:L(i,t);return L(L("(?:",e,")"),t,/(?:\\.|[^\\\/])*?/,n,/(?:\\.|[^\\\/])*?/,i,s)},c=(e,t,i)=>L(L("(?:",e,")"),t,/(?:\\.|[^\\\/])*?/,i,s),d=[a,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),n,{className:"string",contains:r,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:l("s|tr|y",I(...o,{capture:!0}))},{begin:l("s|tr|y","\\(","\\)")},{begin:l("s|tr|y","\\[","\\]")},{begin:l("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:c("(?:m|qr)?",/\//,/\//)},{begin:c("m|qr",I(...o,{capture:!0}),/\1/)},{begin:c("m|qr",/\(/,/\)/)},{begin:c("m|qr",/\[/,/\]/)},{begin:c("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return i.contains=d,{name:"Perl",aliases:["pl","pm"],keywords:t,contains:n.contains=d}},grmr_php:e=>{var t={className:"variable",begin:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*(?![A-Za-z0-9])(?![$])"},i={className:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?[=]?/},{begin:/\?>/}]},n={className:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},s=e.inherit(e.APOS_STRING_MODE,{illegal:null}),a=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(n)}),n=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*(\w+)\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(n)}),a={className:"string",contains:[e.BACKSLASH_ESCAPE,i],variants:[e.inherit(s,{begin:"b'",end:"'"}),e.inherit(a,{begin:'b"',end:'"'}),a,s,n]},s={className:"number",variants:[{begin:"\\b0b[01]+(?:_[01]+)*\\b"},{begin:"\\b0o[0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0x[\\da-f]+(?:_[\\da-f]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:e[+-]?\\d+)?"}],relevance:0},n={keyword:"__CLASS__ __DIR__ __FILE__ __FUNCTION__ __LINE__ __METHOD__ __NAMESPACE__ __TRAIT__ die echo exit include include_once print require require_once array abstract and as binary bool boolean break callable case catch class clone const continue declare default do double else elseif empty enddeclare endfor endforeach endif endswitch endwhile enum eval extends final finally float for foreach from global goto if implements instanceof insteadof int integer interface isset iterable list match|0 mixed new object or private protected public real return string switch throw trait try unset use var void while xor yield",literal:"false null true",built_in:"Error|0 AppendIterator ArgumentCountError ArithmeticError ArrayIterator ArrayObject AssertionError BadFunctionCallException BadMethodCallException CachingIterator CallbackFilterIterator CompileError Countable DirectoryIterator DivisionByZeroError DomainException EmptyIterator ErrorException Exception FilesystemIterator FilterIterator GlobIterator InfiniteIterator InvalidArgumentException IteratorIterator LengthException LimitIterator LogicException MultipleIterator NoRewindIterator OutOfBoundsException OutOfRangeException OuterIterator OverflowException ParentIterator ParseError RangeException RecursiveArrayIterator RecursiveCachingIterator RecursiveCallbackFilterIterator RecursiveDirectoryIterator RecursiveFilterIterator RecursiveIterator RecursiveIteratorIterator RecursiveRegexIterator RecursiveTreeIterator RegexIterator RuntimeException SeekableIterator SplDoublyLinkedList SplFileInfo SplFileObject SplFixedArray SplHeap SplMaxHeap SplMinHeap SplObjectStorage SplObserver SplObserver SplPriorityQueue SplQueue SplStack SplSubject SplSubject SplTempFileObject TypeError UnderflowException UnexpectedValueException UnhandledMatchError ArrayAccess Closure Generator Iterator IteratorAggregate Serializable Stringable Throwable Traversable WeakReference WeakMap Directory __PHP_Incomplete_Class parent php_user_filter self static stdClass"};return{case_insensitive:!0,keywords:n,contains:[e.HASH_COMMENT_MODE,e.COMMENT("//","$",{contains:[i]}),e.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,keywords:"__halt_compiler"}),i,{className:"keyword",begin:/\$this\b/},t,{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{className:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:n,contains:["self",t,e.C_BLOCK_COMMENT_MODE,a,s]}]},{className:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",relevance:0,end:";",contains:[e.UNDERSCORE_TITLE_MODE]},a,s]}},grmr_php_template:e=>({name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}),grmr_plaintext:e=>({name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}),grmr_python:e=>{const t={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:["and","as","assert","async","await","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},i={className:"meta",begin:/^(>>>|\.\.\.) /},n={className:"subst",begin:/\{/,end:/\}/,keywords:t,illegal:/#/},s={begin:/\{\{/,relevance:0},a={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,i],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,i,s,n]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i,s,n]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,n]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,n]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},r="[0-9](_?[0-9])*",o=`(\\b(${r}))?\\.(${r})|\\b(${r})\\.`,l={className:"number",relevance:0,variants:[{begin:`(\\b(${r})|(${o}))[eE][+-]?(${r})[jJ]?\\b`},{begin:`(${o})[jJ]?`},{begin:"\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?\\b"},{begin:"\\b0[bB](_?[01])+[lL]?\\b"},{begin:"\\b0[oO](_?[0-7])+[lL]?\\b"},{begin:"\\b0[xX](_?[0-9a-fA-F])+[lL]?\\b"},{begin:`\\b(${r})[jJ]\\b`}]},c={className:"comment",begin:A(/# type:/),end:/$/,keywords:t,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},d={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,contains:["self",i,l,a,e.HASH_COMMENT_MODE]}]};return n.contains=[a,l,i],{name:"Python",aliases:["py","gyp","ipython"],keywords:t,illegal:/(<\/|->|\?)|=>/,contains:[i,l,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},a,c,e.HASH_COMMENT_MODE,{match:[/def/,/\s+/,m],scope:{1:"keyword",3:"title.function"},contains:[d]},{variants:[{match:[/class/,/\s+/,m,/\s*/,/\(\s*/,m,/\s*\)/]},{match:[/class/,/\s+/,m]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[l,d,a]}]}},grmr_python_repl:e=>({aliases:["pycon"],contains:[{className:"meta",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}),grmr_r:e=>{var t=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,i=I(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),n=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,s=I(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:t,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:A(I(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:t},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[n,i]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,i]},{scope:{1:"punctuation",2:"number"},match:[s,i]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,i]}]},{scope:{3:"operator"},match:[t,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:n},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:s},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}},grmr_ruby:e=>{const t="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",i={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor __FILE__",built_in:"proc lambda",literal:"true false nil"},n={className:"doctag",begin:"@[A-Za-z]+"},s={begin:"#<",end:">"},a=[e.COMMENT("#","$",{contains:[n]}),e.COMMENT("^=begin","^=end",{contains:[n],relevance:10}),e.COMMENT("^__END__","\\n$")],r={className:"subst",begin:/#\{/,end:/\}/,keywords:i},o={className:"string",contains:[e.BACKSLASH_ESCAPE,r],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:L(/<<[-~]?'?/,A(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,r]})]}]},l="[0-9](_?[0-9])*",c={className:"number",relevance:0,variants:[{begin:`\\b([1-9](_?[0-9])*|0)(\\.(${l}))?([eE][+-]?(${l})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},d={className:"params",begin:"\\(",end:"\\)",endsParent:!0,keywords:i},u=[o,{className:"class",beginKeywords:"class module",end:"$|;",illegal:/=/,contains:[e.inherit(e.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|!)?"}),{begin:"<\\s*",contains:[{begin:"("+e.IDENT_RE+"::)?"+e.IDENT_RE,relevance:0}]}].concat(a)},{className:"function",begin:L(/def\s+/,A(t+"\\s*(\\(|;|$)")),relevance:0,keywords:"def",end:"$|;",contains:[e.inherit(e.TITLE_MODE,{begin:t}),d].concat(a)},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[o,{begin:t}],relevance:0},c,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,relevance:0,keywords:i},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,r],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(s,a),relevance:0}].concat(s,a);r.contains=u;var p=[{begin:/^\s*=>/,starts:{end:"$",contains:d.contains=u}},{className:"meta",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+>|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",contains:u}}];return a.unshift(s),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:i,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(p).concat(a).concat(u)}},grmr_rust:e=>{var t={className:"title.function.invoke",relevance:0,begin:L(/\b/,/(?!let\b)/,e.IDENT_RE,A(/\s*\(/))},i="([ui](8|16|32|64|128|size)|f(32|64))?",n=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","panic!","file!","format!","format_args!","include_bin!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"],keyword:["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"],literal:["true","false","Some","None","Ok","Err"],built_in:n},illegal:""},t]}},grmr_scss:e=>{const t=X(e),i=Z,n=V,s="@[a-z-]+",a={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b"};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+Y.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+n.join("|")+")"},{className:"selector-pseudo",begin:"::("+i.join("|")+")"},a,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Q.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:":",end:";",contains:[a,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT]},{begin:"@(page|font-face)",keywords:{$pattern:s,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:K.join(" ")},contains:[{begin:s,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},a,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]}]}},grmr_shell:e=>({name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}),grmr_sql:e=>{const t=e.COMMENT("--","$"),i=["true","false","unknown"],n=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],s=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],a=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],r=s,o=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year","add","asc","collation","desc","final","first","last","view"].filter(e=>!s.includes(e)),l={begin:L(/\b/,I(...r),/\s*\(/),relevance:0,keywords:{built_in:r}};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:((e,{exceptions:t,when:i})=>{const n=i;return t=t||[],e.map(e=>!e.match(/\|\d+$/)&&!t.includes(e)&&n(e)?e+"|0":e)})(o,{when:e=>e.length<3}),literal:i,type:n,built_in:["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"]},contains:[{begin:I(...a),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:o.concat(a),literal:i,type:n}},{className:"type",begin:I("double precision","large object","with timezone","without timezone")},l,{className:"variable",begin:/@[a-z0-9]+/},{className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},{begin:/"/,end:/"/,contains:[{begin:/""/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}},grmr_swift:e=>{const t={match:/\s+/,relevance:0},i=e.COMMENT("/\\*","\\*/",{contains:["self"]}),n=[e.C_LINE_COMMENT_MODE,i],s={match:[/\./,I(...pe,...he)],className:{2:"keyword"}},a={match:L(/\./,I(...fe)),relevance:0},r=fe.filter(e=>"string"==typeof e).concat(["_|0"]),o={variants:[{className:"keyword",match:I(...fe.filter(e=>"string"!=typeof e).concat(me).map(ue),...he)}]},l={$pattern:I(/\b\w+/,/#\w+/),keyword:r.concat(ve),literal:ge},c=[s,a,o],d=[{match:L(/\./,I(...ye)),relevance:0},{className:"built_in",match:L(/\b/,I(...ye),/(?=\()/)}],u={match:/->/,relevance:0},p=[u,{className:"operator",relevance:0,variants:[{match:Ee},{match:`\\.(\\.|${_e})+`}]}],h="([0-9a-fA-F]_*)+",m={className:"number",relevance:0,variants:[{match:"\\b(([0-9]_*)+)(\\.(([0-9]_*)+))?([eE][+-]?(([0-9]_*)+))?\\b"},{match:`\\b0x(${h})(\\.(${h}))?([pP][+-]?(([0-9]_*)+))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},f=(e="")=>({className:"subst",variants:[{match:L(/\\/,e,/[0\\tnr"']/)},{match:L(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),g=(e="")=>({className:"subst",label:"interpol",begin:L(/\\/,e,/\(/),end:/\)/}),b=(e="")=>({begin:L(e,/"""/),end:L(/"""/,e),contains:[f(e),((e="")=>({className:"subst",match:L(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}))(e),g(e)]}),v=(e="")=>({begin:L(e,/"/),end:L(/"/,e),contains:[f(e),g(e)]}),y={className:"string",variants:[b(),b("#"),b("##"),b("###"),v(),v("#"),v("##"),v("###")]},w={match:L(/`/,Ce,/`/)},_=[w,{className:"variable",match:/\$\d+/},{className:"variable",match:`\\$${Te}+`}],E=[{match:/(@|#)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:Me,contains:[...p,m,y]}]}},{className:"keyword",match:L(/@/,I(...ke))},{className:"meta",match:L(/@/,Ce)}],x={match:A(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:L(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,Te,"+")},{className:"type",match:Se,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:L(/\s+&\s+/,A(Se)),relevance:0}]},T={begin://,keywords:l,contains:[...n,...c,...E,u,x]};x.contains.push(T);var C={begin:/\(/,end:/\)/,relevance:0,keywords:l,contains:["self",{match:L(Ce,/\s*:/),keywords:"_|0",relevance:0},...n,...c,...d,...p,m,y,..._,...E,x]},S={begin://,contains:[...n,x]},k={begin:/\(/,end:/\)/,keywords:l,contains:[{begin:I(A(L(Ce,/\s*:/)),A(L(Ce,/\s+/,Ce,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:Ce}]},...n,...c,...p,m,y,...E,x,C],endsParent:!0,illegal:/["']/},M={match:[/func/,/\s+/,I(w.match,Ce,Ee)],className:{1:"keyword",3:"title.function"},contains:[S,k,t],illegal:[/\[/,/%/]},N={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[S,k,t],illegal:/\[|%/},S={match:[/operator/,/\s+/,Ee],className:{1:"keyword",3:"title"}},k={begin:[/precedencegroup/,/\s+/,Se],className:{1:"keyword",3:"title"},contains:[x],keywords:[...be,...ge],end:/}/};for(const e of y.variants){const t=e.contains.find(e=>"interpol"===e.label);t.keywords=l;const i=[...c,...d,...p,m,y,..._];t.contains=[...i,{begin:/\(/,end:/\)/,contains:["self",...i]}]}return{name:"Swift",keywords:l,contains:[...n,M,N,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:l,contains:[e.inherit(e.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...c]},S,k,{beginKeywords:"import",end:/$/,contains:[...n],relevance:0},...c,...d,...p,m,y,..._,...E,x,C]}},grmr_typescript:e=>{const t={$pattern:ie,keyword:ne.concat(["type","namespace","typedef","interface","public","private","protected","implements","declare","abstract","readonly"]),literal:se,built_in:ce.concat(["any","void","number","boolean","string","object","never","enum"]),"variable.language":le},i={className:"meta",begin:"@[A-Za-z$_][0-9A-Za-z$_]*"},n=(e,t,i)=>{var n=e.contains.findIndex(e=>e.label===t);if(-1===n)throw Error("can not find mode to replace");e.contains.splice(n,1,i)},s=de(e);return Object.assign(s.keywords,t),s.exports.PARAMS_CONTAINS.push(i),s.contains=s.contains.concat([i,{beginKeywords:"namespace",end:/\{/,excludeEnd:!0},{beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:"interface extends"}]),n(s,"shebang",e.SHEBANG()),n(s,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),s.contains.find(e=>"func.def"===e.label).relevance=0,Object.assign(s,{name:"TypeScript",aliases:["ts","tsx"]}),s},grmr_vbnet:e=>{var t=/\d{1,2}\/\d{1,2}\/\d{4}/,i=/\d{4}-\d{1,2}-\d{1,2}/,n=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,s=/\d{1,2}(:\d{1,2}){1,2}/,n={className:"literal",variants:[{begin:L(/# */,I(i,t),/ *#/)},{begin:L(/# */,s,/ *#/)},{begin:L(/# */,n,/ *#/)},{begin:L(/# */,I(i,t),/ +/,I(n,s),/ *#/)}]},s=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),e=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[{className:"string",begin:/"(""|[^/n])"C\b/},{className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},n,{className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},{className:"label",begin:/^\w+:/},s,e,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[e]}]}},grmr_yaml:e=>{const t="true false yes no null",i="[\\w#;/?:@&=+$,.~*'()[\\]]+",n={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},s=e.inherit(n,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),a={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},r={begin:/\{/,end:/\}/,contains:[a],illegal:"\\n",relevance:0},o={begin:"\\[",end:"\\]",contains:[a],illegal:"\\n",relevance:0},l=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+i},{className:"type",begin:"!<"+i+">"},{className:"type",begin:"!"+i},{className:"type",begin:"!!"+i},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},{className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},r,o,n],c=[...l];return c.pop(),c.push(s),a.contains=c,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:l}}});const Oe=G;for(const Ae of Object.keys(Ne)){const i=Ae.replace("grmr_","").replace("_","-");Oe.registerLanguage(i,Ne[Ae])}return Oe}();"object"==typeof exports&&"undefined"!=typeof module&&(module.exports=hljs),function(n,s){"use strict";var e,r="hljs-ln",o="hljs-ln-line",p="hljs-ln-code",l="hljs-ln-numbers",c="hljs-ln-n",h="data-line-number",a=/\r\n|\r|\n/g;function t(e){try{var t,i=s.querySelectorAll("code.hljs,code.nohighlight");for(t in i)i.hasOwnProperty(t)&&(i[t].classList.contains("nohljsln")||d(i[t],e))}catch(e){n.console.error("LineNumbers error: ",e)}}function d(e,t){"object"==typeof e&&n.setTimeout(function(){e.innerHTML=u(e,t)},0)}function u(e,t){t={singleLine:!!(t=t||{}).singleLine&&t.singleLine,startFrom:function(e,t){var i=1;isFinite(t.startFrom)&&(i=t.startFrom);var n=(t="data-ln-start-from",(e=e).hasAttribute(t)?e.getAttribute(t):null);return i=null!==n?function(){if(!n)return 1;var e=Number(n);return isFinite(e)?e:1}():i}(e,t)};return function e(t){var i,n,s=t.childNodes;for(i in s)s.hasOwnProperty(i)&&(0<((n=s[i]).textContent.trim().match(a)||[]).length&&(0{1}\n',[t,0
{6}',[o,l,c,h,p,s+t.startFrom,0{1}',[r,n])}return e}(e.innerHTML,t)}function m(e){return 0===e.length?[]:e.split(a)}function f(e,i){return e.replace(/\{(\d+)\}/g,function(e,t){return void 0!==i[t]?i[t]:e})}n.hljs?(n.hljs.initLineNumbersOnLoad=function(e){"interactive"===s.readyState||"complete"===s.readyState?t(e):n.addEventListener("DOMContentLoaded",function(){t(e)})},n.hljs.lineNumbersBlock=d,n.hljs.lineNumbersValue=function(e,t){if("string"==typeof e){var i=document.createElement("code");return i.innerHTML=e,u(i,t)}},(e=s.createElement("style")).type="text/css",e.innerHTML=f(".{0}{border-collapse:collapse}.{0} td{padding:0}.{1}:before{content:attr({2})}",[r,c,h]),s.getElementsByTagName("head")[0].appendChild(e)):n.console.error("highlight.js not detected!"),document.addEventListener("copy",function(e){var t,i=window.getSelection();!function(){for(var e=i.anchorNode;e;){if(e.className&&-1!==e.className.indexOf("hljs-ln-code"))return 1;e=e.parentNode}}()||(t=-1!==window.navigator.userAgent.indexOf("Edge")?function(e){for(var t=e.toString(),i=e.anchorNode;"TD"!==i.nodeName;)i=i.parentNode;for(var n=e.focusNode;"TD"!==n.nodeName;)n=n.parentNode;var s=parseInt(i.dataset.lineNumber),a=parseInt(n.dataset.lineNumber);if(s==a)return t;var r=i.textContent,o=n.textContent;for(a").addClass("ripple")).appendTo(s),o("Create: Ripple"),n.height()||n.width()||(i=c.max(s.outerWidth(),s.outerHeight()),n.css({height:i,width:i}),o("Set: Ripple size")),t.rate&&"function"==typeof t.rate&&(a=c.round(n.width()/t.duration),a=t.rate(a),a=n.width()/a,t.duration.toFixed(2)!==a.toFixed(2)&&(o("Update: Ripple Duration",{from:t.duration,to:a}),t.duration=a)),a="auto"==t.color?s.css("color"):t.color,a={animationDuration:t.duration.toString()+"s",animationTimingFunction:t.easing,background:a,opacity:t.opacity},o("Set: Ripple CSS",a),n.css(a)),t.multi||(o("Set: Ripple Element"),n=s.find(".ripple")),o("Destroy: Ripple Animation"),n.removeClass("ripple-animate");var a=e.pageX-s.offset().left-n.width()/2,s=e.pageY-s.offset().top-n.height()/2;t.multi&&(o("Set: Ripple animationend event"),n.one("animationend webkitAnimationEnd oanimationend MSAnimationEnd",function(){o("Note: Ripple animation ended"),o("Destroy: Ripple"),l(this).remove()})),o("Set: Ripple location"),o("Set: Ripple animation"),n.css({top:s+"px",left:a+"px"}).addClass("ripple-animate")})}}(jQuery,document,Math),$.ripple.version="1.2.1",function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Swiper=t()}(this,function(){"use strict";function n(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function s(t,i){void 0===t&&(t={}),void 0===i&&(i={}),Object.keys(i).forEach(e=>{void 0===t[e]?t[e]=i[e]:n(i[e])&&n(t[e])&&0null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function T(){var e="undefined"!=typeof document?document:{};return s(e,t),e}const i={document:t,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function A(){var e="undefined"!=typeof window?window:{};return s(e,i),e}class r extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function a(e){const t=[];return(e=void 0===e?[]:e).forEach(e=>{Array.isArray(e)?t.push(...a(e)):t.push(e)}),t}function o(e,t){return Array.prototype.filter.call(e,t)}function L(e,t){const i=A(),n=T();let s=[];if(!t&&e instanceof r)return e;if(!e)return new r(s);if("string"==typeof e){const i=e.trim();if(0<=i.indexOf("<")&&0<=i.indexOf(">")){let e="div";0===i.indexOf("e.split(" ")));return this.forEach(e=>{e.classList.add(...n)}),this},removeClass:function(){for(var e=arguments.length,t=new Array(e),i=0;ie.split(" ")));return this.forEach(e=>{e.classList.remove(...n)}),this},hasClass:function(){for(var e=arguments.length,t=new Array(e),i=0;ie.split(" ")));return 00t.classList.contains(e)).length).length},toggleClass:function(){for(var e=arguments.length,t=new Array(e),i=0;ie.split(" ")));this.forEach(t=>{n.forEach(e=>{t.classList.toggle(e)})})},attr:function(t,i){if(1===arguments.length&&"string"==typeof t)return this[0]?this[0].getAttribute(t):void 0;for(let e=0;e0{i.apply(e,[e,t])}),this},html:function(t){if(void 0===t)return this[0]?this[0].innerHTML:null;for(let e=0;ee.replace(",",".")).join(", ")),a=new i.WebKitCSSMatrix("none"===s?"":s)):(a=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=a.toString().split(",")),"x"===t&&(s=i.WebKitCSSMatrix?a.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(s=i.WebKitCSSMatrix?a.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),s||0}function c(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function m(e){const i=Object(arguments.length<=0?void 0:e),t=["__proto__","constructor","prototype"];for(let e=1;et.indexOf(e)<0);for(let e=0,t=s.length;er?"next":"prev",u=(e,t)=>"next"===d&&t<=e||"prev"===d&&e<=t,p=()=>{o=(new Date).getTime(),null===l&&(l=o);var e=Math.max(Math.min((o-l)/c,1),0),e=.5-Math.cos(e*Math.PI)/2;let t=r+e*(n-r);if(u(t,n)&&(t=n),i.wrapperEl.scrollTo({[s]:t}),u(t,n))return i.wrapperEl.style.overflow="hidden",i.wrapperEl.style.scrollSnapType="",setTimeout(()=>{i.wrapperEl.style.overflow="",i.wrapperEl.scrollTo({[s]:t})}),void a.cancelAnimationFrame(i.cssModeFrameID);i.cssModeFrameID=a.requestAnimationFrame(p)};p()}let e,d,u;function f(){return e=e||function(){const i=A(),e=T();return{smoothScroll:e.documentElement&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in i||i.DocumentTouch&&e instanceof i.DocumentTouch),passiveListener:function(){let e=!1;try{var t=Object.defineProperty({},"passive",{get(){e=!0}});i.addEventListener("testPassiveListener",null,t)}catch(e){}return e}(),gestures:"ongesturestart"in i}}(),e}function p(e){let{swiper:t,runCallbacks:i,direction:n,step:s}=e;var{activeIndex:a,previousIndex:e}=t;let r=n;if(r=r||(e{Object.defineProperty(L.fn,e,{value:l[e],writable:!0})});let g=!1;function y(){}const w=(e,t)=>{const i=T(),{params:n,touchEvents:s,el:a,wrapperEl:r,device:o,support:l}=e,c=!!n.nested,d="on"===t?"addEventListener":"removeEventListener",u=t;if(l.touch){const t=!("touchstart"!==s.start||!l.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};a[d](s.start,e.onTouchStart,t),a[d](s.move,e.onTouchMove,l.passiveListener?{passive:!1,capture:c}:c),a[d](s.end,e.onTouchEnd,t),s.cancel&&a[d](s.cancel,e.onTouchEnd,t)}else a[d](s.start,e.onTouchStart,!1),i[d](s.move,e.onTouchMove,c),i[d](s.end,e.onTouchEnd,!1);(n.preventClicks||n.preventClicksPropagation)&&a[d]("click",e.onClick,!0),n.cssMode&&r[d]("scroll",e.onScroll),n.updateOnWindowResize?e[u](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",h,!0):e[u]("observerUpdate",h,!0)},_=(e,t)=>e.grid&&t.grid&&1{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][s](t)}),n},once(n,s,e){const a=this;return!a.eventsListeners||a.destroyed||"function"!=typeof s?a:(r.__emitterProxy=s,a.on(n,r,e));function r(){a.off(n,r),r.__emitterProxy&&delete r.__emitterProxy;for(var e=arguments.length,t=new Array(e),i=0;i{void 0===n?s.eventsListeners[i]=[]:s.eventsListeners[i]&&s.eventsListeners[i].forEach((e,t)=>{(e===n||e.__emitterProxy&&e.__emitterProxy===n)&&s.eventsListeners[i].splice(t,1)})}),s},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,i,n;for(var s=arguments.length,a=new Array(s),r=0;r{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(e=>{e.apply(n,[t,...i])}),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach(e=>{e.apply(n,i)})}),e}},update:{updateSize:function(){var e=this;let t,i;const n=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:n[0].clientWidth,i=void 0!==e.params.height&&null!==e.params.height?e.params.height:n[0].clientHeight,0===t&&e.isHorizontal()||0===i&&e.isVertical()||(t=t-parseInt(n.css("padding-left")||0,10)-parseInt(n.css("padding-right")||0,10),i=i-parseInt(n.css("padding-top")||0,10)-parseInt(n.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(i)&&(i=0),Object.assign(e,{width:t,height:i,size:e.isHorizontal()?t:i}))},updateSlides:function(){const i=this;function n(e){return i.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}function s(e,t){return parseFloat(e.getPropertyValue(n(t))||0)}const a=i.params,{$wrapperEl:r,size:o,rtlTranslate:l,wrongRTL:c}=i,d=i.virtual&&a.virtual.enabled,e=(d?i.virtual:i).slides.length,u=r.children("."+i.params.slideClass),p=(d?i.virtual.slides:u).length;let h=[];const m=[],f=[];let g=a.slidesOffsetBefore;"function"==typeof g&&(g=a.slidesOffsetBefore.call(i));let b=a.slidesOffsetAfter;"function"==typeof b&&(b=a.slidesOffsetAfter.call(i));var v=i.snapGrid.length,y=i.slidesGrid.length;let w=a.spaceBetween,_=-g,E=0,x=0;if(void 0!==o){"string"==typeof w&&0<=w.indexOf("%")&&(w=parseFloat(w.replace("%",""))/100*o),i.virtualSize=-w,l?u.css({marginLeft:"",marginBottom:"",marginTop:""}):u.css({marginRight:"",marginBottom:"",marginTop:""}),a.centeredSlides&&a.cssMode&&(S(i.wrapperEl,"--swiper-centered-offset-before",""),S(i.wrapperEl,"--swiper-centered-offset-after",""));var T=a.grid&&1void 0!==a.breakpoints[e].slidesPerView).length;for(let e=0;e!a.cssMode||t!==u.length-1).css({[s]:w+"px"})}if(a.centeredSlides&&a.centeredSlidesBounds){let t=0;f.forEach(e=>{t+=e+(a.spaceBetween||0)}),t-=a.spaceBetween;const n=t-o;h=h.map(e=>e<0?-g:e>n?n+b:e)}if(a.centerInsufficientSlides){let t=0;if(f.forEach(e=>{t+=e+(a.spaceBetween||0)}),t-=a.spaceBetween,t{h[t]=e-n}),m.forEach((e,t)=>{m[t]=e+n})}}if(Object.assign(i,{slides:u,snapGrid:h,slidesGrid:m,slidesSizesGrid:f}),a.centeredSlides&&a.cssMode&&!a.centeredSlidesBounds){S(i.wrapperEl,"--swiper-centered-offset-before",-h[0]+"px"),S(i.wrapperEl,"--swiper-centered-offset-after",i.size/2-f[f.length-1]/2+"px");const n=-i.snapGrid[0],s=-i.slidesGrid[0];i.snapGrid=i.snapGrid.map(e=>e+n),i.slidesGrid=i.slidesGrid.map(e=>e+s)}if(p!==e&&i.emit("slidesLengthChange"),h.length!==v&&(i.params.watchOverflow&&i.checkOverflow(),i.emit("snapGridLengthChange")),m.length!==y&&i.emit("slidesGridLengthChange"),a.watchSlidesProgress&&i.updateSlidesOffset(),!(d||a.cssMode||"slide"!==a.effect&&"fade"!==a.effect)){const n=a.containerModifierClass+"backface-hidden",s=i.$el.hasClass(n);p<=a.maxBackfaceHiddenSlides?s||i.$el.addClass(n):s&&i.$el.removeClass(n)}}},updateAutoHeight:function(e){const i=this,t=[],n=i.virtual&&i.params.virtual.enabled;let s,a=0;"number"==typeof e?i.setTransition(e):!0===e&&i.setTransition(i.params.speed);var r=t=>(n?i.slides.filter(e=>parseInt(e.getAttribute("data-swiper-slide-index"),10)===t):i.slides.eq(t))[0];if("auto"!==i.params.slidesPerView&&1{t.push(e)});else for(s=0;si.slides.length&&!n)break;t.push(r(e))}else t.push(r(i.activeIndex));for(s=0;sa?e:a}!a&&0!==a||i.$wrapperEl.css("height",a+"px")},updateSlidesOffset:function(){const t=this.slides;for(let e=0;e=n.size)&&(n.visibleSlides.push(l),n.visibleSlidesIndexes.push(t),a.eq(t).addClass(s.slideVisibleClass)),l.progress=r?-L:L,l.originalProgress=r?-c:c}n.visibleSlides=L(n.visibleSlides)}},updateProgress:function(e){var t=this;if(void 0===e){const i=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*i||0}const i=t.params,n=t.maxTranslate()-t.minTranslate();let{progress:s,isBeginning:a,isEnd:r}=t;var o=a,l=r;r=0==n?(s=0,a=!0):(s=(e-t.minTranslate())/n,a=s<=0,1<=s),Object.assign(t,{progress:s,isBeginning:a,isEnd:r}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&t.updateSlidesProgress(e),a&&!o&&t.emit("reachBeginning toEdge"),r&&!l&&t.emit("reachEnd toEdge"),(o&&!a||l&&!r)&&t.emit("fromEdge"),t.emit("progress",s)},updateSlidesClasses:function(){const{slides:e,params:t,$wrapperEl:i,activeIndex:n,realIndex:s}=this,a=this.virtual&&t.virtual.enabled;let r;e.removeClass(`${t.slideActiveClass} ${t.slideNextClass} ${t.slidePrevClass} ${t.slideDuplicateActiveClass} ${t.slideDuplicateNextClass} `+t.slideDuplicatePrevClass),r=a?this.$wrapperEl.find(`.${t.slideClass}[data-swiper-slide-index="${n}"]`):e.eq(n),r.addClass(t.slideActiveClass),t.loop&&(r.hasClass(t.slideDuplicateClass)?i.children(`.${t.slideClass}:not(.${t.slideDuplicateClass})[data-swiper-slide-index="${s}"]`):i.children(`.${t.slideClass}.${t.slideDuplicateClass}[data-swiper-slide-index="${s}"]`)).addClass(t.slideDuplicateActiveClass);let o=r.nextAll("."+t.slideClass).eq(0).addClass(t.slideNextClass);t.loop&&0===o.length&&(o=e.eq(0),o.addClass(t.slideNextClass));let l=r.prevAll("."+t.slideClass).eq(0).addClass(t.slidePrevClass);t.loop&&0===l.length&&(l=e.eq(-1),l.addClass(t.slidePrevClass)),t.loop&&((o.hasClass(t.slideDuplicateClass)?i.children(`.${t.slideClass}:not(.${t.slideDuplicateClass})[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`):i.children(`.${t.slideClass}.${t.slideDuplicateClass}[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`)).addClass(t.slideDuplicateNextClass),(l.hasClass(t.slideDuplicateClass)?i.children(`.${t.slideClass}:not(.${t.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`):i.children(`.${t.slideClass}.${t.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`)).addClass(t.slideDuplicatePrevClass)),this.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,i=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:n,snapGrid:s,params:a,activeIndex:r,realIndex:o,snapIndex:l}=t;let c,d=e;if(void 0===d){for(let e=0;e=n[e]&&i=n[e]&&i=n[e]&&(d=e);a.normalizeSlideIndex&&(d<0||void 0===d)&&(d=0)}if(0<=s.indexOf(i))c=s.indexOf(i);else{const u=Math.min(a.slidesPerGroupSkip,d);c=u+Math.floor((d-u)/a.slidesPerGroup)}c>=s.length&&(c=s.length-1),d!==r?(e=parseInt(t.slides.eq(d).attr("data-swiper-slide-index")||d,10),Object.assign(t,{snapIndex:c,realIndex:e,previousIndex:r,activeIndex:d}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),o!==e&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")):c!==l&&(t.snapIndex=c,t.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this,i=t.params,n=L(e).closest("."+i.slideClass)[0];let s,a=!1;if(n)for(let e=0;e=l.length&&(f=l.length-1);var g=-l[f];if(o.normalizeSlideIndex)for(let e=0;e=i&&t=i&&t=i&&(r=e)}if(a.initialized&&r!==u){if(!a.allowSlideNext&&ga.translate&&g>a.maxTranslate()&&(u||0)!==r)return!1}let b;if(r!==(d||0)&&i&&a.emit("beforeSlideChangeStart"),a.updateProgress(g),b=r>u?"next":r{a.wrapperEl.style.scrollSnapType="",a._swiperImmediateVirtual=!1})}else{if(!a.support.smoothScroll)return v({swiper:a,targetPosition:i,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:i,behavior:"smooth"})}return!0}return a.setTransition(t),a.setTranslate(g),a.updateActiveIndex(r),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,n),a.transitionStart(i,b),0===t?a.transitionEnd(i,b):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(i,b))}),a.$wrapperEl[0].addEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,i,n){if(void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),"string"==typeof(e=void 0===e?0:e)){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}let s=e;return this.params.loop&&(s+=this.loopedSlides),this.slideTo(s,t,i,n)},slideNext:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n=this,{animating:s,enabled:a,params:r}=n;if(!a)return n;let o=r.slidesPerGroup;"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(o=Math.max(n.slidesPerViewDynamic("current",!0),1));a=n.activeIndexd(e));let h=r[p.indexOf(u)-1];if(void 0===h&&s.cssMode){let i;r.forEach((e,t)=>{u>=e&&(i=t)}),void 0!==i&&(h=r[0=s.snapGrid[o]){const e=s.snapGrid[o];r-e>(s.snapGrid[o+1]-e)*n&&(a+=s.params.slidesPerGroup)}else{const e=s.snapGrid[o-1];r-e<=(s.snapGrid[o]-e)*n&&(a-=s.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,s.slidesGrid.length-1),s.slideTo(a,e,t,i)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:i}=e,n="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let s,a=e.clickedIndex;t.loop?e.animating||(s=parseInt(L(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?ae.slides.length-e.loopedSlides+n/2?(e.loopFix(),a=i.children(`.${t.slideClass}[data-swiper-slide-index="${s}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),C(()=>{e.slideTo(a)})):e.slideTo(a):a>e.slides.length-n?(e.loopFix(),a=i.children(`.${t.slideClass}[data-swiper-slide-index="${s}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),C(()=>{e.slideTo(a)})):e.slideTo(a)):e.slideTo(a)}},loop:{loopCreate:function(){const t=this,i=T(),{params:n,$wrapperEl:e}=t,s=0a.length&&t.params.loopedSlidesLimit&&(t.loopedSlides=a.length);const r=[],o=[];a.each((e,t)=>{L(e).attr("data-swiper-slide-index",t)});for(let e=0;e=i.length-n&&(l=-i.length+t+n,l+=n,e.slideTo(l,0,!1,!0)&&0!=r&&e.setTranslate((o?-e.translate:e.translate)-r)),e.allowSlidePrev=s,e.allowSlideNext=a,e.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:i}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.`+t.slideBlankClass).remove(),i.removeAttr("data-swiper-slide-index")}},grabCursor:{setGrabCursor:function(e){var t=this;if(!(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)){const i="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;i.style.cursor="move",i.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){var e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:{attachEvents:function(){const e=this,t=T(),{params:i,support:n}=e;e.onTouchStart=function(e){const n=this,s=T(),a=A(),r=n.touchEventsData,{params:o,touches:l,enabled:t}=n;if(t&&(!n.animating||!o.preventInteractionOnTransition)){!n.animating&&o.cssMode&&o.loop&&n.loopFix();let t=e;t.originalEvent&&(t=t.originalEvent);let i=L(t.target);if(("wrapper"!==o.touchEventsTarget||i.closest(n.wrapperEl).length)&&(r.isTouchEvent="touchstart"===t.type,(r.isTouchEvent||!("which"in t)||3!==t.which)&&!(!r.isTouchEvent&&"button"in t&&0=a.innerWidth-u)){if("prevent"!==p)return;e.preventDefault()}if(Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=c,l.startY=d,r.touchStartTime=b(),n.allowClick=!0,n.updateSize(),n.swipeDirection=void 0,0o.startY&&s.translate>=s.minTranslate())return a.isTouched=!1,void(a.isMoved=!1)}else if(do.startX&&s.translate>=s.minTranslate())return;if(a.isTouchEvent&&t.activeElement&&n.target===t.activeElement&&L(n.target).is(a.focusableElements))return a.isMoved=!0,void(s.allowClick=!1);if(a.allowTouchCallbacks&&s.emit("touchMove",n),!(n.targetTouches&&1r.touchAngle:90-e>r.touchAngle)),a.isScrolling&&s.emit("touchMoveOpposite",n),void 0===a.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(a.startMoving=!0)),a.isScrolling)a.isTouched=!1;else if(a.startMoving){s.allowClick=!1,!r.cssMode&&n.cancelable&&n.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&n.stopPropagation(),a.isMoved||(r.loop&&!r.cssMode&&s.loopFix(),a.startTranslate=s.getTranslate(),s.setTransition(0),s.animating&&s.$wrapperEl.trigger("webkitTransitionEnd transitionend"),a.allowMomentumBounce=!1,!r.grabCursor||!0!==s.allowSlideNext&&!0!==s.allowSlidePrev||s.setGrabCursor(!0),s.emit("sliderFirstMove",n)),s.emit("sliderMove",n),a.isMoved=!0;let e=s.isHorizontal()?c:d;o.diff=e,e*=r.touchRatio,l&&(e=-e),s.swipeDirection=0s.minTranslate()?(t=!1,r.resistance&&(a.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+a.startTranslate+e)**i)):e<0&&a.currentTranslatea.startTranslate&&(a.currentTranslate=a.startTranslate),s.allowSlidePrev||s.allowSlideNext||(a.currentTranslate=a.startTranslate),0r.threshold||a.allowThresholdMove))return void(a.currentTranslate=a.startTranslate);if(!a.allowThresholdMove)return a.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,a.currentTranslate=a.startTranslate,void(o.diff=s.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&s.freeMode||r.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),s.params.freeMode&&r.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(a.currentTranslate),s.setTranslate(a.currentTranslate))}}}}else a.startMoving&&a.isScrolling&&s.emit("touchMoveOpposite",n)}}.bind(e),e.onTouchEnd=function(a){const r=this,e=r.touchEventsData,{params:o,touches:t,rtlTranslate:i,slidesGrid:l,enabled:n}=r;if(n){let s=a;if(s.originalEvent&&(s=s.originalEvent),e.allowTouchCallbacks&&r.emit("touchEnd",s),e.allowTouchCallbacks=!1,!e.isTouched)return e.isMoved&&o.grabCursor&&r.setGrabCursor(!1),e.isMoved=!1,void(e.startMoving=!1);o.grabCursor&&e.isMoved&&e.isTouched&&(!0===r.allowSlideNext||!0===r.allowSlidePrev)&&r.setGrabCursor(!1);var c,d=b(),u=d-e.touchStartTime;if(r.allowClick){const p=s.path||s.composedPath&&s.composedPath();r.updateClickedSlide(p&&p[0]||s.target),r.emit("tap click",s),u<300&&d-e.lastClickTime<300&&r.emit("doubleTap doubleClick",s)}if(e.lastClickTime=b(),C(()=>{r.destroyed||(r.allowClick=!0)}),!e.isTouched||!e.isMoved||!r.swipeDirection||0===t.diff||e.currentTranslate===e.startTranslate)return e.isTouched=!1,e.isMoved=!1,void(e.startMoving=!1);if(e.isTouched=!1,e.isMoved=!1,e.startMoving=!1,c=o.followFinger?i?r.translate:-r.translate:-e.currentTranslate,!o.cssMode)if(r.params.freeMode&&o.freeMode.enabled)r.freeMode.onTouchEnd({currentPos:c});else{let t=0,i=r.slidesSizesGrid[0];for(let e=0;e=l[e]&&c=l[e]&&(t=e,i=l[l.length-1]-l[l.length-2])}let e=null,n=null;o.rewind&&(r.isBeginning?n=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1:r.isEnd&&(e=0));a=(c-l[t])/i,d=to.longSwipesMs?o.longSwipes?("next"===r.swipeDirection&&(a>=o.longSwipesRatio?r.slideTo(o.rewind&&r.isEnd?e:t+d):r.slideTo(t)),"prev"===r.swipeDirection&&(a>1-o.longSwipesRatio?r.slideTo(t+d):null!==n&&a<0&&Math.abs(a)>o.longSwipesRatio?r.slideTo(n):r.slideTo(t))):r.slideTo(r.activeIndex):o.shortSwipes?!r.navigation||s.target!==r.navigation.nextEl&&s.target!==r.navigation.prevEl?("next"===r.swipeDirection&&r.slideTo(null!==e?e:t+d),"prev"===r.swipeDirection&&r.slideTo(null!==n?n:t)):s.target===r.navigation.nextEl?r.slideTo(t+d):r.slideTo(t):r.slideTo(r.activeIndex)}}}.bind(e),i.cssMode&&(e.onScroll=function(){var e=this,{wrapperEl:t,rtlTranslate:i,enabled:n}=e;n&&(e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses(),(0==(t=e.maxTranslate()-e.minTranslate())?0:(e.translate-e.minTranslate())/t)!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1))}.bind(e)),e.onClick=function(e){var t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}.bind(e),n.touch&&!g&&(t.addEventListener("touchstart",y),g=!0),w(e,"on")},detachEvents:function(){w(this,"off")}},breakpoints:{setBreakpoint:function(){const n=this,{activeIndex:e,initialized:t,loopedSlides:i=0,params:s,$el:a}=n,r=s.breakpoints;if(r&&0!==Object.keys(r).length){var o=n.getBreakpoint(r,n.params.breakpointsBase,n.el);if(o&&n.currentBreakpoint!==o){const d=(o in r?r[o]:void 0)||n.originalParams,u=_(n,s),p=_(n,d),h=s.enabled;u&&!p?(a.removeClass(`${s.containerModifierClass}grid ${s.containerModifierClass}grid-column`),n.emitContainerClasses()):!u&&p&&(a.addClass(s.containerModifierClass+"grid"),(d.grid.fill&&"column"===d.grid.fill||!d.grid.fill&&"column"===s.grid.fill)&&a.addClass(s.containerModifierClass+"grid-column"),n.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(e=>{var t=s[e]&&s[e].enabled,i=d[e]&&d[e].enabled;t&&!i&&n[e].disable(),!t&&i&&n[e].enable()});var l=d.direction&&d.direction!==s.direction,c=s.loop&&(d.slidesPerView!==s.slidesPerView||l);l&&t&&n.changeDirection(),m(n.params,d);l=n.params.enabled;Object.assign(n,{allowTouchMove:n.params.allowTouchMove,allowSlideNext:n.params.allowSlideNext,allowSlidePrev:n.params.allowSlidePrev}),h&&!l?n.disable():!h&&l&&n.enable(),n.currentBreakpoint=o,n.emit("_beforeBreakpoint",d),c&&t&&(n.loopDestroy(),n.loopCreate(),n.updateSlides(),n.slideTo(e-i+n.loopedSlides,0,!1)),n.emit("breakpoint",d)}}},getBreakpoint:function(e,i,n){if(void 0===i&&(i="window"),e&&("container"!==i||n)){let t=!1;const s=A(),a="window"===i?s.innerHeight:n.clientHeight,r=Object.keys(e).map(e=>{if("string"!=typeof e||0!==e.indexOf("@"))return{value:e,point:e};var t=parseFloat(e.substr(1));return{value:a*t,point:e}});r.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;ei}else e.isLocked=1===e.snapGrid.length;!0===i.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===i.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const{classNames:e,params:t,rtl:i,$el:n,device:s,support:a}=this,r=function(e,i){const n=[];return e.forEach(t=>{"object"==typeof t?Object.keys(t).forEach(e=>{t[e]&&n.push(i+e)}):"string"==typeof t&&n.push(i+t)}),n}(["initialized",t.direction,{"pointer-events":!a.touch},{"free-mode":this.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:i},{grid:t.grid&&1{e=m({},i,{el:e});t.push(new M(e))}),t}const a=this;a.__swiper__=!0,a.support=f(),a.device=(void 0===(h={userAgent:i.userAgent})&&(h={}),d=d||function(){var e=(void 0===h?{}:h)["userAgent"];const t=f(),i=A(),n=i.navigator.platform,s=e||i.navigator.userAgent,a={ios:!1,android:!1},r=i.screen.width,o=i.screen.height,l=s.match(/(Android);?[\s\/]+([\d.]+)?/);let c=s.match(/(iPad).*OS\s([\d_]+)/);var d=s.match(/(iPod)(.*OS\s([\d_]+))?/),u=!c&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),e="Win32"===n;let p="MacIntel"===n;return!c&&p&&t.touch&&0<=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(r+"x"+o)&&(c=s.match(/(Version)\/([\d.]+)/),c=c||[0,1,"13_0_0"],p=!1),l&&!e&&(a.os="android",a.android=!0),(c||u||d)&&(a.os="ios",a.ios=!0),a}(),d),a.browser=(u=u||function(){const t=A();return{isSafari:function(){const e=t.navigator.userAgent.toLowerCase();return 0<=e.indexOf("safari")&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}(),u),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],i.modules&&Array.isArray(i.modules)&&a.modules.push(...i.modules);const r={};a.modules.forEach(e=>{var n,s;e({swiper:a,extendParams:(n=i,s=r,function(e){void 0===e&&(e={});var t=Object.keys(e)[0],i=e[t];"object"==typeof i&&null!==i&&(0<=["navigation","pagination","scrollbar"].indexOf(t)&&!0===n[t]&&(n[t]={auto:!0}),t in n&&"enabled"in i&&(!0===n[t]&&(n[t]={enabled:!0}),"object"!=typeof n[t]||"enabled"in n[t]||(n[t].enabled=!0),n[t]||(n[t]={enabled:!1}))),m(s,e)}),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});var o,l=m({},E,r);return a.params=m({},l,k,i),a.originalParams=m({},a.params),a.passedParams=m({},i),a.params&&a.params.on&&Object.keys(a.params.on).forEach(e=>{a.on(e,a.params.on[e])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),a.$=L,Object.assign(a,{enabled:a.params.enabled,el:t,classNames:[],slides:L(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEvents:(o=["touchstart","touchmove","touchend","touchcancel"],l=["pointerdown","pointermove","pointerup"],a.touchEventsTouch={start:o[0],move:o[1],end:o[2],cancel:o[3]},a.touchEventsDesktop={start:l[0],move:l[1],end:l[2]},a.support.touch||!a.params.simulateTouch?a.touchEventsTouch:a.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:b(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}enable(){var e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){var e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){var i=this;e=Math.min(Math.max(e,0),1);var n=i.minTranslate(),n=(i.maxTranslate()-n)*e+n;i.translateTo(n,void 0===t?0:t),i.updateActiveIndex(),i.updateSlidesClasses()}emitContainerClasses(){const t=this;if(t.params._emitClasses&&t.el){const e=t.el.className.split(" ").filter(e=>0===e.indexOf("swiper")||0===e.indexOf(t.params.containerModifierClass));t.emit("_containerClasses",e.join(" "))}}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){const i=this;if(i.params._emitClasses&&i.el){const n=[];i.slides.each(e=>{var t=i.getSlideClasses(e);n.push({slideEl:e,classNames:t}),i.emit("_slideClass",e,t)}),i.emit("_slideClasses",n)}}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);var{params:i,slides:n,slidesGrid:s,slidesSizesGrid:a,size:r,activeIndex:o}=this;let l=1;if(i.centeredSlides){let t,i=n[o].swiperSlideSize;for(let e=o+1;er&&(t=!0));for(let e=o-1;0<=e;--e)n[e]&&!t&&(i+=n[e].swiperSlideSize,l+=1,i>r&&(t=!0))}else if("current"===e)for(let e=o+1;e{"vertical"===t?e.style.width="":e.style.height=""}),i.emit("changeDirection"),e&&i.update()),i}changeLanguageDirection(e){var t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(t.params.containerModifierClass+"rtl"),t.el.dir="rtl"):(t.$el.removeClass(t.params.containerModifierClass+"rtl"),t.el.dir="ltr"),t.update())}mount(t){const e=this;if(e.mounted)return!0;const i=L(t||e.params.el);if(!(t=i[0]))return!1;t.swiper=e;const n=()=>"."+(e.params.wrapperClass||"").trim().split(" ").join(".");let s=(()=>{if(t&&t.shadowRoot&&t.shadowRoot.querySelector){const e=L(t.shadowRoot.querySelector(n()));return e.children=e=>i.children(e),e}return(i.children?i:L(i)).children(n())})();if(0===s.length&&e.params.createElements){const t=T().createElement("div");s=L(t),t.className=e.params.wrapperClass,i.append(t),i.children("."+e.params.slideClass).each(e=>{s.append(e)})}return Object.assign(e,{$el:i,el:t,$wrapperEl:s,wrapperEl:s[0],mounted:!0,rtl:"rtl"===t.dir.toLowerCase()||"rtl"===i.css("direction"),rtlTranslate:"horizontal"===e.params.direction&&("rtl"===t.dir.toLowerCase()||"rtl"===i.css("direction")),wrongRTL:"-webkit-box"===s.css("display")}),!0}init(e){var t=this;return t.initialized||!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const i=this,{params:n,$el:s,$wrapperEl:a,slides:r}=i;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),t&&(i.removeClasses(),s.removeAttr("style"),a.removeAttr("style"),r&&r.length&&r.removeClass([n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(e=>{i.off(e)}),!1!==e&&(i.$el[0].swiper=null,function(){const t=i;Object.keys(t).forEach(e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})}()),i.destroyed=!0),null}static extendDefaults(e){m(k,e)}static get extendedDefaults(){return k}static get defaults(){return E}static installModule(e){M.prototype.__modules__||(M.prototype.__modules__=[]);const t=M.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?e.forEach(e=>M.installModule(e)):M.installModule(e),M}}function N(i,n,s,a){const r=T();return i.params.createElements&&Object.keys(a).forEach(t=>{if(!s[t]&&!0===s.auto){let e=i.$el.children("."+a[t])[0];e||(e=r.createElement("div"),e.className=a[t],i.$el.append(e)),s[t]=e,n[t]=e}}),s}function O(e){return"."+(e=void 0===e?"":e).trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}function D(e){const{effect:i,swiper:n,on:t,setTranslate:s,setTransition:a,overwriteParams:r,perspective:o,recreateShadows:l,getEffectParams:c}=e;let d;t("beforeInit",()=>{var e;n.params.effect===i&&(n.classNames.push(""+n.params.containerModifierClass+i),o&&o()&&n.classNames.push(n.params.containerModifierClass+"3d"),e=r?r():{},Object.assign(n.params,e),Object.assign(n.originalParams,e))}),t("setTranslate",()=>{n.params.effect===i&&s()}),t("setTransition",(e,t)=>{n.params.effect===i&&a(t)}),t("transitionEnd",()=>{n.params.effect===i&&l&&c&&c().slideShadows&&(n.slides.each(e=>{n.$(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove()}),l())}),t("virtualUpdate",()=>{n.params.effect===i&&(n.slides.length||(d=!0),requestAnimationFrame(()=>{d&&n.slides&&n.slides.length&&(s(),d=!1)}))})}function $(e,t){return e.transformEl?t.find(e.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}function P(e){let{swiper:n,duration:t,transformEl:s,allSlides:a}=e;const{slides:r,activeIndex:o,$wrapperEl:l}=n;if(n.params.virtualTranslate&&0!==t){let e,i=!1;e=a?s?r.find(s):r:s?r.eq(o).find(s):r.eq(o),e.transitionEnd(()=>{if(!i&&n&&!n.destroyed){i=!0,n.animating=!1;var t=["webkitTransitionEnd","transitionend"];for(let e=0;e`),s.append(a)),a}Object.keys(x).forEach(t=>{Object.keys(x[t]).forEach(e=>{M.prototype[e]=x[t][e]})}),M.use([function(e){let{swiper:a,on:t,emit:i}=e;const n=A();let s=null,r=null;const o=()=>{a&&!a.destroyed&&a.initialized&&(i("beforeResize"),i("resize"))},l=()=>{a&&!a.destroyed&&a.initialized&&i("orientationchange")};t("init",()=>{a.params.resizeObserver&&void 0!==n.ResizeObserver?a&&!a.destroyed&&a.initialized&&(s=new ResizeObserver(i=>{r=n.requestAnimationFrame(()=>{var{width:e,height:t}=a;let n=e,s=t;i.forEach(e=>{var{contentBoxSize:t,contentRect:i,target:e}=e;e&&e!==a.el||(n=i?i.width:(t[0]||t).inlineSize,s=i?i.height:(t[0]||t).blockSize)}),n===e&&s===t||o()})}),s.observe(a.el)):(n.addEventListener("resize",o),n.addEventListener("orientationchange",l))}),t("destroy",()=>{r&&n.cancelAnimationFrame(r),s&&s.unobserve&&a.el&&(s.unobserve(a.el),s=null),n.removeEventListener("resize",o),n.removeEventListener("orientationchange",l)})},function(e){let{swiper:i,extendParams:t,on:n,emit:s}=e;function a(e,t){void 0===t&&(t={});const i=new(o.MutationObserver||o.WebkitMutationObserver)(e=>{var t;1!==e.length?(t=function(){s("observerUpdate",e[0])},o.requestAnimationFrame?o.requestAnimationFrame(t):o.setTimeout(t,0)):s("observerUpdate",e[0])});i.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),r.push(i)}const r=[],o=A();t({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",()=>{if(i.params.observer){if(i.params.observeParents){var t=i.$el.parents();for(let e=0;e{r.forEach(e=>{e.disconnect()}),r.splice(0,r.length)})}]);var R=[function(e){let t,{swiper:_,extendParams:i,on:n,emit:E}=e;function x(e,t){const i=_.params.virtual;if(i.cache&&_.virtual.cache[t])return _.virtual.cache[t];const n=i.renderSlide?L(i.renderSlide.call(_,e,t)):L(`
${e}
`);return n.attr("data-swiper-slide-index")||n.attr("data-swiper-slide-index",t),i.cache&&(_.virtual.cache[t]=n),n}function r(t){const{slidesPerView:e,slidesPerGroup:i,centeredSlides:n}=_.params,{addSlidesBefore:s,addSlidesAfter:a}=_.params.virtual,{from:r,to:o,slides:l,slidesGrid:c,offset:d}=_.virtual;_.params.cssMode||_.updateActiveIndex();var u=_.activeIndex||0;let p,h,m;p=_.rtlTranslate?"right":_.isHorizontal()?"left":"top",m=n?(h=Math.floor(e/2)+i+a,Math.floor(e/2)+i+s):(h=e+(i-1)+a,i+s);const f=Math.max((u||0)-m,0),g=Math.min((u||0)+h,l.length-1),b=(_.slidesGrid[f]||0)-(_.slidesGrid[0]||0);function v(){_.updateSlides(),_.updateProgress(),_.updateSlidesClasses(),_.lazy&&_.params.lazy.enabled&&_.lazy.load(),E("virtualUpdate")}if(Object.assign(_.virtual,{from:f,to:g,offset:b,slidesGrid:_.slidesGrid}),r===f&&o===g&&!t)return _.slidesGrid!==c&&b!==d&&_.slides.css(p,b+"px"),_.updateProgress(),void E("virtualUpdate");if(_.params.virtual.renderExternal)return _.params.virtual.renderExternal.call(_,{offset:b,from:f,to:g,slides:function(){const t=[];for(let e=f;e<=g;e+=1)t.push(l[e]);return t}()}),void(_.params.virtual.renderExternalUpdate?v():E("virtualUpdate"));const y=[],w=[];if(t)_.$wrapperEl.find("."+_.params.slideClass).remove();else for(let e=r;e<=o;e+=1)(eg)&&_.$wrapperEl.find(`.${_.params.slideClass}[data-swiper-slide-index="${e}"]`).remove();for(let e=0;e=f&&e<=g&&(void 0===o||t?w.push(e):(e>o&&w.push(e),e{_.$wrapperEl.append(x(l[e],e))}),y.sort((e,t)=>t-e).forEach(e=>{_.$wrapperEl.prepend(x(l[e],e))}),_.$wrapperEl.children(".swiper-slide").css(p,b+"px"),v()}i({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}}),_.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]},n("beforeInit",()=>{_.params.virtual.enabled&&(_.virtual.slides=_.params.virtual.slides,_.classNames.push(_.params.containerModifierClass+"virtual"),_.params.watchSlidesProgress=!0,_.originalParams.watchSlidesProgress=!0,_.params.initialSlide||r())}),n("setTranslate",()=>{_.params.virtual.enabled&&(_.params.cssMode&&!_._immediateVirtual?(clearTimeout(t),t=setTimeout(()=>{r()},100)):r())}),n("init update resize",()=>{_.params.virtual.enabled&&_.params.cssMode&&S(_.wrapperEl,"--swiper-virtual-size",_.virtualSize+"px")}),Object.assign(_.virtual,{appendSlide:function(t){if("object"==typeof t&&"length"in t)for(let e=0;e{const t=n[e],i=t.attr("data-swiper-slide-index");i&&t.attr("data-swiper-slide-index",parseInt(i,10)+a),s[parseInt(e,10)+a]=t}),_.virtual.cache=s}r(!0),_.slideTo(e,0)},removeSlide:function(i){if(null!=i){let t=_.activeIndex;if(Array.isArray(i))for(let e=i.length-1;0<=e;--e)_.virtual.slides.splice(i[e],1),_.params.virtual.cache&&delete _.virtual.cache[i[e]],i[e]{u.params.keyboard.enabled&&s()}),i("destroy",()=>{u.keyboard.enabled&&a()}),Object.assign(u.keyboard,{enable:s,disable:a})},function(e){let{swiper:c,extendParams:t,on:i,emit:d}=e;const n=A();let u;t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),c.mousewheel={enabled:!1};let p,s=b();const h=[];function a(){c.enabled&&(c.mouseEntered=!0)}function r(){c.enabled&&(c.mouseEntered=!1)}function m(e){return!(c.params.mousewheel.thresholdDelta&&e.deltaMath.abs(l.pixelY)))return!0;t=-l.pixelX*o}else{if(!(Math.abs(l.pixelY)>Math.abs(l.pixelX)))return!0;t=-l.pixelY}else t=Math.abs(l.pixelX)>Math.abs(l.pixelY)?-l.pixelX*o:-l.pixelY;if(0===t)return!0;r.invert&&(t=-t);let i=c.getTranslate()+t*r.sensitivity;if(i>=c.minTranslate()&&(i=c.minTranslate()),i<=c.maxTranslate()&&(i=c.maxTranslate()),a=!!c.params.loop||!(i===c.minTranslate()||i===c.maxTranslate()),a&&c.params.nested&&s.stopPropagation(),c.params.freeMode&&c.params.freeMode.enabled){const n={time:b(),delta:Math.abs(t),direction:Math.sign(t)},a=p&&n.time=c.minTranslate()&&(e=c.minTranslate()),e<=c.maxTranslate()&&(e=c.maxTranslate()),c.setTransition(0),c.setTranslate(e),c.updateProgress(),c.updateActiveIndex(),c.updateSlidesClasses(),(!L&&c.isBeginning||!b&&c.isEnd)&&c.updateSlidesClasses(),c.params.freeMode.sticky){clearTimeout(u),u=void 0,15<=h.length&&h.shift();const s=h.length?h[h.length-1]:void 0,a=h[0];if(h.push(n),s&&(n.delta>s.delta||n.direction!==s.direction))h.splice(0);else if(15<=h.length&&n.time-a.time<500&&1<=a.delta-n.delta&&n.delta<=6){const s=0{c.slideToClosest(c.params.speed,!0,void 0,s)},0)}u=u||C(()=>{p=n,h.splice(0),c.slideToClosest(c.params.speed,!0,void 0,.5)},500)}if(a||d("scroll",s),c.params.autoplay&&c.params.autoplayDisableOnInteraction&&c.autoplay.stop(),e===c.minTranslate()||e===c.maxTranslate())return!0}}else{const s={time:b(),delta:Math.abs(t),direction:Math.sign(t),raw:n};2<=h.length&&h.shift();const a=h.length?h[h.length-1]:void 0;if(h.push(s),(!a||s.direction!==a.direction||s.delta>a.delta||s.time>a.time+150)&&m(s),function(e){var t=c.params.mousewheel;if(e.direction<0){if(c.isEnd&&!c.params.loop&&t.releaseOnEdges)return 1}else if(c.isBeginning&&!c.params.loop&&t.releaseOnEdges)return 1}(s))return!0}return s.preventDefault?s.preventDefault():s.returnValue=!1,!1}}function l(e){let t=c.$el;"container"!==c.params.mousewheel.eventsTarget&&(t=L(c.params.mousewheel.eventsTarget)),t[e]("mouseenter",a),t[e]("mouseleave",r),t[e]("wheel",o)}function f(){return c.params.cssMode?(c.wrapperEl.removeEventListener("wheel",o),!0):!c.mousewheel.enabled&&(l("on"),c.mousewheel.enabled=!0)}function g(){return c.params.cssMode?(c.wrapperEl.addEventListener(event,o),!0):!!c.mousewheel.enabled&&(l("off"),!(c.mousewheel.enabled=!1))}i("init",()=>{!c.params.mousewheel.enabled&&c.params.cssMode&&g(),c.params.mousewheel.enabled&&f()}),i("destroy",()=>{c.params.cssMode&&f(),c.mousewheel.enabled&&g()}),Object.assign(c.mousewheel,{enable:f,disable:g})},function(e){let{swiper:a,extendParams:t,on:i,emit:r}=e;function n(e){let t;return e&&(t=L(e),a.params.uniqueNavElements&&"string"==typeof e&&1{!1===a.params.navigation.enabled?p():(d(),o())}),i("toEdge fromEdge lock unlock",()=>{o()}),i("destroy",()=>{u()}),i("enable disable",()=>{const{$nextEl:e,$prevEl:t}=a.navigation;e&&e[a.enabled?"removeClass":"addClass"](a.params.navigation.lockClass),t&&t[a.enabled?"removeClass":"addClass"](a.params.navigation.lockClass)}),i("click",(e,t)=>{const{$nextEl:i,$prevEl:n}=a.navigation,s=t.target;if(a.params.navigation.hideOnClick&&!L(s).is(n)&&!L(s).is(i)&&(!(a.pagination&&a.params.pagination&&a.params.pagination.clickable)||a.pagination.el!==s&&!a.pagination.el.contains(s))){let e;i?e=i.hasClass(a.params.navigation.hiddenClass):n&&(e=n.hasClass(a.params.navigation.hiddenClass)),r(!0===e?"navigationShow":"navigationHide"),i&&i.toggleClass(a.params.navigation.hiddenClass),n&&n.toggleClass(a.params.navigation.hiddenClass)}});const p=()=>{a.$el.addClass(a.params.navigation.navigationDisabledClass),u()};Object.assign(a.navigation,{enable:()=>{a.$el.removeClass(a.params.navigation.navigationDisabledClass),d(),o()},disable:p,update:o,init:d,destroy:u})},function(e){let{swiper:c,extendParams:t,on:i,emit:d}=e;e="swiper-pagination";let u;t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:e+"-bullet",bulletActiveClass:e+"-bullet-active",modifierClass:e+"-",currentClass:e+"-current",totalClass:e+"-total",hiddenClass:e+"-hidden",progressbarFillClass:e+"-progressbar-fill",progressbarOppositeClass:e+"-progressbar-opposite",clickableClass:e+"-clickable",lockClass:e+"-lock",horizontalClass:e+"-horizontal",verticalClass:e+"-vertical",paginationDisabledClass:e+"-disabled"}}),c.pagination={el:null,$el:null,bullets:[]};let p=0;function a(){return!c.params.pagination.el||!c.pagination.el||!c.pagination.$el||0===c.pagination.$el.length}function h(e,t){var i=c.params.pagination["bulletActiveClass"];e[t]().addClass(i+"-"+t)[t]().addClass(i+`-${t}-`+t)}function n(){const t=c.rtl,r=c.params.pagination;if(!a()){const o=(c.virtual&&c.params.virtual.enabled?c.virtual:c).slides.length,l=c.pagination.$el;let a;var i=c.params.loop?Math.ceil((o-2*c.loopedSlides)/c.params.slidesPerGroup):c.snapGrid.length;if(c.params.loop?(a=Math.ceil((c.activeIndex-c.loopedSlides)/c.params.slidesPerGroup),a>o-1-2*c.loopedSlides&&(a-=o-2*c.loopedSlides),a>i-1&&(a-=i),a<0&&"bullets"!==c.params.paginationType&&(a=i+a)):a=void 0!==c.snapIndex?c.snapIndex:c.activeIndex||0,"bullets"===r.type&&c.pagination.bullets&&0r.dynamicMainBullets-1?p=r.dynamicMainBullets-1:p<0&&(p=0)),n=Math.max(a-p,0),s=n+(Math.min(o.length,r.dynamicMainBullets)-1),e=(s+n)/2),o.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>""+r.bulletActiveClass+e).join(" ")),1{const t=L(e),i=t.index();i===a&&t.addClass(r.bulletActiveClass),r.dynamicBullets&&(i>=n&&i<=s&&t.addClass(r.bulletActiveClass+"-main"),i===n&&h(t,"prev"),i===s&&h(t,"next"))});else{const t=o.eq(a),l=t.index();if(t.addClass(r.bulletActiveClass),r.dynamicBullets){const t=o.eq(n),u=o.eq(s);for(let e=n;e<=s;e+=1)o.eq(e).addClass(r.bulletActiveClass+"-main");if(c.params.loop)if(l>=o.length){for(let e=r.dynamicMainBullets;0<=e;--e)o.eq(o.length-e).addClass(r.bulletActiveClass+"-main");o.eq(o.length-r.dynamicMainBullets-1).addClass(r.bulletActiveClass+"-prev")}else h(t,"prev"),h(u,"next");else h(t,"prev"),h(u,"next")}}if(r.dynamicBullets){const d=Math.min(o.length,r.dynamicMainBullets+4),l=(u*d-u)/2-e*u,p=t?"right":"left";o.css(c.isHorizontal()?p:"top",l+"px")}}if("fraction"===r.type&&(l.find(O(r.currentClass)).text(r.formatFractionCurrent(a+1)),l.find(O(r.totalClass)).text(r.formatFractionTotal(i))),"progressbar"===r.type){var n=r.progressbarOpposite?c.isHorizontal()?"vertical":"horizontal":c.isHorizontal()?"horizontal":"vertical";const o=(a+1)/i;let e=1,t=1;"horizontal"==n?e=o:t=o,l.find(O(r.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${e}) scaleY(${t})`).transition(c.params.speed)}"custom"===r.type&&r.renderCustom?(l.html(r.renderCustom(c,a+1,i)),d("paginationRender",l[0])):d("paginationUpdate",l[0]),c.params.watchOverflow&&c.enabled&&l[c.isLocked?"addClass":"removeClass"](r.lockClass)}}function s(){const n=c.params.pagination;if(!a()){const e=(c.virtual&&c.params.virtual.enabled?c.virtual:c).slides.length,s=c.pagination.$el;let i="";if("bullets"===n.type){let t=c.params.loop?Math.ceil((e-2*c.loopedSlides)/c.params.slidesPerGroup):c.snapGrid.length;c.params.freeMode&&c.params.freeMode.enabled&&!c.params.loop&&t>e&&(t=e);for(let e=0;e`;s.html(i),c.pagination.bullets=s.find(O(n.bulletClass))}"fraction"===n.type&&(i=n.renderFraction?n.renderFraction.call(c,n.currentClass,n.totalClass):` / `,s.html(i)),"progressbar"===n.type&&(i=n.renderProgressbar?n.renderProgressbar.call(c,n.progressbarFillClass):``,s.html(i)),"custom"!==n.type&&d("paginationRender",c.pagination.$el[0])}}function r(){c.params.pagination=N(c,c.originalParams.pagination,c.params.pagination,{el:"swiper-pagination"});const t=c.params.pagination;if(t.el){let e=L(t.el);0!==e.length&&(c.params.uniqueNavElements&&"string"==typeof t.el&&1L(e).parents(".swiper")[0]===c.el))),"bullets"===t.type&&t.clickable&&e.addClass(t.clickableClass),e.addClass(t.modifierClass+t.type),e.addClass(c.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(e.addClass(""+t.modifierClass+t.type+"-dynamic"),p=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&e.addClass(t.progressbarOppositeClass),t.clickable&&e.on("click",O(t.bulletClass),function(e){e.preventDefault();let t=L(this).index()*c.params.slidesPerGroup;c.params.loop&&(t+=c.loopedSlides),c.slideTo(t)}),Object.assign(c.pagination,{$el:e,el:e[0]}),c.enabled||e.addClass(t.lockClass))}}function o(){var e=c.params.pagination;if(!a()){const t=c.pagination.$el;t.removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),t.removeClass(c.isHorizontal()?e.horizontalClass:e.verticalClass),c.pagination.bullets&&c.pagination.bullets.removeClass&&c.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&t.off("click",O(e.bulletClass))}}i("init",()=>{!1===c.params.pagination.enabled?l():(r(),s(),n())}),i("activeIndexChange",()=>{!c.params.loop&&void 0!==c.snapIndex||n()}),i("snapIndexChange",()=>{c.params.loop||n()}),i("slidesLengthChange",()=>{c.params.loop&&(s(),n())}),i("snapGridLengthChange",()=>{c.params.loop||(s(),n())}),i("destroy",()=>{o()}),i("enable disable",()=>{const e=c.pagination["$el"];e&&e[c.enabled?"removeClass":"addClass"](c.params.pagination.lockClass)}),i("lock unlock",()=>{n()}),i("click",(e,t)=>{const i=t.target,n=c.pagination["$el"];if(c.params.pagination.el&&c.params.pagination.hideOnClick&&n&&0{c.$el.addClass(c.params.pagination.paginationDisabledClass),c.pagination.$el&&c.pagination.$el.addClass(c.params.pagination.paginationDisabledClass),o()};Object.assign(c.pagination,{enable:()=>{c.$el.removeClass(c.params.pagination.paginationDisabledClass),c.pagination.$el&&c.pagination.$el.removeClass(c.params.pagination.paginationDisabledClass),r(),s(),n()},disable:l,render:s,update:n,init:r,destroy:o})},function(e){let{swiper:c,extendParams:t,on:i,emit:r}=e;const d=T();let o,l,u,n,p=!1,h=null,m=null;function s(){if(c.params.scrollbar.el&&c.scrollbar.el){const{scrollbar:i,rtlTranslate:n,progress:s}=c,{$dragEl:a,$el:r}=i,o=c.params.scrollbar;let e=l,t=(u-l)*s;n?(t=-t,0u&&(e=u+t)):t<0?(e=l+t,t=0):t+l>u&&(e=u-t),c.isHorizontal()?(a.transform(`translate3d(${t}px, 0, 0)`),a[0].style.width=e+"px"):(a.transform(`translate3d(0px, ${t}px, 0)`),a[0].style.height=e+"px"),o.hide&&(clearTimeout(h),r[0].style.opacity=1,h=setTimeout(()=>{r[0].style.opacity=0,r.transition(400)},1e3))}}function a(){if(c.params.scrollbar.el&&c.scrollbar.el){const e=c["scrollbar"],{$dragEl:t,$el:i}=e;t[0].style.width="",t[0].style.height="",u=c.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,n=c.size/(c.virtualSize+c.params.slidesOffsetBefore-(c.params.centeredSlides?c.snapGrid[0]:0)),l="auto"===c.params.scrollbar.dragSize?u*n:parseInt(c.params.scrollbar.dragSize,10),c.isHorizontal()?t[0].style.width=l+"px":t[0].style.height=l+"px",i[0].style.display=1<=n?"none":"",c.params.scrollbar.hide&&(i[0].style.opacity=0),c.params.watchOverflow&&c.enabled&&e.$el[c.isLocked?"addClass":"removeClass"](c.params.scrollbar.lockClass)}}function f(e){return c.isHorizontal()?("touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0]:e).clientX:("touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0]:e).clientY}function g(e){const{scrollbar:t,rtlTranslate:i}=c,n=t["$el"];let s;s=(f(e)-n.offset()[c.isHorizontal()?"left":"top"]-(null!==o?o:l/2))/(u-l),s=Math.max(Math.min(s,1),0),i&&(s=1-s);e=c.minTranslate()+(c.maxTranslate()-c.minTranslate())*s;c.updateProgress(e),c.setTranslate(e),c.updateActiveIndex(),c.updateSlidesClasses()}function b(e){const t=c.params.scrollbar,{scrollbar:i,$wrapperEl:n}=c,{$el:s,$dragEl:a}=i;p=!0,o=e.target===a[0]||e.target===a?f(e)-e.target.getBoundingClientRect()[c.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),n.transition(100),a.transition(100),g(e),clearTimeout(m),s.transition(0),t.hide&&s.css("opacity",1),c.params.cssMode&&c.$wrapperEl.css("scroll-snap-type","none"),r("scrollbarDragStart",e)}function v(e){const{scrollbar:t,$wrapperEl:i}=c,{$el:n,$dragEl:s}=t;p&&(e.preventDefault?e.preventDefault():e.returnValue=!1,g(e),i.transition(0),n.transition(0),s.transition(0),r("scrollbarDragMove",e))}function y(e){const t=c.params.scrollbar,{scrollbar:i,$wrapperEl:n}=c,s=i["$el"];p&&(p=!1,c.params.cssMode&&(c.$wrapperEl.css("scroll-snap-type",""),n.transition("")),t.hide&&(clearTimeout(m),m=C(()=>{s.css("opacity",0),s.transition(400)},1e3)),r("scrollbarDragEnd",e),t.snapOnRelease&&c.slideToClosest())}function w(e){var{scrollbar:t,touchEventsTouch:i,touchEventsDesktop:n,params:s,support:a}=c,t=t.$el;if(t){const r=t[0],o=!(!a.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},l=!(!a.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};r&&(e="on"===e?"addEventListener":"removeEventListener",a.touch?(r[e](i.start,b,o),r[e](i.move,v,o),r[e](i.end,y,l)):(r[e](n.start,b,o),d[e](n.move,v,o),d[e](n.end,y,l)))}}function _(){const{scrollbar:i,$el:n}=c;c.params.scrollbar=N(c,c.originalParams.scrollbar,c.params.scrollbar,{el:"swiper-scrollbar"});var s=c.params.scrollbar;if(s.el){let e=L(s.el);c.params.uniqueNavElements&&"string"==typeof s.el&&1`),e.append(t)),Object.assign(i,{$el:e,el:e[0],$dragEl:t,dragEl:t[0]}),s.draggable&&c.params.scrollbar.el&&c.scrollbar.el&&w("on"),e&&e[c.enabled?"removeClass":"addClass"](c.params.scrollbar.lockClass)}}function E(){const e=c.params.scrollbar,t=c.scrollbar.$el;t&&t.removeClass(c.isHorizontal()?e.horizontalClass:e.verticalClass),c.params.scrollbar.el&&c.scrollbar.el&&w("off")}t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),c.scrollbar={el:null,dragEl:null,$el:null,$dragEl:null},i("init",()=>{!1===c.params.scrollbar.enabled?x():(_(),a(),s())}),i("update resize observerUpdate lock unlock",()=>{a()}),i("setTranslate",()=>{s()}),i("setTransition",(e,t)=>{t=t,c.params.scrollbar.el&&c.scrollbar.el&&c.scrollbar.$dragEl.transition(t)}),i("enable disable",()=>{const e=c.scrollbar["$el"];e&&e[c.enabled?"removeClass":"addClass"](c.params.scrollbar.lockClass)}),i("destroy",()=>{E()});const x=()=>{c.$el.addClass(c.params.scrollbar.scrollbarDisabledClass),c.scrollbar.$el&&c.scrollbar.$el.addClass(c.params.scrollbar.scrollbarDisabledClass),E()};Object.assign(c.scrollbar,{enable:()=>{c.$el.removeClass(c.params.scrollbar.scrollbarDisabledClass),c.scrollbar.$el&&c.scrollbar.$el.removeClass(c.params.scrollbar.scrollbarDisabledClass),_(),a(),s()},disable:x,updateSize:a,setTranslate:s,init:_,destroy:E})},function(e){let{swiper:d,extendParams:t,on:i}=e;t({parallax:{enabled:!1}});const a=(e,t)=>{const i=d["rtl"],n=L(e),s=i?-1:1,a=n.attr("data-swiper-parallax")||"0";let r=n.attr("data-swiper-parallax-x"),o=n.attr("data-swiper-parallax-y");var l=n.attr("data-swiper-parallax-scale"),e=n.attr("data-swiper-parallax-opacity");if(r||o?(r=r||"0",o=o||"0"):d.isHorizontal()?(r=a,o="0"):(o=a,r="0"),r=0<=r.indexOf("%")?parseInt(r,10)*t*s+"%":r*t*s+"px",o=0<=o.indexOf("%")?parseInt(o,10)*t+"%":o*t+"px",null!=e){const c=e-(e-1)*(1-Math.abs(t));n[0].style.opacity=c}if(null==l)n.transform(`translate3d(${r}, ${o}, 0px)`);else{const c=l-(l-1)*(1-Math.abs(t));n.transform(`translate3d(${r}, ${o}, 0px) scale(${c})`)}},n=()=>{const{$el:e,slides:t,progress:n,snapGrid:s}=d;e.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(e=>{a(e,n)}),t.each((e,t)=>{let i=e.progress;1{a(e,i)})})};i("beforeInit",()=>{d.params.parallax.enabled&&(d.params.watchSlidesProgress=!0,d.originalParams.watchSlidesProgress=!0)}),i("init",()=>{d.params.parallax.enabled&&n()}),i("setTranslate",()=>{d.params.parallax.enabled&&n()}),i("setTransition",(e,t)=>{d.params.parallax.enabled&&function(n){void 0===n&&(n=d.params.speed);const e=d["$el"];e.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(e=>{const t=L(e);let i=parseInt(t.attr("data-swiper-parallax-duration"),10)||n;0===n&&(i=0),t.transition(i)})}(t)})},function(e){let{swiper:_,extendParams:t,on:i,emit:n}=e;const E=A();t({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),_.zoom={enabled:!1};let s,a,r,x=1,o=!1;const T={$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},C={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},l={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let c=1;function d(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,n=e.targetTouches[1].pageX,e=e.targetTouches[1].pageY;return Math.sqrt((n-t)**2+(e-i)**2)}function u(e){var t=_.support,i=_.params.zoom;if(a=!1,r=!1,!t.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;a=!0,T.scaleStart=d(e)}T.$slideEl&&T.$slideEl.length||(T.$slideEl=L(e.target).closest("."+_.params.slideClass),0===T.$slideEl.length&&(T.$slideEl=_.slides.eq(_.activeIndex)),T.$imageEl=T.$slideEl.find("."+i.containerClass).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),T.$imageWrapEl=T.$imageEl.parent("."+i.containerClass),T.maxRatio=T.$imageWrapEl.attr("data-swiper-zoom")||i.maxRatio,0!==T.$imageWrapEl.length)?(T.$imageEl&&T.$imageEl.transition(0),o=!0):T.$imageEl=void 0}function p(e){const t=_.support,i=_.params.zoom,n=_.zoom;if(!t.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;r=!0,T.scaleMove=d(e)}T.$imageEl&&0!==T.$imageEl.length?(t.gestures?n.scale=e.scale*x:n.scale=T.scaleMove/T.scaleStart*x,n.scale>T.maxRatio&&(n.scale=T.maxRatio-1+(n.scale-T.maxRatio+1)**.5),n.scaleC.touchesStart.x))return void(C.isTouched=!1);if(!_.isHorizontal()&&(Math.floor(C.minY)===Math.floor(C.startY)&&C.touchesCurrent.yC.touchesStart.y))return void(C.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),C.isMoved=!0,C.currentX=C.touchesCurrent.x-C.touchesStart.x+C.startX,C.currentY=C.touchesCurrent.y-C.touchesStart.y+C.startY,C.currentXC.maxX&&(C.currentX=C.maxX-1+(C.currentX-C.maxX+1)**.8),C.currentYC.maxY&&(C.currentY=C.maxY-1+(C.currentY-C.maxY+1)**.8),l.prevPositionX||(l.prevPositionX=C.touchesCurrent.x),l.prevPositionY||(l.prevPositionY=C.touchesCurrent.y),l.prevTime||(l.prevTime=Date.now()),l.x=(C.touchesCurrent.x-l.prevPositionX)/(Date.now()-l.prevTime)/2,l.y=(C.touchesCurrent.y-l.prevPositionY)/(Date.now()-l.prevTime)/2,Math.abs(C.touchesCurrent.x-l.prevPositionX)<2&&(l.x=0),Math.abs(C.touchesCurrent.y-l.prevPositionY)<2&&(l.y=0),l.prevPositionX=C.touchesCurrent.x,l.prevPositionY=C.touchesCurrent.y,l.prevTime=Date.now(),T.$imageWrapEl.transform(`translate3d(${C.currentX}px, ${C.currentY}px,0)`)}}}function f(){const e=_.zoom;T.$slideEl&&_.previousIndex!==_.activeIndex&&(T.$imageEl&&T.$imageEl.transform("translate3d(0,0,0) scale(1)"),T.$imageWrapEl&&T.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,x=1,T.$slideEl=void 0,T.$imageEl=void 0,T.$imageWrapEl=void 0)}function g(v){const y=_.zoom,w=_.params.zoom;if(T.$slideEl||(v&&v.target&&(T.$slideEl=L(v.target).closest("."+_.params.slideClass)),T.$slideEl||(_.params.virtual&&_.params.virtual.enabled&&_.virtual?T.$slideEl=_.$wrapperEl.children("."+_.params.slideActiveClass):T.$slideEl=_.slides.eq(_.activeIndex)),T.$imageEl=T.$slideEl.find("."+w.containerClass).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),T.$imageWrapEl=T.$imageEl.parent("."+w.containerClass)),T.$imageEl&&0!==T.$imageEl.length&&T.$imageWrapEl&&0!==T.$imageWrapEl.length){let e,t,i,n,s,a,r,o,l,c,d,u,p,h,m,f,g,b;_.params.cssMode&&(_.wrapperEl.style.overflow="hidden",_.wrapperEl.style.touchAction="none"),T.$slideEl.addClass(""+w.zoomedSlideClass),t=void 0===C.touchesStart.x&&v?(e=("touchend"===v.type?v.changedTouches[0]:v).pageX,("touchend"===v.type?v.changedTouches[0]:v).pageY):(e=C.touchesStart.x,C.touchesStart.y),y.scale=T.$imageWrapEl.attr("data-swiper-zoom")||w.maxRatio,x=T.$imageWrapEl.attr("data-swiper-zoom")||w.maxRatio,v?(g=T.$slideEl[0].offsetWidth,b=T.$slideEl[0].offsetHeight,i=T.$slideEl.offset().left+E.scrollX,n=T.$slideEl.offset().top+E.scrollY,s=i+g/2-e,a=n+b/2-t,l=T.$imageEl[0].offsetWidth,c=T.$imageEl[0].offsetHeight,d=l*y.scale,u=c*y.scale,m=-(p=Math.min(g/2-d/2,0)),f=-(h=Math.min(b/2-u/2,0)),r=s*y.scale,o=a*y.scale,rm&&(r=m),of&&(o=f)):(r=0,o=0),T.$imageWrapEl.transition(300).transform(`translate3d(${r}px, ${o}px,0)`),T.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${y.scale})`)}}function b(){const e=_.zoom,t=_.params.zoom;T.$slideEl||(_.params.virtual&&_.params.virtual.enabled&&_.virtual?T.$slideEl=_.$wrapperEl.children("."+_.params.slideActiveClass):T.$slideEl=_.slides.eq(_.activeIndex),T.$imageEl=T.$slideEl.find("."+t.containerClass).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),T.$imageWrapEl=T.$imageEl.parent("."+t.containerClass)),T.$imageEl&&0!==T.$imageEl.length&&T.$imageWrapEl&&0!==T.$imageWrapEl.length&&(_.params.cssMode&&(_.wrapperEl.style.overflow="",_.wrapperEl.style.touchAction=""),e.scale=1,x=1,T.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),T.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),T.$slideEl.removeClass(""+t.zoomedSlideClass),T.$slideEl=void 0)}function v(e){var t=_.zoom;t.scale&&1!==t.scale?b():g(e)}function y(){var e=_.support;return{passiveListener:!("touchstart"!==_.touchEvents.start||!e.passiveListener||!_.params.passiveListeners)&&{passive:!0,capture:!1},activeListenerWithCapture:!e.passiveListener||{passive:!1,capture:!0}}}function w(){return"."+_.params.slideClass}function S(e){var t=y()["passiveListener"],i=w();_.$wrapperEl[e]("gesturestart",i,u,t),_.$wrapperEl[e]("gesturechange",i,p,t),_.$wrapperEl[e]("gestureend",i,h,t)}function k(){s||(s=!0,S("on"))}function M(){s&&(s=!1,S("off"))}function N(){const e=_.zoom;var t,i,n,s;e.enabled||(e.enabled=!0,t=_.support,{passiveListener:i,activeListenerWithCapture:n}=y(),s=w(),t.gestures?(_.$wrapperEl.on(_.touchEvents.start,k,i),_.$wrapperEl.on(_.touchEvents.end,M,i)):"touchstart"===_.touchEvents.start&&(_.$wrapperEl.on(_.touchEvents.start,s,u,i),_.$wrapperEl.on(_.touchEvents.move,s,p,n),_.$wrapperEl.on(_.touchEvents.end,s,h,i),_.touchEvents.cancel&&_.$wrapperEl.on(_.touchEvents.cancel,s,h,i)),_.$wrapperEl.on(_.touchEvents.move,"."+_.params.zoom.containerClass,m,n))}function O(){const e=_.zoom;var t,i,n,s;e.enabled&&(t=_.support,e.enabled=!1,{passiveListener:i,activeListenerWithCapture:n}=y(),s=w(),t.gestures?(_.$wrapperEl.off(_.touchEvents.start,k,i),_.$wrapperEl.off(_.touchEvents.end,M,i)):"touchstart"===_.touchEvents.start&&(_.$wrapperEl.off(_.touchEvents.start,s,u,i),_.$wrapperEl.off(_.touchEvents.move,s,p,n),_.$wrapperEl.off(_.touchEvents.end,s,h,i),_.touchEvents.cancel&&_.$wrapperEl.off(_.touchEvents.cancel,s,h,i)),_.$wrapperEl.off(_.touchEvents.move,"."+_.params.zoom.containerClass,m,n))}Object.defineProperty(_.zoom,"scale",{get:()=>c,set(e){var t,i;c!==e&&(t=T.$imageEl?T.$imageEl[0]:void 0,i=T.$slideEl?T.$slideEl[0]:void 0,n("zoomChange",e,t,i)),c=e}}),i("init",()=>{_.params.zoom.enabled&&N()}),i("destroy",()=>{O()}),i("touchStart",(e,t)=>{var i;_.zoom.enabled&&(i=t,t=_.device,T.$imageEl&&0!==T.$imageEl.length&&(C.isTouched||(t.android&&i.cancelable&&i.preventDefault(),C.isTouched=!0,C.touchesStart.x=("touchstart"===i.type?i.targetTouches[0]:i).pageX,C.touchesStart.y=("touchstart"===i.type?i.targetTouches[0]:i).pageY)))}),i("touchEnd",(e,t)=>{_.zoom.enabled&&function(){var i=_.zoom;if(T.$imageEl&&0!==T.$imageEl.length){if(!C.isTouched||!C.isMoved)return C.isTouched=!1,C.isMoved=!1;C.isTouched=!1,C.isMoved=!1;let e=300,t=300;var n=l.x*e,s=C.currentX+n,a=l.y*t,n=C.currentY+a;0!==l.x&&(e=Math.abs((s-C.currentX)/l.x)),0!==l.y&&(t=Math.abs((n-C.currentY)/l.y));a=Math.max(e,t);C.currentX=s,C.currentY=n;n=C.width*i.scale,i=C.height*i.scale;C.minX=Math.min(T.slideWidth/2-n/2,0),C.maxX=-C.minX,C.minY=Math.min(T.slideHeight/2-i/2,0),C.maxY=-C.minY,C.currentX=Math.max(Math.min(C.currentX,C.maxX),C.minX),C.currentY=Math.max(Math.min(C.currentY,C.maxY),C.minY),T.$imageWrapEl.transition(a).transform(`translate3d(${C.currentX}px, ${C.currentY}px,0)`)}}()}),i("doubleTap",(e,t)=>{!_.animating&&_.params.zoom.enabled&&_.zoom.enabled&&_.params.zoom.toggle&&v(t)}),i("transitionEnd",()=>{_.zoom.enabled&&_.params.zoom.enabled&&f()}),i("slideChange",()=>{_.zoom.enabled&&_.params.zoom.enabled&&_.params.cssMode&&f()}),Object.assign(_.zoom,{enable:N,disable:O,in:g,out:b,toggle:v})},function(e){let{swiper:d,extendParams:t,on:i,emit:u}=e;t({lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}});let c=!(d.lazy={}),p=!1;function h(e,o){void 0===o&&(o=!0);const l=d.params.lazy;if(void 0!==e&&0!==d.slides.length){const c=d.virtual&&d.params.virtual.enabled?d.$wrapperEl.children(`.${d.params.slideClass}[data-swiper-slide-index="${e}"]`):d.slides.eq(e),t=c.find(`.${l.elementClass}:not(.${l.loadedClass}):not(.${l.loadingClass})`);!c.hasClass(l.elementClass)||c.hasClass(l.loadedClass)||c.hasClass(l.loadingClass)||t.push(c[0]),0!==t.length&&t.each(e=>{const t=L(e);t.addClass(l.loadingClass);const i=t.attr("data-background"),n=t.attr("data-src"),s=t.attr("data-srcset"),a=t.attr("data-sizes"),r=t.parent("picture");d.loadImage(t[0],n||i,s,a,!1,()=>{var e;null==d||!d||d&&!d.params||d.destroyed||(i?(t.css("background-image",`url("${i}")`),t.removeAttr("data-background")):(s&&(t.attr("srcset",s),t.removeAttr("data-srcset")),a&&(t.attr("sizes",a),t.removeAttr("data-sizes")),r.length&&r.children("source").each(e=>{const t=L(e);t.attr("data-srcset")&&(t.attr("srcset",t.attr("data-srcset")),t.removeAttr("data-srcset"))}),n&&(t.attr("src",n),t.removeAttr("data-src"))),t.addClass(l.loadedClass).removeClass(l.loadingClass),c.find("."+l.preloaderClass).remove(),d.params.loop&&o&&(e=c.attr("data-swiper-slide-index"),c.hasClass(d.params.slideDuplicateClass)?h(d.$wrapperEl.children(`[data-swiper-slide-index="${e}"]:not(.${d.params.slideDuplicateClass})`).index(),!1):h(d.$wrapperEl.children(`.${d.params.slideDuplicateClass}[data-swiper-slide-index="${e}"]`).index(),!1)),u("lazyImageReady",c[0],t[0]),d.params.autoHeight&&d.updateAutoHeight())}),u("lazyImageLoad",c[0],t[0])})}}function m(){const{$wrapperEl:t,params:i,slides:n,activeIndex:s}=d,a=d.virtual&&i.virtual.enabled,e=i.lazy;let r=i.slidesPerView;function o(e){if(a){if(t.children(`.${i.slideClass}[data-swiper-slide-index="${e}"]`).length)return 1}else if(n[e])return 1}function l(e){return a?L(e).attr("data-swiper-slide-index"):L(e).index()}if("auto"===r&&(r=0),p=p||!0,d.params.watchSlidesProgress)t.children("."+i.slideVisibleClass).each(e=>{h(a?L(e).attr("data-swiper-slide-index"):L(e).index())});else if(1{d.params.lazy.enabled&&d.params.preloadImages&&(d.params.preloadImages=!1)}),i("init",()=>{d.params.lazy.enabled&&(d.params.lazy.checkInView?f:m)()}),i("scroll",()=>{d.params.freeMode&&d.params.freeMode.enabled&&!d.params.freeMode.sticky&&m()}),i("scrollbarDragMove resize _freeModeNoMomentumRelease",()=>{d.params.lazy.enabled&&(d.params.lazy.checkInView?f:m)()}),i("transitionStart",()=>{d.params.lazy.enabled&&(d.params.lazy.loadOnTransitionStart||!d.params.lazy.loadOnTransitionStart&&!p)&&(d.params.lazy.checkInView?f:m)()}),i("transitionEnd",()=>{d.params.lazy.enabled&&!d.params.lazy.loadOnTransitionStart&&(d.params.lazy.checkInView?f:m)()}),i("slideChange",()=>{var{lazy:e,cssMode:t,watchSlidesProgress:i,touchReleaseOnEdges:n,resistanceRatio:s}=d.params;e.enabled&&(t||i&&(n||0===s))&&m()}),i("destroy",()=>{d.$el&&d.$el.find("."+d.params.lazy.loadingClass).removeClass(d.params.lazy.loadingClass)}),Object.assign(d.lazy,{load:m,loadInSlide:h})},function(e){let{swiper:o,extendParams:t,on:i}=e;function l(e,t){const i=function(){let i,n,s;return(e,t)=>{for(n=-1,i=e.length;1>1,e[s]<=t?n=s:i=s;return i}}();let n,s;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(s=i(this.x,e),n=s-1,(e-this.x[n])*(this.y[s]-this.y[n])/(this.x[s]-this.x[n])+this.y[n]):0},this}function n(){o.controller.control&&o.controller.spline&&(o.controller.spline=void 0,delete o.controller.spline)}t({controller:{control:void 0,inverse:!1,by:"slide"}}),o.controller={control:void 0},i("beforeInit",()=>{o.controller.control=o.params.controller.control}),i("update",()=>{n()}),i("resize",()=>{n()}),i("observerUpdate",()=>{n()}),i("setTranslate",(e,t,i)=>{o.controller.control&&o.controller.setTranslate(t,i)}),i("setTransition",(e,t,i)=>{o.controller.control&&o.controller.setTransition(t,i)}),Object.assign(o.controller,{setTranslate:function(e,t){var i=o.controller.control;let n,s;var a=o.constructor;function r(e){var t,i=o.rtlTranslate?-o.translate:o.translate;"slide"===o.params.controller.by&&(t=e,o.controller.spline||(o.controller.spline=o.params.loop?new l(o.slidesGrid,t.slidesGrid):new l(o.snapGrid,t.snapGrid)),s=-o.controller.spline.interpolate(-i)),s&&"container"!==o.params.controller.by||(n=(e.maxTranslate()-e.minTranslate())/(o.maxTranslate()-o.minTranslate()),s=(i-o.minTranslate())*n+e.minTranslate()),o.params.controller.inverse&&(s=e.maxTranslate()-s),e.updateProgress(s),e.setTranslate(s,o),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(i))for(let e=0;e{e.updateAutoHeight()}),e.$wrapperEl.transitionEnd(()=>{n&&(e.params.loop&&"slide"===o.params.controller.by&&e.loopFix(),e.transitionEnd())}))}if(Array.isArray(n))for(s=0;s{s(e),"BUTTON"!==e[0].tagName&&(r(e,"button"),e.on("keydown",h)),d(e,i),e.attr("aria-controls",t)},b=()=>{o.a11y.clicked=!0},v=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{o.a11y.clicked=!1})})},y=e=>{var t,i;o.a11y.clicked||(t=e.target.closest("."+o.params.slideClass))&&o.slides.includes(t)&&(i=o.slides.indexOf(t)===o.activeIndex,e=o.params.watchSlidesProgress&&o.visibleSlides&&o.visibleSlides.includes(t),i||e||(o.isHorizontal()?o.el.scrollLeft=0:o.el.scrollTop=0,o.slideTo(o.slides.indexOf(t),0)))},w=()=>{const s=o.params.a11y;s.itemRoleDescriptionMessage&&c(L(o.slides),s.itemRoleDescriptionMessage),s.slideRole&&r(L(o.slides),s.slideRole);const a=(o.params.loop?o.slides.filter(e=>!e.classList.contains(o.params.slideDuplicateClass)):o.slides).length;s.slideLabelMessage&&o.slides.each((e,t)=>{const i=L(e),n=o.params.loop?parseInt(i.attr("data-swiper-slide-index"),10):t;d(i,s.slideLabelMessage.replace(/\{\{index\}\}/,n+1).replace(/\{\{slidesLength\}\}/,a))})};i("beforeInit",()=>{l=L(``)}),i("afterInit",()=>{o.params.a11y.enabled&&(()=>{var e=o.params.a11y;o.$el.append(l);var t=o.$el;e.containerRoleDescriptionMessage&&c(t,e.containerRoleDescriptionMessage),e.containerMessage&&d(t,e.containerMessage);const i=o.$wrapperEl,n=e.id||i.attr("id")||"swiper-wrapper-"+"x".repeat(s=void 0===(s=16)?16:s).replace(/x/g,()=>Math.round(16*Math.random()).toString(16));var s=o.params.autoplay&&o.params.autoplay.enabled?"off":"polite";let a,r;i.attr("id",n),i.attr("aria-live",s),w(),o.navigation&&o.navigation.$nextEl&&(a=o.navigation.$nextEl),o.navigation&&o.navigation.$prevEl&&(r=o.navigation.$prevEl),a&&a.length&&g(a,n,e.nextSlideMessage),r&&r.length&&g(r,n,e.prevSlideMessage),f()&&o.pagination.$el.on("keydown",O(o.params.pagination.bulletClass),h),o.$el.on("focus",y,!0),o.$el.on("pointerdown",b,!0),o.$el.on("pointerup",v,!0)})()}),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{o.params.a11y.enabled&&w()}),i("fromEdge toEdge afterInit lock unlock",()=>{var e,t;o.params.a11y.enabled&&(o.params.loop||o.params.rewind||!o.navigation||({$nextEl:e,$prevEl:t}=o.navigation,t&&0{o.params.a11y.enabled&&function(){const i=o.params.a11y;m()&&o.pagination.bullets.each(e=>{const t=L(e);o.params.pagination.clickable&&(s(t),o.params.pagination.renderBullet||(r(t,"button"),d(t,i.paginationBulletMessage.replace(/\{\{index\}\}/,t.index()+1)))),t.is("."+o.params.pagination.bulletActiveClass)?t.attr("aria-current","true"):t.removeAttr("aria-current")})}()}),i("destroy",()=>{o.params.a11y.enabled&&function(){let e,t;l&&0e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),s=e=>{var t=A();let i;i=e?new URL(e):t.location;e=i.pathname.slice(1).split("/").filter(e=>""!==e),t=e.length;return{key:e[t-2],value:e[t-1]}},a=(i,n)=>{const s=A();if(o&&r.params.history.enabled){let e;e=r.params.url?new URL(r.params.url):s.location;const a=r.slides.eq(n);let t=l(a.attr("data-history"));if(0{if(n)for(let e=0,t=r.slides.length;e{n=s(r.params.url),c(r.params.speed,n.value,!1)};i("init",()=>{r.params.history.enabled&&(()=>{const e=A();if(r.params.history){if(!e.history||!e.history.pushState)return r.params.history.enabled=!1,r.params.hashNavigation.enabled=!0;o=!0,n=s(r.params.url),(n.key||n.value)&&(c(0,n.value,r.params.runCallbacksOnInit),r.params.history.replaceState||e.addEventListener("popstate",d))}})()}),i("destroy",()=>{r.params.history.enabled&&(()=>{const e=A();r.params.history.replaceState||e.removeEventListener("popstate",d)})()}),i("transitionEnd _freeModeNoMomentumRelease",()=>{o&&a(r.params.history.key,r.activeIndex)}),i("slideChange",()=>{o&&r.params.cssMode&&a(r.params.history.key,r.activeIndex)})},function(e){let{swiper:s,extendParams:t,emit:i,on:n}=e,a=!1;const r=T(),o=A();t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}});const l=()=>{i("hashChange");var e=r.location.hash.replace("#","");e===s.slides.eq(s.activeIndex).attr("data-hash")||void 0!==(e=s.$wrapperEl.children(`.${s.params.slideClass}[data-hash="${e}"]`).index())&&s.slideTo(e)},c=()=>{if(a&&s.params.hashNavigation.enabled)if(s.params.hashNavigation.replaceState&&o.history&&o.history.replaceState)o.history.replaceState(null,null,"#"+s.slides.eq(s.activeIndex).attr("data-hash")||""),i("hashSet");else{const e=s.slides.eq(s.activeIndex),t=e.attr("data-hash")||e.attr("data-history");r.location.hash=t||"",i("hashSet")}};n("init",()=>{s.params.hashNavigation.enabled&&(()=>{if(!(!s.params.hashNavigation.enabled||s.params.history&&s.params.history.enabled)){a=!0;const i=r.location.hash.replace("#","");if(i)for(let e=0,t=s.slides.length;e{s.params.hashNavigation.enabled&&s.params.hashNavigation.watchState&&L(o).off("hashchange",l)}),n("transitionEnd _freeModeNoMomentumRelease",()=>{a&&c()}),n("slideChange",()=>{a&&s.params.cssMode&&c()})},function(e){let i,{swiper:n,extendParams:t,on:s,emit:a}=e;function r(){if(!n.size)return n.autoplay.running=!1,void(n.autoplay.paused=!1);const e=n.slides.eq(n.activeIndex);let t=n.params.autoplay.delay;e.attr("data-swiper-autoplay")&&(t=e.attr("data-swiper-autoplay")||n.params.autoplay.delay),clearTimeout(i),i=C(()=>{let e;n.params.autoplay.reverseDirection?n.params.loop?(n.loopFix(),e=n.slidePrev(n.params.speed,!0,!0),a("autoplay")):n.isBeginning?n.params.autoplay.stopOnLastSlide?l():(e=n.slideTo(n.slides.length-1,n.params.speed,!0,!0),a("autoplay")):(e=n.slidePrev(n.params.speed,!0,!0),a("autoplay")):n.params.loop?(n.loopFix(),e=n.slideNext(n.params.speed,!0,!0),a("autoplay")):n.isEnd?n.params.autoplay.stopOnLastSlide?l():(e=n.slideTo(0,n.params.speed,!0,!0),a("autoplay")):(e=n.slideNext(n.params.speed,!0,!0),a("autoplay")),(n.params.cssMode&&n.autoplay.running||!1===e)&&r()},t)}function o(){return void 0===i&&!n.autoplay.running&&(n.autoplay.running=!0,a("autoplayStart"),r(),!0)}function l(){return!!n.autoplay.running&&void 0!==i&&(i&&(clearTimeout(i),i=void 0),n.autoplay.running=!1,a("autoplayStop"),!0)}function c(e){n.autoplay.running&&(n.autoplay.paused||(i&&clearTimeout(i),n.autoplay.paused=!0,0!==e&&n.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach(e=>{n.$wrapperEl[0].addEventListener(e,u)}):(n.autoplay.paused=!1,r())))}function d(){var e=T();"hidden"===e.visibilityState&&n.autoplay.running&&c(),"visible"===e.visibilityState&&n.autoplay.paused&&(r(),n.autoplay.paused=!1)}function u(e){n&&!n.destroyed&&n.$wrapperEl&&e.target===n.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach(e=>{n.$wrapperEl[0].removeEventListener(e,u)}),n.autoplay.paused=!1,(n.autoplay.running?r:l)())}function p(){n.params.autoplay.disableOnInteraction?l():(a("autoplayPause"),c()),["transitionend","webkitTransitionEnd"].forEach(e=>{n.$wrapperEl[0].removeEventListener(e,u)})}function h(){n.params.autoplay.disableOnInteraction||(n.autoplay.paused=!1,a("autoplayResume"),r())}n.autoplay={running:!1,paused:!1},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),s("init",()=>{n.params.autoplay.enabled&&(o(),T().addEventListener("visibilitychange",d),n.params.autoplay.pauseOnMouseEnter&&(n.$el.on("mouseenter",p),n.$el.on("mouseleave",h)))}),s("beforeTransitionStart",(e,t,i)=>{n.autoplay.running&&(i||!n.params.autoplay.disableOnInteraction?n.autoplay.pause(t):l())}),s("sliderFirstMove",()=>{n.autoplay.running&&(n.params.autoplay.disableOnInteraction?l:c)()}),s("touchEnd",()=>{n.params.cssMode&&n.autoplay.paused&&!n.params.autoplay.disableOnInteraction&&r()}),s("destroy",()=>{n.$el.off("mouseenter",p),n.$el.off("mouseleave",h),n.autoplay.running&&l(),T().removeEventListener("visibilitychange",d)}),Object.assign(n.autoplay,{pause:c,run:r,start:o,stop:l})},function(e){let{swiper:l,extendParams:t,on:i}=e;t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let n=!1,s=!1;function a(){var e=l.thumbs.swiper;if(e&&!e.destroyed){const i=e.clickedIndex,n=e.clickedSlide;if(!(n&&L(n).hasClass(l.params.thumbs.slideThumbActiveClass)||null==i)){let t;if(t=e.params.loop?parseInt(L(e.clickedSlide).attr("data-swiper-slide-index"),10):i,l.params.loop){let e=l.activeIndex;l.slides.eq(e).hasClass(l.params.slideDuplicateClass)&&(l.loopFix(),l._clientLeft=l.$wrapperEl[0].clientLeft,e=l.activeIndex);const i=l.slides.eq(e).prevAll(`[data-swiper-slide-index="${t}"]`).eq(0).index(),n=l.slides.eq(e).nextAll(`[data-swiper-slide-index="${t}"]`).eq(0).index();t=void 0===i||void 0!==n&&n-el.previousIndex?"next":"prev"}else e=l.realIndex,t=e>l.previousIndex?"next":"prev";r&&(e+="next"===t?a:-1*a),s.visibleSlidesIndexes&&s.visibleSlidesIndexes.indexOf(e)<0&&(s.params.centeredSlides?e=e>i?e-Math.floor(o/2)+1:e+Math.floor(o/2)-1:e>i&&s.params.slidesPerGroup,s.slideTo(e,n?0:void 0))}}}l.thumbs={swiper:null},i("beforeInit",()=>{var e=l.params["thumbs"];e&&e.swiper&&(r(),o(!0))}),i("slideChange update resize observerUpdate",()=>{o()}),i("setTransition",(e,t)=>{const i=l.thumbs.swiper;i&&!i.destroyed&&i.setTransition(t)}),i("beforeDestroy",()=>{const e=l.thumbs.swiper;e&&!e.destroyed&&s&&e.destroy()}),Object.assign(l.thumbs,{init:r,update:o})},function(e){let{swiper:h,extendParams:t,emit:m,once:f}=e;t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(h,{freeMode:{onTouchStart:function(){var e=h.getTranslate();h.setTranslate(e),h.setTransition(0),h.touchEventsData.velocities.length=0,h.freeMode.onTouchEnd({currentPos:h.rtl?h.translate:-h.translate})},onTouchMove:function(){const{touchEventsData:e,touches:t}=h;0===e.velocities.length&&e.velocities.push({position:t[h.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:t[h.isHorizontal()?"currentX":"currentY"],time:b()})},onTouchEnd:function(a){let r=a["currentPos"];const{params:o,$wrapperEl:l,rtlTranslate:c,snapGrid:d,touchEventsData:u}=h,e=b()-u.touchStartTime;if(r<-h.minTranslate())h.slideTo(h.activeIndex);else if(r>-h.maxTranslate())h.slides.lengthh.minTranslate())o.freeMode.momentumBounce?(i-h.minTranslate()>a&&(i=h.minTranslate()+a),t=h.minTranslate(),n=!0,u.allowMomentumBounce=!0):i=h.minTranslate(),o.loop&&o.centeredSlides&&(s=!0);else if(o.freeMode.sticky){let t;for(let e=0;e-i){t=e;break}i=Math.abs(d[t]-i){h.loopFix()}),0!==h.velocity){if(e=c?Math.abs((-i-h.translate)/h.velocity):Math.abs((i-h.translate)/h.velocity),o.freeMode.sticky){const r=Math.abs((c?-i:i)-h.translate),m=h.slidesSizesGrid[h.activeIndex];e=r{h&&!h.destroyed&&u.allowMomentumBounce&&(m("momentumBounce"),h.setTransition(o.speed),setTimeout(()=>{h.setTranslate(t),l.transitionEnd(()=>{h&&!h.destroyed&&h.transitionEnd()})},0))})):h.velocity?(m("_freeModeNoMomentumRelease"),h.updateProgress(i),h.setTransition(e),h.setTranslate(i),h.transitionStart(!0,h.swipeDirection),h.animating||(h.animating=!0,l.transitionEnd(()=>{h&&!h.destroyed&&h.transitionEnd()}))):h.updateProgress(i),h.updateActiveIndex(),h.updateSlidesClasses()}else{if(o.freeMode.sticky)return void h.slideToClosest();o.freeMode&&m("_freeModeNoMomentumRelease")}(!o.freeMode.momentum||e>=o.longSwipesMs)&&(h.updateProgress(),h.updateActiveIndex(),h.updateSlidesClasses())}}}})},function(e){let u,p,h,{swiper:m,extendParams:t}=e;t({grid:{rows:1,fill:"column"}}),m.grid={initSlides:e=>{var t=m.params["slidesPerView"],{rows:i,fill:n}=m.params.grid;p=u/i,h=Math.floor(e/i),u=Math.floor(e/i)===e/i?e:Math.ceil(e/i)*i,"auto"!==t&&"row"===n&&(u=Math.max(u,t*i))},updateSlide:(e,t,i,n)=>{var{slidesPerGroup:s,spaceBetween:a}=m.params,{rows:r,fill:o}=m.params.grid;let l,c,d;if("row"===o&&1h||c===h&&d===r-1)&&(d+=1,d>=r&&(d=0,c+=1))):(d=Math.floor(e/p),c=e-d*p);t.css(n("margin-top"),0!==d?a&&a+"px":"")},updateWrapperSize:(i,n,e)=>{var{spaceBetween:t,centeredSlides:s,roundLengths:a}=m.params,r=m.params.grid["rows"];if(m.virtualSize=(i+t)*u,m.virtualSize=Math.ceil(m.virtualSize/r)-t,m.$wrapperEl.css({[e("width")]:m.virtualSize+t+"px"}),s){n.splice(0,n.length);const i=[];for(let t=0;tt?r+1:r;const l=[];for(let e=o-1;e>=t;--e){const t=n.slides.eq(e);t.remove(),l.unshift(t)}if("object"==typeof i&&"length"in i){for(let e=0;et?r+i.length:r}else s.append(i);for(let e=0;e{const n=r["slides"],s=r.params.fadeEffect;for(let i=0;i{var t=r.params.fadeEffect["transformEl"];(t?r.slides.find(t):r.slides).transition(e),P({swiper:r,duration:e,transformEl:t,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!r.params.cssMode})})},function(e){let{swiper:f,extendParams:t,on:i}=e;t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const g=(e,t,i)=>{let n=i?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),s=i?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===n.length&&(n=L(`
`),e.append(n)),0===s.length&&(s=L(`
`),e.append(s)),n.length&&(n[0].style.opacity=Math.max(-t,0)),s.length&&(s[0].style.opacity=Math.max(t,0))};D({effect:"cube",swiper:f,on:i,setTranslate:()=>{const{$el:e,$wrapperEl:t,slides:o,width:i,height:n,rtlTranslate:l,size:c,browser:s}=f,d=f.params.cubeEffect,u=f.isHorizontal(),p=f.virtual&&f.params.virtual.enabled;let a,h=0;d.shadow&&(u?(a=t.find(".swiper-cube-shadow"),0===a.length&&(a=L('
'),t.append(a)),a.css({height:i+"px"})):(a=e.find(".swiper-cube-shadow"),0===a.length&&(a=L('
'),e.append(a))));for(let r=0;r{const{$el:t,slides:i}=f;i.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),f.params.cubeEffect.shadow&&!f.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)},recreateShadows:()=>{const i=f.isHorizontal();f.slides.each(e=>{var t=Math.max(Math.min(e.progress,1),-1);g(L(e),t,i)})},getEffectParams:()=>f.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function(e){let{swiper:u,extendParams:t,on:i}=e;t({flipEffect:{slideShadows:!0,limitRotation:!0,transformEl:null}});const p=(e,t,i)=>{let n=u.isHorizontal()?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),s=u.isHorizontal()?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===n.length&&(n=z(i,e,u.isHorizontal()?"left":"top")),0===s.length&&(s=z(i,e,u.isHorizontal()?"right":"bottom")),n.length&&(n[0].style.opacity=Math.max(-t,0)),s.length&&(s[0].style.opacity=Math.max(t,0))};D({effect:"flip",swiper:u,on:i,setTranslate:()=>{const{slides:r,rtlTranslate:o}=u,l=u.params.flipEffect;for(let a=0;a{var t=u.params.flipEffect["transformEl"];(t?u.slides.find(t):u.slides).transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),P({swiper:u,duration:e,transformEl:t})},recreateShadows:()=>{const n=u.params.flipEffect;u.slides.each(e=>{var t=L(e);let i=t[0].progress;u.params.flipEffect.limitRotation&&(i=Math.max(Math.min(e.progress,1),-1)),p(t,i,n)})},getEffectParams:()=>u.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!u.params.cssMode})})},function(e){let{swiper:y,extendParams:t,on:i}=e;t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0,transformEl:null}}),D({effect:"coverflow",swiper:y,on:i,setTranslate:()=>{const{width:e,height:l,slides:c,slidesSizesGrid:d}=y,u=y.params.coverflowEffect,p=y.isHorizontal(),h=y.translate,m=p?e/2-h:l/2-h,f=p?u.rotate:-u.rotate,g=u.depth;for(let o=0,e=c.length;o{var t=y.params.coverflowEffect["transformEl"];(t?y.slides.find(t):y.slides).transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function(e){let{swiper:y,extendParams:t,on:i}=e;t({creativeEffect:{transformEl:null,limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});D({effect:"creative",swiper:y,on:i,setTranslate:()=>{const{slides:s,$wrapperEl:e,slidesSizesGrid:a}=y,r=y.params.creativeEffect,o=r["progressMultiplier"],l=y.params.centeredSlides;if(l){const s=a[0]/2-y.params.slidesOffsetBefore||0;e.transform(`translateX(calc(50% - ${s}px))`)}for(let n=0;n{g[t]=`calc(${e}px + (${t=i.translate[t],"string"==typeof t?t:t+"px"} * ${Math.abs(m*o)}))`}),b.forEach((e,t)=>{b[t]=i.rotate[t]*Math.abs(m*o)}),a[0].style.zIndex=-Math.abs(Math.round(h))+s.length;var c=g.join(", "),d=`rotateX(${b[0]}deg) rotateY(${b[1]}deg) rotateZ(${b[2]}deg)`,u=e<0?`scale(${1+(1-i.scale)*e*o})`:`scale(${1-(1-i.scale)*e*o})`,p=e<0?1+(1-i.opacity)*e*o:1-(1-i.opacity)*e*o,u=`translate3d(${c}) ${d} `+u;if(t&&i.shadow||!t){let e=a.children(".swiper-slide-shadow");if(0===e.length&&i.shadow&&(e=z(r,a)),e.length){const y=r.shadowPerProgress?m*(1/r.limitProgress):m;e[0].style.opacity=Math.min(Math.max(Math.abs(y),0),1)}}const v=$(r,a);v.transform(u).css({opacity:p}),i.origin&&v.css("transform-origin",i.origin)}},setTransition:e=>{var t=y.params.creativeEffect["transformEl"];(t?y.slides.find(t):y.slides).transition(e).find(".swiper-slide-shadow").transition(e),P({swiper:y,duration:e,transformEl:t,allSlides:!0})},perspective:()=>y.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!y.params.cssMode})})},function(e){let{swiper:y,extendParams:t,on:i}=e;t({cardsEffect:{slideShadows:!0,transformEl:null,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),D({effect:"cards",swiper:y,on:i,setTranslate:()=>{const{slides:o,activeIndex:l}=y,c=y.params.cardsEffect,{startTranslate:d,isTouched:u}=y.touchEventsData,p=y.translate;for(let r=0;r{throw Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=()=>{throw Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(e=>{e=t[e];"object"!=typeof e||Object.isFrozen(e)||i(e)}),t}e.exports=i,e.exports.default=i;var p=e.exports;class O{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function t(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function l(e,...t){const i=Object.create(null);for(const t in e)i[t]=e[t];return t.forEach(e=>{for(const t in e)i[t]=e[t]}),i}const n=e=>!!e.kind;class s{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=t(e)}openNode(t){if(n(t)){let e=t.kind;e=t.sublanguage?"language-"+e:((e,{prefix:t})=>{if(e.includes(".")){const i=e.split(".");return[""+t+i.shift(),...i.map((e,t)=>""+e+"_".repeat(t+1))].join(" ")}return""+t+e})(e,{prefix:this.classPrefix}),this.span(e)}}closeNode(e){n(e)&&(this.buffer+="")}value(){return this.buffer}span(e){this.buffer+=``}}class a{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){e={kind:e,children:[]};this.add(e),this.stack.push(e)}closeNode(){if(1this._walk(t,e)),t.closeNode(e)),t}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every(e=>"string"==typeof e)?e.children=[e.children.join("")]:e.children.forEach(e=>{a._collapse(e)}))}}class h extends a{constructor(e){super(),this.options=e}addKeyword(e,t){""!==e&&(this.openNode(t),this.addText(e),this.closeNode())}addText(e){""!==e&&this.add(e)}addSublanguage(e,t){const i=e.root;i.kind=t,i.sublanguage=!0,this.add(i)}toHTML(){return new s(this,this.options).value()}finalize(){return!0}}function c(e){return e?"string"==typeof e?e:e.source:null}function A(e){return L("(?=",e,")")}function f(e){return L("(?:",e,")?")}function L(...e){return e.map(e=>c(e)).join("")}function I(...e){return"("+(("object"==typeof(i=(t=e)[t.length-1])&&i.constructor===Object?(t.splice(t.length-1,1),i):{}).capture?"":"?:")+e.map(e=>c(e)).join("|")+")";var t,i}function d(e){return RegExp(e.toString()+"|").exec("").length-1}const r=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function u(e,{joinWith:t}){let s=0;return e.map(e=>{s+=1;var t=s;let i=c(e),n="";for(;0`(${e})`).join(t)}const o="[a-zA-Z]\\w*",m="[a-zA-Z_]\\w*",g="\\b\\d+(\\.\\d+)?",b="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",v="\\b(0b[01]+)",y={begin:"\\\\[\\s\\S]",relevance:0},w={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[y]},_={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[y]},E=(e,t,i={})=>{const n=l({scope:"comment",begin:e,end:t,contains:[]},i);n.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});i=I("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return n.contains.push({begin:L(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),n},x=E("//","$"),T=E("/\\*","\\*/"),C=E("#","$");var D=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:o,UNDERSCORE_IDENT_RE:m,NUMBER_RE:g,C_NUMBER_RE:b,BINARY_NUMBER_RE:v,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{var t=/^#![ ]*\//;return e.binary&&(e.begin=L(t,/.*\b/,e.binary,/\b.*/)),l({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},BACKSLASH_ESCAPE:y,APOS_STRING_MODE:w,QUOTE_STRING_MODE:_,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT:E,C_LINE_COMMENT_MODE:x,C_BLOCK_COMMENT_MODE:T,HASH_COMMENT_MODE:C,NUMBER_MODE:{scope:"number",begin:g,relevance:0},C_NUMBER_MODE:{scope:"number",begin:b,relevance:0},BINARY_NUMBER_MODE:{scope:"number",begin:v,relevance:0},REGEXP_MODE:{begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[y,{begin:/\[/,end:/\]/,relevance:0,contains:[y]}]}]},TITLE_MODE:{scope:"title",begin:o,relevance:0},UNDERSCORE_TITLE_MODE:{scope:"title",begin:m,relevance:0},METHOD_GUARD:{begin:"\\.\\s*[a-zA-Z_]\\w*",relevance:0},END_SAME_AS_BEGIN:e=>Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})});function S(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}const k=(t,e)=>{if(t.beforeMatch){if(t.starts)throw Error("beforeMatch cannot be used with starts");const i=Object.assign({},t);Object.keys(t).forEach(e=>{delete t[e]}),t.keywords=i.keywords,t.begin=L(i.beforeMatch,A(i.begin)),t.starts={relevance:0,contains:[Object.assign(i,{endsParent:!0})]},t.relevance=0,delete i.beforeMatch}},M=["of","and","for","in","not","or","if","then","parent","list","value"];function N(t,n,e="keyword"){const s=Object.create(null);return"string"==typeof t?i(e,t.split(" ")):Array.isArray(t)?i(e,t):Object.keys(t).forEach(e=>{Object.assign(s,N(t[e],n,e))}),s;function i(i,e){(e=n?e.map(e=>e.toLowerCase()):e).forEach(e=>{var t=e.split("|");s[t[0]]=[i,(e=t[0],(t=t[1])?Number(t):(e=>M.includes(e.toLowerCase()))(e)?0:1)]})}}const $={},P=e=>{console.error(e)},z=(e,...t)=>{console.log("WARN: "+e,...t)},R=(e,t)=>{$[e+"/"+t]||(console.log(`Deprecated as of ${e}. `+t),$[e+"/"+t]=!0)},B=Error();function j(e,t,{key:i}){let n=0;const s=e[i],a={},r={};for(let e=1;e<=t.length;e++)r[e+n]=s[e],a[e+n]=!0,n+=d(t[e-1]);e[i]=r,e[i]._emit=a,e[i]._multi=!0}function F(e){var t;(t=e).scope&&"object"==typeof t.scope&&null!==t.scope&&(t.beginScope=t.scope,delete t.scope),"string"==typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope}),(e=>{if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw P("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),B;if("object"!=typeof e.beginScope||null===e.beginScope)throw P("beginScope must be object"),B;j(e,e.begin,{key:"beginScope"}),e.begin=u(e.begin,{joinWith:""})}})(e),(e=>{if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw P("skip, excludeEnd, returnEnd not compatible with endScope: {}"),B;if("object"!=typeof e.endScope||null===e.endScope)throw P("endScope must be object"),B;j(e,e.end,{key:"endScope"}),e.end=u(e.end,{joinWith:""})}})(e)}function H(a){function r(e,t){return RegExp(c(e),"m"+(a.case_insensitive?"i":"")+(t?"g":""))}class t{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=d(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);var e=this.regexes.map(e=>e[1]);this.matcherRe=r(u(e,{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;var i=t.findIndex((e,t)=>0i.addRule(e,t)),i.compile(),this.multiRegexes[e]=i,i}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let i=t.exec(e);if(this.resumingScanAtSamePosition()&&(!i||i.index!==this.lastIndex)){const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,i=t.exec(e)}return i&&(this.regexIndex+=i.position+1,this.regexIndex===this.count&&this.considerAll()),i}}if(a.compilerExtensions||(a.compilerExtensions=[]),a.contains&&a.contains.includes("self"))throw Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return a.classNameAliases=l(a.classNameAliases||{}),function t(i,n){const s=i;if(i.isCompiled)return s;[function(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)},function(e,t){if(e.match){if(e.begin||e.end)throw Error("begin & end are not supported with match");e.begin=e.match,delete e.match}},F,k].forEach(e=>e(i,n)),a.compilerExtensions.forEach(e=>e(i,n)),i.__beforeBegin=null,[function(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=S,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))},function(e,t){Array.isArray(e.illegal)&&(e.illegal=I(...e.illegal))},function(e,t){void 0===e.relevance&&(e.relevance=1)}].forEach(e=>e(i,n)),i.isCompiled=!0;let e=null;return"object"==typeof i.keywords&&i.keywords.$pattern&&(i.keywords=Object.assign({},i.keywords),e=i.keywords.$pattern,delete i.keywords.$pattern),e=e||/\w+/,i.keywords&&(i.keywords=N(i.keywords,a.case_insensitive)),s.keywordPatternRe=r(e,!0),n&&(i.begin||(i.begin=/\B|\b/),s.beginRe=r(i.begin),i.end||i.endsWithParent||(i.end=/\B|\b/),i.end&&(s.endRe=r(i.end)),s.terminatorEnd=c(i.end)||"",i.endsWithParent&&n.terminatorEnd&&(s.terminatorEnd+=(i.end?"|":"")+n.terminatorEnd)),i.illegal&&(s.illegalRe=r(i.illegal)),i.contains||(i.contains=[]),i.contains=[].concat(...i.contains.map(e=>(t=>(t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(e=>l(t,{variants:null},e))),t.cachedVariants||(function e(t){return!!t&&(t.endsWithParent||e(t.starts))}(t)?l(t,{starts:t.starts?l(t.starts):null}):Object.isFrozen(t)?l(t):t)))("self"===e?i:e))),i.contains.forEach(e=>{t(e,s)}),i.starts&&t(i.starts,n),s.matcher=(e=>{const t=new o;return e.contains.forEach(e=>t.addRule(e.begin,{rule:e,type:"begin"})),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t})(s),s}(a)}const q=t,W=l,U=Symbol("nomatch");var G=(n=>{const x=Object.create(null),s=Object.create(null),a=[];let T=!0;const C="Could not find the language '{}', did you forget to load/include a language module?",l={disableAutodetect:!0,name:"Plain text",contains:[]};let S={ignoreUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:h};function r(e){return S.noHighlightRe.test(e)}function o(e,t,i){let n="",s="";"object"==typeof t?(n=e,i=t.ignoreIllegals,s=t.language):(R("10.7.0","highlight(lang, code, ...args) has been deprecated."),R("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),s=e,n=t),void 0===i&&(i=!0);t={code:n,language:s};u("before:highlight",t);const a=t.result||k(t.language,t.code,i);return a.code=t.code,u("after:highlight",a),a}function k(n,s,a,e){const r=Object.create(null);function o(){if(!f.keywords)return b.addText(v),0;let e=0;f.keywordPatternRe.lastIndex=0;let t=f.keywordPatternRe.exec(v),i="";for(;t;){i+=v.substring(e,t.index);var n=h.case_insensitive?t[0].toLowerCase():t[0],s=(s=n,f.keywords[s]);if(s){const[e,a]=s;if(b.addText(i),i="",r[n]=(r[n]||0)+1,r[n]<=7&&(y+=a),e.startsWith("_"))i+=t[0];else{const i=h.classNameAliases[e]||e;b.addKeyword(t[0],i)}}else i+=t[0];e=f.keywordPatternRe.lastIndex,t=f.keywordPatternRe.exec(v)}var s;i+=v.substr(e),b.addText(i)}function l(){(null!=f.subLanguage?()=>{if(""!==v){let e=null;if("string"==typeof f.subLanguage){if(!x[f.subLanguage])return void b.addText(v);e=k(f.subLanguage,v,!0,g[f.subLanguage]),g[f.subLanguage]=e._top}else e=M(v,f.subLanguage.length?f.subLanguage:null);0(e=e&&e.exec(n))&&0===e.index)(t.endRe);if(s){if(t["on:end"]){const n=new O(t);t["on:end"](i,n),n.isMatchIgnored&&(s=!1)}if(s){for(;t.endsParent&&t.parent;)t=t.parent;return t}}if(t.endsWithParent)return e(t.parent,i,n)}(f,e,i);if(!n)return U;i=f;for(f.endScope&&f.endScope._wrap?(l(),b.addKeyword(t,f.endScope._wrap)):f.endScope&&f.endScope._multi?(l(),c(f.endScope,e)):i.skip?v+=t:(i.returnEnd||i.excludeEnd||(v+=t),l(),i.excludeEnd&&(v=t));f.scope&&b.closeNode(),f.skip||f.subLanguage||(y+=f.relevance),f=f.parent,f!==n.parent;);return n.starts&&d(n.starts,e),i.returnEnd?0:t.length}let p={};function t(e,t){var i=t&&t[0];if(v+=e,null==i)return l(),0;if("begin"===p.type&&"end"===t.type&&p.index===t.index&&""===i){if(v+=s.slice(t.index,t.index+1),T)return 1;{const e=Error(`0 width match regex (${n})`);throw e.languageName=n,e.badRule=p.rule,e}}if("begin"===(p=t).type)return(e=>{const t=e[0],i=e.rule,n=new O(i),s=[i.__beforeBegin,i["on:begin"]];for(const i of s)if(i&&(i(e,n),n.isMatchIgnored))return a=t,0===f.matcher.regexIndex?(v+=a[0],1):(E=!0,0);var a;return i.skip?v+=t:(i.excludeBegin&&(v+=t),l(),i.returnBegin||i.excludeBegin||(v=t)),d(i,e),i.returnBegin?0:t.length})(t);if("illegal"===t.type&&!a){const n=Error('Illegal lexeme "'+i+'" for mode "'+(f.scope||"")+'"');throw n.mode=f,n}if("end"===t.type){const n=u(t);if(n!==U)return n}if("illegal"===t.type&&""===i)return 1;if(1e5<_&&_>3*t.index)throw Error("potential infinite loop, way more iterations than matches");return v+=i,i.length}const h=N(n);if(!h)throw P(C.replace("{}",n)),Error('Unknown language: "'+n+'"');var i=H(h);let m="",f=e||i;const g={},b=new S.__emitter(S);(()=>{const t=[];for(let e=f;e!==h;e=e.parent)e.scope&&t.unshift(e.scope);t.forEach(e=>b.openNode(e))})();let v="",y=0,w=0,_=0,E=!1;try{for(f.matcher.considerAll();;){_++,E?E=!1:f.matcher.considerAll(),f.matcher.lastIndex=w;const n=f.matcher.exec(s);if(!n)break;const x=t(s.substring(w,n.index),n);w=n.index+x}return t(s.substr(w)),b.closeAllNodes(),b.finalize(),m=b.toHTML(),{language:n,value:m,relevance:y,illegal:!1,_emitter:b,_top:f}}catch(e){if(e.message&&e.message.includes("Illegal"))return{language:n,value:q(s),illegal:!0,relevance:0,_illegalBy:{message:e.message,index:w,context:s.slice(w-100,w+100),mode:e.mode,resultSoFar:m},_emitter:b};if(T)return{language:n,value:q(s),illegal:!1,relevance:0,errorRaised:e,_emitter:b,_top:f};throw e}}function M(t,e){e=e||S.languages||Object.keys(x);const i=(e=>{const t={value:q(e),illegal:!1,relevance:0,_top:l,_emitter:new S.__emitter(S)};return t._emitter.addText(e),t})(t),n=e.filter(N).filter(d).map(e=>k(e,t,!1));n.unshift(i);const s=n.sort((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(N(e.language).supersetOf===t.language)return 1;if(N(t.language).supersetOf===e.language)return-1}return 0}),[a,r]=s,o=a;return o.secondBest=r,o}function t(e){var t,i,n=(e=>{let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";var i=S.languageDetectRe.exec(t);if(i){const t=N(i[1]);return t||(z(C.replace("{}",i[1])),z("Falling back to no-highlight mode for this block.",e)),t?i[1]:"no-highlight"}return t.split(/\s+/).find(e=>r(e)||N(e))})(e);r(n)||(u("before:highlightElement",{el:e,language:n}),!S.ignoreUnescapedHTML&&0{i=t&&s[t]||i;e.classList.add("hljs"),e.classList.add("language-"+i)})(e,n,i.language),e.result={language:i.language,re:i.relevance,relevance:i.relevance},i.secondBest&&(e.secondBest={language:i.secondBest.language,relevance:i.secondBest.relevance}),u("after:highlightElement",{el:e,result:i,text:t}))}let e=!1;function i(){"loading"!==document.readyState?document.querySelectorAll(S.cssSelector).forEach(t):e=!0}function N(e){return e=(e||"").toLowerCase(),x[e]||x[s[e]]}function c(e,{languageName:t}){(e="string"==typeof e?[e]:e).forEach(e=>{s[e.toLowerCase()]=t})}function d(e){e=N(e);return e&&!e.disableAutodetect}function u(e,t){const i=e;a.forEach(e=>{e[i]&&e[i](t)})}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",()=>{e&&i()},!1),Object.assign(n,{highlight:o,highlightAuto:M,highlightAll:i,highlightElement:t,highlightBlock:e=>(R("10.7.0","highlightBlock will be removed entirely in v12.0"),R("10.7.0","Please use highlightElement now."),t(e)),configure:e=>{S=W(S,e)},initHighlighting:()=>{i(),R("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:()=>{i(),R("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:(t,e)=>{let i=null;try{i=e(n)}catch(e){if(P("Language definition for '{}' could not be registered.".replace("{}",t)),!T)throw e;P(e),i=l}i.name||(i.name=t),x[t]=i,i.rawDefinition=e.bind(null,n),i.aliases&&c(i.aliases,{languageName:t})},unregisterLanguage:e=>{delete x[e];for(const x of Object.keys(s))s[x]===e&&delete s[x]},listLanguages:()=>Object.keys(x),getLanguage:N,registerAliases:c,autoDetection:d,inherit:W,addPlugin:e=>{var t;(t=e)["before:highlightBlock"]&&!t["before:highlightElement"]&&(t["before:highlightElement"]=e=>{t["before:highlightBlock"](Object.assign({block:e.el},e))}),t["after:highlightBlock"]&&!t["after:highlightElement"]&&(t["after:highlightElement"]=e=>{t["after:highlightBlock"](Object.assign({block:e.el},e))}),a.push(e)}}),n.debugMode=()=>{T=!1},n.safeMode=()=>{T=!0},n.versionString="11.2.0";for(const n in D)"object"==typeof D[n]&&p(D[n]);return Object.assign(n,D),n})({});const X=e=>({IMPORTANT:{scope:"meta",begin:"!important"},HEXCOLOR:{scope:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),Y=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],K=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],V=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],Z=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],Q=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse(),J=V.concat(Z);var ee="\\.([0-9](_*[0-9])*)",e="[0-9a-fA-F](_*[0-9a-fA-F])*",te={className:"number",variants:[{begin:`(\\b([0-9](_*[0-9])*)((${ee})|\\.)?|(${ee}))[eE][+-]?([0-9](_*[0-9])*)[fFdD]?\\b`},{begin:`\\b([0-9](_*[0-9])*)((${ee})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${ee})[fFdD]?\\b`},{begin:"\\b([0-9](_*[0-9])*)[fFdD]\\b"},{begin:`\\b0[xX]((${e})\\.?|(${e})?\\.(${e}))[pP][+-]?([0-9](_*[0-9])*)[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${e})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};const ie="[A-Za-z$_][0-9A-Za-z$_]*",ne=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],se=["true","false","null","undefined","NaN","Infinity"],ae=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],re=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],oe=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],le=["arguments","this","super","console","window","document","localStorage","module","global"],ce=[].concat(oe,ae,re);function de(e){const t=ie,i=/<[A-Za-z0-9\\._:-]+/,n=/\/[A-Za-z0-9\\._:-]+>|\/>/,s=(e,t)=>{var i=e[0].length+e.index,n=e.input[i];"<"!==n?">"===n&&([n,e]=[e,{after:i}["after"]],i="",C={match:[/const|var|let/,/\s+/,t,/\s*/,/=\s*/,A(T)],className:{1:"keyword",3:"title.function"},contains:[b]};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:g},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,u,p,h,l,y,{className:"attr",begin:t+A(":"),relevance:0},C,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[h,e.REGEXP_MODE,{className:"function",begin:T,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:g}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{begin:i,"on:begin":s,end:n}],subLanguage:"xml",contains:[{begin:i,end:n,skip:!0,contains:["self"]}]}]},w,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[b,e.inherit(e.TITLE_MODE,{begin:t,className:"title.function"})]},{match:/\.\.\./,relevance:0},E,{match:"\\$"+t,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[b]},_,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},v,x,{match:/\$[(.]/}]}}const ue=e=>L(/\b/,e,/\w$/.test(e)?/\b/:/\B/),pe=["Protocol","Type"].map(ue),he=["init","self"].map(ue),me=["Any","Self"],fe=["actor","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],ge=["false","nil","true"],be=["assignment","associativity","higherThan","left","lowerThan","none","right"],ve=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],ye=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],we=I(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),_e=I(we,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),Ee=L(we,_e,"*"),xe=I(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),Te=I(xe,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),Ce=L(xe,Te,"*"),Se=L(/[A-Z]/,Te,"*"),ke=["autoclosure",L(/convention\(/,I("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",L(/objc\(/,Ce,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],Me=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];var Ne=Object.freeze({__proto__:null,grmr_bash:e=>{var t={},i={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[t]}]};Object.assign(t,{className:"variable",variants:[{begin:L(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},i]});const n={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},s={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},a={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t,n]};n.contains.push(a);var r={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,t]},o=e.SHEBANG({binary:"(fish|bash|zsh|sh|csh|ksh|tcsh|dash|scsh)",relevance:10}),i={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:["if","then","else","elif","fi","for","while","in","do","done","case","esac","function"],literal:["true","false"],built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[o,e.SHEBANG(),i,r,e.HASH_COMMENT_MODE,s,a,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},t]}},grmr_c:e=>{const t=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="[a-zA-Z_]\\w*::",n="(decltype\\(auto\\)|"+f(i)+"[a-zA-Z_]\\w*"+f("<[^<>]+>")+")",s={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},a={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},r={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},o={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(a,{className:"string"}),{className:"string",begin:/<.*?>/},t,e.C_BLOCK_COMMENT_MODE]},l={className:"title",begin:f(i)+e.IDENT_RE,relevance:0},c=f(i)+e.IDENT_RE+"\\s*\\(",d={keyword:["asm","auto","break","case","const","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","static","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},u=[o,s,t,e.C_BLOCK_COMMENT_MODE,r,a],p={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:d,contains:u.concat([{begin:/\(/,end:/\)/,keywords:d,contains:u.concat(["self"]),relevance:0}]),relevance:0},h={begin:"("+n+"[\\*&\\s]+)+"+c,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:d,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:"decltype\\(auto\\)",keywords:d,relevance:0},{begin:c,returnBegin:!0,contains:[e.inherit(l,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:d,relevance:0,contains:[t,e.C_BLOCK_COMMENT_MODE,a,r,s,{begin:/\(/,end:/\)/,keywords:d,relevance:0,contains:["self",t,e.C_BLOCK_COMMENT_MODE,a,r,s]}]},s,t,e.C_BLOCK_COMMENT_MODE,o]};return{name:"C",aliases:["h"],keywords:d,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:o,strings:a,keywords:d}}},grmr_cpp:e=>{const t=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="[a-zA-Z_]\\w*::",n="(?!struct)(decltype\\(auto\\)|"+f(i)+"[a-zA-Z_]\\w*"+f("<[^<>]+>")+")",s={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},a={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},r={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},o={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(a,{className:"string"}),{className:"string",begin:/<.*?>/},t,e.C_BLOCK_COMMENT_MODE]},l={className:"title",begin:f(i)+e.IDENT_RE,relevance:0},c=f(i)+e.IDENT_RE+"\\s*\\(",d={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","signed","sizeof","static","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","unsigned","using","virtual","volatile","while","xor","xor_eq,"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},u={className:"function.dispatch",relevance:0,keywords:{_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:L(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!while)/,e.IDENT_RE,A(/(<[^<>]+>|)\s*\(/))},p=[u,o,s,t,e.C_BLOCK_COMMENT_MODE,r,a],h={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:d,contains:p.concat([{begin:/\(/,end:/\)/,keywords:d,contains:p.concat(["self"]),relevance:0}]),relevance:0},m={className:"function",begin:"("+n+"[\\*&\\s]+)+"+c,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:d,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:"decltype\\(auto\\)",keywords:d,relevance:0},{begin:c,returnBegin:!0,contains:[l],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[a,r]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:d,relevance:0,contains:[t,e.C_BLOCK_COMMENT_MODE,a,r,s,{begin:/\(/,end:/\)/,keywords:d,relevance:0,contains:["self",t,e.C_BLOCK_COMMENT_MODE,a,r,s]}]},s,t,e.C_BLOCK_COMMENT_MODE,o]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:d,illegal:"",keywords:d,contains:["self",s]},{begin:e.IDENT_RE+"::",keywords:d},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}},grmr_csharp:e=>{const t={keyword:["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"]),built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],literal:["default","false","null","true"]},i=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),n={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},s={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},a=e.inherit(s,{illegal:/\n/}),r={className:"subst",begin:/\{/,end:/\}/,keywords:t},o=e.inherit(r,{illegal:/\n/}),l={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,o]},c={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},r]},d=e.inherit(c,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},o]});r.contains=[c,l,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,n,e.C_BLOCK_COMMENT_MODE],o.contains=[d,l,a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,n,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];var u={variants:[c,l,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},p={begin:"<",end:">",contains:[{beginKeywords:"in out"},i]},h=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",m={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:t,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},u,n,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},i,p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[i,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[i,p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+h+"\\s+)+"+e.IDENT_RE+"\\s*(<.+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:t,contains:[{beginKeywords:"public private protected static internal protected abstract async extern override unsafe virtual new sealed partial",relevance:0},{begin:e.IDENT_RE+"\\s*(<.+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,p],relevance:0},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,relevance:0,contains:[u,n,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},m]}},grmr_css:e=>{var t=X(e),i=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[e.C_BLOCK_COMMENT_MODE,{begin:/-(webkit|moz|ms|o)-(?=[a-z])/},t.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+V.join("|")+")"},{begin:"::("+Z.join("|")+")"}]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Q.join("|")+")\\b"},{begin:":",end:"[;}]",contains:[t.HEXCOLOR,t.IMPORTANT,t.CSS_NUMBER_MODE,...i,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},{className:"built_in",begin:/[\w-]+(?=\()/}]},{begin:A(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:/@-?\w[\w]*(-\w+)*/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:K.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...i,t.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+Y.join("|")+")\\b"}]}},grmr_diff:e=>({name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:I(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:I(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}),grmr_go:e=>{var t={keyword:["break","default","func","interface","select","case","map","struct","chan","else","goto","package","switch","const","fallthrough","if","range","type","continue","for","import","return","var","go","defer","bool","byte","complex64","complex128","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:t,illegal:"{const t={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},i=e.COMMENT();i.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];var n={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},s={className:"literal",begin:/\bon|off|true|false|yes|no\b/},a={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},r={begin:/\[/,end:/\]/,contains:[i,s,n,a,t,"self"],relevance:0},e=I(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/);return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[i,{className:"section",begin:/\[+/,end:/\]+/},{begin:L(e,"(\\s*\\.\\s*",e,")*",A(/\s*=\s*[^#\s]/)),className:"attr",starts:{end:/$/,contains:[i,r,s,n,a,t]}}]}},grmr_java:e=>{var t="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",i=t+function t(i,n,s){return-1===s?"":i.replace(n,e=>t(i,n,s-1))}("(?:<"+t+"~~~(?:\\s*,\\s*"+t+"~~~)*>)?",/~~~/g,2),n={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},s={className:"meta",begin:"@"+t,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},a={className:"params",begin:/\(/,end:/\)/,keywords:n,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:n,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,t],className:{1:"keyword",3:"title.class"}},{begin:[t,/\s+/,t,/\s+/,/=/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,t],className:{1:"keyword",3:"title.class"},contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+i+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:n,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:n,relevance:0,contains:[s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,te,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},te,s]}},grmr_javascript:de,grmr_json:e=>({name:"JSON",contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/,className:"punctuation",relevance:0},e.QUOTE_STRING_MODE,{beginKeywords:"true false null"},e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}),grmr_kotlin:e=>{const t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},i={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},n={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},s={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},a={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[s,n]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,s,n]}]};n.contains.push(a);const r={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},o={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(a,{className:"string"})]}]},l=te,c=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),d={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},u=d;return u.variants[1].contains=[d],d.variants[1].contains=[u],{name:"Kotlin",aliases:["kt","kts"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,c,{className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},i,r,o,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[d,e.C_LINE_COMMENT_MODE,c],relevance:0},e.C_LINE_COMMENT_MODE,c,r,o,a,e.C_NUMBER_MODE]},c]},{className:"class",beginKeywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,]|$/,excludeBegin:!0,returnEnd:!0},r,o]},a,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},l]}},grmr_less:e=>{const t=X(e),i=J,n="([\\w-]+|@\\{[\\w-]+\\})",s=[],a=[],r=e=>({className:"string",begin:"~?"+e+".*?"+e}),o=(e,t,i)=>({className:e,begin:t,relevance:i}),l={$pattern:/[a-z-]+/,keyword:"and or not only",attribute:K.join(" ")},c={begin:"\\(",end:"\\)",contains:a,keywords:l,relevance:0};a.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r("'"),r('"'),t.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},t.HEXCOLOR,c,o("variable","@@?[\\w-]+",10),o("variable","@\\{[\\w-]+\\}"),o("built_in","~?`[^`]*?`"),{className:"attribute",begin:"[\\w-]+\\s*:",end:":",returnBegin:!0,excludeEnd:!0},t.IMPORTANT);var d=a.concat({begin:/\{/,end:/\}/,contains:s}),u={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(a)},p={begin:n+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Q.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:a}}]},h={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:l,returnEnd:!0,contains:a,relevance:0}},m={className:"variable",variants:[{begin:"@[\\w-]+\\s*:",relevance:15},{begin:"@[\\w-]+"}],starts:{end:"[;}]",returnEnd:!0,contains:d}},u={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:n,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,u,o("keyword","all\\b"),o("variable","@\\{[\\w-]+\\}"),{begin:"\\b("+Y.join("|")+")\\b",className:"selector-tag"},o("selector-tag",n+"%?",0),o("selector-id","#"+n),o("selector-class","\\."+n,0),o("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+V.join("|")+")"},{className:"selector-pseudo",begin:"::("+Z.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:d},{begin:"!important"}]},d={begin:`[\\w-]+:(:)?(${i.join("|")})`,returnBegin:!0,contains:[u]};return s.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,h,m,d,p,u),{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:s}},grmr_lua:e=>{const t="\\[=*\\[",i="\\]=*\\]",n={begin:t,end:i,contains:["self"]},s=[e.COMMENT("--(?!\\[=*\\[)","$"),e.COMMENT("--\\[=*\\[",i,{contains:[n],relevance:10})];return{name:"Lua",keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:s.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:s}].concat(s)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:i,contains:[n],relevance:5}])}},grmr_makefile:e=>{var t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%{var t=L(/[A-Z_]/,f(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),i={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},n={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},s=e.inherit(n,{begin:/\(/,end:/\)/}),a=e.inherit(e.APOS_STRING_MODE,{className:"string"}),r=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),o={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin://,relevance:10,contains:[n,r,a,s,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[n,s,r,a]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},i,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[o],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[o],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:L(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:t,relevance:0,starts:o}]},{className:"tag",begin:L(/<\//,A(L(t,/>/))),contains:[{className:"name",begin:t,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}},grmr_markdown:e=>{const t={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},i={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:L(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},n={className:"strong",contains:[],variants:[{begin:/_{2}/,end:/_{2}/},{begin:/\*{2}/,end:/\*{2}/}]},s={className:"emphasis",contains:[],variants:[{begin:/\*(?!\*)/,end:/\*/},{begin:/_(?!_)/,end:/_/,relevance:0}]};n.contains.push(s),s.contains.push(n);let a=[t,i];return n.contains=n.contains.concat(a),s.contains=s.contains.concat(a),a=a.concat(n,s),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:a},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:a}]}]},t,{className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},n,s,{className:"quote",begin:"^>\\s+",contains:a,end:"$"},{className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},{begin:"^[-\\*]{3,}",end:"$"},i,{begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]}]}},grmr_objectivec:e=>{const t=/[a-zA-Z@][a-zA-Z0-9_]*/,i={$pattern:t,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:{$pattern:t,keyword:["int","float","while","char","export","sizeof","typedef","const","struct","for","union","unsigned","long","volatile","static","bool","mutable","if","do","return","goto","void","enum","else","break","extern","asm","case","short","default","double","register","explicit","signed","typename","this","switch","continue","wchar_t","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","super","unichar","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["BOOL","dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"]},illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+i.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:i,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}},grmr_perl:e=>{const s=/[dualxmsipngr]{0,12}/,t={$pattern:/[\w.]+/,keyword:"abs accept alarm and atan2 bind binmode bless break caller chdir chmod chomp chop chown chr chroot close closedir connect continue cos crypt dbmclose dbmopen defined delete die do dump each else elsif endgrent endhostent endnetent endprotoent endpwent endservent eof eval exec exists exit exp fcntl fileno flock for foreach fork format formline getc getgrent getgrgid getgrnam gethostbyaddr gethostbyname gethostent getlogin getnetbyaddr getnetbyname getnetent getpeername getpgrp getpriority getprotobyname getprotobynumber getprotoent getpwent getpwnam getpwuid getservbyname getservbyport getservent getsockname getsockopt given glob gmtime goto grep gt hex if index int ioctl join keys kill last lc lcfirst length link listen local localtime log lstat lt ma map mkdir msgctl msgget msgrcv msgsnd my ne next no not oct open opendir or ord our pack package pipe pop pos print printf prototype push q|0 qq quotemeta qw qx rand read readdir readline readlink readpipe recv redo ref rename require reset return reverse rewinddir rindex rmdir say scalar seek seekdir select semctl semget semop send setgrent sethostent setnetent setpgrp setpriority setprotoent setpwent setservent setsockopt shift shmctl shmget shmread shmwrite shutdown sin sleep socket socketpair sort splice split sprintf sqrt srand stat state study sub substr symlink syscall sysopen sysread sysseek system syswrite tell telldir tie tied time times tr truncate uc ucfirst umask undef unless unlink unpack unshift untie until use utime values vec wait waitpid wantarray warn when while write x|0 xor y|0"},i={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:t},n={begin:/->\{/,end:/\}/},a={variants:[{begin:/\$\d/},{begin:L(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},r=[e.BACKSLASH_ESCAPE,i,a],o=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],l=(e,t,i="\\1")=>{var n="\\1"===i?i:L(i,t);return L(L("(?:",e,")"),t,/(?:\\.|[^\\\/])*?/,n,/(?:\\.|[^\\\/])*?/,i,s)},c=(e,t,i)=>L(L("(?:",e,")"),t,/(?:\\.|[^\\\/])*?/,i,s),d=[a,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),n,{className:"string",contains:r,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:l("s|tr|y",I(...o,{capture:!0}))},{begin:l("s|tr|y","\\(","\\)")},{begin:l("s|tr|y","\\[","\\]")},{begin:l("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:c("(?:m|qr)?",/\//,/\//)},{begin:c("m|qr",I(...o,{capture:!0}),/\1/)},{begin:c("m|qr",/\(/,/\)/)},{begin:c("m|qr",/\[/,/\]/)},{begin:c("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return i.contains=d,{name:"Perl",aliases:["pl","pm"],keywords:t,contains:n.contains=d}},grmr_php:e=>{var t={className:"variable",begin:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*(?![A-Za-z0-9])(?![$])"},i={className:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?[=]?/},{begin:/\?>/}]},n={className:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},s=e.inherit(e.APOS_STRING_MODE,{illegal:null}),a=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(n)}),n=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*(\w+)\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(n)}),a={className:"string",contains:[e.BACKSLASH_ESCAPE,i],variants:[e.inherit(s,{begin:"b'",end:"'"}),e.inherit(a,{begin:'b"',end:'"'}),a,s,n]},s={className:"number",variants:[{begin:"\\b0b[01]+(?:_[01]+)*\\b"},{begin:"\\b0o[0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0x[\\da-f]+(?:_[\\da-f]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:e[+-]?\\d+)?"}],relevance:0},n={keyword:"__CLASS__ __DIR__ __FILE__ __FUNCTION__ __LINE__ __METHOD__ __NAMESPACE__ __TRAIT__ die echo exit include include_once print require require_once array abstract and as binary bool boolean break callable case catch class clone const continue declare default do double else elseif empty enddeclare endfor endforeach endif endswitch endwhile enum eval extends final finally float for foreach from global goto if implements instanceof insteadof int integer interface isset iterable list match|0 mixed new object or private protected public real return string switch throw trait try unset use var void while xor yield",literal:"false null true",built_in:"Error|0 AppendIterator ArgumentCountError ArithmeticError ArrayIterator ArrayObject AssertionError BadFunctionCallException BadMethodCallException CachingIterator CallbackFilterIterator CompileError Countable DirectoryIterator DivisionByZeroError DomainException EmptyIterator ErrorException Exception FilesystemIterator FilterIterator GlobIterator InfiniteIterator InvalidArgumentException IteratorIterator LengthException LimitIterator LogicException MultipleIterator NoRewindIterator OutOfBoundsException OutOfRangeException OuterIterator OverflowException ParentIterator ParseError RangeException RecursiveArrayIterator RecursiveCachingIterator RecursiveCallbackFilterIterator RecursiveDirectoryIterator RecursiveFilterIterator RecursiveIterator RecursiveIteratorIterator RecursiveRegexIterator RecursiveTreeIterator RegexIterator RuntimeException SeekableIterator SplDoublyLinkedList SplFileInfo SplFileObject SplFixedArray SplHeap SplMaxHeap SplMinHeap SplObjectStorage SplObserver SplObserver SplPriorityQueue SplQueue SplStack SplSubject SplSubject SplTempFileObject TypeError UnderflowException UnexpectedValueException UnhandledMatchError ArrayAccess Closure Generator Iterator IteratorAggregate Serializable Stringable Throwable Traversable WeakReference WeakMap Directory __PHP_Incomplete_Class parent php_user_filter self static stdClass"};return{case_insensitive:!0,keywords:n,contains:[e.HASH_COMMENT_MODE,e.COMMENT("//","$",{contains:[i]}),e.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,keywords:"__halt_compiler"}),i,{className:"keyword",begin:/\$this\b/},t,{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{className:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:n,contains:["self",t,e.C_BLOCK_COMMENT_MODE,a,s]}]},{className:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",relevance:0,end:";",contains:[e.UNDERSCORE_TITLE_MODE]},a,s]}},grmr_php_template:e=>({name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}),grmr_plaintext:e=>({name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}),grmr_python:e=>{const t={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:["and","as","assert","async","await","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},i={className:"meta",begin:/^(>>>|\.\.\.) /},n={className:"subst",begin:/\{/,end:/\}/,keywords:t,illegal:/#/},s={begin:/\{\{/,relevance:0},a={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,i],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,i,s,n]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i,s,n]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,n]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,n]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},r="[0-9](_?[0-9])*",o=`(\\b(${r}))?\\.(${r})|\\b(${r})\\.`,l={className:"number",relevance:0,variants:[{begin:`(\\b(${r})|(${o}))[eE][+-]?(${r})[jJ]?\\b`},{begin:`(${o})[jJ]?`},{begin:"\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?\\b"},{begin:"\\b0[bB](_?[01])+[lL]?\\b"},{begin:"\\b0[oO](_?[0-7])+[lL]?\\b"},{begin:"\\b0[xX](_?[0-9a-fA-F])+[lL]?\\b"},{begin:`\\b(${r})[jJ]\\b`}]},c={className:"comment",begin:A(/# type:/),end:/$/,keywords:t,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},d={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,contains:["self",i,l,a,e.HASH_COMMENT_MODE]}]};return n.contains=[a,l,i],{name:"Python",aliases:["py","gyp","ipython"],keywords:t,illegal:/(<\/|->|\?)|=>/,contains:[i,l,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},a,c,e.HASH_COMMENT_MODE,{match:[/def/,/\s+/,m],scope:{1:"keyword",3:"title.function"},contains:[d]},{variants:[{match:[/class/,/\s+/,m,/\s*/,/\(\s*/,m,/\s*\)/]},{match:[/class/,/\s+/,m]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[l,d,a]}]}},grmr_python_repl:e=>({aliases:["pycon"],contains:[{className:"meta",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}),grmr_r:e=>{var t=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,i=I(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),n=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,s=I(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:t,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:A(I(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:t},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[n,i]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,i]},{scope:{1:"punctuation",2:"number"},match:[s,i]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,i]}]},{scope:{3:"operator"},match:[t,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:n},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:s},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}},grmr_ruby:e=>{const t="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",i={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor __FILE__",built_in:"proc lambda",literal:"true false nil"},n={className:"doctag",begin:"@[A-Za-z]+"},s={begin:"#<",end:">"},a=[e.COMMENT("#","$",{contains:[n]}),e.COMMENT("^=begin","^=end",{contains:[n],relevance:10}),e.COMMENT("^__END__","\\n$")],r={className:"subst",begin:/#\{/,end:/\}/,keywords:i},o={className:"string",contains:[e.BACKSLASH_ESCAPE,r],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:L(/<<[-~]?'?/,A(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,r]})]}]},l="[0-9](_?[0-9])*",c={className:"number",relevance:0,variants:[{begin:`\\b([1-9](_?[0-9])*|0)(\\.(${l}))?([eE][+-]?(${l})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},d={className:"params",begin:"\\(",end:"\\)",endsParent:!0,keywords:i},u=[o,{className:"class",beginKeywords:"class module",end:"$|;",illegal:/=/,contains:[e.inherit(e.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|!)?"}),{begin:"<\\s*",contains:[{begin:"("+e.IDENT_RE+"::)?"+e.IDENT_RE,relevance:0}]}].concat(a)},{className:"function",begin:L(/def\s+/,A(t+"\\s*(\\(|;|$)")),relevance:0,keywords:"def",end:"$|;",contains:[e.inherit(e.TITLE_MODE,{begin:t}),d].concat(a)},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[o,{begin:t}],relevance:0},c,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,relevance:0,keywords:i},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,r],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(s,a),relevance:0}].concat(s,a);r.contains=u;var p=[{begin:/^\s*=>/,starts:{end:"$",contains:d.contains=u}},{className:"meta",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+>|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",contains:u}}];return a.unshift(s),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:i,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(p).concat(a).concat(u)}},grmr_rust:e=>{var t={className:"title.function.invoke",relevance:0,begin:L(/\b/,/(?!let\b)/,e.IDENT_RE,A(/\s*\(/))},i="([ui](8|16|32|64|128|size)|f(32|64))?",n=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","panic!","file!","format!","format_args!","include_bin!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"],keyword:["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","unsafe","unsized","use","virtual","where","while","yield"],literal:["true","false","Some","None","Ok","Err"],built_in:n},illegal:""},t]}},grmr_scss:e=>{const t=X(e),i=Z,n=V,s="@[a-z-]+",a={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b"};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+Y.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+n.join("|")+")"},{className:"selector-pseudo",begin:"::("+i.join("|")+")"},a,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Q.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:":",end:";",contains:[a,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT]},{begin:"@(page|font-face)",keywords:{$pattern:s,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:K.join(" ")},contains:[{begin:s,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},a,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]}]}},grmr_shell:e=>({name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}),grmr_sql:e=>{const t=e.COMMENT("--","$"),i=["true","false","unknown"],n=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],s=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],a=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],r=s,o=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year","add","asc","collation","desc","final","first","last","view"].filter(e=>!s.includes(e)),l={begin:L(/\b/,I(...r),/\s*\(/),relevance:0,keywords:{built_in:r}};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:((e,{exceptions:t,when:i})=>{const n=i;return t=t||[],e.map(e=>!e.match(/\|\d+$/)&&!t.includes(e)&&n(e)?e+"|0":e)})(o,{when:e=>e.length<3}),literal:i,type:n,built_in:["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"]},contains:[{begin:I(...a),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:o.concat(a),literal:i,type:n}},{className:"type",begin:I("double precision","large object","with timezone","without timezone")},l,{className:"variable",begin:/@[a-z0-9]+/},{className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},{begin:/"/,end:/"/,contains:[{begin:/""/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}},grmr_swift:e=>{const t={match:/\s+/,relevance:0},i=e.COMMENT("/\\*","\\*/",{contains:["self"]}),n=[e.C_LINE_COMMENT_MODE,i],s={match:[/\./,I(...pe,...he)],className:{2:"keyword"}},a={match:L(/\./,I(...fe)),relevance:0},r=fe.filter(e=>"string"==typeof e).concat(["_|0"]),o={variants:[{className:"keyword",match:I(...fe.filter(e=>"string"!=typeof e).concat(me).map(ue),...he)}]},l={$pattern:I(/\b\w+/,/#\w+/),keyword:r.concat(ve),literal:ge},c=[s,a,o],d=[{match:L(/\./,I(...ye)),relevance:0},{className:"built_in",match:L(/\b/,I(...ye),/(?=\()/)}],u={match:/->/,relevance:0},p=[u,{className:"operator",relevance:0,variants:[{match:Ee},{match:`\\.(\\.|${_e})+`}]}],h="([0-9a-fA-F]_*)+",m={className:"number",relevance:0,variants:[{match:"\\b(([0-9]_*)+)(\\.(([0-9]_*)+))?([eE][+-]?(([0-9]_*)+))?\\b"},{match:`\\b0x(${h})(\\.(${h}))?([pP][+-]?(([0-9]_*)+))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},f=(e="")=>({className:"subst",variants:[{match:L(/\\/,e,/[0\\tnr"']/)},{match:L(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]}),g=(e="")=>({className:"subst",label:"interpol",begin:L(/\\/,e,/\(/),end:/\)/}),b=(e="")=>({begin:L(e,/"""/),end:L(/"""/,e),contains:[f(e),((e="")=>({className:"subst",match:L(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)}))(e),g(e)]}),v=(e="")=>({begin:L(e,/"/),end:L(/"/,e),contains:[f(e),g(e)]}),y={className:"string",variants:[b(),b("#"),b("##"),b("###"),v(),v("#"),v("##"),v("###")]},w={match:L(/`/,Ce,/`/)},_=[w,{className:"variable",match:/\$\d+/},{className:"variable",match:`\\$${Te}+`}],E=[{match:/(@|#)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:Me,contains:[...p,m,y]}]}},{className:"keyword",match:L(/@/,I(...ke))},{className:"meta",match:L(/@/,Ce)}],x={match:A(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:L(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,Te,"+")},{className:"type",match:Se,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:L(/\s+&\s+/,A(Se)),relevance:0}]},T={begin://,keywords:l,contains:[...n,...c,...E,u,x]};x.contains.push(T);var C={begin:/\(/,end:/\)/,relevance:0,keywords:l,contains:["self",{match:L(Ce,/\s*:/),keywords:"_|0",relevance:0},...n,...c,...d,...p,m,y,..._,...E,x]},S={begin://,contains:[...n,x]},k={begin:/\(/,end:/\)/,keywords:l,contains:[{begin:I(A(L(Ce,/\s*:/)),A(L(Ce,/\s+/,Ce,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:Ce}]},...n,...c,...p,m,y,...E,x,C],endsParent:!0,illegal:/["']/},M={match:[/func/,/\s+/,I(w.match,Ce,Ee)],className:{1:"keyword",3:"title.function"},contains:[S,k,t],illegal:[/\[/,/%/]},N={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[S,k,t],illegal:/\[|%/},S={match:[/operator/,/\s+/,Ee],className:{1:"keyword",3:"title"}},k={begin:[/precedencegroup/,/\s+/,Se],className:{1:"keyword",3:"title"},contains:[x],keywords:[...be,...ge],end:/}/};for(const e of y.variants){const t=e.contains.find(e=>"interpol"===e.label);t.keywords=l;const i=[...c,...d,...p,m,y,..._];t.contains=[...i,{begin:/\(/,end:/\)/,contains:["self",...i]}]}return{name:"Swift",keywords:l,contains:[...n,M,N,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:l,contains:[e.inherit(e.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...c]},S,k,{beginKeywords:"import",end:/$/,contains:[...n],relevance:0},...c,...d,...p,m,y,..._,...E,x,C]}},grmr_typescript:e=>{const t={$pattern:ie,keyword:ne.concat(["type","namespace","typedef","interface","public","private","protected","implements","declare","abstract","readonly"]),literal:se,built_in:ce.concat(["any","void","number","boolean","string","object","never","enum"]),"variable.language":le},i={className:"meta",begin:"@[A-Za-z$_][0-9A-Za-z$_]*"},n=(e,t,i)=>{var n=e.contains.findIndex(e=>e.label===t);if(-1===n)throw Error("can not find mode to replace");e.contains.splice(n,1,i)},s=de(e);return Object.assign(s.keywords,t),s.exports.PARAMS_CONTAINS.push(i),s.contains=s.contains.concat([i,{beginKeywords:"namespace",end:/\{/,excludeEnd:!0},{beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:"interface extends"}]),n(s,"shebang",e.SHEBANG()),n(s,"use_strict",{className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/}),s.contains.find(e=>"func.def"===e.label).relevance=0,Object.assign(s,{name:"TypeScript",aliases:["ts","tsx"]}),s},grmr_vbnet:e=>{var t=/\d{1,2}\/\d{1,2}\/\d{4}/,i=/\d{4}-\d{1,2}-\d{1,2}/,n=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,s=/\d{1,2}(:\d{1,2}){1,2}/,n={className:"literal",variants:[{begin:L(/# */,I(i,t),/ *#/)},{begin:L(/# */,s,/ *#/)},{begin:L(/# */,n,/ *#/)},{begin:L(/# */,I(i,t),/ +/,I(n,s),/ *#/)}]},s=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),e=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[{className:"string",begin:/"(""|[^/n])"C\b/},{className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},n,{className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},{className:"label",begin:/^\w+:/},s,e,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[e]}]}},grmr_yaml:e=>{const t="true false yes no null",i="[\\w#;/?:@&=+$,.~*'()[\\]]+",n={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},s=e.inherit(n,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),a={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},r={begin:/\{/,end:/\}/,contains:[a],illegal:"\\n",relevance:0},o={begin:"\\[",end:"\\]",contains:[a],illegal:"\\n",relevance:0},l=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+i},{className:"type",begin:"!<"+i+">"},{className:"type",begin:"!"+i},{className:"type",begin:"!!"+i},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},{className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},r,o,n],c=[...l];return c.pop(),c.push(s),a.contains=c,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:l}}});const Oe=G;for(const Ae of Object.keys(Ne)){const i=Ae.replace("grmr_","").replace("_","-");Oe.registerLanguage(i,Ne[Ae])}return Oe}();"object"==typeof exports&&"undefined"!=typeof module&&(module.exports=hljs),function(n,s){"use strict";var e,r="hljs-ln",o="hljs-ln-line",p="hljs-ln-code",l="hljs-ln-numbers",c="hljs-ln-n",h="data-line-number",a=/\r\n|\r|\n/g;function t(e){try{var t,i=s.querySelectorAll("code.hljs,code.nohighlight");for(t in i)i.hasOwnProperty(t)&&(i[t].classList.contains("nohljsln")||d(i[t],e))}catch(e){n.console.error("LineNumbers error: ",e)}}function d(e,t){"object"==typeof e&&n.setTimeout(function(){e.innerHTML=u(e,t)},0)}function u(e,t){t={singleLine:!!(t=t||{}).singleLine&&t.singleLine,startFrom:function(e,t){var i=1;isFinite(t.startFrom)&&(i=t.startFrom);var n=(t="data-ln-start-from",(e=e).hasAttribute(t)?e.getAttribute(t):null);return i=null!==n?function(){if(!n)return 1;var e=Number(n);return isFinite(e)?e:1}():i}(e,t)};return function e(t){var i,n,s=t.childNodes;for(i in s)s.hasOwnProperty(i)&&(0<((n=s[i]).textContent.trim().match(a)||[]).length&&(0{1}\n',[t,0
{6}',[o,l,c,h,p,s+t.startFrom,0{1}',[r,n])}return e}(e.innerHTML,t)}function m(e){return 0===e.length?[]:e.split(a)}function f(e,i){return e.replace(/\{(\d+)\}/g,function(e,t){return void 0!==i[t]?i[t]:e})}n.hljs?(n.hljs.initLineNumbersOnLoad=function(e){"interactive"===s.readyState||"complete"===s.readyState?t(e):n.addEventListener("DOMContentLoaded",function(){t(e)})},n.hljs.lineNumbersBlock=d,n.hljs.lineNumbersValue=function(e,t){if("string"==typeof e){var i=document.createElement("code");return i.innerHTML=e,u(i,t)}},(e=s.createElement("style")).type="text/css",e.innerHTML=f(".{0}{border-collapse:collapse}.{0} td{padding:0}.{1}:before{content:attr({2})}",[r,c,h]),s.getElementsByTagName("head")[0].appendChild(e)):n.console.error("highlight.js not detected!"),document.addEventListener("copy",function(e){var t,i=window.getSelection();!function(){for(var e=i.anchorNode;e;){if(e.className&&-1!==e.className.indexOf("hljs-ln-code"))return 1;e=e.parentNode}}()||(t=-1!==window.navigator.userAgent.indexOf("Edge")?function(e){for(var t=e.toString(),i=e.anchorNode;"TD"!==i.nodeName;)i=i.parentNode;for(var n=e.focusNode;"TD"!==n.nodeName;)n=n.parentNode;var s=parseInt(i.dataset.lineNumber),a=parseInt(n.dataset.lineNumber);if(s==a)return t;var r=i.textContent,o=n.textContent;for(a
',e.appendChild(e.resizeSensor),{fixed:1,absolute:1}[i="position",(t=e).currentStyle?t.currentStyle[i]:window.getComputedStyle?window.getComputedStyle(t,null).getPropertyValue(i):t.style[i]]||(e.style.position="relative");var n,s,a=e.resizeSensor.childNodes[0],r=a.childNodes[0],o=e.resizeSensor.childNodes[1],l=(o.childNodes[0],function(){r.style.width=a.offsetWidth+10+"px",r.style.height=a.offsetHeight+10+"px",a.scrollLeft=a.scrollWidth,a.scrollTop=a.scrollHeight,o.scrollLeft=o.scrollWidth,o.scrollTop=o.scrollHeight,n=e.offsetWidth,s=e.offsetHeight});l();t=function(e,t,i){e.attachEvent?e.attachEvent("on"+t,i):e.addEventListener(t,i)},i=function(){e.offsetWidth==n&&e.offsetHeight==s||e.resizedAttached&&e.resizedAttached.call(),l()};t(a,"scroll",i),t(o,"scroll",i)}var n=Object.prototype.toString.call(i),s="[object Array]"===n||"[object NodeList]"===n||"[object HTMLCollection]"===n||"undefined"!=typeof jQuery&&i instanceof jQuery||"undefined"!=typeof Elements&&i instanceof Elements;if(s)for(var a=0,r=i.length;a.theiaStickySidebar:after {content: ""; display: table; clear: both;}')),t.each(function(){function u(){e.fixedScrollTop=0,e.sidebar.css({"min-height":"1px"}),e.stickySidebar.css({position:"static",width:"",transform:"none"})}var i,e={};e.sidebar=m(this),e.options=p||{},e.container=m(e.options.containerSelector),0==e.container.length&&(e.container=e.sidebar.parent()),e.sidebar.parents().css("-webkit-transform","none"),e.sidebar.css({position:e.options.defaultPosition,overflow:"visible","-webkit-box-sizing":"border-box","-moz-box-sizing":"border-box","box-sizing":"border-box"}),e.stickySidebar=e.sidebar.find(".theiaStickySidebar"),0==e.stickySidebar.length&&(i=/(?:text|application)\/(?:x-)?(?:javascript|ecmascript)/i,e.sidebar.find("script").filter(function(e,t){return 0===t.type.length||t.type.match(i)}).remove(),e.stickySidebar=m("
").addClass("theiaStickySidebar").append(e.sidebar.children()),e.sidebar.append(e.stickySidebar)),e.marginBottom=parseInt(e.sidebar.css("margin-bottom")),e.paddingTop=parseInt(e.sidebar.css("padding-top")),e.paddingBottom=parseInt(e.sidebar.css("padding-bottom"));var t,n,s,a=e.stickySidebar.offset().top,r=e.stickySidebar.outerHeight();e.stickySidebar.css("padding-top",1),e.stickySidebar.css("padding-bottom",1),a-=e.stickySidebar.offset().top,r=e.stickySidebar.outerHeight()-r-a,0==a?(e.stickySidebar.css("padding-top",0),e.stickySidebarPaddingTop=0):e.stickySidebarPaddingTop=1,0==r?(e.stickySidebar.css("padding-bottom",0),e.stickySidebarPaddingBottom=0):e.stickySidebarPaddingBottom=1,e.previousScrollTop=null,e.fixedScrollTop=0,u(),e.onScroll=function(e){if(e.stickySidebar.is(":visible"))if(m("body").width()e.container.width())return void u();var t,i,n,s,a,r,o=m(document).scrollTop(),l="static";o>=e.sidebar.offset().top+(e.paddingTop-e.options.additionalMarginTop)&&(i=e.paddingTop+p.additionalMarginTop,a=e.paddingBottom+e.marginBottom+p.additionalMarginBottom,s=e.sidebar.offset().top,n=e.sidebar.offset().top+(c=e.container,d=c.height(),c.children().each(function(){d=Math.max(d,m(this).height())}),d),t=0+p.additionalMarginTop,c=e.stickySidebar.outerHeight()+i+a{void 0===t[e]?t[e]=i[e]:n(i[e])&&n(t[e])&&0null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function T(){var e="undefined"!=typeof document?document:{};return s(e,t),e}const i={document:t,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function A(){var e="undefined"!=typeof window?window:{};return s(e,i),e}class r extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function a(e){const t=[];return(e=void 0===e?[]:e).forEach(e=>{Array.isArray(e)?t.push(...a(e)):t.push(e)}),t}function o(e,t){return Array.prototype.filter.call(e,t)}function L(e,t){const i=A(),n=T();let s=[];if(!t&&e instanceof r)return e;if(!e)return new r(s);if("string"==typeof e){const i=e.trim();if(0<=i.indexOf("<")&&0<=i.indexOf(">")){let e="div";0===i.indexOf("e.split(" ")));return this.forEach(e=>{e.classList.add(...n)}),this},removeClass:function(){for(var e=arguments.length,t=new Array(e),i=0;ie.split(" ")));return this.forEach(e=>{e.classList.remove(...n)}),this},hasClass:function(){for(var e=arguments.length,t=new Array(e),i=0;ie.split(" ")));return 00t.classList.contains(e)).length).length},toggleClass:function(){for(var e=arguments.length,t=new Array(e),i=0;ie.split(" ")));this.forEach(t=>{n.forEach(e=>{t.classList.toggle(e)})})},attr:function(t,i){if(1===arguments.length&&"string"==typeof t)return this[0]?this[0].getAttribute(t):void 0;for(let e=0;e0{i.apply(e,[e,t])}),this},html:function(t){if(void 0===t)return this[0]?this[0].innerHTML:null;for(let e=0;ee.replace(",",".")).join(", ")),a=new i.WebKitCSSMatrix("none"===s?"":s)):(a=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=a.toString().split(",")),"x"===t&&(s=i.WebKitCSSMatrix?a.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(s=i.WebKitCSSMatrix?a.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),s||0}function c(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function m(e){const i=Object(arguments.length<=0?void 0:e),t=["__proto__","constructor","prototype"];for(let e=1;et.indexOf(e)<0);for(let e=0,t=s.length;er?"next":"prev",u=(e,t)=>"next"===d&&t<=e||"prev"===d&&e<=t,p=()=>{o=(new Date).getTime(),null===l&&(l=o);var e=Math.max(Math.min((o-l)/c,1),0),e=.5-Math.cos(e*Math.PI)/2;let t=r+e*(n-r);if(u(t,n)&&(t=n),i.wrapperEl.scrollTo({[s]:t}),u(t,n))return i.wrapperEl.style.overflow="hidden",i.wrapperEl.style.scrollSnapType="",setTimeout(()=>{i.wrapperEl.style.overflow="",i.wrapperEl.scrollTo({[s]:t})}),void a.cancelAnimationFrame(i.cssModeFrameID);i.cssModeFrameID=a.requestAnimationFrame(p)};p()}let e,d,u;function f(){return e=e||function(){const i=A(),e=T();return{smoothScroll:e.documentElement&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in i||i.DocumentTouch&&e instanceof i.DocumentTouch),passiveListener:function(){let e=!1;try{var t=Object.defineProperty({},"passive",{get(){e=!0}});i.addEventListener("testPassiveListener",null,t)}catch(e){}return e}(),gestures:"ongesturestart"in i}}(),e}function p(e){let{swiper:t,runCallbacks:i,direction:n,step:s}=e;var{activeIndex:a,previousIndex:e}=t;let r=n;if(r=r||(e{Object.defineProperty(L.fn,e,{value:l[e],writable:!0})});let g=!1;function y(){}const w=(e,t)=>{const i=T(),{params:n,touchEvents:s,el:a,wrapperEl:r,device:o,support:l}=e,c=!!n.nested,d="on"===t?"addEventListener":"removeEventListener",u=t;if(l.touch){const t=!("touchstart"!==s.start||!l.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};a[d](s.start,e.onTouchStart,t),a[d](s.move,e.onTouchMove,l.passiveListener?{passive:!1,capture:c}:c),a[d](s.end,e.onTouchEnd,t),s.cancel&&a[d](s.cancel,e.onTouchEnd,t)}else a[d](s.start,e.onTouchStart,!1),i[d](s.move,e.onTouchMove,c),i[d](s.end,e.onTouchEnd,!1);(n.preventClicks||n.preventClicksPropagation)&&a[d]("click",e.onClick,!0),n.cssMode&&r[d]("scroll",e.onScroll),n.updateOnWindowResize?e[u](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",h,!0):e[u]("observerUpdate",h,!0)},_=(e,t)=>e.grid&&t.grid&&1{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][s](t)}),n},once(n,s,e){const a=this;return!a.eventsListeners||a.destroyed||"function"!=typeof s?a:(r.__emitterProxy=s,a.on(n,r,e));function r(){a.off(n,r),r.__emitterProxy&&delete r.__emitterProxy;for(var e=arguments.length,t=new Array(e),i=0;i{void 0===n?s.eventsListeners[i]=[]:s.eventsListeners[i]&&s.eventsListeners[i].forEach((e,t)=>{(e===n||e.__emitterProxy&&e.__emitterProxy===n)&&s.eventsListeners[i].splice(t,1)})}),s},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,i,n;for(var s=arguments.length,a=new Array(s),r=0;r{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(e=>{e.apply(n,[t,...i])}),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach(e=>{e.apply(n,i)})}),e}},update:{updateSize:function(){var e=this;let t,i;const n=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:n[0].clientWidth,i=void 0!==e.params.height&&null!==e.params.height?e.params.height:n[0].clientHeight,0===t&&e.isHorizontal()||0===i&&e.isVertical()||(t=t-parseInt(n.css("padding-left")||0,10)-parseInt(n.css("padding-right")||0,10),i=i-parseInt(n.css("padding-top")||0,10)-parseInt(n.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(i)&&(i=0),Object.assign(e,{width:t,height:i,size:e.isHorizontal()?t:i}))},updateSlides:function(){const i=this;function n(e){return i.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}function s(e,t){return parseFloat(e.getPropertyValue(n(t))||0)}const a=i.params,{$wrapperEl:r,size:o,rtlTranslate:l,wrongRTL:c}=i,d=i.virtual&&a.virtual.enabled,e=(d?i.virtual:i).slides.length,u=r.children("."+i.params.slideClass),p=(d?i.virtual.slides:u).length;let h=[];const m=[],f=[];let g=a.slidesOffsetBefore;"function"==typeof g&&(g=a.slidesOffsetBefore.call(i));let b=a.slidesOffsetAfter;"function"==typeof b&&(b=a.slidesOffsetAfter.call(i));var v=i.snapGrid.length,y=i.slidesGrid.length;let w=a.spaceBetween,_=-g,E=0,x=0;if(void 0!==o){"string"==typeof w&&0<=w.indexOf("%")&&(w=parseFloat(w.replace("%",""))/100*o),i.virtualSize=-w,l?u.css({marginLeft:"",marginBottom:"",marginTop:""}):u.css({marginRight:"",marginBottom:"",marginTop:""}),a.centeredSlides&&a.cssMode&&(S(i.wrapperEl,"--swiper-centered-offset-before",""),S(i.wrapperEl,"--swiper-centered-offset-after",""));var T=a.grid&&1void 0!==a.breakpoints[e].slidesPerView).length;for(let e=0;e!a.cssMode||t!==u.length-1).css({[s]:w+"px"})}if(a.centeredSlides&&a.centeredSlidesBounds){let t=0;f.forEach(e=>{t+=e+(a.spaceBetween||0)}),t-=a.spaceBetween;const n=t-o;h=h.map(e=>e<0?-g:e>n?n+b:e)}if(a.centerInsufficientSlides){let t=0;if(f.forEach(e=>{t+=e+(a.spaceBetween||0)}),t-=a.spaceBetween,t{h[t]=e-n}),m.forEach((e,t)=>{m[t]=e+n})}}if(Object.assign(i,{slides:u,snapGrid:h,slidesGrid:m,slidesSizesGrid:f}),a.centeredSlides&&a.cssMode&&!a.centeredSlidesBounds){S(i.wrapperEl,"--swiper-centered-offset-before",-h[0]+"px"),S(i.wrapperEl,"--swiper-centered-offset-after",i.size/2-f[f.length-1]/2+"px");const n=-i.snapGrid[0],s=-i.slidesGrid[0];i.snapGrid=i.snapGrid.map(e=>e+n),i.slidesGrid=i.slidesGrid.map(e=>e+s)}if(p!==e&&i.emit("slidesLengthChange"),h.length!==v&&(i.params.watchOverflow&&i.checkOverflow(),i.emit("snapGridLengthChange")),m.length!==y&&i.emit("slidesGridLengthChange"),a.watchSlidesProgress&&i.updateSlidesOffset(),!(d||a.cssMode||"slide"!==a.effect&&"fade"!==a.effect)){const n=a.containerModifierClass+"backface-hidden",s=i.$el.hasClass(n);p<=a.maxBackfaceHiddenSlides?s||i.$el.addClass(n):s&&i.$el.removeClass(n)}}},updateAutoHeight:function(e){const i=this,t=[],n=i.virtual&&i.params.virtual.enabled;let s,a=0;"number"==typeof e?i.setTransition(e):!0===e&&i.setTransition(i.params.speed);var r=t=>(n?i.slides.filter(e=>parseInt(e.getAttribute("data-swiper-slide-index"),10)===t):i.slides.eq(t))[0];if("auto"!==i.params.slidesPerView&&1{t.push(e)});else for(s=0;si.slides.length&&!n)break;t.push(r(e))}else t.push(r(i.activeIndex));for(s=0;sa?e:a}!a&&0!==a||i.$wrapperEl.css("height",a+"px")},updateSlidesOffset:function(){const t=this.slides;for(let e=0;e=n.size)&&(n.visibleSlides.push(l),n.visibleSlidesIndexes.push(t),a.eq(t).addClass(s.slideVisibleClass)),l.progress=r?-L:L,l.originalProgress=r?-c:c}n.visibleSlides=L(n.visibleSlides)}},updateProgress:function(e){var t=this;if(void 0===e){const i=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*i||0}const i=t.params,n=t.maxTranslate()-t.minTranslate();let{progress:s,isBeginning:a,isEnd:r}=t;var o=a,l=r;r=0==n?(s=0,a=!0):(s=(e-t.minTranslate())/n,a=s<=0,1<=s),Object.assign(t,{progress:s,isBeginning:a,isEnd:r}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&t.updateSlidesProgress(e),a&&!o&&t.emit("reachBeginning toEdge"),r&&!l&&t.emit("reachEnd toEdge"),(o&&!a||l&&!r)&&t.emit("fromEdge"),t.emit("progress",s)},updateSlidesClasses:function(){const{slides:e,params:t,$wrapperEl:i,activeIndex:n,realIndex:s}=this,a=this.virtual&&t.virtual.enabled;let r;e.removeClass(`${t.slideActiveClass} ${t.slideNextClass} ${t.slidePrevClass} ${t.slideDuplicateActiveClass} ${t.slideDuplicateNextClass} `+t.slideDuplicatePrevClass),r=a?this.$wrapperEl.find(`.${t.slideClass}[data-swiper-slide-index="${n}"]`):e.eq(n),r.addClass(t.slideActiveClass),t.loop&&(r.hasClass(t.slideDuplicateClass)?i.children(`.${t.slideClass}:not(.${t.slideDuplicateClass})[data-swiper-slide-index="${s}"]`):i.children(`.${t.slideClass}.${t.slideDuplicateClass}[data-swiper-slide-index="${s}"]`)).addClass(t.slideDuplicateActiveClass);let o=r.nextAll("."+t.slideClass).eq(0).addClass(t.slideNextClass);t.loop&&0===o.length&&(o=e.eq(0),o.addClass(t.slideNextClass));let l=r.prevAll("."+t.slideClass).eq(0).addClass(t.slidePrevClass);t.loop&&0===l.length&&(l=e.eq(-1),l.addClass(t.slidePrevClass)),t.loop&&((o.hasClass(t.slideDuplicateClass)?i.children(`.${t.slideClass}:not(.${t.slideDuplicateClass})[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`):i.children(`.${t.slideClass}.${t.slideDuplicateClass}[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`)).addClass(t.slideDuplicateNextClass),(l.hasClass(t.slideDuplicateClass)?i.children(`.${t.slideClass}:not(.${t.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`):i.children(`.${t.slideClass}.${t.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`)).addClass(t.slideDuplicatePrevClass)),this.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,i=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:n,snapGrid:s,params:a,activeIndex:r,realIndex:o,snapIndex:l}=t;let c,d=e;if(void 0===d){for(let e=0;e=n[e]&&i=n[e]&&i=n[e]&&(d=e);a.normalizeSlideIndex&&(d<0||void 0===d)&&(d=0)}if(0<=s.indexOf(i))c=s.indexOf(i);else{const u=Math.min(a.slidesPerGroupSkip,d);c=u+Math.floor((d-u)/a.slidesPerGroup)}c>=s.length&&(c=s.length-1),d!==r?(e=parseInt(t.slides.eq(d).attr("data-swiper-slide-index")||d,10),Object.assign(t,{snapIndex:c,realIndex:e,previousIndex:r,activeIndex:d}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),o!==e&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")):c!==l&&(t.snapIndex=c,t.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this,i=t.params,n=L(e).closest("."+i.slideClass)[0];let s,a=!1;if(n)for(let e=0;e=l.length&&(f=l.length-1);var g=-l[f];if(o.normalizeSlideIndex)for(let e=0;e=i&&t=i&&t=i&&(r=e)}if(a.initialized&&r!==u){if(!a.allowSlideNext&&ga.translate&&g>a.maxTranslate()&&(u||0)!==r)return!1}let b;if(r!==(d||0)&&i&&a.emit("beforeSlideChangeStart"),a.updateProgress(g),b=r>u?"next":r{a.wrapperEl.style.scrollSnapType="",a._swiperImmediateVirtual=!1})}else{if(!a.support.smoothScroll)return v({swiper:a,targetPosition:i,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:i,behavior:"smooth"})}return!0}return a.setTransition(t),a.setTranslate(g),a.updateActiveIndex(r),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,n),a.transitionStart(i,b),0===t?a.transitionEnd(i,b):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(i,b))}),a.$wrapperEl[0].addEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,i,n){if(void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),"string"==typeof(e=void 0===e?0:e)){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}let s=e;return this.params.loop&&(s+=this.loopedSlides),this.slideTo(s,t,i,n)},slideNext:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var n=this,{animating:s,enabled:a,params:r}=n;if(!a)return n;let o=r.slidesPerGroup;"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(o=Math.max(n.slidesPerViewDynamic("current",!0),1));a=n.activeIndexd(e));let h=r[p.indexOf(u)-1];if(void 0===h&&s.cssMode){let i;r.forEach((e,t)=>{u>=e&&(i=t)}),void 0!==i&&(h=r[0=s.snapGrid[o]){const e=s.snapGrid[o];r-e>(s.snapGrid[o+1]-e)*n&&(a+=s.params.slidesPerGroup)}else{const e=s.snapGrid[o-1];r-e<=(s.snapGrid[o]-e)*n&&(a-=s.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,s.slidesGrid.length-1),s.slideTo(a,e,t,i)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:i}=e,n="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let s,a=e.clickedIndex;t.loop?e.animating||(s=parseInt(L(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?ae.slides.length-e.loopedSlides+n/2?(e.loopFix(),a=i.children(`.${t.slideClass}[data-swiper-slide-index="${s}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),C(()=>{e.slideTo(a)})):e.slideTo(a):a>e.slides.length-n?(e.loopFix(),a=i.children(`.${t.slideClass}[data-swiper-slide-index="${s}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),C(()=>{e.slideTo(a)})):e.slideTo(a)):e.slideTo(a)}},loop:{loopCreate:function(){const t=this,i=T(),{params:n,$wrapperEl:e}=t,s=0a.length&&t.params.loopedSlidesLimit&&(t.loopedSlides=a.length);const r=[],o=[];a.each((e,t)=>{L(e).attr("data-swiper-slide-index",t)});for(let e=0;e=i.length-n&&(l=-i.length+t+n,l+=n,e.slideTo(l,0,!1,!0)&&0!=r&&e.setTranslate((o?-e.translate:e.translate)-r)),e.allowSlidePrev=s,e.allowSlideNext=a,e.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:i}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.`+t.slideBlankClass).remove(),i.removeAttr("data-swiper-slide-index")}},grabCursor:{setGrabCursor:function(e){var t=this;if(!(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)){const i="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;i.style.cursor="move",i.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){var e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:{attachEvents:function(){const e=this,t=T(),{params:i,support:n}=e;e.onTouchStart=function(e){const n=this,s=T(),a=A(),r=n.touchEventsData,{params:o,touches:l,enabled:t}=n;if(t&&(!n.animating||!o.preventInteractionOnTransition)){!n.animating&&o.cssMode&&o.loop&&n.loopFix();let t=e;t.originalEvent&&(t=t.originalEvent);let i=L(t.target);if(("wrapper"!==o.touchEventsTarget||i.closest(n.wrapperEl).length)&&(r.isTouchEvent="touchstart"===t.type,(r.isTouchEvent||!("which"in t)||3!==t.which)&&!(!r.isTouchEvent&&"button"in t&&0=a.innerWidth-u)){if("prevent"!==p)return;e.preventDefault()}if(Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=c,l.startY=d,r.touchStartTime=b(),n.allowClick=!0,n.updateSize(),n.swipeDirection=void 0,0o.startY&&s.translate>=s.minTranslate())return a.isTouched=!1,void(a.isMoved=!1)}else if(do.startX&&s.translate>=s.minTranslate())return;if(a.isTouchEvent&&t.activeElement&&n.target===t.activeElement&&L(n.target).is(a.focusableElements))return a.isMoved=!0,void(s.allowClick=!1);if(a.allowTouchCallbacks&&s.emit("touchMove",n),!(n.targetTouches&&1r.touchAngle:90-e>r.touchAngle)),a.isScrolling&&s.emit("touchMoveOpposite",n),void 0===a.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(a.startMoving=!0)),a.isScrolling)a.isTouched=!1;else if(a.startMoving){s.allowClick=!1,!r.cssMode&&n.cancelable&&n.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&n.stopPropagation(),a.isMoved||(r.loop&&!r.cssMode&&s.loopFix(),a.startTranslate=s.getTranslate(),s.setTransition(0),s.animating&&s.$wrapperEl.trigger("webkitTransitionEnd transitionend"),a.allowMomentumBounce=!1,!r.grabCursor||!0!==s.allowSlideNext&&!0!==s.allowSlidePrev||s.setGrabCursor(!0),s.emit("sliderFirstMove",n)),s.emit("sliderMove",n),a.isMoved=!0;let e=s.isHorizontal()?c:d;o.diff=e,e*=r.touchRatio,l&&(e=-e),s.swipeDirection=0s.minTranslate()?(t=!1,r.resistance&&(a.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+a.startTranslate+e)**i)):e<0&&a.currentTranslatea.startTranslate&&(a.currentTranslate=a.startTranslate),s.allowSlidePrev||s.allowSlideNext||(a.currentTranslate=a.startTranslate),0r.threshold||a.allowThresholdMove))return void(a.currentTranslate=a.startTranslate);if(!a.allowThresholdMove)return a.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,a.currentTranslate=a.startTranslate,void(o.diff=s.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&s.freeMode||r.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),s.params.freeMode&&r.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(a.currentTranslate),s.setTranslate(a.currentTranslate))}}}}else a.startMoving&&a.isScrolling&&s.emit("touchMoveOpposite",n)}}.bind(e),e.onTouchEnd=function(a){const r=this,e=r.touchEventsData,{params:o,touches:t,rtlTranslate:i,slidesGrid:l,enabled:n}=r;if(n){let s=a;if(s.originalEvent&&(s=s.originalEvent),e.allowTouchCallbacks&&r.emit("touchEnd",s),e.allowTouchCallbacks=!1,!e.isTouched)return e.isMoved&&o.grabCursor&&r.setGrabCursor(!1),e.isMoved=!1,void(e.startMoving=!1);o.grabCursor&&e.isMoved&&e.isTouched&&(!0===r.allowSlideNext||!0===r.allowSlidePrev)&&r.setGrabCursor(!1);var c,d=b(),u=d-e.touchStartTime;if(r.allowClick){const p=s.path||s.composedPath&&s.composedPath();r.updateClickedSlide(p&&p[0]||s.target),r.emit("tap click",s),u<300&&d-e.lastClickTime<300&&r.emit("doubleTap doubleClick",s)}if(e.lastClickTime=b(),C(()=>{r.destroyed||(r.allowClick=!0)}),!e.isTouched||!e.isMoved||!r.swipeDirection||0===t.diff||e.currentTranslate===e.startTranslate)return e.isTouched=!1,e.isMoved=!1,void(e.startMoving=!1);if(e.isTouched=!1,e.isMoved=!1,e.startMoving=!1,c=o.followFinger?i?r.translate:-r.translate:-e.currentTranslate,!o.cssMode)if(r.params.freeMode&&o.freeMode.enabled)r.freeMode.onTouchEnd({currentPos:c});else{let t=0,i=r.slidesSizesGrid[0];for(let e=0;e=l[e]&&c=l[e]&&(t=e,i=l[l.length-1]-l[l.length-2])}let e=null,n=null;o.rewind&&(r.isBeginning?n=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1:r.isEnd&&(e=0));a=(c-l[t])/i,d=to.longSwipesMs?o.longSwipes?("next"===r.swipeDirection&&(a>=o.longSwipesRatio?r.slideTo(o.rewind&&r.isEnd?e:t+d):r.slideTo(t)),"prev"===r.swipeDirection&&(a>1-o.longSwipesRatio?r.slideTo(t+d):null!==n&&a<0&&Math.abs(a)>o.longSwipesRatio?r.slideTo(n):r.slideTo(t))):r.slideTo(r.activeIndex):o.shortSwipes?!r.navigation||s.target!==r.navigation.nextEl&&s.target!==r.navigation.prevEl?("next"===r.swipeDirection&&r.slideTo(null!==e?e:t+d),"prev"===r.swipeDirection&&r.slideTo(null!==n?n:t)):s.target===r.navigation.nextEl?r.slideTo(t+d):r.slideTo(t):r.slideTo(r.activeIndex)}}}.bind(e),i.cssMode&&(e.onScroll=function(){var e=this,{wrapperEl:t,rtlTranslate:i,enabled:n}=e;n&&(e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses(),(0==(t=e.maxTranslate()-e.minTranslate())?0:(e.translate-e.minTranslate())/t)!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1))}.bind(e)),e.onClick=function(e){var t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}.bind(e),n.touch&&!g&&(t.addEventListener("touchstart",y),g=!0),w(e,"on")},detachEvents:function(){w(this,"off")}},breakpoints:{setBreakpoint:function(){const n=this,{activeIndex:e,initialized:t,loopedSlides:i=0,params:s,$el:a}=n,r=s.breakpoints;if(r&&0!==Object.keys(r).length){var o=n.getBreakpoint(r,n.params.breakpointsBase,n.el);if(o&&n.currentBreakpoint!==o){const d=(o in r?r[o]:void 0)||n.originalParams,u=_(n,s),p=_(n,d),h=s.enabled;u&&!p?(a.removeClass(`${s.containerModifierClass}grid ${s.containerModifierClass}grid-column`),n.emitContainerClasses()):!u&&p&&(a.addClass(s.containerModifierClass+"grid"),(d.grid.fill&&"column"===d.grid.fill||!d.grid.fill&&"column"===s.grid.fill)&&a.addClass(s.containerModifierClass+"grid-column"),n.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(e=>{var t=s[e]&&s[e].enabled,i=d[e]&&d[e].enabled;t&&!i&&n[e].disable(),!t&&i&&n[e].enable()});var l=d.direction&&d.direction!==s.direction,c=s.loop&&(d.slidesPerView!==s.slidesPerView||l);l&&t&&n.changeDirection(),m(n.params,d);l=n.params.enabled;Object.assign(n,{allowTouchMove:n.params.allowTouchMove,allowSlideNext:n.params.allowSlideNext,allowSlidePrev:n.params.allowSlidePrev}),h&&!l?n.disable():!h&&l&&n.enable(),n.currentBreakpoint=o,n.emit("_beforeBreakpoint",d),c&&t&&(n.loopDestroy(),n.loopCreate(),n.updateSlides(),n.slideTo(e-i+n.loopedSlides,0,!1)),n.emit("breakpoint",d)}}},getBreakpoint:function(e,i,n){if(void 0===i&&(i="window"),e&&("container"!==i||n)){let t=!1;const s=A(),a="window"===i?s.innerHeight:n.clientHeight,r=Object.keys(e).map(e=>{if("string"!=typeof e||0!==e.indexOf("@"))return{value:e,point:e};var t=parseFloat(e.substr(1));return{value:a*t,point:e}});r.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;ei}else e.isLocked=1===e.snapGrid.length;!0===i.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===i.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const{classNames:e,params:t,rtl:i,$el:n,device:s,support:a}=this,r=function(e,i){const n=[];return e.forEach(t=>{"object"==typeof t?Object.keys(t).forEach(e=>{t[e]&&n.push(i+e)}):"string"==typeof t&&n.push(i+t)}),n}(["initialized",t.direction,{"pointer-events":!a.touch},{"free-mode":this.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:i},{grid:t.grid&&1{e=m({},i,{el:e});t.push(new M(e))}),t}const a=this;a.__swiper__=!0,a.support=f(),a.device=(void 0===(h={userAgent:i.userAgent})&&(h={}),d=d||function(){var e=(void 0===h?{}:h)["userAgent"];const t=f(),i=A(),n=i.navigator.platform,s=e||i.navigator.userAgent,a={ios:!1,android:!1},r=i.screen.width,o=i.screen.height,l=s.match(/(Android);?[\s\/]+([\d.]+)?/);let c=s.match(/(iPad).*OS\s([\d_]+)/);var d=s.match(/(iPod)(.*OS\s([\d_]+))?/),u=!c&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),e="Win32"===n;let p="MacIntel"===n;return!c&&p&&t.touch&&0<=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(r+"x"+o)&&(c=s.match(/(Version)\/([\d.]+)/),c=c||[0,1,"13_0_0"],p=!1),l&&!e&&(a.os="android",a.android=!0),(c||u||d)&&(a.os="ios",a.ios=!0),a}(),d),a.browser=(u=u||function(){const t=A();return{isSafari:function(){const e=t.navigator.userAgent.toLowerCase();return 0<=e.indexOf("safari")&&e.indexOf("chrome")<0&&e.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}}(),u),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],i.modules&&Array.isArray(i.modules)&&a.modules.push(...i.modules);const r={};a.modules.forEach(e=>{var n,s;e({swiper:a,extendParams:(n=i,s=r,function(e){void 0===e&&(e={});var t=Object.keys(e)[0],i=e[t];"object"==typeof i&&null!==i&&(0<=["navigation","pagination","scrollbar"].indexOf(t)&&!0===n[t]&&(n[t]={auto:!0}),t in n&&"enabled"in i&&(!0===n[t]&&(n[t]={enabled:!0}),"object"!=typeof n[t]||"enabled"in n[t]||(n[t].enabled=!0),n[t]||(n[t]={enabled:!1}))),m(s,e)}),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});var o,l=m({},E,r);return a.params=m({},l,k,i),a.originalParams=m({},a.params),a.passedParams=m({},i),a.params&&a.params.on&&Object.keys(a.params.on).forEach(e=>{a.on(e,a.params.on[e])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),a.$=L,Object.assign(a,{enabled:a.params.enabled,el:t,classNames:[],slides:L(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEvents:(o=["touchstart","touchmove","touchend","touchcancel"],l=["pointerdown","pointermove","pointerup"],a.touchEventsTouch={start:o[0],move:o[1],end:o[2],cancel:o[3]},a.touchEventsDesktop={start:l[0],move:l[1],end:l[2]},a.support.touch||!a.params.simulateTouch?a.touchEventsTouch:a.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:b(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}enable(){var e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){var e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){var i=this;e=Math.min(Math.max(e,0),1);var n=i.minTranslate(),n=(i.maxTranslate()-n)*e+n;i.translateTo(n,void 0===t?0:t),i.updateActiveIndex(),i.updateSlidesClasses()}emitContainerClasses(){const t=this;if(t.params._emitClasses&&t.el){const e=t.el.className.split(" ").filter(e=>0===e.indexOf("swiper")||0===e.indexOf(t.params.containerModifierClass));t.emit("_containerClasses",e.join(" "))}}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){const i=this;if(i.params._emitClasses&&i.el){const n=[];i.slides.each(e=>{var t=i.getSlideClasses(e);n.push({slideEl:e,classNames:t}),i.emit("_slideClass",e,t)}),i.emit("_slideClasses",n)}}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);var{params:i,slides:n,slidesGrid:s,slidesSizesGrid:a,size:r,activeIndex:o}=this;let l=1;if(i.centeredSlides){let t,i=n[o].swiperSlideSize;for(let e=o+1;er&&(t=!0));for(let e=o-1;0<=e;--e)n[e]&&!t&&(i+=n[e].swiperSlideSize,l+=1,i>r&&(t=!0))}else if("current"===e)for(let e=o+1;e{"vertical"===t?e.style.width="":e.style.height=""}),i.emit("changeDirection"),e&&i.update()),i}changeLanguageDirection(e){var t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(t.params.containerModifierClass+"rtl"),t.el.dir="rtl"):(t.$el.removeClass(t.params.containerModifierClass+"rtl"),t.el.dir="ltr"),t.update())}mount(t){const e=this;if(e.mounted)return!0;const i=L(t||e.params.el);if(!(t=i[0]))return!1;t.swiper=e;const n=()=>"."+(e.params.wrapperClass||"").trim().split(" ").join(".");let s=(()=>{if(t&&t.shadowRoot&&t.shadowRoot.querySelector){const e=L(t.shadowRoot.querySelector(n()));return e.children=e=>i.children(e),e}return(i.children?i:L(i)).children(n())})();if(0===s.length&&e.params.createElements){const t=T().createElement("div");s=L(t),t.className=e.params.wrapperClass,i.append(t),i.children("."+e.params.slideClass).each(e=>{s.append(e)})}return Object.assign(e,{$el:i,el:t,$wrapperEl:s,wrapperEl:s[0],mounted:!0,rtl:"rtl"===t.dir.toLowerCase()||"rtl"===i.css("direction"),rtlTranslate:"horizontal"===e.params.direction&&("rtl"===t.dir.toLowerCase()||"rtl"===i.css("direction")),wrongRTL:"-webkit-box"===s.css("display")}),!0}init(e){var t=this;return t.initialized||!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const i=this,{params:n,$el:s,$wrapperEl:a,slides:r}=i;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),t&&(i.removeClasses(),s.removeAttr("style"),a.removeAttr("style"),r&&r.length&&r.removeClass([n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(e=>{i.off(e)}),!1!==e&&(i.$el[0].swiper=null,function(){const t=i;Object.keys(t).forEach(e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})}()),i.destroyed=!0),null}static extendDefaults(e){m(k,e)}static get extendedDefaults(){return k}static get defaults(){return E}static installModule(e){M.prototype.__modules__||(M.prototype.__modules__=[]);const t=M.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?e.forEach(e=>M.installModule(e)):M.installModule(e),M}}function N(i,n,s,a){const r=T();return i.params.createElements&&Object.keys(a).forEach(t=>{if(!s[t]&&!0===s.auto){let e=i.$el.children("."+a[t])[0];e||(e=r.createElement("div"),e.className=a[t],i.$el.append(e)),s[t]=e,n[t]=e}}),s}function O(e){return"."+(e=void 0===e?"":e).trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}function D(e){const{effect:i,swiper:n,on:t,setTranslate:s,setTransition:a,overwriteParams:r,perspective:o,recreateShadows:l,getEffectParams:c}=e;let d;t("beforeInit",()=>{var e;n.params.effect===i&&(n.classNames.push(""+n.params.containerModifierClass+i),o&&o()&&n.classNames.push(n.params.containerModifierClass+"3d"),e=r?r():{},Object.assign(n.params,e),Object.assign(n.originalParams,e))}),t("setTranslate",()=>{n.params.effect===i&&s()}),t("setTransition",(e,t)=>{n.params.effect===i&&a(t)}),t("transitionEnd",()=>{n.params.effect===i&&l&&c&&c().slideShadows&&(n.slides.each(e=>{n.$(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove()}),l())}),t("virtualUpdate",()=>{n.params.effect===i&&(n.slides.length||(d=!0),requestAnimationFrame(()=>{d&&n.slides&&n.slides.length&&(s(),d=!1)}))})}function $(e,t){return e.transformEl?t.find(e.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}function P(e){let{swiper:n,duration:t,transformEl:s,allSlides:a}=e;const{slides:r,activeIndex:o,$wrapperEl:l}=n;if(n.params.virtualTranslate&&0!==t){let e,i=!1;e=a?s?r.find(s):r:s?r.eq(o).find(s):r.eq(o),e.transitionEnd(()=>{if(!i&&n&&!n.destroyed){i=!0,n.animating=!1;var t=["webkitTransitionEnd","transitionend"];for(let e=0;e
`),s.append(a)),a}Object.keys(x).forEach(t=>{Object.keys(x[t]).forEach(e=>{M.prototype[e]=x[t][e]})}),M.use([function(e){let{swiper:a,on:t,emit:i}=e;const n=A();let s=null,r=null;const o=()=>{a&&!a.destroyed&&a.initialized&&(i("beforeResize"),i("resize"))},l=()=>{a&&!a.destroyed&&a.initialized&&i("orientationchange")};t("init",()=>{a.params.resizeObserver&&void 0!==n.ResizeObserver?a&&!a.destroyed&&a.initialized&&(s=new ResizeObserver(i=>{r=n.requestAnimationFrame(()=>{var{width:e,height:t}=a;let n=e,s=t;i.forEach(e=>{var{contentBoxSize:t,contentRect:i,target:e}=e;e&&e!==a.el||(n=i?i.width:(t[0]||t).inlineSize,s=i?i.height:(t[0]||t).blockSize)}),n===e&&s===t||o()})}),s.observe(a.el)):(n.addEventListener("resize",o),n.addEventListener("orientationchange",l))}),t("destroy",()=>{r&&n.cancelAnimationFrame(r),s&&s.unobserve&&a.el&&(s.unobserve(a.el),s=null),n.removeEventListener("resize",o),n.removeEventListener("orientationchange",l)})},function(e){let{swiper:i,extendParams:t,on:n,emit:s}=e;function a(e,t){void 0===t&&(t={});const i=new(o.MutationObserver||o.WebkitMutationObserver)(e=>{var t;1!==e.length?(t=function(){s("observerUpdate",e[0])},o.requestAnimationFrame?o.requestAnimationFrame(t):o.setTimeout(t,0)):s("observerUpdate",e[0])});i.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),r.push(i)}const r=[],o=A();t({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",()=>{if(i.params.observer){if(i.params.observeParents){var t=i.$el.parents();for(let e=0;e{r.forEach(e=>{e.disconnect()}),r.splice(0,r.length)})}]);var R=[function(e){let t,{swiper:_,extendParams:i,on:n,emit:E}=e;function x(e,t){const i=_.params.virtual;if(i.cache&&_.virtual.cache[t])return _.virtual.cache[t];const n=i.renderSlide?L(i.renderSlide.call(_,e,t)):L(`
${e}
`);return n.attr("data-swiper-slide-index")||n.attr("data-swiper-slide-index",t),i.cache&&(_.virtual.cache[t]=n),n}function r(t){const{slidesPerView:e,slidesPerGroup:i,centeredSlides:n}=_.params,{addSlidesBefore:s,addSlidesAfter:a}=_.params.virtual,{from:r,to:o,slides:l,slidesGrid:c,offset:d}=_.virtual;_.params.cssMode||_.updateActiveIndex();var u=_.activeIndex||0;let p,h,m;p=_.rtlTranslate?"right":_.isHorizontal()?"left":"top",m=n?(h=Math.floor(e/2)+i+a,Math.floor(e/2)+i+s):(h=e+(i-1)+a,i+s);const f=Math.max((u||0)-m,0),g=Math.min((u||0)+h,l.length-1),b=(_.slidesGrid[f]||0)-(_.slidesGrid[0]||0);function v(){_.updateSlides(),_.updateProgress(),_.updateSlidesClasses(),_.lazy&&_.params.lazy.enabled&&_.lazy.load(),E("virtualUpdate")}if(Object.assign(_.virtual,{from:f,to:g,offset:b,slidesGrid:_.slidesGrid}),r===f&&o===g&&!t)return _.slidesGrid!==c&&b!==d&&_.slides.css(p,b+"px"),_.updateProgress(),void E("virtualUpdate");if(_.params.virtual.renderExternal)return _.params.virtual.renderExternal.call(_,{offset:b,from:f,to:g,slides:function(){const t=[];for(let e=f;e<=g;e+=1)t.push(l[e]);return t}()}),void(_.params.virtual.renderExternalUpdate?v():E("virtualUpdate"));const y=[],w=[];if(t)_.$wrapperEl.find("."+_.params.slideClass).remove();else for(let e=r;e<=o;e+=1)(eg)&&_.$wrapperEl.find(`.${_.params.slideClass}[data-swiper-slide-index="${e}"]`).remove();for(let e=0;e=f&&e<=g&&(void 0===o||t?w.push(e):(e>o&&w.push(e),e{_.$wrapperEl.append(x(l[e],e))}),y.sort((e,t)=>t-e).forEach(e=>{_.$wrapperEl.prepend(x(l[e],e))}),_.$wrapperEl.children(".swiper-slide").css(p,b+"px"),v()}i({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}}),_.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]},n("beforeInit",()=>{_.params.virtual.enabled&&(_.virtual.slides=_.params.virtual.slides,_.classNames.push(_.params.containerModifierClass+"virtual"),_.params.watchSlidesProgress=!0,_.originalParams.watchSlidesProgress=!0,_.params.initialSlide||r())}),n("setTranslate",()=>{_.params.virtual.enabled&&(_.params.cssMode&&!_._immediateVirtual?(clearTimeout(t),t=setTimeout(()=>{r()},100)):r())}),n("init update resize",()=>{_.params.virtual.enabled&&_.params.cssMode&&S(_.wrapperEl,"--swiper-virtual-size",_.virtualSize+"px")}),Object.assign(_.virtual,{appendSlide:function(t){if("object"==typeof t&&"length"in t)for(let e=0;e{const t=n[e],i=t.attr("data-swiper-slide-index");i&&t.attr("data-swiper-slide-index",parseInt(i,10)+a),s[parseInt(e,10)+a]=t}),_.virtual.cache=s}r(!0),_.slideTo(e,0)},removeSlide:function(i){if(null!=i){let t=_.activeIndex;if(Array.isArray(i))for(let e=i.length-1;0<=e;--e)_.virtual.slides.splice(i[e],1),_.params.virtual.cache&&delete _.virtual.cache[i[e]],i[e]{u.params.keyboard.enabled&&s()}),i("destroy",()=>{u.keyboard.enabled&&a()}),Object.assign(u.keyboard,{enable:s,disable:a})},function(e){let{swiper:c,extendParams:t,on:i,emit:d}=e;const n=A();let u;t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),c.mousewheel={enabled:!1};let p,s=b();const h=[];function a(){c.enabled&&(c.mouseEntered=!0)}function r(){c.enabled&&(c.mouseEntered=!1)}function m(e){return!(c.params.mousewheel.thresholdDelta&&e.deltaMath.abs(l.pixelY)))return!0;t=-l.pixelX*o}else{if(!(Math.abs(l.pixelY)>Math.abs(l.pixelX)))return!0;t=-l.pixelY}else t=Math.abs(l.pixelX)>Math.abs(l.pixelY)?-l.pixelX*o:-l.pixelY;if(0===t)return!0;r.invert&&(t=-t);let i=c.getTranslate()+t*r.sensitivity;if(i>=c.minTranslate()&&(i=c.minTranslate()),i<=c.maxTranslate()&&(i=c.maxTranslate()),a=!!c.params.loop||!(i===c.minTranslate()||i===c.maxTranslate()),a&&c.params.nested&&s.stopPropagation(),c.params.freeMode&&c.params.freeMode.enabled){const n={time:b(),delta:Math.abs(t),direction:Math.sign(t)},a=p&&n.time=c.minTranslate()&&(e=c.minTranslate()),e<=c.maxTranslate()&&(e=c.maxTranslate()),c.setTransition(0),c.setTranslate(e),c.updateProgress(),c.updateActiveIndex(),c.updateSlidesClasses(),(!L&&c.isBeginning||!b&&c.isEnd)&&c.updateSlidesClasses(),c.params.freeMode.sticky){clearTimeout(u),u=void 0,15<=h.length&&h.shift();const s=h.length?h[h.length-1]:void 0,a=h[0];if(h.push(n),s&&(n.delta>s.delta||n.direction!==s.direction))h.splice(0);else if(15<=h.length&&n.time-a.time<500&&1<=a.delta-n.delta&&n.delta<=6){const s=0{c.slideToClosest(c.params.speed,!0,void 0,s)},0)}u=u||C(()=>{p=n,h.splice(0),c.slideToClosest(c.params.speed,!0,void 0,.5)},500)}if(a||d("scroll",s),c.params.autoplay&&c.params.autoplayDisableOnInteraction&&c.autoplay.stop(),e===c.minTranslate()||e===c.maxTranslate())return!0}}else{const s={time:b(),delta:Math.abs(t),direction:Math.sign(t),raw:n};2<=h.length&&h.shift();const a=h.length?h[h.length-1]:void 0;if(h.push(s),(!a||s.direction!==a.direction||s.delta>a.delta||s.time>a.time+150)&&m(s),function(e){var t=c.params.mousewheel;if(e.direction<0){if(c.isEnd&&!c.params.loop&&t.releaseOnEdges)return 1}else if(c.isBeginning&&!c.params.loop&&t.releaseOnEdges)return 1}(s))return!0}return s.preventDefault?s.preventDefault():s.returnValue=!1,!1}}function l(e){let t=c.$el;"container"!==c.params.mousewheel.eventsTarget&&(t=L(c.params.mousewheel.eventsTarget)),t[e]("mouseenter",a),t[e]("mouseleave",r),t[e]("wheel",o)}function f(){return c.params.cssMode?(c.wrapperEl.removeEventListener("wheel",o),!0):!c.mousewheel.enabled&&(l("on"),c.mousewheel.enabled=!0)}function g(){return c.params.cssMode?(c.wrapperEl.addEventListener(event,o),!0):!!c.mousewheel.enabled&&(l("off"),!(c.mousewheel.enabled=!1))}i("init",()=>{!c.params.mousewheel.enabled&&c.params.cssMode&&g(),c.params.mousewheel.enabled&&f()}),i("destroy",()=>{c.params.cssMode&&f(),c.mousewheel.enabled&&g()}),Object.assign(c.mousewheel,{enable:f,disable:g})},function(e){let{swiper:a,extendParams:t,on:i,emit:r}=e;function n(e){let t;return e&&(t=L(e),a.params.uniqueNavElements&&"string"==typeof e&&1{!1===a.params.navigation.enabled?p():(d(),o())}),i("toEdge fromEdge lock unlock",()=>{o()}),i("destroy",()=>{u()}),i("enable disable",()=>{const{$nextEl:e,$prevEl:t}=a.navigation;e&&e[a.enabled?"removeClass":"addClass"](a.params.navigation.lockClass),t&&t[a.enabled?"removeClass":"addClass"](a.params.navigation.lockClass)}),i("click",(e,t)=>{const{$nextEl:i,$prevEl:n}=a.navigation,s=t.target;if(a.params.navigation.hideOnClick&&!L(s).is(n)&&!L(s).is(i)&&(!(a.pagination&&a.params.pagination&&a.params.pagination.clickable)||a.pagination.el!==s&&!a.pagination.el.contains(s))){let e;i?e=i.hasClass(a.params.navigation.hiddenClass):n&&(e=n.hasClass(a.params.navigation.hiddenClass)),r(!0===e?"navigationShow":"navigationHide"),i&&i.toggleClass(a.params.navigation.hiddenClass),n&&n.toggleClass(a.params.navigation.hiddenClass)}});const p=()=>{a.$el.addClass(a.params.navigation.navigationDisabledClass),u()};Object.assign(a.navigation,{enable:()=>{a.$el.removeClass(a.params.navigation.navigationDisabledClass),d(),o()},disable:p,update:o,init:d,destroy:u})},function(e){let{swiper:c,extendParams:t,on:i,emit:d}=e;e="swiper-pagination";let u;t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:e+"-bullet",bulletActiveClass:e+"-bullet-active",modifierClass:e+"-",currentClass:e+"-current",totalClass:e+"-total",hiddenClass:e+"-hidden",progressbarFillClass:e+"-progressbar-fill",progressbarOppositeClass:e+"-progressbar-opposite",clickableClass:e+"-clickable",lockClass:e+"-lock",horizontalClass:e+"-horizontal",verticalClass:e+"-vertical",paginationDisabledClass:e+"-disabled"}}),c.pagination={el:null,$el:null,bullets:[]};let p=0;function a(){return!c.params.pagination.el||!c.pagination.el||!c.pagination.$el||0===c.pagination.$el.length}function h(e,t){var i=c.params.pagination["bulletActiveClass"];e[t]().addClass(i+"-"+t)[t]().addClass(i+`-${t}-`+t)}function n(){const t=c.rtl,r=c.params.pagination;if(!a()){const o=(c.virtual&&c.params.virtual.enabled?c.virtual:c).slides.length,l=c.pagination.$el;let a;var i=c.params.loop?Math.ceil((o-2*c.loopedSlides)/c.params.slidesPerGroup):c.snapGrid.length;if(c.params.loop?(a=Math.ceil((c.activeIndex-c.loopedSlides)/c.params.slidesPerGroup),a>o-1-2*c.loopedSlides&&(a-=o-2*c.loopedSlides),a>i-1&&(a-=i),a<0&&"bullets"!==c.params.paginationType&&(a=i+a)):a=void 0!==c.snapIndex?c.snapIndex:c.activeIndex||0,"bullets"===r.type&&c.pagination.bullets&&0r.dynamicMainBullets-1?p=r.dynamicMainBullets-1:p<0&&(p=0)),n=Math.max(a-p,0),s=n+(Math.min(o.length,r.dynamicMainBullets)-1),e=(s+n)/2),o.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>""+r.bulletActiveClass+e).join(" ")),1{const t=L(e),i=t.index();i===a&&t.addClass(r.bulletActiveClass),r.dynamicBullets&&(i>=n&&i<=s&&t.addClass(r.bulletActiveClass+"-main"),i===n&&h(t,"prev"),i===s&&h(t,"next"))});else{const t=o.eq(a),l=t.index();if(t.addClass(r.bulletActiveClass),r.dynamicBullets){const t=o.eq(n),u=o.eq(s);for(let e=n;e<=s;e+=1)o.eq(e).addClass(r.bulletActiveClass+"-main");if(c.params.loop)if(l>=o.length){for(let e=r.dynamicMainBullets;0<=e;--e)o.eq(o.length-e).addClass(r.bulletActiveClass+"-main");o.eq(o.length-r.dynamicMainBullets-1).addClass(r.bulletActiveClass+"-prev")}else h(t,"prev"),h(u,"next");else h(t,"prev"),h(u,"next")}}if(r.dynamicBullets){const d=Math.min(o.length,r.dynamicMainBullets+4),l=(u*d-u)/2-e*u,p=t?"right":"left";o.css(c.isHorizontal()?p:"top",l+"px")}}if("fraction"===r.type&&(l.find(O(r.currentClass)).text(r.formatFractionCurrent(a+1)),l.find(O(r.totalClass)).text(r.formatFractionTotal(i))),"progressbar"===r.type){var n=r.progressbarOpposite?c.isHorizontal()?"vertical":"horizontal":c.isHorizontal()?"horizontal":"vertical";const o=(a+1)/i;let e=1,t=1;"horizontal"==n?e=o:t=o,l.find(O(r.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${e}) scaleY(${t})`).transition(c.params.speed)}"custom"===r.type&&r.renderCustom?(l.html(r.renderCustom(c,a+1,i)),d("paginationRender",l[0])):d("paginationUpdate",l[0]),c.params.watchOverflow&&c.enabled&&l[c.isLocked?"addClass":"removeClass"](r.lockClass)}}function s(){const n=c.params.pagination;if(!a()){const e=(c.virtual&&c.params.virtual.enabled?c.virtual:c).slides.length,s=c.pagination.$el;let i="";if("bullets"===n.type){let t=c.params.loop?Math.ceil((e-2*c.loopedSlides)/c.params.slidesPerGroup):c.snapGrid.length;c.params.freeMode&&c.params.freeMode.enabled&&!c.params.loop&&t>e&&(t=e);for(let e=0;e`;s.html(i),c.pagination.bullets=s.find(O(n.bulletClass))}"fraction"===n.type&&(i=n.renderFraction?n.renderFraction.call(c,n.currentClass,n.totalClass):` / `,s.html(i)),"progressbar"===n.type&&(i=n.renderProgressbar?n.renderProgressbar.call(c,n.progressbarFillClass):``,s.html(i)),"custom"!==n.type&&d("paginationRender",c.pagination.$el[0])}}function r(){c.params.pagination=N(c,c.originalParams.pagination,c.params.pagination,{el:"swiper-pagination"});const t=c.params.pagination;if(t.el){let e=L(t.el);0!==e.length&&(c.params.uniqueNavElements&&"string"==typeof t.el&&1L(e).parents(".swiper")[0]===c.el))),"bullets"===t.type&&t.clickable&&e.addClass(t.clickableClass),e.addClass(t.modifierClass+t.type),e.addClass(c.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(e.addClass(""+t.modifierClass+t.type+"-dynamic"),p=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&e.addClass(t.progressbarOppositeClass),t.clickable&&e.on("click",O(t.bulletClass),function(e){e.preventDefault();let t=L(this).index()*c.params.slidesPerGroup;c.params.loop&&(t+=c.loopedSlides),c.slideTo(t)}),Object.assign(c.pagination,{$el:e,el:e[0]}),c.enabled||e.addClass(t.lockClass))}}function o(){var e=c.params.pagination;if(!a()){const t=c.pagination.$el;t.removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),t.removeClass(c.isHorizontal()?e.horizontalClass:e.verticalClass),c.pagination.bullets&&c.pagination.bullets.removeClass&&c.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&t.off("click",O(e.bulletClass))}}i("init",()=>{!1===c.params.pagination.enabled?l():(r(),s(),n())}),i("activeIndexChange",()=>{!c.params.loop&&void 0!==c.snapIndex||n()}),i("snapIndexChange",()=>{c.params.loop||n()}),i("slidesLengthChange",()=>{c.params.loop&&(s(),n())}),i("snapGridLengthChange",()=>{c.params.loop||(s(),n())}),i("destroy",()=>{o()}),i("enable disable",()=>{const e=c.pagination["$el"];e&&e[c.enabled?"removeClass":"addClass"](c.params.pagination.lockClass)}),i("lock unlock",()=>{n()}),i("click",(e,t)=>{const i=t.target,n=c.pagination["$el"];if(c.params.pagination.el&&c.params.pagination.hideOnClick&&n&&0{c.$el.addClass(c.params.pagination.paginationDisabledClass),c.pagination.$el&&c.pagination.$el.addClass(c.params.pagination.paginationDisabledClass),o()};Object.assign(c.pagination,{enable:()=>{c.$el.removeClass(c.params.pagination.paginationDisabledClass),c.pagination.$el&&c.pagination.$el.removeClass(c.params.pagination.paginationDisabledClass),r(),s(),n()},disable:l,render:s,update:n,init:r,destroy:o})},function(e){let{swiper:c,extendParams:t,on:i,emit:r}=e;const d=T();let o,l,u,n,p=!1,h=null,m=null;function s(){if(c.params.scrollbar.el&&c.scrollbar.el){const{scrollbar:i,rtlTranslate:n,progress:s}=c,{$dragEl:a,$el:r}=i,o=c.params.scrollbar;let e=l,t=(u-l)*s;n?(t=-t,0u&&(e=u+t)):t<0?(e=l+t,t=0):t+l>u&&(e=u-t),c.isHorizontal()?(a.transform(`translate3d(${t}px, 0, 0)`),a[0].style.width=e+"px"):(a.transform(`translate3d(0px, ${t}px, 0)`),a[0].style.height=e+"px"),o.hide&&(clearTimeout(h),r[0].style.opacity=1,h=setTimeout(()=>{r[0].style.opacity=0,r.transition(400)},1e3))}}function a(){if(c.params.scrollbar.el&&c.scrollbar.el){const e=c["scrollbar"],{$dragEl:t,$el:i}=e;t[0].style.width="",t[0].style.height="",u=c.isHorizontal()?i[0].offsetWidth:i[0].offsetHeight,n=c.size/(c.virtualSize+c.params.slidesOffsetBefore-(c.params.centeredSlides?c.snapGrid[0]:0)),l="auto"===c.params.scrollbar.dragSize?u*n:parseInt(c.params.scrollbar.dragSize,10),c.isHorizontal()?t[0].style.width=l+"px":t[0].style.height=l+"px",i[0].style.display=1<=n?"none":"",c.params.scrollbar.hide&&(i[0].style.opacity=0),c.params.watchOverflow&&c.enabled&&e.$el[c.isLocked?"addClass":"removeClass"](c.params.scrollbar.lockClass)}}function f(e){return c.isHorizontal()?("touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0]:e).clientX:("touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0]:e).clientY}function g(e){const{scrollbar:t,rtlTranslate:i}=c,n=t["$el"];let s;s=(f(e)-n.offset()[c.isHorizontal()?"left":"top"]-(null!==o?o:l/2))/(u-l),s=Math.max(Math.min(s,1),0),i&&(s=1-s);e=c.minTranslate()+(c.maxTranslate()-c.minTranslate())*s;c.updateProgress(e),c.setTranslate(e),c.updateActiveIndex(),c.updateSlidesClasses()}function b(e){const t=c.params.scrollbar,{scrollbar:i,$wrapperEl:n}=c,{$el:s,$dragEl:a}=i;p=!0,o=e.target===a[0]||e.target===a?f(e)-e.target.getBoundingClientRect()[c.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),n.transition(100),a.transition(100),g(e),clearTimeout(m),s.transition(0),t.hide&&s.css("opacity",1),c.params.cssMode&&c.$wrapperEl.css("scroll-snap-type","none"),r("scrollbarDragStart",e)}function v(e){const{scrollbar:t,$wrapperEl:i}=c,{$el:n,$dragEl:s}=t;p&&(e.preventDefault?e.preventDefault():e.returnValue=!1,g(e),i.transition(0),n.transition(0),s.transition(0),r("scrollbarDragMove",e))}function y(e){const t=c.params.scrollbar,{scrollbar:i,$wrapperEl:n}=c,s=i["$el"];p&&(p=!1,c.params.cssMode&&(c.$wrapperEl.css("scroll-snap-type",""),n.transition("")),t.hide&&(clearTimeout(m),m=C(()=>{s.css("opacity",0),s.transition(400)},1e3)),r("scrollbarDragEnd",e),t.snapOnRelease&&c.slideToClosest())}function w(e){var{scrollbar:t,touchEventsTouch:i,touchEventsDesktop:n,params:s,support:a}=c,t=t.$el;if(t){const r=t[0],o=!(!a.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},l=!(!a.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};r&&(e="on"===e?"addEventListener":"removeEventListener",a.touch?(r[e](i.start,b,o),r[e](i.move,v,o),r[e](i.end,y,l)):(r[e](n.start,b,o),d[e](n.move,v,o),d[e](n.end,y,l)))}}function _(){const{scrollbar:i,$el:n}=c;c.params.scrollbar=N(c,c.originalParams.scrollbar,c.params.scrollbar,{el:"swiper-scrollbar"});var s=c.params.scrollbar;if(s.el){let e=L(s.el);c.params.uniqueNavElements&&"string"==typeof s.el&&1`),e.append(t)),Object.assign(i,{$el:e,el:e[0],$dragEl:t,dragEl:t[0]}),s.draggable&&c.params.scrollbar.el&&c.scrollbar.el&&w("on"),e&&e[c.enabled?"removeClass":"addClass"](c.params.scrollbar.lockClass)}}function E(){const e=c.params.scrollbar,t=c.scrollbar.$el;t&&t.removeClass(c.isHorizontal()?e.horizontalClass:e.verticalClass),c.params.scrollbar.el&&c.scrollbar.el&&w("off")}t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),c.scrollbar={el:null,dragEl:null,$el:null,$dragEl:null},i("init",()=>{!1===c.params.scrollbar.enabled?x():(_(),a(),s())}),i("update resize observerUpdate lock unlock",()=>{a()}),i("setTranslate",()=>{s()}),i("setTransition",(e,t)=>{t=t,c.params.scrollbar.el&&c.scrollbar.el&&c.scrollbar.$dragEl.transition(t)}),i("enable disable",()=>{const e=c.scrollbar["$el"];e&&e[c.enabled?"removeClass":"addClass"](c.params.scrollbar.lockClass)}),i("destroy",()=>{E()});const x=()=>{c.$el.addClass(c.params.scrollbar.scrollbarDisabledClass),c.scrollbar.$el&&c.scrollbar.$el.addClass(c.params.scrollbar.scrollbarDisabledClass),E()};Object.assign(c.scrollbar,{enable:()=>{c.$el.removeClass(c.params.scrollbar.scrollbarDisabledClass),c.scrollbar.$el&&c.scrollbar.$el.removeClass(c.params.scrollbar.scrollbarDisabledClass),_(),a(),s()},disable:x,updateSize:a,setTranslate:s,init:_,destroy:E})},function(e){let{swiper:d,extendParams:t,on:i}=e;t({parallax:{enabled:!1}});const a=(e,t)=>{const i=d["rtl"],n=L(e),s=i?-1:1,a=n.attr("data-swiper-parallax")||"0";let r=n.attr("data-swiper-parallax-x"),o=n.attr("data-swiper-parallax-y");var l=n.attr("data-swiper-parallax-scale"),e=n.attr("data-swiper-parallax-opacity");if(r||o?(r=r||"0",o=o||"0"):d.isHorizontal()?(r=a,o="0"):(o=a,r="0"),r=0<=r.indexOf("%")?parseInt(r,10)*t*s+"%":r*t*s+"px",o=0<=o.indexOf("%")?parseInt(o,10)*t+"%":o*t+"px",null!=e){const c=e-(e-1)*(1-Math.abs(t));n[0].style.opacity=c}if(null==l)n.transform(`translate3d(${r}, ${o}, 0px)`);else{const c=l-(l-1)*(1-Math.abs(t));n.transform(`translate3d(${r}, ${o}, 0px) scale(${c})`)}},n=()=>{const{$el:e,slides:t,progress:n,snapGrid:s}=d;e.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(e=>{a(e,n)}),t.each((e,t)=>{let i=e.progress;1{a(e,i)})})};i("beforeInit",()=>{d.params.parallax.enabled&&(d.params.watchSlidesProgress=!0,d.originalParams.watchSlidesProgress=!0)}),i("init",()=>{d.params.parallax.enabled&&n()}),i("setTranslate",()=>{d.params.parallax.enabled&&n()}),i("setTransition",(e,t)=>{d.params.parallax.enabled&&function(n){void 0===n&&(n=d.params.speed);const e=d["$el"];e.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(e=>{const t=L(e);let i=parseInt(t.attr("data-swiper-parallax-duration"),10)||n;0===n&&(i=0),t.transition(i)})}(t)})},function(e){let{swiper:_,extendParams:t,on:i,emit:n}=e;const E=A();t({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),_.zoom={enabled:!1};let s,a,r,x=1,o=!1;const T={$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},C={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},l={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let c=1;function d(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,n=e.targetTouches[1].pageX,e=e.targetTouches[1].pageY;return Math.sqrt((n-t)**2+(e-i)**2)}function u(e){var t=_.support,i=_.params.zoom;if(a=!1,r=!1,!t.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;a=!0,T.scaleStart=d(e)}T.$slideEl&&T.$slideEl.length||(T.$slideEl=L(e.target).closest("."+_.params.slideClass),0===T.$slideEl.length&&(T.$slideEl=_.slides.eq(_.activeIndex)),T.$imageEl=T.$slideEl.find("."+i.containerClass).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),T.$imageWrapEl=T.$imageEl.parent("."+i.containerClass),T.maxRatio=T.$imageWrapEl.attr("data-swiper-zoom")||i.maxRatio,0!==T.$imageWrapEl.length)?(T.$imageEl&&T.$imageEl.transition(0),o=!0):T.$imageEl=void 0}function p(e){const t=_.support,i=_.params.zoom,n=_.zoom;if(!t.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;r=!0,T.scaleMove=d(e)}T.$imageEl&&0!==T.$imageEl.length?(t.gestures?n.scale=e.scale*x:n.scale=T.scaleMove/T.scaleStart*x,n.scale>T.maxRatio&&(n.scale=T.maxRatio-1+(n.scale-T.maxRatio+1)**.5),n.scaleC.touchesStart.x))return void(C.isTouched=!1);if(!_.isHorizontal()&&(Math.floor(C.minY)===Math.floor(C.startY)&&C.touchesCurrent.yC.touchesStart.y))return void(C.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),C.isMoved=!0,C.currentX=C.touchesCurrent.x-C.touchesStart.x+C.startX,C.currentY=C.touchesCurrent.y-C.touchesStart.y+C.startY,C.currentXC.maxX&&(C.currentX=C.maxX-1+(C.currentX-C.maxX+1)**.8),C.currentYC.maxY&&(C.currentY=C.maxY-1+(C.currentY-C.maxY+1)**.8),l.prevPositionX||(l.prevPositionX=C.touchesCurrent.x),l.prevPositionY||(l.prevPositionY=C.touchesCurrent.y),l.prevTime||(l.prevTime=Date.now()),l.x=(C.touchesCurrent.x-l.prevPositionX)/(Date.now()-l.prevTime)/2,l.y=(C.touchesCurrent.y-l.prevPositionY)/(Date.now()-l.prevTime)/2,Math.abs(C.touchesCurrent.x-l.prevPositionX)<2&&(l.x=0),Math.abs(C.touchesCurrent.y-l.prevPositionY)<2&&(l.y=0),l.prevPositionX=C.touchesCurrent.x,l.prevPositionY=C.touchesCurrent.y,l.prevTime=Date.now(),T.$imageWrapEl.transform(`translate3d(${C.currentX}px, ${C.currentY}px,0)`)}}}function f(){const e=_.zoom;T.$slideEl&&_.previousIndex!==_.activeIndex&&(T.$imageEl&&T.$imageEl.transform("translate3d(0,0,0) scale(1)"),T.$imageWrapEl&&T.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,x=1,T.$slideEl=void 0,T.$imageEl=void 0,T.$imageWrapEl=void 0)}function g(v){const y=_.zoom,w=_.params.zoom;if(T.$slideEl||(v&&v.target&&(T.$slideEl=L(v.target).closest("."+_.params.slideClass)),T.$slideEl||(_.params.virtual&&_.params.virtual.enabled&&_.virtual?T.$slideEl=_.$wrapperEl.children("."+_.params.slideActiveClass):T.$slideEl=_.slides.eq(_.activeIndex)),T.$imageEl=T.$slideEl.find("."+w.containerClass).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),T.$imageWrapEl=T.$imageEl.parent("."+w.containerClass)),T.$imageEl&&0!==T.$imageEl.length&&T.$imageWrapEl&&0!==T.$imageWrapEl.length){let e,t,i,n,s,a,r,o,l,c,d,u,p,h,m,f,g,b;_.params.cssMode&&(_.wrapperEl.style.overflow="hidden",_.wrapperEl.style.touchAction="none"),T.$slideEl.addClass(""+w.zoomedSlideClass),t=void 0===C.touchesStart.x&&v?(e=("touchend"===v.type?v.changedTouches[0]:v).pageX,("touchend"===v.type?v.changedTouches[0]:v).pageY):(e=C.touchesStart.x,C.touchesStart.y),y.scale=T.$imageWrapEl.attr("data-swiper-zoom")||w.maxRatio,x=T.$imageWrapEl.attr("data-swiper-zoom")||w.maxRatio,v?(g=T.$slideEl[0].offsetWidth,b=T.$slideEl[0].offsetHeight,i=T.$slideEl.offset().left+E.scrollX,n=T.$slideEl.offset().top+E.scrollY,s=i+g/2-e,a=n+b/2-t,l=T.$imageEl[0].offsetWidth,c=T.$imageEl[0].offsetHeight,d=l*y.scale,u=c*y.scale,m=-(p=Math.min(g/2-d/2,0)),f=-(h=Math.min(b/2-u/2,0)),r=s*y.scale,o=a*y.scale,rm&&(r=m),of&&(o=f)):(r=0,o=0),T.$imageWrapEl.transition(300).transform(`translate3d(${r}px, ${o}px,0)`),T.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${y.scale})`)}}function b(){const e=_.zoom,t=_.params.zoom;T.$slideEl||(_.params.virtual&&_.params.virtual.enabled&&_.virtual?T.$slideEl=_.$wrapperEl.children("."+_.params.slideActiveClass):T.$slideEl=_.slides.eq(_.activeIndex),T.$imageEl=T.$slideEl.find("."+t.containerClass).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),T.$imageWrapEl=T.$imageEl.parent("."+t.containerClass)),T.$imageEl&&0!==T.$imageEl.length&&T.$imageWrapEl&&0!==T.$imageWrapEl.length&&(_.params.cssMode&&(_.wrapperEl.style.overflow="",_.wrapperEl.style.touchAction=""),e.scale=1,x=1,T.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),T.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),T.$slideEl.removeClass(""+t.zoomedSlideClass),T.$slideEl=void 0)}function v(e){var t=_.zoom;t.scale&&1!==t.scale?b():g(e)}function y(){var e=_.support;return{passiveListener:!("touchstart"!==_.touchEvents.start||!e.passiveListener||!_.params.passiveListeners)&&{passive:!0,capture:!1},activeListenerWithCapture:!e.passiveListener||{passive:!1,capture:!0}}}function w(){return"."+_.params.slideClass}function S(e){var t=y()["passiveListener"],i=w();_.$wrapperEl[e]("gesturestart",i,u,t),_.$wrapperEl[e]("gesturechange",i,p,t),_.$wrapperEl[e]("gestureend",i,h,t)}function k(){s||(s=!0,S("on"))}function M(){s&&(s=!1,S("off"))}function N(){const e=_.zoom;var t,i,n,s;e.enabled||(e.enabled=!0,t=_.support,{passiveListener:i,activeListenerWithCapture:n}=y(),s=w(),t.gestures?(_.$wrapperEl.on(_.touchEvents.start,k,i),_.$wrapperEl.on(_.touchEvents.end,M,i)):"touchstart"===_.touchEvents.start&&(_.$wrapperEl.on(_.touchEvents.start,s,u,i),_.$wrapperEl.on(_.touchEvents.move,s,p,n),_.$wrapperEl.on(_.touchEvents.end,s,h,i),_.touchEvents.cancel&&_.$wrapperEl.on(_.touchEvents.cancel,s,h,i)),_.$wrapperEl.on(_.touchEvents.move,"."+_.params.zoom.containerClass,m,n))}function O(){const e=_.zoom;var t,i,n,s;e.enabled&&(t=_.support,e.enabled=!1,{passiveListener:i,activeListenerWithCapture:n}=y(),s=w(),t.gestures?(_.$wrapperEl.off(_.touchEvents.start,k,i),_.$wrapperEl.off(_.touchEvents.end,M,i)):"touchstart"===_.touchEvents.start&&(_.$wrapperEl.off(_.touchEvents.start,s,u,i),_.$wrapperEl.off(_.touchEvents.move,s,p,n),_.$wrapperEl.off(_.touchEvents.end,s,h,i),_.touchEvents.cancel&&_.$wrapperEl.off(_.touchEvents.cancel,s,h,i)),_.$wrapperEl.off(_.touchEvents.move,"."+_.params.zoom.containerClass,m,n))}Object.defineProperty(_.zoom,"scale",{get:()=>c,set(e){var t,i;c!==e&&(t=T.$imageEl?T.$imageEl[0]:void 0,i=T.$slideEl?T.$slideEl[0]:void 0,n("zoomChange",e,t,i)),c=e}}),i("init",()=>{_.params.zoom.enabled&&N()}),i("destroy",()=>{O()}),i("touchStart",(e,t)=>{var i;_.zoom.enabled&&(i=t,t=_.device,T.$imageEl&&0!==T.$imageEl.length&&(C.isTouched||(t.android&&i.cancelable&&i.preventDefault(),C.isTouched=!0,C.touchesStart.x=("touchstart"===i.type?i.targetTouches[0]:i).pageX,C.touchesStart.y=("touchstart"===i.type?i.targetTouches[0]:i).pageY)))}),i("touchEnd",(e,t)=>{_.zoom.enabled&&function(){var i=_.zoom;if(T.$imageEl&&0!==T.$imageEl.length){if(!C.isTouched||!C.isMoved)return C.isTouched=!1,C.isMoved=!1;C.isTouched=!1,C.isMoved=!1;let e=300,t=300;var n=l.x*e,s=C.currentX+n,a=l.y*t,n=C.currentY+a;0!==l.x&&(e=Math.abs((s-C.currentX)/l.x)),0!==l.y&&(t=Math.abs((n-C.currentY)/l.y));a=Math.max(e,t);C.currentX=s,C.currentY=n;n=C.width*i.scale,i=C.height*i.scale;C.minX=Math.min(T.slideWidth/2-n/2,0),C.maxX=-C.minX,C.minY=Math.min(T.slideHeight/2-i/2,0),C.maxY=-C.minY,C.currentX=Math.max(Math.min(C.currentX,C.maxX),C.minX),C.currentY=Math.max(Math.min(C.currentY,C.maxY),C.minY),T.$imageWrapEl.transition(a).transform(`translate3d(${C.currentX}px, ${C.currentY}px,0)`)}}()}),i("doubleTap",(e,t)=>{!_.animating&&_.params.zoom.enabled&&_.zoom.enabled&&_.params.zoom.toggle&&v(t)}),i("transitionEnd",()=>{_.zoom.enabled&&_.params.zoom.enabled&&f()}),i("slideChange",()=>{_.zoom.enabled&&_.params.zoom.enabled&&_.params.cssMode&&f()}),Object.assign(_.zoom,{enable:N,disable:O,in:g,out:b,toggle:v})},function(e){let{swiper:d,extendParams:t,on:i,emit:u}=e;t({lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}});let c=!(d.lazy={}),p=!1;function h(e,o){void 0===o&&(o=!0);const l=d.params.lazy;if(void 0!==e&&0!==d.slides.length){const c=d.virtual&&d.params.virtual.enabled?d.$wrapperEl.children(`.${d.params.slideClass}[data-swiper-slide-index="${e}"]`):d.slides.eq(e),t=c.find(`.${l.elementClass}:not(.${l.loadedClass}):not(.${l.loadingClass})`);!c.hasClass(l.elementClass)||c.hasClass(l.loadedClass)||c.hasClass(l.loadingClass)||t.push(c[0]),0!==t.length&&t.each(e=>{const t=L(e);t.addClass(l.loadingClass);const i=t.attr("data-background"),n=t.attr("data-src"),s=t.attr("data-srcset"),a=t.attr("data-sizes"),r=t.parent("picture");d.loadImage(t[0],n||i,s,a,!1,()=>{var e;null==d||!d||d&&!d.params||d.destroyed||(i?(t.css("background-image",`url("${i}")`),t.removeAttr("data-background")):(s&&(t.attr("srcset",s),t.removeAttr("data-srcset")),a&&(t.attr("sizes",a),t.removeAttr("data-sizes")),r.length&&r.children("source").each(e=>{const t=L(e);t.attr("data-srcset")&&(t.attr("srcset",t.attr("data-srcset")),t.removeAttr("data-srcset"))}),n&&(t.attr("src",n),t.removeAttr("data-src"))),t.addClass(l.loadedClass).removeClass(l.loadingClass),c.find("."+l.preloaderClass).remove(),d.params.loop&&o&&(e=c.attr("data-swiper-slide-index"),c.hasClass(d.params.slideDuplicateClass)?h(d.$wrapperEl.children(`[data-swiper-slide-index="${e}"]:not(.${d.params.slideDuplicateClass})`).index(),!1):h(d.$wrapperEl.children(`.${d.params.slideDuplicateClass}[data-swiper-slide-index="${e}"]`).index(),!1)),u("lazyImageReady",c[0],t[0]),d.params.autoHeight&&d.updateAutoHeight())}),u("lazyImageLoad",c[0],t[0])})}}function m(){const{$wrapperEl:t,params:i,slides:n,activeIndex:s}=d,a=d.virtual&&i.virtual.enabled,e=i.lazy;let r=i.slidesPerView;function o(e){if(a){if(t.children(`.${i.slideClass}[data-swiper-slide-index="${e}"]`).length)return 1}else if(n[e])return 1}function l(e){return a?L(e).attr("data-swiper-slide-index"):L(e).index()}if("auto"===r&&(r=0),p=p||!0,d.params.watchSlidesProgress)t.children("."+i.slideVisibleClass).each(e=>{h(a?L(e).attr("data-swiper-slide-index"):L(e).index())});else if(1{d.params.lazy.enabled&&d.params.preloadImages&&(d.params.preloadImages=!1)}),i("init",()=>{d.params.lazy.enabled&&(d.params.lazy.checkInView?f:m)()}),i("scroll",()=>{d.params.freeMode&&d.params.freeMode.enabled&&!d.params.freeMode.sticky&&m()}),i("scrollbarDragMove resize _freeModeNoMomentumRelease",()=>{d.params.lazy.enabled&&(d.params.lazy.checkInView?f:m)()}),i("transitionStart",()=>{d.params.lazy.enabled&&(d.params.lazy.loadOnTransitionStart||!d.params.lazy.loadOnTransitionStart&&!p)&&(d.params.lazy.checkInView?f:m)()}),i("transitionEnd",()=>{d.params.lazy.enabled&&!d.params.lazy.loadOnTransitionStart&&(d.params.lazy.checkInView?f:m)()}),i("slideChange",()=>{var{lazy:e,cssMode:t,watchSlidesProgress:i,touchReleaseOnEdges:n,resistanceRatio:s}=d.params;e.enabled&&(t||i&&(n||0===s))&&m()}),i("destroy",()=>{d.$el&&d.$el.find("."+d.params.lazy.loadingClass).removeClass(d.params.lazy.loadingClass)}),Object.assign(d.lazy,{load:m,loadInSlide:h})},function(e){let{swiper:o,extendParams:t,on:i}=e;function l(e,t){const i=function(){let i,n,s;return(e,t)=>{for(n=-1,i=e.length;1>1,e[s]<=t?n=s:i=s;return i}}();let n,s;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(s=i(this.x,e),n=s-1,(e-this.x[n])*(this.y[s]-this.y[n])/(this.x[s]-this.x[n])+this.y[n]):0},this}function n(){o.controller.control&&o.controller.spline&&(o.controller.spline=void 0,delete o.controller.spline)}t({controller:{control:void 0,inverse:!1,by:"slide"}}),o.controller={control:void 0},i("beforeInit",()=>{o.controller.control=o.params.controller.control}),i("update",()=>{n()}),i("resize",()=>{n()}),i("observerUpdate",()=>{n()}),i("setTranslate",(e,t,i)=>{o.controller.control&&o.controller.setTranslate(t,i)}),i("setTransition",(e,t,i)=>{o.controller.control&&o.controller.setTransition(t,i)}),Object.assign(o.controller,{setTranslate:function(e,t){var i=o.controller.control;let n,s;var a=o.constructor;function r(e){var t,i=o.rtlTranslate?-o.translate:o.translate;"slide"===o.params.controller.by&&(t=e,o.controller.spline||(o.controller.spline=o.params.loop?new l(o.slidesGrid,t.slidesGrid):new l(o.snapGrid,t.snapGrid)),s=-o.controller.spline.interpolate(-i)),s&&"container"!==o.params.controller.by||(n=(e.maxTranslate()-e.minTranslate())/(o.maxTranslate()-o.minTranslate()),s=(i-o.minTranslate())*n+e.minTranslate()),o.params.controller.inverse&&(s=e.maxTranslate()-s),e.updateProgress(s),e.setTranslate(s,o),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(i))for(let e=0;e{e.updateAutoHeight()}),e.$wrapperEl.transitionEnd(()=>{n&&(e.params.loop&&"slide"===o.params.controller.by&&e.loopFix(),e.transitionEnd())}))}if(Array.isArray(n))for(s=0;s{s(e),"BUTTON"!==e[0].tagName&&(r(e,"button"),e.on("keydown",h)),d(e,i),e.attr("aria-controls",t)},b=()=>{o.a11y.clicked=!0},v=()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{o.a11y.clicked=!1})})},y=e=>{var t,i;o.a11y.clicked||(t=e.target.closest("."+o.params.slideClass))&&o.slides.includes(t)&&(i=o.slides.indexOf(t)===o.activeIndex,e=o.params.watchSlidesProgress&&o.visibleSlides&&o.visibleSlides.includes(t),i||e||(o.isHorizontal()?o.el.scrollLeft=0:o.el.scrollTop=0,o.slideTo(o.slides.indexOf(t),0)))},w=()=>{const s=o.params.a11y;s.itemRoleDescriptionMessage&&c(L(o.slides),s.itemRoleDescriptionMessage),s.slideRole&&r(L(o.slides),s.slideRole);const a=(o.params.loop?o.slides.filter(e=>!e.classList.contains(o.params.slideDuplicateClass)):o.slides).length;s.slideLabelMessage&&o.slides.each((e,t)=>{const i=L(e),n=o.params.loop?parseInt(i.attr("data-swiper-slide-index"),10):t;d(i,s.slideLabelMessage.replace(/\{\{index\}\}/,n+1).replace(/\{\{slidesLength\}\}/,a))})};i("beforeInit",()=>{l=L(``)}),i("afterInit",()=>{o.params.a11y.enabled&&(()=>{var e=o.params.a11y;o.$el.append(l);var t=o.$el;e.containerRoleDescriptionMessage&&c(t,e.containerRoleDescriptionMessage),e.containerMessage&&d(t,e.containerMessage);const i=o.$wrapperEl,n=e.id||i.attr("id")||"swiper-wrapper-"+"x".repeat(s=void 0===(s=16)?16:s).replace(/x/g,()=>Math.round(16*Math.random()).toString(16));var s=o.params.autoplay&&o.params.autoplay.enabled?"off":"polite";let a,r;i.attr("id",n),i.attr("aria-live",s),w(),o.navigation&&o.navigation.$nextEl&&(a=o.navigation.$nextEl),o.navigation&&o.navigation.$prevEl&&(r=o.navigation.$prevEl),a&&a.length&&g(a,n,e.nextSlideMessage),r&&r.length&&g(r,n,e.prevSlideMessage),f()&&o.pagination.$el.on("keydown",O(o.params.pagination.bulletClass),h),o.$el.on("focus",y,!0),o.$el.on("pointerdown",b,!0),o.$el.on("pointerup",v,!0)})()}),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{o.params.a11y.enabled&&w()}),i("fromEdge toEdge afterInit lock unlock",()=>{var e,t;o.params.a11y.enabled&&(o.params.loop||o.params.rewind||!o.navigation||({$nextEl:e,$prevEl:t}=o.navigation,t&&0{o.params.a11y.enabled&&function(){const i=o.params.a11y;m()&&o.pagination.bullets.each(e=>{const t=L(e);o.params.pagination.clickable&&(s(t),o.params.pagination.renderBullet||(r(t,"button"),d(t,i.paginationBulletMessage.replace(/\{\{index\}\}/,t.index()+1)))),t.is("."+o.params.pagination.bulletActiveClass)?t.attr("aria-current","true"):t.removeAttr("aria-current")})}()}),i("destroy",()=>{o.params.a11y.enabled&&function(){let e,t;l&&0e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),s=e=>{var t=A();let i;i=e?new URL(e):t.location;e=i.pathname.slice(1).split("/").filter(e=>""!==e),t=e.length;return{key:e[t-2],value:e[t-1]}},a=(i,n)=>{const s=A();if(o&&r.params.history.enabled){let e;e=r.params.url?new URL(r.params.url):s.location;const a=r.slides.eq(n);let t=l(a.attr("data-history"));if(0{if(n)for(let e=0,t=r.slides.length;e{n=s(r.params.url),c(r.params.speed,n.value,!1)};i("init",()=>{r.params.history.enabled&&(()=>{const e=A();if(r.params.history){if(!e.history||!e.history.pushState)return r.params.history.enabled=!1,r.params.hashNavigation.enabled=!0;o=!0,n=s(r.params.url),(n.key||n.value)&&(c(0,n.value,r.params.runCallbacksOnInit),r.params.history.replaceState||e.addEventListener("popstate",d))}})()}),i("destroy",()=>{r.params.history.enabled&&(()=>{const e=A();r.params.history.replaceState||e.removeEventListener("popstate",d)})()}),i("transitionEnd _freeModeNoMomentumRelease",()=>{o&&a(r.params.history.key,r.activeIndex)}),i("slideChange",()=>{o&&r.params.cssMode&&a(r.params.history.key,r.activeIndex)})},function(e){let{swiper:s,extendParams:t,emit:i,on:n}=e,a=!1;const r=T(),o=A();t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}});const l=()=>{i("hashChange");var e=r.location.hash.replace("#","");e===s.slides.eq(s.activeIndex).attr("data-hash")||void 0!==(e=s.$wrapperEl.children(`.${s.params.slideClass}[data-hash="${e}"]`).index())&&s.slideTo(e)},c=()=>{if(a&&s.params.hashNavigation.enabled)if(s.params.hashNavigation.replaceState&&o.history&&o.history.replaceState)o.history.replaceState(null,null,"#"+s.slides.eq(s.activeIndex).attr("data-hash")||""),i("hashSet");else{const e=s.slides.eq(s.activeIndex),t=e.attr("data-hash")||e.attr("data-history");r.location.hash=t||"",i("hashSet")}};n("init",()=>{s.params.hashNavigation.enabled&&(()=>{if(!(!s.params.hashNavigation.enabled||s.params.history&&s.params.history.enabled)){a=!0;const i=r.location.hash.replace("#","");if(i)for(let e=0,t=s.slides.length;e{s.params.hashNavigation.enabled&&s.params.hashNavigation.watchState&&L(o).off("hashchange",l)}),n("transitionEnd _freeModeNoMomentumRelease",()=>{a&&c()}),n("slideChange",()=>{a&&s.params.cssMode&&c()})},function(e){let i,{swiper:n,extendParams:t,on:s,emit:a}=e;function r(){if(!n.size)return n.autoplay.running=!1,void(n.autoplay.paused=!1);const e=n.slides.eq(n.activeIndex);let t=n.params.autoplay.delay;e.attr("data-swiper-autoplay")&&(t=e.attr("data-swiper-autoplay")||n.params.autoplay.delay),clearTimeout(i),i=C(()=>{let e;n.params.autoplay.reverseDirection?n.params.loop?(n.loopFix(),e=n.slidePrev(n.params.speed,!0,!0),a("autoplay")):n.isBeginning?n.params.autoplay.stopOnLastSlide?l():(e=n.slideTo(n.slides.length-1,n.params.speed,!0,!0),a("autoplay")):(e=n.slidePrev(n.params.speed,!0,!0),a("autoplay")):n.params.loop?(n.loopFix(),e=n.slideNext(n.params.speed,!0,!0),a("autoplay")):n.isEnd?n.params.autoplay.stopOnLastSlide?l():(e=n.slideTo(0,n.params.speed,!0,!0),a("autoplay")):(e=n.slideNext(n.params.speed,!0,!0),a("autoplay")),(n.params.cssMode&&n.autoplay.running||!1===e)&&r()},t)}function o(){return void 0===i&&!n.autoplay.running&&(n.autoplay.running=!0,a("autoplayStart"),r(),!0)}function l(){return!!n.autoplay.running&&void 0!==i&&(i&&(clearTimeout(i),i=void 0),n.autoplay.running=!1,a("autoplayStop"),!0)}function c(e){n.autoplay.running&&(n.autoplay.paused||(i&&clearTimeout(i),n.autoplay.paused=!0,0!==e&&n.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach(e=>{n.$wrapperEl[0].addEventListener(e,u)}):(n.autoplay.paused=!1,r())))}function d(){var e=T();"hidden"===e.visibilityState&&n.autoplay.running&&c(),"visible"===e.visibilityState&&n.autoplay.paused&&(r(),n.autoplay.paused=!1)}function u(e){n&&!n.destroyed&&n.$wrapperEl&&e.target===n.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach(e=>{n.$wrapperEl[0].removeEventListener(e,u)}),n.autoplay.paused=!1,(n.autoplay.running?r:l)())}function p(){n.params.autoplay.disableOnInteraction?l():(a("autoplayPause"),c()),["transitionend","webkitTransitionEnd"].forEach(e=>{n.$wrapperEl[0].removeEventListener(e,u)})}function h(){n.params.autoplay.disableOnInteraction||(n.autoplay.paused=!1,a("autoplayResume"),r())}n.autoplay={running:!1,paused:!1},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),s("init",()=>{n.params.autoplay.enabled&&(o(),T().addEventListener("visibilitychange",d),n.params.autoplay.pauseOnMouseEnter&&(n.$el.on("mouseenter",p),n.$el.on("mouseleave",h)))}),s("beforeTransitionStart",(e,t,i)=>{n.autoplay.running&&(i||!n.params.autoplay.disableOnInteraction?n.autoplay.pause(t):l())}),s("sliderFirstMove",()=>{n.autoplay.running&&(n.params.autoplay.disableOnInteraction?l:c)()}),s("touchEnd",()=>{n.params.cssMode&&n.autoplay.paused&&!n.params.autoplay.disableOnInteraction&&r()}),s("destroy",()=>{n.$el.off("mouseenter",p),n.$el.off("mouseleave",h),n.autoplay.running&&l(),T().removeEventListener("visibilitychange",d)}),Object.assign(n.autoplay,{pause:c,run:r,start:o,stop:l})},function(e){let{swiper:l,extendParams:t,on:i}=e;t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let n=!1,s=!1;function a(){var e=l.thumbs.swiper;if(e&&!e.destroyed){const i=e.clickedIndex,n=e.clickedSlide;if(!(n&&L(n).hasClass(l.params.thumbs.slideThumbActiveClass)||null==i)){let t;if(t=e.params.loop?parseInt(L(e.clickedSlide).attr("data-swiper-slide-index"),10):i,l.params.loop){let e=l.activeIndex;l.slides.eq(e).hasClass(l.params.slideDuplicateClass)&&(l.loopFix(),l._clientLeft=l.$wrapperEl[0].clientLeft,e=l.activeIndex);const i=l.slides.eq(e).prevAll(`[data-swiper-slide-index="${t}"]`).eq(0).index(),n=l.slides.eq(e).nextAll(`[data-swiper-slide-index="${t}"]`).eq(0).index();t=void 0===i||void 0!==n&&n-el.previousIndex?"next":"prev"}else e=l.realIndex,t=e>l.previousIndex?"next":"prev";r&&(e+="next"===t?a:-1*a),s.visibleSlidesIndexes&&s.visibleSlidesIndexes.indexOf(e)<0&&(s.params.centeredSlides?e=e>i?e-Math.floor(o/2)+1:e+Math.floor(o/2)-1:e>i&&s.params.slidesPerGroup,s.slideTo(e,n?0:void 0))}}}l.thumbs={swiper:null},i("beforeInit",()=>{var e=l.params["thumbs"];e&&e.swiper&&(r(),o(!0))}),i("slideChange update resize observerUpdate",()=>{o()}),i("setTransition",(e,t)=>{const i=l.thumbs.swiper;i&&!i.destroyed&&i.setTransition(t)}),i("beforeDestroy",()=>{const e=l.thumbs.swiper;e&&!e.destroyed&&s&&e.destroy()}),Object.assign(l.thumbs,{init:r,update:o})},function(e){let{swiper:h,extendParams:t,emit:m,once:f}=e;t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(h,{freeMode:{onTouchStart:function(){var e=h.getTranslate();h.setTranslate(e),h.setTransition(0),h.touchEventsData.velocities.length=0,h.freeMode.onTouchEnd({currentPos:h.rtl?h.translate:-h.translate})},onTouchMove:function(){const{touchEventsData:e,touches:t}=h;0===e.velocities.length&&e.velocities.push({position:t[h.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:t[h.isHorizontal()?"currentX":"currentY"],time:b()})},onTouchEnd:function(a){let r=a["currentPos"];const{params:o,$wrapperEl:l,rtlTranslate:c,snapGrid:d,touchEventsData:u}=h,e=b()-u.touchStartTime;if(r<-h.minTranslate())h.slideTo(h.activeIndex);else if(r>-h.maxTranslate())h.slides.lengthh.minTranslate())o.freeMode.momentumBounce?(i-h.minTranslate()>a&&(i=h.minTranslate()+a),t=h.minTranslate(),n=!0,u.allowMomentumBounce=!0):i=h.minTranslate(),o.loop&&o.centeredSlides&&(s=!0);else if(o.freeMode.sticky){let t;for(let e=0;e-i){t=e;break}i=Math.abs(d[t]-i){h.loopFix()}),0!==h.velocity){if(e=c?Math.abs((-i-h.translate)/h.velocity):Math.abs((i-h.translate)/h.velocity),o.freeMode.sticky){const r=Math.abs((c?-i:i)-h.translate),m=h.slidesSizesGrid[h.activeIndex];e=r{h&&!h.destroyed&&u.allowMomentumBounce&&(m("momentumBounce"),h.setTransition(o.speed),setTimeout(()=>{h.setTranslate(t),l.transitionEnd(()=>{h&&!h.destroyed&&h.transitionEnd()})},0))})):h.velocity?(m("_freeModeNoMomentumRelease"),h.updateProgress(i),h.setTransition(e),h.setTranslate(i),h.transitionStart(!0,h.swipeDirection),h.animating||(h.animating=!0,l.transitionEnd(()=>{h&&!h.destroyed&&h.transitionEnd()}))):h.updateProgress(i),h.updateActiveIndex(),h.updateSlidesClasses()}else{if(o.freeMode.sticky)return void h.slideToClosest();o.freeMode&&m("_freeModeNoMomentumRelease")}(!o.freeMode.momentum||e>=o.longSwipesMs)&&(h.updateProgress(),h.updateActiveIndex(),h.updateSlidesClasses())}}}})},function(e){let u,p,h,{swiper:m,extendParams:t}=e;t({grid:{rows:1,fill:"column"}}),m.grid={initSlides:e=>{var t=m.params["slidesPerView"],{rows:i,fill:n}=m.params.grid;p=u/i,h=Math.floor(e/i),u=Math.floor(e/i)===e/i?e:Math.ceil(e/i)*i,"auto"!==t&&"row"===n&&(u=Math.max(u,t*i))},updateSlide:(e,t,i,n)=>{var{slidesPerGroup:s,spaceBetween:a}=m.params,{rows:r,fill:o}=m.params.grid;let l,c,d;if("row"===o&&1h||c===h&&d===r-1)&&(d+=1,d>=r&&(d=0,c+=1))):(d=Math.floor(e/p),c=e-d*p);t.css(n("margin-top"),0!==d?a&&a+"px":"")},updateWrapperSize:(i,n,e)=>{var{spaceBetween:t,centeredSlides:s,roundLengths:a}=m.params,r=m.params.grid["rows"];if(m.virtualSize=(i+t)*u,m.virtualSize=Math.ceil(m.virtualSize/r)-t,m.$wrapperEl.css({[e("width")]:m.virtualSize+t+"px"}),s){n.splice(0,n.length);const i=[];for(let t=0;tt?r+1:r;const l=[];for(let e=o-1;e>=t;--e){const t=n.slides.eq(e);t.remove(),l.unshift(t)}if("object"==typeof i&&"length"in i){for(let e=0;et?r+i.length:r}else s.append(i);for(let e=0;e{const n=r["slides"],s=r.params.fadeEffect;for(let i=0;i{var t=r.params.fadeEffect["transformEl"];(t?r.slides.find(t):r.slides).transition(e),P({swiper:r,duration:e,transformEl:t,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!r.params.cssMode})})},function(e){let{swiper:f,extendParams:t,on:i}=e;t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const g=(e,t,i)=>{let n=i?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),s=i?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===n.length&&(n=L(`
`),e.append(n)),0===s.length&&(s=L(`
`),e.append(s)),n.length&&(n[0].style.opacity=Math.max(-t,0)),s.length&&(s[0].style.opacity=Math.max(t,0))};D({effect:"cube",swiper:f,on:i,setTranslate:()=>{const{$el:e,$wrapperEl:t,slides:o,width:i,height:n,rtlTranslate:l,size:c,browser:s}=f,d=f.params.cubeEffect,u=f.isHorizontal(),p=f.virtual&&f.params.virtual.enabled;let a,h=0;d.shadow&&(u?(a=t.find(".swiper-cube-shadow"),0===a.length&&(a=L('
'),t.append(a)),a.css({height:i+"px"})):(a=e.find(".swiper-cube-shadow"),0===a.length&&(a=L('
'),e.append(a))));for(let r=0;r{const{$el:t,slides:i}=f;i.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),f.params.cubeEffect.shadow&&!f.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)},recreateShadows:()=>{const i=f.isHorizontal();f.slides.each(e=>{var t=Math.max(Math.min(e.progress,1),-1);g(L(e),t,i)})},getEffectParams:()=>f.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function(e){let{swiper:u,extendParams:t,on:i}=e;t({flipEffect:{slideShadows:!0,limitRotation:!0,transformEl:null}});const p=(e,t,i)=>{let n=u.isHorizontal()?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),s=u.isHorizontal()?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===n.length&&(n=z(i,e,u.isHorizontal()?"left":"top")),0===s.length&&(s=z(i,e,u.isHorizontal()?"right":"bottom")),n.length&&(n[0].style.opacity=Math.max(-t,0)),s.length&&(s[0].style.opacity=Math.max(t,0))};D({effect:"flip",swiper:u,on:i,setTranslate:()=>{const{slides:r,rtlTranslate:o}=u,l=u.params.flipEffect;for(let a=0;a{var t=u.params.flipEffect["transformEl"];(t?u.slides.find(t):u.slides).transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),P({swiper:u,duration:e,transformEl:t})},recreateShadows:()=>{const n=u.params.flipEffect;u.slides.each(e=>{var t=L(e);let i=t[0].progress;u.params.flipEffect.limitRotation&&(i=Math.max(Math.min(e.progress,1),-1)),p(t,i,n)})},getEffectParams:()=>u.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!u.params.cssMode})})},function(e){let{swiper:y,extendParams:t,on:i}=e;t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0,transformEl:null}}),D({effect:"coverflow",swiper:y,on:i,setTranslate:()=>{const{width:e,height:l,slides:c,slidesSizesGrid:d}=y,u=y.params.coverflowEffect,p=y.isHorizontal(),h=y.translate,m=p?e/2-h:l/2-h,f=p?u.rotate:-u.rotate,g=u.depth;for(let o=0,e=c.length;o{var t=y.params.coverflowEffect["transformEl"];(t?y.slides.find(t):y.slides).transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function(e){let{swiper:y,extendParams:t,on:i}=e;t({creativeEffect:{transformEl:null,limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});D({effect:"creative",swiper:y,on:i,setTranslate:()=>{const{slides:s,$wrapperEl:e,slidesSizesGrid:a}=y,r=y.params.creativeEffect,o=r["progressMultiplier"],l=y.params.centeredSlides;if(l){const s=a[0]/2-y.params.slidesOffsetBefore||0;e.transform(`translateX(calc(50% - ${s}px))`)}for(let n=0;n{g[t]=`calc(${e}px + (${t=i.translate[t],"string"==typeof t?t:t+"px"} * ${Math.abs(m*o)}))`}),b.forEach((e,t)=>{b[t]=i.rotate[t]*Math.abs(m*o)}),a[0].style.zIndex=-Math.abs(Math.round(h))+s.length;var c=g.join(", "),d=`rotateX(${b[0]}deg) rotateY(${b[1]}deg) rotateZ(${b[2]}deg)`,u=e<0?`scale(${1+(1-i.scale)*e*o})`:`scale(${1-(1-i.scale)*e*o})`,p=e<0?1+(1-i.opacity)*e*o:1-(1-i.opacity)*e*o,u=`translate3d(${c}) ${d} `+u;if(t&&i.shadow||!t){let e=a.children(".swiper-slide-shadow");if(0===e.length&&i.shadow&&(e=z(r,a)),e.length){const y=r.shadowPerProgress?m*(1/r.limitProgress):m;e[0].style.opacity=Math.min(Math.max(Math.abs(y),0),1)}}const v=$(r,a);v.transform(u).css({opacity:p}),i.origin&&v.css("transform-origin",i.origin)}},setTransition:e=>{var t=y.params.creativeEffect["transformEl"];(t?y.slides.find(t):y.slides).transition(e).find(".swiper-slide-shadow").transition(e),P({swiper:y,duration:e,transformEl:t,allSlides:!0})},perspective:()=>y.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!y.params.cssMode})})},function(e){let{swiper:y,extendParams:t,on:i}=e;t({cardsEffect:{slideShadows:!0,transformEl:null,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),D({effect:"cards",swiper:y,on:i,setTranslate:()=>{const{slides:o,activeIndex:l}=y,c=y.params.cardsEffect,{startTranslate:d,isTouched:u}=y.touchEventsData,p=y.translate;for(let r=0;r{var t=y.params.cardsEffect["transformEl"];(t?y.slides.find(t):y.slides).transition(e).find(".swiper-slide-shadow").transition(e),P({swiper:y,duration:e,transformEl:t})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!y.params.cssMode})})}];return M.use(R),M}),function(){function o(i,e){function c(){var e,t;this.q=[],this.add=function(e){this.q.push(e)},this.call=function(){for(e=0,t=this.q.length;e
',e.appendChild(e.resizeSensor),{fixed:1,absolute:1}[i="position",(t=e).currentStyle?t.currentStyle[i]:window.getComputedStyle?window.getComputedStyle(t,null).getPropertyValue(i):t.style[i]]||(e.style.position="relative");var n,s,a=e.resizeSensor.childNodes[0],r=a.childNodes[0],o=e.resizeSensor.childNodes[1],l=(o.childNodes[0],function(){r.style.width=a.offsetWidth+10+"px",r.style.height=a.offsetHeight+10+"px",a.scrollLeft=a.scrollWidth,a.scrollTop=a.scrollHeight,o.scrollLeft=o.scrollWidth,o.scrollTop=o.scrollHeight,n=e.offsetWidth,s=e.offsetHeight});l();t=function(e,t,i){e.attachEvent?e.attachEvent("on"+t,i):e.addEventListener(t,i)},i=function(){e.offsetWidth==n&&e.offsetHeight==s||e.resizedAttached&&e.resizedAttached.call(),l()};t(a,"scroll",i),t(o,"scroll",i)}var n=Object.prototype.toString.call(i),s="[object Array]"===n||"[object NodeList]"===n||"[object HTMLCollection]"===n||"undefined"!=typeof jQuery&&i instanceof jQuery||"undefined"!=typeof Elements&&i instanceof Elements;if(s)for(var a=0,r=i.length;a.theiaStickySidebar:after {content: ""; display: table; clear: both;}')),t.each(function(){function u(){e.fixedScrollTop=0,e.sidebar.css({"min-height":"1px"}),e.stickySidebar.css({position:"static",width:"",transform:"none"})}var i,e={};e.sidebar=m(this),e.options=p||{},e.container=m(e.options.containerSelector),0==e.container.length&&(e.container=e.sidebar.parent()),e.sidebar.parents().css("-webkit-transform","none"),e.sidebar.css({position:e.options.defaultPosition,overflow:"visible","-webkit-box-sizing":"border-box","-moz-box-sizing":"border-box","box-sizing":"border-box"}),e.stickySidebar=e.sidebar.find(".theiaStickySidebar"),0==e.stickySidebar.length&&(i=/(?:text|application)\/(?:x-)?(?:javascript|ecmascript)/i,e.sidebar.find("script").filter(function(e,t){return 0===t.type.length||t.type.match(i)}).remove(),e.stickySidebar=m("
").addClass("theiaStickySidebar").append(e.sidebar.children()),e.sidebar.append(e.stickySidebar)),e.marginBottom=parseInt(e.sidebar.css("margin-bottom")),e.paddingTop=parseInt(e.sidebar.css("padding-top")),e.paddingBottom=parseInt(e.sidebar.css("padding-bottom"));var t,n,s,a=e.stickySidebar.offset().top,r=e.stickySidebar.outerHeight();e.stickySidebar.css("padding-top",1),e.stickySidebar.css("padding-bottom",1),a-=e.stickySidebar.offset().top,r=e.stickySidebar.outerHeight()-r-a,0==a?(e.stickySidebar.css("padding-top",0),e.stickySidebarPaddingTop=0):e.stickySidebarPaddingTop=1,0==r?(e.stickySidebar.css("padding-bottom",0),e.stickySidebarPaddingBottom=0):e.stickySidebarPaddingBottom=1,e.previousScrollTop=null,e.fixedScrollTop=0,u(),e.onScroll=function(e){if(e.stickySidebar.is(":visible"))if(m("body").width()e.container.width())return void u();var t,i,n,s,a,r,o=m(document).scrollTop(),l="static";o>=e.sidebar.offset().top+(e.paddingTop-e.options.additionalMarginTop)&&(i=e.paddingTop+p.additionalMarginTop,a=e.paddingBottom+e.marginBottom+p.additionalMarginBottom,s=e.sidebar.offset().top,n=e.sidebar.offset().top+(c=e.container,d=c.height(),c.children().each(function(){d=Math.max(d,m(this).height())}),d),t=0+p.additionalMarginTop,c=e.stickySidebar.outerHeight()+i+a=this.length||this.viewed&&e===this.index)return this;if(!this.isShown)return this.index=e,this.show();this.viewing&&this.viewing.abort();var t,n=this.element,s=this.options,a=this.title,r=this.canvas,o=this.items[e],l=o.querySelector("img"),c=ne(l,"originalUrl"),d=l.getAttribute("alt"),u=document.createElement("img");return X(s.inheritedAttributes,function(e){var t=l.getAttribute(e);null!==t&&u.setAttribute(e,t)}),u.src=c,u.alt=d,G(s.view)&&ce(n,"view",s.view,{once:!0}),!1===de(n,"view",{originalImage:this.images[e],index:e,image:u})||!this.isShown||this.hiding||this.played||((c=this.items[this.index])&&(J(c,h),c.removeAttribute("aria-selected")),Q(o,h),o.setAttribute("aria-selected",!0),s.focus&&o.focus(),this.image=u,this.viewed=!1,this.index=e,this.imageData={},Q(u,E),s.loading&&Q(r,x),r.innerHTML="",r.appendChild(u),this.renderList(),a.innerHTML="",ce(n,$,p,{once:!0}),this.viewing={abort:function(){le(n,$,p),u.complete?i.imageRendering?i.imageRendering.abort():i.imageInitializing&&i.imageInitializing.abort():(u.src="",le(u,O,t),i.timeout&&clearTimeout(i.timeout))}},u.complete?this.load():(ce(u,O,t=this.load.bind(this),{once:!0}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(function(){J(u,E),i.timeout=!1},1e3))),this;function p(){var e=i.imageData,t=Array.isArray(s.title)?s.title[1]:s.title;a.innerHTML=B(e=G(t)?t.call(i,u,e):"".concat(d," (").concat(e.naturalWidth," × ").concat(e.naturalHeight,")"))?e.replace(/&(?!amp;|quot;|#39;|lt;|gt;)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">"):e}},prev:function(){var e=this.index-1;return e<0&&(e=0Math.abs(o)&&(this.pointers={},1
',n=(i=p.querySelector(".".concat(m,"-container"))).querySelector(".".concat(m,"-title")),s=i.querySelector(".".concat(m,"-toolbar")),r=i.querySelector(".".concat(m,"-navbar")),h=i.querySelector(".".concat(m,"-button")),p=i.querySelector(".".concat(m,"-canvas")),this.parent=t,this.viewer=i,this.title=n,this.toolbar=s,this.navbar=r,this.button=h,this.canvas=p,this.footer=i.querySelector(".".concat(m,"-footer")),this.tooltipBox=i.querySelector(".".concat(m,"-tooltip")),this.player=i.querySelector(".".concat(m,"-player")),this.list=i.querySelector(".".concat(m,"-list")),i.id="".concat(m).concat(this.id),n.id="".concat(m,"Title").concat(this.id),Q(n,a.title?me(Array.isArray(a.title)?a.title[0]:a.title):y),Q(r,a.navbar?me(a.navbar):y),ee(h,y,!a.button),a.keyboard&&h.setAttribute("tabindex",0),a.backdrop&&(Q(i,"".concat(m,"-backdrop")),a.inline||"static"===a.backdrop||se(p,P,"hide")),B(a.className)&&a.className&&a.className.split(z).forEach(function(e){Q(i,e)}),a.toolbar?(o=document.createElement("ul"),l=U(a.toolbar),c=R.slice(0,3),d=R.slice(7,9),u=R.slice(9),l||Q(s,me(a.toolbar)),X(l?a.toolbar:R,function(e,t){var i=l&&U(e),n=l?ie(t):e,s=i&&!H(e.show)?e.show:e;!s||!a.zoomable&&-1!==c.indexOf(n)||!a.rotatable&&-1!==d.indexOf(n)||!a.scalable&&-1!==u.indexOf(n)||(t=i&&!H(e.size)?e.size:e,i=i&&!H(e.click)?e.click:e,e=document.createElement("li"),a.keyboard&&e.setAttribute("tabindex",0),e.setAttribute("role","button"),Q(e,"".concat(m,"-").concat(n)),G(i)||se(e,P,n),F(s)&&Q(e,me(s)),-1!==["small","large"].indexOf(t)?Q(e,"".concat(m,"-").concat(t)):"play"===n&&Q(e,"".concat(m,"-large")),G(i)&&ce(e,M,i),o.appendChild(e))}),s.appendChild(o)):Q(s,y),a.rotatable||(Q(p=s.querySelectorAll('li[class*="rotate"]'),E),X(p,function(e){s.appendChild(e)})),a.inline?(Q(h,v),V(i,{zIndex:a.zIndexInline}),"static"===window.getComputedStyle(t).position&&V(t,{position:"relative"}),t.insertBefore(i,e.nextSibling)):(Q(h,f),Q(i,b),Q(i,g),Q(i,y),V(i,{zIndex:a.zIndex}),(h=(h=B(h=a.container)?e.ownerDocument.querySelector(h):h)||this.body).appendChild(i)),a.inline&&(this.render(),this.bind(),this.isShown=!0),this.ready=!0,G(a.ready)&&ce(e,"ready",a.ready,{once:!0}),!1!==de(e,"ready")?this.ready&&a.inline&&this.view(this.index):this.ready=!1)}}],e((be=Se).prototype,ye),e(be,ve),Se);function Se(e){var t=1{var t=y.params.cardsEffect["transformEl"];(t?y.slides.find(t):y.slides).transition(e).find(".swiper-slide-shadow").transition(e),P({swiper:y,duration:e,transformEl:t})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!y.params.cssMode})})}];return M.use(R),M}),function(l,i,c){l.ripple=function(e,t){var r=this,o=r.log=function(){r.defaults.debug&&console&&console.log&&console.log.apply(console,arguments)};r.selector=e,r.defaults={debug:!1,on:"mousedown",opacity:.4,color:"auto",multi:!1,duration:.7,rate:function(e){return e},easing:"linear"},r.defaults=l.extend({},r.defaults,t);l(i).on(r.defaults.on,r.selector,function(e){var t,i,n,s=l(this);s.addClass("has-ripple"),((t=l.extend({},r.defaults,s.data())).multi||!t.multi&&0===s.find(".ripple").length)&&((n=l("").addClass("ripple")).appendTo(s),o("Create: Ripple"),n.height()||n.width()||(i=c.max(s.outerWidth(),s.outerHeight()),n.css({height:i,width:i}),o("Set: Ripple size")),t.rate&&"function"==typeof t.rate&&(a=c.round(n.width()/t.duration),a=t.rate(a),a=n.width()/a,t.duration.toFixed(2)!==a.toFixed(2)&&(o("Update: Ripple Duration",{from:t.duration,to:a}),t.duration=a)),a="auto"==t.color?s.css("color"):t.color,a={animationDuration:t.duration.toString()+"s",animationTimingFunction:t.easing,background:a,opacity:t.opacity},o("Set: Ripple CSS",a),n.css(a)),t.multi||(o("Set: Ripple Element"),n=s.find(".ripple")),o("Destroy: Ripple Animation"),n.removeClass("ripple-animate");var a=e.pageX-s.offset().left-n.width()/2,s=e.pageY-s.offset().top-n.height()/2;t.multi&&(o("Set: Ripple animationend event"),n.one("animationend webkitAnimationEnd oanimationend MSAnimationEnd",function(){o("Note: Ripple animation ended"),o("Destroy: Ripple"),l(this).remove()})),o("Set: Ripple location"),o("Set: Ripple animation"),n.css({top:s+"px",left:a+"px"}).addClass("ripple-animate")})}}(jQuery,document,Math),$.ripple.version="1.2.1", /*! * Toastify js 1.12.0 * https://github.com/apvarun/toastify-js @@ -168,4 +168,4 @@ n[s].style[a]=e[a]+"px",e[a]+=r+15):( // Setting the position n[s].style[a]=t[a]+"px",t[a]+=r+15)} // Supporting function chaining -return this},i.lib.init.prototype=i.lib,i}); \ No newline at end of file +return this},i.lib.init.prototype=i.lib,i}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Viewer=t()}(this,function(){"use strict";function t(t,e){var i,n=Object.keys(t);return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(t),e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)),n}function c(n){for(var e=1;e=this.length||this.viewed&&e===this.index)return this;if(!this.isShown)return this.index=e,this.show();this.viewing&&this.viewing.abort();var t,n=this.element,s=this.options,a=this.title,r=this.canvas,o=this.items[e],l=o.querySelector("img"),c=ne(l,"originalUrl"),d=l.getAttribute("alt"),u=document.createElement("img");return X(s.inheritedAttributes,function(e){var t=l.getAttribute(e);null!==t&&u.setAttribute(e,t)}),u.src=c,u.alt=d,G(s.view)&&ce(n,"view",s.view,{once:!0}),!1===de(n,"view",{originalImage:this.images[e],index:e,image:u})||!this.isShown||this.hiding||this.played||((c=this.items[this.index])&&(J(c,h),c.removeAttribute("aria-selected")),Q(o,h),o.setAttribute("aria-selected",!0),s.focus&&o.focus(),this.image=u,this.viewed=!1,this.index=e,this.imageData={},Q(u,E),s.loading&&Q(r,x),r.innerHTML="",r.appendChild(u),this.renderList(),a.innerHTML="",ce(n,$,p,{once:!0}),this.viewing={abort:function(){le(n,$,p),u.complete?i.imageRendering?i.imageRendering.abort():i.imageInitializing&&i.imageInitializing.abort():(u.src="",le(u,O,t),i.timeout&&clearTimeout(i.timeout))}},u.complete?this.load():(ce(u,O,t=this.load.bind(this),{once:!0}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(function(){J(u,E),i.timeout=!1},1e3))),this;function p(){var e=i.imageData,t=Array.isArray(s.title)?s.title[1]:s.title;a.innerHTML=B(e=G(t)?t.call(i,u,e):"".concat(d," (").concat(e.naturalWidth," × ").concat(e.naturalHeight,")"))?e.replace(/&(?!amp;|quot;|#39;|lt;|gt;)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">"):e}},prev:function(){var e=this.index-1;return e<0&&(e=0Math.abs(o)&&(this.pointers={},1
',n=(i=p.querySelector(".".concat(m,"-container"))).querySelector(".".concat(m,"-title")),s=i.querySelector(".".concat(m,"-toolbar")),r=i.querySelector(".".concat(m,"-navbar")),h=i.querySelector(".".concat(m,"-button")),p=i.querySelector(".".concat(m,"-canvas")),this.parent=t,this.viewer=i,this.title=n,this.toolbar=s,this.navbar=r,this.button=h,this.canvas=p,this.footer=i.querySelector(".".concat(m,"-footer")),this.tooltipBox=i.querySelector(".".concat(m,"-tooltip")),this.player=i.querySelector(".".concat(m,"-player")),this.list=i.querySelector(".".concat(m,"-list")),i.id="".concat(m).concat(this.id),n.id="".concat(m,"Title").concat(this.id),Q(n,a.title?me(Array.isArray(a.title)?a.title[0]:a.title):y),Q(r,a.navbar?me(a.navbar):y),ee(h,y,!a.button),a.keyboard&&h.setAttribute("tabindex",0),a.backdrop&&(Q(i,"".concat(m,"-backdrop")),a.inline||"static"===a.backdrop||se(p,P,"hide")),B(a.className)&&a.className&&a.className.split(z).forEach(function(e){Q(i,e)}),a.toolbar?(o=document.createElement("ul"),l=U(a.toolbar),c=R.slice(0,3),d=R.slice(7,9),u=R.slice(9),l||Q(s,me(a.toolbar)),X(l?a.toolbar:R,function(e,t){var i=l&&U(e),n=l?ie(t):e,s=i&&!H(e.show)?e.show:e;!s||!a.zoomable&&-1!==c.indexOf(n)||!a.rotatable&&-1!==d.indexOf(n)||!a.scalable&&-1!==u.indexOf(n)||(t=i&&!H(e.size)?e.size:e,i=i&&!H(e.click)?e.click:e,e=document.createElement("li"),a.keyboard&&e.setAttribute("tabindex",0),e.setAttribute("role","button"),Q(e,"".concat(m,"-").concat(n)),G(i)||se(e,P,n),F(s)&&Q(e,me(s)),-1!==["small","large"].indexOf(t)?Q(e,"".concat(m,"-").concat(t)):"play"===n&&Q(e,"".concat(m,"-large")),G(i)&&ce(e,M,i),o.appendChild(e))}),s.appendChild(o)):Q(s,y),a.rotatable||(Q(p=s.querySelectorAll('li[class*="rotate"]'),E),X(p,function(e){s.appendChild(e)})),a.inline?(Q(h,v),V(i,{zIndex:a.zIndexInline}),"static"===window.getComputedStyle(t).position&&V(t,{position:"relative"}),t.insertBefore(i,e.nextSibling)):(Q(h,f),Q(i,b),Q(i,g),Q(i,y),V(i,{zIndex:a.zIndex}),(h=(h=B(h=a.container)?e.ownerDocument.querySelector(h):h)||this.body).appendChild(i)),a.inline&&(this.render(),this.bind(),this.isShown=!0),this.ready=!0,G(a.ready)&&ce(e,"ready",a.ready,{once:!0}),!1!==de(e,"ready")?this.ready&&a.inline&&this.view(this.index):this.ready=!1)}}],e((be=Se).prototype,ye),e(be,ve),Se);function Se(e){var t=1div{width:100%;height:14px;background-color:var(--pk-bg-skeleton);border-radius:5px}.pk-skeleton._comment ._text>div:not(:last-child){margin-bottom:10px}.pk-skeleton._default>div{background-color:var(--pk-bg-skeleton);border-radius:6px}.pk-skeleton._default>div:nth-child(1){width:50%;height:12px}.pk-skeleton._default>div:nth-child(2){width:57%;height:12px}.pk-skeleton._default>div:nth-child(3){width:45%;height:12px}.pk-skeleton._default>div:nth-child(4){width:78%;height:12px}.pk-skeleton._default>div:nth-child(5){width:64%;height:12px}.pk-skeleton._default>div:not(:last-child){margin-bottom:10px}@media (max-width:767px){#posts .post-item .info-title{white-space:initial !important;word-break:break-all !important}#posts .post-item.post-item-card{padding-right:0;padding-left:0}#author .bg{height:130px}#author .bg .avatar{width:100px;height:100px}#author .info{padding-left:130px}} \ No newline at end of file +body{--pk-c-primary:#1c60f3;--pk-c-danger:#dc3545;--pk-c-info:#17a2b8;--pk-c-success:#00b74a;--pk-c-warning:#fc651f;--pk-c-secondary:#6c757d;--pk-c-yellow:#f5c800;--pk-c-font:#343a40;--pk-c-sub:#808695;--pk-bg-body:#f3f5f7;--pk-bg-card:#fff;--pk-bg-box:#fff;--pk-c-dark:#2f3940;--pk-c-light:#f8f9fa;--pk-bg-light:#fefcfc;--pk-bg-grey:#f8f8f9;--pk-c-input-bg:#f8f8f9;--pk-bg-box-content:#f8f8f9;--pk-c-border:#f3f3f3;--pk-g-box-radius:5px;--pk-bg-header:rgba(255,255,255,0.15);--pk-c-block-shadow:rgba(176,176,176,0.11);--pk-g-list-img-hover:scale(1.08);--pk-g-basic-distance:15px;--pk-bg-skeleton:#d9d9d9;--bs-code-color:#fb4787}body.puock-dark{--pk-bg-body:#1e2a36;--pk-c-font:#dddbdb;--pk-bg-card:#2f3940;--pk-bg-box:#1a242f;--pk-bg-box-content:#1e2a36;--pk-c-input-bg:#1e2a36;--pk-c-border:#2f373e;--pk-bg-header:rgba(34,34,34,0.15);--pk-c-block-shadow:rgba(23,31,40,0.57);--pk-bg-skeleton:#2a3644}a{color:var(--pk-c-primary);text-decoration:none}.wh100{width:100%;height:100%}.form-group{margin-bottom:1rem}.text-2line{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical}.text-3line{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;line-clamp:3;-webkit-line-clamp:3;-webkit-box-orient:vertical}.ta3,.ta3b a{transition:all .3s}.tsh{transition:all .3s}.tsh:hover{transform:var(--pk-g-list-img-hover)}.box-plr15{padding:0 15px}.bg-yellow{background-color:var(--pk-c-warning) !important}.primary-hover{transition:all .3s;cursor:pointer}.primary-hover:hover{background-color:var(--pk-c-primary) !important;color:var(--pk-c-light) !important}.box-sw{box-shadow:0 0 22px -7px rgba(149,148,147,0.44);padding:20px}.prt-1{position:relative;top:-1px}.pr15{padding-left:0;padding-right:15px}.pl15{padding-left:15px;padding-right:0}.fs12{font-size:12px}.min-width-modal{min-width:420px}@media (max-width:576px){.min-width-modal{min-width:300px}}.btn-primary,.btn-primary:hover{background-color:var(--pk-c-primary) !important;color:var(--pk-c-light);border-color:var(--pk-c-primary) !important}.btn-primary:hover:hover{opacity:.8}.btn-danger,.btn-danger:hover{background-color:var(--pk-c-danger) !important;color:var(--pk-c-light);border-color:var(--pk-c-danger) !important}.btn-danger:hover:hover{opacity:.8}.btn-info,.btn-info:hover{background-color:var(--pk-c-info) !important;color:var(--pk-c-light);border-color:var(--pk-c-info) !important}.btn-info:hover:hover{opacity:.8}.btn-success,.btn-success:hover{background-color:var(--pk-c-success) !important;color:var(--pk-c-light);border-color:var(--pk-c-success) !important}.btn-success:hover:hover{opacity:.8}.btn-warning,.btn-warning:hover{background-color:var(--pk-c-warning) !important;color:var(--pk-c-light);border-color:var(--pk-c-warning) !important}.btn-warning:hover:hover{opacity:.8}.btn-dark,.btn-dark:hover{background-color:var(--pk-c-dark) !important;color:var(--pk-c-light);border-color:var(--pk-c-dark) !important}.btn-dark:hover:hover{opacity:.8}.btn-secondary,.btn-secondary:hover{background-color:var(--pk-c-secondary) !important;color:var(--pk-c-light);border-color:var(--pk-c-secondary) !important}.btn-secondary:hover:hover{opacity:.8}.btn-light,.btn-light:hover{background-color:var(--pk-c-light) !important;color:var(--pk-c-light);border-color:var(--pk-c-light) !important}.btn-light:hover:hover{opacity:.8}.btn-outline-primary{color:var(--pk-c-primary) !important;border-color:var(--pk-c-primary) !important}.btn-outline-primary:hover{background-color:var(--pk-c-primary) !important;color:var(--pk-c-light) !important}.btn-outline-danger{color:var(--pk-c-danger) !important;border-color:var(--pk-c-danger) !important}.btn-outline-danger:hover{background-color:var(--pk-c-danger) !important;color:var(--pk-c-light) !important}.btn-outline-info{color:var(--pk-c-info) !important;border-color:var(--pk-c-info) !important}.btn-outline-info:hover{background-color:var(--pk-c-info) !important;color:var(--pk-c-light) !important}.btn-outline-success{color:var(--pk-c-success) !important;border-color:var(--pk-c-success) !important}.btn-outline-success:hover{background-color:var(--pk-c-success) !important;color:var(--pk-c-light) !important}.btn-outline-warning{color:var(--pk-c-warning) !important;border-color:var(--pk-c-warning) !important}.btn-outline-warning:hover{background-color:var(--pk-c-warning) !important;color:var(--pk-c-light) !important}.btn-outline-dark{color:var(--pk-c-dark) !important;border-color:var(--pk-c-dark) !important}.btn-outline-dark:hover{background-color:var(--pk-c-dark) !important;color:var(--pk-c-light) !important}.btn-outline-secondary{color:var(--pk-c-secondary) !important;border-color:var(--pk-c-secondary) !important}.btn-outline-secondary:hover{background-color:var(--pk-c-secondary) !important;color:var(--pk-c-light) !important}.btn-outline-light{color:var(--pk-c-light) !important;border-color:var(--pk-c-light) !important}.btn-outline-light:hover{background-color:var(--pk-c-light) !important;color:var(--pk-c-light) !important}.alert-primary{background-color:var(--pk-c-primary) !important;color:var(--pk-c-light);border-color:var(--pk-c-primary) !important}.alert-danger{background-color:var(--pk-c-danger) !important;color:var(--pk-c-light);border-color:var(--pk-c-danger) !important}.alert-info{background-color:var(--pk-c-info) !important;color:var(--pk-c-light);border-color:var(--pk-c-info) !important}.alert-success{background-color:var(--pk-c-success) !important;color:var(--pk-c-light);border-color:var(--pk-c-success) !important}.alert-warning{background-color:var(--pk-c-warning) !important;color:var(--pk-c-light);border-color:var(--pk-c-warning) !important}.alert-dark{background-color:var(--pk-c-dark) !important;color:var(--pk-c-light);border-color:var(--pk-c-dark) !important}.alert-secondary{background-color:var(--pk-c-secondary) !important;color:var(--pk-c-light);border-color:var(--pk-c-secondary) !important}.alert-light{background-color:var(--pk-c-light) !important;color:var(--pk-c-light);border-color:var(--pk-c-light) !important}.mt20{margin-top:20px}.mt15{margin-top:15px}.mt10{margin-top:10px}.mt5{margin-top:5px}.mb20{margin-bottom:20px}.mb15{margin-bottom:15px}.mb10{margin-bottom:10px}.mb5{margin-bottom:5px}.mt50{margin-top:50px}.mt40{margin-top:40px}.mt30{margin-top:30px}.mb50{margin-bottom:50px}.mb40{margin-bottom:40px}.mb30{margin-bottom:30px}.ml20{margin-left:20px}.ml15{margin-left:15px}.ml10{margin-left:10px}.ml5{margin-left:5px}.mr20{margin-right:20px}.mr15{margin-right:15px}.mr10{margin-right:10px}.mr5{margin-right:5px}.fs20{font-size:20px}.fs18{font-size:18px}.fs16{font-size:16px}.fs14{font-size:14px}.fs12{font-size:12px}.p20{padding:20px}.p10{padding:10px}.pt20{padding-top:20px}.pt10{padding-top:10px}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:1rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:1rem}.pb-0{padding-bottom:0}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:1rem}.pl-0{padding-left:0}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:1rem}.pr-0{padding-right:0}.pr-1{padding-right:.25rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:1rem}.m-0{margin:0}.m-1{margin:.25rem}.m-2{margin:.5rem}.m-3{margin:1rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:1rem}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:1rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:1rem}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:1rem}.bg-primary{background-color:var(--pk-c-primary) !important}.bg-danger{background-color:var(--pk-c-danger) !important}.bg-info{background-color:var(--pk-c-info) !important}.bg-success{background-color:var(--pk-c-success) !important}.bg-warning{background-color:var(--pk-c-warning) !important}.bg-dark{background-color:var(--pk-c-dark) !important}.bg-secondary{background-color:var(--pk-c-secondary) !important}.bg-light{background-color:var(--pk-c-light) !important}.border-primary{border-color:var(--pk-c-primary) !important}.border-danger{border-color:var(--pk-c-danger) !important}.border-info{border-color:var(--pk-c-info) !important}.border-success{border-color:var(--pk-c-success) !important}.border-warning{border-color:var(--pk-c-warning) !important}.border-dark{border-color:var(--pk-c-dark) !important}.border-secondary{border-color:var(--pk-c-secondary) !important}.border-light{border-color:var(--pk-c-light) !important}.text-primary{color:var(--pk-c-primary) !important}.text-danger{color:var(--pk-c-danger) !important}.text-info{color:var(--pk-c-info) !important}.text-success{color:var(--pk-c-success) !important}.text-warning{color:var(--pk-c-warning) !important}.text-dark{color:var(--pk-c-dark) !important}.text-secondary{color:var(--pk-c-secondary) !important}.text-light{color:var(--pk-c-light) !important}.c-primary{color:var(--pk-c-primary) }.c-danger{color:var(--pk-c-danger) }.c-info{color:var(--pk-c-info) }.c-success{color:var(--pk-c-success) }.c-warning{color:var(--pk-c-warning) }.c-dark{color:var(--pk-c-dark) }.c-secondary{color:var(--pk-c-secondary) }.c-light{color:var(--pk-c-light) }[class^=alert]{color:var(--pk-c-light) !important;--bs-alert-padding-x:.7rem;--bs-alert-padding-y:.7rem}[class^=alert] a{color:var(--pk-c-light) !important;text-decoration:underline}[class^=alert].alert-outline{border:1px dashed;background-color:transparent !important;color:var(--pk-c-font) !important}.form-check-input:checked{background-color:var(--pk-c-primary) !important;border-color:var(--pk-c-primary) !important}.btn{transition:all .3s}.btn:hover{opacity:.8}.list-group{--bs-list-group-bg:var(--pk-bg-box);--bs-list-group-color:var(--pk-c-font);--bs-list-group-border-color:var(--pk-c-border)}.mtb10{margin-top:10px;margin-bottom:10px}.t-sm{font-size:12px}.t-md{font-size:14px}.t-lg{font-size:16px}.t-xl{font-size:18px}.t-xxl{font-size:1.5rem}.t-w-400{font-weight:400}.btn-ssm{padding:.2rem .4rem;font-size:.8rem;border-radius:.2rem}.btn-xm{padding:.1rem .2rem;font-size:.1rem;line-height:1.1;border-radius:.2rem}.btn-xxm{padding:.1rem .3rem;font-size:.375rem;line-height:1.1;border-radius:.1rem}.p-border-r-1{border-right:1px solid}.p-lf-15{padding:0 15px !important}.min-avatar,.md-avatar{position:relative}.min-avatar{width:20px;height:20px;border-radius:10px}.md-avatar{width:40px;height:40px;border-radius:20px}.xs-avatar{width:120px;height:120px;border-radius:60px}.line-h-20{line-height:20px}.bg-255{background-color:rgba(255,255,255,0)}.c-sub{color:var(--pk-c-sub) !important}.c-sub-a{color:var(--pk-c-sub) !important;transition:all .3s}.c-sub-a:hover{color:var(--pk-c-primary) !important}.p-flex-center{display:flex;justify-content:center;align-items:center}.p-flex-sk-0{flex-shrink:0}.p-flex-sbc{display:flex;justify-content:space-between;align-items:center}.p-flex-sc{display:flex;justify-content:flex-start;align-items:center}.p-flex-s-right{display:flex;justify-content:flex-end;align-items:center}.text-line{text-decoration:underline}.a-link,.widget a,.abhl,.pd-links a{transition:all .3s;cursor:pointer}.abhl:hover{text-decoration:none;color:var(--pk-c-light) !important;background-color:var(--pk-c-primary) !important}.a-link:hover,.c-sub-a:hover,.widget a:hover,.pd-links a:hover{text-decoration:none;color:var(--pk-c-primary) }.p-border-r-1{border-color:var(--pk-c-border)}.round-3{border-radius:3px}.curp{cursor:pointer}.h-scroll{white-space:nowrap;overflow-y:auto;padding:0 10px}.h-scroll-item{display:inline-block;width:30px;height:30px;padding:10px;text-align:center}.h-scroll-item.cur{border:1px solid #07c160;border-radius:10px}.h-scroll-item img{width:20px}.bg-dark{background-color:#1d1f20 !important}.bg-black{background-color:#000}.b-border{border:1px solid #f8f8f9}.t-line-1{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.t-hover-primary{transition:all .3s}.t-hover-primary:hover{color:var(--pk-c-primary) !important}.t-separator{display:flex;justify-content:center;align-items:center}.t-separator:before,.t-separator:after{flex:1;content:"";background:var(--pk-c-border);max-width:16%;height:1px;margin:0 10px}.pk-badge{display:inline-block;padding:5px 10px;cursor:pointer;border-radius:2px;background-color:var(--pk-bg-box-content);color:var(--pk-c-sub) !important}.pk-badge:hover{background-color:var(--pk-c-primary);color:var(--pk-c-light) !important}.pk-badge.pk-badge-sm{padding:3px 6px;font-size:12px}.pk-round{border-radius:50%}.pk-border-1{border:1px solid var(--pk-c-border)}.pk-border-2{border:2px solid var(--pk-c-border)}.pk-skeleton{animation:skeleton-loading 1s linear infinite}.pk-skeleton:not(:last-child){margin-bottom:var(--pk-g-basic-distance)}.pk-skeleton._comment{display:flex;align-items:flex-start;flex-direction:column}.pk-skeleton._comment ._h{display:flex;align-items:center}.pk-skeleton._comment ._h ._avatar{width:40px;height:40px;border-radius:50%;background-color:var(--pk-bg-skeleton)}.pk-skeleton._comment ._h ._info{display:flex;flex-direction:column}.pk-skeleton._comment ._h ._info ._name,.pk-skeleton._comment ._h ._info ._date{margin-left:10px;background-color:var(--pk-bg-skeleton);width:150px;height:12px;border-radius:2px}.pk-skeleton._comment ._h ._info ._name._date,.pk-skeleton._comment ._h ._info ._date._date{width:100px;height:8px;margin-top:10px}.pk-skeleton._comment ._text{margin-top:10px;padding-left:50px;width:100%;height:80px}.pk-skeleton._comment ._text>div{width:100%;height:14px;background-color:var(--pk-bg-skeleton);border-radius:5px}.pk-skeleton._comment ._text>div:not(:last-child){margin-bottom:10px}.pk-skeleton._default>div{background-color:var(--pk-bg-skeleton);border-radius:6px}.pk-skeleton._default>div:nth-child(1){width:50%;height:12px}.pk-skeleton._default>div:nth-child(2){width:57%;height:12px}.pk-skeleton._default>div:nth-child(3){width:45%;height:12px}.pk-skeleton._default>div:nth-child(4){width:78%;height:12px}.pk-skeleton._default>div:nth-child(5){width:64%;height:12px}.pk-skeleton._default>div:not(:last-child){margin-bottom:10px}@media (max-width:767px){#posts .post-item .info-title{white-space:initial !important;word-break:break-all !important}#posts .post-item.post-item-card{padding-right:0;padding-left:0}#author .bg{height:130px}#author .bg .avatar{width:100px;height:100px}#author .info{padding-left:130px}#user-center .user-center-menus{flex-direction:row;overflow-x:scroll}#user-center .user-center-menus .list-group-item{flex-shrink:0}#user-center .user-center-menus .list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}#user-center .user-center-menus .list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}} \ No newline at end of file diff --git a/assets/dist/style/style.min.css b/assets/dist/style/style.min.css index 579b891a..c7225e97 100644 --- a/assets/dist/style/style.min.css +++ b/assets/dist/style/style.min.css @@ -1 +1 @@ -body{--pk-c-primary:#1c60f3;--pk-c-danger:#dc3545;--pk-c-info:#17a2b8;--pk-c-success:#00b74a;--pk-c-warning:#fc651f;--pk-c-secondary:#6c757d;--pk-c-yellow:#f5c800;--pk-c-font:#343a40;--pk-c-sub:#808695;--pk-bg-body:#f3f5f7;--pk-bg-card:#fff;--pk-bg-box:#fff;--pk-c-dark:#2f3940;--pk-c-light:#f8f9fa;--pk-bg-light:#fefcfc;--pk-bg-grey:#f8f8f9;--pk-c-input-bg:#f8f8f9;--pk-bg-box-content:#f8f8f9;--pk-c-border:#f3f3f3;--pk-g-box-radius:5px;--pk-bg-header:rgba(255,255,255,0.15);--pk-c-block-shadow:rgba(176,176,176,0.11);--pk-g-list-img-hover:scale(1.08);--pk-g-basic-distance:15px;--pk-bg-skeleton:#d9d9d9;--bs-code-color:#fb4787}body.puock-dark{--pk-bg-body:#1e2a36;--pk-c-font:#dddbdb;--pk-bg-card:#2f3940;--pk-bg-box:#1a242f;--pk-bg-box-content:#1e2a36;--pk-c-input-bg:#1e2a36;--pk-c-border:#2f373e;--pk-bg-header:rgba(34,34,34,0.15);--pk-c-block-shadow:rgba(23,31,40,0.57);--pk-bg-skeleton:#2a3644}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-track{border-radius:10px}::-webkit-scrollbar-thumb{border-radius:10px;background:rgba(75,75,75,0.5)}::-webkit-scrollbar-thumb:hover{background:rgba(106,106,106,0.5)}::-webkit-scrollbar-thumb:window-inactive{background:rgba(120,120,120,0.2)}figure{margin:0}p,div{white-space:normal;word-break:break-all}a{color:var(--pk-c-primary);text-decoration:none}.wh100{width:100%;height:100%}.form-group{margin-bottom:1rem}.text-2line{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical}.text-3line{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;line-clamp:3;-webkit-line-clamp:3;-webkit-box-orient:vertical}.ta3,.ta3b a{transition:all .3s}.tsh{transition:all .3s}.tsh:hover{transform:var(--pk-g-list-img-hover)}.box-plr15{padding:0 15px}.bg-yellow{background-color:var(--pk-c-warning) !important}.primary-hover{transition:all .3s;cursor:pointer}.primary-hover:hover{background-color:var(--pk-c-primary) !important;color:var(--pk-c-light) !important}.box-sw{box-shadow:0 0 22px -7px rgba(149,148,147,0.44);padding:20px}.prt-1{position:relative;top:-1px}.pr15{padding-left:0;padding-right:15px}.pl15{padding-left:15px;padding-right:0}.fs12{font-size:12px}.min-width-modal{min-width:420px}@media (max-width:576px){.min-width-modal{min-width:300px}}.btn-primary,.btn-primary:hover{background-color:var(--pk-c-primary) !important;color:var(--pk-c-light);border-color:var(--pk-c-primary) !important}.btn-primary:hover:hover{opacity:.8}.btn-danger,.btn-danger:hover{background-color:var(--pk-c-danger) !important;color:var(--pk-c-light);border-color:var(--pk-c-danger) !important}.btn-danger:hover:hover{opacity:.8}.btn-info,.btn-info:hover{background-color:var(--pk-c-info) !important;color:var(--pk-c-light);border-color:var(--pk-c-info) !important}.btn-info:hover:hover{opacity:.8}.btn-success,.btn-success:hover{background-color:var(--pk-c-success) !important;color:var(--pk-c-light);border-color:var(--pk-c-success) !important}.btn-success:hover:hover{opacity:.8}.btn-warning,.btn-warning:hover{background-color:var(--pk-c-warning) !important;color:var(--pk-c-light);border-color:var(--pk-c-warning) !important}.btn-warning:hover:hover{opacity:.8}.btn-dark,.btn-dark:hover{background-color:var(--pk-c-dark) !important;color:var(--pk-c-light);border-color:var(--pk-c-dark) !important}.btn-dark:hover:hover{opacity:.8}.btn-secondary,.btn-secondary:hover{background-color:var(--pk-c-secondary) !important;color:var(--pk-c-light);border-color:var(--pk-c-secondary) !important}.btn-secondary:hover:hover{opacity:.8}.btn-light,.btn-light:hover{background-color:var(--pk-c-light) !important;color:var(--pk-c-light);border-color:var(--pk-c-light) !important}.btn-light:hover:hover{opacity:.8}.btn-outline-primary{color:var(--pk-c-primary) !important;border-color:var(--pk-c-primary) !important}.btn-outline-primary:hover{background-color:var(--pk-c-primary) !important;color:var(--pk-c-light) !important}.btn-outline-danger{color:var(--pk-c-danger) !important;border-color:var(--pk-c-danger) !important}.btn-outline-danger:hover{background-color:var(--pk-c-danger) !important;color:var(--pk-c-light) !important}.btn-outline-info{color:var(--pk-c-info) !important;border-color:var(--pk-c-info) !important}.btn-outline-info:hover{background-color:var(--pk-c-info) !important;color:var(--pk-c-light) !important}.btn-outline-success{color:var(--pk-c-success) !important;border-color:var(--pk-c-success) !important}.btn-outline-success:hover{background-color:var(--pk-c-success) !important;color:var(--pk-c-light) !important}.btn-outline-warning{color:var(--pk-c-warning) !important;border-color:var(--pk-c-warning) !important}.btn-outline-warning:hover{background-color:var(--pk-c-warning) !important;color:var(--pk-c-light) !important}.btn-outline-dark{color:var(--pk-c-dark) !important;border-color:var(--pk-c-dark) !important}.btn-outline-dark:hover{background-color:var(--pk-c-dark) !important;color:var(--pk-c-light) !important}.btn-outline-secondary{color:var(--pk-c-secondary) !important;border-color:var(--pk-c-secondary) !important}.btn-outline-secondary:hover{background-color:var(--pk-c-secondary) !important;color:var(--pk-c-light) !important}.btn-outline-light{color:var(--pk-c-light) !important;border-color:var(--pk-c-light) !important}.btn-outline-light:hover{background-color:var(--pk-c-light) !important;color:var(--pk-c-light) !important}.alert-primary{background-color:var(--pk-c-primary) !important;color:var(--pk-c-light);border-color:var(--pk-c-primary) !important}.alert-danger{background-color:var(--pk-c-danger) !important;color:var(--pk-c-light);border-color:var(--pk-c-danger) !important}.alert-info{background-color:var(--pk-c-info) !important;color:var(--pk-c-light);border-color:var(--pk-c-info) !important}.alert-success{background-color:var(--pk-c-success) !important;color:var(--pk-c-light);border-color:var(--pk-c-success) !important}.alert-warning{background-color:var(--pk-c-warning) !important;color:var(--pk-c-light);border-color:var(--pk-c-warning) !important}.alert-dark{background-color:var(--pk-c-dark) !important;color:var(--pk-c-light);border-color:var(--pk-c-dark) !important}.alert-secondary{background-color:var(--pk-c-secondary) !important;color:var(--pk-c-light);border-color:var(--pk-c-secondary) !important}.alert-light{background-color:var(--pk-c-light) !important;color:var(--pk-c-light);border-color:var(--pk-c-light) !important}.mt20{margin-top:20px}.mt15{margin-top:15px}.mt10{margin-top:10px}.mt5{margin-top:5px}.mb20{margin-bottom:20px}.mb15{margin-bottom:15px}.mb10{margin-bottom:10px}.mb5{margin-bottom:5px}.mt50{margin-top:50px}.mt40{margin-top:40px}.mt30{margin-top:30px}.mb50{margin-bottom:50px}.mb40{margin-bottom:40px}.mb30{margin-bottom:30px}.ml20{margin-left:20px}.ml15{margin-left:15px}.ml10{margin-left:10px}.ml5{margin-left:5px}.mr20{margin-right:20px}.mr15{margin-right:15px}.mr10{margin-right:10px}.mr5{margin-right:5px}.fs20{font-size:20px}.fs18{font-size:18px}.fs16{font-size:16px}.fs14{font-size:14px}.fs12{font-size:12px}.p20{padding:20px}.p10{padding:10px}.pt20{padding-top:20px}.pt10{padding-top:10px}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:1rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:1rem}.pb-0{padding-bottom:0}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:1rem}.pl-0{padding-left:0}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:1rem}.pr-0{padding-right:0}.pr-1{padding-right:.25rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:1rem}.m-0{margin:0}.m-1{margin:.25rem}.m-2{margin:.5rem}.m-3{margin:1rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:1rem}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:1rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:1rem}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:1rem}.bg-primary{background-color:var(--pk-c-primary) !important}.bg-danger{background-color:var(--pk-c-danger) !important}.bg-info{background-color:var(--pk-c-info) !important}.bg-success{background-color:var(--pk-c-success) !important}.bg-warning{background-color:var(--pk-c-warning) !important}.bg-dark{background-color:var(--pk-c-dark) !important}.bg-secondary{background-color:var(--pk-c-secondary) !important}.bg-light{background-color:var(--pk-c-light) !important}.border-primary{border-color:var(--pk-c-primary) !important}.border-danger{border-color:var(--pk-c-danger) !important}.border-info{border-color:var(--pk-c-info) !important}.border-success{border-color:var(--pk-c-success) !important}.border-warning{border-color:var(--pk-c-warning) !important}.border-dark{border-color:var(--pk-c-dark) !important}.border-secondary{border-color:var(--pk-c-secondary) !important}.border-light{border-color:var(--pk-c-light) !important}.text-primary{color:var(--pk-c-primary) !important}.text-danger{color:var(--pk-c-danger) !important}.text-info{color:var(--pk-c-info) !important}.text-success{color:var(--pk-c-success) !important}.text-warning{color:var(--pk-c-warning) !important}.text-dark{color:var(--pk-c-dark) !important}.text-secondary{color:var(--pk-c-secondary) !important}.text-light{color:var(--pk-c-light) !important}.c-primary{color:var(--pk-c-primary) }.c-danger{color:var(--pk-c-danger) }.c-info{color:var(--pk-c-info) }.c-success{color:var(--pk-c-success) }.c-warning{color:var(--pk-c-warning) }.c-dark{color:var(--pk-c-dark) }.c-secondary{color:var(--pk-c-secondary) }.c-light{color:var(--pk-c-light) }[class^=alert]{color:var(--pk-c-light) !important;--bs-alert-padding-x:.7rem;--bs-alert-padding-y:.7rem}[class^=alert] a{color:var(--pk-c-light) !important;text-decoration:underline}[class^=alert].alert-outline{border:1px dashed;background-color:transparent !important;color:var(--pk-c-font) !important}.form-check-input:checked{background-color:var(--pk-c-primary) !important;border-color:var(--pk-c-primary) !important}.btn{transition:all .3s}.btn:hover{opacity:.8}.list-group{--bs-list-group-bg:var(--pk-bg-box);--bs-list-group-color:var(--pk-c-font);--bs-list-group-border-color:var(--pk-c-border)}.mtb10{margin-top:10px;margin-bottom:10px}.t-sm{font-size:12px}.t-md{font-size:14px}.t-lg{font-size:16px}.t-xl{font-size:18px}.t-xxl{font-size:1.5rem}.t-w-400{font-weight:400}.btn-ssm{padding:.2rem .4rem;font-size:.8rem;border-radius:.2rem}.btn-xm{padding:.1rem .2rem;font-size:.1rem;line-height:1.1;border-radius:.2rem}.btn-xxm{padding:.1rem .3rem;font-size:.375rem;line-height:1.1;border-radius:.1rem}.p-border-r-1{border-right:1px solid}.p-lf-15{padding:0 15px !important}.min-avatar,.md-avatar{position:relative}.min-avatar{width:20px;height:20px;border-radius:10px}.md-avatar{width:40px;height:40px;border-radius:20px}.xs-avatar{width:120px;height:120px;border-radius:60px}.line-h-20{line-height:20px}.bg-255{background-color:rgba(255,255,255,0)}.c-sub{color:var(--pk-c-sub) !important}.c-sub-a{color:var(--pk-c-sub) !important;transition:all .3s}.c-sub-a:hover{color:var(--pk-c-primary) !important}.p-flex-center{display:flex;justify-content:center;align-items:center}.p-flex-sk-0{flex-shrink:0}.p-flex-sbc{display:flex;justify-content:space-between;align-items:center}.p-flex-sc{display:flex;justify-content:flex-start;align-items:center}.p-flex-s-right{display:flex;justify-content:flex-end;align-items:center}.text-line{text-decoration:underline}.a-link,.widget a,.abhl,.pd-links a{transition:all .3s;cursor:pointer}.abhl:hover{text-decoration:none;color:var(--pk-c-light) !important;background-color:var(--pk-c-primary) !important}.a-link:hover,.c-sub-a:hover,.widget a:hover,.pd-links a:hover{text-decoration:none;color:var(--pk-c-primary) }.p-border-r-1{border-color:var(--pk-c-border)}.round-3{border-radius:3px}.curp{cursor:pointer}.h-scroll{white-space:nowrap;overflow-y:auto;padding:0 10px}.h-scroll-item{display:inline-block;width:30px;height:30px;padding:10px;text-align:center}.h-scroll-item.cur{border:1px solid #07c160;border-radius:10px}.h-scroll-item img{width:20px}.bg-dark{background-color:#1d1f20 !important}.bg-black{background-color:#000}.b-border{border:1px solid #f8f8f9}.t-line-1{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.t-hover-primary{transition:all .3s}.t-hover-primary:hover{color:var(--pk-c-primary) !important}.t-separator{display:flex;justify-content:center;align-items:center}.t-separator:before,.t-separator:after{flex:1;content:"";background:var(--pk-c-border);max-width:16%;height:1px;margin:0 10px}.pk-badge{display:inline-block;padding:5px 10px;cursor:pointer;border-radius:2px;background-color:var(--pk-bg-box-content);color:var(--pk-c-sub) !important}.pk-badge:hover{background-color:var(--pk-c-primary);color:var(--pk-c-light) !important}.pk-badge.pk-badge-sm{padding:3px 6px;font-size:12px}.pk-round{border-radius:50%}.pk-border-1{border:1px solid var(--pk-c-border)}.pk-border-2{border:2px solid var(--pk-c-border)}.pk-skeleton{animation:skeleton-loading 1s linear infinite}.pk-skeleton:not(:last-child){margin-bottom:var(--pk-g-basic-distance)}.pk-skeleton._comment{display:flex;align-items:flex-start;flex-direction:column}.pk-skeleton._comment ._h{display:flex;align-items:center}.pk-skeleton._comment ._h ._avatar{width:40px;height:40px;border-radius:50%;background-color:var(--pk-bg-skeleton)}.pk-skeleton._comment ._h ._info{display:flex;flex-direction:column}.pk-skeleton._comment ._h ._info ._name,.pk-skeleton._comment ._h ._info ._date{margin-left:10px;background-color:var(--pk-bg-skeleton);width:150px;height:12px;border-radius:2px}.pk-skeleton._comment ._h ._info ._name._date,.pk-skeleton._comment ._h ._info ._date._date{width:100px;height:8px;margin-top:10px}.pk-skeleton._comment ._text{margin-top:10px;padding-left:50px;width:100%;height:80px}.pk-skeleton._comment ._text>div{width:100%;height:14px;background-color:var(--pk-bg-skeleton);border-radius:5px}.pk-skeleton._comment ._text>div:not(:last-child){margin-bottom:10px}.pk-skeleton._default>div{background-color:var(--pk-bg-skeleton);border-radius:6px}.pk-skeleton._default>div:nth-child(1){width:50%;height:12px}.pk-skeleton._default>div:nth-child(2){width:57%;height:12px}.pk-skeleton._default>div:nth-child(3){width:45%;height:12px}.pk-skeleton._default>div:nth-child(4){width:78%;height:12px}.pk-skeleton._default>div:nth-child(5){width:64%;height:12px}.pk-skeleton._default>div:not(:last-child){margin-bottom:10px}@keyframes breathe{0%{opacity:.5}100%{opacity:1}}@keyframes skeleton-loading{0%{opacity:0}50%{opacity:1}100%{opacity:0}}@keyframes words-loop{0%{transform:translateX(0);-webkit-transform:translateX(0)}100%{transform:translateX(-100%);-webkit-transform:translateX(-100%)}}@keyframes logo-loop-light{0%,79%{opacity:0}80%{opacity:1;left:-60px;top:0}100%{opacity:1;left:160px;top:0}}.pk-breathe{-webkit-animation-timing-function:ease-in-out;-webkit-animation-name:breathe;-webkit-animation-duration:1200ms;-webkit-animation-iteration-count:infinite;-webkit-animation-direction:alternate}.pk-words-loop{white-space:nowrap;display:inline-block;animation:30s words-loop linear infinite normal}body{background-color:var(--pk-bg-body);color:var(--pk-c-font)}#header,.p-block,.sub-menu,#header-box,.widget,#index-company #prod-items .prod-item .icon,#post-menus{background-color:var(--pk-bg-box);box-shadow:none}blockquote{padding:.8em;margin:10px 0;background-color:var(--pk-bg-box-content);border-left:5px solid #c1c1c1;border-radius:4px}.hljs-ln-numbers{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-align:center;color:#8e8d8d;vertical-align:top;display:inline-block;margin-right:10px}.hljs-ln-numbers .hljs-ln-n{margin-right:3px;min-width:20px;word-break:normal}.hljs-ln-code{padding-left:10px}.toastify{font-size:14px;background-color:var(--pk-c-dark);color:#fff}.toastify.t-primary{background:var(--pk-c-primary)}.toastify.t-info{background:var(--pk-c-info)}.toastify.t-warning{background:var(--pk-c-warning)}.toastify.t-danger{background:var(--pk-c-danger)}.toastify.t-success{background:var(--pk-c-success)}.toastify .toast-close{font-size:12px;opacity:.2}.progress{background-color:var(--pk-bg-body)}.progress-bar{background-color:var(--pk-c-primary)}.modal-content{background-color:var(--pk-bg-box)}.layui-layer{color:var(--pk-c-font) !important;background-color:var(--pk-bg-box) !important;border-radius:6px !important}.layui-layer .layui-layer-title{color:var(--pk-c-font) !important;border-bottom-color:var(--pk-c-border) !important}.layui-layer .layui-layer-close1{background:none !important;font-family:var(--fa-style-family, "Font Awesome 6 Free");font-weight:var(--fa-style, 900);-webkit-font-smoothing:antialiased;display:var(--fa-display, inline-block);font-style:normal;font-variant:normal;line-height:1;text-rendering:auto;font-size:16px;transition:all .3s}.layui-layer .layui-layer-close1:before{content:"\f00d"}.layui-layer .layui-layer-btn{font-size:14px}.layui-layer .layui-layer-btn .layui-layer-btn0,.layui-layer .layui-layer-btn .layui-layer-btn0:hover{background-color:var(--pk-c-primary) !important;color:var(--pk-c-light);border:1px solid var(--pk-c-primary) !important}.layui-layer .layui-layer-btn [class^=layui-layer-btn]{padding:0 10px;transition:all .3s;border-radius:4px}.layui-layer .layui-layer-btn [class^=layui-layer-btn]:not(.layui-layer-btn0):hover{color:var(--pk-c-dark) !important;opacity:.6}.layui-layer-loading{background-color:transparent !important}.layui-layer-loading .layui-layer-content{height:60px !important}.tooltip{--bs-tooltip-zindex:99999999}#page-read-progress{z-index:1000;position:fixed;top:0;width:100%;height:2px}.ahfff,.ahfff:hover,.ahfff-box:hover a{color:var(--pk-c-light) !important}.swiper{height:100%;--swiper-theme-color:var(--pk-c-primary);--swiper-navigation-size:30px}.swiper:hover .swiper-button-next,.swiper:hover .swiper-button-prev{opacity:1}.swiper .swiper-button-next,.swiper .swiper-button-prev{opacity:0;padding:15px;width:auto;height:auto;color:var(--pk-c-light);transition:all .2s}.swiper .swiper-button-next.swiper-button-disabled,.swiper .swiper-button-prev.swiper-button-disabled{opacity:0}.swiper .swiper-button-next:after,.swiper .swiper-button-prev:after{font-size:16px}.swiper .swiper-button-next:hover,.swiper .swiper-button-prev:hover{background-color:rgba(0,0,0,0.09)}.swiper .swiper-button-next.swiper-button-next,.swiper .swiper-button-prev.swiper-button-next{right:0}.swiper .swiper-button-next.swiper-button-prev,.swiper .swiper-button-prev.swiper-button-prev{left:0}.swiper .swiper-wrapper img{height:100%}.swiper .swiper-wrapper .swiper-title{position:absolute;bottom:10px;width:100%;display:flex;justify-content:center;padding:0 20px;font-size:12px}.swiper .swiper-wrapper .swiper-title>.swiper-title-text{display:inline-block;background-color:rgba(0,0,0,0.2);padding:3px 16px;border-radius:3px;transition:all .3s;cursor:pointer;color:var(--pk-c-light);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.swiper .swiper-wrapper .swiper-title>.swiper-title-text:hover{opacity:.6}.swiper:has(.swiper-pagination) .swiper-wrapper .swiper-title{bottom:25px}pre{padding:10px;border-bottom-left-radius:var(--pk-g-box-radius);border-bottom-right-radius:var(--pk-g-box-radius);font-size:inherit}body.pre-mac pre{font-size:100%;border-radius:4px;position:relative;margin:20px 0 20px 0;padding-top:31px !important;border:none;overflow:hidden;max-height:unset}body.pre-mac pre:before{content:" ";z-index:10;position:absolute;-webkit-border-radius:50%;border-radius:50%;background:#fc625d;width:10px;height:10px;left:10px;top:10px;-webkit-box-shadow:20px 0 #fdbc40,40px 0 #35cd4b;box-shadow:20px 0 #fdbc40,40px 0 #35cd4b}.navbar,#header{padding:0;position:fixed;top:0;width:100%;z-index:999}#menus{height:65px}#menus>ul>li:after{transition:all .3s;content:" ";position:absolute;width:100%;top:62px;left:0;background:var(--pk-c-primary);height:3px;border-radius:2px;opacity:0}#menus>ul>li:hover:after,#menus>ul>li.menu-current:after{opacity:1}#menus>ul>li .menu-sub-icon{transition:all .3s;display:inline-block}#menus>ul>li.menu-current .menu-sub-icon,#menus>ul>li:hover .menu-sub-icon{transform:rotate(-90deg)}#menus ul{position:relative;list-style:none;padding:0;margin:0}#menus ul>li>a{display:inline-block}#menus ul li{position:relative;display:inline-block;height:65px;line-height:65px}#menus ul li a{transition:all .3s;padding:0 .5rem}#menus ul li:hover .sub-menu{display:block}#menus ul .sub-menu{display:none;min-width:160px;position:absolute;z-index:999;top:60px;left:-40px;border-radius:6px;box-shadow:0 0 10px rgba(0,0,0,0.1);transition:all .3s}#menus ul .sub-menu li{display:block;text-align:center;margin-bottom:0;height:54.16666667px;line-height:54.16666667px}#menus ul .sub-menu li.menu-current,#menus ul .sub-menu li:hover{background-color:var(--pk-c-primary);border:none}#menus ul .sub-menu li.menu-current:first-child,#menus ul .sub-menu li:hover:first-child{border-top-left-radius:6px;border-top-right-radius:6px}#menus ul .sub-menu li.menu-current:last-child,#menus ul .sub-menu li:hover:last-child{border-bottom-left-radius:6px;border-bottom-right-radius:6px}#menus ul .sub-menu li.menu-current a,#menus ul .sub-menu li:hover a{color:var(--pk-c-light) !important}#menus ul .sub-menu li a{transition:all .3s;display:inline-block;width:100%}#mobile-menu{width:340px;position:fixed;left:0;top:0;z-index:9999;overflow-y:scroll;height:100vh;background-color:var(--pk-bg-box)}#mobile-menu .p-block{box-shadow:none !important}#mobile-menu .menus{padding:40px 20px 20px 20px}#mobile-menu .menus ul{list-style:none;padding:0}#mobile-menu .menus ul li:not(:last-child){margin-bottom:15px}#mobile-menu .menus ul li a{transition:all .3s}#mobile-menu .menus ul li.menu-current a{color:var(--pk-c-primary)}#mobile-menu .menus ul .sub-menu{margin-top:15px;padding-left:15px}#post-menus{user-select:none;position:fixed;right:0;top:calc(100% - 75%);background-color:var(--pk-bg-box);border-top-left-radius:10px;border-bottom-left-radius:10px;z-index:999}#post-menus #post-menu-state{position:absolute;left:-18px;background-color:var(--pk-c-primary);width:18px;height:80px;top:160px;border-top-left-radius:5px;border-bottom-left-radius:5px;text-align:center;cursor:pointer;color:#fff}#post-menus #post-menu-state i{font-size:12px;line-height:80px;font-weight:bold;color:#fff}#post-menus #post-menu-content{width:260px;height:400px;display:none;padding:12px;overflow-y:auto}#post-menus #post-menu-content [class^=post-menu-sub]{display:none;margin-top:4px}#post-menus #post-menu-content ul{list-style:none;padding:0}#post-menus #post-menu-content ul li:not(:last-child){margin-bottom:8px}.post-menus-box{transition:all .3s;display:none}#logo{padding:10px;max-width:200px;display:inline-block;position:relative;overflow:hidden}#logo img{height:45px}#logo .txt-logo{color:var(--pk-c-font);line-height:45px}#logo.logo-loop-light:before{content:"";position:absolute;width:180px;height:8px;background-color:rgba(255,255,255,0.4);-webkit-transform:rotate(-45deg);-webkit-animation:logo-loop-light 4s ease-in 0s infinite;transform:rotate(-45deg);animation:logo-loop-light 4s ease-in 0s infinite}@media (max-width:600px){#mobile-menu{width:80%}}@media (min-width:1420px){.post-action-panel .post-action-content{position:fixed;margin-left:-6rem;top:40%;z-index:9}.post-action-panel .post-action-content .ls{display:block !important}.post-action-panel .post-action-content>div{flex-direction:column}.post-action-panel .post-action-content .circle-button{background-color:var(--pk-bg-box)}.post-action-panel .post-action-content .circle-button:first-child{position:relative;left:6px}.post-action-panel .post-action-content .circle-button:not(:last-child){margin-bottom:10px}}@media (min-width:1360px){.container,.container-lg,.container-md,.container-sm{max-width:1240px}}.min-height-container{min-height:70vh}.modal.modal-no-title .modal-header{display:none}.modal.modal-no-padding .modal-body{padding:0 !important}.modal.modal-no-padding .modal-content{width:auto !important}.modal.modal-transparent .modal-content{background-color:rgba(255,255,255,0)}.modal .modal-content{border:none;border-radius:5px}.modal .modal-content .modal-header .modal-title{font-size:16px}.modal .modal-content .modal-header>button{border:none;background:transparent}.modal .modal-content .modal-header .close i{display:inline-block;transition:all .3s}.modal .modal-content .modal-header .close i:hover{transform:rotate(180deg)}.modal .modal-body{padding:.3rem 1rem 1rem 1rem}.modal .modal-header,.modal .modal-footer{border:none}.modal-backdrop,.mobile-menu-backdrop,.layui-layer-shade{backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);opacity:1 !important;background-color:rgba(0,0,0,0.53) !important}a:hover{text-decoration:none}.btn:hover,.btn:focus,.form-control:hover,.form-control:focus,button:focus,.abc-checkbox label:focus,.form-check-input:focus{outline:none;box-shadow:none}.form-control,.form-control:focus{background-color:var(--pk-c-input-bg);border:var(--pk-c-input-bg);color:var(--pk-c-font);border-radius:2px}.form-control:disabled,.form-control[readonly]{background-color:var(--pk-c-input-bg);opacity:.8}.pd-links a:not(.btn),a:not(.btn){color:var(--pk-c-font)}.pd-links a:not(.btn):hover,a:not(.btn):hover{color:var(--pk-c-primary)}.link-hover:hover{color:var(--pk-c-primary) !important}#header,#header-box{height:65px}#header#header.blur,#header-box#header.blur{background-color:var(--pk-bg-header);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}#header#header>.navbar>.container,#header-box#header>.navbar>.container{flex-wrap:nowrap}#header#header>.navbar>.container #menus>ul,#header-box#header>.navbar>.container #menus>ul{display:flex;flex-wrap:nowrap}#header#header>.navbar>.container #menus>ul>li,#header-box#header>.navbar>.container #menus>ul>li{flex-shrink:0}#header nav a,#header-box nav a{transition:all .3s;font-size:14px}#header nav a:hover,#header-box nav a:hover{text-decoration:none;color:var(--pk-c-primary) }#header .colorMode.fa-moon,#header-box .colorMode.fa-moon,#header .colorMode .fa-moon,#header-box .colorMode .fa-moon{color:var(--pk-c-yellow)}.carousel-control-next{justify-content:flex-end;padding-right:30px}.carousel-control-prev{padding-left:30px;justify-content:flex-start}.badge{position:relative;top:-1px;border-radius:.1rem;font-weight:normal;color:#fff}.p-block,.widget{position:relative;margin:0 0 15px 0;padding:15px;border-radius:4px;box-sizing:border-box;box-shadow:2px 2px 5px var(--pk-c-block-shadow)}.p-block img,.widget img{max-width:100%}.title-l-c{position:absolute;top:20px;left:-1px;width:5px;height:25px;box-shadow:0 1px 1px rgba(0,0,0,0.1)}#posts .post-item{display:flex;flex-wrap:nowrap;align-items:stretch;transition:all .3s}#posts .post-item .post-item-block{padding:10px}#posts .post-item .thumbnail{position:relative;height:auto;width:200px;transition-duration:.5s;margin:0 10px 0 0;flex-shrink:0;overflow:hidden;border-radius:var(--pk-g-box-radius);display:flex;justify-content:center;align-items:center}#posts .post-item .thumbnail a{width:100%;height:100%;display:flex;justify-content:center;align-items:center}#posts .post-item .thumbnail a img{height:100%}#posts .post-item .thumbnail a img.lazy:not(.loaded){height:auto !important}#posts .post-item .thumbnail img{transition:all .3s}#posts .post-item.post-item-card .thumbnail{width:100%}#posts .post-item.post-item-card .thumbnail img{width:100%}#posts .post-item.post-item-card .thumbnail img.lazy:not(.loaded){width:120px}#posts .post-item:hover .thumbnail img{transform:var(--pk-g-list-img-hover)}#posts .post-item .post-info{display:flex;flex:auto;overflow:hidden;flex-direction:column;justify-content:space-between;padding-left:0;position:relative}#posts .post-item .post-info .info-title{font-size:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#posts .post-item .post-info .info-meta{font-size:14px;color:#393e46}#posts .post-item .post-info .info-meta p{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical}#posts .post-item .post-info .info-footer{display:flex;justify-content:space-between;align-items:center}#posts .post-item-card .post-item-card-box>.thumbnail{padding-bottom:5px}#posts .post-item-card .post-item-card-box>.post-info{padding-top:5px}#posts .post-item-card:nth-child(even){padding-right:0;padding-left:7px}#posts .post-item-card:nth-child(odd){padding-left:0;padding-right:7px}#posts .post-item-card .p-block{width:100%}#posts .post-item-card .thumbnail{width:100%}#posts .post-item-card .info-meta .text-2line{height:42px}#posts .post-item-card .post-info{margin-top:10px}#posts .post-item-card .post-info .info-footer{padding-right:0;position:relative}@media (max-width:576px){#posts .post-item-card{padding-left:0 !important;padding-right:0 !important}.post-item-card .t-line-1{white-space:normal}#posts .post-item .thumbnail{width:120px}}#magazines{margin-right:0}#magazines .magazine{display:flex;align-items:stretch}#magazines .magazine .img{flex-shrink:0;margin-right:10px;overflow:hidden}#magazines .magazine .img img{transition:all .3s}#magazines .magazine .magazine-media-item{display:flex;align-items:stretch}#magazines .magazine .magazine-media-item .img{display:flex;justify-content:center;align-items:center;min-height:80px}#magazines .magazine .magazine-media-item:hover .img img{transform:var(--pk-g-list-img-hover)}#magazines .magazine>div{width:100%}#magazines .magazine:nth-child(even){margin-right:0}.media-link{transition:all .3s}.media-link:hover a{margin-left:5px}.media-link.media-row-2>div{margin-bottom:10px}#links{padding:15px}#links .link-item{display:inline-block;padding:7px 15px;margin-right:5px;cursor:pointer}#links .link-item a{color:#555}#links .link-item:hover{background-color:var(--pk-c-primary)}#links .link-item:hover a{color:#fff}.min-comments .comment:not(:first-child){margin-top:10px}.min-comments .comment img{width:18px !important;height:18px !important}#breadcrumb{padding:0 15px}#breadcrumb .breadcrumb{background-color:rgba(255,255,255,0);font-size:14px;padding-left:0}.post-action-panel .post-action-content .ls{display:none}#post .options .option,#page .options .option{display:inline-block;padding:5px 10px;cursor:pointer;border-radius:2px;background-color:var(--pk-bg-box-content);color:var(--pk-c-sub) !important}#post .options .option:hover,#page .options .option:hover{background-color:var(--pk-c-primary);color:var(--pk-c-light) !important}#post .title-l-c,#page .title-l-c{top:40%}#post .entry-title,#page .entry-title{font-size:20px}#post .entry-content,#page .entry-content,#post .entry-content-box,#page .entry-content-box{font-size:15px}#post .entry-content.p-indent>p,#page .entry-content.p-indent>p,#post .entry-content-box.p-indent>p,#page .entry-content-box.p-indent>p{text-indent:2rem}#post .entry-content a:not(.btn,.fancybox,.no-icon):before,#page .entry-content a:not(.btn,.fancybox,.no-icon):before,#post .entry-content-box a:not(.btn,.fancybox,.no-icon):before,#page .entry-content-box a:not(.btn,.fancybox,.no-icon):before{content:"\f0c1";font-family:var(--fa-style-family, "Font Awesome 6 Free");margin-right:3px;font-weight:var(--fa-style, 900);font-size:12px;display:none}#post .entry-content.show-link-icon a:not(.btn,.fancybox,.no-icon):before,#page .entry-content.show-link-icon a:not(.btn,.fancybox,.no-icon):before,#post .entry-content-box.show-link-icon a:not(.btn,.fancybox,.no-icon):before,#page .entry-content-box.show-link-icon a:not(.btn,.fancybox,.no-icon):before{display:inline-block}#post .entry-content .p-block,#page .entry-content .p-block,#post .entry-content-box .p-block,#page .entry-content-box .p-block{box-shadow:none;border-width:1px;border-style:solid;border-color:var(--pk-c-border)}#post .entry-content p,#page .entry-content p,#post .entry-content-box p,#page .entry-content-box p{margin:10px 0 !important;line-height:2}#post .entry-content video,#page .entry-content video,#post .entry-content-box video,#page .entry-content-box video{max-width:100%}#post .entry-content blockquote p:not(:last-child),#page .entry-content blockquote p:not(:last-child),#post .entry-content-box blockquote p:not(:last-child),#page .entry-content-box blockquote p:not(:last-child){margin:0 0 10px 0 !important}#post .entry-content blockquote p:last-child,#page .entry-content blockquote p:last-child,#post .entry-content-box blockquote p:last-child,#page .entry-content-box blockquote p:last-child{margin:0 !important}#post .entry-content h1,#page .entry-content h1,#post .entry-content-box h1,#page .entry-content-box h1,#post .entry-content h2,#page .entry-content h2,#post .entry-content-box h2,#page .entry-content-box h2,#post .entry-content h3,#page .entry-content h3,#post .entry-content-box h3,#page .entry-content-box h3,#post .entry-content h4,#page .entry-content h4,#post .entry-content-box h4,#page .entry-content-box h4,#post .entry-content h5,#page .entry-content h5,#post .entry-content-box h5,#page .entry-content-box h5,#post .entry-content h6,#page .entry-content h6,#post .entry-content-box h6,#page .entry-content-box h6{position:relative;margin:16px 0}#post .entry-content h1:after,#page .entry-content h1:after,#post .entry-content-box h1:after,#page .entry-content-box h1:after,#post .entry-content h2:after,#page .entry-content h2:after,#post .entry-content-box h2:after,#page .entry-content-box h2:after,#post .entry-content h3:after,#page .entry-content h3:after,#post .entry-content-box h3:after,#page .entry-content-box h3:after,#post .entry-content h4:after,#page .entry-content h4:after,#post .entry-content-box h4:after,#page .entry-content-box h4:after,#post .entry-content h5:after,#page .entry-content h5:after,#post .entry-content-box h5:after,#page .entry-content-box h5:after,#post .entry-content h6:after,#page .entry-content h6:after,#post .entry-content-box h6:after,#page .entry-content-box h6:after{content:' ';display:block;border:2px solid var(--pk-c-primary);border-radius:5px;width:36px;opacity:.8;margin-top:2px}#post .entry-content br:before,#page .entry-content br:before,#post .entry-content-box br:before,#page .entry-content-box br:before{display:block;content:' ';margin:10px 0}#post .entry-content h1,#page .entry-content h1,#post .entry-content-box h1,#page .entry-content-box h1{font-size:26px}#post .entry-content h2,#page .entry-content h2,#post .entry-content-box h2,#page .entry-content-box h2{font-size:24px}#post .entry-content h3,#page .entry-content h3,#post .entry-content-box h3,#page .entry-content-box h3{font-size:22px}#post .entry-content h4,#page .entry-content h4,#post .entry-content-box h4,#page .entry-content-box h4{font-size:20px}#post .entry-content h5,#page .entry-content h5,#post .entry-content-box h5,#page .entry-content-box h5{font-size:18px}#post .entry-content h6,#page .entry-content h6,#post .entry-content-box h6,#page .entry-content-box h6{font-size:16px}#post .entry-content code:not([class]),#page .entry-content code:not([class]),#post .entry-content-box code:not([class]),#page .entry-content-box code:not([class]){margin:2px 4px;padding:0 6px;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,0.125);background-color:var(--pk-bg-body);display:inline-block;font-family:"Segoe UI","Microsoft YaHei","Hiragino Sans GB","WenQuanYi Micro Hei",sans-serif}#post .entry-content img:not(.wp-smiley),#page .entry-content img:not(.wp-smiley),#post .entry-content-box img:not(.wp-smiley),#page .entry-content-box img:not(.wp-smiley){max-width:100%;height:auto;margin:10px auto;display:block;border-radius:2px;cursor:pointer;transition:all .3s}#post .entry-content img:not(.wp-smiley):hover,#page .entry-content img:not(.wp-smiley):hover,#post .entry-content-box img:not(.wp-smiley):hover,#page .entry-content-box img:not(.wp-smiley):hover{opacity:.8}#post .entry-content .alert,#page .entry-content .alert,#post .entry-content-box .alert,#page .entry-content-box .alert{margin-bottom:10px}#post .entry-content a:not(.btn),#page .entry-content a:not(.btn),#post .entry-content-box a:not(.btn),#page .entry-content-box a:not(.btn){color:var(--pk-c-primary)}#post .entry-content a:not(.btn,.hide-hover):not(.post-page-numbers),#page .entry-content a:not(.btn,.hide-hover):not(.post-page-numbers),#post .entry-content-box a:not(.btn,.hide-hover):not(.post-page-numbers),#page .entry-content-box a:not(.btn,.hide-hover):not(.post-page-numbers){transition:all .3s}#post .entry-content a:not(.btn,.hide-hover):not(.post-page-numbers):hover,#page .entry-content a:not(.btn,.hide-hover):not(.post-page-numbers):hover,#post .entry-content-box a:not(.btn,.hide-hover):not(.post-page-numbers):hover,#page .entry-content-box a:not(.btn,.hide-hover):not(.post-page-numbers):hover{opacity:.8;color:rgba(var(--pk-c-primary), 60%)}#post .entry-content .btn,#page .entry-content .btn,#post .entry-content-box .btn,#page .entry-content-box .btn,#post .entry-content .p-block,#page .entry-content .p-block,#post .entry-content-box .p-block,#page .entry-content-box .p-block{margin-bottom:10px !important}#post .entry-content pre>code,#page .entry-content pre>code,#post .entry-content-box pre>code,#page .entry-content-box pre>code{background-color:transparent !important}#post .entry-content .post-foot-qrcode,#page .entry-content .post-foot-qrcode,#post .entry-content-box .post-foot-qrcode,#page .entry-content-box .post-foot-qrcode{margin-top:20px;text-align:center}#post .entry-content .post-foot-qrcode .title,#page .entry-content .post-foot-qrcode .title,#post .entry-content-box .post-foot-qrcode .title,#page .entry-content-box .post-foot-qrcode .title{display:inline-block;padding:6px 10px;background:#0e0e0e;color:#fff;border-radius:10px;font-size:10px}#post .entry-content .post-foot-qrcode img,#page .entry-content .post-foot-qrcode img,#post .entry-content-box .post-foot-qrcode img,#page .entry-content-box .post-foot-qrcode img{width:180px;border-radius:10px}.code-toolbar .toolbar{position:absolute;top:0;background:#000;padding-top:20px;border-radius:5px}.post-relevant{padding:0 10px}.post-relevant .post-relevant-item{padding:0 5px;margin-bottom:20px}.post-relevant .post-relevant-item>div{transition:all .3s;width:100%;border-radius:6px;height:140px;position:relative;color:#fff;display:flex;align-items:center;justify-content:center;padding:0 10px}.post-relevant .post-relevant-item>div .title{z-index:10;color:var(--light)}.post-relevant .post-relevant-item>div:hover{transform:translateY(5px)}.post-relevant .post-relevant-item>div:hover:before{backdrop-filter:blur(1px)}.post-relevant .post-relevant-item>div:before{display:block;content:' ';width:100%;position:absolute;top:0;left:0;border-radius:6px;height:100%;background:linear-gradient(rgba(54,62,72,0.58), rgba(71,74,78,0.16));backdrop-filter:blur(3px);z-index:9}#post-comments .children{padding-left:30px}#post-comments .post-comment{margin-top:20px}#post-comments .post-comment .info{display:flex;align-items:center}#post-comments .post-comment .hide-info{display:none}#post-comments .post-comment pre{font-size:14px}#post-comments .post-comment .comment-os{font-size:12px}#post-comments .post-comment .comment-os img{width:14px;position:relative;top:-2px;margin-right:2px}#post-comments .post-comment .comment-os span{display:inline-block;margin-right:3px}#post-comments .post-comment .content .content-text,#post-comments .post-comment .content .comment-box-reply{margin-left:42px;border-radius:3px}#post-comments .post-comment .content .comment-box-reply{margin-top:10px}#post-comments .post-comment .content .content-text{padding:10px;background-color:var(--pk-bg-box-content)}#post-comments .post-comment .content p{margin-bottom:0}#post-comments .post-comment:hover .hide-info,#post-comments .post-comment .hide-info-show{display:inline-block}.pagination a,.pagination .page-numbers,.pagination .post-page-numbers{display:inline-block;padding:6px 12px;transition:all .3s;border-radius:2px;margin-left:5px;font-size:12px;color:var(--pk-c-sub) !important}.pagination a:hover,.pagination .page-numbers:hover,.pagination .post-page-numbers:hover,.pagination a.cur,.pagination .page-numbers.cur,.pagination .post-page-numbers.cur,.pagination a.current,.pagination .page-numbers.current,.pagination .post-page-numbers.current{background-color:var(--pk-c-primary) !important;color:#fff !important}.pagination li{display:inline-block}.circle-button{cursor:pointer;width:50px;height:50px;border-radius:25px;line-height:50px;background-color:var(--pk-bg-box-content);transition:all .3s}.circle-button:not(:first-child){margin-left:6px}.circle-button:hover{background-color:var(--pk-c-primary) !important;color:#fff !important}.circle-sm{width:30px;height:30px;border-radius:15px;line-height:30px}.circle-hb:hover{box-shadow:2px 3px 1px rgba(0,0,0,0.17) !important}#footer{color:var(--pk-c-font);padding:30px 0;background-color:var(--pk-bg-box)}#footer .info{color:var(--pk-c-font)}#footer .info a{transition:all .3s !important}#footer .info a:hover{color:var(--pk-c-primary) !important}#footer a,#footer .more-link a{color:var(--pk-c-font);transition:all .3s}#footer a:not(:last-child),#footer .more-link a:not(:last-child){margin-right:5px}#footer a:hover,#footer .more-link a:hover{color:var(--pk-c-primary)}#footer .more-link a{color:var(--pk-c-light)}.carousel-item img{border-radius:4px}#search{position:fixed;top:90px;z-index:9999;width:100%}#search #search-main{position:relative}#search #search-main .search-close-btn{position:absolute;bottom:-50px;left:0;text-align:center;width:100%}#search #search-main .search-layout>div{display:inline-block}#search #search-main .search-layout .search-input{width:70%}#search #search-main .search-layout .search-start{width:calc(100% - 75%);position:relative;top:-2px}#search #search-main .search-layout .search-start .btn{width:100% !important}.mobile-menus .search-modal-btn{position:relative;top:-1px}#page-links .links-main .links-main-box{padding-top:10px;padding-right:15px}#page-links .links-main .links-main-box .link-item{margin-bottom:15px;padding-right:0}#page-links .links-main .links-main-box .link-item:hover>div{color:var(--pk-c-font);-webkit-transform:translateY(-5px)}#page-links .links-main .links-main-box .link-item img{float:left}#page-links .links-main .links-main-box .link-item>div{transition:all .2s;-webkit-transform:translateY(0);padding:8px 10px;border-radius:3px}#page-links .links-main .links-main-box .link-item .info{float:left;margin-top:3px;max-width:70%}#page-links .links-main .links-main-box .link-item .info p{width:100%;margin-bottom:0}@media (max-width:400px){#page-links .link-item>div{text-align:center}#page-links .link-item img{margin:0 auto;float:none !important}#page-links .link-item .info{max-width:100% !important}}#smiley .smiley-item{display:inline-block;margin-bottom:10px;cursor:pointer;transition:all .2s}#smiley .smiley-item:hover{opacity:.5}#smiley img{width:25px}.wp-smiley{display:inline !important;height:18px !important;max-height:18px !important}.table{color:var(--pk-c-font)}.table.table-bordered{border:1px solid var(--pk-c-border)}.table.table-bordered td,.table.table-bordered th{border:1px solid var(--pk-c-border)}.widget table{width:100%}.widget>h3{font-size:16px;padding-bottom:.5rem;border-bottom:1px solid var(--pk-c-primary);display:inline-block}.widget ul{list-style:none;padding:0}.widget-puock-author{padding:0;border-radius:0}.widget-puock-author .header{border-top-left-radius:4px;border-top-right-radius:4px;height:150px;background-size:cover;position:relative;display:flex;justify-content:center}.widget-puock-author .header .avatar{width:80px;height:80px;border-radius:40px;position:absolute;top:110px}.widget-puock-author .content{min-height:70px;padding:40px 10px 10px 10px}.widget-puock-tag-cloud{display:flex;flex-wrap:wrap;justify-content:space-between}.widget-puock-tag-cloud a{flex:1;margin:3px 3px;padding:.5rem .7rem}.widget-puock-hitokoto .fb{text-align:right;color:var(--pk-c-secondary);font-size:14px;margin-top:6px}.pk-widget .widget-common-media-post{display:flex;overflow:hidden}.pk-widget .widget-common-media-post:hover .img img{transform:var(--pk-g-list-img-hover)}.pk-widget .widget-common-media-post .img{flex-shrink:0;margin-right:10px;border-radius:3px;overflow:hidden;display:flex;justify-content:center;align-items:center;min-height:80px}.pk-widget .widget-common-media-post .img img{border-radius:3px;transition:all .3s}.pk-widget .widget-common-media-post .info{flex:1;display:flex;flex-direction:column;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.no-style ul{list-style:none}.li-style-line li{margin-bottom:20px}.li-style-line li>ul{margin-top:20px}.li-style-line li:before{content:'▫ ';color:var(--pk-c-sub) !important}.tooltip{font-size:12px}#page-books #books-main{list-style:none}#page-books #books-main li{display:inline-block;cursor:pointer;margin-bottom:20px;text-align:center}#page-books #books-main li::before{content:none}#page-books #books-main li a{box-shadow:7px 7px 22px -7px rgba(66,65,64,0.44);width:120px;height:160px;display:inline-block;transition:all .3s}#page-books #books-main li a img.cover{width:100%;height:100%}#page-books #books-main li a:hover{margin-top:-3px}#rb-float-actions{position:fixed;right:10px;bottom:50px}#rb-float-actions .p-block{width:34px;height:34px;transition:all .3s;display:flex;justify-content:center;align-items:center;cursor:pointer;margin-bottom:0}#rb-float-actions .p-block:hover{background-color:var(--pk-c-primary);color:var(--pk-c-light)}#rb-float-actions .p-block:hover{background-color:var(--pk-c-primary) !important;color:var(--pk-c-light) !important}#rb-float-actions .p-block:not(:last-child){margin-bottom:5px}#page-tags #tags-main-index li.a{display:inline-block}#page-tags #tags-main-index li.a a{color:var(--pk-c-primary)}#page-tags #tags-main-index li.a a,#page-tags #tags-main-index li.t{transition:all .3s;cursor:pointer}#page-tags #tags-main-index li.a a:hover,#page-tags #tags-main-index li.t:hover{background-color:var(--pk-c-primary);color:var(--pk-c-light)}#page-tags #tags-main-index li.a a:hover,#page-tags #tags-main-index li.t:hover{background-color:var(--pk-c-primary) !important;color:var(--pk-c-light) !important}#page-tags li.a a,#page-tags li.t,#page-tags #tags-main-box li a{padding:5px 10px;cursor:pointer;display:inline-block;margin:0 5px 5px 0}#page-tags #tags-main-box li{margin-bottom:10px}#page-tags #tags-main-box li a{font-size:12px;transition:all .3s;cursor:pointer}#page-tags #tags-main-box li a:hover{background-color:var(--pk-c-primary);color:var(--pk-c-light)}#page-tags #tags-main-box li a:hover{background-color:var(--pk-c-primary) !important;color:var(--pk-c-light) !important}.cat-top-info{background-color:var(--pk-bg-box);padding:20px 0 10px 0}.cat-top-info #breadcrumb{box-shadow:none}.cat-top-info .child-cat .a-link{box-shadow:none;border:1px dashed var(--pk-c-border)}.single-next-or-pre a>div{padding:15px;display:block}.single-next-or-pre a>div p{margin-bottom:5px}.global-top-notice .swiper{height:22px}.global-top-notice .notice-icon{background-color:var(--pk-c-primary);width:22px;height:22px;line-height:22px;display:inline-block;text-align:center;color:#fff;border-radius:50%}.global-top-notice .notice-icon i{font-size:12px}.timeline{position:relative;padding:15px 0}.timeline:before{content:'';position:absolute;background-color:var(--pk-bg-box-content);top:0;left:25px;height:100%;width:2px}.timeline .timeline-item{position:relative;margin:2em 0}.timeline .timeline-item:after{content:"";display:table;clear:both}.timeline .timeline-item:first-child{margin-top:0}.timeline .timeline-item:last-child{margin-bottom:0}.timeline .timeline-content{transition:all .3s;background-color:var(--pk-bg-box-content);padding:20px 10px 10px 10px;position:relative;margin-left:60px;border-radius:2px}.timeline .timeline-content ul{padding-left:0}.timeline .timeline-content li{transition:all .3s}.timeline .timeline-content li :before{content:'-';color:var(--pk-c-secondary);margin-right:2px}.timeline .timeline-content li:not(:last-child){margin-bottom:15px}.timeline .timeline-content li:hover{transform:translateX(2px)}.timeline .timeline-content:before{content:' ';position:absolute;top:9px;right:100%;border-right:8px solid var(--pk-bg-box-content)}.timeline .timeline-content:hover{transform:translateX(5px)}.timeline .timeline-location{position:absolute;top:8px;left:19px;width:14px;height:14px;border-radius:50%;background-color:var(--pk-bg-box-content)}#author{margin-bottom:15px}#author>.bg{border-top-left-radius:4px;border-top-right-radius:4px;height:280px;background-size:cover;position:relative}#author>.bg .avatar{position:absolute;left:10px;bottom:-37.5px;width:150px;height:150px}#author>.bg .avatar img{border-radius:50%;background-color:var(--pk-bg-box);border:4px solid var(--pk-bg-box-content)}#author>.info{padding-left:180px;padding-top:var(--pk-g-basic-distance);height:100px;background-color:var(--pk-bg-box)}#author .author-tab-data{background-color:var(--pk-bg-box);padding:var(--pk-g-basic-distance)}#author .author-tab-data .data-header{display:flex;align-items:center;border-bottom:1px solid var(--pk-c-border);padding-bottom:var(--pk-g-basic-distance)}#author .author-tab-data .data-header .item{cursor:pointer;position:relative;padding:0 10px}#author .author-tab-data .data-header .item:not(:last-child){margin-right:var(--pk-g-basic-distance)}#author .author-tab-data .data-header .item:after{transition:all .3s;content:" ";position:absolute;width:100%;top:37px;left:0;background:var(--pk-c-primary);height:3px;border-radius:2px;opacity:0}#author .author-tab-data .data-header .item:hover,#author .author-tab-data .data-header .item.cur{transition:all .3s;color:var(--pk-c-primary)}#author .author-tab-data .data-header .item:hover:after,#author .author-tab-data .data-header .item.cur:after{opacity:1}#author .author-tab-data .data-content{padding-top:var(--pk-g-basic-distance)}#author .author-tab-data .data-content #posts .post-item,#author .author-tab-data .data-content #posts .post-item-card-box{box-shadow:none !important}#user-center .form-control{font-size:14px}#index-company{padding-bottom:30px}#index-company .bgimg{background-size:cover;background-position:center center;background-repeat:no-repeat}#index-company .tin2{text-indent:2rem}#index-company #do-items .do-item{padding-top:15px;display:flex}#index-company #do-items .do-item:not(:last-child){margin-bottom:30px}#index-company #do-items .do-item .icon{width:100px;height:100px;border-radius:50px;background-color:var(--pk-c-primary);text-align:center}#index-company #do-items .do-item .icon [class^='fa']{font-size:50px;color:var(--pk-c-font);line-height:100px}#index-company #do-items .do-item .info{width:calc(100% - 110px);padding-left:10px}#index-company #do-items .do-item .info .title{font-size:24px;position:relative}#index-company #do-items .do-item .info .desc{font-size:15px}#index-company #prod-items .prod-item{margin-top:60px}#index-company #prod-items .prod-item .p-block{min-height:400px}#index-company #prod-items .prod-item a{color:var(--pk-c-font);transition:all .3s}#index-company #prod-items .prod-item .go{color:var(--pk-c-font);margin-top:30px;text-align:center;font-size:24px}#index-company #prod-items .prod-item .desc{color:var(--pk-c-font);font-size:15px;margin-bottom:0;text-align:center}.index-links a{margin:3px;padding:.5rem .7rem}.index-links .index-links-box{display:flex;flex-wrap:wrap;align-items:center}.index-links .index-links-box:nth-of-type(2)::after{content:'';flex:auto}.index-links .links-item{background-color:var(--pk-bg-box-content);color:var(--pk-c-font);transition:all .2s;margin-bottom:8px}.index-links .links-item:hover{background-color:var(--pk-c-primary);color:var(--pk-c-light)}.index-links .badge{font-size:85%}.github-card{padding:15px;margin:15px 0}.github-card.loaded{border:1px solid var(--pk-c-border);background-color:var(--pk-bg-card);border-radius:5px}.github-card.loaded a{color:var(--pk-c-font)}.github-card .card-header,.github-card .card-body{margin-bottom:15px}.github-card .card-header a,.github-card .card-footer a{color:var(--pk-c-font) !important;display:inline-block;margin-left:3px;transition:all .3s;cursor:pointer}.github-card .card-header a:hover,.github-card .card-footer a:hover{color:var(--pk-c-primary) !important}.github-card .card-header a:before,.github-card .card-footer a:before{display:none !important}@media (max-width:575px){#comment-form .comment-info .col-12{margin-bottom:15px}.pagination{display:block}.pagination a,.pagination .page-numbers,.pagination .post-page-numbers{padding:6px 8px;margin-bottom:10px}}.sidebar-position{position:fixed;z-index:1}#sidebar{padding-left:0}#post-main,#sidebar{animation-fill-mode:none !important}.comment-captcha{cursor:pointer;height:28px;width:100px}.pk-code-tools{background-color:#0b1c2c;border-top-left-radius:var(--pk-g-box-radius);border-top-right-radius:var(--pk-g-box-radius);padding:5px 10px 0 10px;display:flex;justify-content:space-between;align-content:center}.pk-code-tools .dot i{display:inline-block;width:12px;height:12px;border-radius:6px}.pk-code-tools .dot i:not(:last-child){margin-right:5px}.pk-code-tools .dot i:nth-child(1){background-color:#FF5F56}.pk-code-tools .dot i:nth-child(2){background-color:#FFBD2E}.pk-code-tools .dot i:nth-child(3){background-color:#27C93F}.pk-code-tools .actions .i{color:var(--pk-c-light);cursor:pointer;transition:all .3s}.pk-code-tools .actions .i:hover{opacity:.7}.post-comment .pk-code-tools{margin-top:10px}.post-poster{display:flex;justify-content:center}.post-poster .post-poster-main{width:320px;overflow-x:hidden;position:relative;background-color:#fff;color:var(--pk-c-dark);border-radius:var(--pk-g-box-radius)}.post-poster .post-poster-main .cover{width:100%;height:160px;overflow:hidden;display:flex;align-content:center;justify-content:center}.post-poster .post-poster-main .cover img{width:100%;height:100%}.post-poster .post-poster-main .result{width:100%}.post-poster .post-poster-main .content{padding:10px}.post-poster .post-poster-main .content .info{display:flex;justify-content:space-between;align-items:center}.post-poster .post-poster-main .content .info .qrcode{width:120px;height:120px}.post-poster .post-poster-main .content .info .logo{width:130px;height:auto}@media (max-width:767px){#posts .post-item .info-title{white-space:initial !important;word-break:break-all !important}#posts .post-item.post-item-card{padding-right:0;padding-left:0}#author .bg{height:130px}#author .bg .avatar{width:100px;height:100px}#author .info{padding-left:130px}} \ No newline at end of file +body{--pk-c-primary:#1c60f3;--pk-c-danger:#dc3545;--pk-c-info:#17a2b8;--pk-c-success:#00b74a;--pk-c-warning:#fc651f;--pk-c-secondary:#6c757d;--pk-c-yellow:#f5c800;--pk-c-font:#343a40;--pk-c-sub:#808695;--pk-bg-body:#f3f5f7;--pk-bg-card:#fff;--pk-bg-box:#fff;--pk-c-dark:#2f3940;--pk-c-light:#f8f9fa;--pk-bg-light:#fefcfc;--pk-bg-grey:#f8f8f9;--pk-c-input-bg:#f8f8f9;--pk-bg-box-content:#f8f8f9;--pk-c-border:#f3f3f3;--pk-g-box-radius:5px;--pk-bg-header:rgba(255,255,255,0.15);--pk-c-block-shadow:rgba(176,176,176,0.11);--pk-g-list-img-hover:scale(1.08);--pk-g-basic-distance:15px;--pk-bg-skeleton:#d9d9d9;--bs-code-color:#fb4787}body.puock-dark{--pk-bg-body:#1e2a36;--pk-c-font:#dddbdb;--pk-bg-card:#2f3940;--pk-bg-box:#1a242f;--pk-bg-box-content:#1e2a36;--pk-c-input-bg:#1e2a36;--pk-c-border:#2f373e;--pk-bg-header:rgba(34,34,34,0.15);--pk-c-block-shadow:rgba(23,31,40,0.57);--pk-bg-skeleton:#2a3644}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-track{border-radius:10px}::-webkit-scrollbar-thumb{border-radius:10px;background:rgba(75,75,75,0.5)}::-webkit-scrollbar-thumb:hover{background:rgba(106,106,106,0.5)}::-webkit-scrollbar-thumb:window-inactive{background:rgba(120,120,120,0.2)}figure{margin:0}p,div{white-space:normal;word-break:break-all}a{color:var(--pk-c-primary);text-decoration:none}.wh100{width:100%;height:100%}.form-group{margin-bottom:1rem}.text-2line{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical}.text-3line{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;line-clamp:3;-webkit-line-clamp:3;-webkit-box-orient:vertical}.ta3,.ta3b a{transition:all .3s}.tsh{transition:all .3s}.tsh:hover{transform:var(--pk-g-list-img-hover)}.box-plr15{padding:0 15px}.bg-yellow{background-color:var(--pk-c-warning) !important}.primary-hover{transition:all .3s;cursor:pointer}.primary-hover:hover{background-color:var(--pk-c-primary) !important;color:var(--pk-c-light) !important}.box-sw{box-shadow:0 0 22px -7px rgba(149,148,147,0.44);padding:20px}.prt-1{position:relative;top:-1px}.pr15{padding-left:0;padding-right:15px}.pl15{padding-left:15px;padding-right:0}.fs12{font-size:12px}.min-width-modal{min-width:420px}@media (max-width:576px){.min-width-modal{min-width:300px}}.btn-primary,.btn-primary:hover{background-color:var(--pk-c-primary) !important;color:var(--pk-c-light);border-color:var(--pk-c-primary) !important}.btn-primary:hover:hover{opacity:.8}.btn-danger,.btn-danger:hover{background-color:var(--pk-c-danger) !important;color:var(--pk-c-light);border-color:var(--pk-c-danger) !important}.btn-danger:hover:hover{opacity:.8}.btn-info,.btn-info:hover{background-color:var(--pk-c-info) !important;color:var(--pk-c-light);border-color:var(--pk-c-info) !important}.btn-info:hover:hover{opacity:.8}.btn-success,.btn-success:hover{background-color:var(--pk-c-success) !important;color:var(--pk-c-light);border-color:var(--pk-c-success) !important}.btn-success:hover:hover{opacity:.8}.btn-warning,.btn-warning:hover{background-color:var(--pk-c-warning) !important;color:var(--pk-c-light);border-color:var(--pk-c-warning) !important}.btn-warning:hover:hover{opacity:.8}.btn-dark,.btn-dark:hover{background-color:var(--pk-c-dark) !important;color:var(--pk-c-light);border-color:var(--pk-c-dark) !important}.btn-dark:hover:hover{opacity:.8}.btn-secondary,.btn-secondary:hover{background-color:var(--pk-c-secondary) !important;color:var(--pk-c-light);border-color:var(--pk-c-secondary) !important}.btn-secondary:hover:hover{opacity:.8}.btn-light,.btn-light:hover{background-color:var(--pk-c-light) !important;color:var(--pk-c-light);border-color:var(--pk-c-light) !important}.btn-light:hover:hover{opacity:.8}.btn-outline-primary{color:var(--pk-c-primary) !important;border-color:var(--pk-c-primary) !important}.btn-outline-primary:hover{background-color:var(--pk-c-primary) !important;color:var(--pk-c-light) !important}.btn-outline-danger{color:var(--pk-c-danger) !important;border-color:var(--pk-c-danger) !important}.btn-outline-danger:hover{background-color:var(--pk-c-danger) !important;color:var(--pk-c-light) !important}.btn-outline-info{color:var(--pk-c-info) !important;border-color:var(--pk-c-info) !important}.btn-outline-info:hover{background-color:var(--pk-c-info) !important;color:var(--pk-c-light) !important}.btn-outline-success{color:var(--pk-c-success) !important;border-color:var(--pk-c-success) !important}.btn-outline-success:hover{background-color:var(--pk-c-success) !important;color:var(--pk-c-light) !important}.btn-outline-warning{color:var(--pk-c-warning) !important;border-color:var(--pk-c-warning) !important}.btn-outline-warning:hover{background-color:var(--pk-c-warning) !important;color:var(--pk-c-light) !important}.btn-outline-dark{color:var(--pk-c-dark) !important;border-color:var(--pk-c-dark) !important}.btn-outline-dark:hover{background-color:var(--pk-c-dark) !important;color:var(--pk-c-light) !important}.btn-outline-secondary{color:var(--pk-c-secondary) !important;border-color:var(--pk-c-secondary) !important}.btn-outline-secondary:hover{background-color:var(--pk-c-secondary) !important;color:var(--pk-c-light) !important}.btn-outline-light{color:var(--pk-c-light) !important;border-color:var(--pk-c-light) !important}.btn-outline-light:hover{background-color:var(--pk-c-light) !important;color:var(--pk-c-light) !important}.alert-primary{background-color:var(--pk-c-primary) !important;color:var(--pk-c-light);border-color:var(--pk-c-primary) !important}.alert-danger{background-color:var(--pk-c-danger) !important;color:var(--pk-c-light);border-color:var(--pk-c-danger) !important}.alert-info{background-color:var(--pk-c-info) !important;color:var(--pk-c-light);border-color:var(--pk-c-info) !important}.alert-success{background-color:var(--pk-c-success) !important;color:var(--pk-c-light);border-color:var(--pk-c-success) !important}.alert-warning{background-color:var(--pk-c-warning) !important;color:var(--pk-c-light);border-color:var(--pk-c-warning) !important}.alert-dark{background-color:var(--pk-c-dark) !important;color:var(--pk-c-light);border-color:var(--pk-c-dark) !important}.alert-secondary{background-color:var(--pk-c-secondary) !important;color:var(--pk-c-light);border-color:var(--pk-c-secondary) !important}.alert-light{background-color:var(--pk-c-light) !important;color:var(--pk-c-light);border-color:var(--pk-c-light) !important}.mt20{margin-top:20px}.mt15{margin-top:15px}.mt10{margin-top:10px}.mt5{margin-top:5px}.mb20{margin-bottom:20px}.mb15{margin-bottom:15px}.mb10{margin-bottom:10px}.mb5{margin-bottom:5px}.mt50{margin-top:50px}.mt40{margin-top:40px}.mt30{margin-top:30px}.mb50{margin-bottom:50px}.mb40{margin-bottom:40px}.mb30{margin-bottom:30px}.ml20{margin-left:20px}.ml15{margin-left:15px}.ml10{margin-left:10px}.ml5{margin-left:5px}.mr20{margin-right:20px}.mr15{margin-right:15px}.mr10{margin-right:10px}.mr5{margin-right:5px}.fs20{font-size:20px}.fs18{font-size:18px}.fs16{font-size:16px}.fs14{font-size:14px}.fs12{font-size:12px}.p20{padding:20px}.p10{padding:10px}.pt20{padding-top:20px}.pt10{padding-top:10px}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:1rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:1rem}.pb-0{padding-bottom:0}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:1rem}.pl-0{padding-left:0}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:1rem}.pr-0{padding-right:0}.pr-1{padding-right:.25rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:1rem}.m-0{margin:0}.m-1{margin:.25rem}.m-2{margin:.5rem}.m-3{margin:1rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:1rem}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:1rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:1rem}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:1rem}.bg-primary{background-color:var(--pk-c-primary) !important}.bg-danger{background-color:var(--pk-c-danger) !important}.bg-info{background-color:var(--pk-c-info) !important}.bg-success{background-color:var(--pk-c-success) !important}.bg-warning{background-color:var(--pk-c-warning) !important}.bg-dark{background-color:var(--pk-c-dark) !important}.bg-secondary{background-color:var(--pk-c-secondary) !important}.bg-light{background-color:var(--pk-c-light) !important}.border-primary{border-color:var(--pk-c-primary) !important}.border-danger{border-color:var(--pk-c-danger) !important}.border-info{border-color:var(--pk-c-info) !important}.border-success{border-color:var(--pk-c-success) !important}.border-warning{border-color:var(--pk-c-warning) !important}.border-dark{border-color:var(--pk-c-dark) !important}.border-secondary{border-color:var(--pk-c-secondary) !important}.border-light{border-color:var(--pk-c-light) !important}.text-primary{color:var(--pk-c-primary) !important}.text-danger{color:var(--pk-c-danger) !important}.text-info{color:var(--pk-c-info) !important}.text-success{color:var(--pk-c-success) !important}.text-warning{color:var(--pk-c-warning) !important}.text-dark{color:var(--pk-c-dark) !important}.text-secondary{color:var(--pk-c-secondary) !important}.text-light{color:var(--pk-c-light) !important}.c-primary{color:var(--pk-c-primary) }.c-danger{color:var(--pk-c-danger) }.c-info{color:var(--pk-c-info) }.c-success{color:var(--pk-c-success) }.c-warning{color:var(--pk-c-warning) }.c-dark{color:var(--pk-c-dark) }.c-secondary{color:var(--pk-c-secondary) }.c-light{color:var(--pk-c-light) }[class^=alert]{color:var(--pk-c-light) !important;--bs-alert-padding-x:.7rem;--bs-alert-padding-y:.7rem}[class^=alert] a{color:var(--pk-c-light) !important;text-decoration:underline}[class^=alert].alert-outline{border:1px dashed;background-color:transparent !important;color:var(--pk-c-font) !important}.form-check-input:checked{background-color:var(--pk-c-primary) !important;border-color:var(--pk-c-primary) !important}.btn{transition:all .3s}.btn:hover{opacity:.8}.list-group{--bs-list-group-bg:var(--pk-bg-box);--bs-list-group-color:var(--pk-c-font);--bs-list-group-border-color:var(--pk-c-border)}.mtb10{margin-top:10px;margin-bottom:10px}.t-sm{font-size:12px}.t-md{font-size:14px}.t-lg{font-size:16px}.t-xl{font-size:18px}.t-xxl{font-size:1.5rem}.t-w-400{font-weight:400}.btn-ssm{padding:.2rem .4rem;font-size:.8rem;border-radius:.2rem}.btn-xm{padding:.1rem .2rem;font-size:.1rem;line-height:1.1;border-radius:.2rem}.btn-xxm{padding:.1rem .3rem;font-size:.375rem;line-height:1.1;border-radius:.1rem}.p-border-r-1{border-right:1px solid}.p-lf-15{padding:0 15px !important}.min-avatar,.md-avatar{position:relative}.min-avatar{width:20px;height:20px;border-radius:10px}.md-avatar{width:40px;height:40px;border-radius:20px}.xs-avatar{width:120px;height:120px;border-radius:60px}.line-h-20{line-height:20px}.bg-255{background-color:rgba(255,255,255,0)}.c-sub{color:var(--pk-c-sub) !important}.c-sub-a{color:var(--pk-c-sub) !important;transition:all .3s}.c-sub-a:hover{color:var(--pk-c-primary) !important}.p-flex-center{display:flex;justify-content:center;align-items:center}.p-flex-sk-0{flex-shrink:0}.p-flex-sbc{display:flex;justify-content:space-between;align-items:center}.p-flex-sc{display:flex;justify-content:flex-start;align-items:center}.p-flex-s-right{display:flex;justify-content:flex-end;align-items:center}.text-line{text-decoration:underline}.a-link,.widget a,.abhl,.pd-links a{transition:all .3s;cursor:pointer}.abhl:hover{text-decoration:none;color:var(--pk-c-light) !important;background-color:var(--pk-c-primary) !important}.a-link:hover,.c-sub-a:hover,.widget a:hover,.pd-links a:hover{text-decoration:none;color:var(--pk-c-primary) }.p-border-r-1{border-color:var(--pk-c-border)}.round-3{border-radius:3px}.curp{cursor:pointer}.h-scroll{white-space:nowrap;overflow-y:auto;padding:0 10px}.h-scroll-item{display:inline-block;width:30px;height:30px;padding:10px;text-align:center}.h-scroll-item.cur{border:1px solid #07c160;border-radius:10px}.h-scroll-item img{width:20px}.bg-dark{background-color:#1d1f20 !important}.bg-black{background-color:#000}.b-border{border:1px solid #f8f8f9}.t-line-1{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.t-hover-primary{transition:all .3s}.t-hover-primary:hover{color:var(--pk-c-primary) !important}.t-separator{display:flex;justify-content:center;align-items:center}.t-separator:before,.t-separator:after{flex:1;content:"";background:var(--pk-c-border);max-width:16%;height:1px;margin:0 10px}.pk-badge{display:inline-block;padding:5px 10px;cursor:pointer;border-radius:2px;background-color:var(--pk-bg-box-content);color:var(--pk-c-sub) !important}.pk-badge:hover{background-color:var(--pk-c-primary);color:var(--pk-c-light) !important}.pk-badge.pk-badge-sm{padding:3px 6px;font-size:12px}.pk-round{border-radius:50%}.pk-border-1{border:1px solid var(--pk-c-border)}.pk-border-2{border:2px solid var(--pk-c-border)}.pk-skeleton{animation:skeleton-loading 1s linear infinite}.pk-skeleton:not(:last-child){margin-bottom:var(--pk-g-basic-distance)}.pk-skeleton._comment{display:flex;align-items:flex-start;flex-direction:column}.pk-skeleton._comment ._h{display:flex;align-items:center}.pk-skeleton._comment ._h ._avatar{width:40px;height:40px;border-radius:50%;background-color:var(--pk-bg-skeleton)}.pk-skeleton._comment ._h ._info{display:flex;flex-direction:column}.pk-skeleton._comment ._h ._info ._name,.pk-skeleton._comment ._h ._info ._date{margin-left:10px;background-color:var(--pk-bg-skeleton);width:150px;height:12px;border-radius:2px}.pk-skeleton._comment ._h ._info ._name._date,.pk-skeleton._comment ._h ._info ._date._date{width:100px;height:8px;margin-top:10px}.pk-skeleton._comment ._text{margin-top:10px;padding-left:50px;width:100%;height:80px}.pk-skeleton._comment ._text>div{width:100%;height:14px;background-color:var(--pk-bg-skeleton);border-radius:5px}.pk-skeleton._comment ._text>div:not(:last-child){margin-bottom:10px}.pk-skeleton._default>div{background-color:var(--pk-bg-skeleton);border-radius:6px}.pk-skeleton._default>div:nth-child(1){width:50%;height:12px}.pk-skeleton._default>div:nth-child(2){width:57%;height:12px}.pk-skeleton._default>div:nth-child(3){width:45%;height:12px}.pk-skeleton._default>div:nth-child(4){width:78%;height:12px}.pk-skeleton._default>div:nth-child(5){width:64%;height:12px}.pk-skeleton._default>div:not(:last-child){margin-bottom:10px}@keyframes breathe{0%{opacity:.5}100%{opacity:1}}@keyframes skeleton-loading{0%{opacity:0}50%{opacity:1}100%{opacity:0}}@keyframes words-loop{0%{transform:translateX(0);-webkit-transform:translateX(0)}100%{transform:translateX(-100%);-webkit-transform:translateX(-100%)}}@keyframes logo-loop-light{0%,79%{opacity:0}80%{opacity:1;left:-60px;top:0}100%{opacity:1;left:160px;top:0}}.pk-breathe{-webkit-animation-timing-function:ease-in-out;-webkit-animation-name:breathe;-webkit-animation-duration:1200ms;-webkit-animation-iteration-count:infinite;-webkit-animation-direction:alternate}.pk-words-loop{white-space:nowrap;display:inline-block;animation:30s words-loop linear infinite normal}body{background-color:var(--pk-bg-body);color:var(--pk-c-font)}#header,.p-block,.sub-menu,#header-box,.widget,#index-company #prod-items .prod-item .icon,#post-menus{background-color:var(--pk-bg-box);box-shadow:none}blockquote{padding:.8em;margin:10px 0;background-color:var(--pk-bg-box-content);border-left:5px solid #c1c1c1;border-radius:4px}.hljs-ln-numbers{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-align:center;color:#8e8d8d;vertical-align:top;display:inline-block;margin-right:10px}.hljs-ln-numbers .hljs-ln-n{margin-right:3px;min-width:20px;word-break:normal}.hljs-ln-code{padding-left:10px}.toastify{font-size:14px;background-color:var(--pk-c-dark);color:#fff}.toastify.t-primary{background:var(--pk-c-primary)}.toastify.t-info{background:var(--pk-c-info)}.toastify.t-warning{background:var(--pk-c-warning)}.toastify.t-danger{background:var(--pk-c-danger)}.toastify.t-success{background:var(--pk-c-success)}.toastify .toast-close{font-size:12px;opacity:.2}.progress{background-color:var(--pk-bg-body)}.progress-bar{background-color:var(--pk-c-primary)}.modal-content{background-color:var(--pk-bg-box)}.layui-layer{color:var(--pk-c-font) !important;background-color:var(--pk-bg-box) !important;border-radius:6px !important}.layui-layer .layui-layer-title{color:var(--pk-c-font) !important;border-bottom-color:var(--pk-c-border) !important}.layui-layer .layui-layer-close1{background:none !important;font-family:var(--fa-style-family, "Font Awesome 6 Free");font-weight:var(--fa-style, 900);-webkit-font-smoothing:antialiased;display:var(--fa-display, inline-block);font-style:normal;font-variant:normal;line-height:1;text-rendering:auto;font-size:16px;transition:all .3s}.layui-layer .layui-layer-close1:before{content:"\f00d"}.layui-layer .layui-layer-btn{font-size:14px}.layui-layer .layui-layer-btn .layui-layer-btn0,.layui-layer .layui-layer-btn .layui-layer-btn0:hover{background-color:var(--pk-c-primary) !important;color:var(--pk-c-light);border:1px solid var(--pk-c-primary) !important}.layui-layer .layui-layer-btn [class^=layui-layer-btn]{padding:0 10px;transition:all .3s;border-radius:4px}.layui-layer .layui-layer-btn [class^=layui-layer-btn]:not(.layui-layer-btn0):hover{color:var(--pk-c-dark) !important;opacity:.6}.layui-layer-loading{background-color:transparent !important}.layui-layer-loading .layui-layer-content{height:60px !important}.tooltip{--bs-tooltip-zindex:99999999}#page-read-progress{z-index:1000;position:fixed;top:0;width:100%;height:2px}.ahfff,.ahfff:hover,.ahfff-box:hover a{color:var(--pk-c-light) !important}.swiper{height:100%;--swiper-theme-color:var(--pk-c-primary);--swiper-navigation-size:30px}.swiper:hover .swiper-button-next,.swiper:hover .swiper-button-prev{opacity:1}.swiper .swiper-button-next,.swiper .swiper-button-prev{opacity:0;padding:15px;width:auto;height:auto;color:var(--pk-c-light);transition:all .2s}.swiper .swiper-button-next.swiper-button-disabled,.swiper .swiper-button-prev.swiper-button-disabled{opacity:0}.swiper .swiper-button-next:after,.swiper .swiper-button-prev:after{font-size:16px}.swiper .swiper-button-next:hover,.swiper .swiper-button-prev:hover{background-color:rgba(0,0,0,0.09)}.swiper .swiper-button-next.swiper-button-next,.swiper .swiper-button-prev.swiper-button-next{right:0}.swiper .swiper-button-next.swiper-button-prev,.swiper .swiper-button-prev.swiper-button-prev{left:0}.swiper .swiper-wrapper img{height:100%}.swiper .swiper-wrapper .swiper-title{position:absolute;bottom:10px;width:100%;display:flex;justify-content:center;padding:0 20px;font-size:12px}.swiper .swiper-wrapper .swiper-title>.swiper-title-text{display:inline-block;background-color:rgba(0,0,0,0.2);padding:3px 16px;border-radius:3px;transition:all .3s;cursor:pointer;color:var(--pk-c-light);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.swiper .swiper-wrapper .swiper-title>.swiper-title-text:hover{opacity:.6}.swiper:has(.swiper-pagination) .swiper-wrapper .swiper-title{bottom:25px}pre{padding:10px;border-bottom-left-radius:var(--pk-g-box-radius);border-bottom-right-radius:var(--pk-g-box-radius);font-size:inherit}body.pre-mac pre{font-size:100%;border-radius:4px;position:relative;margin:20px 0 20px 0;padding-top:31px !important;border:none;overflow:hidden;max-height:unset}body.pre-mac pre:before{content:" ";z-index:10;position:absolute;-webkit-border-radius:50%;border-radius:50%;background:#fc625d;width:10px;height:10px;left:10px;top:10px;-webkit-box-shadow:20px 0 #fdbc40,40px 0 #35cd4b;box-shadow:20px 0 #fdbc40,40px 0 #35cd4b}.navbar,#header{padding:0;position:fixed;top:0;width:100%;z-index:999}#menus{height:65px}#menus>ul>li:after{transition:all .3s;content:" ";position:absolute;width:100%;top:62px;left:0;background:var(--pk-c-primary);height:3px;border-radius:2px;opacity:0}#menus>ul>li:hover:after,#menus>ul>li.menu-current:after{opacity:1}#menus>ul>li .menu-sub-icon{transition:all .3s;display:inline-block}#menus>ul>li.menu-current .menu-sub-icon,#menus>ul>li:hover .menu-sub-icon{transform:rotate(-90deg)}#menus ul{position:relative;list-style:none;padding:0;margin:0}#menus ul>li>a{display:inline-block}#menus ul li{position:relative;display:inline-block;height:65px;line-height:65px}#menus ul li a{transition:all .3s;padding:0 .5rem}#menus ul li:hover .sub-menu{display:block}#menus ul .sub-menu{display:none;min-width:160px;position:absolute;z-index:999;top:60px;left:-40px;border-radius:6px;box-shadow:0 0 10px rgba(0,0,0,0.1);transition:all .3s}#menus ul .sub-menu li{display:block;text-align:center;margin-bottom:0;height:54.16666667px;line-height:54.16666667px}#menus ul .sub-menu li.menu-current,#menus ul .sub-menu li:hover{background-color:var(--pk-c-primary);border:none}#menus ul .sub-menu li.menu-current:first-child,#menus ul .sub-menu li:hover:first-child{border-top-left-radius:6px;border-top-right-radius:6px}#menus ul .sub-menu li.menu-current:last-child,#menus ul .sub-menu li:hover:last-child{border-bottom-left-radius:6px;border-bottom-right-radius:6px}#menus ul .sub-menu li.menu-current a,#menus ul .sub-menu li:hover a{color:var(--pk-c-light) !important}#menus ul .sub-menu li a{transition:all .3s;display:inline-block;width:100%}#mobile-menu{width:340px;position:fixed;left:0;top:0;z-index:9999;overflow-y:scroll;height:100vh;background-color:var(--pk-bg-box)}#mobile-menu .p-block{box-shadow:none !important}#mobile-menu .menus{padding:40px 20px 20px 20px}#mobile-menu .menus ul{list-style:none;padding:0}#mobile-menu .menus ul li:not(:last-child){margin-bottom:15px}#mobile-menu .menus ul li a{transition:all .3s}#mobile-menu .menus ul li.menu-current a{color:var(--pk-c-primary)}#mobile-menu .menus ul .sub-menu{margin-top:15px;padding-left:15px}#post-menus{user-select:none;position:fixed;right:0;top:calc(100% - 75%);background-color:var(--pk-bg-box);border-top-left-radius:10px;border-bottom-left-radius:10px;z-index:999}#post-menus #post-menu-state{position:absolute;left:-18px;background-color:var(--pk-c-primary);width:18px;height:80px;top:160px;border-top-left-radius:5px;border-bottom-left-radius:5px;text-align:center;cursor:pointer;color:#fff}#post-menus #post-menu-state i{font-size:12px;line-height:80px;font-weight:bold;color:#fff}#post-menus #post-menu-content{width:260px;height:400px;display:none;padding:12px;overflow-y:auto}#post-menus #post-menu-content [class^=post-menu-sub]{display:none;margin-top:4px}#post-menus #post-menu-content ul{list-style:none;padding:0}#post-menus #post-menu-content ul li:not(:last-child){margin-bottom:8px}.post-menus-box{transition:all .3s;display:none}#logo{padding:10px;max-width:200px;display:inline-block;position:relative;overflow:hidden}#logo img{height:45px}#logo .txt-logo{color:var(--pk-c-font);line-height:45px}#logo.logo-loop-light:before{content:"";position:absolute;width:180px;height:8px;background-color:rgba(255,255,255,0.4);-webkit-transform:rotate(-45deg);-webkit-animation:logo-loop-light 4s ease-in 0s infinite;transform:rotate(-45deg);animation:logo-loop-light 4s ease-in 0s infinite}@media (max-width:600px){#mobile-menu{width:80%}}@media (min-width:1420px){.post-action-panel .post-action-content{position:fixed;margin-left:-6rem;top:40%;z-index:9}.post-action-panel .post-action-content .ls{display:block !important}.post-action-panel .post-action-content>div{flex-direction:column}.post-action-panel .post-action-content .circle-button{background-color:var(--pk-bg-box)}.post-action-panel .post-action-content .circle-button:first-child{position:relative;left:6px}.post-action-panel .post-action-content .circle-button:not(:last-child){margin-bottom:10px}}@media (min-width:1360px){.container,.container-lg,.container-md,.container-sm{max-width:1240px}}.min-height-container{min-height:70vh}.modal.modal-no-title .modal-header{display:none}.modal.modal-no-padding .modal-body{padding:0 !important}.modal.modal-no-padding .modal-content{width:auto !important}.modal.modal-transparent .modal-content{background-color:rgba(255,255,255,0)}.modal .modal-content{border:none;border-radius:5px}.modal .modal-content .modal-header .modal-title{font-size:16px}.modal .modal-content .modal-header>button{border:none;background:transparent}.modal .modal-content .modal-header .close i{display:inline-block;transition:all .3s}.modal .modal-content .modal-header .close i:hover{transform:rotate(180deg)}.modal .modal-body{padding:.3rem 1rem 1rem 1rem}.modal .modal-header,.modal .modal-footer{border:none}.modal-backdrop,.mobile-menu-backdrop,.layui-layer-shade{backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);opacity:1 !important;background-color:rgba(0,0,0,0.53) !important}a:hover{text-decoration:none}.btn:hover,.btn:focus,.form-control:hover,.form-control:focus,button:focus,.abc-checkbox label:focus,.form-check-input:focus{outline:none;box-shadow:none}.form-control,.form-control:focus{background-color:var(--pk-c-input-bg);border:var(--pk-c-input-bg);color:var(--pk-c-font);border-radius:2px}.form-control:disabled,.form-control[readonly]{background-color:var(--pk-c-input-bg);opacity:.8}.pd-links a:not(.btn),a:not(.btn){color:var(--pk-c-font)}.pd-links a:not(.btn):hover,a:not(.btn):hover{color:var(--pk-c-primary)}.link-hover:hover{color:var(--pk-c-primary) !important}#header,#header-box{height:65px}#header#header.blur,#header-box#header.blur{background-color:var(--pk-bg-header);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}#header#header>.navbar>.container,#header-box#header>.navbar>.container{flex-wrap:nowrap}#header#header>.navbar>.container #menus>ul,#header-box#header>.navbar>.container #menus>ul{display:flex;flex-wrap:nowrap}#header#header>.navbar>.container #menus>ul>li,#header-box#header>.navbar>.container #menus>ul>li{flex-shrink:0}#header nav a,#header-box nav a{transition:all .3s;font-size:14px}#header nav a:hover,#header-box nav a:hover{text-decoration:none;color:var(--pk-c-primary) }#header .colorMode.fa-moon,#header-box .colorMode.fa-moon,#header .colorMode .fa-moon,#header-box .colorMode .fa-moon{color:var(--pk-c-yellow)}.carousel-control-next{justify-content:flex-end;padding-right:30px}.carousel-control-prev{padding-left:30px;justify-content:flex-start}.badge{position:relative;top:-1px;border-radius:.1rem;font-weight:normal;color:#fff}.p-block,.widget{position:relative;margin:0 0 15px 0;padding:15px;border-radius:4px;box-sizing:border-box;box-shadow:2px 2px 5px var(--pk-c-block-shadow)}.p-block img,.widget img{max-width:100%}.title-l-c{position:absolute;top:20px;left:-1px;width:5px;height:25px;box-shadow:0 1px 1px rgba(0,0,0,0.1)}#posts .post-item{display:flex;flex-wrap:nowrap;align-items:stretch;transition:all .3s}#posts .post-item .post-item-block{padding:10px}#posts .post-item .thumbnail{position:relative;height:auto;width:200px;transition-duration:.5s;margin:0 10px 0 0;flex-shrink:0;overflow:hidden;border-radius:var(--pk-g-box-radius);display:flex;justify-content:center;align-items:center}#posts .post-item .thumbnail a{width:100%;height:100%;display:flex;justify-content:center;align-items:center}#posts .post-item .thumbnail a img{height:100%}#posts .post-item .thumbnail a img.lazy:not(.loaded){height:auto !important}#posts .post-item .thumbnail img{transition:all .3s}#posts .post-item.post-item-card .thumbnail{width:100%}#posts .post-item.post-item-card .thumbnail img{width:100%}#posts .post-item.post-item-card .thumbnail img.lazy:not(.loaded){width:120px}#posts .post-item:hover .thumbnail img{transform:var(--pk-g-list-img-hover)}#posts .post-item .post-info{display:flex;flex:auto;overflow:hidden;flex-direction:column;justify-content:space-between;padding-left:0;position:relative}#posts .post-item .post-info .info-title{font-size:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#posts .post-item .post-info .info-meta{font-size:14px;color:#393e46}#posts .post-item .post-info .info-meta p{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical}#posts .post-item .post-info .info-footer{display:flex;justify-content:space-between;align-items:center}#posts .post-item-card .post-item-card-box>.thumbnail{padding-bottom:5px}#posts .post-item-card .post-item-card-box>.post-info{padding-top:5px}#posts .post-item-card:nth-child(even){padding-right:0;padding-left:7px}#posts .post-item-card:nth-child(odd){padding-left:0;padding-right:7px}#posts .post-item-card .p-block{width:100%}#posts .post-item-card .thumbnail{width:100%}#posts .post-item-card .info-meta .text-2line{height:42px}#posts .post-item-card .post-info{margin-top:10px}#posts .post-item-card .post-info .info-footer{padding-right:0;position:relative}@media (max-width:576px){#posts .post-item-card{padding-left:0 !important;padding-right:0 !important}.post-item-card .t-line-1{white-space:normal}#posts .post-item .thumbnail{width:120px}}#magazines{margin-right:0}#magazines .magazine{display:flex;align-items:stretch}#magazines .magazine .img{flex-shrink:0;margin-right:10px;overflow:hidden}#magazines .magazine .img img{transition:all .3s}#magazines .magazine .magazine-media-item{display:flex;align-items:stretch}#magazines .magazine .magazine-media-item .img{display:flex;justify-content:center;align-items:center;min-height:80px}#magazines .magazine .magazine-media-item:hover .img img{transform:var(--pk-g-list-img-hover)}#magazines .magazine>div{width:100%}#magazines .magazine:nth-child(even){margin-right:0}.media-link{transition:all .3s}.media-link:hover a{margin-left:5px}.media-link.media-row-2>div{margin-bottom:10px}#links{padding:15px}#links .link-item{display:inline-block;padding:7px 15px;margin-right:5px;cursor:pointer}#links .link-item a{color:#555}#links .link-item:hover{background-color:var(--pk-c-primary)}#links .link-item:hover a{color:#fff}.min-comments .comment:not(:first-child){margin-top:10px}.min-comments .comment img{width:18px !important;height:18px !important}#breadcrumb{padding:0 15px}#breadcrumb .breadcrumb{background-color:rgba(255,255,255,0);font-size:14px;padding-left:0}.post-action-panel .post-action-content .ls{display:none}#post .options .option,#page .options .option{display:inline-block;padding:5px 10px;cursor:pointer;border-radius:2px;background-color:var(--pk-bg-box-content);color:var(--pk-c-sub) !important}#post .options .option:hover,#page .options .option:hover{background-color:var(--pk-c-primary);color:var(--pk-c-light) !important}#post .title-l-c,#page .title-l-c{top:40%}#post .entry-title,#page .entry-title{font-size:20px}#post .entry-content,#page .entry-content,#post .entry-content-box,#page .entry-content-box{font-size:15px}#post .entry-content.p-indent>p,#page .entry-content.p-indent>p,#post .entry-content-box.p-indent>p,#page .entry-content-box.p-indent>p{text-indent:2rem}#post .entry-content a:not(.btn,.fancybox,.no-icon):before,#page .entry-content a:not(.btn,.fancybox,.no-icon):before,#post .entry-content-box a:not(.btn,.fancybox,.no-icon):before,#page .entry-content-box a:not(.btn,.fancybox,.no-icon):before{content:"\f0c1";font-family:var(--fa-style-family, "Font Awesome 6 Free");margin-right:3px;font-weight:var(--fa-style, 900);font-size:12px;display:none}#post .entry-content.show-link-icon a:not(.btn,.fancybox,.no-icon):before,#page .entry-content.show-link-icon a:not(.btn,.fancybox,.no-icon):before,#post .entry-content-box.show-link-icon a:not(.btn,.fancybox,.no-icon):before,#page .entry-content-box.show-link-icon a:not(.btn,.fancybox,.no-icon):before{display:inline-block}#post .entry-content .p-block,#page .entry-content .p-block,#post .entry-content-box .p-block,#page .entry-content-box .p-block{box-shadow:none;border-width:1px;border-style:solid;border-color:var(--pk-c-border)}#post .entry-content p,#page .entry-content p,#post .entry-content-box p,#page .entry-content-box p{margin:10px 0 !important;line-height:2}#post .entry-content video,#page .entry-content video,#post .entry-content-box video,#page .entry-content-box video{max-width:100%}#post .entry-content blockquote p:not(:last-child),#page .entry-content blockquote p:not(:last-child),#post .entry-content-box blockquote p:not(:last-child),#page .entry-content-box blockquote p:not(:last-child){margin:0 0 10px 0 !important}#post .entry-content blockquote p:last-child,#page .entry-content blockquote p:last-child,#post .entry-content-box blockquote p:last-child,#page .entry-content-box blockquote p:last-child{margin:0 !important}#post .entry-content h1,#page .entry-content h1,#post .entry-content-box h1,#page .entry-content-box h1,#post .entry-content h2,#page .entry-content h2,#post .entry-content-box h2,#page .entry-content-box h2,#post .entry-content h3,#page .entry-content h3,#post .entry-content-box h3,#page .entry-content-box h3,#post .entry-content h4,#page .entry-content h4,#post .entry-content-box h4,#page .entry-content-box h4,#post .entry-content h5,#page .entry-content h5,#post .entry-content-box h5,#page .entry-content-box h5,#post .entry-content h6,#page .entry-content h6,#post .entry-content-box h6,#page .entry-content-box h6{position:relative;margin:16px 0}#post .entry-content h1:after,#page .entry-content h1:after,#post .entry-content-box h1:after,#page .entry-content-box h1:after,#post .entry-content h2:after,#page .entry-content h2:after,#post .entry-content-box h2:after,#page .entry-content-box h2:after,#post .entry-content h3:after,#page .entry-content h3:after,#post .entry-content-box h3:after,#page .entry-content-box h3:after,#post .entry-content h4:after,#page .entry-content h4:after,#post .entry-content-box h4:after,#page .entry-content-box h4:after,#post .entry-content h5:after,#page .entry-content h5:after,#post .entry-content-box h5:after,#page .entry-content-box h5:after,#post .entry-content h6:after,#page .entry-content h6:after,#post .entry-content-box h6:after,#page .entry-content-box h6:after{content:' ';display:block;border:2px solid var(--pk-c-primary);border-radius:5px;width:36px;opacity:.8;margin-top:2px}#post .entry-content br:before,#page .entry-content br:before,#post .entry-content-box br:before,#page .entry-content-box br:before{display:block;content:' ';margin:10px 0}#post .entry-content h1,#page .entry-content h1,#post .entry-content-box h1,#page .entry-content-box h1{font-size:26px}#post .entry-content h2,#page .entry-content h2,#post .entry-content-box h2,#page .entry-content-box h2{font-size:24px}#post .entry-content h3,#page .entry-content h3,#post .entry-content-box h3,#page .entry-content-box h3{font-size:22px}#post .entry-content h4,#page .entry-content h4,#post .entry-content-box h4,#page .entry-content-box h4{font-size:20px}#post .entry-content h5,#page .entry-content h5,#post .entry-content-box h5,#page .entry-content-box h5{font-size:18px}#post .entry-content h6,#page .entry-content h6,#post .entry-content-box h6,#page .entry-content-box h6{font-size:16px}#post .entry-content code:not([class]),#page .entry-content code:not([class]),#post .entry-content-box code:not([class]),#page .entry-content-box code:not([class]){margin:2px 4px;padding:0 6px;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,0.125);background-color:var(--pk-bg-body);display:inline-block;font-family:"Segoe UI","Microsoft YaHei","Hiragino Sans GB","WenQuanYi Micro Hei",sans-serif}#post .entry-content img:not(.wp-smiley),#page .entry-content img:not(.wp-smiley),#post .entry-content-box img:not(.wp-smiley),#page .entry-content-box img:not(.wp-smiley){max-width:100%;height:auto;margin:10px auto;display:block;border-radius:2px;cursor:pointer;transition:all .3s}#post .entry-content img:not(.wp-smiley):hover,#page .entry-content img:not(.wp-smiley):hover,#post .entry-content-box img:not(.wp-smiley):hover,#page .entry-content-box img:not(.wp-smiley):hover{opacity:.8}#post .entry-content .alert,#page .entry-content .alert,#post .entry-content-box .alert,#page .entry-content-box .alert{margin-bottom:10px}#post .entry-content a:not(.btn),#page .entry-content a:not(.btn),#post .entry-content-box a:not(.btn),#page .entry-content-box a:not(.btn){color:var(--pk-c-primary)}#post .entry-content a:not(.btn,.hide-hover):not(.post-page-numbers),#page .entry-content a:not(.btn,.hide-hover):not(.post-page-numbers),#post .entry-content-box a:not(.btn,.hide-hover):not(.post-page-numbers),#page .entry-content-box a:not(.btn,.hide-hover):not(.post-page-numbers){transition:all .3s}#post .entry-content a:not(.btn,.hide-hover):not(.post-page-numbers):hover,#page .entry-content a:not(.btn,.hide-hover):not(.post-page-numbers):hover,#post .entry-content-box a:not(.btn,.hide-hover):not(.post-page-numbers):hover,#page .entry-content-box a:not(.btn,.hide-hover):not(.post-page-numbers):hover{opacity:.8;color:rgba(var(--pk-c-primary), 60%)}#post .entry-content .btn,#page .entry-content .btn,#post .entry-content-box .btn,#page .entry-content-box .btn,#post .entry-content .p-block,#page .entry-content .p-block,#post .entry-content-box .p-block,#page .entry-content-box .p-block{margin-bottom:10px !important}#post .entry-content pre>code,#page .entry-content pre>code,#post .entry-content-box pre>code,#page .entry-content-box pre>code{background-color:transparent !important}#post .entry-content .post-foot-qrcode,#page .entry-content .post-foot-qrcode,#post .entry-content-box .post-foot-qrcode,#page .entry-content-box .post-foot-qrcode{margin-top:20px;text-align:center}#post .entry-content .post-foot-qrcode .title,#page .entry-content .post-foot-qrcode .title,#post .entry-content-box .post-foot-qrcode .title,#page .entry-content-box .post-foot-qrcode .title{display:inline-block;padding:6px 10px;background:#0e0e0e;color:#fff;border-radius:10px;font-size:10px}#post .entry-content .post-foot-qrcode img,#page .entry-content .post-foot-qrcode img,#post .entry-content-box .post-foot-qrcode img,#page .entry-content-box .post-foot-qrcode img{width:180px;border-radius:10px}.code-toolbar .toolbar{position:absolute;top:0;background:#000;padding-top:20px;border-radius:5px}.post-relevant{padding:0 10px}.post-relevant .post-relevant-item{padding:0 5px;margin-bottom:20px}.post-relevant .post-relevant-item>div{transition:all .3s;width:100%;border-radius:6px;height:140px;position:relative;color:#fff;display:flex;align-items:center;justify-content:center;padding:0 10px}.post-relevant .post-relevant-item>div .title{z-index:10;color:var(--light)}.post-relevant .post-relevant-item>div:hover{transform:translateY(5px)}.post-relevant .post-relevant-item>div:hover:before{backdrop-filter:blur(1px)}.post-relevant .post-relevant-item>div:before{display:block;content:' ';width:100%;position:absolute;top:0;left:0;border-radius:6px;height:100%;background:linear-gradient(rgba(54,62,72,0.58), rgba(71,74,78,0.16));backdrop-filter:blur(3px);z-index:9}#post-comments .children{padding-left:30px}#post-comments .post-comment{margin-top:20px}#post-comments .post-comment .info{display:flex;align-items:center}#post-comments .post-comment .hide-info{display:none}#post-comments .post-comment pre{font-size:14px}#post-comments .post-comment .comment-os{font-size:12px}#post-comments .post-comment .comment-os img{width:14px;position:relative;top:-2px;margin-right:2px}#post-comments .post-comment .comment-os span{display:inline-block;margin-right:3px}#post-comments .post-comment .content .content-text,#post-comments .post-comment .content .comment-box-reply{margin-left:42px;border-radius:3px}#post-comments .post-comment .content .comment-box-reply{margin-top:10px}#post-comments .post-comment .content .content-text{padding:10px;background-color:var(--pk-bg-box-content)}#post-comments .post-comment .content p{margin-bottom:0}#post-comments .post-comment:hover .hide-info,#post-comments .post-comment .hide-info-show{display:inline-block}.pagination a,.pagination .page-numbers,.pagination .post-page-numbers{display:inline-block;padding:6px 12px;transition:all .3s;border-radius:2px;margin-left:5px;font-size:12px;color:var(--pk-c-sub) !important}.pagination a:hover,.pagination .page-numbers:hover,.pagination .post-page-numbers:hover,.pagination a.cur,.pagination .page-numbers.cur,.pagination .post-page-numbers.cur,.pagination a.current,.pagination .page-numbers.current,.pagination .post-page-numbers.current{background-color:var(--pk-c-primary) !important;color:#fff !important}.pagination li{display:inline-block}.circle-button{cursor:pointer;width:50px;height:50px;border-radius:25px;line-height:50px;background-color:var(--pk-bg-box-content);transition:all .3s}.circle-button:not(:first-child){margin-left:6px}.circle-button:hover{background-color:var(--pk-c-primary) !important;color:#fff !important}.circle-sm{width:30px;height:30px;border-radius:15px;line-height:30px}.circle-hb:hover{box-shadow:2px 3px 1px rgba(0,0,0,0.17) !important}#footer{color:var(--pk-c-font);padding:30px 0;background-color:var(--pk-bg-box)}#footer .info{color:var(--pk-c-font)}#footer .info a{transition:all .3s !important}#footer .info a:hover{color:var(--pk-c-primary) !important}#footer a,#footer .more-link a{color:var(--pk-c-font);transition:all .3s}#footer a:not(:last-child),#footer .more-link a:not(:last-child){margin-right:5px}#footer a:hover,#footer .more-link a:hover{color:var(--pk-c-primary)}#footer .more-link a{color:var(--pk-c-light)}.carousel-item img{border-radius:4px}#search{position:fixed;top:90px;z-index:9999;width:100%}#search #search-main{position:relative}#search #search-main .search-close-btn{position:absolute;bottom:-50px;left:0;text-align:center;width:100%}#search #search-main .search-layout>div{display:inline-block}#search #search-main .search-layout .search-input{width:70%}#search #search-main .search-layout .search-start{width:calc(100% - 75%);position:relative;top:-2px}#search #search-main .search-layout .search-start .btn{width:100% !important}.mobile-menus .search-modal-btn{position:relative;top:-1px}#page-links .links-main .links-main-box{padding-top:10px;padding-right:15px}#page-links .links-main .links-main-box .link-item{margin-bottom:15px;padding-right:0}#page-links .links-main .links-main-box .link-item:hover>div{color:var(--pk-c-font);-webkit-transform:translateY(-5px)}#page-links .links-main .links-main-box .link-item img{float:left}#page-links .links-main .links-main-box .link-item>div{transition:all .2s;-webkit-transform:translateY(0);padding:8px 10px;border-radius:3px}#page-links .links-main .links-main-box .link-item .info{float:left;margin-top:3px;max-width:70%}#page-links .links-main .links-main-box .link-item .info p{width:100%;margin-bottom:0}@media (max-width:400px){#page-links .link-item>div{text-align:center}#page-links .link-item img{margin:0 auto;float:none !important}#page-links .link-item .info{max-width:100% !important}}#smiley .smiley-item{display:inline-block;margin-bottom:10px;cursor:pointer;transition:all .2s}#smiley .smiley-item:hover{opacity:.5}#smiley img{width:25px}.wp-smiley{display:inline !important;height:18px !important;max-height:18px !important}.table{color:var(--pk-c-font)}.table.table-bordered{border:1px solid var(--pk-c-border)}.table.table-bordered td,.table.table-bordered th{border:1px solid var(--pk-c-border)}.widget table{width:100%}.widget>h3{font-size:16px;padding-bottom:.5rem;border-bottom:1px solid var(--pk-c-primary);display:inline-block}.widget ul{list-style:none;padding:0}.widget-puock-author{padding:0;border-radius:0}.widget-puock-author .header{border-top-left-radius:4px;border-top-right-radius:4px;height:150px;background-size:cover;position:relative;display:flex;justify-content:center}.widget-puock-author .header .avatar{width:80px;height:80px;border-radius:40px;position:absolute;top:110px}.widget-puock-author .content{min-height:70px;padding:40px 10px 10px 10px}.widget-puock-tag-cloud{display:flex;flex-wrap:wrap;justify-content:space-between}.widget-puock-tag-cloud a{flex:1;margin:3px 3px;padding:.5rem .7rem}.widget-puock-hitokoto .fb{text-align:right;color:var(--pk-c-secondary);font-size:14px;margin-top:6px}.pk-widget .widget-common-media-post{display:flex;overflow:hidden}.pk-widget .widget-common-media-post:hover .img img{transform:var(--pk-g-list-img-hover)}.pk-widget .widget-common-media-post .img{flex-shrink:0;margin-right:10px;border-radius:3px;overflow:hidden;display:flex;justify-content:center;align-items:center;min-height:80px}.pk-widget .widget-common-media-post .img img{border-radius:3px;transition:all .3s}.pk-widget .widget-common-media-post .info{flex:1;display:flex;flex-direction:column;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.no-style ul{list-style:none}.li-style-line li{margin-bottom:20px}.li-style-line li>ul{margin-top:20px}.li-style-line li:before{content:'▫ ';color:var(--pk-c-sub) !important}.tooltip{font-size:12px}#page-books #books-main{list-style:none}#page-books #books-main li{display:inline-block;cursor:pointer;margin-bottom:20px;text-align:center}#page-books #books-main li::before{content:none}#page-books #books-main li a{box-shadow:7px 7px 22px -7px rgba(66,65,64,0.44);width:120px;height:160px;display:inline-block;transition:all .3s}#page-books #books-main li a img.cover{width:100%;height:100%}#page-books #books-main li a:hover{margin-top:-3px}#rb-float-actions{position:fixed;right:10px;bottom:50px}#rb-float-actions .p-block{width:34px;height:34px;transition:all .3s;display:flex;justify-content:center;align-items:center;cursor:pointer;margin-bottom:0}#rb-float-actions .p-block:hover{background-color:var(--pk-c-primary);color:var(--pk-c-light)}#rb-float-actions .p-block:hover{background-color:var(--pk-c-primary) !important;color:var(--pk-c-light) !important}#rb-float-actions .p-block:not(:last-child){margin-bottom:5px}#page-tags #tags-main-index li.a{display:inline-block}#page-tags #tags-main-index li.a a{color:var(--pk-c-primary)}#page-tags #tags-main-index li.a a,#page-tags #tags-main-index li.t{transition:all .3s;cursor:pointer}#page-tags #tags-main-index li.a a:hover,#page-tags #tags-main-index li.t:hover{background-color:var(--pk-c-primary);color:var(--pk-c-light)}#page-tags #tags-main-index li.a a:hover,#page-tags #tags-main-index li.t:hover{background-color:var(--pk-c-primary) !important;color:var(--pk-c-light) !important}#page-tags li.a a,#page-tags li.t,#page-tags #tags-main-box li a{padding:5px 10px;cursor:pointer;display:inline-block;margin:0 5px 5px 0}#page-tags #tags-main-box li{margin-bottom:10px}#page-tags #tags-main-box li a{font-size:12px;transition:all .3s;cursor:pointer}#page-tags #tags-main-box li a:hover{background-color:var(--pk-c-primary);color:var(--pk-c-light)}#page-tags #tags-main-box li a:hover{background-color:var(--pk-c-primary) !important;color:var(--pk-c-light) !important}.cat-top-info{background-color:var(--pk-bg-box);padding:20px 0 10px 0}.cat-top-info #breadcrumb{box-shadow:none}.cat-top-info .child-cat .a-link{box-shadow:none;border:1px dashed var(--pk-c-border)}.single-next-or-pre a>div{padding:15px;display:block}.single-next-or-pre a>div p{margin-bottom:5px}.global-top-notice .swiper{height:22px}.global-top-notice .notice-icon{background-color:var(--pk-c-primary);width:22px;height:22px;line-height:22px;display:inline-block;text-align:center;color:#fff;border-radius:50%}.global-top-notice .notice-icon i{font-size:12px}.timeline{position:relative;padding:15px 0}.timeline:before{content:'';position:absolute;background-color:var(--pk-bg-box-content);top:0;left:25px;height:100%;width:2px}.timeline .timeline-item{position:relative;margin:2em 0}.timeline .timeline-item:after{content:"";display:table;clear:both}.timeline .timeline-item:first-child{margin-top:0}.timeline .timeline-item:last-child{margin-bottom:0}.timeline .timeline-content{transition:all .3s;background-color:var(--pk-bg-box-content);padding:20px 10px 10px 10px;position:relative;margin-left:60px;border-radius:2px}.timeline .timeline-content ul{padding-left:0}.timeline .timeline-content li{transition:all .3s}.timeline .timeline-content li :before{content:'-';color:var(--pk-c-secondary);margin-right:2px}.timeline .timeline-content li:not(:last-child){margin-bottom:15px}.timeline .timeline-content li:hover{transform:translateX(2px)}.timeline .timeline-content:before{content:' ';position:absolute;top:9px;right:100%;border-right:8px solid var(--pk-bg-box-content)}.timeline .timeline-content:hover{transform:translateX(5px)}.timeline .timeline-location{position:absolute;top:8px;left:19px;width:14px;height:14px;border-radius:50%;background-color:var(--pk-bg-box-content)}#author{margin-bottom:15px}#author>.bg{border-top-left-radius:4px;border-top-right-radius:4px;height:280px;background-size:cover;position:relative}#author>.bg .avatar{position:absolute;left:10px;bottom:-37.5px;width:150px;height:150px}#author>.bg .avatar img{border-radius:50%;background-color:var(--pk-bg-box);border:4px solid var(--pk-bg-box-content)}#author>.info{padding-left:180px;padding-top:var(--pk-g-basic-distance);height:100px;background-color:var(--pk-bg-box)}#author .author-tab-data{background-color:var(--pk-bg-box);padding:var(--pk-g-basic-distance)}#author .author-tab-data .data-header{display:flex;align-items:center;border-bottom:1px solid var(--pk-c-border);padding-bottom:var(--pk-g-basic-distance)}#author .author-tab-data .data-header .item{cursor:pointer;position:relative;padding:0 10px}#author .author-tab-data .data-header .item:not(:last-child){margin-right:var(--pk-g-basic-distance)}#author .author-tab-data .data-header .item:after{transition:all .3s;content:" ";position:absolute;width:100%;top:37px;left:0;background:var(--pk-c-primary);height:3px;border-radius:2px;opacity:0}#author .author-tab-data .data-header .item:hover,#author .author-tab-data .data-header .item.cur{transition:all .3s;color:var(--pk-c-primary)}#author .author-tab-data .data-header .item:hover:after,#author .author-tab-data .data-header .item.cur:after{opacity:1}#author .author-tab-data .data-content{padding-top:var(--pk-g-basic-distance)}#author .author-tab-data .data-content #posts .post-item,#author .author-tab-data .data-content #posts .post-item-card-box{box-shadow:none !important}#user-center .form-control{font-size:14px}#user-center .user-center-menus .sub-title{font-size:12px;color:var(--pk-c-secondary)}#user-center .user-center-menus .list-group-item:hover,#user-center .user-center-menus .current{background-color:var(--pk-c-primary);color:#fff}#user-center .user-center-menus .list-group-item:hover .sub-title,#user-center .user-center-menus .current .sub-title{color:#fff !important}#index-company{padding-bottom:30px}#index-company .bgimg{background-size:cover;background-position:center center;background-repeat:no-repeat}#index-company .tin2{text-indent:2rem}#index-company #do-items .do-item{padding-top:15px;display:flex}#index-company #do-items .do-item:not(:last-child){margin-bottom:30px}#index-company #do-items .do-item .icon{width:100px;height:100px;border-radius:50px;background-color:var(--pk-c-primary);text-align:center}#index-company #do-items .do-item .icon [class^='fa']{font-size:50px;color:var(--pk-c-font);line-height:100px}#index-company #do-items .do-item .info{width:calc(100% - 110px);padding-left:10px}#index-company #do-items .do-item .info .title{font-size:24px;position:relative}#index-company #do-items .do-item .info .desc{font-size:15px}#index-company #prod-items .prod-item{margin-top:60px}#index-company #prod-items .prod-item .p-block{min-height:400px}#index-company #prod-items .prod-item a{color:var(--pk-c-font);transition:all .3s}#index-company #prod-items .prod-item .go{color:var(--pk-c-font);margin-top:30px;text-align:center;font-size:24px}#index-company #prod-items .prod-item .desc{color:var(--pk-c-font);font-size:15px;margin-bottom:0;text-align:center}.index-links a{margin:3px;padding:.5rem .7rem}.index-links .index-links-box{display:flex;flex-wrap:wrap;align-items:center}.index-links .index-links-box:nth-of-type(2)::after{content:'';flex:auto}.index-links .links-item{background-color:var(--pk-bg-box-content);color:var(--pk-c-font);transition:all .2s;margin-bottom:8px}.index-links .links-item:hover{background-color:var(--pk-c-primary);color:var(--pk-c-light)}.index-links .badge{font-size:85%}.github-card{padding:15px;margin:15px 0}.github-card.loaded{border:1px solid var(--pk-c-border);background-color:var(--pk-bg-card);border-radius:5px}.github-card.loaded a{color:var(--pk-c-font)}.github-card .card-header,.github-card .card-body{margin-bottom:15px}.github-card .card-header a,.github-card .card-footer a{color:var(--pk-c-font) !important;display:inline-block;margin-left:3px;transition:all .3s;cursor:pointer}.github-card .card-header a:hover,.github-card .card-footer a:hover{color:var(--pk-c-primary) !important}.github-card .card-header a:before,.github-card .card-footer a:before{display:none !important}@media (max-width:575px){#comment-form .comment-info .col-12{margin-bottom:15px}.pagination{display:block}.pagination a,.pagination .page-numbers,.pagination .post-page-numbers{padding:6px 8px;margin-bottom:10px}}.sidebar-position{position:fixed;z-index:1}#sidebar{padding-left:0}#post-main,#sidebar{animation-fill-mode:none !important}.comment-captcha{cursor:pointer;height:28px;width:100px}.pk-code-tools{background-color:#0b1c2c;border-top-left-radius:var(--pk-g-box-radius);border-top-right-radius:var(--pk-g-box-radius);padding:5px 10px 0 10px;display:flex;justify-content:space-between;align-content:center}.pk-code-tools .dot i{display:inline-block;width:12px;height:12px;border-radius:6px}.pk-code-tools .dot i:not(:last-child){margin-right:5px}.pk-code-tools .dot i:nth-child(1){background-color:#FF5F56}.pk-code-tools .dot i:nth-child(2){background-color:#FFBD2E}.pk-code-tools .dot i:nth-child(3){background-color:#27C93F}.pk-code-tools .actions .i{color:var(--pk-c-light);cursor:pointer;transition:all .3s}.pk-code-tools .actions .i:hover{opacity:.7}.post-comment .pk-code-tools{margin-top:10px}.post-poster{display:flex;justify-content:center}.post-poster .post-poster-main{width:320px;overflow-x:hidden;position:relative;background-color:#fff;color:var(--pk-c-dark);border-radius:var(--pk-g-box-radius)}.post-poster .post-poster-main .cover{width:100%;height:160px;overflow:hidden;display:flex;align-content:center;justify-content:center}.post-poster .post-poster-main .cover img{width:100%;height:100%}.post-poster .post-poster-main .result{width:100%}.post-poster .post-poster-main .content{padding:10px}.post-poster .post-poster-main .content .info{display:flex;justify-content:space-between;align-items:center}.post-poster .post-poster-main .content .info .qrcode{width:120px;height:120px}.post-poster .post-poster-main .content .info .logo{width:130px;height:auto}@media (max-width:767px){#posts .post-item .info-title{white-space:initial !important;word-break:break-all !important}#posts .post-item.post-item-card{padding-right:0;padding-left:0}#author .bg{height:130px}#author .bg .avatar{width:100px;height:100px}#author .info{padding-left:130px}#user-center .user-center-menus{flex-direction:row;overflow-x:scroll}#user-center .user-center-menus .list-group-item{flex-shrink:0}#user-center .user-center-menus .list-group-item:last-child:not(:first-child){border-top-right-radius:var(--bs-list-group-border-radius);border-bottom-left-radius:0}#user-center .user-center-menus .list-group-item+.list-group-item{border-top-width:var(--bs-list-group-border-width);border-left-width:0}} \ No newline at end of file diff --git a/assets/style/screen.less b/assets/style/screen.less index c65a169d..cb1071ca 100644 --- a/assets/style/screen.less +++ b/assets/style/screen.less @@ -24,4 +24,22 @@ padding-left: 130px; } } + #user-center{ + .user-center-menus{ + flex-direction: row; + overflow-x: scroll; + + .list-group-item{ + flex-shrink: 0; + } + .list-group-item:last-child:not(:first-child){ + border-top-right-radius: var(--bs-list-group-border-radius); + border-bottom-left-radius: 0; + } + .list-group-item+.list-group-item{ + border-top-width: var(--bs-list-group-border-width); + border-left-width: 0; + } + } + } } diff --git a/assets/style/style.less b/assets/style/style.less index 9423ce3d..f3f5cf73 100644 --- a/assets/style/style.less +++ b/assets/style/style.less @@ -801,7 +801,8 @@ a:hover { img { height: 100%; - &.lazy:not(.loaded){ + + &.lazy:not(.loaded) { height: auto !important; } } @@ -815,9 +816,11 @@ a:hover { &.post-item-card { .thumbnail { width: 100%; - img{ + + img { width: 100%; - &.lazy:not(.loaded){ + + &.lazy:not(.loaded) { width: 120px; } } @@ -2047,10 +2050,24 @@ a:hover { } } -#user-center{ - .form-control{ +#user-center { + .form-control { .fs14; } + + .user-center-menus { + .sub-title{ + .fs12; + color: var(--pk-c-secondary); + } + .list-group-item:hover, .current { + background-color: var(--pk-c-primary); + color: #fff; + .sub-title{ + color: #fff !important; + } + } + } } //企业风格 diff --git a/inc/page/user-center.php b/inc/page/user-center.php index 19d63d13..f416a862 100644 --- a/inc/page/user-center.php +++ b/inc/page/user-center.php @@ -13,19 +13,13 @@