const k=function(){const e=document.createelement("link").rellist;if(e&&e.supports&&e.supports("modulepreload"))return;for(const n of document.queryselectorall('link[rel="modulepreload"]'))i(n);new mutationobserver(n=>{for(const o of n)if(o.type==="childlist")for(const a of o.addednodes)a.tagname==="link"&&a.rel==="modulepreload"&&i(a)}).observe(document,{childlist:!0,subtree:!0});function t(n){const o={};return n.integrity&&(o.integrity=n.integrity),n.referrerpolicy&&(o.referrerpolicy=n.referrerpolicy),n.crossorigin==="use-credentials"?o.credentials="include":n.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function i(n){if(n.ep)return;n.ep=!0;const o=t(n);fetch(n.href,o)}};k();class a{constructor(){this.handlers_={}}gethandlerkey(e){return"_"+p(e.tostring())}gethandlerscount(e){return e?object.values(e).length:0}on(e,t){const i=this.handlers_[e]||{},n=this.gethandlerkey(t);i[n]=t,this.handlers_[e]=i}once(e,t){this.off(e,t),t.isonce=!0,this.on(e,t)}async emit(e,t){const i=this.handlers_[e];if(this.gethandlerscount(i)){const n=await promise.all(object.values(i).map(a=>{const d=new event(e);d.detail=t;const u=promise.resolve(a(d));return a.isonce&&this.off(e,a),u}));return[n.filter(a=>a===!1).length===0,n]}}off(e,t){let i=this.handlers_[e];if(this.gethandlerscount(i)!==0){if(!t)i=null;else{const n=this.gethandlerkey(t);delete i[n]}this.handlers_[e]=i}}}function p(r){let e=0;if(r.length==0)return e;for(let t=0;t{e(t.detail)})}}class p extends a{constructor(e){super(),this.element=e.element,this.state=new x(e.defaultstate),this.state.subscribe(t=>{this.update(),this.emit("change",t)})}update(){console.log("cpcomponent update")}}class v extends p{constructor(e){super({element:e.element,defaultstate:{openkeys:e.openkeys||[],selectedkey:e.selectedkey||""}}),this.mode=e.mode||"inline",this.triggersubmenuaction=e.triggersubmenuaction||"click",this.timer,this.delay=300,this.init()}init(){this.items=this.element.queryselectorall("[role=item]"),this.items.foreach((e,t)=>{const i=e.queryselector("[role=menu]");if(!i){e.addeventlistener("click",n=>{n.stoppropagation();const o=e.getattribute("key");console.log(1,o,e),o&&this.select(o)});return}this.triggersubmenuaction==="click"&&e.addeventlistener("click",()=>{console.log(0,e),e.hasattribute("expanded")?this.hidesubmenu(e):this.displaysubmenu(e)}),this.triggersubmenuaction==="hover"&&(i.addeventlistener("mouseover",()=>{this.timer&&cleartimeout(this.timer)}),e.addeventlistener("mouseenter",()=>{this.displaysubmenu(e)}),e.addeventlistener("mouseleave",()=>{this.hidesubmenu(e)}),e.addeventlistener("click",()=>{this.setindex(t)}))}),this.update()}getselectedkey(){return this.state.getitem("selectedkey")}select(e){this.state.setitem("selectedkey",e)}update(){const{openkeys:e,selectedkey:t}=this.state.getdata();this.items.foreach((i,n)=>{const o=i.getattribute("key");e.indexof(o)>=0?i.setattribute("expanded",""):i.removeattribute("expanded"),t===o?i.setattribute("active",""):i.removeattribute("active")})}displaysubmenu(e){const t=e.getattribute("key");if(!t){e.setattribute("expanded","");return}const i=this.state.getitem("openkeys");i.push(t),this.state.setitem("openkeys",i)}hidesubmenu(e){this.timer=settimeout(()=>{const t=e.getattribute("key");if(!t){e.removeattribute("expanded");return}const i=this.state.getitem("openkeys");this.state.setitem("openkeys",i.filter(n=>n!==t))},this.triggersubmenuaction==="hover"?this.delay:0)}}class w extends p{constructor(e){super({element:e.element,defaultstate:{index:e.index||0}}),this.init()}init(){this.tabs=this.element.queryselectorall("[role=tab]"),this.tabs.foreach((e,t)=>{e.addeventlistener("click",()=>{this.setindex(t)})}),this.update()}getindex(){return this.state.getitem("index")}setindex(e){e===this.index||e<0||e>=this.tabs.length||this.state.setitem("index",e)}update(){const e=this.state.getitem("index");this.tabs.foreach((t,i)=>{i===e?t.setattribute("active",""):t.removeattribute("active")})}}class y extends p{constructor(e){super({element:e.element,defaultstate:{active:e.active||!1}}),this.init()}init(){this.element.addeventlistener("click",()=>{const e=this.state.getitem("active");this.state.setitem("active",!e)}),this.update()}update(){this.state.getitem("active")?this.element.setattribute("active",""):this.element.removeattribute("active")}}const o={"amazon silk":"amazon_silk","android browser":"android",bada:"bada",blackberry:"blackberry",chrome:"chrome",chromium:"chromium",electron:"electron",epiphany:"epiphany",firefox:"firefox",focus:"focus",generic:"generic","google search":"google_search",googlebot:"googlebot","internet explorer":"ie","k-meleon":"k_meleon",maxthon:"maxthon","microsoft edge":"edge","mz browser":"mz","naver whale browser":"naver",opera:"opera","opera coast":"opera_coast",phantomjs:"phantomjs",puffin:"puffin",qupzilla:"qupzilla",qq:"qq",qqlite:"qqlite",safari:"safari",sailfish:"sailfish","samsung internet for android":"samsung_internet",seamonkey:"seamonkey",sleipnir:"sleipnir",swing:"swing",tizen:"tizen","uc browser":"uc",vivaldi:"vivaldi","webos browser":"webos",wechat:"wechat","yandex browser":"yandex",roku:"roku"},f={amazon_silk:"amazon silk",android:"android browser",bada:"bada",blackberry:"blackberry",chrome:"chrome",chromium:"chromium",electron:"electron",epiphany:"epiphany",firefox:"firefox",focus:"focus",generic:"generic",googlebot:"googlebot",google_search:"google search",ie:"internet explorer",k_meleon:"k-meleon",maxthon:"maxthon",edge:"microsoft edge",mz:"mz browser",naver:"naver whale browser",opera:"opera",opera_coast:"opera coast",phantomjs:"phantomjs",puffin:"puffin",qupzilla:"qupzilla",qq:"qq browser",qqlite:"qq browser lite",safari:"safari",sailfish:"sailfish",samsung_internet:"samsung internet for android",seamonkey:"seamonkey",sleipnir:"sleipnir",swing:"swing",tizen:"tizen",uc:"uc browser",vivaldi:"vivaldi",webos:"webos browser",wechat:"wechat",yandex:"yandex browser"},l={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},h={windowsphone:"windows phone",windows:"windows",macos:"macos",ios:"ios",android:"android",webos:"webos",blackberry:"blackberry",bada:"bada",tizen:"tizen",linux:"linux",chromeos:"chrome os",playstation4:"playstation 4",roku:"roku"},f={edgehtml:"edgehtml",blink:"blink",trident:"trident",presto:"presto",gecko:"gecko",webkit:"webkit"};class s{static getfirstmatch(e,t){const i=t.match(e);return i&&i.length>0&&i[1]||""}static getsecondmatch(e,t){const i=t.match(e);return i&&i.length>1&&i[2]||""}static matchandreturnconst(e,t,i){if(e.test(t))return i}static getwindowsversionname(e){switch(e){case"nt":return"nt";case"xp":return"xp";case"nt 5.0":return"2000";case"nt 5.1":return"xp";case"nt 5.2":return"2003";case"nt 6.0":return"vista";case"nt 6.1":return"7";case"nt 6.2":return"8";case"nt 6.3":return"8.1";case"nt 10.0":return"10";default:return}}static getmacosversionname(e){const t=e.split(".").splice(0,2).map(i=>parseint(i,10)||0);if(t.push(0),t[0]===10)switch(t[1]){case 5:return"leopard";case 6:return"snow leopard";case 7:return"lion";case 8:return"mountain lion";case 9:return"mavericks";case 10:return"yosemite";case 11:return"el capitan";case 12:return"sierra";case 13:return"high sierra";case 14:return"mojave";case 15:return"catalina";default:return}}static getandroidversionname(e){const t=e.split(".").splice(0,2).map(i=>parseint(i,10)||0);if(t.push(0),!(t[0]===1&&t[1]<5)){if(t[0]===1&&t[1]<6)return"cupcake";if(t[0]===1&&t[1]>=6)return"donut";if(t[0]===2&&t[1]<2)return"eclair";if(t[0]===2&&t[1]===2)return"froyo";if(t[0]===2&&t[1]>2)return"gingerbread";if(t[0]===3)return"honeycomb";if(t[0]===4&&t[1]<1)return"ice cream sandwich";if(t[0]===4&&t[1]<4)return"jelly bean";if(t[0]===4&&t[1]>=4)return"kitkat";if(t[0]===5)return"lollipop";if(t[0]===6)return"marshmallow";if(t[0]===7)return"nougat";if(t[0]===8)return"oreo";if(t[0]===9)return"pie"}}static getversionprecision(e){return e.split(".").length}static compareversions(e,t,i=!1){const n=s.getversionprecision(e),o=s.getversionprecision(t);let a=math.max(n,o),d=0;const u=s.map([e,t],m=>{const g=a-s.getversionprecision(m),b=m+new array(g+1).join(".0");return s.map(b.split("."),b=>new array(20-b.length).join("0")+b).reverse()});for(i&&(d=a-math.min(n,o)),a-=1;a>=d;){if(u[0][a]>u[1][a])return 1;if(u[0][a]===u[1][a]){if(a===d)return 0;a-=1}else if(u[0][a]{i[u]=a[u]})}return e}static getbrowseralias(e){return o[e]}static getbrowsertypebyalias(e){return f[e]||""}}const c=/version\/(\d+(\.?_?\d+)+)/i,e=[{test:[/googlebot/i],describe(r){const e={name:"googlebot"},t=s.getfirstmatch(/googlebot\/(\d+(\.\d+))/i,r)||s.getfirstmatch(c,r);return t&&(e.version=t),e}},{test:[/opera/i],describe(r){const e={name:"opera"},t=s.getfirstmatch(c,r)||s.getfirstmatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test:[/opr\/|opios/i],describe(r){const e={name:"opera"},t=s.getfirstmatch(/(?:opr|opios)[\s/](\s+)/i,r)||s.getfirstmatch(c,r);return t&&(e.version=t),e}},{test:[/samsungbrowser/i],describe(r){const e={name:"samsung internet for android"},t=s.getfirstmatch(c,r)||s.getfirstmatch(/(?:samsungbrowser)[\s/](\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test:[/whale/i],describe(r){const e={name:"naver whale browser"},t=s.getfirstmatch(c,r)||s.getfirstmatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,r);return t&&(e.version=t),e}},{test:[/mzbrowser/i],describe(r){const e={name:"mz browser"},t=s.getfirstmatch(/(?:mzbrowser)[\s/](\d+(?:\.\d+)+)/i,r)||s.getfirstmatch(c,r);return t&&(e.version=t),e}},{test:[/focus/i],describe(r){const e={name:"focus"},t=s.getfirstmatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,r)||s.getfirstmatch(c,r);return t&&(e.version=t),e}},{test:[/swing/i],describe(r){const e={name:"swing"},t=s.getfirstmatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,r)||s.getfirstmatch(c,r);return t&&(e.version=t),e}},{test:[/coast/i],describe(r){const e={name:"opera coast"},t=s.getfirstmatch(c,r)||s.getfirstmatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe(r){const e={name:"opera touch"},t=s.getfirstmatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,r)||s.getfirstmatch(c,r);return t&&(e.version=t),e}},{test:[/yabrowser/i],describe(r){const e={name:"yandex browser"},t=s.getfirstmatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,r)||s.getfirstmatch(c,r);return t&&(e.version=t),e}},{test:[/ucbrowser/i],describe(r){const e={name:"uc browser"},t=s.getfirstmatch(c,r)||s.getfirstmatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test:[/maxthon|mxios/i],describe(r){const e={name:"maxthon"},t=s.getfirstmatch(c,r)||s.getfirstmatch(/(?:maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test:[/epiphany/i],describe(r){const e={name:"epiphany"},t=s.getfirstmatch(c,r)||s.getfirstmatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test:[/puffin/i],describe(r){const e={name:"puffin"},t=s.getfirstmatch(c,r)||s.getfirstmatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test:[/sleipnir/i],describe(r){const e={name:"sleipnir"},t=s.getfirstmatch(c,r)||s.getfirstmatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test:[/k-meleon/i],describe(r){const e={name:"k-meleon"},t=s.getfirstmatch(c,r)||s.getfirstmatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test:[/micromessenger/i],describe(r){const e={name:"wechat"},t=s.getfirstmatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,r)||s.getfirstmatch(c,r);return t&&(e.version=t),e}},{test:[/qqbrowser/i],describe(r){const e={name:/qqbrowserlite/i.test(r)?"qq browser lite":"qq browser"},t=s.getfirstmatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,r)||s.getfirstmatch(c,r);return t&&(e.version=t),e}},{test:[/msie|trident/i],describe(r){const e={name:"internet explorer"},t=s.getfirstmatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test:[/\sedg\//i],describe(r){const e={name:"microsoft edge"},t=s.getfirstmatch(/\sedg\/(\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test:[/edg([ea]|ios)/i],describe(r){const e={name:"microsoft edge"},t=s.getsecondmatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test:[/vivaldi/i],describe(r){const e={name:"vivaldi"},t=s.getfirstmatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test:[/seamonkey/i],describe(r){const e={name:"seamonkey"},t=s.getfirstmatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test:[/sailfish/i],describe(r){const e={name:"sailfish"},t=s.getfirstmatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,r);return t&&(e.version=t),e}},{test:[/silk/i],describe(r){const e={name:"amazon silk"},t=s.getfirstmatch(/silk\/(\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test:[/phantom/i],describe(r){const e={name:"phantomjs"},t=s.getfirstmatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test:[/slimerjs/i],describe(r){const e={name:"slimerjs"},t=s.getfirstmatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(r){const e={name:"blackberry"},t=s.getfirstmatch(c,r)||s.getfirstmatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test:[/(web|hpw)[o0]s/i],describe(r){const e={name:"webos browser"},t=s.getfirstmatch(c,r)||s.getfirstmatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test:[/bada/i],describe(r){const e={name:"bada"},t=s.getfirstmatch(/dolfin\/(\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test:[/tizen/i],describe(r){const e={name:"tizen"},t=s.getfirstmatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,r)||s.getfirstmatch(c,r);return t&&(e.version=t),e}},{test:[/qupzilla/i],describe(r){const e={name:"qupzilla"},t=s.getfirstmatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,r)||s.getfirstmatch(c,r);return t&&(e.version=t),e}},{test:[/firefox|iceweasel|fxios/i],describe(r){const e={name:"firefox"},t=s.getfirstmatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test:[/electron/i],describe(r){const e={name:"electron"},t=s.getfirstmatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test:[/miuibrowser/i],describe(r){const e={name:"miui"},t=s.getfirstmatch(/(?:miuibrowser)[\s/](\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test:[/chromium/i],describe(r){const e={name:"chromium"},t=s.getfirstmatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,r)||s.getfirstmatch(c,r);return t&&(e.version=t),e}},{test:[/chrome|crios|crmo/i],describe(r){const e={name:"chrome"},t=s.getfirstmatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test:[/gsa/i],describe(r){const e={name:"google search"},t=s.getfirstmatch(/(?:gsa)\/(\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test(r){const e=!r.test(/like android/i),t=r.test(/android/i);return e&&t},describe(r){const e={name:"android browser"},t=s.getfirstmatch(c,r);return t&&(e.version=t),e}},{test:[/playstation 4/i],describe(r){const e={name:"playstation 4"},t=s.getfirstmatch(c,r);return t&&(e.version=t),e}},{test:[/safari|applewebkit/i],describe(r){const e={name:"safari"},t=s.getfirstmatch(c,r);return t&&(e.version=t),e}},{test:[/.*/i],describe(r){const e=/^(.*)\/(.*) /,t=/^(.*)\/(.*)[ \t]\((.*)/,n=r.search("\\(")!==-1?t:e;return{name:s.getfirstmatch(n,r),version:s.getsecondmatch(n,r)}}}],n=[{test:[/roku\/dvp/],describe(r){const e=s.getfirstmatch(/roku\/dvp-(\d+\.\d+)/i,r);return{name:h.roku,version:e}}},{test:[/windows phone/i],describe(r){const e=s.getfirstmatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,r);return{name:h.windowsphone,version:e}}},{test:[/windows /i],describe(r){const e=s.getfirstmatch(/windows ((nt|xp)( \d\d?.\d)?)/i,r),t=s.getwindowsversionname(e);return{name:h.windows,version:e,versionname:t}}},{test:[/macintosh(.*?) fxios(.*?)\//],describe(r){const e={name:h.ios},t=s.getsecondmatch(/(version\/)(\d[\d.]+)/,r);return t&&(e.version=t),e}},{test:[/macintosh/i],describe(r){const e=s.getfirstmatch(/mac os x (\d+(\.?_?\d+)+)/i,r).replace(/[_\s]/g,"."),t=s.getmacosversionname(e),i={name:h.macos,version:e};return t&&(i.versionname=t),i}},{test:[/(ipod|iphone|ipad)/i],describe(r){const e=s.getfirstmatch(/os (\d+([_\s]\d+)*) like mac os x/i,r).replace(/[_\s]/g,".");return{name:h.ios,version:e}}},{test(r){const e=!r.test(/like android/i),t=r.test(/android/i);return e&&t},describe(r){const e=s.getfirstmatch(/android[\s/-](\d+(\.\d+)*)/i,r),t=s.getandroidversionname(e),i={name:h.android,version:e};return t&&(i.versionname=t),i}},{test:[/(web|hpw)[o0]s/i],describe(r){const e=s.getfirstmatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,r),t={name:h.webos};return e&&e.length&&(t.version=e),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(r){const e=s.getfirstmatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,r)||s.getfirstmatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,r)||s.getfirstmatch(/\bbb(\d+)/i,r);return{name:h.blackberry,version:e}}},{test:[/bada/i],describe(r){const e=s.getfirstmatch(/bada\/(\d+(\.\d+)*)/i,r);return{name:h.bada,version:e}}},{test:[/tizen/i],describe(r){const e=s.getfirstmatch(/tizen[/\s](\d+(\.\d+)*)/i,r);return{name:h.tizen,version:e}}},{test:[/linux/i],describe(){return{name:h.linux}}},{test:[/cros/],describe(){return{name:h.chromeos}}},{test:[/playstation 4/],describe(r){const e=s.getfirstmatch(/playstation 4[/\s](\d+(\.\d+)*)/i,r);return{name:h.playstation4,version:e}}}],_=[{test:[/googlebot/i],describe(){return{type:"bot",vendor:"google"}}},{test:[/huawei/i],describe(r){const e=s.getfirstmatch(/(can-l01)/i,r)&&"nova",t={type:l.mobile,vendor:"huawei"};return e&&(t.model=e),t}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe(){return{type:l.tablet,vendor:"nexus"}}},{test:[/ipad/i],describe(){return{type:l.tablet,vendor:"apple",model:"ipad"}}},{test:[/macintosh(.*?) fxios(.*?)\//],describe(){return{type:l.tablet,vendor:"apple",model:"ipad"}}},{test:[/kftt build/i],describe(){return{type:l.tablet,vendor:"amazon",model:"kindle fire hd 7"}}},{test:[/silk/i],describe(){return{type:l.tablet,vendor:"amazon"}}},{test:[/tablet(?! pc)/i],describe(){return{type:l.tablet}}},{test(r){const e=r.test(/ipod|iphone/i),t=r.test(/like (ipod|iphone)/i);return e&&!t},describe(r){const e=s.getfirstmatch(/(ipod|iphone)/i,r);return{type:l.mobile,vendor:"apple",model:e}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe(){return{type:l.mobile,vendor:"nexus"}}},{test:[/[^-]mobi/i],describe(){return{type:l.mobile}}},{test(r){return r.getbrowsername(!0)==="blackberry"},describe(){return{type:l.mobile,vendor:"blackberry"}}},{test(r){return r.getbrowsername(!0)==="bada"},describe(){return{type:l.mobile}}},{test(r){return r.getbrowsername()==="windows phone"},describe(){return{type:l.mobile,vendor:"microsoft"}}},{test(r){const e=number(string(r.getosversion()).split(".")[0]);return r.getosname(!0)==="android"&&e>=3},describe(){return{type:l.tablet}}},{test(r){return r.getosname(!0)==="android"},describe(){return{type:l.mobile}}},{test(r){return r.getosname(!0)==="macos"},describe(){return{type:l.desktop,vendor:"apple"}}},{test(r){return r.getosname(!0)==="windows"},describe(){return{type:l.desktop}}},{test(r){return r.getosname(!0)==="linux"},describe(){return{type:l.desktop}}},{test(r){return r.getosname(!0)==="playstation 4"},describe(){return{type:l.tv}}},{test(r){return r.getosname(!0)==="roku"},describe(){return{type:l.tv}}}],c=[{test(r){return r.getbrowsername(!0)==="microsoft edge"},describe(r){if(/\sedg\//i.test(r))return{name:f.blink};const t=s.getfirstmatch(/edge\/(\d+(\.?_?\d+)+)/i,r);return{name:f.edgehtml,version:t}}},{test:[/trident/i],describe(r){const e={name:f.trident},t=s.getfirstmatch(/trident\/(\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test(r){return r.test(/presto/i)},describe(r){const e={name:f.presto},t=s.getfirstmatch(/presto\/(\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test(r){const e=r.test(/gecko/i),t=r.test(/like gecko/i);return e&&!t},describe(r){const e={name:f.gecko},t=s.getfirstmatch(/gecko\/(\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}},{test:[/(apple)?webkit\/537\.36/i],describe(){return{name:f.blink}}},{test:[/(apple)?webkit/i],describe(r){const e={name:f.webkit},t=s.getfirstmatch(/webkit\/(\d+(\.?_?\d+)+)/i,r);return t&&(e.version=t),e}}];class m{constructor(e,t=!1){if(e==null||e==="")throw new error("useragent parameter can't be empty");this._ua=e,this.parsedresult={},t!==!0&&this.parse()}getua(){return this._ua}test(e){return e.test(this._ua)}parsebrowser(){this.parsedresult.browser={};const e=s.find(e,t=>{if(typeof t.test=="function")return t.test(this);if(t.test instanceof array)return t.test.some(i=>this.test(i));throw new error("browser's test function is not valid")});return e&&(this.parsedresult.browser=e.describe(this.getua())),this.parsedresult.browser}getbrowser(){return this.parsedresult.browser?this.parsedresult.browser:this.parsebrowser()}getbrowsername(e){return e?string(this.getbrowser().name).tolowercase()||"":this.getbrowser().name||""}getbrowserversion(){return this.getbrowser().version}getos(){return this.parsedresult.os?this.parsedresult.os:this.parseos()}parseos(){this.parsedresult.os={};const e=s.find(n,t=>{if(typeof t.test=="function")return t.test(this);if(t.test instanceof array)return t.test.some(i=>this.test(i));throw new error("browser's test function is not valid")});return e&&(this.parsedresult.os=e.describe(this.getua())),this.parsedresult.os}getosname(e){const{name:t}=this.getos();return e?string(t).tolowercase()||"":t||""}getosversion(){return this.getos().version}getplatform(){return this.parsedresult.platform?this.parsedresult.platform:this.parseplatform()}getplatformtype(e=!1){const{type:t}=this.getplatform();return e?string(t).tolowercase()||"":t||""}parseplatform(){this.parsedresult.platform={};const e=s.find(_,t=>{if(typeof t.test=="function")return t.test(this);if(t.test instanceof array)return t.test.some(i=>this.test(i));throw new error("browser's test function is not valid")});return e&&(this.parsedresult.platform=e.describe(this.getua())),this.parsedresult.platform}getengine(){return this.parsedresult.engine?this.parsedresult.engine:this.parseengine()}getenginename(e){return e?string(this.getengine().name).tolowercase()||"":this.getengine().name||""}parseengine(){this.parsedresult.engine={};const e=s.find(c,t=>{if(typeof t.test=="function")return t.test(this);if(t.test instanceof array)return t.test.some(i=>this.test(i));throw new error("browser's test function is not valid")});return e&&(this.parsedresult.engine=e.describe(this.getua())),this.parsedresult.engine}parse(){return this.parsebrowser(),this.parseos(),this.parseplatform(),this.parseengine(),this}getresult(){return s.assign({},this.parsedresult)}satisfies(e){const t={};let i=0;const n={};let o=0;if(object.keys(e).foreach(d=>{const u=e[d];typeof u=="string"?(n[d]=u,o+=1):typeof u=="object"&&(t[d]=u,i+=1)}),i>0){const d=object.keys(t),u=s.find(d,g=>this.isos(g));if(u){const g=this.satisfies(t[u]);if(g!==void 0)return g}const m=s.find(d,g=>this.isplatform(g));if(m){const g=this.satisfies(t[m]);if(g!==void 0)return g}}if(o>0){const d=object.keys(n),u=s.find(d,m=>this.isbrowser(m,!0));if(u!==void 0)return this.compareversion(n[u])}}isbrowser(e,t=!1){const i=this.getbrowsername().tolowercase();let n=e.tolowercase();const o=s.getbrowsertypebyalias(n);return t&&o&&(n=o.tolowercase()),n===i}compareversion(e){let t=[0],i=e,n=!1;const o=this.getbrowserversion();if(typeof o=="string")return e[0]===">"||e[0]==="<"?(i=e.substr(1),e[1]==="="?(n=!0,i=e.substr(2)):t=[],e[0]===">"?t.push(1):t.push(-1)):e[0]==="="?i=e.substr(1):e[0]==="~"&&(n=!0,i=e.substr(1)),t.indexof(s.compareversions(o,i,n))>-1}isos(e){return this.getosname(!0)===string(e).tolowercase()}isplatform(e){return this.getplatformtype(!0)===string(e).tolowercase()}isengine(e){return this.getenginename(!0)===string(e).tolowercase()}is(e,t=!1){return this.isbrowser(e,t)||this.isos(e)||this.isplatform(e)}some(e=[]){return e.some(t=>this.is(t))}}/*! * bowser - a browser detector * https://github.com/lancedikson/bowser * mit license | (c) dustin diaz 2012-2015 * mit license | (c) denis demchenko 2015-2019 */class t{static getparser(e,t=!1){if(typeof e!="string")throw new error("useragent should be a string");return new m(e,t)}static parse(e){return new m(e).getresult()}static get browser_map(){return f}static get engine_map(){return f}static get os_map(){return h}static get platforms_map(){return l}}const{parsedresult:s}=t.getparser(window.navigator.useragent);class l{constructor(){this.ismobile=s.platform.type==="mobile",this.isdesktop=s.platform.type==="desktop"}run(){this.inittopmenu(),this.inittopmenutoggle(),this.tryinitfloatpanel(),this.initdttopmenu()}inittopmenutoggle(){const e=document.queryselector("#topmenu"),t=document.queryselector("#topmenutoggle");if(!e||!t){console.warn("#topmenu or #topmenutoggle not found");return}new y({element:t}).on("change",n=>{const{active:o}=n.detail;o?e.setattribute("active",""):e.removeattribute("active")})}initpagenavfixed(){const e=document.queryselector(".topnav[mobile]"),t=document.queryselector(".topnav[desktop]"),i=document.queryselector(".topbanner"),n=document.queryselector(".pagenav"),o=document.queryselector(".pagenavplaceholder"),{height:a,y:d}=i.getboundingclientrect(),{height:u}=n.getboundingclientrect(),m=n.currentstyle||window.getcomputedstyle(n),g=parseint(m.marginbottom.replace("px"));window.addeventlistener("scroll",()=>{window.scrolly>=d?(e.style.display="none",t.style.display="none"):(e.style.display="",t.style.display=""),window.scrolly>=a+d?(n.setattribute("fixed",""),n.style.top=0,o.style.height=u+g+"px"):(n.removeattribute("fixed"),o.style.height=0)})}inittopmenu(){new v({element:document.queryselector("#topmenu")})}initdttopmenu(){new v({element:document.queryselector("#dttopmenu"),triggersubmenuaction:"hover"})}tryinitfloatpanel(){const e=document.queryselector(".floatpanel");if(!e)return;const t=e.queryselector(".toggle"),i=e.queryselector(".group");t&&i&&(i.children.length===0&&t.parentnode.removechild(t),i.setattribute("active",""),new y({active:!0,element:t}).on("change",a=>{const{active:d}=a.detail;d?i.setattribute("active",""):i.removeattribute("active")}));const n=document.queryselector("#totopbutton");n.addeventlistener("click",()=>{window.scrollto({left:0,top,behavior:"smooth"})}),window.addeventlistener("scroll",()=>{window.scrolly>=600?n.setattribute("active",""):n.removeattribute("active")})}}class r extends l{constructor(){super()}run(){super.run(),this.initairporttabview(),this.initcompanytabview()}initairporttabview(){const e=document.queryselector("#airportstabview"),t=e.queryselectorall("[role=item]");new w({element:e.queryselector("[role=tabs]"),index:0}).on("change",o=>{const a=o.detail.index;n(a)}),n(0);function n(o){t.foreach((a,d)=>{d===o?a.setattribute("active",""):a.removeattribute("active")})}}initcompanytabview(){const e=document.queryselector("#companiestabview"),t=e.queryselectorall("[role=item]");new w({element:e.queryselector(".cp-tabs"),index:0}).on("change",o=>{const a=o.detail.index;console.log("index",a),n(a)}),n(0);function n(o){t.foreach((a,d)=>{d===o?a.setattribute("active",""):a.removeattribute("active")})}}}window.addeventlistener("domcontentloaded",()=>{q()});function q(){new r().run()}