import{s as z,o as s,e as l,m as d,a as r,B as O,f as $,c as _,n as H,r as S,g as h,t as m,h as W,F as C,i as k,j as B,b as y,u as f,k as P,l as se,w as A,q as oe,U as F,v,R as le,x as ce,y as K,z as de,Z as R,T as ue,_ as pe,D as me,L as he,A as fe,C as I,E as N,G as ve,p as be,d as ge,S as ye}from"./app-xg-RHuhr.js";import{T as D,a as M,c as _e,_ as we}from"./app-y9DE6Loj.js";var U={name:"ChevronRightIcon",extends:z},Ce=r("path",{d:"M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z",fill:"currentColor"},null,-1),Te=[Ce];function ke(e,t,n,i,c,a){return s(),l("svg",d({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),Te,16)}U.render=ke;var xe=`
@layer primevue {
    .p-breadcrumb {
        overflow-x: auto;
    }

    .p-breadcrumb .p-breadcrumb-list {
        margin: 0;
        padding: 0;
        list-style-type: none;
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }

    .p-breadcrumb .p-menuitem-text {
        line-height: 1;
    }

    .p-breadcrumb .p-menuitem-link {
        text-decoration: none;
        display: flex;
        align-items: center;
    }

    .p-breadcrumb .p-menuitem-separator {
        display: flex;
        align-items: center;
    }

    .p-breadcrumb::-webkit-scrollbar {
        display: none;
    }
}
`,Pe={root:"p-breadcrumb p-component",menu:"p-breadcrumb-list",home:"p-breadcrumb-home",separator:"p-menuitem-separator",menuitem:function(t){var n=t.instance;return["p-menuitem",{"p-disabled":n.disabled()}]},action:"p-menuitem-link",icon:"p-menuitem-icon",label:"p-menuitem-text"},Se=O.extend({name:"breadcrumb",css:xe,classes:Pe}),Le={name:"BaseBreadcrumb",extends:$,props:{model:{type:Array,default:null},home:{type:null,default:null}},style:Se,provide:function(){return{$parentInstance:this}}},q={name:"BreadcrumbItem",hostName:"Breadcrumb",extends:$,props:{item:null,templates:null,index:null},methods:{onClick:function(t){this.item.command&&this.item.command({originalEvent:t,item:this.item})},visible:function(){return typeof this.item.visible=="function"?this.item.visible():this.item.visible!==!1},disabled:function(){return typeof this.item.disabled=="function"?this.item.disabled():this.item.disabled},label:function(){return typeof this.item.label=="function"?this.item.label():this.item.label},isCurrentUrl:function(){var t=this.item,n=t.to,i=t.url,c=typeof window<"u"?window.location.pathname:"";return n===c||i===c?"page":void 0}},computed:{ptmOptions:function(){return{context:{item:this.item,index:this.index}}},getMenuItemProps:function(){var t=this;return{action:d({class:this.cx("action"),"aria-current":this.isCurrentUrl(),onClick:function(i){return t.onClick(i)}},this.ptm("action",this.ptmOptions)),icon:d({class:[this.cx("icon"),this.item.icon]},this.ptm("icon",this.ptmOptions)),label:d({class:this.cx("label")},this.ptm("label",this.ptmOptions))}}}},Ie=["href","target","aria-current"];function Be(e,t,n,i,c,a){return a.visible()?(s(),l("li",d({key:0,class:[e.cx("menuitem"),n.item.class]},e.ptm("menuitem",a.ptmOptions)),[n.templates.item?(s(),_(S(n.templates.item),{key:1,item:n.item,label:a.label(),props:a.getMenuItemProps},null,8,["item","label","props"])):(s(),l("a",d({key:0,href:n.item.url||"#",class:e.cx("action"),target:n.item.target,"aria-current":a.isCurrentUrl(),onClick:t[0]||(t[0]=function(){return a.onClick&&a.onClick.apply(a,arguments)})},e.ptm("action",a.ptmOptions)),[n.templates&&n.templates.itemicon?(s(),_(S(n.templates.itemicon),{key:0,item:n.item,class:H(e.cx("icon",a.ptmOptions))},null,8,["item","class"])):n.item.icon?(s(),l("span",d({key:1,class:[e.cx("icon"),n.item.icon]},e.ptm("icon",a.ptmOptions)),null,16)):h("",!0),n.item.label?(s(),l("span",d({key:2,class:e.cx("label")},e.ptm("label",a.ptmOptions)),m(a.label()),17)):h("",!0)],16,Ie))],16)):h("",!0)}q.render=Be;var Q={name:"Breadcrumb",extends:Le,components:{BreadcrumbItem:q,ChevronRightIcon:U}};function Ae(e,t,n,i,c,a){var g=W("BreadcrumbItem"),u=W("ChevronRightIcon");return s(),l("nav",d({class:e.cx("root")},e.ptm("root"),{"data-pc-name":"breadcrumb"}),[r("ol",d({class:e.cx("menu")},e.ptm("menu")),[e.home?(s(),_(g,d({key:0,item:e.home,class:e.cx("home"),templates:e.$slots,pt:e.pt,unstyled:e.unstyled},e.ptm("home")),null,16,["item","class","templates","pt","unstyled"])):h("",!0),(s(!0),l(C,null,k(e.model,function(p,L){return s(),l(C,{key:p.label+"_"+L},[e.home||L!==0?(s(),l("li",d({key:0,class:e.cx("separator")},e.ptm("separator")),[B(e.$slots,"separator",{},function(){return[y(u,d({"aria-hidden":"true"},e.ptm("separatorIcon")),null,16)]})],16)):h("",!0),y(g,{item:p,index:L,templates:e.$slots,pt:e.pt,unstyled:e.unstyled},null,8,["item","index","templates","pt","unstyled"])],64)}),128))],16)],16)}Q.render=Ae;const $e={__name:"TBreadcrumb",setup(e){return(t,n)=>(s(),_(f(Q)))}};var De=`
@layer primevue {
    .p-tag {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .p-tag-icon,
    .p-tag-value,
    .p-tag-icon.pi {
        line-height: 1.5;
    }

    .p-tag.p-tag-rounded {
        border-radius: 10rem;
    }
}
`,He={root:function(t){var n=t.props;return["p-tag p-component",{"p-tag-info":n.severity==="info","p-tag-success":n.severity==="success","p-tag-warning":n.severity==="warning","p-tag-danger":n.severity==="danger","p-tag-rounded":n.rounded}]},icon:"p-tag-icon",value:"p-tag-value"},Ee=O.extend({name:"tag",css:De,classes:He}),Ke={name:"BaseTag",extends:$,props:{value:null,severity:null,rounded:Boolean,icon:String},style:Ee,provide:function(){return{$parentInstance:this}}},Z={name:"Tag",extends:Ke};function Oe(e,t,n,i,c,a){return s(),l("span",d({class:e.cx("root")},e.ptm("root"),{"data-pc-name":"tag"}),[e.$slots.icon?(s(),_(S(e.$slots.icon),d({key:0,class:e.cx("icon")},e.ptm("icon")),null,16,["class"])):e.icon?(s(),l("span",d({key:1,class:[e.cx("icon"),e.icon]},e.ptm("icon")),null,16)):h("",!0),B(e.$slots,"default",{},function(){return[r("span",d({class:e.cx("value")},e.ptm("value")),m(e.value),17)]})],16)}Z.render=Oe;const Re={__name:"TTag",props:D.commonProps("label","disabled"),setup(e){let t=e,n=null;typeof t.label=="string"&&(n=t.label);let i;["success","info","warning","danger"].forEach(function(a){D.isDefined(t,a)&&(i=a)}),D.isDefined(t,"error")&&(i="danger");let c=P(null);return D.isDefined(t,"text|basic")&&se(()=>{let a=c.value.$el,g=getComputedStyle(c.value.$el).backgroundColor;g!="rgb(0, 0, 0)"&&(a.style.border="1px "+g+" solid"),a.style.backgroundColor="white",a.style.color=g}),(a,g)=>(s(),_(f(Z),{value:f(n),severity:f(i),class:H({"p-disabled":f(t).disabled!==void 0}),ref_key:"tagRef",ref:c,style:oe(f(D).composeStyle(f(t)))},{default:A(()=>[B(a.$slots,"default")]),_:3},8,["value","severity","class","style"]))}};var X={name:"ChevronLeftIcon",extends:z},Ne=r("path",{d:"M9.61296 13C9.50997 13.0005 9.40792 12.9804 9.3128 12.9409C9.21767 12.9014 9.13139 12.8433 9.05902 12.7701L3.83313 7.54416C3.68634 7.39718 3.60388 7.19795 3.60388 6.99022C3.60388 6.78249 3.68634 6.58325 3.83313 6.43628L9.05902 1.21039C9.20762 1.07192 9.40416 0.996539 9.60724 1.00012C9.81032 1.00371 10.0041 1.08597 10.1477 1.22959C10.2913 1.37322 10.3736 1.56698 10.3772 1.77005C10.3808 1.97313 10.3054 2.16968 10.1669 2.31827L5.49496 6.99022L10.1669 11.6622C10.3137 11.8091 10.3962 12.0084 10.3962 12.2161C10.3962 12.4238 10.3137 12.6231 10.1669 12.7701C10.0945 12.8433 10.0083 12.9014 9.91313 12.9409C9.81801 12.9804 9.71596 13.0005 9.61296 13Z",fill:"currentColor"},null,-1),ze=[Ne];function Ue(e,t,n,i,c,a){return s(),l("svg",d({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),ze,16)}X.render=Ue;var Ve=`
@layer primevue {
    .p-tabview-nav-container {
        position: relative;
    }

    .p-tabview-scrollable .p-tabview-nav-container {
        overflow: hidden;
    }

    .p-tabview-nav-content {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        scrollbar-width: none;
        overscroll-behavior: contain auto;
    }

    .p-tabview-nav {
        display: flex;
        margin: 0;
        padding: 0;
        list-style-type: none;
        flex: 1 1 auto;
    }

    .p-tabview-header-action {
        cursor: pointer;
        user-select: none;
        display: flex;
        align-items: center;
        position: relative;
        text-decoration: none;
        overflow: hidden;
    }

    .p-tabview-ink-bar {
        display: none;
        z-index: 1;
    }

    .p-tabview-header-action:focus {
        z-index: 1;
    }

    .p-tabview-title {
        line-height: 1;
        white-space: nowrap;
    }

    .p-tabview-nav-btn {
        position: absolute;
        top: 0;
        z-index: 2;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .p-tabview-nav-prev {
        left: 0;
    }

    .p-tabview-nav-next {
        right: 0;
    }

    .p-tabview-nav-content::-webkit-scrollbar {
        display: none;
    }
}
`,We={root:function(t){var n=t.props;return["p-tabview p-component",{"p-tabview-scrollable":n.scrollable}]},navContainer:"p-tabview-nav-container",previousButton:"p-tabview-nav-prev p-tabview-nav-btn p-link",navContent:"p-tabview-nav-content",nav:"p-tabview-nav",tab:{header:function(t){var n=t.instance,i=t.tab,c=t.index;return["p-tabview-header",n.getTabProp(i,"headerClass"),{"p-highlight":n.d_activeIndex===c,"p-disabled":n.getTabProp(i,"disabled")}]},headerAction:"p-tabview-nav-link p-tabview-header-action",headerTitle:"p-tabview-title",content:function(t){var n=t.instance,i=t.tab;return["p-tabview-panel",n.getTabProp(i,"contentClass")]}},inkbar:"p-tabview-ink-bar",nextButton:"p-tabview-nav-next p-tabview-nav-btn p-link",panelContainer:"p-tabview-panels"},Fe=O.extend({name:"tabview",css:Ve,classes:We}),Me={name:"BaseTabView",extends:$,props:{activeIndex:{type:Number,default:0},lazy:{type:Boolean,default:!1},scrollable:{type:Boolean,default:!1},tabindex:{type:Number,default:0},selectOnFocus:{type:Boolean,default:!1},previousButtonProps:{type:null,default:null},nextButtonProps:{type:null,default:null},prevIcon:{type:String,default:void 0},nextIcon:{type:String,default:void 0}},style:Fe,provide:function(){return{$parentInstance:this}}},G={name:"TabView",extends:Me,emits:["update:activeIndex","tab-change","tab-click"],data:function(){return{id:this.$attrs.id,d_activeIndex:this.activeIndex,isPrevButtonDisabled:!0,isNextButtonDisabled:!1}},watch:{"$attrs.id":function(t){this.id=t||F()},activeIndex:function(t){this.d_activeIndex=t,this.scrollInView({index:t})}},mounted:function(){this.id=this.id||F(),this.updateInkBar(),this.scrollable&&this.updateButtonState()},updated:function(){this.updateInkBar()},methods:{isTabPanel:function(t){return t.type.name==="TabPanel"},isTabActive:function(t){return this.d_activeIndex===t},getTabProp:function(t,n){return t.props?t.props[n]:void 0},getKey:function(t,n){return this.getTabProp(t,"header")||n},getTabHeaderActionId:function(t){return"".concat(this.id,"_").concat(t,"_header_action")},getTabContentId:function(t){return"".concat(this.id,"_").concat(t,"_content")},getTabPT:function(t,n,i){var c=this.tabs.length,a={props:t.props,parent:{instance:this,props:this.$props,state:this.$data},context:{index:i,count:c,first:i===0,last:i===c-1,active:this.isTabActive(i)}};return d(this.ptm("tab.".concat(n),{tab:a}),this.ptm("tabpanel.".concat(n),{tabpanel:a}),this.ptm("tabpanel.".concat(n),a),this.ptmo(this.getTabProp(t,"pt"),n,a))},onScroll:function(t){this.scrollable&&this.updateButtonState(),t.preventDefault()},onPrevButtonClick:function(){var t=this.$refs.content,n=v.getWidth(t),i=t.scrollLeft-n;t.scrollLeft=i<=0?0:i},onNextButtonClick:function(){var t=this.$refs.content,n=v.getWidth(t)-this.getVisibleButtonWidths(),i=t.scrollLeft+n,c=t.scrollWidth-n;t.scrollLeft=i>=c?c:i},onTabClick:function(t,n,i){this.changeActiveIndex(t,n,i),this.$emit("tab-click",{originalEvent:t,index:i})},onTabKeyDown:function(t,n,i){switch(t.code){case"ArrowLeft":this.onTabArrowLeftKey(t);break;case"ArrowRight":this.onTabArrowRightKey(t);break;case"Home":this.onTabHomeKey(t);break;case"End":this.onTabEndKey(t);break;case"PageDown":this.onPageDownKey(t);break;case"PageUp":this.onPageUpKey(t);break;case"Enter":case"NumpadEnter":case"Space":this.onTabEnterKey(t,n,i);break}},onTabArrowRightKey:function(t){var n=this.findNextHeaderAction(t.target.parentElement);n?this.changeFocusedTab(t,n):this.onTabHomeKey(t),t.preventDefault()},onTabArrowLeftKey:function(t){var n=this.findPrevHeaderAction(t.target.parentElement);n?this.changeFocusedTab(t,n):this.onTabEndKey(t),t.preventDefault()},onTabHomeKey:function(t){var n=this.findFirstHeaderAction();this.changeFocusedTab(t,n),t.preventDefault()},onTabEndKey:function(t){var n=this.findLastHeaderAction();this.changeFocusedTab(t,n),t.preventDefault()},onPageDownKey:function(t){this.scrollInView({index:this.$refs.nav.children.length-2}),t.preventDefault()},onPageUpKey:function(t){this.scrollInView({index:0}),t.preventDefault()},onTabEnterKey:function(t,n,i){this.changeActiveIndex(t,n,i),t.preventDefault()},findNextHeaderAction:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i=n?t:t.nextElementSibling;return i?v.getAttribute(i,"data-p-disabled")||v.getAttribute(i,"data-pc-section")==="inkbar"?this.findNextHeaderAction(i):v.findSingle(i,'[data-pc-section="headeraction"]'):null},findPrevHeaderAction:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i=n?t:t.previousElementSibling;return i?v.getAttribute(i,"data-p-disabled")||v.getAttribute(i,"data-pc-section")==="inkbar"?this.findPrevHeaderAction(i):v.findSingle(i,'[data-pc-section="headeraction"]'):null},findFirstHeaderAction:function(){return this.findNextHeaderAction(this.$refs.nav.firstElementChild,!0)},findLastHeaderAction:function(){return this.findPrevHeaderAction(this.$refs.nav.lastElementChild,!0)},changeActiveIndex:function(t,n,i){!this.getTabProp(n,"disabled")&&this.d_activeIndex!==i&&(this.d_activeIndex=i,this.$emit("update:activeIndex",i),this.$emit("tab-change",{originalEvent:t,index:i}),this.scrollInView({index:i}))},changeFocusedTab:function(t,n){if(n&&(v.focus(n),this.scrollInView({element:n}),this.selectOnFocus)){var i=parseInt(n.parentElement.dataset.index,10),c=this.tabs[i];this.changeActiveIndex(t,c,i)}},scrollInView:function(t){var n=t.element,i=t.index,c=i===void 0?-1:i,a=n||this.$refs.nav.children[c];a&&a.scrollIntoView&&a.scrollIntoView({block:"nearest"})},updateInkBar:function(){var t=this.$refs.nav.children[this.d_activeIndex];this.$refs.inkbar.style.width=v.getWidth(t)+"px",this.$refs.inkbar.style.left=v.getOffset(t).left-v.getOffset(this.$refs.nav).left+"px"},updateButtonState:function(){var t=this.$refs.content,n=t.scrollLeft,i=t.scrollWidth,c=v.getWidth(t);this.isPrevButtonDisabled=n===0,this.isNextButtonDisabled=parseInt(n)===i-c},getVisibleButtonWidths:function(){var t=this.$refs,n=t.prevBtn,i=t.nextBtn;return[n,i].reduce(function(c,a){return a?c+v.getWidth(a):c},0)}},computed:{tabs:function(){var t=this;return this.$slots.default().reduce(function(n,i){return t.isTabPanel(i)?n.push(i):i.children&&i.children instanceof Array&&i.children.forEach(function(c){t.isTabPanel(c)&&n.push(c)}),n},[])},prevButtonAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.previous:void 0},nextButtonAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.next:void 0}},directives:{ripple:le},components:{ChevronLeftIcon:X,ChevronRightIcon:U}};function E(e){"@babel/helpers - typeof";return E=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},E(e)}function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(c){return Object.getOwnPropertyDescriptor(e,c).enumerable})),n.push.apply(n,i)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?j(Object(n),!0).forEach(function(i){je(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function je(e,t,n){return t=qe(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qe(e){var t=Qe(e,"string");return E(t)=="symbol"?t:String(t)}function Qe(e,t){if(E(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(E(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Ze=["tabindex","aria-label"],Xe=["data-p-highlight","data-p-disabled","data-pc-index","data-p-active"],Ge=["id","tabindex","aria-disabled","aria-selected","aria-controls","onClick","onKeydown"],Je=["tabindex","aria-label"],Ye=["id","aria-labelledby","data-pc-index","data-p-active"];function et(e,t,n,i,c,a){var g=ce("ripple");return s(),l("div",d({class:e.cx("root")},e.ptm("root"),{"data-pc-name":"tabview"}),[r("div",d({class:e.cx("navContainer")},e.ptm("navContainer")),[e.scrollable&&!c.isPrevButtonDisabled?K((s(),l("button",d({key:0,ref:"prevBtn",type:"button",class:e.cx("previousButton"),tabindex:e.tabindex,"aria-label":a.prevButtonAriaLabel,onClick:t[0]||(t[0]=function(){return a.onPrevButtonClick&&a.onPrevButtonClick.apply(a,arguments)})},w(w({},e.previousButtonProps),e.ptm("previousButton")),{"data-pc-group-section":"navbutton"}),[B(e.$slots,"previcon",{},function(){return[(s(),_(S(e.prevIcon?"span":"ChevronLeftIcon"),d({"aria-hidden":"true",class:e.prevIcon},e.ptm("previousIcon")),null,16,["class"]))]})],16,Ze)),[[g]]):h("",!0),r("div",d({ref:"content",class:e.cx("navContent"),onScroll:t[1]||(t[1]=function(){return a.onScroll&&a.onScroll.apply(a,arguments)})},e.ptm("navContent")),[r("ul",d({ref:"nav",class:e.cx("nav"),role:"tablist"},e.ptm("nav")),[(s(!0),l(C,null,k(a.tabs,function(u,p){return s(),l("li",d({key:a.getKey(u,p),style:a.getTabProp(u,"headerStyle"),class:e.cx("tab.header",{tab:u,index:p}),role:"presentation"},w(w(w({},a.getTabProp(u,"headerProps")),a.getTabPT(u,"root",p)),a.getTabPT(u,"header",p)),{"data-pc-name":"tabpanel","data-p-highlight":c.d_activeIndex===p,"data-p-disabled":a.getTabProp(u,"disabled"),"data-pc-index":p,"data-p-active":c.d_activeIndex===p}),[K((s(),l("a",d({id:a.getTabHeaderActionId(p),class:e.cx("tab.headerAction"),tabindex:a.getTabProp(u,"disabled")||!a.isTabActive(p)?-1:e.tabindex,role:"tab","aria-disabled":a.getTabProp(u,"disabled"),"aria-selected":a.isTabActive(p),"aria-controls":a.getTabContentId(p),onClick:function(T){return a.onTabClick(T,u,p)},onKeydown:function(T){return a.onTabKeyDown(T,u,p)}},w(w({},a.getTabProp(u,"headerActionProps")),a.getTabPT(u,"headerAction",p))),[u.props&&u.props.header?(s(),l("span",d({key:0,class:e.cx("tab.headerTitle")},a.getTabPT(u,"headerTitle",p)),m(u.props.header),17)):h("",!0),u.children&&u.children.header?(s(),_(S(u.children.header),{key:1})):h("",!0)],16,Ge)),[[g]])],16,Xe)}),128)),r("li",d({ref:"inkbar",class:e.cx("inkbar"),role:"presentation","aria-hidden":"true"},e.ptm("inkbar")),null,16)],16)],16),e.scrollable&&!c.isNextButtonDisabled?K((s(),l("button",d({key:1,ref:"nextBtn",type:"button",class:e.cx("nextButton"),tabindex:e.tabindex,"aria-label":a.nextButtonAriaLabel,onClick:t[2]||(t[2]=function(){return a.onNextButtonClick&&a.onNextButtonClick.apply(a,arguments)})},w(w({},e.nextButtonProps),e.ptm("nextButton")),{"data-pc-group-section":"navbutton"}),[B(e.$slots,"nexticon",{},function(){return[(s(),_(S(e.nextIcon?"span":"ChevronRightIcon"),d({"aria-hidden":"true",class:e.nextIcon},e.ptm("nextIcon")),null,16,["class"]))]})],16,Je)),[[g]]):h("",!0)],16),r("div",d({class:e.cx("panelContainer")},e.ptm("panelContainer")),[(s(!0),l(C,null,k(a.tabs,function(u,p){return s(),l(C,{key:a.getKey(u,p)},[!e.lazy||a.isTabActive(p)?K((s(),l("div",d({key:0,id:a.getTabContentId(p),style:a.getTabProp(u,"contentStyle"),class:e.cx("tab.content",{tab:u}),role:"tabpanel","aria-labelledby":a.getTabHeaderActionId(p)},w(w(w({},a.getTabProp(u,"contentProps")),a.getTabPT(u,"root",p)),a.getTabPT(u,"content",p)),{"data-pc-name":"tabpanel","data-pc-index":p,"data-p-active":c.d_activeIndex===p}),[(s(),_(S(u)))],16,Ye)),[[de,e.lazy?!0:a.isTabActive(p)]]):h("",!0)],64)}),128))],16)],16)}G.render=et;var tt={},nt={name:"BaseTabPanel",extends:$,props:{header:null,headerStyle:null,headerClass:null,headerProps:null,headerActionProps:null,contentStyle:null,contentClass:null,contentProps:null,disabled:Boolean},style:tt},J={name:"TabPanel",extends:nt};function it(e,t,n,i,c,a){return B(e.$slots,"default")}J.render=it;var Y={name:"ChevronUpIcon",extends:z},at=r("path",{d:"M12.2097 10.4113C12.1057 10.4118 12.0027 10.3915 11.9067 10.3516C11.8107 10.3118 11.7237 10.2532 11.6506 10.1792L6.93602 5.46461L2.22139 10.1476C2.07272 10.244 1.89599 10.2877 1.71953 10.2717C1.54307 10.2556 1.3771 10.1808 1.24822 10.0593C1.11933 9.93766 1.035 9.77633 1.00874 9.6011C0.982477 9.42587 1.0158 9.2469 1.10338 9.09287L6.37701 3.81923C6.52533 3.6711 6.72639 3.58789 6.93602 3.58789C7.14565 3.58789 7.3467 3.6711 7.49502 3.81923L12.7687 9.09287C12.9168 9.24119 13 9.44225 13 9.65187C13 9.8615 12.9168 10.0626 12.7687 10.2109C12.616 10.3487 12.4151 10.4207 12.2097 10.4113Z",fill:"currentColor"},null,-1),rt=[at];function st(e,t,n,i,c,a){return s(),l("svg",d({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),rt,16)}Y.render=st;var ot=`
@layer primevue {
    .p-scrolltop {
        position: fixed;
        bottom: 20px;
        right: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .p-scrolltop-sticky {
        position: sticky;
    }

    .p-scrolltop-sticky.p-link {
        margin-left: auto;
    }

    .p-scrolltop-enter-from {
        opacity: 0;
    }

    .p-scrolltop-enter-active {
        transition: opacity 0.15s;
    }

    .p-scrolltop.p-scrolltop-leave-to {
        opacity: 0;
    }

    .p-scrolltop-leave-active {
        transition: opacity 0.15s;
    }
}
`,lt={root:function(t){var n=t.props;return["p-scrolltop p-link p-component",{"p-scrolltop-sticky":n.target!=="window"}]},icon:"p-scrolltop-icon"},ct=O.extend({name:"scrolltop",css:ot,classes:lt}),dt={name:"BaseScrollTop",extends:$,props:{target:{type:String,default:"window"},threshold:{type:Number,default:400},icon:{type:String,default:void 0},behavior:{type:String,default:"smooth"}},style:ct,provide:function(){return{$parentInstance:this}}},ee={name:"ScrollTop",extends:dt,scrollListener:null,container:null,data:function(){return{visible:!1}},mounted:function(){this.target==="window"?this.bindDocumentScrollListener():this.target==="parent"&&this.bindParentScrollListener()},beforeUnmount:function(){this.target==="window"?this.unbindDocumentScrollListener():this.target==="parent"&&this.unbindParentScrollListener(),this.container&&(R.clear(this.container),this.overlay=null)},methods:{onClick:function(){var t=this.target==="window"?window:this.$el.parentElement;t.scroll({top:0,behavior:this.behavior})},checkVisibility:function(t){t>this.threshold?this.visible=!0:this.visible=!1},bindParentScrollListener:function(){var t=this;this.scrollListener=function(){t.checkVisibility(t.$el.parentElement.scrollTop)},this.$el.parentElement.addEventListener("scroll",this.scrollListener)},bindDocumentScrollListener:function(){var t=this;this.scrollListener=function(){t.checkVisibility(v.getWindowScrollTop())},window.addEventListener("scroll",this.scrollListener)},unbindParentScrollListener:function(){this.scrollListener&&(this.$el.parentElement.removeEventListener("scroll",this.scrollListener),this.scrollListener=null)},unbindDocumentScrollListener:function(){this.scrollListener&&(window.removeEventListener("scroll",this.scrollListener),this.scrollListener=null)},onEnter:function(t){R.set("overlay",t,this.$primevue.config.zIndex.overlay)},onAfterLeave:function(t){R.clear(t)},containerRef:function(t){this.container=t}},computed:{scrollTopAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.scrollTop:void 0}},components:{ChevronUpIcon:Y}},ut=["aria-label"];function pt(e,t,n,i,c,a){return s(),_(ue,d({name:"p-scrolltop",appear:"",onEnter:a.onEnter,onAfterLeave:a.onAfterLeave},e.ptm("transition")),{default:A(function(){return[c.visible?(s(),l("button",d({key:0,ref:a.containerRef,class:e.cx("root"),onClick:t[0]||(t[0]=function(){return a.onClick&&a.onClick.apply(a,arguments)}),type:"button","aria-label":a.scrollTopAriaLabel},e.ptm("root"),{"data-pc-name":"scrolltop"}),[B(e.$slots,"icon",{class:H(e.cx("icon"))},function(){return[(s(),_(S(e.icon?"span":"ChevronUpIcon"),d({class:[e.cx("icon"),e.icon]},e.ptm("icon")),null,16,["class"]))]})],16,ut)):h("",!0)]}),_:3},16,["onEnter","onAfterLeave"])}ee.render=pt;const mt="/portal/assets/app-B-9xmgoG.png",ht="/portal/assets/app-gtYUEfVK.png",ft="/portal/assets/app-zXTLRI-K.png",vt="/portal/assets/app-xggYXtaH.png",bt="/portal/assets/app-1ZU8pWtb.png",gt="/portal/assets/app-vrv1CRfG.png",yt={__name:"CountrFormat",props:{value:0},setup(e){const n=e.value;let i="";return n<=0?i="0":n<1e4?i=n.toString():n<1e8?i=n/1e4+"万":i=n/1e8+"亿",(c,a)=>m(f(i))}},b=e=>(be("data-v-3cc2e4a8"),e=e(),ge(),e),_t={class:"block"},wt={class:"inner-block"},Ct={class:"summary-box"},Tt={class:"description-box"},kt=b(()=>r("h1",{class:"text-4xl font-normal"},"CDN",-1)),xt=b(()=>r("p",null," CDN是内容分发网络（Content Delivery Network）的简称，可以帮助我们将内容快速地分发到不同的区域和运营商，包括HTML页面、Javascript文件、CSS文件，及音视频文件等。 ",-1)),Pt=b(()=>r("p",null," 同时，CDN也能保护我们的网站免受攻击，比如常见的CC攻击和SQL注入攻击。 ",-1)),St={class:"image-box mt-6"},Lt={key:0,class:"block"},It=b(()=>r("h2",{class:"text-2xl font-normal"},"最新活动",-1)),Bt={class:"list-none news-box flex-wrap flex line-height-4"},At=["href"],$t={class:"date-span text-sm"},Dt={key:1,class:"block"},Ht=b(()=>r("h2",{class:"text-2xl font-normal"},"产品规格",-1)),Et={class:"plans-box flex-wrap flex line-height-4"},Kt={class:"font-normal text-lg"},Ot={class:"text-gray-600"},Rt={key:0},Nt={key:1},zt=b(()=>r("span",{class:"text-gray-600"},"网站数",-1)),Ut={class:"value"},Vt=b(()=>r("span",{class:"text-gray-600"},"请求数(每天)",-1)),Wt={class:"value"},Ft={key:0},Mt={key:1},jt=b(()=>r("span",{class:"text-gray-600"},"下行流量",-1)),qt={key:0},Qt={key:1},Zt={key:2},Xt={class:"value"},Gt={key:0},Jt={key:1},Yt={key:2},en={key:3},tn=b(()=>r("span",{class:"text-gray-600"},"优惠价格",-1)),nn={key:0,class:"value"},an={key:1,class:"value"},rn={key:2,class:"value"},sn={key:0},on={key:1},ln={key:2},cn={class:"mt-2"},dn=["href"],un={class:"block"},pn=b(()=>r("h2",{class:"text-2xl font-normal"},"产品优势",-1)),mn={class:"features-box flex flex-wrap text-center grid"},hn={class:"feature-box col-4"},fn={class:"font-normal text-primary-600"},vn={class:"text-gray-600"},bn={class:"block"},gn=b(()=>r("h2",{class:"text-2xl font-normal"},"产品功能",-1)),yn={class:"features-box flex flex-wrap text-center grid"},_n={class:"feature-box col-4"},wn={class:"font-normal text-primary-600"},Cn={class:"text-gray-600"},Tn={class:"block"},kn=b(()=>r("h2",{class:"text-2xl font-normal"},"应用场景",-1)),xn={class:"scenes-box"},Pn={class:"content-box m-0"},Sn={class:"description-box"},Ln={class:"title"},In=b(()=>r("i",{class:"pi pi-check"},null,-1)),Bn={class:"image-box"},An={class:"block"},$n=b(()=>r("h2",{class:"text-2xl font-normal"},"文档与工具",-1)),Dn=b(()=>r("div",{class:"docs-box flex flex-wrap gap-4 line-height-1 link"},[r("a",{href:"/docs",class:"card"},[r("span",null,"产品文档"),r("p",null,"查看CDN使用文档"),r("i",{class:"pi pi-arrow-right"})]),r("a",{href:"/docs/cdn/qa.html",class:"card"},[r("span",null,"常见问题"),r("p",null,"快速查看常见问题"),r("i",{class:"pi pi-arrow-right"})]),r("a",{href:"/docs",class:"card"},[r("span",null,"快速入门"),r("p",null,"快速了解CDN功能使用"),r("i",{class:"pi pi-arrow-right"})])],-1)),Hn=[$n,Dn],En={__name:"index",setup(e){const t=me.ref(),n=t!=null&&t.value!=null&&t.value.plans!=null&&t.value.plans.length>0,i=P(null),c=P(null),a=P(null),g=P(null),u=P(null);P(null);const p=P(null),L=[{label:"最新活动",command:T,ref:i},{label:"产品规格",command:T,ref:c,visible:n},{label:"产品优势",command:T,ref:a},{label:"产品功能",command:T,ref:g},{label:"应用场景",command:T,ref:u},{label:"文档与工具",command:T,ref:p}];function T(x){x.item.ref.value.scrollIntoView({behavior:"smooth"})}function te(x){x.currentTarget.className.indexOf("shadow-4")<0&&(x.currentTarget.className+=" shadow-4")}function ne(x){x.currentTarget.className=x.currentTarget.className.replace(/shadow-4/,"").trim()}const ie=[{name:"节约成本",description:"支持内容压缩、WebP转换等帮您节约带宽成本",icon:"pi pi-dollar"},{name:"就近缓存",description:"根据DNS自动分配最近分发节点",icon:"pi pi-cloud"},{name:"高缓存命中率",description:"使用二级缓存大幅提升缓存命中率减少回源",icon:"pi pi-chart-line"},{name:"强大的规则引擎",description:"缓存和WAF均提供强大的规则引擎设置，满足各种需求",icon:"pi pi-align-left"},{name:"简单易用",description:"5秒盾、CC防护、HTTP/3等功能一键启用",icon:"pi pi-bolt"},{name:"灵活自由",description:"提供丰富的可定制选项",icon:"pi pi-wrench"}],ae=[{name:"内容分发",description:"简单易用的内容分发系统",icon:"pi pi-cloud"},{name:"WAF",description:"自带基于规则引擎的WAF，轻松防御SQL注入等攻击",icon:"pi pi-shield"},{name:"HTTP/3",description:"一键支持基于quic的HTTP/3协议",icon:"pi pi-bolt"},{name:"5秒盾",description:"快速启用5秒盾防御模式",icon:"pi pi-clock"},{name:"CC防护",description:"有效防御常见CC攻击",icon:"pi pi-hourglass"},{name:"URL鉴权",description:"多种鉴权方法有效防盗链",icon:"pi pi-key"},{name:"页面优化",description:"支持对HTML、CSS、Javascript压缩混淆优化",icon:"pi pi-hashtag"},{name:"WebP",description:"使用WebP压缩大幅降低带宽费用",icon:"pi pi-image"},{name:"对象存储",description:"支持多个三方对象存储，如Amazon S3等",icon:"pi pi-database"},{name:"负载均衡",description:"支持TCP和UDP四层负载均衡",icon:"pi pi-send"},{name:"边缘计算",description:"使用Javascript轻松部署业务逻辑到边缘节点",icon:"pi pi-code"},{name:"IPv6",description:"全面支持IPv4和IPv6融合",icon:"pi pi-box"}],re=[{name:"静态文件加速",description:"可以为网站常见的静态文件加速，如HTML、CSS、Javascript、图片文件等。",features:[{name:"缓存命中率高",description:"有效减少回源几率，降低源站负载"},{name:"可压缩",description:"可以设置gzip、brotli等压缩，降低文件尺寸，有效减少带宽费用"},{name:"支持动态请求",description:"可以设置要排除的缓存条件，避免影响动态请求"}],image:gt},{name:"音视频加速",description:"可以为音频文件提供加速服务，如.mp3、.wav、.ts等。",features:[{name:"支持分段加载",description:"支持客户端Range请求，并能分段缓存"},{name:"高并发",description:"支持并发读取常见的多个ts文件下载"}],image:vt},{name:"HTTPS安全",description:"为网站设置HTTPS后可以有效保护你的网站安全。",features:[{name:"支持多域名",description:"支持在单个网站中添加多个域名HTTPS证书"},{name:"安全",description:"使用HTTPS可有效保护你的客户同网站的通讯安全"},{name:"支持OCSP",description:"通过OCSP让TLS握手更加快速"}],image:ht},{name:"HTTP/3支持",description:"通过开通HTTP/3服务，可有效降低连接成本。",features:[{name:"性能更高",description:"相对于TCP连接，使用UDP性能更高"},{name:"更安全",description:"有效避免数据包被篡改"},{name:"低延迟",description:"相对于TCP，UDP数据包分发的更快速"}],image:ft},{name:"CC防御",description:"使用CC防护功能可有效防御常见的CC攻击。",features:[{name:"设置简单",description:"一键开启，无需特别复杂的设置"},{name:"可定制化",description:"可以根据自己的需要调整相关参数"},{name:"多条件组合",description:"在WAF中可以使用多个条件组合来检测CC攻击"}],image:mt},{name:"SQL/XSS注入防御",description:"可以在WAF中使用SQL和XSS注入检测规则快速防御相关攻击。",features:[{name:"语义化",description:"支持在SQL和HTML中的语义化解析，轻松化解注释、混淆等干扰因素"},{name:"高性能",description:"检测用时非常短，用户无感知"},{name:"可回溯",description:"可以在WAF日志中查看被拦截的请求信息"}],image:bt}];return(x,On)=>(s(),_(he,{"active-top-menu":"products"},{default:A(()=>[r("div",_t,[r("div",wt,[r("div",Ct,[r("div",Tt,[y($e,{model:[{label:"产品"},{label:"CDN"}]}),kt,xt,Pt]),r("div",St,[y(M,{src:f(_e)},null,8,["src"])]),y(f(fe),{class:"second-menubar",model:L})])])]),f(t).latestPosts!=null&&f(t).latestPosts.length>0?(s(),l("div",Lt,[r("div",{class:"inner-block",ref_key:"newsBoxRef",ref:i},[It,r("div",null,[r("ul",Bt,[(s(!0),l(C,null,k(f(t).latestPosts,o=>(s(),l("li",null,[r("a",{href:"/portal/post?postId="+o.id,target:"_blank"},[o.category!=null&&o.category.id>0?(s(),_(Re,{key:0,label:o.category.name,severity:"info",class:"mr-1"},null,8,["label"])):h("",!0),I(" "+m(o.subject),1)],8,At),I(),r("span",$t,m(o.publishedTime),1)]))),256))])])],512)])):h("",!0),f(n)?(s(),l("div",Dt,[r("div",{class:"inner-block",ref_key:"plansBoxRef",ref:c},[Ht,r("div",Et,[(s(!0),l(C,null,k(f(t).plans,o=>(s(),l("div",{class:"plan-box",onMouseover:te,onMouseout:ne},[r("div",Kt,[r("strong",null,m(o.name),1)]),r("div",Ot,[o.description.length>0?(s(),l("span",Rt,m(o.description),1)):(s(),l("span",Nt,m(o.name),1))]),y(N),r("div",null,[zt,r("div",Ut,m(o.totalServers),1)]),r("div",null,[Vt,r("div",Wt,[o.dailyRequests>0?(s(),l("span",Ft,[y(yt,{value:o.dailyRequests},null,8,["value"])])):(s(),l("span",Mt,"无限制"))])]),r("div",null,[jt,o.trafficLimit!=null&&o.trafficLimit.dailySize!=null&&o.trafficLimit.dailySize.count>0?(s(),l("span",qt,"(每天)")):o.trafficLimit!=null&&o.trafficLimit.monthlySize!=null&&o.trafficLimit.monthlySize.count>0?(s(),l("span",Qt,"(每月)")):o.trafficLimit!=null&&o.trafficLimit.totalSize!=null&&o.trafficLimit.totalSize.count>0?(s(),l("span",Zt,"(总)")):h("",!0),r("div",Xt,[o.trafficLimit!=null&&o.trafficLimit.dailySize!=null&&o.trafficLimit.dailySize.count>0?(s(),l("span",Gt,m(o.trafficLimit.dailySize.count)+" "+m(o.trafficLimit.dailySize.unit.toUpperCase().replace(/(.)B/,"$1iB")),1)):o.trafficLimit!=null&&o.trafficLimit.monthlySize!=null&&o.trafficLimit.monthlySize.count>0?(s(),l("span",Jt,m(o.trafficLimit.monthlySize.count)+" "+m(o.trafficLimit.monthlySize.unit.toUpperCase().replace(/(.)B/,"$1iB")),1)):o.trafficLimit!=null&&o.trafficLimit.totalSize!=null&&o.trafficLimit.totalSize.count>0?(s(),l("span",Yt,m(o.trafficLimit.totalSize.count)+" "+m(o.trafficLimit.totalSize.unit.toUpperCase().replace(/(.)B/,"$1iB")),1)):(s(),l("span",en,"无限制"))])]),r("div",null,[tn,o.priceType=="traffic"?(s(),l("div",nn,"按流量用量")):h("",!0),o.priceType=="bandwidth"?(s(),l("div",an,"按带宽用量")):h("",!0),o.priceType=="period"?(s(),l("div",rn,[o.monthlyPrice>0?(s(),l("span",sn,m(o.monthlyPrice)+"元/月",1)):o.seasonallyPrice>0?(s(),l("span",on,m(o.seasonallyPrice)+"元/季",1)):o.yearlyPrice>0?(s(),l("span",ln,m(o.yearlyPrice)+"元/年",1)):h("",!0)])):h("",!0)]),y(N),r("div",cn,[r("a",{href:f(ve).hostURL("/plans/buy?planId="+o.id)},[y(we,{outlined:""},{default:A(()=>[I("立即购买")]),_:1})],8,dn)])],32))),256))])],512)])):h("",!0),r("div",un,[r("div",{class:"inner-block",ref_key:"advantagesBoxRef",ref:a},[pn,r("div",mn,[(s(),l(C,null,k(ie,o=>r("div",hn,[r("h3",fn,[r("i",{class:H(["mr-2",o.icon])},null,2),I(m(o.name),1)]),r("p",vn,m(o.description),1)])),64))])],512)]),r("div",bn,[r("div",{class:"inner-block",ref_key:"featuresBoxRef",ref:g},[gn,r("div",yn,[(s(),l(C,null,k(ae,o=>r("div",_n,[r("h3",wn,[r("i",{class:H(["mr-2",o.icon])},null,2),I(m(o.name),1)]),r("p",Cn,m(o.description),1)])),64))])],512)]),r("div",Tn,[r("div",{class:"inner-block",ref_key:"scenesBoxRef",ref:u},[kn,r("div",xn,[y(f(G),null,{default:A(()=>[(s(),l(C,null,k(re,o=>y(f(J),{header:o.name},{default:A(()=>[r("div",Pn,[r("div",Sn,[r("p",Ln,m(o.name),1),r("p",null,m(o.description),1),y(N),(s(!0),l(C,null,k(o.features,V=>(s(),l("p",null,[r("strong",null,[In,I(" "+m(V.name)+"：",1)]),I(m(V.description),1)]))),256))]),r("div",Bn,[y(M,{src:o.image},null,8,["src"])])])]),_:2},1032,["header"])),64))]),_:1})])],512)]),r("div",An,[r("div",{class:"inner-block",ref_key:"docsBoxRef",ref:p},Hn,512)]),y(f(ee),{icon:"pi pi-arrow-up",pt:{root:"bg-primary"}})]),_:1}))}},Kn=pe(En,[["__scopeId","data-v-3cc2e4a8"]]);ye({app:Kn});
