@tryghost/signup-form 0.3.28 → 0.3.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tryghost/signup-form",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.30",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
]
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
|
-
"dev": "pnpm build && concurrently --kill-others --names dev,preview,build \"vite --port 6173\" \"vite preview -l silent\" \"vite build --watch\"",
|
|
60
|
-
"preview": "concurrently --kill-others --names preview,build \"vite preview -l silent\" \"vite build --watch\"",
|
|
59
|
+
"dev": "pnpm build && concurrently --kill-others --names dev,preview,build \"vite --port 6173\" \"vite preview -l silent\" \"vite build --watch --mode development\"",
|
|
60
|
+
"preview": "concurrently --kill-others --names preview,build \"vite preview -l silent\" \"vite build --watch --mode development\"",
|
|
61
61
|
"dev:test": "vite build && vite preview --port 6175",
|
|
62
62
|
"build": "tsc && vite build",
|
|
63
63
|
"lint": "pnpm run lint:js",
|
package/umd/signup-form.min.js
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
`)+" "+E.join(`,
|
|
10
10
|
`)+" "+$[1]:$[0]+S+" "+E.join(", ")+" "+$[1]}function ce(E){return Array.isArray(E)}c.isArray=ce;function te(E){return typeof E=="boolean"}c.isBoolean=te;function X(E){return E===null}c.isNull=X;function pe(E){return E==null}c.isNullOrUndefined=pe;function ke(E){return typeof E=="number"}c.isNumber=ke;function _e(E){return typeof E=="string"}c.isString=_e;function je(E){return typeof E=="symbol"}c.isSymbol=je;function xe(E){return E===void 0}c.isUndefined=xe;function Oe(E){return de(E)&&Q(E)==="[object RegExp]"}c.isRegExp=Oe;function de(E){return typeof E=="object"&&E!==null}c.isObject=de;function be(E){return de(E)&&Q(E)==="[object Date]"}c.isDate=be;function Fe(E){return de(E)&&(Q(E)==="[object Error]"||E instanceof Error)}c.isError=Fe;function O(E){return typeof E=="function"}c.isFunction=O;function L(E){return E===null||typeof E=="boolean"||typeof E=="number"||typeof E=="string"||typeof E=="symbol"||typeof E>"u"}c.isPrimitive=L,c.isBuffer=am();function Q(E){return Object.prototype.toString.call(E)}function ie(E){return E<10?"0"+E.toString(10):E.toString(10)}var ue=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Te(){var E=new Date,S=[ie(E.getHours()),ie(E.getMinutes()),ie(E.getSeconds())].join(":");return[E.getDate(),ue[E.getMonth()],S].join(" ")}c.log=function(){console.log("%s - %s",Te(),c.format.apply(c,arguments))},c.inherits=lm(),c._extend=function(E,S){if(!S||!de(S))return E;for(var $=Object.keys(S),K=$.length;K--;)E[$[K]]=S[$[K]];return E};function ze(E,S){return Object.prototype.hasOwnProperty.call(E,S)}})(ys)),ys}var hu;function cm(){if(hu)return No.exports;hu=1;var c=sm()();function h(O,L){if(O===L)return 0;for(var Q=O.length,ie=L.length,ue=0,Te=Math.min(Q,ie);ue<Te;++ue)if(O[ue]!==L[ue]){Q=O[ue],ie=L[ue];break}return Q<ie?-1:ie<Q?1:0}function d(O){return br.Buffer&&typeof br.Buffer.isBuffer=="function"?br.Buffer.isBuffer(O):!!(O!=null&&O._isBuffer)}var y=um(),N=Object.prototype.hasOwnProperty,M=Array.prototype.slice,T=(function(){return(function(){}).name==="foo"})();function H(O){return Object.prototype.toString.call(O)}function R(O){return d(O)||typeof br.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(O):O?!!(O instanceof DataView||O.buffer&&O.buffer instanceof ArrayBuffer):!1}var F=No.exports=X,U=/\s*function\s+([^\(\s]*)\s*/;function I(O){if(y.isFunction(O)){if(T)return O.name;var L=O.toString(),Q=L.match(U);return Q&&Q[1]}}F.AssertionError=function(L){this.name="AssertionError",this.actual=L.actual,this.expected=L.expected,this.operator=L.operator,L.message?(this.message=L.message,this.generatedMessage=!1):(this.message=ce(this),this.generatedMessage=!0);var Q=L.stackStartFunction||te;if(Error.captureStackTrace)Error.captureStackTrace(this,Q);else{var ie=new Error;if(ie.stack){var ue=ie.stack,Te=I(Q),ze=ue.indexOf(`
|
|
11
11
|
`+Te);if(ze>=0){var E=ue.indexOf(`
|
|
12
|
-
`,ze+1);ue=ue.substring(E+1)}this.stack=ue}}},y.inherits(F.AssertionError,Error);function _(O,L){return typeof O=="string"?O.length<L?O:O.slice(0,L):O}function Y(O){if(T||!y.isFunction(O))return y.inspect(O);var L=I(O),Q=L?": "+L:"";return"[Function"+Q+"]"}function ce(O){return _(Y(O.actual),128)+" "+O.operator+" "+_(Y(O.expected),128)}function te(O,L,Q,ie,ue){throw new F.AssertionError({message:Q,actual:O,expected:L,operator:ie,stackStartFunction:ue})}F.fail=te;function X(O,L){O||te(O,!0,L,"==",F.ok)}F.ok=X,F.equal=function(L,Q,ie){L!=Q&&te(L,Q,ie,"==",F.equal)},F.notEqual=function(L,Q,ie){L==Q&&te(L,Q,ie,"!=",F.notEqual)},F.deepEqual=function(L,Q,ie){pe(L,Q,!1)||te(L,Q,ie,"deepEqual",F.deepEqual)},F.deepStrictEqual=function(L,Q,ie){pe(L,Q,!0)||te(L,Q,ie,"deepStrictEqual",F.deepStrictEqual)};function pe(O,L,Q,ie){if(O===L)return!0;if(d(O)&&d(L))return h(O,L)===0;if(y.isDate(O)&&y.isDate(L))return O.getTime()===L.getTime();if(y.isRegExp(O)&&y.isRegExp(L))return O.source===L.source&&O.global===L.global&&O.multiline===L.multiline&&O.lastIndex===L.lastIndex&&O.ignoreCase===L.ignoreCase;if((O===null||typeof O!="object")&&(L===null||typeof L!="object"))return Q?O===L:O==L;if(R(O)&&R(L)&&H(O)===H(L)&&!(O instanceof Float32Array||O instanceof Float64Array))return h(new Uint8Array(O.buffer),new Uint8Array(L.buffer))===0;if(d(O)!==d(L))return!1;ie=ie||{actual:[],expected:[]};var ue=ie.actual.indexOf(O);return ue!==-1&&ue===ie.expected.indexOf(L)?!0:(ie.actual.push(O),ie.expected.push(L),_e(O,L,Q,ie))}function ke(O){return Object.prototype.toString.call(O)=="[object Arguments]"}function _e(O,L,Q,ie){if(O==null||L===null||L===void 0)return!1;if(y.isPrimitive(O)||y.isPrimitive(L))return O===L;if(Q&&Object.getPrototypeOf(O)!==Object.getPrototypeOf(L))return!1;var ue=ke(O),Te=ke(L);if(ue&&!Te||!ue&&Te)return!1;if(ue)return O=M.call(O),L=M.call(L),pe(O,L,Q);var ze=Fe(O),E=Fe(L),S,$;if(ze.length!==E.length)return!1;for(ze.sort(),E.sort(),$=ze.length-1;$>=0;$--)if(ze[$]!==E[$])return!1;for($=ze.length-1;$>=0;$--)if(S=ze[$],!pe(O[S],L[S],Q,ie))return!1;return!0}F.notDeepEqual=function(L,Q,ie){pe(L,Q,!1)&&te(L,Q,ie,"notDeepEqual",F.notDeepEqual)},F.notDeepStrictEqual=je;function je(O,L,Q){pe(O,L,!0)&&te(O,L,Q,"notDeepStrictEqual",je)}F.strictEqual=function(L,Q,ie){L!==Q&&te(L,Q,ie,"===",F.strictEqual)},F.notStrictEqual=function(L,Q,ie){L===Q&&te(L,Q,ie,"!==",F.notStrictEqual)};function xe(O,L){if(!O||!L)return!1;if(Object.prototype.toString.call(L)=="[object RegExp]")return L.test(O);try{if(O instanceof L)return!0}catch{}return Error.isPrototypeOf(L)?!1:L.call({},O)===!0}function Oe(O){var L;try{O()}catch(Q){L=Q}return L}function de(O,L,Q,ie){var ue;if(typeof L!="function")throw new TypeError('"block" argument must be a function');typeof Q=="string"&&(ie=Q,Q=null),ue=Oe(L),ie=(Q&&Q.name?" ("+Q.name+").":".")+(ie?" "+ie:"."),O&&!ue&&te(ue,Q,"Missing expected exception"+ie);var Te=typeof ie=="string",ze=!O&&y.isError(ue),E=!O&&ue&&!Q;if((ze&&Te&&xe(ue,Q)||E)&&te(ue,Q,"Got unwanted exception"+ie),O&&ue&&Q&&!xe(ue,Q)||!O&&ue)throw ue}F.throws=function(O,L,Q){de(!0,O,L,Q)},F.doesNotThrow=function(O,L,Q){de(!1,O,L,Q)},F.ifError=function(O){if(O)throw O};function be(O,L){O||te(O,!0,L,"==",be)}F.strict=c(be,F,{equal:F.strictEqual,deepEqual:F.deepStrictEqual,notEqual:F.notStrictEqual,notDeepEqual:F.notDeepStrictEqual}),F.strict.strict=F.strict;var Fe=Object.keys||function(O){var L=[];for(var Q in O)N.call(O,Q)&&L.push(Q);return L};return No.exports}var ws,gu;function fm(){if(gu)return ws;gu=1;var c=cm();return ws=function(h){var d,y,N,M,T;for(d=Error.prepareStackTrace,Error.prepareStackTrace=function(H,R){return Error.prepareStackTrace=d,R},y=new Error().stack,T=0;T<y.length&&y[T].getFileName()!==__filename;)T++;c(T<y.length,"Unexpected: unable to find caller/index.js in the stack"),h=!h||isNaN(h)?1:h>y.length-2?y.length-2:h,y=y.slice(T+h+1);do M=y.shift(),N=M&&M.getFileName();while(y.length&&N==="module.js");return N},ws}var yu;function dm(){if(yu)return li;yu=1;const c=Xn,h=Xn,d=_p(),y=fm();return li.getCallerRoot=function(){try{return d(y(2))}catch{return}},li.getProcessRoot=function(){let M=process.cwd();const T=h.join(M,"current");try{c.statSync(T).isDirectory()&&(M=T)}catch{}try{return d(M)}catch{return}},li}var ks,vu;function pm(){return vu||(vu=1,ks=dm()),ks}var fi={exports:{}},Ss,wu;function mm(){if(wu)return Ss;wu=1;var c=1e3,h=c*60,d=h*60,y=d*24,N=y*7,M=y*365.25;Ss=function(U,I){I=I||{};var _=typeof U;if(_==="string"&&U.length>0)return T(U);if(_==="number"&&isFinite(U))return I.long?R(U):H(U);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(U))};function T(U){if(U=String(U),!(U.length>100)){var I=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(U);if(I){var _=parseFloat(I[1]),Y=(I[2]||"ms").toLowerCase();switch(Y){case"years":case"year":case"yrs":case"yr":case"y":return _*M;case"weeks":case"week":case"w":return _*N;case"days":case"day":case"d":return _*y;case"hours":case"hour":case"hrs":case"hr":case"h":return _*d;case"minutes":case"minute":case"mins":case"min":case"m":return _*h;case"seconds":case"second":case"secs":case"sec":case"s":return _*c;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return _;default:return}}}}function H(U){var I=Math.abs(U);return I>=y?Math.round(U/y)+"d":I>=d?Math.round(U/d)+"h":I>=h?Math.round(U/h)+"m":I>=c?Math.round(U/c)+"s":U+"ms"}function R(U){var I=Math.abs(U);return I>=y?F(U,I,y,"day"):I>=d?F(U,I,d,"hour"):I>=h?F(U,I,h,"minute"):I>=c?F(U,I,c,"second"):U+" ms"}function F(U,I,_,Y){var ce=I>=_*1.5;return Math.round(U/_)+" "+Y+(ce?"s":"")}return Ss}var xs,ku;function hm(){if(ku)return xs;ku=1;function c(h){y.debug=y,y.default=y,y.coerce=F,y.disable=H,y.enable=M,y.enabled=R,y.humanize=mm(),y.destroy=U,Object.keys(h).forEach(I=>{y[I]=h[I]}),y.names=[],y.skips=[],y.formatters={};function d(I){let _=0;for(let Y=0;Y<I.length;Y++)_=(_<<5)-_+I.charCodeAt(Y),_|=0;return y.colors[Math.abs(_)%y.colors.length]}y.selectColor=d;function y(I){let _,Y=null,ce,te;function X(...pe){if(!X.enabled)return;const ke=X,_e=Number(new Date),je=_e-(_||_e);ke.diff=je,ke.prev=_,ke.curr=_e,_=_e,pe[0]=y.coerce(pe[0]),typeof pe[0]!="string"&&pe.unshift("%O");let xe=0;pe[0]=pe[0].replace(/%([a-zA-Z%])/g,(de,be)=>{if(de==="%%")return"%";xe++;const Fe=y.formatters[be];if(typeof Fe=="function"){const O=pe[xe];de=Fe.call(ke,O),pe.splice(xe,1),xe--}return de}),y.formatArgs.call(ke,pe),(ke.log||y.log).apply(ke,pe)}return X.namespace=I,X.useColors=y.useColors(),X.color=y.selectColor(I),X.extend=N,X.destroy=y.destroy,Object.defineProperty(X,"enabled",{enumerable:!0,configurable:!1,get:()=>Y!==null?Y:(ce!==y.namespaces&&(ce=y.namespaces,te=y.enabled(I)),te),set:pe=>{Y=pe}}),typeof y.init=="function"&&y.init(X),X}function N(I,_){const Y=y(this.namespace+(typeof _>"u"?":":_)+I);return Y.log=this.log,Y}function M(I){y.save(I),y.namespaces=I,y.names=[],y.skips=[];const _=(typeof I=="string"?I:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const Y of _)Y[0]==="-"?y.skips.push(Y.slice(1)):y.names.push(Y)}function T(I,_){let Y=0,ce=0,te=-1,X=0;for(;Y<I.length;)if(ce<_.length&&(_[ce]===I[Y]||_[ce]==="*"))_[ce]==="*"?(te=ce,X=Y,ce++):(Y++,ce++);else if(te!==-1)ce=te+1,X++,Y=X;else return!1;for(;ce<_.length&&_[ce]==="*";)ce++;return ce===_.length}function H(){const I=[...y.names,...y.skips.map(_=>"-"+_)].join(",");return y.enable(""),I}function R(I){for(const _ of y.skips)if(T(I,_))return!1;for(const _ of y.names)if(T(I,_))return!0;return!1}function F(I){return I instanceof Error?I.stack||I.message:I}function U(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return y.enable(y.load()),y}return xs=c,xs}var Su;function gm(){return Su||(Su=1,(function(c,h){h.formatArgs=y,h.save=N,h.load=M,h.useColors=d,h.storage=T(),h.destroy=(()=>{let R=!1;return()=>{R||(R=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),h.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function d(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let R;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(R=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(R[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function y(R){if(R[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+R[0]+(this.useColors?"%c ":" ")+"+"+c.exports.humanize(this.diff),!this.useColors)return;const F="color: "+this.color;R.splice(1,0,F,"color: inherit");let U=0,I=0;R[0].replace(/%[a-zA-Z%]/g,_=>{_!=="%%"&&(U++,_==="%c"&&(I=U))}),R.splice(I,0,F)}h.log=console.debug||console.log||(()=>{});function N(R){try{R?h.storage.setItem("debug",R):h.storage.removeItem("debug")}catch{}}function M(){let R;try{R=h.storage.getItem("debug")||h.storage.getItem("DEBUG")}catch{}return!R&&typeof process<"u"&&"env"in process&&(R=process.env.DEBUG),R}function T(){try{return localStorage}catch{}}c.exports=hm()(h);const{formatters:H}=c.exports;H.j=function(R){try{return JSON.stringify(R)}catch(F){return"[UnexpectedJSONParseError]: "+F.message}}})(fi,fi.exports)),fi.exports}var xu;function ym(){if(xu)return ai.exports;xu=1;const c=pm(),h=gm();return ai.exports=function(y){const N=c.getCallerRoot();let M;try{const T=In("/node_modules/.pnpm/@tryghost+debug@2.2.3/node_modules/@tryghost/debug/lib")(N+"/package.json");T.alias?M=T.alias:M=T.name}catch{M="undefined"}return h(M+":"+y)},ai.exports._base=h,ai.exports}var bs,bu;function vm(){return bu||(bu=1,bs=ym()),bs}const wm=[{code:"af",label:"Afrikaans"},{code:"ar",label:"Arabic"},{code:"bg",label:"Bulgarian"},{code:"bn",label:"Bengali"},{code:"bs",label:"Bosnian"},{code:"ca",label:"Catalan"},{code:"cs",label:"Czech"},{code:"da",label:"Danish"},{code:"de",label:"German"},{code:"de-CH",label:"Swiss German"},{code:"el",label:"Greek"},{code:"en",label:"English"},{code:"eo",label:"Esperanto"},{code:"es",label:"Spanish"},{code:"et",label:"Estonian"},{code:"eu",label:"Basque"},{code:"fa",label:"Persian/Farsi"},{code:"fi",label:"Finnish"},{code:"fr",label:"French"},{code:"gd",label:"Gaelic (Scottish)"},{code:"he",label:"Hebrew"},{code:"hi",label:"Hindi"},{code:"hr",label:"Croatian"},{code:"hu",label:"Hungarian"},{code:"id",label:"Indonesian"},{code:"is",label:"Icelandic"},{code:"it",label:"Italian"},{code:"ja",label:"Japanese"},{code:"ko",label:"Korean"},{code:"kz",label:"Kazakh"},{code:"lt",label:"Lithuanian"},{code:"lv",label:"Latvian"},{code:"mk",label:"Macedonian"},{code:"mn",label:"Mongolian"},{code:"ms",label:"Malay"},{code:"nb",label:"Norwegian Bokmål"},{code:"ne",label:"Nepali"},{code:"nl",label:"Dutch"},{code:"nn",label:"Norwegian Nynorsk"},{code:"pa",label:"Punjabi"},{code:"pl",label:"Polish"},{code:"pt",label:"Portuguese"},{code:"pt-BR",label:"Portuguese (Brazil)"},{code:"ro",label:"Romanian"},{code:"ru",label:"Russian"},{code:"si",label:"Sinhala"},{code:"sk",label:"Slovak"},{code:"sl",label:"Slovenian"},{code:"sq",label:"Albanian"},{code:"sr",label:"Serbian"},{code:"sr-Cyrl",label:"Serbian (Cyrillic)"},{code:"sv",label:"Swedish"},{code:"sw",label:"Swahili"},{code:"ta",label:"Tamil"},{code:"th",label:"Thai"},{code:"tr",label:"Turkish"},{code:"uk",label:"Ukrainian"},{code:"ur",label:"Urdu"},{code:"uz",label:"Uzbek"},{code:"vi",label:"Vietnamese"},{code:"zh",label:"Chinese"},{code:"zh-Hant",label:"Traditional Chinese"}];var Eu;function km(){if(Eu)return Zn.exports;Eu=1;const c=Rp(),h=Xn,d=Xn,y=vm()("i18n"),N=wm,M=N.map(R=>R.code);function T(R,F){return R.reduce((U,I)=>{let _;try{_=In("/ghost/i18n/lib")(`../locales/${I}/${F}.json`)}catch{_=In("/ghost/i18n/lib")(`../locales/en/${F}.json`)}return U[I]={[F]:{..._,..._.default&&typeof _.default=="object"?_.default:{}}},U},{})}function H(R,F){if(!F)return{[R]:{theme:{}}};let U=[];try{U=d.readdirSync(F).filter(Y=>Y.endsWith(".json")).map(Y=>Y.replace(".json",""))}catch{U=[R,"en"]}return[...new Set([R,...U,"en"])].reduce((_,Y)=>{let ce,te=!1;const X=h.join(F,`${Y}.json`);if(d.existsSync(X))try{delete require.cache[In("/ghost/i18n/lib").resolve(X)],ce=In("/ghost/i18n/lib")(X)}catch{y(`Error loading theme locale file: ${Y}`),te=!0}else te=!0;if(te)if(Y!=="en")try{const pe=h.join(F,"en.json");d.existsSync(pe)?(delete require.cache[In("/ghost/i18n/lib").resolve(pe)],ce=In("/ghost/i18n/lib")(pe)):ce={}}catch{ce={}}else y("Theme en.json file not found"),ce={};return _[Y]={theme:{...ce,...ce.default&&typeof ce.default=="object"?ce.default:{}}},_},{})}return Zn.exports=(R="en",F="portal",U={})=>{const I=c.createInstance(),_={prefix:"{",suffix:"}"};(F==="theme"||F==="portal")&&(_.escapeValue=!1);let Y;return F!=="theme"?Y=T(M,F):(y(`generateThemeResources: ${R}, ${U.themePath}`),Y=H(R,U.themePath)),I.init({lng:R,nsSeparator:!1,keySeparator:!1,returnEmptyString:!1,fallbackLng:{no:["nb","en"],default:["en"]},ns:F,defaultNS:F,interpolation:_,resources:Y}),I},Zn.exports.SUPPORTED_LOCALES=M,Zn.exports.LOCALE_DATA=N,Zn.exports.generateResources=T,Zn.exports}var Cu;function Sm(){if(Cu)return Ln.exports;Cu=1;const c=km();return Ln.exports=c,Ln.exports.default=c,Ln.exports.LOCALE_DATA=c.LOCALE_DATA,Ln.exports.SUPPORTED_LOCALES=c.SUPPORTED_LOCALES,Ln.exports.generateResources=c.generateResources,Ln.exports}var Pu=Sm();const xm=oi({__proto__:null,default:xo(Pu)},[Pu]);var Je=Co();const Ot=xo(Je),bm=c=>Je.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:24,width:24,viewBox:"0 0 24 24","aria-busy":"true","aria-live":"polite",...c},Je.createElement("g",{strokeLinecap:"round",strokeWidth:2,fill:"currentColor",stroke:"none",strokeLinejoin:"round",className:"nc-icon-wrapper"},Je.createElement("g",{className:"nc-loop-dots-4-24-icon-o"},Je.createElement("circle",{cx:4,cy:12,r:3}),Je.createElement("circle",{cx:12,cy:12,r:3}),Je.createElement("circle",{cx:20,cy:12,r:3})),Je.createElement("style",{"data-cap":"butt"},`
|
|
12
|
+
`,ze+1);ue=ue.substring(E+1)}this.stack=ue}}},y.inherits(F.AssertionError,Error);function _(O,L){return typeof O=="string"?O.length<L?O:O.slice(0,L):O}function Y(O){if(T||!y.isFunction(O))return y.inspect(O);var L=I(O),Q=L?": "+L:"";return"[Function"+Q+"]"}function ce(O){return _(Y(O.actual),128)+" "+O.operator+" "+_(Y(O.expected),128)}function te(O,L,Q,ie,ue){throw new F.AssertionError({message:Q,actual:O,expected:L,operator:ie,stackStartFunction:ue})}F.fail=te;function X(O,L){O||te(O,!0,L,"==",F.ok)}F.ok=X,F.equal=function(L,Q,ie){L!=Q&&te(L,Q,ie,"==",F.equal)},F.notEqual=function(L,Q,ie){L==Q&&te(L,Q,ie,"!=",F.notEqual)},F.deepEqual=function(L,Q,ie){pe(L,Q,!1)||te(L,Q,ie,"deepEqual",F.deepEqual)},F.deepStrictEqual=function(L,Q,ie){pe(L,Q,!0)||te(L,Q,ie,"deepStrictEqual",F.deepStrictEqual)};function pe(O,L,Q,ie){if(O===L)return!0;if(d(O)&&d(L))return h(O,L)===0;if(y.isDate(O)&&y.isDate(L))return O.getTime()===L.getTime();if(y.isRegExp(O)&&y.isRegExp(L))return O.source===L.source&&O.global===L.global&&O.multiline===L.multiline&&O.lastIndex===L.lastIndex&&O.ignoreCase===L.ignoreCase;if((O===null||typeof O!="object")&&(L===null||typeof L!="object"))return Q?O===L:O==L;if(R(O)&&R(L)&&H(O)===H(L)&&!(O instanceof Float32Array||O instanceof Float64Array))return h(new Uint8Array(O.buffer),new Uint8Array(L.buffer))===0;if(d(O)!==d(L))return!1;ie=ie||{actual:[],expected:[]};var ue=ie.actual.indexOf(O);return ue!==-1&&ue===ie.expected.indexOf(L)?!0:(ie.actual.push(O),ie.expected.push(L),_e(O,L,Q,ie))}function ke(O){return Object.prototype.toString.call(O)=="[object Arguments]"}function _e(O,L,Q,ie){if(O==null||L===null||L===void 0)return!1;if(y.isPrimitive(O)||y.isPrimitive(L))return O===L;if(Q&&Object.getPrototypeOf(O)!==Object.getPrototypeOf(L))return!1;var ue=ke(O),Te=ke(L);if(ue&&!Te||!ue&&Te)return!1;if(ue)return O=M.call(O),L=M.call(L),pe(O,L,Q);var ze=Fe(O),E=Fe(L),S,$;if(ze.length!==E.length)return!1;for(ze.sort(),E.sort(),$=ze.length-1;$>=0;$--)if(ze[$]!==E[$])return!1;for($=ze.length-1;$>=0;$--)if(S=ze[$],!pe(O[S],L[S],Q,ie))return!1;return!0}F.notDeepEqual=function(L,Q,ie){pe(L,Q,!1)&&te(L,Q,ie,"notDeepEqual",F.notDeepEqual)},F.notDeepStrictEqual=je;function je(O,L,Q){pe(O,L,!0)&&te(O,L,Q,"notDeepStrictEqual",je)}F.strictEqual=function(L,Q,ie){L!==Q&&te(L,Q,ie,"===",F.strictEqual)},F.notStrictEqual=function(L,Q,ie){L===Q&&te(L,Q,ie,"!==",F.notStrictEqual)};function xe(O,L){if(!O||!L)return!1;if(Object.prototype.toString.call(L)=="[object RegExp]")return L.test(O);try{if(O instanceof L)return!0}catch{}return Error.isPrototypeOf(L)?!1:L.call({},O)===!0}function Oe(O){var L;try{O()}catch(Q){L=Q}return L}function de(O,L,Q,ie){var ue;if(typeof L!="function")throw new TypeError('"block" argument must be a function');typeof Q=="string"&&(ie=Q,Q=null),ue=Oe(L),ie=(Q&&Q.name?" ("+Q.name+").":".")+(ie?" "+ie:"."),O&&!ue&&te(ue,Q,"Missing expected exception"+ie);var Te=typeof ie=="string",ze=!O&&y.isError(ue),E=!O&&ue&&!Q;if((ze&&Te&&xe(ue,Q)||E)&&te(ue,Q,"Got unwanted exception"+ie),O&&ue&&Q&&!xe(ue,Q)||!O&&ue)throw ue}F.throws=function(O,L,Q){de(!0,O,L,Q)},F.doesNotThrow=function(O,L,Q){de(!1,O,L,Q)},F.ifError=function(O){if(O)throw O};function be(O,L){O||te(O,!0,L,"==",be)}F.strict=c(be,F,{equal:F.strictEqual,deepEqual:F.deepStrictEqual,notEqual:F.notStrictEqual,notDeepEqual:F.notDeepStrictEqual}),F.strict.strict=F.strict;var Fe=Object.keys||function(O){var L=[];for(var Q in O)N.call(O,Q)&&L.push(Q);return L};return No.exports}var ws,gu;function fm(){if(gu)return ws;gu=1;var c=cm();return ws=function(h){var d,y,N,M,T;for(d=Error.prepareStackTrace,Error.prepareStackTrace=function(H,R){return Error.prepareStackTrace=d,R},y=new Error().stack,T=0;T<y.length&&y[T].getFileName()!==__filename;)T++;c(T<y.length,"Unexpected: unable to find caller/index.js in the stack"),h=!h||isNaN(h)?1:h>y.length-2?y.length-2:h,y=y.slice(T+h+1);do M=y.shift(),N=M&&M.getFileName();while(y.length&&N==="module.js");return N},ws}var yu;function dm(){if(yu)return li;yu=1;const c=Xn,h=Xn,d=_p(),y=fm();return li.getCallerRoot=function(){try{return d(y(2))}catch{return}},li.getProcessRoot=function(){let M=process.cwd();const T=h.join(M,"current");try{c.statSync(T).isDirectory()&&(M=T)}catch{}try{return d(M)}catch{return}},li}var ks,vu;function pm(){return vu||(vu=1,ks=dm()),ks}var fi={exports:{}},Ss,wu;function mm(){if(wu)return Ss;wu=1;var c=1e3,h=c*60,d=h*60,y=d*24,N=y*7,M=y*365.25;Ss=function(U,I){I=I||{};var _=typeof U;if(_==="string"&&U.length>0)return T(U);if(_==="number"&&isFinite(U))return I.long?R(U):H(U);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(U))};function T(U){if(U=String(U),!(U.length>100)){var I=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(U);if(I){var _=parseFloat(I[1]),Y=(I[2]||"ms").toLowerCase();switch(Y){case"years":case"year":case"yrs":case"yr":case"y":return _*M;case"weeks":case"week":case"w":return _*N;case"days":case"day":case"d":return _*y;case"hours":case"hour":case"hrs":case"hr":case"h":return _*d;case"minutes":case"minute":case"mins":case"min":case"m":return _*h;case"seconds":case"second":case"secs":case"sec":case"s":return _*c;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return _;default:return}}}}function H(U){var I=Math.abs(U);return I>=y?Math.round(U/y)+"d":I>=d?Math.round(U/d)+"h":I>=h?Math.round(U/h)+"m":I>=c?Math.round(U/c)+"s":U+"ms"}function R(U){var I=Math.abs(U);return I>=y?F(U,I,y,"day"):I>=d?F(U,I,d,"hour"):I>=h?F(U,I,h,"minute"):I>=c?F(U,I,c,"second"):U+" ms"}function F(U,I,_,Y){var ce=I>=_*1.5;return Math.round(U/_)+" "+Y+(ce?"s":"")}return Ss}var xs,ku;function hm(){if(ku)return xs;ku=1;function c(h){y.debug=y,y.default=y,y.coerce=F,y.disable=H,y.enable=M,y.enabled=R,y.humanize=mm(),y.destroy=U,Object.keys(h).forEach(I=>{y[I]=h[I]}),y.names=[],y.skips=[],y.formatters={};function d(I){let _=0;for(let Y=0;Y<I.length;Y++)_=(_<<5)-_+I.charCodeAt(Y),_|=0;return y.colors[Math.abs(_)%y.colors.length]}y.selectColor=d;function y(I){let _,Y=null,ce,te;function X(...pe){if(!X.enabled)return;const ke=X,_e=Number(new Date),je=_e-(_||_e);ke.diff=je,ke.prev=_,ke.curr=_e,_=_e,pe[0]=y.coerce(pe[0]),typeof pe[0]!="string"&&pe.unshift("%O");let xe=0;pe[0]=pe[0].replace(/%([a-zA-Z%])/g,(de,be)=>{if(de==="%%")return"%";xe++;const Fe=y.formatters[be];if(typeof Fe=="function"){const O=pe[xe];de=Fe.call(ke,O),pe.splice(xe,1),xe--}return de}),y.formatArgs.call(ke,pe),(ke.log||y.log).apply(ke,pe)}return X.namespace=I,X.useColors=y.useColors(),X.color=y.selectColor(I),X.extend=N,X.destroy=y.destroy,Object.defineProperty(X,"enabled",{enumerable:!0,configurable:!1,get:()=>Y!==null?Y:(ce!==y.namespaces&&(ce=y.namespaces,te=y.enabled(I)),te),set:pe=>{Y=pe}}),typeof y.init=="function"&&y.init(X),X}function N(I,_){const Y=y(this.namespace+(typeof _>"u"?":":_)+I);return Y.log=this.log,Y}function M(I){y.save(I),y.namespaces=I,y.names=[],y.skips=[];const _=(typeof I=="string"?I:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const Y of _)Y[0]==="-"?y.skips.push(Y.slice(1)):y.names.push(Y)}function T(I,_){let Y=0,ce=0,te=-1,X=0;for(;Y<I.length;)if(ce<_.length&&(_[ce]===I[Y]||_[ce]==="*"))_[ce]==="*"?(te=ce,X=Y,ce++):(Y++,ce++);else if(te!==-1)ce=te+1,X++,Y=X;else return!1;for(;ce<_.length&&_[ce]==="*";)ce++;return ce===_.length}function H(){const I=[...y.names,...y.skips.map(_=>"-"+_)].join(",");return y.enable(""),I}function R(I){for(const _ of y.skips)if(T(I,_))return!1;for(const _ of y.names)if(T(I,_))return!0;return!1}function F(I){return I instanceof Error?I.stack||I.message:I}function U(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return y.enable(y.load()),y}return xs=c,xs}var Su;function gm(){return Su||(Su=1,(function(c,h){h.formatArgs=y,h.save=N,h.load=M,h.useColors=d,h.storage=T(),h.destroy=(()=>{let R=!1;return()=>{R||(R=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),h.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function d(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let R;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(R=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(R[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function y(R){if(R[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+R[0]+(this.useColors?"%c ":" ")+"+"+c.exports.humanize(this.diff),!this.useColors)return;const F="color: "+this.color;R.splice(1,0,F,"color: inherit");let U=0,I=0;R[0].replace(/%[a-zA-Z%]/g,_=>{_!=="%%"&&(U++,_==="%c"&&(I=U))}),R.splice(I,0,F)}h.log=console.debug||console.log||(()=>{});function N(R){try{R?h.storage.setItem("debug",R):h.storage.removeItem("debug")}catch{}}function M(){let R;try{R=h.storage.getItem("debug")||h.storage.getItem("DEBUG")}catch{}return!R&&typeof process<"u"&&"env"in process&&(R=process.env.DEBUG),R}function T(){try{return localStorage}catch{}}c.exports=hm()(h);const{formatters:H}=c.exports;H.j=function(R){try{return JSON.stringify(R)}catch(F){return"[UnexpectedJSONParseError]: "+F.message}}})(fi,fi.exports)),fi.exports}var xu;function ym(){if(xu)return ai.exports;xu=1;const c=pm(),h=gm();return ai.exports=function(y){const N=c.getCallerRoot();let M;try{const T=In("/node_modules/.pnpm/@tryghost+debug@2.2.3_supports-color@5.5.0/node_modules/@tryghost/debug/lib")(N+"/package.json");T.alias?M=T.alias:M=T.name}catch{M="undefined"}return h(M+":"+y)},ai.exports._base=h,ai.exports}var bs,bu;function vm(){return bu||(bu=1,bs=ym()),bs}const wm=[{code:"af",label:"Afrikaans"},{code:"ar",label:"Arabic"},{code:"bg",label:"Bulgarian"},{code:"bn",label:"Bengali"},{code:"bs",label:"Bosnian"},{code:"ca",label:"Catalan"},{code:"cs",label:"Czech"},{code:"da",label:"Danish"},{code:"de",label:"German"},{code:"de-CH",label:"Swiss German"},{code:"el",label:"Greek"},{code:"en",label:"English"},{code:"eo",label:"Esperanto"},{code:"es",label:"Spanish"},{code:"et",label:"Estonian"},{code:"eu",label:"Basque"},{code:"fa",label:"Persian/Farsi"},{code:"fi",label:"Finnish"},{code:"fr",label:"French"},{code:"gd",label:"Gaelic (Scottish)"},{code:"he",label:"Hebrew"},{code:"hi",label:"Hindi"},{code:"hr",label:"Croatian"},{code:"hu",label:"Hungarian"},{code:"id",label:"Indonesian"},{code:"is",label:"Icelandic"},{code:"it",label:"Italian"},{code:"ja",label:"Japanese"},{code:"ko",label:"Korean"},{code:"kz",label:"Kazakh"},{code:"lt",label:"Lithuanian"},{code:"lv",label:"Latvian"},{code:"mk",label:"Macedonian"},{code:"mn",label:"Mongolian"},{code:"ms",label:"Malay"},{code:"nb",label:"Norwegian Bokmål"},{code:"ne",label:"Nepali"},{code:"nl",label:"Dutch"},{code:"nn",label:"Norwegian Nynorsk"},{code:"pa",label:"Punjabi"},{code:"pl",label:"Polish"},{code:"pt",label:"Portuguese"},{code:"pt-BR",label:"Portuguese (Brazil)"},{code:"ro",label:"Romanian"},{code:"ru",label:"Russian"},{code:"si",label:"Sinhala"},{code:"sk",label:"Slovak"},{code:"sl",label:"Slovenian"},{code:"sq",label:"Albanian"},{code:"sr",label:"Serbian"},{code:"sr-Cyrl",label:"Serbian (Cyrillic)"},{code:"sv",label:"Swedish"},{code:"sw",label:"Swahili"},{code:"ta",label:"Tamil"},{code:"th",label:"Thai"},{code:"tr",label:"Turkish"},{code:"uk",label:"Ukrainian"},{code:"ur",label:"Urdu"},{code:"uz",label:"Uzbek"},{code:"vi",label:"Vietnamese"},{code:"zh",label:"Chinese"},{code:"zh-Hant",label:"Traditional Chinese"}];var Eu;function km(){if(Eu)return Zn.exports;Eu=1;const c=Rp(),h=Xn,d=Xn,y=vm()("i18n"),N=wm,M=N.map(R=>R.code);function T(R,F){return R.reduce((U,I)=>{let _;try{_=In("/ghost/i18n/lib")(`../locales/${I}/${F}.json`)}catch{_=In("/ghost/i18n/lib")(`../locales/en/${F}.json`)}return U[I]={[F]:{..._,..._.default&&typeof _.default=="object"?_.default:{}}},U},{})}function H(R,F){if(!F)return{[R]:{theme:{}}};let U=[];try{U=d.readdirSync(F).filter(Y=>Y.endsWith(".json")).map(Y=>Y.replace(".json",""))}catch{U=[R,"en"]}return[...new Set([R,...U,"en"])].reduce((_,Y)=>{let ce,te=!1;const X=h.join(F,`${Y}.json`);if(d.existsSync(X))try{delete require.cache[In("/ghost/i18n/lib").resolve(X)],ce=In("/ghost/i18n/lib")(X)}catch{y(`Error loading theme locale file: ${Y}`),te=!0}else te=!0;if(te)if(Y!=="en")try{const pe=h.join(F,"en.json");d.existsSync(pe)?(delete require.cache[In("/ghost/i18n/lib").resolve(pe)],ce=In("/ghost/i18n/lib")(pe)):ce={}}catch{ce={}}else y("Theme en.json file not found"),ce={};return _[Y]={theme:{...ce,...ce.default&&typeof ce.default=="object"?ce.default:{}}},_},{})}return Zn.exports=(R="en",F="portal",U={})=>{const I=c.createInstance(),_={prefix:"{",suffix:"}"};(F==="theme"||F==="portal")&&(_.escapeValue=!1);let Y;return F!=="theme"?Y=T(M,F):(y(`generateThemeResources: ${R}, ${U.themePath}`),Y=H(R,U.themePath)),I.init({lng:R,nsSeparator:!1,keySeparator:!1,returnEmptyString:!1,fallbackLng:{no:["nb","en"],default:["en"]},ns:F,defaultNS:F,interpolation:_,resources:Y}),I},Zn.exports.SUPPORTED_LOCALES=M,Zn.exports.LOCALE_DATA=N,Zn.exports.generateResources=T,Zn.exports}var Cu;function Sm(){if(Cu)return Ln.exports;Cu=1;const c=km();return Ln.exports=c,Ln.exports.default=c,Ln.exports.LOCALE_DATA=c.LOCALE_DATA,Ln.exports.SUPPORTED_LOCALES=c.SUPPORTED_LOCALES,Ln.exports.generateResources=c.generateResources,Ln.exports}var Pu=Sm();const xm=oi({__proto__:null,default:xo(Pu)},[Pu]);var Je=Co();const Ot=xo(Je),bm=c=>Je.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",height:24,width:24,viewBox:"0 0 24 24","aria-busy":"true","aria-live":"polite",...c},Je.createElement("g",{strokeLinecap:"round",strokeWidth:2,fill:"currentColor",stroke:"none",strokeLinejoin:"round",className:"nc-icon-wrapper"},Je.createElement("g",{className:"nc-loop-dots-4-24-icon-o"},Je.createElement("circle",{cx:4,cy:12,r:3}),Je.createElement("circle",{cx:12,cy:12,r:3}),Je.createElement("circle",{cx:20,cy:12,r:3})),Je.createElement("style",{"data-cap":"butt"},`
|
|
13
13
|
.nc-loop-dots-4-24-icon-o{--animation-duration:0.8s}
|
|
14
14
|
.nc-loop-dots-4-24-icon-o *{opacity:.4;transform:scale(.75);animation:nc-loop-dots-4-anim var(--animation-duration) infinite}
|
|
15
15
|
.nc-loop-dots-4-24-icon-o :nth-child(1){transform-origin:4px 12px;animation-delay:-.3s;animation-delay:calc(var(--animation-duration)/-2.666)}
|