/* empty css */import{u as Lt,b as Gr,s as _e,_ as y,n as Jr,o as ct}from"./index.ZNJz487u.js";import{a as Xr}from"./allowed.BLuajkg5.js";import{_ as Ft}from"./Button.Bac-oBXH.js";import{b as Pt,r as ut,i as dt,m as Kr,a as ln,l as Nn,c as Mn,e as Qr,f as eo,s as to,n as ei,g as no,u as so,k as io}from"./Gear.DbutvnqS.js";import{_ as j}from"./_plugin-vue_export-helper.BN1snXvA.js";import{c as S,f as m,o as g,a as _,r as C,w as E,T as Ee,j as R,t as k,e as ce,n as te,h as H,d as M,l as z,x as ti,p as ro,m as ni,C as cn,X as si,z as V,Y as En,Z as ii,_ as oo,$ as ri,I as ao,A as rt,u as Je,D as lo,a0 as co,v as In,B as P,a1 as uo,P as oi,i as ot,U as fo,k as Dn,W as ho,F as Te,g as et}from"./runtime-dom.esm-bundler.DYN7TRGp.js";import{U as mo}from"./AnimatedNumber.DQvhUqP6.js";import{a as ai,S as $n}from"./Check.BHN-SUwW.js";import{S as po}from"./Logo.CevaV4Q1.js";import{u as go}from"./LicenseStore.DAzcp1Mc.js";import{S as yo}from"./Caret.1NgHEodt.js";import{T as ft}from"./Slide.h5rY55cR.js";import{t as he}from"./constants.DAg4IXD1.js";import{S as li}from"./Close.DIUMfQ03.js";const vo=t=>(t||document.location.search).replace(/(^\?)/,"").split("&").map((function(e){return e=e.split("="),this[e[0]]=e[1],this}).bind({}))[0],wo=(t,e)=>{e=e||document.location.href;const n=e.split("#"),s=n[0].split("?");if(2>s.length)return e;const i=encodeURIComponent(t)+"=",r=s[1].split(/[&;]/g);for(let l=r.length;0{const e=Lt();e.loading=!0;let n=!1,s=!1;const i="saveChanges";setTimeout(()=>{n=!0,s&&(e.loading=!1)},1500),Gr()[i]().then(o=>{o&&o.body.redirection||(n?e.loading=!1:s=!0,window.aioseoBrokenLinkCheckerBus.$emit("changes-saved"))})}}}function De(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}function ui(t){return t}var bo="[object AsyncFunction]",So="[object Function]",ko="[object GeneratorFunction]",_o="[object Proxy]";function xn(t){if(!De(t))return!1;var e=Pt(t);return e==So||e==ko||e==bo||e==_o}var jt=ut["__core-js_shared__"],Kn=(function(){var t=/[^.]+$/.exec(jt&&jt.keys&&jt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})();function To(t){return!!Kn&&Kn in t}var Co=Function.prototype,Oo=Co.toString;function No(t){if(t!=null){try{return Oo.call(t)}catch{}try{return t+""}catch{}}return""}var Mo=/[\\^$.*+?()[\]{}|]/g,Eo=/^\[object .+?Constructor\]$/,Io=Function.prototype,Do=Object.prototype,$o=Io.toString,xo=Do.hasOwnProperty,Lo=RegExp("^"+$o.call(xo).replace(Mo,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Fo(t){if(!De(t)||To(t))return!1;var e=xn(t)?Lo:Eo;return e.test(No(t))}function Po(t,e){return t?.[e]}function Ln(t,e){var n=Po(t,e);return Fo(n)?n:void 0}var Qn=Object.create,Ao=(function(){function t(){}return function(e){if(!De(e))return{};if(Qn)return Qn(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}})();function Wo(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Vo(t,e){var n=-1,s=t.length;for(e||(e=Array(s));++n0){if(++e>=zo)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function Ho(t){return function(){return t}}var Nt=(function(){try{var t=Ln(Object,"defineProperty");return t({},"",{}),t}catch{}})(),Zo=Nt?function(t,e){return Nt(t,"toString",{configurable:!0,enumerable:!1,value:Ho(e),writable:!0})}:ui,qo=Bo(Zo),jo=9007199254740991,Yo=/^(?:0|[1-9]\d*)$/;function di(t,e){var n=typeof t;return e=e??jo,!!e&&(n=="number"||n!="symbol"&&Yo.test(t))&&t>-1&&t%1==0&&t-1&&t%1==0&&t<=ta}function Pn(t){return t!=null&&fi(t.length)&&!xn(t)}function na(t,e,n){if(!De(n))return!1;var s=typeof e;return(s=="number"?Pn(n)&&di(e,n.length):s=="string"&&e in n)?At(n[e],t):!1}function sa(t){return ea(function(e,n){var s=-1,i=n.length,r=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(r=t.length>3&&typeof r=="function"?(i--,r):void 0,o&&na(n[0],n[1],o)&&(r=i<3?void 0:r,i=1),e=Object(e);++s-1}function ll(t,e){var n=this.__data__,s=Wt(n,t);return s<0?(++this.size,n.push([t,e])):n[s][1]=e,this}function ye(t){var e=-1,n=t==null?0:t.length;for(this.clear();++enew URL(t,import.meta.url).href;class $e extends Error{}class Vl extends $e{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class zl extends $e{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class Rl extends $e{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class Pe extends $e{}class Ci extends $e{constructor(e){super(`Invalid unit ${e}`)}}class U extends $e{}class be extends $e{constructor(){super("Zone is an abstract class")}}const f="numeric",oe="short",G="long",Mt={year:f,month:f,day:f},Oi={year:f,month:oe,day:f},Ul={year:f,month:oe,day:f,weekday:oe},Ni={year:f,month:G,day:f},Mi={year:f,month:G,day:f,weekday:G},Ei={hour:f,minute:f},Ii={hour:f,minute:f,second:f},Di={hour:f,minute:f,second:f,timeZoneName:oe},$i={hour:f,minute:f,second:f,timeZoneName:G},xi={hour:f,minute:f,hourCycle:"h23"},Li={hour:f,minute:f,second:f,hourCycle:"h23"},Fi={hour:f,minute:f,second:f,hourCycle:"h23",timeZoneName:oe},Pi={hour:f,minute:f,second:f,hourCycle:"h23",timeZoneName:G},Ai={year:f,month:f,day:f,hour:f,minute:f},Wi={year:f,month:f,day:f,hour:f,minute:f,second:f},Vi={year:f,month:oe,day:f,hour:f,minute:f},zi={year:f,month:oe,day:f,hour:f,minute:f,second:f},Bl={year:f,month:oe,day:f,weekday:oe,hour:f,minute:f},Ri={year:f,month:G,day:f,hour:f,minute:f,timeZoneName:oe},Ui={year:f,month:G,day:f,hour:f,minute:f,second:f,timeZoneName:oe},Bi={year:f,month:G,day:f,weekday:G,hour:f,minute:f,timeZoneName:G},Hi={year:f,month:G,day:f,weekday:G,hour:f,minute:f,second:f,timeZoneName:G};class ht{get type(){throw new be}get name(){throw new be}get ianaName(){return this.name}get isUniversal(){throw new be}offsetName(e,n){throw new be}formatOffset(e,n){throw new be}offset(e){throw new be}equals(e){throw new be}get isValid(){throw new be}}let Gt=null;class zt extends ht{static get instance(){return Gt===null&&(Gt=new zt),Gt}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:n,locale:s}){return tr(e,n,s)}formatOffset(e,n){return nt(this.offset(e),n)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}const hn=new Map;function Hl(t){let e=hn.get(t);return e===void 0&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),hn.set(t,e)),e}const Zl={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function ql(t,e){const n=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,i,r,o,a,l,c,u]=s;return[o,i,r,a,l,c,u]}function jl(t,e){const n=t.formatToParts(e),s=[];for(let i=0;i=0?b:1e3+b,(p-d)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}let cs={};function Yl(t,e={}){const n=JSON.stringify([t,e]);let s=cs[n];return s||(s=new Intl.ListFormat(t,e),cs[n]=s),s}const mn=new Map;function pn(t,e={}){const n=JSON.stringify([t,e]);let s=mn.get(n);return s===void 0&&(s=new Intl.DateTimeFormat(t,e),mn.set(n,s)),s}const gn=new Map;function Gl(t,e={}){const n=JSON.stringify([t,e]);let s=gn.get(n);return s===void 0&&(s=new Intl.NumberFormat(t,e),gn.set(n,s)),s}const yn=new Map;function Jl(t,e={}){const{base:n,...s}=e,i=JSON.stringify([t,s]);let r=yn.get(i);return r===void 0&&(r=new Intl.RelativeTimeFormat(t,e),yn.set(i,r)),r}let Xe=null;function Xl(){return Xe||(Xe=new Intl.DateTimeFormat().resolvedOptions().locale,Xe)}const vn=new Map;function Zi(t){let e=vn.get(t);return e===void 0&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),vn.set(t,e)),e}const wn=new Map;function Kl(t){let e=wn.get(t);if(!e){const n=new Intl.Locale(t);e="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,"minimalDays"in e||(e={...qi,...e}),wn.set(t,e)}return e}function Ql(t){const e=t.indexOf("-x-");e!==-1&&(t=t.substring(0,e));const n=t.indexOf("-u-");if(n===-1)return[t];{let s,i;try{s=pn(t).resolvedOptions(),i=t}catch{const l=t.substring(0,n);s=pn(l).resolvedOptions(),i=l}const{numberingSystem:r,calendar:o}=s;return[i,r,o]}}function ec(t,e,n){return(n||e)&&(t.includes("-u-")||(t+="-u"),n&&(t+=`-ca-${n}`),e&&(t+=`-nu-${e}`)),t}function tc(t){const e=[];for(let n=1;n<=12;n++){const s=v.utc(2009,n,1);e.push(t(s))}return e}function nc(t){const e=[];for(let n=1;n<=7;n++){const s=v.utc(2016,11,13+n);e.push(t(s))}return e}function yt(t,e,n,s){const i=t.listingMode();return i==="error"?null:i==="en"?n(e):s(e)}function sc(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||Zi(t.locale).numberingSystem==="latn"}class ic{constructor(e,n,s){this.padTo=s.padTo||0,this.floor=s.floor||!1;const{padTo:i,floor:r,...o}=s;if(!n||Object.keys(o).length>0){const a={useGrouping:!1,...s};s.padTo>0&&(a.minimumIntegerDigits=s.padTo),this.inf=Gl(e,a)}}format(e){if(this.inf){const n=this.floor?Math.floor(e):e;return this.inf.format(n)}else{const n=this.floor?Math.floor(e):Rn(e,3);return F(n,this.padTo)}}}class rc{constructor(e,n,s){this.opts=s,this.originalZone=void 0;let i;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){const o=-1*(e.offset/60),a=o>=0?`Etc/GMT+${o}`:`Etc/GMT${o}`;e.offset!==0&&ge.create(a).valid?(i=a,this.dt=e):(i="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,i=e.zone.name):(i="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const r={...this.opts};r.timeZone=r.timeZone||i,this.dtf=pn(n,r)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(n=>{if(n.type==="timeZoneName"){const s=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...n,value:s}}else return n}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class oc{constructor(e,n,s){this.opts={style:"long",...s},!n&&Qi()&&(this.rtf=Jl(e,s))}format(e,n){return this.rtf?this.rtf.format(e,n):Mc(n,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,n){return this.rtf?this.rtf.formatToParts(e,n):[]}}const qi={firstDay:1,minimalDays:4,weekend:[6,7]};class N{static fromOpts(e){return N.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,n,s,i,r=!1){const o=e||L.defaultLocale,a=o||(r?"en-US":Xl()),l=n||L.defaultNumberingSystem,c=s||L.defaultOutputCalendar,u=Sn(i)||L.defaultWeekSettings;return new N(a,l,c,u,o)}static resetCache(){Xe=null,mn.clear(),gn.clear(),yn.clear(),vn.clear(),wn.clear()}static fromObject({locale:e,numberingSystem:n,outputCalendar:s,weekSettings:i}={}){return N.create(e,n,s,i)}constructor(e,n,s,i,r){const[o,a,l]=Ql(e);this.locale=o,this.numberingSystem=n||a||null,this.outputCalendar=s||l||null,this.weekSettings=i,this.intl=ec(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=sc(this)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&n?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:N.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,Sn(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,n=!1){return yt(this,e,ir,()=>{const s=this.intl==="ja"||this.intl.startsWith("ja-");n&=!s;const i=n?{month:e,day:"numeric"}:{month:e},r=n?"format":"standalone";if(!this.monthsCache[r][e]){const o=s?a=>this.dtFormatter(a,i).format():a=>this.extract(a,i,"month");this.monthsCache[r][e]=tc(o)}return this.monthsCache[r][e]})}weekdays(e,n=!1){return yt(this,e,ar,()=>{const s=n?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=n?"format":"standalone";return this.weekdaysCache[i][e]||(this.weekdaysCache[i][e]=nc(r=>this.extract(r,s,"weekday"))),this.weekdaysCache[i][e]})}meridiems(){return yt(this,void 0,()=>lr,()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[v.utc(2016,11,13,9),v.utc(2016,11,13,19)].map(n=>this.extract(n,e,"dayperiod"))}return this.meridiemCache})}eras(e){return yt(this,e,cr,()=>{const n={era:e};return this.eraCache[e]||(this.eraCache[e]=[v.utc(-40,1,1),v.utc(2017,1,1)].map(s=>this.extract(s,n,"era"))),this.eraCache[e]})}extract(e,n,s){const i=this.dtFormatter(e,n),r=i.formatToParts(),o=r.find(a=>a.type.toLowerCase()===s);return o?o.value:null}numberFormatter(e={}){return new ic(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,n={}){return new rc(e,this.intl,n)}relFormatter(e={}){return new oc(this.intl,this.isEnglish(),e)}listFormatter(e={}){return Yl(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||Zi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:er()?Kl(this.locale):qi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Xt=null;class Z extends ht{static get utcInstance(){return Xt===null&&(Xt=new Z(0)),Xt}static instance(e){return e===0?Z.utcInstance:new Z(e)}static parseSpecifier(e){if(e){const n=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new Z(Bt(n[1],n[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${nt(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${nt(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,n){return nt(this.fixed,n)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}}class ac extends ht{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function ke(t,e){if(w(t)||t===null)return e;if(t instanceof ht)return t;if(hc(t)){const n=t.toLowerCase();return n==="default"?e:n==="local"||n==="system"?zt.instance:n==="utc"||n==="gmt"?Z.utcInstance:Z.parseSpecifier(n)||ge.create(t)}else return Ce(t)?Z.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new ac(t)}const An={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},us={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},lc=An.hanidec.replace(/[\[|\]]/g,"").split("");function cc(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let n=0;n=r&&s<=o&&(e+=s-r)}}return parseInt(e,10)}else return e}const bn=new Map;function uc(){bn.clear()}function se({numberingSystem:t},e=""){const n=t||"latn";let s=bn.get(n);s===void 0&&(s=new Map,bn.set(n,s));let i=s.get(e);return i===void 0&&(i=new RegExp(`${An[n]}${e}`),s.set(e,i)),i}let ds=()=>Date.now(),fs="system",hs=null,ms=null,ps=null,gs=60,ys,vs=null;class L{static get now(){return ds}static set now(e){ds=e}static set defaultZone(e){fs=e}static get defaultZone(){return ke(fs,zt.instance)}static get defaultLocale(){return hs}static set defaultLocale(e){hs=e}static get defaultNumberingSystem(){return ms}static set defaultNumberingSystem(e){ms=e}static get defaultOutputCalendar(){return ps}static set defaultOutputCalendar(e){ps=e}static get defaultWeekSettings(){return vs}static set defaultWeekSettings(e){vs=Sn(e)}static get twoDigitCutoffYear(){return gs}static set twoDigitCutoffYear(e){gs=e%100}static get throwOnInvalid(){return ys}static set throwOnInvalid(e){ys=e}static resetCaches(){N.resetCache(),ge.resetCache(),v.resetCache(),uc()}}class re{constructor(e,n){this.reason=e,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ji=[0,31,59,90,120,151,181,212,243,273,304,334],Yi=[0,31,60,91,121,152,182,213,244,274,305,335];function Q(t,e){return new re("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Wn(t,e,n){const s=new Date(Date.UTC(t,e-1,n));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const i=s.getUTCDay();return i===0?7:i}function Gi(t,e,n){return n+(mt(t)?Yi:ji)[e-1]}function Ji(t,e){const n=mt(t)?Yi:ji,s=n.findIndex(r=>rlt(s,e,n)?(c=s+1,l=1):c=s,{weekYear:c,weekNumber:l,weekday:a,...Ht(t)}}function ws(t,e=4,n=1){const{weekYear:s,weekNumber:i,weekday:r}=t,o=Vn(Wn(s,1,e),n),a=We(s);let l=i*7+r-o-7+e,c;l<1?(c=s-1,l+=We(c)):l>a?(c=s+1,l-=We(s)):c=s;const{month:u,day:h}=Ji(c,l);return{year:c,month:u,day:h,...Ht(t)}}function Kt(t){const{year:e,month:n,day:s}=t,i=Gi(e,n,s);return{year:e,ordinal:i,...Ht(t)}}function bs(t){const{year:e,ordinal:n}=t,{month:s,day:i}=Ji(e,n);return{year:e,month:s,day:i,...Ht(t)}}function Ss(t,e){if(!w(t.localWeekday)||!w(t.localWeekNumber)||!w(t.localWeekYear)){if(!w(t.weekday)||!w(t.weekNumber)||!w(t.weekYear))throw new Pe("Cannot mix locale-based week fields with ISO-based week fields");return w(t.localWeekday)||(t.weekday=t.localWeekday),w(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),w(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function dc(t,e=4,n=1){const s=Rt(t.weekYear),i=ee(t.weekNumber,1,lt(t.weekYear,e,n)),r=ee(t.weekday,1,7);return s?i?r?!1:Q("weekday",t.weekday):Q("week",t.weekNumber):Q("weekYear",t.weekYear)}function fc(t){const e=Rt(t.year),n=ee(t.ordinal,1,We(t.year));return e?n?!1:Q("ordinal",t.ordinal):Q("year",t.year)}function Xi(t){const e=Rt(t.year),n=ee(t.month,1,12),s=ee(t.day,1,It(t.year,t.month));return e?n?s?!1:Q("day",t.day):Q("month",t.month):Q("year",t.year)}function Ki(t){const{hour:e,minute:n,second:s,millisecond:i}=t,r=ee(e,0,23)||e===24&&n===0&&s===0&&i===0,o=ee(n,0,59),a=ee(s,0,59),l=ee(i,0,999);return r?o?a?l?!1:Q("millisecond",i):Q("second",s):Q("minute",n):Q("hour",e)}function w(t){return typeof t>"u"}function Ce(t){return typeof t=="number"}function Rt(t){return typeof t=="number"&&t%1===0}function hc(t){return typeof t=="string"}function mc(t){return Object.prototype.toString.call(t)==="[object Date]"}function Qi(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function er(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function pc(t){return Array.isArray(t)?t:[t]}function ks(t,e,n){if(t.length!==0)return t.reduce((s,i)=>{const r=[e(i),i];return s&&n(s[0],r[0])===s[0]?s:r},null)[1]}function gc(t,e){return e.reduce((n,s)=>(n[s]=t[s],n),{})}function ze(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Sn(t){if(t==null)return null;if(typeof t!="object")throw new U("Week settings must be an object");if(!ee(t.firstDay,1,7)||!ee(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!ee(e,1,7)))throw new U("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function ee(t,e,n){return Rt(t)&&t>=e&&t<=n}function yc(t,e){return t-e*Math.floor(t/e)}function F(t,e=2){const n=t<0;let s;return n?s="-"+(""+-t).padStart(e,"0"):s=(""+t).padStart(e,"0"),s}function Se(t){if(!(w(t)||t===null||t===""))return parseInt(t,10)}function Oe(t){if(!(w(t)||t===null||t===""))return parseFloat(t)}function zn(t){if(!(w(t)||t===null||t==="")){const e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function Rn(t,e,n="round"){const s=10**e;switch(n){case"expand":return t>0?Math.ceil(t*s)/s:Math.floor(t*s)/s;case"trunc":return Math.trunc(t*s)/s;case"round":return Math.round(t*s)/s;case"floor":return Math.floor(t*s)/s;case"ceil":return Math.ceil(t*s)/s;default:throw new RangeError(`Value rounding ${n} is out of range`)}}function mt(t){return t%4===0&&(t%100!==0||t%400===0)}function We(t){return mt(t)?366:365}function It(t,e){const n=yc(e-1,12)+1,s=t+(e-n)/12;return n===2?mt(s)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function Ut(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function _s(t,e,n){return-Vn(Wn(t,1,e),n)+e-1}function lt(t,e=4,n=1){const s=_s(t,e,n),i=_s(t+1,e,n);return(We(t)-s+i)/7}function kn(t){return t>99?t:t>L.twoDigitCutoffYear?1900+t:2e3+t}function tr(t,e,n,s=null){const i=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(n,o).formatToParts(i).find(l=>l.type.toLowerCase()==="timezonename");return a?a.value:null}function Bt(t,e){let n=parseInt(t,10);Number.isNaN(n)&&(n=0);const s=parseInt(e,10)||0,i=n<0||Object.is(n,-0)?-s:s;return n*60+i}function nr(t){const e=Number(t);if(typeof t=="boolean"||t===""||!Number.isFinite(e))throw new U(`Invalid unit value ${t}`);return e}function Dt(t,e){const n={};for(const s in t)if(ze(t,s)){const i=t[s];if(i==null)continue;n[e(s)]=nr(i)}return n}function nt(t,e){const n=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),i=t>=0?"+":"-";switch(e){case"short":return`${i}${F(n,2)}:${F(s,2)}`;case"narrow":return`${i}${n}${s>0?`:${s}`:""}`;case"techie":return`${i}${F(n,2)}${F(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ht(t){return gc(t,["hour","minute","second","millisecond"])}const vc=["January","February","March","April","May","June","July","August","September","October","November","December"],sr=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wc=["J","F","M","A","M","J","J","A","S","O","N","D"];function ir(t){switch(t){case"narrow":return[...wc];case"short":return[...sr];case"long":return[...vc];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const rr=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],or=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],bc=["M","T","W","T","F","S","S"];function ar(t){switch(t){case"narrow":return[...bc];case"short":return[...or];case"long":return[...rr];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const lr=["AM","PM"],Sc=["Before Christ","Anno Domini"],kc=["BC","AD"],_c=["B","A"];function cr(t){switch(t){case"narrow":return[..._c];case"short":return[...kc];case"long":return[...Sc];default:return null}}function Tc(t){return lr[t.hour<12?0:1]}function Cc(t,e){return ar(e)[t.weekday-1]}function Oc(t,e){return ir(e)[t.month-1]}function Nc(t,e){return cr(e)[t.year<0?0:1]}function Mc(t,e,n="always",s=!1){const i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=["hours","minutes","seconds"].indexOf(t)===-1;if(n==="auto"&&r){const h=t==="days";switch(e){case 1:return h?"tomorrow":`next ${i[t][0]}`;case-1:return h?"yesterday":`last ${i[t][0]}`;case 0:return h?"today":`this ${i[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),l=a===1,c=i[t],u=s?l?c[1]:c[2]||c[1]:l?i[t][0]:t;return o?`${a} ${u} ago`:`in ${a} ${u}`}function Ts(t,e){let n="";for(const s of t)s.literal?n+=s.val:n+=e(s.val);return n}const Ec={D:Mt,DD:Oi,DDD:Ni,DDDD:Mi,t:Ei,tt:Ii,ttt:Di,tttt:$i,T:xi,TT:Li,TTT:Fi,TTTT:Pi,f:Ai,ff:Vi,fff:Ri,ffff:Bi,F:Wi,FF:zi,FFF:Ui,FFFF:Hi};class B{static create(e,n={}){return new B(e,n)}static parseFormat(e){let n=null,s="",i=!1;const r=[];for(let o=0;o0||i)&&r.push({literal:i||/^\s+$/.test(s),val:s===""?"'":s}),n=null,s="",i=!i):i||a===n?s+=a:(s.length>0&&r.push({literal:/^\s+$/.test(s),val:s}),s=a,n=a)}return s.length>0&&r.push({literal:i||/^\s+$/.test(s),val:s}),r}static macroTokenToFormatOpts(e){return Ec[e]}constructor(e,n){this.opts=n,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,n){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...n}).format()}dtFormatter(e,n={}){return this.loc.dtFormatter(e,{...this.opts,...n})}formatDateTime(e,n){return this.dtFormatter(e,n).format()}formatDateTimeParts(e,n){return this.dtFormatter(e,n).formatToParts()}formatInterval(e,n){return this.dtFormatter(e.start,n).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,n){return this.dtFormatter(e,n).resolvedOptions()}num(e,n=0,s=void 0){if(this.opts.forceSimple)return F(e,n);const i={...this.opts};return n>0&&(i.padTo=n),s&&(i.signDisplay=s),this.loc.numberFormatter(i).format(e)}formatDateTimeFromString(e,n){const s=this.loc.listingMode()==="en",i=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",r=(d,b)=>this.loc.extract(e,d,b),o=d=>e.isOffsetFixed&&e.offset===0&&d.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,d.format):"",a=()=>s?Tc(e):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(d,b)=>s?Oc(e,d):r(b?{month:d}:{month:d,day:"numeric"},"month"),c=(d,b)=>s?Cc(e,d):r(b?{weekday:d}:{weekday:d,month:"long",day:"numeric"},"weekday"),u=d=>{const b=B.macroTokenToFormatOpts(d);return b?this.formatWithSystemDefault(e,b):d},h=d=>s?Nc(e,d):r({era:d},"era"),p=d=>{switch(d){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return o({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return o({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return o({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return a();case"d":return i?r({day:"numeric"},"day"):this.num(e.day);case"dd":return i?r({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return i?r({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return i?r({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return i?r({month:"numeric"},"month"):this.num(e.month);case"MM":return i?r({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return i?r({year:"numeric"},"year"):this.num(e.year);case"yy":return i?r({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return i?r({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return i?r({year:"numeric"},"year"):this.num(e.year,6);case"G":return h("short");case"GG":return h("long");case"GGGGG":return h("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return u(d)}};return Ts(B.parseFormat(n),p)}formatDurationFromString(e,n){const s=this.opts.signMode==="negativeLargestOnly"?-1:1,i=u=>{switch(u[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},r=(u,h)=>p=>{const d=i(p);if(d){const b=h.isNegativeDuration&&d!==h.largestUnit?s:1;let A;return this.opts.signMode==="negativeLargestOnly"&&d!==h.largestUnit?A="never":this.opts.signMode==="all"?A="always":A="auto",this.num(u.get(d)*b,p.length,A)}else return p},o=B.parseFormat(n),a=o.reduce((u,{literal:h,val:p})=>h?u:u.concat(p),[]),l=e.shiftTo(...a.map(i).filter(u=>u)),c={isNegativeDuration:l<0,largestUnit:Object.keys(l.values)[0]};return Ts(o,r(l,c))}}const ur=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Be(...t){const e=t.reduce((n,s)=>n+s.source,"");return RegExp(`^${e}$`)}function He(...t){return e=>t.reduce(([n,s,i],r)=>{const[o,a,l]=r(e,i);return[{...n,...o},a||s,l]},[{},null,1]).slice(0,2)}function Ze(t,...e){if(t==null)return[null,null];for(const[n,s]of e){const i=n.exec(t);if(i)return s(i)}return[null,null]}function dr(...t){return(e,n)=>{const s={};let i;for(i=0;id!==void 0&&(b||d&&u)?-d:d;return[{years:p(Oe(n)),months:p(Oe(s)),weeks:p(Oe(i)),days:p(Oe(r)),hours:p(Oe(o)),minutes:p(Oe(a)),seconds:p(Oe(l),l==="-0"),milliseconds:p(zn(c),h)}]}const Uc={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hn(t,e,n,s,i,r,o){const a={year:e.length===2?kn(Se(e)):Se(e),month:sr.indexOf(n)+1,day:Se(s),hour:Se(i),minute:Se(r)};return o&&(a.second=Se(o)),t&&(a.weekday=t.length>3?rr.indexOf(t)+1:or.indexOf(t)+1),a}const Bc=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Hc(t){const[,e,n,s,i,r,o,a,l,c,u,h]=t,p=Hn(e,i,s,n,r,o,a);let d;return l?d=Uc[l]:c?d=0:d=Bt(u,h),[p,new Z(d)]}function Zc(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const qc=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,jc=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Yc=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Cs(t){const[,e,n,s,i,r,o,a]=t;return[Hn(e,i,s,n,r,o,a),Z.utcInstance]}function Gc(t){const[,e,n,s,i,r,o,a]=t;return[Hn(e,a,n,s,i,r,o),Z.utcInstance]}const Jc=Be(Dc,Bn),Xc=Be($c,Bn),Kc=Be(xc,Bn),Qc=Be(hr),pr=He(Wc,qe,pt,gt),eu=He(Lc,qe,pt,gt),tu=He(Fc,qe,pt,gt),nu=He(qe,pt,gt);function su(t){return Ze(t,[Jc,pr],[Xc,eu],[Kc,tu],[Qc,nu])}function iu(t){return Ze(Zc(t),[Bc,Hc])}function ru(t){return Ze(t,[qc,Cs],[jc,Cs],[Yc,Gc])}function ou(t){return Ze(t,[zc,Rc])}const au=He(qe);function lu(t){return Ze(t,[Vc,au])}const cu=Be(Pc,Ac),uu=Be(mr),du=He(qe,pt,gt);function fu(t){return Ze(t,[cu,pr],[uu,du])}const Os="Invalid Duration",gr={weeks:{days:7,hours:168,minutes:10080,seconds:10080*60,milliseconds:10080*60*1e3},days:{hours:24,minutes:1440,seconds:1440*60,milliseconds:1440*60*1e3},hours:{minutes:60,seconds:3600,milliseconds:3600*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},hu={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:2184*60,seconds:2184*60*60,milliseconds:2184*60*60*1e3},months:{weeks:4,days:30,hours:720,minutes:720*60,seconds:720*60*60,milliseconds:720*60*60*1e3},...gr},X=146097/400,xe=146097/4800,mu={years:{quarters:4,months:12,weeks:X/7,days:X,hours:X*24,minutes:X*24*60,seconds:X*24*60*60,milliseconds:X*24*60*60*1e3},quarters:{months:3,weeks:X/28,days:X/4,hours:X*24/4,minutes:X*24*60/4,seconds:X*24*60*60/4,milliseconds:X*24*60*60*1e3/4},months:{weeks:xe/7,days:xe,hours:xe*24,minutes:xe*24*60,seconds:xe*24*60*60,milliseconds:xe*24*60*60*1e3},...gr},Me=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],pu=Me.slice(0).reverse();function me(t,e,n=!1){const s={values:n?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new T(s)}function yr(t,e){let n=e.milliseconds??0;for(const s of pu.slice(1))e[s]&&(n+=e[s]*t[s].milliseconds);return n}function Ns(t,e){const n=yr(t,e)<0?-1:1;Me.reduceRight((s,i)=>{if(w(e[i]))return s;if(s){const r=e[s]*n,o=t[i][s],a=Math.floor(r/o);e[i]+=a*n,e[s]-=a*o*n}return i},null),Me.reduce((s,i)=>{if(w(e[i]))return s;if(s){const r=e[s]%1;e[s]-=r,e[i]+=r*t[s][i]}return i},null)}function Ms(t){const e={};for(const[n,s]of Object.entries(t))s!==0&&(e[n]=s);return e}class T{constructor(e){const n=e.conversionAccuracy==="longterm"||!1;let s=n?mu:hu;e.matrix&&(s=e.matrix),this.values=e.values,this.loc=e.loc||N.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=s,this.isLuxonDuration=!0}static fromMillis(e,n){return T.fromObject({milliseconds:e},n)}static fromObject(e,n={}){if(e==null||typeof e!="object")throw new U(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new T({values:Dt(e,T.normalizeUnit),loc:N.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(e){if(Ce(e))return T.fromMillis(e);if(T.isDuration(e))return e;if(typeof e=="object")return T.fromObject(e);throw new U(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,n){const[s]=ou(e);return s?T.fromObject(s,n):T.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,n){const[s]=lu(e);return s?T.fromObject(s,n):T.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,n=null){if(!e)throw new U("need to specify a reason the Duration is invalid");const s=e instanceof re?e:new re(e,n);if(L.throwOnInvalid)throw new Rl(s);return new T({invalid:s})}static normalizeUnit(e){const n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!n)throw new Ci(e);return n}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,n={}){const s={...n,floor:n.round!==!1&&n.floor!==!1};return this.isValid?B.create(this.loc,s).formatDurationFromString(this,e):Os}toHuman(e={}){if(!this.isValid)return Os;const n=e.showZeros!==!1,s=Me.map(i=>{const r=this.values[i];return w(r)||r===0&&!n?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:i.slice(0,-1)}).format(r)}).filter(i=>i);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(s)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=Rn(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const n=this.toMillis();return n<0||n>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},v.fromMillis(n,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const n=T.fromDurationLike(e),s={};for(const i of Me)(ze(n.values,i)||ze(this.values,i))&&(s[i]=n.get(i)+this.get(i));return me(this,{values:s},!0)}minus(e){if(!this.isValid)return this;const n=T.fromDurationLike(e);return this.plus(n.negate())}mapUnits(e){if(!this.isValid)return this;const n={};for(const s of Object.keys(this.values))n[s]=nr(e(this.values[s],s));return me(this,{values:n},!0)}get(e){return this[T.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const n={...this.values,...Dt(e,T.normalizeUnit)};return me(this,{values:n})}reconfigure({locale:e,numberingSystem:n,conversionAccuracy:s,matrix:i}={}){const o={loc:this.loc.clone({locale:e,numberingSystem:n}),matrix:i,conversionAccuracy:s};return me(this,o)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return Ns(this.matrix,e),me(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=Ms(this.normalize().shiftToAll().toObject());return me(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(o=>T.normalizeUnit(o));const n={},s={},i=this.toObject();let r;for(const o of Me)if(e.indexOf(o)>=0){r=o;let a=0;for(const c in s)a+=this.matrix[c][o]*s[c],s[c]=0;Ce(i[o])&&(a+=i[o]);const l=Math.trunc(a);n[o]=l,s[o]=(a*1e3-l*1e3)/1e3}else Ce(i[o])&&(s[o]=i[o]);for(const o in s)s[o]!==0&&(n[r]+=o===r?s[o]:s[o]/this.matrix[r][o]);return Ns(this.matrix,n),me(this,{values:n},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const n of Object.keys(this.values))e[n]=this.values[n]===0?0:-this.values[n];return me(this,{values:e},!0)}removeZeros(){if(!this.isValid)return this;const e=Ms(this.values);return me(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function n(s,i){return s===void 0||s===0?i===void 0||i===0:s===i}for(const s of Me)if(!n(this.values[s],e.values[s]))return!1;return!0}}const Le="Invalid Interval";function gu(t,e){return!t||!t.isValid?x.invalid("missing or invalid start"):!e||!e.isValid?x.invalid("missing or invalid end"):ee:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:n}={}){return this.isValid?x.fromDateTimes(e||this.s,n||this.e):this}splitAt(...e){if(!this.isValid)return[];const n=e.map(Ge).filter(o=>this.contains(o)).sort((o,a)=>o.toMillis()-a.toMillis()),s=[];let{s:i}=this,r=0;for(;i+this.e?this.e:o;s.push(x.fromDateTimes(i,a)),i=a,r+=1}return s}splitBy(e){const n=T.fromDurationLike(e);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s}=this,i=1,r;const o=[];for(;sl*i));r=+a>+this.e?this.e:a,o.push(x.fromDateTimes(s,r)),s=r,i+=1}return o}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;const n=this.s>e.s?this.s:e.s,s=this.e=s?null:x.fromDateTimes(n,s)}union(e){if(!this.isValid)return this;const n=this.se.e?this.e:e.e;return x.fromDateTimes(n,s)}static merge(e){const[n,s]=e.sort((i,r)=>i.s-r.s).reduce(([i,r],o)=>r?r.overlaps(o)||r.abutsStart(o)?[i,r.union(o)]:[i.concat([r]),o]:[i,o],[[],null]);return s&&n.push(s),n}static xor(e){let n=null,s=0;const i=[],r=e.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),o=Array.prototype.concat(...r),a=o.sort((l,c)=>l.time-c.time);for(const l of a)s+=l.type==="s"?1:-1,s===1?n=l.time:(n&&+n!=+l.time&&i.push(x.fromDateTimes(n,l.time)),n=null);return x.merge(i)}difference(...e){return x.xor([this].concat(e)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Le}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=Mt,n={}){return this.isValid?B.create(this.s.loc.clone(n),e).formatInterval(this):Le}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Le}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Le}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Le}toFormat(e,{separator:n=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${n}${this.e.toFormat(e)}`:Le}toDuration(e,n){return this.isValid?this.e.diff(this.s,e,n):T.invalid(this.invalidReason)}mapEndpoints(e){return x.fromDateTimes(e(this.s),e(this.e))}}class vt{static hasDST(e=L.defaultZone){const n=v.now().setZone(e).set({month:12});return!e.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(e){return ge.isValidZone(e)}static normalizeZone(e){return ke(e,L.defaultZone)}static getStartOfWeek({locale:e=null,locObj:n=null}={}){return(n||N.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:n=null}={}){return(n||N.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:n=null}={}){return(n||N.create(e)).getWeekendDays().slice()}static months(e="long",{locale:n=null,numberingSystem:s=null,locObj:i=null,outputCalendar:r="gregory"}={}){return(i||N.create(n,s,r)).months(e)}static monthsFormat(e="long",{locale:n=null,numberingSystem:s=null,locObj:i=null,outputCalendar:r="gregory"}={}){return(i||N.create(n,s,r)).months(e,!0)}static weekdays(e="long",{locale:n=null,numberingSystem:s=null,locObj:i=null}={}){return(i||N.create(n,s,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:n=null,numberingSystem:s=null,locObj:i=null}={}){return(i||N.create(n,s,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return N.create(e).meridiems()}static eras(e="short",{locale:n=null}={}){return N.create(n,null,"gregory").eras(e)}static features(){return{relative:Qi(),localeWeek:er()}}}function Es(t,e){const n=i=>i.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=n(e)-n(t);return Math.floor(T.fromMillis(s).as("days"))}function yu(t,e,n){const s=[["years",(l,c)=>c.year-l.year],["quarters",(l,c)=>c.quarter-l.quarter+(c.year-l.year)*4],["months",(l,c)=>c.month-l.month+(c.year-l.year)*12],["weeks",(l,c)=>{const u=Es(l,c);return(u-u%7)/7}],["days",Es]],i={},r=t;let o,a;for(const[l,c]of s)n.indexOf(l)>=0&&(o=l,i[l]=c(t,e),a=r.plus(i),a>e?(i[l]--,t=r.plus(i),t>e&&(a=t,i[l]--,t=r.plus(i))):t=a);return[t,i,a,o]}function vu(t,e,n,s){let[i,r,o,a]=yu(t,e,n);const l=e-i,c=n.filter(h=>["hours","minutes","seconds","milliseconds"].indexOf(h)>=0);c.length===0&&(o0?T.fromMillis(l,s).shiftTo(...c).plus(u):u}const wu="missing Intl.DateTimeFormat.formatToParts support";function O(t,e=n=>n){return{regex:t,deser:([n])=>e(cc(n))}}const bu=" ",vr=`[ ${bu}]`,wr=new RegExp(vr,"g");function Su(t){return t.replace(/\./g,"\\.?").replace(wr,vr)}function Is(t){return t.replace(/\./g,"").replace(wr," ").toLowerCase()}function ie(t,e){return t===null?null:{regex:RegExp(t.map(Su).join("|")),deser:([n])=>t.findIndex(s=>Is(n)===Is(s))+e}}function Ds(t,e){return{regex:t,deser:([,n,s])=>Bt(n,s),groups:e}}function wt(t){return{regex:t,deser:([e])=>e}}function ku(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function _u(t,e){const n=se(e),s=se(e,"{2}"),i=se(e,"{3}"),r=se(e,"{4}"),o=se(e,"{6}"),a=se(e,"{1,2}"),l=se(e,"{1,3}"),c=se(e,"{1,6}"),u=se(e,"{1,9}"),h=se(e,"{2,4}"),p=se(e,"{4,6}"),d=$=>({regex:RegExp(ku($.val)),deser:([ne])=>ne,literal:!0}),A=($=>{if(t.literal)return d($);switch($.val){case"G":return ie(e.eras("short"),0);case"GG":return ie(e.eras("long"),0);case"y":return O(c);case"yy":return O(h,kn);case"yyyy":return O(r);case"yyyyy":return O(p);case"yyyyyy":return O(o);case"M":return O(a);case"MM":return O(s);case"MMM":return ie(e.months("short",!0),1);case"MMMM":return ie(e.months("long",!0),1);case"L":return O(a);case"LL":return O(s);case"LLL":return ie(e.months("short",!1),1);case"LLLL":return ie(e.months("long",!1),1);case"d":return O(a);case"dd":return O(s);case"o":return O(l);case"ooo":return O(i);case"HH":return O(s);case"H":return O(a);case"hh":return O(s);case"h":return O(a);case"mm":return O(s);case"m":return O(a);case"q":return O(a);case"qq":return O(s);case"s":return O(a);case"ss":return O(s);case"S":return O(l);case"SSS":return O(i);case"u":return wt(u);case"uu":return wt(a);case"uuu":return O(n);case"a":return ie(e.meridiems(),0);case"kkkk":return O(r);case"kk":return O(h,kn);case"W":return O(a);case"WW":return O(s);case"E":case"c":return O(n);case"EEE":return ie(e.weekdays("short",!1),1);case"EEEE":return ie(e.weekdays("long",!1),1);case"ccc":return ie(e.weekdays("short",!0),1);case"cccc":return ie(e.weekdays("long",!0),1);case"Z":case"ZZ":return Ds(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Ds(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return wt(/[a-z_+-/]{1,256}?/i);case" ":return wt(/[^\S\n\r]/);default:return d($)}})(t)||{invalidReason:wu};return A.token=t,A}const Tu={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function Cu(t,e,n){const{type:s,value:i}=t;if(s==="literal"){const l=/^\s+$/.test(i);return{literal:!l,val:l?" ":i}}const r=e[s];let o=s;s==="hour"&&(e.hour12!=null?o=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?o="hour12":o="hour24":o=n.hour12?"hour12":"hour24");let a=Tu[o];if(typeof a=="object"&&(a=a[r]),a)return{literal:!1,val:a}}function Ou(t){return[`^${t.map(n=>n.regex).reduce((n,s)=>`${n}(${s.source})`,"")}$`,t]}function Nu(t,e,n){const s=t.match(e);if(s){const i={};let r=1;for(const o in n)if(ze(n,o)){const a=n[o],l=a.groups?a.groups+1:1;!a.literal&&a.token&&(i[a.token.val[0]]=a.deser(s.slice(r,r+l))),r+=l}return[s,i]}else return[s,{}]}function Mu(t){const e=r=>{switch(r){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let n=null,s;return w(t.z)||(n=ge.create(t.z)),w(t.Z)||(n||(n=new Z(t.Z)),s=t.Z),w(t.q)||(t.M=(t.q-1)*3+1),w(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),w(t.u)||(t.S=zn(t.u)),[Object.keys(t).reduce((r,o)=>{const a=e(o);return a&&(r[a]=t[o]),r},{}),n,s]}let Qt=null;function Eu(){return Qt||(Qt=v.fromMillis(1555555555555)),Qt}function Iu(t,e){if(t.literal)return t;const n=B.macroTokenToFormatOpts(t.val),s=_r(n,e);return s==null||s.includes(void 0)?t:s}function br(t,e){return Array.prototype.concat(...t.map(n=>Iu(n,e)))}class Sr{constructor(e,n){if(this.locale=e,this.format=n,this.tokens=br(B.parseFormat(n),e),this.units=this.tokens.map(s=>_u(s,e)),this.disqualifyingUnit=this.units.find(s=>s.invalidReason),!this.disqualifyingUnit){const[s,i]=Ou(this.units);this.regex=RegExp(s,"i"),this.handlers=i}}explainFromTokens(e){if(this.isValid){const[n,s]=Nu(e,this.regex,this.handlers),[i,r,o]=s?Mu(s):[null,null,void 0];if(ze(s,"a")&&ze(s,"H"))throw new Pe("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:n,matches:s,result:i,zone:r,specificOffset:o}}else return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function kr(t,e,n){return new Sr(t,n).explainFromTokens(e)}function Du(t,e,n){const{result:s,zone:i,specificOffset:r,invalidReason:o}=kr(t,e,n);return[s,i,r,o]}function _r(t,e){if(!t)return null;const s=B.create(e,t).dtFormatter(Eu()),i=s.formatToParts(),r=s.resolvedOptions();return i.map(o=>Cu(o,t,r))}const en="Invalid DateTime",$s=864e13;function Ke(t){return new re("unsupported zone",`the zone "${t.name}" is not supported`)}function tn(t){return t.weekData===null&&(t.weekData=Et(t.c)),t.weekData}function nn(t){return t.localWeekData===null&&(t.localWeekData=Et(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Ne(t,e){const n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new v({...n,...e,old:n})}function Tr(t,e,n){let s=t-e*60*1e3;const i=n.offset(s);if(e===i)return[s,e];s-=(i-e)*60*1e3;const r=n.offset(s);return i===r?[s,i]:[t-Math.min(i,r)*60*1e3,Math.max(i,r)]}function bt(t,e){t+=e*60*1e3;const n=new Date(t);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Tt(t,e,n){return Tr(Ut(t),e,n)}function xs(t,e){const n=t.o,s=t.c.year+Math.trunc(e.years),i=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,r={...t.c,year:s,month:i,day:Math.min(t.c.day,It(s,i))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},o=T.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ut(r);let[l,c]=Tr(a,n,t.zone);return o!==0&&(l+=o,c=t.zone.offset(l)),{ts:l,o:c}}function Fe(t,e,n,s,i,r){const{setZone:o,zone:a}=n;if(t&&Object.keys(t).length!==0||e){const l=e||a,c=v.fromObject(t,{...n,zone:l,specificOffset:r});return o?c:c.setZone(a)}else return v.invalid(new re("unparsable",`the input "${i}" can't be parsed as ${s}`))}function St(t,e,n=!0){return t.isValid?B.create(N.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function sn(t,e,n){const s=t.c.year>9999||t.c.year<0;let i="";if(s&&t.c.year>=0&&(i+="+"),i+=F(t.c.year,s?6:4),n==="year")return i;if(e){if(i+="-",i+=F(t.c.month),n==="month")return i;i+="-"}else if(i+=F(t.c.month),n==="month")return i;return i+=F(t.c.day),i}function Ls(t,e,n,s,i,r,o){let a=!n||t.c.millisecond!==0||t.c.second!==0,l="";switch(o){case"day":case"month":case"year":break;default:if(l+=F(t.c.hour),o==="hour")break;if(e){if(l+=":",l+=F(t.c.minute),o==="minute")break;a&&(l+=":",l+=F(t.c.second))}else{if(l+=F(t.c.minute),o==="minute")break;a&&(l+=F(t.c.second))}if(o==="second")break;a&&(!s||t.c.millisecond!==0)&&(l+=".",l+=F(t.c.millisecond,3))}return i&&(t.isOffsetFixed&&t.offset===0&&!r?l+="Z":t.o<0?(l+="-",l+=F(Math.trunc(-t.o/60)),l+=":",l+=F(Math.trunc(-t.o%60))):(l+="+",l+=F(Math.trunc(t.o/60)),l+=":",l+=F(Math.trunc(t.o%60)))),r&&(l+="["+t.zone.ianaName+"]"),l}const Cr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},$u={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},xu={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Ct=["year","month","day","hour","minute","second","millisecond"],Lu=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Fu=["year","ordinal","hour","minute","second","millisecond"];function Ot(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ci(t);return e}function Fs(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return Ot(t)}}function Pu(t){if(Qe===void 0&&(Qe=L.now()),t.type!=="iana")return t.offset(Qe);const e=t.name;let n=_n.get(e);return n===void 0&&(n=t.offset(Qe),_n.set(e,n)),n}function Ps(t,e){const n=ke(e.zone,L.defaultZone);if(!n.isValid)return v.invalid(Ke(n));const s=N.fromObject(e);let i,r;if(w(t.year))i=L.now();else{for(const l of Ct)w(t[l])&&(t[l]=Cr[l]);const o=Xi(t)||Ki(t);if(o)return v.invalid(o);const a=Pu(n);[i,r]=Tt(t,a,n)}return new v({ts:i,zone:n,loc:s,o:r})}function As(t,e,n){const s=w(n.round)?!0:n.round,i=w(n.rounding)?"trunc":n.rounding,r=(a,l)=>(a=Rn(a,s||n.calendary?0:2,n.calendary?"round":i),e.loc.clone(n).relFormatter(n).format(a,l)),o=a=>n.calendary?e.hasSame(t,a)?0:e.startOf(a).diff(t.startOf(a),a).get(a):e.diff(t,a).get(a);if(n.unit)return r(o(n.unit),n.unit);for(const a of n.units){const l=o(a);if(Math.abs(l)>=1)return r(l,a)}return r(t>e?-0:0,n.units[n.units.length-1])}function Ws(t){let e={},n;return t.length>0&&typeof t[t.length-1]=="object"?(e=t[t.length-1],n=Array.from(t).slice(0,t.length-1)):n=Array.from(t),[e,n]}let Qe;const _n=new Map;class v{constructor(e){const n=e.zone||L.defaultZone;let s=e.invalid||(Number.isNaN(e.ts)?new re("invalid input"):null)||(n.isValid?null:Ke(n));this.ts=w(e.ts)?L.now():e.ts;let i=null,r=null;if(!s)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(n))[i,r]=[e.old.c,e.old.o];else{const a=Ce(e.o)&&!e.old?e.o:n.offset(this.ts);i=bt(this.ts,a),s=Number.isNaN(i.year)?new re("invalid input"):null,i=s?null:i,r=s?null:a}this._zone=n,this.loc=e.loc||N.create(),this.invalid=s,this.weekData=null,this.localWeekData=null,this.c=i,this.o=r,this.isLuxonDateTime=!0}static now(){return new v({})}static local(){const[e,n]=Ws(arguments),[s,i,r,o,a,l,c]=n;return Ps({year:s,month:i,day:r,hour:o,minute:a,second:l,millisecond:c},e)}static utc(){const[e,n]=Ws(arguments),[s,i,r,o,a,l,c]=n;return e.zone=Z.utcInstance,Ps({year:s,month:i,day:r,hour:o,minute:a,second:l,millisecond:c},e)}static fromJSDate(e,n={}){const s=mc(e)?e.valueOf():NaN;if(Number.isNaN(s))return v.invalid("invalid input");const i=ke(n.zone,L.defaultZone);return i.isValid?new v({ts:s,zone:i,loc:N.fromObject(n)}):v.invalid(Ke(i))}static fromMillis(e,n={}){if(Ce(e))return e<-$s||e>$s?v.invalid("Timestamp out of range"):new v({ts:e,zone:ke(n.zone,L.defaultZone),loc:N.fromObject(n)});throw new U(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,n={}){if(Ce(e))return new v({ts:e*1e3,zone:ke(n.zone,L.defaultZone),loc:N.fromObject(n)});throw new U("fromSeconds requires a numerical input")}static fromObject(e,n={}){e=e||{};const s=ke(n.zone,L.defaultZone);if(!s.isValid)return v.invalid(Ke(s));const i=N.fromObject(n),r=Dt(e,Fs),{minDaysInFirstWeek:o,startOfWeek:a}=Ss(r,i),l=L.now(),c=w(n.specificOffset)?s.offset(l):n.specificOffset,u=!w(r.ordinal),h=!w(r.year),p=!w(r.month)||!w(r.day),d=h||p,b=r.weekYear||r.weekNumber;if((d||u)&&b)throw new Pe("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(p&&u)throw new Pe("Can't mix ordinal dates with month/day");const A=b||r.weekday&&!d;let $,ne,Y=bt(l,c);A?($=Lu,ne=$u,Y=Et(Y,o,a)):u?($=Fu,ne=xu,Y=Kt(Y)):($=Ct,ne=Cr);let J=!1;for(const le of $){const D=r[le];w(D)?J?r[le]=ne[le]:r[le]=Y[le]:J=!0}const we=A?dc(r,o,a):u?fc(r):Xi(r),ae=we||Ki(r);if(ae)return v.invalid(ae);const ue=A?ws(r,o,a):u?bs(r):r,[de,je]=Tt(ue,c,s),q=new v({ts:de,zone:s,o:je,loc:i});return r.weekday&&d&&e.weekday!==q.weekday?v.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${q.toISO()}`):q.isValid?q:v.invalid(q.invalid)}static fromISO(e,n={}){const[s,i]=su(e);return Fe(s,i,n,"ISO 8601",e)}static fromRFC2822(e,n={}){const[s,i]=iu(e);return Fe(s,i,n,"RFC 2822",e)}static fromHTTP(e,n={}){const[s,i]=ru(e);return Fe(s,i,n,"HTTP",n)}static fromFormat(e,n,s={}){if(w(e)||w(n))throw new U("fromFormat requires an input string and a format");const{locale:i=null,numberingSystem:r=null}=s,o=N.fromOpts({locale:i,numberingSystem:r,defaultToEN:!0}),[a,l,c,u]=Du(o,e,n);return u?v.invalid(u):Fe(a,l,s,`format ${n}`,e,c)}static fromString(e,n,s={}){return v.fromFormat(e,n,s)}static fromSQL(e,n={}){const[s,i]=fu(e);return Fe(s,i,n,"SQL",e)}static invalid(e,n=null){if(!e)throw new U("need to specify a reason the DateTime is invalid");const s=e instanceof re?e:new re(e,n);if(L.throwOnInvalid)throw new Vl(s);return new v({invalid:s})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,n={}){const s=_r(e,N.fromObject(n));return s?s.map(i=>i?i.val:null).join(""):null}static expandFormat(e,n={}){return br(B.parseFormat(e),N.fromObject(n)).map(i=>i.val).join("")}static resetCache(){Qe=void 0,_n.clear()}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?tn(this).weekYear:NaN}get weekNumber(){return this.isValid?tn(this).weekNumber:NaN}get weekday(){return this.isValid?tn(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?nn(this).weekday:NaN}get localWeekNumber(){return this.isValid?nn(this).weekNumber:NaN}get localWeekYear(){return this.isValid?nn(this).weekYear:NaN}get ordinal(){return this.isValid?Kt(this.c).ordinal:NaN}get monthShort(){return this.isValid?vt.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?vt.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?vt.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?vt.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const e=864e5,n=6e4,s=Ut(this.c),i=this.zone.offset(s-e),r=this.zone.offset(s+e),o=this.zone.offset(s-i*n),a=this.zone.offset(s-r*n);if(o===a)return[this];const l=s-o*n,c=s-a*n,u=bt(l,o),h=bt(c,a);return u.hour===h.hour&&u.minute===h.minute&&u.second===h.second&&u.millisecond===h.millisecond?[Ne(this,{ts:l}),Ne(this,{ts:c})]:[this]}get isInLeapYear(){return mt(this.year)}get daysInMonth(){return It(this.year,this.month)}get daysInYear(){return this.isValid?We(this.year):NaN}get weeksInWeekYear(){return this.isValid?lt(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?lt(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:n,numberingSystem:s,calendar:i}=B.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:n,numberingSystem:s,outputCalendar:i}}toUTC(e=0,n={}){return this.setZone(Z.instance(e),n)}toLocal(){return this.setZone(L.defaultZone)}setZone(e,{keepLocalTime:n=!1,keepCalendarTime:s=!1}={}){if(e=ke(e,L.defaultZone),e.equals(this.zone))return this;if(e.isValid){let i=this.ts;if(n||s){const r=e.offset(this.ts),o=this.toObject();[i]=Tt(o,r,e)}return Ne(this,{ts:i,zone:e})}else return v.invalid(Ke(e))}reconfigure({locale:e,numberingSystem:n,outputCalendar:s}={}){const i=this.loc.clone({locale:e,numberingSystem:n,outputCalendar:s});return Ne(this,{loc:i})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const n=Dt(e,Fs),{minDaysInFirstWeek:s,startOfWeek:i}=Ss(n,this.loc),r=!w(n.weekYear)||!w(n.weekNumber)||!w(n.weekday),o=!w(n.ordinal),a=!w(n.year),l=!w(n.month)||!w(n.day),c=a||l,u=n.weekYear||n.weekNumber;if((c||o)&&u)throw new Pe("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&o)throw new Pe("Can't mix ordinal dates with month/day");let h;r?h=ws({...Et(this.c,s,i),...n},s,i):w(n.ordinal)?(h={...this.toObject(),...n},w(n.day)&&(h.day=Math.min(It(h.year,h.month),h.day))):h=bs({...Kt(this.c),...n});const[p,d]=Tt(h,this.o,this.zone);return Ne(this,{ts:p,o:d})}plus(e){if(!this.isValid)return this;const n=T.fromDurationLike(e);return Ne(this,xs(this,n))}minus(e){if(!this.isValid)return this;const n=T.fromDurationLike(e).negate();return Ne(this,xs(this,n))}startOf(e,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const s={},i=T.normalizeUnit(e);switch(i){case"years":s.month=1;case"quarters":case"months":s.day=1;case"weeks":case"days":s.hour=0;case"hours":s.minute=0;case"minutes":s.second=0;case"seconds":s.millisecond=0;break}if(i==="weeks")if(n){const r=this.loc.getStartOfWeek(),{weekday:o}=this;o=3&&(l+="T"),l+=Ls(this,a,n,s,i,r,o),l}toISODate({format:e="extended",precision:n="day"}={}){return this.isValid?sn(this,e==="extended",Ot(n)):null}toISOWeekDate(){return St(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:n=!1,includeOffset:s=!0,includePrefix:i=!1,extendedZone:r=!1,format:o="extended",precision:a="milliseconds"}={}){return this.isValid?(a=Ot(a),(i&&Ct.indexOf(a)>=3?"T":"")+Ls(this,o==="extended",n,e,s,r,a)):null}toRFC2822(){return St(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return St(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?sn(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:n=!1,includeOffsetSpace:s=!0}={}){let i="HH:mm:ss.SSS";return(n||e)&&(s&&(i+=" "),n?i+="z":e&&(i+="ZZ")),St(this,i,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():en}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};const n={...this.c};return e.includeConfig&&(n.outputCalendar=this.outputCalendar,n.numberingSystem=this.loc.numberingSystem,n.locale=this.loc.locale),n}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,n="milliseconds",s={}){if(!this.isValid||!e.isValid)return T.invalid("created by diffing an invalid DateTime");const i={locale:this.locale,numberingSystem:this.numberingSystem,...s},r=pc(n).map(T.normalizeUnit),o=e.valueOf()>this.valueOf(),a=o?this:e,l=o?e:this,c=vu(a,l,r,i);return o?c.negate():c}diffNow(e="milliseconds",n={}){return this.diff(v.now(),e,n)}until(e){return this.isValid?x.fromDateTimes(this,e):this}hasSame(e,n,s){if(!this.isValid)return!1;const i=e.valueOf(),r=this.setZone(e.zone,{keepLocalTime:!0});return r.startOf(n,s)<=i&&i<=r.endOf(n,s)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const n=e.base||v.fromObject({},{zone:this.zone}),s=e.padding?thisn.valueOf(),Math.min)}static max(...e){if(!e.every(v.isDateTime))throw new U("max requires all arguments be DateTimes");return ks(e,n=>n.valueOf(),Math.max)}static fromFormatExplain(e,n,s={}){const{locale:i=null,numberingSystem:r=null}=s,o=N.fromOpts({locale:i,numberingSystem:r,defaultToEN:!0});return kr(o,e,n)}static fromStringExplain(e,n,s={}){return v.fromFormatExplain(e,n,s)}static buildFormatParser(e,n={}){const{locale:s=null,numberingSystem:i=null}=n,r=N.fromOpts({locale:s,numberingSystem:i,defaultToEN:!0});return new Sr(r,e)}static fromFormatParser(e,n,s={}){if(w(e)||w(n))throw new U("fromFormatParser requires an input string and a format parser");const{locale:i=null,numberingSystem:r=null}=s,o=N.fromOpts({locale:i,numberingSystem:r,defaultToEN:!0});if(!o.equals(n.locale))throw new U(`fromFormatParser called with a locale of ${o}, but the format parser was created for ${n.locale}`);const{result:a,zone:l,specificOffset:c,invalidReason:u}=n.explainFromTokens(e);return u?v.invalid(u):Fe(a,l,s,`format ${n.format}`,e,c)}static get DATE_SHORT(){return Mt}static get DATE_MED(){return Oi}static get DATE_MED_WITH_WEEKDAY(){return Ul}static get DATE_FULL(){return Ni}static get DATE_HUGE(){return Mi}static get TIME_SIMPLE(){return Ei}static get TIME_WITH_SECONDS(){return Ii}static get TIME_WITH_SHORT_OFFSET(){return Di}static get TIME_WITH_LONG_OFFSET(){return $i}static get TIME_24_SIMPLE(){return xi}static get TIME_24_WITH_SECONDS(){return Li}static get TIME_24_WITH_SHORT_OFFSET(){return Fi}static get TIME_24_WITH_LONG_OFFSET(){return Pi}static get DATETIME_SHORT(){return Ai}static get DATETIME_SHORT_WITH_SECONDS(){return Wi}static get DATETIME_MED(){return Vi}static get DATETIME_MED_WITH_SECONDS(){return zi}static get DATETIME_MED_WITH_WEEKDAY(){return Bl}static get DATETIME_FULL(){return Ri}static get DATETIME_FULL_WITH_SECONDS(){return Ui}static get DATETIME_HUGE(){return Bi}static get DATETIME_HUGE_WITH_SECONDS(){return Hi}}function Ge(t){if(v.isDateTime(t))return t;if(t&&t.valueOf&&Ce(t.valueOf()))return v.fromJSDate(t);if(t&&typeof t=="object")return v.fromObject(t);throw new U(`Unknown datetime argument: ${t}, of type ${typeof t}`)}const Au={},Wu={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"aioseo-logo-gear"};function Vu(t,e){return g(),S("svg",Wu,[...e[0]||(e[0]=[m("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10 20C15.5228 20 20 15.5228 20 10C20 4.47715 15.5228 0 10 0C4.47716 0 0 4.47715 0 10C0 15.5228 4.47716 20 10 20ZM8.40767 3.65998C8.27222 3.45353 8.02129 3.357 7.79121 3.43828C7.52913 3.53087 7.27279 3.63976 7.02373 3.76429C6.80511 3.87361 6.69542 4.12332 6.74355 4.36686L6.91501 5.23457C6.95914 5.45792 6.86801 5.68459 6.69498 5.82859C6.42152 6.05617 6.16906 6.31347 5.94287 6.59826C5.80229 6.77526 5.58046 6.86908 5.36142 6.82484L4.51082 6.653C4.27186 6.60473 4.02744 6.71767 3.92115 6.94133C3.86111 7.06769 3.80444 7.19669 3.75129 7.32826C3.69815 7.45983 3.64929 7.59212 3.60464 7.72495C3.52562 7.96007 3.62107 8.21596 3.82396 8.35351L4.54621 8.84316C4.73219 8.96925 4.82481 9.19531 4.80234 9.42199C4.7662 9.78671 4.76767 10.1508 4.80457 10.5089C4.82791 10.7355 4.73605 10.9619 4.55052 11.0886L3.82966 11.5811C3.62734 11.7193 3.53274 11.9753 3.61239 12.2101C3.70314 12.4775 3.80985 12.7391 3.93188 12.9932C4.03901 13.2163 4.28373 13.3282 4.5224 13.2791L5.37279 13.1042C5.59165 13.0591 5.8138 13.1521 5.95491 13.3287C6.17794 13.6077 6.43009 13.8653 6.70918 14.0961C6.88264 14.2396 6.97459 14.4659 6.93122 14.6894L6.76282 15.5574C6.71551 15.8013 6.8262 16.0507 7.04538 16.1591C7.16921 16.2204 7.29563 16.2782 7.42457 16.3324C7.55352 16.3867 7.68316 16.4365 7.81334 16.4821C8.19418 16.6154 8.72721 16.1383 9.1213 15.7855C9.31563 15.6116 9.4355 15.3654 9.43677 15.1018C9.43677 15.1004 9.43678 15.099 9.43678 15.0976L9.43677 13.6462C9.43677 13.6308 9.43736 13.6155 9.43852 13.6004C8.27454 13.3165 7.40918 12.248 7.40918 10.9732V9.43198C7.40918 9.31483 7.50224 9.21986 7.61706 9.21986H8.338V7.70343C8.338 7.49405 8.50433 7.32432 8.70952 7.32432C8.9147 7.32432 9.08105 7.49405 9.08105 7.70343V9.21986H11.0316V7.70343C11.0316 7.49405 11.1979 7.32432 11.4031 7.32432C11.6083 7.32432 11.7746 7.49405 11.7746 7.70343V9.21986H12.4956C12.6104 9.21986 12.7034 9.31483 12.7034 9.43198V10.9732C12.7034 12.2883 11.7825 13.3838 10.5628 13.625C10.5631 13.632 10.5632 13.6391 10.5632 13.6462L10.5632 15.0914C10.5632 15.36 10.6867 15.6107 10.8868 15.7853C11.2879 16.1351 11.8302 16.6079 12.2088 16.4742C12.4708 16.3816 12.7272 16.2727 12.9762 16.1482C13.1949 16.0389 13.3046 15.7891 13.2564 15.5456L13.085 14.6779C13.0408 14.4545 13.132 14.2278 13.305 14.0838C13.5785 13.8563 13.8309 13.599 14.0571 13.3142C14.1977 13.1372 14.4195 13.0434 14.6385 13.0876L15.4892 13.2595C15.7281 13.3077 15.9725 13.1948 16.0788 12.9711C16.1389 12.8448 16.1955 12.7158 16.2487 12.5842C16.3018 12.4526 16.3507 12.3204 16.3953 12.1875C16.4744 11.9524 16.3789 11.6965 16.176 11.559L15.4537 11.0693C15.2678 10.9432 15.1752 10.7171 15.1976 10.4905C15.2338 10.1258 15.2323 9.76167 15.1954 9.40357C15.1721 9.17699 15.2639 8.95062 15.4495 8.82387L16.1703 8.33141C16.3726 8.1932 16.4672 7.93715 16.3876 7.70238C16.2968 7.43495 16.1901 7.17337 16.0681 6.91924C15.961 6.69615 15.7162 6.58422 15.4776 6.63333L14.6272 6.8083C14.4083 6.85333 14.1862 6.76033 14.0451 6.58377C13.822 6.30474 13.5699 6.04713 13.2908 5.81632C13.1173 5.67287 13.0254 5.44652 13.0688 5.22301L13.2372 4.35503C13.2845 4.11121 13.1738 3.86179 12.9546 3.75334C12.8308 3.69208 12.7043 3.63424 12.5754 3.58002C12.4465 3.52579 12.3168 3.47593 12.1866 3.43037C11.9562 3.34974 11.7055 3.44713 11.5707 3.65416L11.0908 4.39115C10.9672 4.58093 10.7457 4.67543 10.5235 4.65251C10.1661 4.61563 9.80932 4.61712 9.45837 4.65477C9.23633 4.6786 9.01448 4.58486 8.89027 4.39554L8.40767 3.65998Z",fill:"currentColor"},null,-1)])])}const zu=j(Au,[["render",Vu]]),Vs="broken-link-checker-seo",Ru={setup(){return{rootStore:Mn()}},components:{SvgAioseoLogoGear:zu},data(){return{strings:{boldText:_e("%1$s %2$s","BLC",this.rootStore.isPro?"Pro":""),linkText:y("Click here to learn more",Vs)}}},computed:{link(){return _e('%2$s',Nn.getDocUrl("restApi"),this.strings.linkText)},upgradeText(){return _e(y("%1$s relies on the WordPress Rest API and your site might have it disabled. %2$s.",Vs),this.strings.boldText,this.link)}},mounted(){document.body.classList.add("aioseo-has-bar")},beforeUnmount(){document.body.classList.remove("aioseo-has-bar")}},Uu={class:"aioseo-api-bar"},Bu={class:"upgrade-text"},Hu=["innerHTML"];function Zu(t,e,n,s,i,r){const o=C("svg-aioseo-logo-gear");return g(),S("div",Uu,[m("div",Bu,[_(o),m("div",{innerHTML:r.upgradeText},null,8,Hu)])])}const qu=j(Ru,[["render",Zu]]),ju={components:{UtilAnimatedNumber:mo},props:{percentage:Number},data(){return{fromNumber:0,number:0}},watch:{percentage:{deep:!0,handler(t){t!==this.number&&(this.fromNumber=this.number,this.number=t)}}},mounted(){this.number=this.percentage}},Yu={class:"aioseo-percent-circle"},Gu={viewBox:"0 0 33.83098862 33.83098862",xmlns:"http://www.w3.org/2000/svg"},Ju=["stroke-dasharray"],Xu={class:"aioseo-percent-circle-percent"};function Ku(t,e,n,s,i,r){const o=C("util-animated-number");return g(),S("div",Yu,[_(Ee,{name:"fill-percent-circle"},{default:E(()=>[(g(),S("svg",Gu,[e[0]||(e[0]=m("circle",{class:"aioseo-percent-circle-score__background",stroke:"#BFD6F7","stroke-width":"2",fill:"none",cx:"16.91549431",cy:"16.91549431",r:"15.91549431"},null,-1)),m("circle",{class:"aioseo-percent-circle-score__circle",stroke:"#005AE0","stroke-width":"2","stroke-dasharray":`${n.percentage},100`,fill:"none",cx:"16.91549431",cy:"16.91549431",r:"15.91549431"},null,8,Ju)]))]),_:1}),m("div",Xu,[m("div",null,[_(o,{number:i.number,"from-number":i.fromNumber},null,8,["number","from-number"]),e[1]||(e[1]=R("% ",-1))])])])}const Or=j(ju,[["render",Ku]]),Qu={emits:["close"],components:{CorePercentCircle:Or,SvgClose:ai},props:{strings:Object,percentage:Number}},ed={class:"aioseo-processing-popup"};function td(t,e,n,s,i,r){const o=C("core-percent-circle"),a=C("svg-close");return g(),S("div",ed,[_(o,{percentage:n.percentage},null,8,["percentage"]),m("div",null,[m("strong",null,k(n.strings.header),1),e[1]||(e[1]=m("br",null,null,-1)),R(k(n.strings.description),1)]),_(a,{onClick:e[0]||(e[0]=l=>t.$emit("close"))})])}const nd=j(Qu,[["render",td]]),sd={props:{hero:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},fullWidth:Boolean,small:Boolean},computed:{classes(){let t=this.fluid?"aioseo-container-fluid ":"aioseo-container ";return t+=this.hero?"aioseo-hero ":"",t+=this.fullWidth?"full-width ":"",t+=this.small?"small ":"",t}}};function id(t,e,n,s,i,r){return g(),S("div",{class:te(r.classes)},[ce(t.$slots,"default")],2)}const Nr=j(sd,[["render",id]]),rd={},od={viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"aioseo-notifications"};function ad(t,e){return g(),S("svg",od,[...e[0]||(e[0]=[m("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.8333 2.5H4.16667C3.25 2.5 2.5 3.25 2.5 4.16667V15.8333C2.5 16.75 3.24167 17.5 4.16667 17.5H15.8333C16.75 17.5 17.5 16.75 17.5 15.8333V4.16667C17.5 3.25 16.75 2.5 15.8333 2.5ZM15.8333 15.8333H4.16667V13.3333H7.13333C7.70833 14.325 8.775 15 10.0083 15C11.2417 15 12.3 14.325 12.8833 13.3333H15.8333V15.8333ZM11.675 11.6667H15.8333V4.16667H4.16667V11.6667H8.34167C8.34167 12.5833 9.09167 13.3333 10.0083 13.3333C10.925 13.3333 11.675 12.5833 11.675 11.6667Z",fill:"currentColor"},null,-1)])])}const ld=j(rd,[["render",ad]]),kt="broken-link-checker-seo",cd={setup(){return{licenseStore:go(),notificationsStore:ct(),scansStore:Jr(),rootStore:Lt()}},components:{CoreApiBar:qu,CorePercentCircle:Or,CoreProcessingPopup:nd,GridContainer:Nr,SvgLogo:po,SvgNotifications:ld},props:{fullWidth:Boolean,small:Boolean,pageName:String,actions:{type:Boolean,default(){return!0}},upgradeBar:{type:Boolean,default(){return!0}}},data(){return{activeScan:"",strings:{popups:{links:{header:y("Posts are being scanned for links",kt),description:y("Depending on the number of posts being scanned, this process can take some time. You can safely leave this page and check back later.",kt)},linkStatuses:{header:y("Links are being checked for the first time",kt),description:y("Depending on the number of links that need to be checked, this process can take some time. You can safely leave this page and check back later.",kt)}}}}},computed:{percentage(){return this.activeScan?this.scansStore.scans.percentages[this.activeScan]:100},showPopup(){return this.scansStore.scans.show[this.activeScan]&&this.scansStore.scans.percentages[this.activeScan]!==100},popupStrings(){return this.strings.popups[this.activeScan]}},methods:{debounce(t){let e;return(...n)=>{e&&cancelAnimationFrame(e),e=requestAnimationFrame(()=>{t(...n)})}},storeScroll(){document.documentElement.dataset.scroll=window.scrollY},toggleModal(){document.getElementById("aioseo-help-modal").classList.toggle("visible"),document.body.classList.toggle("modal-open")},checkForActiveScan(){this.rootStore.aioseoBrokenLinkChecker.page!=="links"||this.$route.name!=="broken-links"||(this.scansStore.scans.percentages.links!==100&&(this.activeScan="links",this.scansStore.pollScan("links"),this.togglePopup()),this.scansStore.scans.percentages.linkStatuses!==100&&(this.activeScan="linkStatuses",this.scansStore.pollScan("linkStatuses"),this.togglePopup()))},togglePopup(){this.scansStore.scans.show[this.activeScan]=!this.scansStore.scans.show[this.activeScan]}},mounted(){this.storeScroll(),document.addEventListener("scroll",this.debounce(this.storeScroll),{passive:!0}),this.licenseStore.isUnlicensed?window.aioseoBrokenLinkCheckerBus.$on("checkForActiveScan",()=>{this.checkForActiveScan()}):this.checkForActiveScan()}},ud={class:"aioseo-header"},dd={class:"aioseo-header-content"},fd={class:"logo"},hd={key:0,class:"header-actions"},md={key:0,class:"round number"};function pd(t,e,n,s,i,r){const o=C("core-api-bar"),a=C("svg-logo"),l=C("core-percent-circle"),c=C("core-processing-popup"),u=C("svg-notifications"),h=C("grid-container");return g(),S("div",ud,[s.rootStore.pong?M("",!0):(g(),H(o,{key:0})),_(h,{"full-width":n.fullWidth,small:n.small},{default:E(()=>[m("div",dd,[m("div",fd,[_(a)]),n.actions?(g(),S("div",hd,[_(Ee,{name:"fade-percent-circle"},{default:E(()=>[i.activeScan&&parseInt(r.percentage)!==100?(g(),H(l,{key:0,percentage:r.percentage,onClick:r.togglePopup},null,8,["percentage","onClick"])):M("",!0)]),_:1}),_(Ee,{name:"fade-processing-popup"},{default:E(()=>[r.showPopup?(g(),H(c,{key:0,strings:r.popupStrings,percentage:r.percentage,onClose:r.togglePopup},null,8,["strings","percentage","onClose"])):M("",!0)]),_:1}),m("span",{class:"round",onClick:e[0]||(e[0]=z((...p)=>s.notificationsStore.toggleNotifications&&s.notificationsStore.toggleNotifications(...p),["stop"]))},[s.notificationsStore.activeNotificationsCount?(g(),S("span",md,k(s.notificationsStore.activeNotificationsCount>9?"!":s.notificationsStore.activeNotificationsCount),1)):M("",!0),_(u,{onClick:z(s.notificationsStore.toggleNotifications,["stop"])},null,8,["onClick"])])])):M("",!0)])]),_:1},8,["full-width","small"])])}const gd=j(cd,[["render",pd]]),yd={locks:{},zIndex:2e3,enableRipple:!0};var Mr=ti(yd),vd=Object.defineProperty,wd=Object.defineProperties,bd=Object.getOwnPropertyDescriptors,zs=Object.getOwnPropertySymbols,Sd=Object.prototype.hasOwnProperty,kd=Object.prototype.propertyIsEnumerable,Rs=(t,e,n)=>e in t?vd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,_d=(t,e)=>{for(var n in e||(e={}))Sd.call(e,n)&&Rs(t,n,e[n]);if(zs)for(var n of zs(e))kd.call(e,n)&&Rs(t,n,e[n]);return t},Td=(t,e)=>wd(t,bd(e)),ve=t=>typeof t=="string",Cd=t=>typeof t=="boolean",Zn=t=>typeof t=="number",Er=t=>Zn(t)||ve(t)&&/^[-+]?\d+$/.test(t),Od=t=>Object.prototype.toString.call(t)==="[object Object]",Nd=t=>typeof t=="function",Ir=t=>Array.isArray(t),Md=t=>t===window,Ed=()=>Zt()&&"ontouchstart"in window,Zt=()=>typeof window<"u",Us=(t,e)=>{if(t.length){const n=t.indexOf(e);if(n>-1)return t.splice(n,1)}},Id=(...t)=>t.map(e=>{if(Ir(e)){const[n,s,i=null]=e;return n?s:i}return e}),Dd=()=>typeof globalThis<"u"?globalThis:Zt()?window:typeof global<"u"?global:self,Tn=t=>{const e=Dd();return e.requestAnimationFrame?e.requestAnimationFrame(t):e.setTimeout(t)},$d=()=>new Promise(t=>{Tn(t)}),Dr=()=>new Promise(t=>{Tn(()=>{Tn(t)})}),qn=t=>window.getComputedStyle(t),$t=t=>{if(Md(t)){const e=t.innerWidth,n=t.innerHeight,s={x:0,y:0,top:0,left:0,right:e,bottom:n,width:e,height:n};return Td(_d({},s),{toJSON:()=>s})}return t.getBoundingClientRect()},xd=t=>{const e="scrollTop"in t?t.scrollTop:t.scrollY;return Math.max(e,0)},Ld=t=>{const e="scrollLeft"in t?t.scrollLeft:t.scrollX;return Math.max(e,0)};function Ae(t,...e){if(Ir(t))return t.map(n=>n(...e));if(t)return t(...e)}var $r=t=>t==null?0:ve(t)?(t=parseFloat(t),t=Number.isNaN(t)?0:t,t):Cd(t)?Number(t):t,Fd=(t,e,n)=>Math.min(n,Math.max(e,t)),Pd=t=>Ad(t).replace(t.charAt(0),t.charAt(0).toUpperCase()),Ad=t=>t.replace(/-(\w)/g,(e,n)=>n.toUpperCase());function Wd(t){return e=>{const n=`${t}-${e}`,s=i=>i?i[0]==="$"?i.replace("$",t):i.startsWith("--")?`${n}${i}`:`${n}__${i}`:n;return{name:Pd(n),n:s,classes:Id}}}var Vd=Object.defineProperty,xt=Object.getOwnPropertySymbols,xr=Object.prototype.hasOwnProperty,Lr=Object.prototype.propertyIsEnumerable,Bs=(t,e,n)=>e in t?Vd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,zd=(t,e)=>{for(var n in e||(e={}))xr.call(e,n)&&Bs(t,n,e[n]);if(xt)for(var n of xt(e))Lr.call(e,n)&&Bs(t,n,e[n]);return t},Rd=(t,e)=>{var n={};for(var s in t)xr.call(t,s)&&e.indexOf(s)<0&&(n[s]=t[s]);if(t!=null&&xt)for(var s of xt(t))e.indexOf(s)<0&&Lr.call(t,s)&&(n[s]=t[s]);return n};function Fr(t){let e=!1;ni(()=>{t(),cn(()=>{e=!0})}),ii(()=>{e&&t()})}function Cn(t,e,n,s={}){if(!Zt())return;const{passive:i=!1,capture:r=!1}=s;let o=!1,a=!1;const l=d=>Nd(d)?d():Je(d),c=d=>{if(o||a)return;const b=l(d);b&&(b.addEventListener(e,n,{passive:i,capture:r}),o=!0)},u=d=>{if(!o||a)return;const b=l(d);b&&(b.removeEventListener(e,n,{capture:r}),o=!1)};let h;ao(t)&&(h=rt(()=>t.value,(d,b)=>{u(b),c(d)}));const p=()=>{h?.(),u(t),a=!0};return Fr(()=>{c(t)}),si(()=>{u(t)}),ri(()=>{u(t)}),p}function Ud(t){oo(()=>{t()}),ri(()=>{t()})}function Bd(t){const e=En();return t in e.provides}function Hd(t){if(!Bd(t))return{index:null,parentProvider:null,bindParent:null};const n=ro(t),{childInstances:s,collect:i,clear:r}=n,o=Rd(n,["childInstances","collect","clear"]),a=En();return{index:V(()=>s.indexOf(a)),parentProvider:o,bindParent:u=>{ni(()=>{cn().then(()=>{i(a,u)})}),si(()=>{cn().then(()=>{r(a,u)})})}}}function Zd(t){const e=[],n=s=>{if(s?.component){n(s?.component.subTree);return}Array.isArray(s?.children)&&s.children.forEach(i=>{co(i)&&(e.push(i),n(i))})};return n(t),e}function qd(t){const e=En(),n=ti([]),s=[],i=V(()=>n.length),r=()=>{const c=Zd(e.subTree);n.sort((u,h)=>c.indexOf(u.vnode)-c.indexOf(h.vnode))},o=(c,u)=>{n.push(c),s.push(u),r()},a=(c,u)=>{Us(n,c),Us(s,u)};return{length:i,childProviders:s,bindChildren:c=>{lo(t,zd({childInstances:n,collect:o,clear:a},c))}}}function Pr(t){Cn(()=>window,"resize",t,{passive:!0}),Cn(()=>window,"orientationchange",t,{passive:!0})}var jd=Object.defineProperty,Yd=Object.defineProperties,Gd=Object.getOwnPropertyDescriptors,Hs=Object.getOwnPropertySymbols,Jd=Object.prototype.hasOwnProperty,Xd=Object.prototype.propertyIsEnumerable,Zs=(t,e,n)=>e in t?jd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Kd=(t,e)=>{for(var n in e||(e={}))Jd.call(e,n)&&Zs(t,n,e[n]);if(Hs)for(var n of Hs(e))Xd.call(e,n)&&Zs(t,n,e[n]);return t},Qd=(t,e)=>Yd(t,Gd(e));function rn(t,e){return Array.isArray(e)?e.reduce((n,s)=>(n[s]=t[s],n),{}):t[e]}function jn(t,e){const n=t;return n.install=function(s){const{name:i}=t;i&&s.component(i,t)},n}function Yn(t,e){t.setPropsDefaults=function(n){Object.entries(n).forEach(([s,i])=>{const r=e[s];if(r!=null){if(Od(r)){e[s]=Qd(Kd({},r),{default:i});return}e[s]={type:r,default:i}}})}}const qt=Wd("var");function st(t){return{type:[Function,Array],default:t}}function ef(t,e){return t===!1?null:(t===!0&&e&&(t=e),`var-elevation--${t}`)}var tf=Object.defineProperty,nf=Object.defineProperties,sf=Object.getOwnPropertyDescriptors,qs=Object.getOwnPropertySymbols,rf=Object.prototype.hasOwnProperty,of=Object.prototype.propertyIsEnumerable,js=(t,e,n)=>e in t?tf(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ar=(t,e)=>{for(var n in e||(e={}))rf.call(e,n)&&js(t,n,e[n]);if(qs)for(var n of qs(e))of.call(e,n)&&js(t,n,e[n]);return t},af=(t,e)=>nf(t,sf(e));const{n:Wr}=qt("ripple"),Ys=250;function lf(t){const{zIndex:e,position:n}=qn(t);t.style.overflow="hidden",t.style.overflowX="hidden",t.style.overflowY="hidden",n==="static"&&(t.style.position="relative"),e==="auto"&&(t.style.zIndex="1")}function cf(t,e){const{top:n,left:s}=$t(t),{clientWidth:i,clientHeight:r}=t,o=Math.sqrt(i**2+r**2)/2,a=o*2,l=e.touches[0].clientX-s,c=e.touches[0].clientY-n,u=(i-o*2)/2,h=(r-o*2)/2,p=l-o,d=c-o;return{x:p,y:d,centerX:u,centerY:h,size:a}}function Vr(t){const e=this._ripple;if(e.removeRipple(),e.disabled||e.tasker||!Mr.enableRipple)return;const n=()=>{e.tasker=null;const{x:s,y:i,centerX:r,centerY:o,size:a}=cf(this,t),l=document.createElement("div");l.classList.add(Wr()),l.style.opacity="0",l.style.transform=`translate(${s}px, ${i}px) scale3d(.3, .3, .3)`,l.style.width=`${a}px`,l.style.height=`${a}px`,e.color&&(l.style.backgroundColor=e.color),l.dataset.createdAt=String(performance.now()),lf(this),this.appendChild(l),window.setTimeout(()=>{l.style.transform=`translate(${r}px, ${o}px) scale3d(1, 1, 1)`,l.style.opacity=".25"},20)};e.tasker=window.setTimeout(n,30)}function On(){const t=this._ripple,e=()=>{const n=this.querySelectorAll(`.${Wr()}`);if(!n.length)return;const s=n[n.length-1],i=Ys-performance.now()+Number(s.dataset.createdAt);window.setTimeout(()=>{s.style.opacity="0",window.setTimeout(()=>{var r;return(r=s.parentNode)==null?void 0:r.removeChild(s)},Ys)},i)};t.tasker?window.setTimeout(e,30):e()}function zr(){if(!Ed()||!Mr.enableRipple)return;const t=this._ripple;t.tasker&&window.clearTimeout(t.tasker),t.tasker=null}function uf(t,e){var n;t._ripple=af(Ar({tasker:null},(n=e.value)!=null?n:{}),{removeRipple:On.bind(t)}),t.addEventListener("touchstart",Vr,{passive:!0}),t.addEventListener("touchmove",zr,{passive:!0}),t.addEventListener("dragstart",On,{passive:!0}),document.addEventListener("touchend",t._ripple.removeRipple,{passive:!0}),document.addEventListener("touchcancel",t._ripple.removeRipple,{passive:!0}),document.addEventListener("dragend",t._ripple.removeRipple,{passive:!0})}function df(t){t.removeEventListener("touchstart",Vr),t.removeEventListener("touchmove",zr),t.removeEventListener("dragstart",On),document.removeEventListener("touchend",t._ripple.removeRipple),document.removeEventListener("touchcancel",t._ripple.removeRipple),document.removeEventListener("dragend",t._ripple.removeRipple)}function ff(t,e){var n,s,i,r,o,a;const l={color:(n=e.value)==null?void 0:n.color,disabled:(s=e.value)==null?void 0:s.disabled};(l.color!==((i=t._ripple)==null?void 0:i.color)||l.disabled!==((r=t._ripple)==null?void 0:r.disabled))&&(t._ripple=Ar({tasker:l.disabled?null:(o=t._ripple)==null?void 0:o.tasker,removeRipple:(a=t._ripple)==null?void 0:a.removeRipple},l))}const hf={mounted:uf,unmounted:df,updated:ff,install(t){t.directive("ripple",this)}};var mf=hf;const Rr={name:[String,Number],disabled:Boolean,ripple:{type:Boolean,default:!0},onClick:st()};function pf(t,e){throw Error(`Varlet [${t}]: ${e}`)}const Ur=Symbol("TABS_BIND_TAB_KEY");function gf(){const{childProviders:t,bindChildren:e,length:n}=qd(Ur);return{length:n,tabList:t,bindTabList:e}}function yf(){const{parentProvider:t,bindParent:e,index:n}=Hd(Ur);return e||pf("Tab"," must in "),{index:n,tabs:t,bindTabs:e}}const{name:vf,n:_t,classes:wf}=qt("tab");function bf(t,e){const n=uo("ripple");return oi((g(),S("div",{class:te(t.classes(t.n(),t.n("$--box"),t.computeColorClass(),t.n(`--${t.itemDirection}`))),ref:"tabEl",style:ot({color:t.computeColorStyle()}),onClick:e[0]||(e[0]=(...s)=>t.handleClick&&t.handleClick(...s))},[ce(t.$slots,"default")],6)),[[n,{disabled:t.disabled||!t.ripple}]])}const Br=In({name:vf,directives:{Ripple:mf},props:Rr,setup(t){const e=P(null),n=V(()=>e.value),s=V(()=>t.name),i=V(()=>t.disabled),{index:r,tabs:o,bindTabs:a}=yf(),{onTabClick:l,active:c,activeColor:u,inactiveColor:h,disabledColor:p,itemDirection:d,resize:b}=o,A={name:s,index:r,disabled:i,element:n};a(A),rt(()=>[t.name,t.disabled],b);function $(){return t.name!=null?c.value===t.name:c.value===r?.value}function ne(){return t.disabled?p.value:$()?u.value:h.value}function Y(){return t.disabled?_t("$-tab--disabled"):$()?_t("$-tab--active"):_t("$-tab--inactive")}function J(we){const{disabled:ae,name:ue,onClick:de}=t;ae||(Ae(de,ue??r.value,we),l(A))}return{tabEl:e,active:c,activeColor:u,inactiveColor:h,itemDirection:d,n:_t,classes:wf,computeColorStyle:ne,computeColorClass:Y,handleClick:J}}});Br.render=bf;var Gn=Br;jn(Gn);Yn(Gn,Rr);var Sf=Gn;const it={offsetTop:{type:[String,Number],default:0},zIndex:{type:[String,Number],default:10},cssMode:Boolean,disabled:Boolean,onScroll:st()};function kf(t){let e=t;for(;e&&!(!e.parentNode||(e=e.parentNode,e===document.body||e===document.documentElement));){const n=/(scroll|auto)/,{overflowY:s,overflow:i}=qn(e);if(n.test(s)||n.test(i))return e}return window}function _f(){const{width:t,height:e}=$t(window);return{vw:t,vh:e,vMin:Math.min(t,e),vMax:Math.max(t,e)}}const Tf=t=>ve(t)&&t.endsWith("rem"),Cf=t=>ve(t)&&t.endsWith("px")||Zn(t),Of=t=>ve(t)&&t.endsWith("vw"),Nf=t=>ve(t)&&t.endsWith("vh"),Mf=t=>ve(t)&&t.endsWith("vmin"),Ef=t=>ve(t)&&t.endsWith("vmax"),If=t=>{if(Er(t))return Number(t);if(Cf(t))return+t.replace("px","");if(!Zt())return 0;const{vw:e,vh:n,vMin:s,vMax:i}=_f();if(Of(t))return+t.replace("vw","")*e/100;if(Nf(t))return+t.replace("vh","")*n/100;if(Mf(t))return+t.replace("vmin","")*s/100;if(Ef(t))return+t.replace("vmax","")*i/100;if(Tf(t)){const r=+t.replace("rem",""),o=qn(document.documentElement).fontSize;return r*parseFloat(o)}return ve(t)?$r(t):0},Df=t=>{if(t!=null)return Er(t)?`${t}px`:String(t)};function Gs(t,{top:e=0,left:n=0,duration:s=300,animation:i}){const r=Date.now(),o=xd(t),a=Ld(t);return new Promise(l=>{const c=()=>{const u=(Date.now()-r)/s;if(u<1){const h=o+(e-o)*i(u),p=a+(n-a)*i(u);t.scrollTo(p,h),requestAnimationFrame(c)}else t.scrollTo(n,e),l()};requestAnimationFrame(c)})}var Js=(t,e,n)=>new Promise((s,i)=>{var r=l=>{try{a(n.next(l))}catch(c){i(c)}},o=l=>{try{a(n.throw(l))}catch(c){i(c)}},a=l=>l.done?s(l.value):Promise.resolve(l.value).then(r,o);a((n=n.apply(t,e)).next())});const{name:$f,n:xf,classes:Lf}=qt("sticky");function Ff(t,e){return g(),S("div",{class:te(t.classes(t.n(),[t.enableCSSMode,t.n("--css-mode")])),ref:"stickyEl",style:ot({zIndex:t.toNumber(t.zIndex),top:t.enableCSSMode?`${t.offsetTop}px`:void 0,width:t.enableFixedMode?t.fixedWidth:void 0,height:t.enableFixedMode?t.fixedHeight:void 0})},[m("div",{class:te(t.n("wrapper")),ref:"wrapperEl",style:ot({zIndex:t.toNumber(t.zIndex),position:t.enableFixedMode?"fixed":void 0,width:t.enableFixedMode?t.fixedWrapperWidth:void 0,height:t.enableFixedMode?t.fixedWrapperHeight:void 0,left:t.enableFixedMode?t.fixedLeft:void 0,top:t.enableFixedMode?t.fixedTop:void 0})},[ce(t.$slots,"default")],6)],6)}const Hr=In({name:$f,props:it,setup(t){const e=P(null),n=P(null),s=P(!1),i=P("0px"),r=P("0px"),o=P("auto"),a=P("auto"),l=P("auto"),c=P("auto"),u=V(()=>!t.disabled&&t.cssMode),h=V(()=>!t.disabled&&!t.cssMode&&s.value),p=V(()=>If(t.offsetTop));let d;rt(()=>t.disabled,Y),Fr(()=>Js(this,null,function*(){yield Dr(),A(),$()})),Ud(ne),Pr(Y),Cn(()=>window,"scroll",$);function b(){const{cssMode:J,disabled:we}=t;if(we)return;let ae=0;if(d!==window){const{top:D}=$t(d);ae=D}const ue=n.value,de=e.value,{top:je,left:q}=$t(de),le=je-ae;return le<=p.value?(J||(o.value=`${de.offsetWidth}px`,a.value=`${de.offsetHeight}px`,i.value=`${ae+p.value}px`,r.value=`${q}px`,l.value=`${ue.offsetWidth}px`,c.value=`${ue.offsetHeight}px`,s.value=!0),{offsetTop:p.value,isFixed:!0}):(s.value=!1,{offsetTop:le,isFixed:!1})}function A(){d=kf(e.value),d!==window&&d.addEventListener("scroll",$)}function $(){const J=b();J&&Ae(t.onScroll,J.offsetTop,J.isFixed)}function ne(){!d||d===window||d.removeEventListener("scroll",$)}function Y(){return Js(this,null,function*(){s.value=!1,yield $d(),b()})}return{stickyEl:e,wrapperEl:n,isFixed:s,offsetTop:p,fixedTop:i,fixedLeft:r,fixedWidth:o,fixedHeight:a,fixedWrapperWidth:l,fixedWrapperHeight:c,enableCSSMode:u,enableFixedMode:h,n:xf,classes:Lf,resize:Y,toNumber:$r}}});Hr.render=Ff;var Jn=Hr;jn(Jn);Yn(Jn,it);var Pf=Jn;const Zr={active:{type:[String,Number],default:0},layoutDirection:{type:String,default:"horizontal"},itemDirection:{type:String,default:"horizontal"},fixedBottom:Boolean,activeColor:String,inactiveColor:String,disabledColor:String,color:String,indicatorColor:String,indicatorSize:[String,Number],elevation:{type:[Boolean,String,Number],default:!1},scrollable:{type:String,default:"auto"},indicatorPosition:{type:String,default:"normal"},safeArea:Boolean,sticky:Boolean,stickyCssMode:rn(it,"cssMode"),stickyZIndex:rn(it,"zIndex"),offsetTop:rn(it,"offsetTop"),onClick:st(),onChange:st(),"onUpdate:active":st()},Xs=t=>t;var Ks=(t,e,n)=>new Promise((s,i)=>{var r=l=>{try{a(n.next(l))}catch(c){i(c)}},o=l=>{try{a(n.throw(l))}catch(c){i(c)}},a=l=>l.done?s(l.value):Promise.resolve(l.value).then(r,o);a((n=n.apply(t,e)).next())});const{name:Af,n:Wf,classes:Vf}=qt("tabs");function zf(t,e){return g(),H(Dn(t.sticky?t.n("$-sticky"):t.Transition),{ref:t.sticky?"stickyComponent":void 0,"css-mode":t.sticky?t.stickyCssMode:void 0,"offset-top":t.sticky?t.offsetTop:void 0,"z-index":t.sticky?t.stickyZIndex:void 0},{default:E(()=>[m("div",fo({class:t.classes(t.n(),t.n("$--box"),t.n(`--item-${t.itemDirection}`),t.n(`--layout-${t.layoutDirection}-padding`),t.formatElevation(t.elevation,4),[t.fixedBottom,t.n("--fixed-bottom")],[t.safeArea,t.n("--safe-area")]),style:{background:t.color}},t.$attrs),[m("div",{ref:"scrollerEl",class:te(t.classes(t.n("tab-wrap"),[t.localScrollable,t.n(`--layout-${t.layoutDirection}-scrollable`)],t.n(`--layout-${t.layoutDirection}`)))},[ce(t.$slots,"default"),m("div",{class:te(t.classes(t.n("indicator"),t.n(`--layout-${t.layoutDirection}${t.indicatorPosition}-indicator`))),style:ot({width:t.layoutDirection==="horizontal"?t.indicatorWidth:t.toSizeUnit(t.indicatorSize),height:t.layoutDirection==="horizontal"?t.toSizeUnit(t.indicatorSize):t.indicatorHeight,transform:t.layoutDirection==="horizontal"?`translateX(${t.indicatorX})`:`translateY(${t.indicatorY})`})},[m("div",{class:te(t.classes(t.n("indicator-inner"),t.n(`--layout-${t.layoutDirection}-indicator-inner`))),style:ot({background:t.indicatorColor||t.activeColor})},null,6)],6)],2)],16)]),_:3},8,["css-mode","offset-top","z-index"])}const qr=In({name:Af,components:{VarSticky:Pf},inheritAttrs:!1,props:Zr,setup(t){const e=P("0px"),n=P("0px"),s=P("0px"),i=P("0px"),r=P(!1),o=P(null),a=V(()=>t.active),l=V(()=>t.activeColor),c=V(()=>t.inactiveColor),u=V(()=>t.disabledColor),h=V(()=>t.itemDirection),p=P(null),d=V(()=>t.indicatorPosition==="reverse"?"-reverse":""),{tabList:b,bindTabList:A,length:$}=gf();A({active:a,activeColor:l,inactiveColor:c,disabledColor:u,itemDirection:h,resize:q,onTabClick:Y}),rt(()=>$.value,()=>Ks(this,null,function*(){yield Dr(),q()})),rt(()=>[t.active,t.scrollable],q),ii(q),Pr(q);function Y(D){var W;const fe=(W=D.name.value)!=null?W:D.index.value,{active:Ye,onChange:jr,onClick:Yr}=t;Ae(t["onUpdate:active"],fe),Ae(Yr,fe),fe!==Ye&&Ae(jr,fe)}function J(){return b.find(({name:D})=>t.active===D.value)}function we(D){return b.find(({index:W})=>(D??t.active)===W.value)}function ae(){if($.value===0)return;const{active:D}=t;if(Zn(D)){const W=Fd(D,0,$.value-1);return Ae(t["onUpdate:active"],W),we(W)}}function ue(){r.value=t.scrollable==="always"||b.length>=5}function de({element:D}){const W=D.value;W&&(t.layoutDirection==="horizontal"?(e.value=`${W.offsetWidth}px`,s.value=`${W.offsetLeft}px`):(n.value=`${W.offsetHeight}px`,i.value=`${W.offsetTop}px`))}function je({element:D}){if(!r.value)return;const W=o.value,fe=D.value;if(t.layoutDirection==="horizontal"){const Ye=fe.offsetLeft+fe.offsetWidth/2-W.offsetWidth/2;Gs(W,{left:Ye,animation:Xs})}else{const Ye=fe.offsetTop+fe.offsetHeight/2-W.offsetHeight/2;Gs(W,{top:Ye,animation:Xs})}}function q(){const D=J()||we()||ae();!D||D.disabled.value||(ue(),de(D),je(D))}function le(){return Ks(this,null,function*(){t.sticky&&p.value&&(yield p.value.resize())})}return{stickyComponent:p,indicatorWidth:e,indicatorHeight:n,indicatorX:s,indicatorY:i,indicatorPosition:d,localScrollable:r,scrollerEl:o,Transition:Ee,toSizeUnit:Df,n:Wf,classes:Vf,resize:q,resizeSticky:le,formatElevation:ef}}});qr.render=zf;var Xn=qr;jn(Xn);Yn(Xn,Zr);var Rf=Xn;const Uf="broken-link-checker-seo",Bf={emits:["changed"],setup(){const{processSaveChanges:t}=ci();return{rootStore:Lt(),processSaveChanges:t}},components:{BaseButton:Ft,SvgCaret:yo,TransitionSlide:ft,VarTab:Sf,VarTabs:Rf},props:{tabs:{type:Array,required:!0},skinnyTabs:Boolean,active:String,showSaveButton:{type:Boolean,default(){return!0}},internal:Boolean,disableMobile:Boolean},data(){return{buttonLoading:!1,showMobileMenu:!0,calculateWidth:!1,showMobileTabs:!1,strings:{saveChanges:y("Save Changes",Uf)}}},computed:{activeTab(){return this.active?this.active:this.$route?.name?this.$route.name:this.tabs[0]?.slug},filteredTabs(){return this.tabs.filter(t=>t.slug!==(this.active?this.active:this.$route?.name?this.$route.name:""))}},methods:{maybeChangeTab(t){if(this.active){this.$emit("changed",t);return}const e=this.tabs.find(n=>n.slug===t);e&&this.$router.push(e.url)},getActiveTabName(){const t=this.tabs.find(e=>e.slug===(this.active?this.active:this.$route?.name?this.$route.name:""));return t?t.name:""},maybeShowMobileMenu(){if(window.matchMedia("(max-width: 782px)").matches&&!this.disableMobile){this.showMobileMenu=!0;return}let t=0;this.calculateWidth=!0,this.$nextTick(()=>{t=this.$refs["tabs-scroller"].offsetWidth,this.calculateWidth=!1;let e=0;const n=this.$refs["tabs-button"];if(n){const s=n.querySelector(".aioseo-button");e=s?s.scrollWidth:0}if(t+e>this.$refs["aioseo-tabs"].offsetWidth){this.showMobileMenu=!0;return}this.showMobileMenu=!1})},createRipple(t){const e=t.currentTarget,n=document.createElement("span"),s=Math.max(e.clientWidth,e.clientHeight),i=s/2,r=e.getBoundingClientRect();n.style.width=n.style.height=`${s}px`,n.style.left=`${t.clientX-(r.left+i)}px`,n.style.top=`${t.clientY-(r.top+i)}px`,n.classList.add("ripple");const o=e.getElementsByClassName("ripple")[0];o&&o.remove(),e.appendChild(n)}},beforeMount(){window.addEventListener("resize",this.maybeShowMobileMenu)},async mounted(){this.$nextTick(()=>{this.maybeShowMobileMenu();const t=this.$refs["aioseo-tabs"],e=t.querySelector(".var-tab--active"),n=t.querySelector(".var-tabs__indicator");if(!e||!n)return;setTimeout(()=>{n.style.width==="0px"&&(n.style.width=`${e.offsetWidth}px`,n.style.transform=`translateX(${e.offsetLeft}px)`)},300),new MutationObserver(()=>{n.style.width==="0px"&&(n.style.width=`${e.offsetWidth}px`,n.style.transform=`translateX(${e.offsetLeft}px)`)}).observe(n,{attributes:!0});const i=t.querySelectorAll(".var-tab");i.length&&i.forEach(r=>{r.addEventListener("click",this.createRipple)})})},beforeUnmount(){window.removeEventListener("resize",this.maybeShowMobileMenu)}},Hf={class:"tabs-scroller",ref:"tabs-scroller"},Zf={class:"label"},qf={key:0,class:"aioseo-mobile-tabs"},jf={class:"tab-links"},Yf=["onClick"],Gf={key:1,class:"button-right",ref:"tabs-button"},Jf={class:"tabs-extra"};function Xf(t,e,n,s,i,r){const o=C("var-tab"),a=C("var-tabs"),l=C("svg-caret"),c=C("router-link"),u=C("transition-slide"),h=C("base-button");return g(),S("div",{class:te(["aioseo-tabs",{internal:n.internal,skinny:n.skinnyTabs}]),ref:"aioseo-tabs"},[oi(m("div",Hf,[_(a,{active:r.activeTab,onClick:r.maybeChangeTab,ref:"var-tabs"},{default:E(()=>[(g(!0),S(Te,null,et(n.tabs,(p,d)=>(g(),H(o,{name:p.slug,key:d},{default:E(()=>[ce(t.$slots,"var-tab",{tab:p},()=>[ce(t.$slots,"var-tab-icon",{tab:p}),m("span",Zf,k(p.name),1)])]),_:2},1032,["name"]))),128))]),_:3},8,["active","onClick"])],512),[[ho,!i.showMobileMenu||i.calculateWidth]]),i.showMobileMenu?(g(),S("div",qf,[m("div",{class:"active-tab",onClick:e[1]||(e[1]=p=>i.showMobileTabs=!i.showMobileTabs)},[m("div",null,[R(k(r.getActiveTabName())+" ",1),_(l,{onClick:e[0]||(e[0]=z(p=>i.showMobileTabs=!i.showMobileTabs,["stop"])),class:te({rotated:!i.showMobileTabs})},null,8,["class"]),e[3]||(e[3]=m("span",{class:"tab-indicator"},null,-1))])]),_(u,{active:i.showMobileTabs,class:"tab-dropdown"},{default:E(()=>[m("div",jf,[n.active?M("",!0):(g(!0),S(Te,{key:0},et(r.filteredTabs,(p,d)=>(g(),H(c,{key:d,to:p.url,onClick:e[2]||(e[2]=b=>i.showMobileTabs=!1)},{default:E(()=>[R(k(p.name),1)]),_:2},1032,["to"]))),128)),n.active?(g(!0),S(Te,{key:1},et(r.filteredTabs,(p,d)=>(g(),S("a",{href:"#",key:d,onClick:z(b=>t.$emit("changed",p.slug)&&(i.showMobileTabs=!1),["prevent"])},k(p.name),9,Yf))),128)):M("",!0)])]),_:1},8,["active"])])):M("",!0),n.showSaveButton?(g(),S("div",Gf,[ce(t.$slots,"button",{},()=>[_(h,{type:"blue",size:"medium",loading:s.rootStore.loading,onClick:s.processSaveChanges},{default:E(()=>[R(k(i.strings.saveChanges),1)]),_:1},8,["loading","onClick"])])],512)):M("",!0),m("div",Jf,[ce(t.$slots,"extra")])],2)}const Kf=j(Bf,[["render",Xf]]),on="broken-link-checker-seo",Qf=()=>{const t={notifications:y("Notifications",on),newNotifications:y("New Notifications",on),activeNotifications:y("Active Notifications",on)},e=P(!1),n=ct(),s=V(()=>e.value?n.dismissedNotificationsCount:n.activeNotificationsCount),i=V(()=>e.value?n.dismissedNotifications:n.activeNotifications),r=V(()=>e.value?t.notifications:t.newNotifications);return{dismissed:e,notificationTitle:r,notifications:i,notificationsCount:s,strings:t}},eh=""+window.__aioseoDynamicImportPreload__("images/dannie-detective.C0gjJQEP.png");function th(t){return v.fromSQL(t,{zone:"utc"}).setZone(v.local().zoneName).toRelative().replace("a few seconds ago",y("a few seconds ago",he)).replace("a minute ago",y("a minute ago",he)).replace("minutes ago",y("minutes ago",he)).replace("a day ago",y("a day ago",he)).replace("days ago",y("days ago",he)).replace("a month ago",y("a month ago",he)).replace("months ago",y("months ago",he)).replace("a year ago",y("a year ago",he)).replace("years ago",y("years ago",he))}const nh="broken-link-checker-seo",sh={emits:["dismissed-notification"],setup(){const{button1Loading:t,button2Loading:e,getHref:n,getTagType:s,getTarget:i,processButtonClick:r}=no();return{button1Loading:t,button2Loading:e,getHref:n,getTagType:s,getTarget:i,notificationsStore:ei(),processButtonClick:r,sanitizeString:to}},components:{BaseButton:Ft,SvgCircleCheck:$n,SvgCircleClose:li,SvgCircleExclamation:eo,SvgGear:Qr,TransitionSlide:ft},props:{notification:{type:Object,required:!0}},data(){return{active:!0,strings:{dismiss:y("Dismiss",nh)}}},computed:{getIcon(){switch(this.notification.type){case"warning":return"svg-circle-exclamation";case"error":return"svg-circle-close";case"info":return"svg-gear";default:return"svg-circle-check"}},getDate(){return th(this.notification.start)}},methods:{processDismissNotification(){this.active=!1,this.notificationsStore.dismissNotifications([this.notification.slug]),this.$emit("dismissed-notification")},getButtonType(t){switch(this.notification.notification_name){case"search-console-site-not-connected":case"search-console-site-not-verified":case"email-reports-enable-reminder":return t===1?"blue":"gray";default:return"gray"}}}},ih={class:"icon"},rh={class:"body"},oh={class:"title"},ah={class:"date"},lh=["innerHTML"],ch={class:"actions"};function uh(t,e,n,s,i,r){const o=C("base-button"),a=C("transition-slide");return g(),H(a,{class:te(["aioseo-notification",[`aioseo-notification-${n.notification.notification_name}`]]),active:i.active},{default:E(()=>[m("div",null,[m("div",ih,[(g(),H(Dn(r.getIcon),{class:te(n.notification.type)},null,8,["class"]))]),m("div",rh,[m("div",oh,[m("div",null,k(s.sanitizeString(n.notification.title)),1),m("div",ah,k(r.getDate),1)]),m("div",{class:"notification-content",innerHTML:n.notification.content},null,8,lh),m("div",ch,[n.notification.button1_label&&n.notification.button1_action?(g(),H(o,{key:0,size:"small",type:r.getButtonType(1),class:"aioseo-button1",tag:s.getTagType(n.notification.button1_action),href:s.getHref(n.notification.button1_action),target:s.getTarget(n.notification.button1_action),onClick:e[0]||(e[0]=l=>s.processButtonClick(n.notification.button1_action,1)),loading:s.button1Loading},{default:E(()=>[R(k(n.notification.button1_label),1)]),_:1},8,["type","tag","href","target","loading"])):M("",!0),n.notification.button2_label&&n.notification.button2_action?(g(),H(o,{key:1,size:"small",type:r.getButtonType(2),class:"aioseo-button2",tag:s.getTagType(n.notification.button2_action),href:s.getHref(n.notification.button2_action),target:s.getTarget(n.notification.button2_action),onClick:e[1]||(e[1]=l=>s.processButtonClick(n.notification.button2_action,2)),loading:s.button2Loading},{default:E(()=>[R(k(n.notification.button2_label),1)]),_:1},8,["type","tag","href","target","loading"])):M("",!0),n.notification.dismissed?M("",!0):(g(),S("a",{key:2,href:"#",class:"dismiss",onClick:e[2]||(e[2]=z((...l)=>r.processDismissNotification&&r.processDismissNotification(...l),["stop","prevent"]))},k(i.strings.dismiss),1))])])])]),_:1},8,["class","active"])}const dh=j(sh,[["render",uh]]),K="broken-link-checker-seo",fh={emits:["dismissed-notification"],setup(){return{licenseStore:io(),notificationsStore:ei(),optionsStore:so(),rootStore:Mn()}},components:{SvgCircleCheck:$n,TransitionSlide:ft},props:{notification:{type:Object,required:!0}},data(){return{step:1,active:!0,strings:{dismiss:y("Dismiss",K),yesILoveIt:y("Yes, I love it!",K),notReally:y("Not Really...",K),okYouDeserveIt:y("Ok, you deserve it",K),nopeMaybeLater:y("Nope, maybe later",K),giveFeedback:y("Give feedback",K),noThanks:y("No thanks",K)}}},computed:{title(){switch(this.step){case 2:return y("That's Awesome!",K);case 3:return y("Help us improve",K);default:return _e(y("Are you enjoying %1$s?",K),"BLC")}},content(){switch(this.step){case 2:return y("Could you please do us a BIG favor and give it a 5-star rating on WordPress to help us spread the word and boost our motivation?",K);case 3:return _e(y("We're sorry to hear you aren't enjoying %1$s. We would love a chance to improve. Could you take a minute and let us know what we can do better?",K),"Broken Link Checker");default:return""}},feedbackUrl(){const t=this.optionsStore.options.general&&this.licenseStore.licenseKey?this.licenseStore.licenseKey:"",e=this.rootStore.isPro?"pro":"lite";return Nn.utmUrl("notification-review-notice",this.rootStore.aioseo.version,"https://aioseo.com/plugin-feedback/?wpf7528_24="+encodeURIComponent(this.rootStore.aioseo.urls.home)+"&wpf7528_26="+t+"&wpf7528_27="+e+"&wpf7528_28="+this.rootStore.aioseo.version)}},methods:{processDismissNotification(t=!1){this.active=!1,this.notificationsStore.dismissNotifications([this.notification.slug+(t?"-delay":"")]),this.$emit("dismissed-notification")}}},hh={class:"icon"},mh={class:"body"},ph={class:"title"},gh=["innerHTML"],yh={class:"actions"};function vh(t,e,n,s,i,r){const o=C("svg-circle-check"),a=C("base-button"),l=C("transition-slide");return g(),H(l,{class:"aioseo-notification",active:i.active},{default:E(()=>[m("div",null,[m("div",hh,[_(o,{class:"success"})]),m("div",mh,[m("div",ph,[m("div",null,k(r.title),1)]),m("div",{class:"notification-content",innerHTML:r.content},null,8,gh),m("div",yh,[i.step===1?(g(),S(Te,{key:0},[_(a,{size:"small",type:"blue",onClick:e[0]||(e[0]=z(c=>i.step=2,["stop"]))},{default:E(()=>[R(k(i.strings.yesILoveIt),1)]),_:1}),_(a,{size:"small",type:"gray",onClick:e[1]||(e[1]=z(c=>i.step=3,["stop"]))},{default:E(()=>[R(k(i.strings.notReally),1)]),_:1})],64)):M("",!0),i.step===2?(g(),S(Te,{key:1},[_(a,{tag:"a",href:"https://aioseo.com/aioseo-wordpress-rating",size:"small",type:"blue",target:"_blank",rel:"noopener noreferrer",onClick:e[2]||(e[2]=c=>r.processDismissNotification(!1))},{default:E(()=>[R(k(i.strings.okYouDeserveIt),1)]),_:1}),_(a,{size:"small",type:"gray",onClick:e[3]||(e[3]=z(c=>r.processDismissNotification(!0),["stop","prevent"]))},{default:E(()=>[R(k(i.strings.nopeMaybeLater),1)]),_:1})],64)):M("",!0),i.step===3?(g(),S(Te,{key:2},[_(a,{tag:"a",href:r.feedbackUrl,size:"small",type:"blue",target:"_blank",rel:"noopener noreferrer",onClick:e[4]||(e[4]=c=>r.processDismissNotification(!1))},{default:E(()=>[R(k(i.strings.giveFeedback),1)]),_:1},8,["href"]),_(a,{size:"small",type:"gray",onClick:e[5]||(e[5]=z(c=>r.processDismissNotification(!1),["stop","prevent"]))},{default:E(()=>[R(k(i.strings.noThanks),1)]),_:1})],64)):M("",!0),n.notification.dismissed?M("",!0):(g(),S("a",{key:3,class:"dismiss",href:"#",onClick:e[6]||(e[6]=z(c=>r.processDismissNotification(!1),["stop","prevent"]))},k(i.strings.dismiss),1))])])])]),_:1},8,["active"])}const wh=j(fh,[["render",vh]]),pe="broken-link-checker-seo",bh={emits:["dismissed-notification"],setup(){return{notificationsStore:ct()}},components:{BaseButton:Ft,SvgCircleCheck:$n,TransitionSlide:ft},props:{notification:{type:Object,required:!0}},data(){return{active:!0,strings:{dismiss:y("Dismiss",pe),yesILoveIt:y("Yes, I love it!",pe),notReally:y("Not Really...",pe),okYouDeserveIt:y("Ok, you deserve it",pe),nopeMaybeLater:y("Nope, maybe later",pe),giveFeedback:y("Give feedback",pe),noThanks:y("No thanks",pe)}}},computed:{title(){return _e(y("Are you enjoying %1$s?",pe),"BLC")},content(){return _e(y("Hey, we noticed you have been using %1$s for some time - that’s awesome! Could you please do us a BIG favor and give it a 5-star rating on WordPress to help us spread the word and boost our motivation?",pe),"Broken Link Checker")}},methods:{processDismissNotification(t=!1){this.active=!1,this.notificationsStore.dismissNotifications([this.notification.slug+(t?"-delay":"")]),this.$emit("dismissed-notification")}}},Sh={class:"icon"},kh={class:"body"},_h={class:"title"},Th=["innerHTML"],Ch={class:"actions"};function Oh(t,e,n,s,i,r){const o=C("svg-circle-check"),a=C("base-button"),l=C("transition-slide");return g(),H(l,{class:"aioseo-notification",active:i.active},{default:E(()=>[m("div",null,[m("div",Sh,[_(o,{class:"success"})]),m("div",kh,[m("div",_h,[m("div",null,k(r.title),1)]),m("div",{class:"notification-content",innerHTML:r.content},null,8,Th),m("div",Ch,[_(a,{tag:"a",href:"https://aioseo.com/aioseo-wordpress-rating",size:"small",type:"blue",target:"_blank",rel:"noopener noreferrer",onClick:e[0]||(e[0]=c=>r.processDismissNotification(!1))},{default:E(()=>[R(k(i.strings.okYouDeserveIt),1)]),_:1}),_(a,{size:"small",type:"gray",onClick:e[1]||(e[1]=z(c=>r.processDismissNotification(!0),["stop","prevent"]))},{default:E(()=>[R(k(i.strings.nopeMaybeLater),1)]),_:1}),n.notification.dismissed?M("",!0):(g(),S("a",{key:0,class:"dismiss",href:"#",onClick:e[2]||(e[2]=z(c=>r.processDismissNotification(!1),["stop","prevent"]))},k(i.strings.dismiss),1))])])])]),_:1},8,["active"])}const Nh=j(bh,[["render",Oh]]),Mh={class:"icon"},Eh={class:"body"},Ih={class:"title"},Dh=["innerHTML"],$h={class:"actions"},xh={__name:"UnlicensedAddons",props:{notification:{type:Object,required:!0}},setup(t){const e="broken-link-checker-seo",n=t,s=Mn(),i=P(!0),r={title:_e(y("%1$s Addons Not Configured Properly",e),"BLC"),learnMore:y("Learn More",e),upgrade:y("Upgrade",e)},o=V(()=>{let a="
    ";return n.notification.addons.forEach(l=>{a+="
  • BLC - "+l.name+"
  • "}),a+="
",n.notification.message+a});return(a,l)=>{const c=C("base-button");return g(),H(Je(ft),{class:"aioseo-notification",active:i.value},{default:E(()=>[m("div",null,[m("div",Mh,[_(Je(li),{class:"error"})]),m("div",Eh,[m("div",Ih,[m("div",null,k(r.title),1)]),m("div",{class:"notification-content",innerHTML:o.value},null,8,Dh),m("div",$h,[_(c,{size:"small",type:"green",tag:"a",href:Je(Nn).getUpsellUrl("notification-unlicensed-addons",null,Je(s).isPro?"pricing":"liteUpgrade"),target:"_blank"},{default:E(()=>[R(k(r.upgrade),1)]),_:1},8,["href"])])])])]),_:1},8,["active"])}}},an="broken-link-checker-seo",Lh={emits:["toggle-dismissed","dismissed-notification"],components:{CoreNotification:dh,NotificationsReview:wh,NotificationsReview2:Nh,NotificationsUnlicensedAddons:xh},props:{dismissedCount:{type:Number,required:!0},notifications:{type:Array,required:!0}},data(){return{dannieDetectiveImg:eh,strings:{greatScott:y("Great Scott! Where'd they all go?",an),noNewNotifications:y("You have no new notifications.",an),seeDismissed:y("See Dismissed Notifications",an)}}},methods:{getAssetUrl:Wl}},Fh={class:"aioseo-notification-cards"},Ph={key:"no-notifications"},Ah={class:"no-notifications"},Wh=["src"],Vh={class:"great-scott"},zh={class:"no-new-notifications"};function Rh(t,e,n,s,i,r){return g(),S("div",Fh,[n.notifications.length?(g(!0),S(Te,{key:0},et(n.notifications,o=>(g(),H(Dn(o.component?o.component:"core-notification"),{key:o.slug,notification:o,ref_for:!0,ref:"notification",onDismissedNotification:e[0]||(e[0]=a=>t.$emit("dismissed-notification"))},null,40,["notification"]))),128)):M("",!0),n.notifications.length?M("",!0):(g(),S("div",Ph,[ce(t.$slots,"no-notifications",{},()=>[m("div",Ah,[m("img",{alt:"Dannie the Detective",src:r.getAssetUrl(i.dannieDetectiveImg)},null,8,Wh),m("div",Vh,k(i.strings.greatScott),1),m("div",zh,k(i.strings.noNewNotifications),1),n.dismissedCount?(g(),S("a",{key:0,href:"#",class:"dismiss",onClick:e[1]||(e[1]=z(o=>t.$emit("toggle-dismissed"),["stop","prevent"]))},k(i.strings.seeDismissed),1)):M("",!0)])])]))])}const Uh=j(Lh,[["render",Rh]]),Qs="broken-link-checker-seo",Bh={setup(){const{dismissed:t,notificationTitle:e,notifications:n,notificationsCount:s,strings:i}=Qf();return{composableStrings:i,dismissed:t,notificationsStore:ct(),notificationTitle:e,notifications:n,notificationsCount:s}},components:{CoreNotificationCards:Uh,SvgClose:ai},data(){return{maxNotifications:Number.MAX_SAFE_INTEGER,currentPage:0,totalPages:1,strings:Al(this.composableStrings,{dismissedNotifications:y("Dismissed Notifications",Qs),dismissAll:y("Dismiss All",Qs)})}},watch:{"notificationsStore.showNotifications"(t){t?(this.currentPage=0,this.setMaxNotifications(),this.addBodyClass()):this.removeBodyClass()},dismissed(){this.setMaxNotifications()},notifications(){this.setMaxNotifications()}},computed:{filteredNotifications(){return[...this.notifications].splice(this.currentPage===0?0:this.currentPage*this.maxNotifications,this.maxNotifications)},pages(){if(typeof this.totalPages!="number"||!isFinite(this.totalPages)||0>=this.totalPages)return 1;const t=[];for(let e=0;e{t.push(e.slug)}),this.notificationsStore.dismissNotifications(t).then(()=>{this.setMaxNotifications()})},setMaxNotifications(){const t=this.currentPage;this.currentPage=0,this.totalPages=1,this.maxNotifications=Number.MAX_SAFE_INTEGER,this.$nextTick(async()=>{const n=Array.from(document.querySelectorAll(".notification-menu .aioseo-notification")).map(i=>{const r=window.getComputedStyle?getComputedStyle(i,null):i.currentStyle,o=parseInt(r.marginTop)||0,a=parseInt(r.marginBottom)||0;return i.offsetHeight+o+a}),s=document.querySelector(".notification-menu .aioseo-notification-cards");if(s&&0s.offsetHeight)break;i++}this.maxNotifications=i||1,isFinite(i)&&0this.totalPages-1?this.totalPages-1:t})}},mounted(){document.addEventListener("keydown",this.escapeListener),document.addEventListener("mousedown",this.documentClick);const t=document.querySelector("#wp-admin-bar-aioseo-notifications .ab-item");t&&t.addEventListener("mousedown",this.notificationsLinkClick);const e=document.querySelector("#toplevel_page_aioseo .wp-first-item"),n=document.querySelector("#toplevel_page_aioseo .wp-first-item .aioseo-menu-notification-indicator");e&&n&&e.addEventListener("mousedown",this.notificationsLinkClick)}},Hh={class:"aioseo-notifications",ref:"aioseo-notifications"},Zh={key:0,class:"notification-menu"},qh={class:"notification-header"},jh={class:"new-notifications"},Yh={class:"dismissed-notifications"},Gh={key:0,class:"notification-footer"},Jh={class:"pagination"},Xh=["onClick"],Kh={key:0,class:"dismiss-all"};function Qh(t,e,n,s,i,r){const o=C("svg-close"),a=C("core-notification-cards");return g(),S("div",Hh,[_(Ee,{name:"notifications-slide"},{default:E(()=>[s.notificationsStore.showNotifications?(g(),S("div",Zh,[m("div",qh,[m("span",jh,"("+k(s.notificationsCount)+") "+k(s.notificationTitle),1),m("div",Yh,[!s.dismissed&&s.notificationsStore.dismissedNotificationsCount?(g(),S("a",{key:0,href:"#",onClick:e[0]||(e[0]=z(l=>s.dismissed=!0,["stop","prevent"]))},k(i.strings.dismissedNotifications),1)):M("",!0),s.dismissed&&s.notificationsStore.dismissedNotificationsCount?(g(),S("a",{key:1,href:"#",onClick:e[1]||(e[1]=z(l=>s.dismissed=!1,["stop","prevent"]))},k(i.strings.activeNotifications),1)):M("",!0)]),m("div",{onClick:e[2]||(e[2]=z((...l)=>s.notificationsStore.toggleNotifications&&s.notificationsStore.toggleNotifications(...l),["stop"]))},[_(o)])]),_(a,{class:"notification-cards",notifications:r.filteredNotifications,dismissedCount:s.notificationsStore.dismissedNotificationsCount,onToggleDismissed:e[3]||(e[3]=l=>s.dismissed=!s.dismissed)},null,8,["notifications","dismissedCount"]),i.totalPages>1||!s.dismissed&&s.notifications.length?(g(),S("div",Gh,[m("div",Jh,[i.totalPages>1?(g(!0),S(Te,{key:0},et(r.pages,(l,c)=>(g(),S("div",{class:te(["page-number",{active:l.number===1+i.currentPage}]),key:c,onClick:z(u=>i.currentPage=l.number-1,["stop"])},k(l.number),11,Xh))),128)):M("",!0)]),s.dismissed?M("",!0):(g(),S("div",Kh,[s.notifications.length?(g(),S("a",{key:0,href:"#",class:"dismiss",onClick:e[4]||(e[4]=z((...l)=>r.processDismissAllNotifications&&r.processDismissAllNotifications(...l),["stop","prevent"]))},k(i.strings.dismissAll),1)):M("",!0)]))])):M("",!0)])):M("",!0)]),_:1}),_(Ee,{name:"notifications-fade"},{default:E(()=>[s.notificationsStore.showNotifications?(g(),S("div",{key:0,onClick:e[5]||(e[5]=(...l)=>s.notificationsStore.toggleNotifications&&s.notificationsStore.toggleNotifications(...l)),class:"overlay"})):M("",!0)]),_:1})],512)}const em=j(Bh,[["render",Qh]]),tm="broken-link-checker-seo",nm={setup(){const{processSaveChanges:t}=ci();return{allowed:Xr,notificationsStore:ct(),rootStore:Lt(),processSaveChanges:t}},components:{BaseButton:Ft,CoreHeader:gd,CoreMainTabs:Kf,CoreNotifications:em,GridContainer:Nr},props:{showTabs:{type:Boolean,default(){return!0}},showSaveButton:{type:Boolean,default(){return!0}},excludeTabs:{type:Array,default(){return[]}}},data(){return{tabsKey:0,strings:{saveChanges:y("Save Changes",tm)}}},watch:{excludeTabs(){this.tabsKey+=1}},computed:{tabs(){return this.$router.options.routes.filter(t=>t.name&&t.meta&&t.meta.name).filter(t=>this.allowed(t.meta.access)).filter(t=>!this.excludeTabs.includes(t.name)).map(t=>({slug:t.name,name:t.meta.name,url:{name:t.name},access:t.meta.access}))},shouldShowSaveButton(){if(this.$route?.name){const t=this.$router.options.routes.find(e=>e.name===this.$route.name);if(t&&t.meta&&t.meta.hideSaveButton)return!1}return this.showSaveButton}},mounted(){vo().notifications&&(this.notificationsStore.showNotifications||(this.notificationsStore.showNotifications=!this.notificationsStore.showNotifications),setTimeout(()=>{wo("notifications")},500))}},sm={class:"aioseo-main"},im={key:1,class:"save-changes"};function rm(t,e,n,s,i,r){const o=C("core-notifications"),a=C("core-header"),l=C("core-main-tabs"),c=C("base-button"),u=C("grid-container");return g(),S("div",null,[_(o),m("div",sm,[_(a),_(u,null,{default:E(()=>[n.showTabs?(g(),H(l,{key:i.tabsKey,tabs:r.tabs,showSaveButton:r.shouldShowSaveButton},null,8,["tabs","showSaveButton"])):M("",!0),_(Ee,{name:"route-fade",mode:"out-in"},{default:E(()=>[ce(t.$slots,"default")]),_:3}),r.shouldShowSaveButton?(g(),S("div",im,[_(c,{type:"blue",size:"medium",loading:s.rootStore.loading,onClick:s.processSaveChanges},{default:E(()=>[R(k(i.strings.saveChanges),1)]),_:1},8,["loading","onClick"])])):M("",!0)]),_:3})])])}const Sm=j(nm,[["render",rm]]);export{Sm as C};