diff --git a/public/asset-manifest.json b/public/asset-manifest.json index bfea627..b2c9e2b 100644 --- a/public/asset-manifest.json +++ b/public/asset-manifest.json @@ -1,6 +1,6 @@ { "core.min.js": "core.d23af1c652.min.js", - "vendor.min.js": "vendor.094a489e61.min.js", + "vendor.min.js": "vendor.eeb2e79895.min.js", "mermaid.min.js": "mermaid.a7356d5ed1.min.js", "all.min.css": "all.07e4a087c1.min.css", "markdown.min.js": "markdown.6c8dfb7b1d.min.js", diff --git a/public/css/style.css b/public/css/style.css index ce8dcad..fe56f2c 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -14894,6 +14894,6 @@ body.dark-mode .reviewer-preview .rp-preserved-tag { background: rgba(251, 191, .anonymize-page .dated-options .hosting-property label, .anonymize-page .dated-options .hosting-date .paper-field-label { color: var(--ink-soft, var(--ink-muted)); } @media (max-width: 767px) { .anonymize-page .expiration-choice-row > .expiry-change { min-height: 44px; margin-top: 0; } } -/* Below 992px the file tree sits off-screen; the caption's Files button is the - only way to open it when the preview shows no file (no README, loading, error). */ +/* Below 992px the file tree sits off-screen. With no file shown (no README, + loading, error) the window has no Files button, so the caption carries one. */ @media (min-width: 992px) { .reviewer-preview .rp-open.rp-files { display: none; } } diff --git a/public/partials/anonymize.htm b/public/partials/anonymize.htm index 0cf9049..de490c8 100644 --- a/public/partials/anonymize.htm +++ b/public/partials/anonymize.htm @@ -532,7 +532,7 @@
What reviewers will see - + redacted diff --git a/public/script/vendor.min.js b/public/script/vendor.min.js index 96a578f..bee0207 100644 --- a/public/script/vendor.min.js +++ b/public/script/vendor.min.js @@ -1,4 +1,4 @@ -"use strict";(()=>{var ml=Object.defineProperty;var hl=e=>{throw TypeError(e)};var wf=(e,t,s)=>t in e?ml(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var kf=(e,t)=>{for(var s in t)ml(e,s,{get:t[s],enumerable:!0})};var tt=(e,t,s)=>wf(e,typeof t!="symbol"?t+"":t,s),Tr=(e,t,s)=>t.has(e)||hl("Cannot "+s);var ae=(e,t,s)=>(Tr(e,t,"read from private field"),s?s.call(e):t.get(e)),qe=(e,t,s)=>t.has(e)?hl("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,s),Be=(e,t,s,i)=>(Tr(e,t,"write to private field"),i?i.call(e,s):t.set(e,s),s),$e=(e,t,s)=>(Tr(e,t,"access private method"),s);var gl=(e,t,s,i)=>({set _(o){Be(e,t,o,s)},get _(){return ae(e,t,i)}});var ge=["abap","abc","actionscript","ada","alda","apache_conf","apex","applescript","aql","asciidoc","asl","assembly_x86","autohotkey","batchfile","c9search","c_cpp","cirru","clojure","cobol","coffee","coldfusion","crystal","csharp","csound_document","csound_orchestra","csound_score","csp","css","curly","d","dart","diff","django","dockerfile","dot","drools","edifact","eiffel","ejs","elixir","elm","erlang","forth","fortran","fsharp","fsl","ftl","gcode","gherkin","gitignore","glsl","gobstones","golang","graphqlschema","groovy","haml","handlebars","haskell","haskell_cabal","haxe","hjson","html","html_elixir","html_ruby","ini","io","jack","jade","java","javascript","json","json5","jsoniq","jsp","jssm","jsx","julia","kotlin","latex","less","liquid","lisp","livescript","logiql","logtalk","lsl","lua","luapage","lucene","makefile","markdown","mask","matlab","maze","mediawiki","mel","mixal","mushcode","mysql","nginx","nim","nix","nsis","nunjucks","objectivec","ocaml","pascal","perl","perl6","pgsql","php","php_laravel_blade","pig","plain_text","powershell","praat","prisma","prolog","properties","protobuf","puppet","python","qml","r","razor","rdoc","red","redshift","rhtml","rst","ruby","rust","sass","scad","scala","scheme","scss","sh","sjs","slim","smarty","snippets","soy_template","space","sparql","sql","sqlserver","stylus","svg","swift","tcl","terraform","tex","text","textile","toml","tsx","turtle","twig","typescript","vala","vbscript","velocity","verilog","vhdl","visualforce","wollok","xml","xquery","yaml","zeek"];var ve={markdown:"/script/markdown.6c8dfb7b1d.min.js",notebook:"/script/notebook.c3144c18ae.min.js",org:"/script/org.f61f262915.min.js",pdf:"/script/pdf.4d9cc6ff49.min.js",editor:"/script/editor.4f142d3adc.min.js"};function vl(e){let t=e.location.hash.slice(1);if(e.history.replaceState(null,"","/review-link"),t.length>2048)return null;let s=new URLSearchParams(t);if([...s.keys()].length!==3||[...s.keys()].some(u=>!["clientId","intentId","token"].includes(u)))return null;let i=s.get("clientId"),o=s.get("intentId"),r=s.get("token");return!/^[a-f0-9]{32}$/.test(i||"")||!/^[a-f0-9]{32}$/.test(o||"")||!/^[a-f0-9]{64}$/.test(r||"")?null:{contract:"4open.artifacts/1",clientId:i,intentId:o,token:r}}function yl(e,t){let{http:s,promises:i,window:o}=t,r=t.takeReviewHandoff(),u=r?{clientId:r.clientId,intentId:r.intentId}:null,f,c,v,h,y,g=!0,C,w=i.defer(),S=()=>[...o.crypto.getRandomValues(new Uint8Array(16))].map(_=>_.toString(16).padStart(2,"0")).join("");Object.assign(e,{repositoryId:"",handoffEnabled:!1,busy:!1,preview:null,acceptAccess:!1,acceptRetention:!1,uncertain:!1,saved:!1,expired:!1,error:r?"":"Open a new artifact link from your submission. This link is missing or invalid."});let N=()=>g&&e.user?.username===y;function b(){g=!1,r=f=c=void 0,w.resolve(),o.clearTimeout(C)}e.on("dispose",b),e.on("routeLeave",b),e.watch(()=>e.user?.username,_=>{!y&&_?y=_:y&&_!==y&&(b(),e.preview=null,e.repositoryId="",e.busy=!1,e.saved=!1,e.handoffEnabled=!1,e.error="Your account changed. Open a new artifact link from your submission.")});let T=()=>({timeout:w.promise,headers:{"Content-Type":"application/json","X-Review-CSRF":c}}),M=_=>_?.status===404?"Artifact linking is not available on this server.":_?.status===401?"Sign in, then open a new artifact link from your submission.":_?.status===403?"This account cannot approve this repository or this link.":"The request could not be completed. You can retry from this page.";e.loadPreview=async()=>{if(!g||!r||e.busy||e.uncertain||e.saved||!e.user?.username)return;y=e.user.username;let _=e.repositoryId.trim();if(!/^[A-Za-z0-9_-]{3,128}$/.test(_)){e.error="Enter the anonymous repository ID from its URL.";return}e.busy=!0,e.error="",e.preview=null,f=void 0,e.acceptAccess=e.acceptRetention=!1,e.expired=!1,o.clearTimeout(C),h||(h=S());try{let H=(await s.get("/api/review-consent/csrf",{timeout:w.promise})).data;if(!N())return;if(c=H.csrf,e.handoffEnabled=H.handoffEnabled===!0,!/^[a-f0-9]{64}$/.test(c||""))throw new Error("invalid_csrf");let se=(await s.post("/api/review-consent/preview",{repositoryId:_,intent:{...r,requestId:h}},T())).data;if(!N())return;if(!se||typeof se.ticket!="string"||!se.ticket||se.ticket.length>8192||typeof se.repositoryName!="string"||!["restricted-review","anonymous-link"].includes(se.policy?.access)||!Number.isSafeInteger(se.policy.version)||!Number.isFinite(Date.parse(se.policy.retainUntil))||!Number.isFinite(Date.parse(se.expiresAt))||Date.parse(se.expiresAt)<=Date.now()||Date.parse(se.expiresAt)>Date.now()+6e5)throw new Error("invalid_preview");f=se.ticket,v=S(),e.preview={repositoryName:se.repositoryName,policy:{...se.policy},expiresAt:se.expiresAt},C=o.setTimeout(()=>{g&&(e.expired=!0)},Math.max(0,Date.parse(se.expiresAt)-Date.now()))}catch(H){N()&&(e.error=M(H))}finally{N()&&(e.busy=!1)}},e.confirmConsent=async()=>{if(!(!N()||e.busy||e.saved||!f||!e.acceptAccess||!e.acceptRetention)){if(Date.parse(e.preview.expiresAt)<=Date.now()){e.expired=!0;return}e.busy=!0,e.error="";try{let _=(await s.post("/api/review-consent/confirm",{ticket:f,requestId:v,acceptAccess:!0,acceptRetention:!0},T())).data;if(!N())return;if(_?.requestId!==v||!Number.isFinite(Date.parse(_.confirmedAt)))throw new Error("invalid_receipt");e.saved=!0,e.uncertain=!1,r=void 0,e.handoffEnabled||(f=void 0)}catch{N()&&(e.uncertain=!0,e.error="The confirmation was not verified. Retry with the same approval, or return to your submission to check its status.")}finally{N()&&(e.busy=!1)}}},e.continueReview=async()=>{if(!N()||e.busy||!e.saved||!e.handoffEnabled||!f||!u)return;e.busy=!0,e.error="";let _,H=()=>{_?.remove(),o.removeEventListener("securitypolicyviolation",se)},se=q=>{q.violatedDirective?.startsWith("form-action")&&(H(),N()&&(e.busy=!1,e.error="The return address was blocked. Return to your submission to check the artifact status."))};try{let q=(await s.post("/api/review-consent/handoff",{ticket:f},T())).data;if(!N())return;let z=q?.completion,I=new URL(q?.callbackUrl);if(!z||Object.keys(z).sort().join(",")!=="clientId,code,contract,expiresAt,intentId"||z.contract!=="4open.artifacts/1"||z.clientId!==u.clientId||z.intentId!==u.intentId||!/^[a-f0-9]{64}$/.test(z.code||"")||!Number.isFinite(Date.parse(z.expiresAt))||Date.parse(z.expiresAt)<=Date.now()||Date.parse(z.expiresAt)>Date.now()+3e5||I.protocol!=="https:"||I.href!==q.callbackUrl||I.username||I.password||q.callbackUrl.includes("?")||q.callbackUrl.includes("#"))throw new Error("invalid_handoff");_=o.document.createElement("form"),_.method="POST",_.action=I.href;let F=o.document.createElement("input");F.type="hidden",F.name="completion",F.value=JSON.stringify(z),_.appendChild(F),o.document.body.appendChild(_),o.addEventListener("securitypolicyviolation",se),e.on("dispose",H),_.submit()}catch{H(),N()&&(e.busy=!1,e.error="The return to review could not be prepared. Retry from this page, or return to your submission to check its status.")}}}var di=new Map,Ef=ve;function Zn(e){if(!di.has(e)){let t=document.createElement("script");t.src=Ef[e];let s=new Promise((i,o)=>{t.onload=i,t.onerror=()=>{di.delete(e),t.remove(),o(new Error(`Unable to load ${e}. Please retry.`))}});di.set(e,s),document.head.appendChild(t)}return di.get(e)}async function ui(){await Zn("editor"),ace.config.set("basePath","/script/external/ace/")}function Do(e){let t=Object.create(null);for(let s of e.split(","))t[s]=1;return s=>s in t}var xe={},qn=[],Mt=()=>{},Dr=()=>!1,Ao=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Io=e=>e.startsWith("onUpdate:"),ct=Object.assign,rs=(e,t)=>{let s=e.indexOf(t);s>-1&&e.splice(s,1)},Nf=Object.prototype.hasOwnProperty,Ke=(e,t)=>Nf.call(e,t),Ne=Array.isArray,En=e=>as(e)==="[object Map]",Zt=e=>as(e)==="[object Set]",bl=e=>as(e)==="[object Date]";var Ie=e=>typeof e=="function",at=e=>typeof e=="string",_t=e=>typeof e=="symbol",Je=e=>e!==null&&typeof e=="object",Ar=e=>(Je(e)||Ie(e))&&Ie(e.then)&&Ie(e.catch),Sl=Object.prototype.toString,as=e=>Sl.call(e),Ir=e=>as(e).slice(8,-1),ci=e=>as(e)==="[object Object]",pi=e=>at(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Oo=Do(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted");var fi=e=>{let t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},Rf=/-\w/g,ht=fi(e=>e.replace(Rf,t=>t.slice(1).toUpperCase())),Tf=/\B([A-Z])/g,dn=fi(e=>e.replace(Tf,"-$1").toLowerCase()),xn=fi(e=>e.charAt(0).toUpperCase()+e.slice(1)),ls=fi(e=>e?`on${xn(e)}`:""),Kt=(e,t)=>!Object.is(e,t),Mo=(e,...t)=>{for(let s=0;s{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:i,value:s})},Vo=e=>{let t=parseFloat(e);return isNaN(t)?e:t};var wl,ds=()=>wl||(wl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ae(e){if(Ne(e)){let t={};for(let s=0;ss.startsWith("/*")?"":s).split(Pf).forEach(s=>{if(s){let i=s.split(Df);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function R(e){let t="";if(at(e))t=e;else if(Ne(e))for(let s=0;sxt(s,t))}var Rl=e=>!!(e&&e.__v_isRef===!0),d=e=>at(e)?e:e==null?"":Ne(e)||Je(e)&&(e.toString===Sl||!Ie(e.toString))?Rl(e)?d(e.value):JSON.stringify(e,Tl,2):String(e),Tl=(e,t)=>Rl(t)?Tl(e,t.value):En(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[i,o],r)=>(s[Pr(i,r)+" =>"]=o,s),{})}:Zt(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>Pr(s))}:_t(t)?Pr(t):Je(t)&&!Ne(t)&&!ci(t)?String(t):t,Pr=(e,t="")=>{var s;return _t(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};function Lf(e,...t){console.warn(`[Vue warn] ${e}`,...t)}var gt,fs=class{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&>&&(gt.active?(this.parent=gt,this.index=(gt.scopes||(gt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes){let i=this.scopes.slice();for(t=0,s=i.length;t0&&--this._on===0){if(gt===this)gt=this.prevScope;else{let t=gt;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let s,i;for(s=0,i=this.effects.length;s0)return;if(ps){let t=ps;for(ps=void 0;t;){let s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;cs;){let t=cs;for(cs=void 0;t;){let s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(i){e||(e=i)}t=s}}if(e)throw e}function Vl(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ll(e){let t,s=e.depsTail,i=s;for(;i;){let o=i.prevDep;i.version===-1?(i===s&&(s=o),Gr(i),qf(i)):t=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=o}e.deps=t,e.depsTail=s}function Lr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ql(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ql(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ms)||(e.globalVersion=ms,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Lr(e))))return;e.flags|=2;let t=e.dep,s=ot,i=en;ot=e,en=!0;try{Vl(e);let o=e.fn(e._value);(t.version===0||Kt(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{ot=s,en=i,Ll(e),e.flags&=-3}}function Gr(e,t=!1){let{dep:s,prevSub:i,nextSub:o}=e;if(i&&(i.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=i,e.nextSub=void 0),s.subs===e&&(s.subs=i,!i&&s.computed)){s.computed.flags&=-5;for(let r=s.computed.deps;r;r=r.nextDep)Gr(r,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function qf(e){let{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}var en=!0,$l=[];function tn(){$l.push(en),en=!1}function nn(){let e=$l.pop();en=e===void 0?!0:e}function Pl(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let s=ot;ot=void 0;try{t()}finally{ot=s}}}var ms=0,qr=class{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},hs=class{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ot||!en||ot===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==ot)s=this.activeLink=new qr(ot,this),ot.deps?(s.prevDep=ot.depsTail,ot.depsTail.nextDep=s,ot.depsTail=s):ot.deps=ot.depsTail=s,Fl(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){let i=s.nextDep;i.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=i),s.prevDep=ot.depsTail,s.nextDep=void 0,ot.depsTail.nextDep=s,ot.depsTail=s,ot.deps===s&&(ot.deps=i)}return s}trigger(t){this.version++,ms++,this.notify(t)}notify(t){Hr();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{jr()}}};function Fl(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let i=t.deps;i;i=i.nextDep)Fl(i)}let s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}var $r=new WeakMap,to=Symbol(""),Fr=Symbol(""),gs=Symbol("");function kt(e,t,s){if(en&&ot){let i=$r.get(e);i||$r.set(e,i=new Map);let o=i.get(s);o||(i.set(s,o=new hs),o.map=i,o.key=s),o.track()}}function cn(e,t,s,i,o,r){let u=$r.get(e);if(!u){ms++;return}let f=c=>{c&&c.trigger()};if(Hr(),t==="clear")u.forEach(f);else{let c=Ne(e),v=c&&pi(s);if(c&&s==="length"){let h=Number(i);u.forEach((y,g)=>{(g==="length"||g===gs||!_t(g)&&g>=h)&&f(y)})}else switch((s!==void 0||u.has(void 0))&&f(u.get(s)),v&&f(u.get(gs)),t){case"add":c?v&&f(u.get("length")):(f(u.get(to)),En(e)&&f(u.get(Fr)));break;case"delete":c||(f(u.get(to)),En(e)&&f(u.get(Fr)));break;case"set":En(e)&&f(u.get(to));break}}jr()}function Lo(e){let t=Ye(e);return t===e||(kt(t,"iterate",gs),Vt(e))?t:Yt(e)?fn(e)?t.map(s=>Rn(Ut(s))):t.map(Rn):t.map(Ut)}function vs(e){return kt(e=Ye(e),"iterate",gs),e}function un(e,t){return Yt(e)?Rn(fn(e)?Ut(t):t):Ut(t)}var $f={__proto__:null,[Symbol.iterator](){return Mr(this,Symbol.iterator,e=>un(this,e))},concat(...e){return Lo(this).concat(...e.map(t=>Ne(t)?Lo(t):t))},entries(){return Mr(this,"entries",e=>(e[1]=un(this,e[1]),e))},every(e,t){return Nn(this,"every",e,t,void 0,arguments)},filter(e,t){return Nn(this,"filter",e,t,s=>s.map(i=>un(this,i)),arguments)},find(e,t){return Nn(this,"find",e,t,s=>un(this,s),arguments)},findIndex(e,t){return Nn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Nn(this,"findLast",e,t,s=>un(this,s),arguments)},findLastIndex(e,t){return Nn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Nn(this,"forEach",e,t,void 0,arguments)},includes(...e){return Vr(this,"includes",e)},indexOf(...e){return Vr(this,"indexOf",e)},join(e){return Lo(this).join(e)},lastIndexOf(...e){return Vr(this,"lastIndexOf",e)},map(e,t){return Nn(this,"map",e,t,void 0,arguments)},pop(){return us(this,"pop")},push(...e){return us(this,"push",e)},reduce(e,...t){return Al(this,"reduce",e,t)},reduceRight(e,...t){return Al(this,"reduceRight",e,t)},shift(){return us(this,"shift")},some(e,t){return Nn(this,"some",e,t,void 0,arguments)},splice(...e){return us(this,"splice",e)},toReversed(){return Lo(this).toReversed()},toSorted(e){return Lo(this).toSorted(e)},toSpliced(...e){return Lo(this).toSpliced(...e)},unshift(...e){return us(this,"unshift",e)},values(){return Mr(this,"values",e=>un(this,e))}};function Mr(e,t,s){let i=vs(e),o=i[t],r=o.call(i);if(i!==e&&!Vt(e)){if(r[Symbol.toStringTag]==="Array Iterator"){let u=Object.create(Object.getPrototypeOf(r));return u.next=()=>Dl(r.next(),s),o!==_l[t]&&Object.defineProperties(u,{return:{get(){let f=r.return;return typeof f=="function"?f.bind(r):f}},throw:{get(){let f=r.throw;return typeof f=="function"?f.bind(r):f}}}),u}r._next=r.next,r.next=()=>Dl(r._next(),s)}return r}function Dl(e,t){return e.done||(e.value=t(e.value)),e}var _l=Array.prototype;function Nn(e,t,s,i,o,r){let u=vs(e),f=u!==e&&!Vt(e),c=u[t];if(c!==_l[t]){let y=c.apply(e,r);return f?Ut(y):y}let v=s;u!==e&&(f?v=function(y,g){return s.call(this,un(e,y),g,e)}:s.length>2&&(v=function(y,g){return s.call(this,y,g,e)}));let h=c.call(u,v,i);return f&&o?o(h):h}function Al(e,t,s,i){let o=vs(e),r=o!==e&&!Vt(e),u=s,f=!1;o!==e&&(r?(f=i.length===0,u=function(v,h,y){return f&&(f=!1,v=un(e,v)),s.call(this,v,un(e,h),y,e)}):s.length>3&&(u=function(v,h,y){return s.call(this,v,h,y,e)}));let c=o[t](u,...i);return f?un(e,c):c}function Vr(e,t,s){let i=Ye(e);kt(i,"iterate",gs);let o=i[t](...s);return(o===-1||o===!1)&&bs(s[0])?(s[0]=Ye(s[0]),i[t](...s)):o}function us(e,t,s=[]){tn(),Hr();let i=Ye(e)[t].apply(e,s);return jr(),nn(),i}var Ff=Do("__proto__,__v_isRef,__isVue"),Ul=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(_t));function _f(e){_t(e)||(e=String(e));let t=Ye(this);return kt(t,"has",e),t.hasOwnProperty(e)}var wi=class{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,i){if(s==="__v_skip")return t.__v_skip;let o=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!o;if(s==="__v_isReadonly")return o;if(s==="__v_isShallow")return r;if(s==="__v_raw")return i===(o?r?Yf:Hl:r?zl:Bl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(i)?t:void 0;let u=Ne(t);if(!o){let c;if(u&&(c=$f[s]))return c;if(s==="hasOwnProperty")return _f}let f=Reflect.get(t,s,bt(t)?t:i);if((_t(s)?Ul.has(s):Ff(s))||(o||kt(t,"get",s),r))return f;if(bt(f)){let c=u&&pi(s)?f:f.value;return o&&Je(c)?Ci(c):c}return Je(f)?o?Ci(f):rt(f):f}},ki=class extends wi{constructor(t=!1){super(!1,t)}set(t,s,i,o){let r=t[s],u=Ne(t)&&pi(s);if(!this._isShallow){let v=Yt(r);if(!Vt(i)&&!Yt(i)&&(r=Ye(r),i=Ye(i)),!u&&bt(r)&&!bt(i))return v||(r.value=i),!0}let f=u?Number(s)e,vi=e=>Reflect.getPrototypeOf(e);function Hf(e,t,s){return function(...i){let o=this.__v_raw,r=Ye(o),u=En(r),f=e==="entries"||e===Symbol.iterator&&u,c=e==="keys"&&u,v=o[e](...i),h=s?Ur:t?Rn:Ut;return!t&&kt(r,"iterate",c?Fr:to),ct(Object.create(v),{next(){let{value:y,done:g}=v.next();return g?{value:y,done:g}:{value:f?[h(y[0]),h(y[1])]:h(y),done:g}}})}}function yi(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function jf(e,t){let s={get(o){let r=this.__v_raw,u=Ye(r),f=Ye(o);e||(Kt(o,f)&&kt(u,"get",o),kt(u,"get",f));let{has:c}=vi(u),v=t?Ur:e?Rn:Ut;if(c.call(u,o))return v(r.get(o));if(c.call(u,f))return v(r.get(f));r!==u&&r.get(o)},get size(){let o=this.__v_raw;return!e&&kt(Ye(o),"iterate",to),o.size},has(o){let r=this.__v_raw,u=Ye(r),f=Ye(o);return e||(Kt(o,f)&&kt(u,"has",o),kt(u,"has",f)),o===f?r.has(o):r.has(o)||r.has(f)},forEach(o,r){let u=this,f=u.__v_raw,c=Ye(f),v=t?Ur:e?Rn:Ut;return!e&&kt(c,"iterate",to),f.forEach((h,y)=>o.call(r,v(h),v(y),u))}};return ct(s,e?{add:yi("add"),set:yi("set"),delete:yi("delete"),clear:yi("clear")}:{add(o){let r=Ye(this),u=vi(r),f=Ye(o),c=!t&&!Vt(o)&&!Yt(o)?f:o;return u.has.call(r,c)||Kt(o,c)&&u.has.call(r,o)||Kt(f,c)&&u.has.call(r,f)||(r.add(c),cn(r,"add",c,c)),this},set(o,r){!t&&!Vt(r)&&!Yt(r)&&(r=Ye(r));let u=Ye(this),{has:f,get:c}=vi(u),v=f.call(u,o);v||(o=Ye(o),v=f.call(u,o));let h=c.call(u,o);return u.set(o,r),v?Kt(r,h)&&cn(u,"set",o,r,h):cn(u,"add",o,r),this},delete(o){let r=Ye(this),{has:u,get:f}=vi(r),c=u.call(r,o);c||(o=Ye(o),c=u.call(r,o));let v=f?f.call(r,o):void 0,h=r.delete(o);return c&&cn(r,"delete",o,void 0,v),h},clear(){let o=Ye(this),r=o.size!==0,u=void 0,f=o.clear();return r&&cn(o,"clear",void 0,void 0,u),f}}),["keys","values","entries",Symbol.iterator].forEach(o=>{s[o]=Hf(o,e,t)}),s}function Wr(e,t){let s=jf(e,t);return(i,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_isShallow"?t:o==="__v_raw"?i:Reflect.get(Ke(s,o)&&o in i?s:i,o,r)}var Gf={get:Wr(!1,!1)},Wf={get:Wr(!1,!0)},Kf={get:Wr(!0,!1)};var Bl=new WeakMap,zl=new WeakMap,Hl=new WeakMap,Yf=new WeakMap;function Jf(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function rt(e){return Yt(e)?e:Kr(e,!1,Uf,Gf,Bl)}function ys(e){return Kr(e,!1,zf,Wf,zl)}function Ci(e){return Kr(e,!0,Bf,Kf,Hl)}function Kr(e,t,s,i,o){if(!Je(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;let r=o.get(e);if(r)return r;let u=Jf(Ir(e));if(u===0)return e;let f=new Proxy(e,u===2?i:s);return o.set(e,f),f}function fn(e){return Yt(e)?fn(e.__v_raw):!!(e&&e.__v_isReactive)}function Yt(e){return!!(e&&e.__v_isReadonly)}function Vt(e){return!!(e&&e.__v_isShallow)}function bs(e){return e?!!e.__v_raw:!1}function Ye(e){let t=e&&e.__v_raw;return t?Ye(t):e}function mn(e){return!Ke(e,"__v_skip")&&Object.isExtensible(e)&&mi(e,"__v_skip",!0),e}var Ut=e=>Je(e)?rt(e):e,Rn=e=>Je(e)?Ci(e):e;function bt(e){return e?e.__v_isRef===!0:!1}function Ct(e){return jl(e,!1)}function Ei(e){return jl(e,!0)}function jl(e,t){return bt(e)?e:new Br(e,t)}var Br=class{constructor(t,s){this.dep=new hs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:Ye(t),this._value=s?t:Ut(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){let s=this._rawValue,i=this.__v_isShallow||Vt(t)||Yt(t);t=i?t:Ye(t),Kt(t,s)&&(this._rawValue=t,this._value=i?t:Ut(t),this.dep.trigger())}};function Tn(e){return bt(e)?e.value:e}var Xf={get:(e,t,s)=>t==="__v_raw"?e:Tn(Reflect.get(e,t,s)),set:(e,t,s,i)=>{let o=e[t];return bt(o)&&!bt(s)?(o.value=s,!0):Reflect.set(e,t,s,i)}};function Ni(e){return fn(e)?e:new Proxy(e,Xf)}var zr=class{constructor(t,s,i){this.fn=t,this.setter=s,this._value=void 0,this.dep=new hs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ms-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=i}notify(){if(this.flags|=16,!(this.flags&8)&&ot!==this)return Ml(this,!0),!0}get value(){let t=this.dep.track();return ql(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}};function Gl(e,t,s=!1){let i,o;return Ie(e)?i=e:(i=e.get,o=e.set),new zr(i,o,s)}var bi={},Si=new WeakMap,eo;function Wl(e,t=!1,s=eo){if(s){let i=Si.get(s);i||Si.set(s,i=[]),i.push(e)}}function Kl(e,t,s=xe){let{immediate:i,deep:o,once:r,scheduler:u,augmentJob:f,call:c}=s,v=H=>{(s.onWarn||Lf)("Invalid watch source: ",H,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},h=H=>o?H:Vt(H)||o===!1||o===0?pn(H,1):pn(H),y,g,C,w,S=!1,N=!1;if(bt(e)?(g=()=>e.value,S=Vt(e)):fn(e)?(g=()=>h(e),S=!0):Ne(e)?(N=!0,S=e.some(H=>fn(H)||Vt(H)),g=()=>e.map(H=>{if(bt(H))return H.value;if(fn(H))return h(H);if(Ie(H))return c?c(H,2):H()})):Ie(e)?t?g=c?()=>c(e,2):e:g=()=>{if(C){tn();try{C()}finally{nn()}}let H=eo;eo=y;try{return c?c(e,3,[w]):e(w)}finally{eo=H}}:g=Mt,t&&o){let H=g,se=o===!0?1/0:o;g=()=>pn(H(),se)}let b=Il(),T=()=>{y.stop(),b&&b.active&&rs(b.effects,y)};if(r&&t){let H=t;t=(...se)=>{try{return H(...se)}finally{T()}}}let M=N?new Array(e.length).fill(bi):bi,_=H=>{if(!(!(y.flags&1)||!y.dirty&&!H))if(t){let se=y.run();if(H||o||S||(N?se.some((q,z)=>Kt(q,M[z])):Kt(se,M))){let q=eo;tn();try{C&&C(),eo=y;let z=[se,M===bi?void 0:N&&M[0]===bi?[]:M,w];M=se,c?c(t,3,z):t(...z)}finally{eo=q,nn()}}}else y.run()};return f&&f(_),y=new qo(g),y.scheduler=u?()=>u(_,!1):_,w=H=>Wl(H,!1,y),C=y.onStop=()=>{let H=Si.get(y);if(H){if(c)c(H,4);else for(let se of H)se();Si.delete(y)}},t?i?_(!0):M=y.run():u?u(_.bind(null,!0),!0):y.run(),T.pause=y.pause.bind(y),T.resume=y.resume.bind(y),T.stop=T,T}function pn(e,t=1/0,s){if(t<=0||!Je(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,bt(e))pn(e.value,t,s);else if(Ne(e))for(let i=0;i{pn(i,t,s)});else if(ci(e)){for(let i in e)pn(e[i],t,s);for(let i of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,i)&&pn(e[i],t,s)}return e}function Is(e,t,s,i){try{return i?e(...i):e()}catch(o){Os(o,t,s)}}function Jt(e,t,s,i){if(Ie(e)){let o=Is(e,t,s,i);return o&&Ar(o)&&o.catch(r=>{Os(r,t,s)}),o}if(Ne(e)){let o=[];for(let r=0;r>>1,o=At[i],r=Rs(o);r=Rs(s)?At.push(e):At.splice(tm(t),0,e),e.flags|=1,ud()}}function ud(){Pi||(Pi=dd.then(md))}function cd(e){if(!Ne(e))$n&&e.id===-1?$n.splice($o+1,0,e):e.flags&1||(gn.push(e),e.flags|=1);else for(let t=0;t=t))continue;At.splice(i,1),i=e?i-1:on,o.flags&4&&(o.flags&=-2),o(),o.flags&4||(o.flags&=-2)}}}function fd(e,t,s=0){if(gn.length){let i=gn,o=0;if(t){i=[];for(let u=0;uRs(u)-Rs(f));if(gn.length=o,$n){for(let u=0;ue.id==null?e.flags&2?-1:1/0:e.id;function md(e){let t=Mt;try{for(on=0;on{i._d&&Oi(-1);let r=Di(t),u=io.length,f;try{f=e(...o)}finally{for(let c=io.length;c>u;c--)jd();Di(r),i._d&&Oi(1)}return f};return i._n=!0,i._c=!0,i._d=!0,i}function P(e,t){if(Bt===null)return e;let s=Ui(Bt),i=e.dirs||(e.dirs=[]);for(let o=0;o1)return s&&Ie(t)?t.call(i&&i.proxy):t}}var sm=Symbol.for("v-scx"),im=()=>{{let e=qt(sm);return e}};function dt(e,t,s){return gd(e,t,s)}function gd(e,t,s=xe){let{immediate:i,deep:o,flush:r,once:u}=s,f=ct({},s),c=t&&i||!t&&r!=="post",v;if(Uo){if(r==="sync"){let C=im();v=C.__watcherHandles||(C.__watcherHandles=[])}else if(!c){let C=()=>{};return C.stop=Mt,C.resume=Mt,C.pause=Mt,C}}let h=St;f.call=(C,w,S)=>Jt(C,h,w,S);let y=!1;r==="post"?f.scheduler=C=>{C.i=h,Lt(C,h&&h.suspense)}:r!=="sync"&&(y=!0,f.scheduler=(C,w)=>{w?C():ia(C)}),f.augmentJob=C=>{t&&(C.flags|=4),y&&(C.flags|=2,h&&(C.id=h.uid,C.i=h))};let g=Kl(e,t,f);return Uo&&(v?v.push(g):c&&g()),g}function rm(e,t,s){let i=this.proxy,o=at(e)?e.includes(".")?vd(i,e):()=>i[e]:e.bind(i,i),r;Ie(t)?r=t:(r=t.handler,s=t);let u=Ls(this),f=gd(o,r.bind(i),s);return u(),f}function vd(e,t){let s=t.split(".");return()=>{let i=e;for(let o=0;oe.__isTeleport;var Jr=Symbol("_leaveCb");function lm(e){let t=e[0];if(e.length>1){let s=!1;for(let i of e)if(i.type!==sn){t=i,s=!0;break}}return t}function yd(e){if(!qi(e))return Li(e.type)&&e.children?lm(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:s}=e;if(s){if(t&16)return s[0];if(t&32&&Ie(s.default))return s.default()}}function Ts(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;let s=e.component.subTree;Ts(Li(s.type)&&yd(s)||s,t)}else if(e.shapeFlag&128)e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback);else if(e.transition=t,e.type===V&&Ne(e.children)){let s=Ad(e.children,!1);s&&Ts(s,t)}}function xr(e){if(e.component)return xr(e.component.subTree);if(e.type===V){let t=Ne(e.children)&&Ad(e.children,!1);return t?xr(t):void 0}if(e.type!==sn)return e}function Ms(e,t){return Ie(e)?ct({name:e.name},t,{setup:e}):e}function ra(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Yl(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}var Ai=new WeakMap;function Cs(e,t,s,i,o=!1){if(Ne(e)){e.forEach((S,N)=>Cs(S,t&&(Ne(t)?t[N]:t),s,i,o));return}if(Ss(i)&&!o){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&Cs(e,t,s,i.component.subTree);return}let r=i.shapeFlag&4?Ui(i.component):i.el,u=o?null:r,{i:f,r:c}=e,v=t&&t.r,h=f.refs===xe?f.refs={}:f.refs,y=f.setupState,g=Ye(y),C=y===xe?Dr:S=>Yl(h,S)?!1:Ke(g,S),w=(S,N)=>!(N&&Yl(h,N));if(v!=null&&v!==c){if(Jl(t),at(v))h[v]=null,C(v)&&(y[v]=null);else if(bt(v)){let S=t;w(v,S.k)&&(v.value=null),S.k&&(h[S.k]=null)}}if(Ie(c))Is(c,f,12,[u,h]);else{let S=at(c),N=bt(c);if(S||N){let b=()=>{if(e.f){let T=S?C(c)?y[c]:h[c]:w(c)||!e.k?c.value:h[e.k];if(o)Ne(T)&&rs(T,r);else if(Ne(T))T.includes(r)||T.push(r);else if(S)h[c]=[r],C(c)&&(y[c]=h[c]);else{let M=[r];w(c,e.k)&&(c.value=M),e.k&&(h[e.k]=M)}}else S?(h[c]=u,C(c)&&(y[c]=u)):N&&(w(c,e.k)&&(c.value=u),e.k&&(h[e.k]=u))};if(u){let T=()=>{b(),Ai.delete(e)};T.id=-1,Ai.set(e,T),Lt(T,s)}else Jl(e),b()}}}function Jl(e){let t=Ai.get(e);t&&(t.flags|=8,Ai.delete(e))}var Xl=e=>e.nodeType===8;var vne=ds().requestIdleCallback||(e=>setTimeout(e,1)),yne=ds().cancelIdleCallback||(e=>clearTimeout(e));function dm(e,t){if(Xl(e)&&e.data==="["){let s=1,i=e.nextSibling;for(;i;){if(i.nodeType===1){if(t(i)===!1)break}else if(Xl(i))if(i.data==="]"){if(--s===0)break}else i.data==="["&&s++;i=i.nextSibling}}else t(e)}var Ss=e=>!!e.type.__asyncLoader;function bd(e){Ie(e)&&(e={loader:e});let{loader:t,loadingComponent:s,errorComponent:i,delay:o=200,hydrate:r,timeout:u,suspensible:f=!0,onError:c}=e,v=null,h,y=0,g=()=>(y++,v=null,C()),C=()=>{let w;return v||(w=v=t().catch(S=>{if(S=S instanceof Error?S:new Error(String(S)),c)return new Promise((N,b)=>{c(S,()=>N(g()),()=>b(S),y+1)});throw S}).then(S=>w!==v&&v?v:(S&&(S.__esModule||S[Symbol.toStringTag]==="Module")&&(S=S.default),h=S,S)))};return Ms({name:"AsyncComponentWrapper",__asyncLoader:C,__asyncHydrate(w,S,N){let b=w.isConnected,T=!1;(S.bu||(S.bu=[])).push(()=>T=!0);let M=()=>{T||!w.parentNode||b&&!w.isConnected||N()},_=r?()=>{let H=r(M,se=>dm(w,se));H&&(S.bum||(S.bum=[])).push(H)}:M;h?_():C().then(()=>!S.isUnmounted&&_())},get __asyncResolved(){return h},setup(){let w=St;if(ra(w),h)return()=>Ri(h,w);let S=H=>{v=null,Os(H,w,13,!i)};if(f&&w.suspense||Uo)return C().then(H=>()=>Ri(H,w)).catch(H=>(S(H),()=>i?Me(i,{error:H}):null));let N=Ct(!1),b=Ct(),T=Ct(!!o),M,_;return Vs(()=>{M!=null&&clearTimeout(M),_!=null&&clearTimeout(_)}),o&&(_=setTimeout(()=>{w.isUnmounted||(T.value=!1)},o)),u!=null&&(M=setTimeout(()=>{if(!w.isUnmounted&&!N.value&&!b.value){let H=new Error(`Async component timed out after ${u}ms.`);S(H),b.value=H}},u)),C().then(()=>{w.isUnmounted||(N.value=!0,w.parent&&qi(w.parent.vnode)&&w.parent.update())}).catch(H=>{if(w.isUnmounted){v=null;return}S(H),b.value=H}),()=>{if(N.value&&h)return Ri(h,w);if(b.value&&i)return Me(i,{error:b.value});if(s&&!T.value)return Ri(s,w)}}})}function Ri(e,t){let{ref:s,props:i,children:o,ce:r}=t.vnode,u=Me(e,i,o);return u.ref=s,u.ce=r,delete t.vnode.ce,u}var qi=e=>e.type.__isKeepAlive;function wd(e,t){Cd(e,"a",t)}function kd(e,t){Cd(e,"da",t)}function Cd(e,t,s=St){let i=e.__wdc||(e.__wdc=()=>{let o=s;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if($i(t,i,s),s){let o=s.parent;for(;o&&o.parent;)qi(o.parent.vnode)&&um(i,t,s,o),o=o.parent}}function um(e,t,s,i){let o=$i(t,e,i,!0);Vs(()=>{rs(i[t],o)},s)}function $i(e,t,s=St,i=!1){if(s){let o=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...u)=>{tn();let f=Ls(s),c=Jt(t,s,e,u);return f(),nn(),c});return i?o.unshift(r):o.push(r),r}}var Dn=e=>(t,s=St)=>{(!Uo||e==="sp")&&$i(e,(...i)=>t(...i),s)},cm=Dn("bm"),yn=Dn("m"),Sd=Dn("bu"),Ed=Dn("u"),ao=Dn("bum"),Vs=Dn("um"),pm=Dn("sp"),fm=Dn("rtg"),mm=Dn("rtc");function hm(e,t=St){$i("ec",e,t)}var Nd="components",gm="directives";function Qe(e,t){return Rd(Nd,e,!0,t)||e}var vm=Symbol.for("v-ndc");function Pe(e){return Rd(gm,e)}function Rd(e,t,s=!0,i=!1){let o=Bt||St;if(o){let r=o.type;if(e===Nd){let f=eh(r,!1);if(f&&(f===t||f===ht(t)||f===xn(ht(t))))return r}let u=Ql(o[e]||r[e],t)||Ql(o.appContext[e],t);return!u&&i?r:u}}function Ql(e,t){return e&&(e[t]||e[ht(t)]||e[xn(ht(t))])}function X(e,t,s,i){let o,r=s&&s[i],u=Ne(e);if(u||at(e)){let f=u&&fn(e),c=!1,v=!1;f&&(c=!Vt(e),v=Yt(e),e=vs(e)),o=new Array(e.length);for(let h=0,y=e.length;ht(f,c,void 0,r&&r[c]));else{let f=Object.keys(e);o=new Array(f.length);for(let c=0,v=f.length;ce?Yd(e)?Ui(e):ea(e.parent):null;var Es=ct(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ea(e.parent),$root:e=>ea(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>aa(e),$forceUpdate:e=>e.f||(e.f=()=>{ia(e.update)}),$nextTick:e=>e.n||(e.n=ze.bind(e.proxy)),$watch:e=>rm.bind(e)});var Xr=(e,t)=>e!==xe&&!e.__isScriptSetup&&Ke(e,t),ym={get({_:e},t){if(t==="__v_skip")return!0;let{ctx:s,setupState:i,data:o,props:r,accessCache:u,type:f,appContext:c}=e;if(t[0]!=="$"){let g=u[t];if(g!==void 0)switch(g){case 1:return i[t];case 2:return o[t];case 4:return s[t];case 3:return r[t]}else{if(Xr(i,t))return u[t]=1,i[t];if(o!==xe&&Ke(o,t))return u[t]=2,o[t];if(Ke(r,t))return u[t]=3,r[t];if(s!==xe&&Ke(s,t))return u[t]=4,s[t];ta&&(u[t]=0)}}let v=Es[t],h,y;if(v)return t==="$attrs"&&kt(e.attrs,"get",""),v(e);if((h=f.__cssModules)&&(h=h[t]))return h;if(s!==xe&&Ke(s,t))return u[t]=4,s[t];if(y=c.config.globalProperties,Ke(y,t))return y[t]},set({_:e},t,s){let{data:i,setupState:o,ctx:r}=e;return Xr(o,t)?(o[t]=s,!0):i!==xe&&Ke(i,t)?(i[t]=s,!0):Ke(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:i,appContext:o,props:r,type:u}},f){let c;return!!(s[f]||e!==xe&&f[0]!=="$"&&Ke(e,f)||Xr(t,f)||Ke(r,f)||Ke(i,f)||Ke(Es,f)||Ke(o.config.globalProperties,f)||(c=u.__cssModules)&&c[f])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:Ke(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function Zl(e){return Ne(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}var ta=!0;function bm(e){let t=aa(e),s=e.proxy,i=e.ctx;ta=!1,t.beforeCreate&&xl(t.beforeCreate,e,"bc");let{data:o,computed:r,methods:u,watch:f,provide:c,inject:v,created:h,beforeMount:y,mounted:g,beforeUpdate:C,updated:w,activated:S,deactivated:N,beforeDestroy:b,beforeUnmount:T,destroyed:M,unmounted:_,render:H,renderTracked:se,renderTriggered:q,errorCaptured:z,serverPrefetch:I,expose:F,inheritAttrs:E,components:L,directives:W,filters:j}=t;if(v&&wm(v,i,null),u)for(let x in u){let fe=u[x];Ie(fe)&&(i[x]=fe.bind(s))}if(o){let x=o.call(s,s);Je(x)&&(e.data=rt(x))}if(ta=!0,r)for(let x in r){let fe=r[x],me=Ie(fe)?fe.bind(s,s):Ie(fe.get)?fe.get.bind(s,s):Mt,Le=!Ie(fe)&&Ie(fe.set)?fe.set.bind(s):Mt,Ue=Et({get:me,set:Le});Object.defineProperty(i,x,{enumerable:!0,configurable:!0,get:()=>Ue.value,set:Xe=>Ue.value=Xe})}if(f)for(let x in f)Td(f[x],i,s,x);if(c){let x=Ie(c)?c.call(s):c;Reflect.ownKeys(x).forEach(fe=>{ro(fe,x[fe])})}h&&xl(h,e,"c");function ne(x,fe){Ne(fe)?fe.forEach(me=>x(me.bind(s))):fe&&x(fe.bind(s))}if(ne(cm,y),ne(yn,g),ne(Sd,C),ne(Ed,w),ne(wd,S),ne(kd,N),ne(hm,z),ne(mm,se),ne(fm,q),ne(ao,T),ne(Vs,_),ne(pm,I),Ne(F))if(F.length){let x=e.exposed||(e.exposed={});F.forEach(fe=>{Object.defineProperty(x,fe,{get:()=>s[fe],set:me=>s[fe]=me,enumerable:!0})})}else e.exposed||(e.exposed={});H&&e.render===Mt&&(e.render=H),E!=null&&(e.inheritAttrs=E),L&&(e.components=L),W&&(e.directives=W),I&&ra(e)}function wm(e,t,s=Mt){Ne(e)&&(e=na(e));for(let i in e){let o=e[i],r;Je(o)?"default"in o?r=qt(o.from||i,o.default,!0):r=qt(o.from||i):r=qt(o),bt(r)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>r.value,set:u=>r.value=u}):t[i]=r}}function xl(e,t,s){Jt(Ne(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,s)}function Td(e,t,s,i){let o=i.includes(".")?vd(s,i):()=>s[i];if(at(e)){let r=t[e];Ie(r)&&dt(o,r)}else if(Ie(e))dt(o,e.bind(s));else if(Je(e))if(Ne(e))e.forEach(r=>Td(r,t,s,i));else{let r=Ie(e.handler)?e.handler.bind(s):t[e.handler];Ie(r)&&dt(o,r,e)}}function aa(e){let t=e.type,{mixins:s,extends:i}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:u}}=e.appContext,f=r.get(t),c;return f?c=f:!o.length&&!s&&!i?c=t:(c={},o.length&&o.forEach(v=>Ii(c,v,u,!0)),Ii(c,t,u)),Je(t)&&r.set(t,c),c}function Ii(e,t,s,i=!1){let{mixins:o,extends:r}=t;r&&Ii(e,r,s,!0),o&&o.forEach(u=>Ii(e,u,s,!0));for(let u in t)if(!(i&&u==="expose")){let f=km[u]||s&&s[u];e[u]=f?f(e[u],t[u]):t[u]}return e}var km={data:ed,props:td,emits:td,methods:ks,computed:ks,beforeCreate:Dt,created:Dt,beforeMount:Dt,mounted:Dt,beforeUpdate:Dt,updated:Dt,beforeDestroy:Dt,beforeUnmount:Dt,destroyed:Dt,unmounted:Dt,activated:Dt,deactivated:Dt,errorCaptured:Dt,serverPrefetch:Dt,components:ks,directives:ks,watch:Sm,provide:ed,inject:Cm};function ed(e,t){return t?e?function(){return ct(Ie(e)?e.call(this,this):e,Ie(t)?t.call(this,this):t)}:t:e}function Cm(e,t){return ks(na(e),na(t))}function na(e){if(Ne(e)){let t={};for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ht(t)}Modifiers`]||e[`${dn(t)}Modifiers`];function Tm(e,t,...s){if(e.isUnmounted)return;let i=e.vnode.props||xe,o=s,r=t.startsWith("update:"),u=r&&Rm(i,t.slice(7));u&&(u.trim&&(o=s.map(h=>at(h)?h.trim():h)),u.number&&(o=o.map(Vo)));let f,c=i[f=ls(t)]||i[f=ls(ht(t))];!c&&r&&(c=i[f=ls(dn(t))]),c&&Jt(c,e,6,o);let v=i[f+"Once"];if(v){if(!e.emitted)e.emitted={};else if(e.emitted[f])return;e.emitted[f]=!0,Jt(v,e,6,o)}}var Pm=new WeakMap;function Dd(e,t,s=!1){let i=s?Pm:t.emitsCache,o=i.get(e);if(o!==void 0)return o;let r=e.emits,u={},f=!1;if(!Ie(e)){let c=v=>{let h=Dd(v,t,!0);h&&(f=!0,ct(u,h))};!s&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!r&&!f?(Je(e)&&i.set(e,null),null):(Ne(r)?r.forEach(c=>u[c]=null):ct(u,r),Je(e)&&i.set(e,u),u)}function Fi(e,t){return!e||!Ao(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),Ke(e,t[0].toLowerCase()+t.slice(1))||Ke(e,dn(t))||Ke(e,t))}function Qr(e){let{type:t,vnode:s,proxy:i,withProxy:o,propsOptions:[r],slots:u,attrs:f,emit:c,render:v,renderCache:h,props:y,data:g,setupState:C,ctx:w,inheritAttrs:S}=e,N=Di(e),b,T;try{if(s.shapeFlag&4){let H=o||i,se=H;b=vn(v.call(se,H,h,y,C,g,w)),T=f}else{let H=t;b=vn(H.length>1?H(y,{attrs:f,slots:u,emit:c}):H(y,null)),T=t.props?f:Dm(f)}}catch(H){io.length=0,Os(H,e,1),b=Me(sn)}let M=b,_;if(T&&S!==!1){let H=Object.keys(T),{shapeFlag:se}=M;H.length&&se&7&&(r&&H.some(Io)&&(T=Am(T,r)),M=_o(M,T,!1,!0))}if(s.dirs&&(M=_o(M,null,!1,!0),M.dirs=M.dirs?M.dirs.concat(s.dirs):s.dirs),s.transition){let H=Li(M.type)&&yd(M)||M;Ts(H,s.transition)}return b=M,Di(N),b}function Ad(e,t=!0){let s;for(let i=0;i{let t;for(let s in e)(s==="class"||s==="style"||Ao(s))&&((t||(t={}))[s]=e[s]);return t},Am=(e,t)=>{let s={};for(let i in e)(!Io(i)||!(i.slice(9)in t))&&(s[i]=e[i]);return s};function Im(e,t,s){let{props:i,children:o,component:r}=e,{props:u,children:f,patchFlag:c}=t,v=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&c>=0){if(c&1024)return!0;if(c&16)return i?nd(i,u,v):!!u;if(c&8){let h=t.dynamicProps;for(let y=0;yObject.create(Od),Vd=e=>Object.getPrototypeOf(e)===Od;function Mm(e,t,s,i=!1){let o={},r=Md();e.propsDefaults=Object.create(null),Ld(e,t,o,r);for(let u in e.propsOptions[0])u in o||(o[u]=void 0);s?e.props=i?o:ys(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function Vm(e,t,s,i){let{props:o,attrs:r,vnode:{patchFlag:u}}=e,f=Ye(o),[c]=e.propsOptions,v=!1;if((i||u>0)&&!(u&16)){if(u&8){let h=e.vnode.dynamicProps;for(let y=0;y{c=!0;let[g,C]=qd(y,t,!0);ct(u,g),C&&f.push(...C)};!s&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!r&&!c)return Je(e)&&i.set(e,qn),qn;if(Ne(r))for(let h=0;he==="_"||e==="_ctx"||e==="$stable",da=e=>Ne(e)?e.map(vn):[vn(e)],qm=(e,t,s)=>{if(t._n)return t;let i=om((...o)=>da(t(...o)),s);return i._c=!1,i},$d=(e,t,s)=>{let i=e._ctx;for(let o in e){if(la(o))continue;let r=e[o];if(Ie(r))t[o]=qm(o,r,i);else if(r!=null){let u=da(r);t[o]=()=>u}}},Fd=(e,t)=>{let s=da(t);e.slots.default=()=>s},_d=(e,t,s)=>{for(let i in t)(s||!la(i))&&(e[i]=t[i])},$m=(e,t,s)=>{let i=e.slots=Md();if(e.vnode.shapeFlag&32){let o=t._;o?(_d(i,t,s),s&&mi(i,"_",o,!0)):$d(t,i)}else t&&Fd(e,t)},Fm=(e,t,s)=>{let{vnode:i,slots:o}=e,r=!0,u=xe;if(i.shapeFlag&32){let f=t._;f?s&&f===1?r=!1:_d(o,t,s):(r=!t.$stable,$d(t,o)),u=t}else t&&(Fd(e,t),u={default:1});if(r)for(let f in o)!la(f)&&u[f]==null&&delete o[f]};function _m(){let e=[]}var Lt=Hm;function Ud(e){return Um(e)}function Um(e,t){_m();let s=ds();s.__VUE__=!0;let{insert:i,remove:o,patchProp:r,createElement:u,createText:f,createComment:c,setText:v,setElementText:h,parentNode:y,nextSibling:g,setScopeId:C=Mt,insertStaticContent:w}=e,S=(D,A,B,Z=null,K=null,ee=null,re=void 0,oe=null,ie=!!A.dynamicChildren)=>{if(D===A)return;D&&!ws(D,A)&&(Z=ce(D),He(D,K,ee,!0),D=null),A.patchFlag===-2&&(ie=!1,A.dynamicChildren=null),A.dynamicChildren&&D&&D.dynamicChildren&&D.dynamicChildren.hasOnce&&(A.dynamicChildren===qn&&(A.dynamicChildren=[]),A.dynamicChildren.hasOnce=!0);let{type:te,ref:we,shapeFlag:pe}=A;switch(te){case _i:N(D,A,B,Z);break;case sn:b(D,A,B,Z);break;case Ns:D==null&&T(A,B,Z,re);break;case V:W(D,A,B,Z,K,ee,re,oe,ie);break;default:pe&1?se(D,A,B,Z,K,ee,re,oe,ie):pe&6?j(D,A,B,Z,K,ee,re,oe,ie):(pe&64||pe&128)&&te.process(D,A,B,Z,K,ee,re,oe,ie,he)}we!=null&&K?Cs(we,D&&D.ref,ee,A||D,!A):we==null&&D&&D.ref!=null&&Cs(D.ref,null,ee,D,!0)},N=(D,A,B,Z)=>{if(D==null)i(A.el=f(A.children),B,Z);else{let K=A.el=D.el;A.children!==D.children&&v(K,A.children)}},b=(D,A,B,Z)=>{D==null?i(A.el=c(A.children||""),B,Z):A.el=D.el},T=(D,A,B,Z)=>{[D.el,D.anchor]=w(D.children,A,B,Z,D.el,D.anchor)},M=(D,A,B,Z)=>{if(A.children!==D.children){let K=g(D.anchor);H(D),[A.el,A.anchor]=w(A.children,B,K,Z)}else A.el=D.el,A.anchor=D.anchor},_=({el:D,anchor:A},B,Z)=>{let K;for(;D&&D!==A;)K=g(D),i(D,B,Z),D=K;i(A,B,Z)},H=({el:D,anchor:A})=>{let B;for(;D&&D!==A;)B=g(D),o(D),D=B;o(A)},se=(D,A,B,Z,K,ee,re,oe,ie)=>{if(A.type==="svg"?re="svg":A.type==="math"&&(re="mathml"),D==null)q(A,B,Z,K,ee,re,oe,ie);else{let te=D.el&&D.el._isVueCE?D.el:null;try{te&&te._beginPatch(),F(D,A,K,ee,re,oe,ie)}finally{te&&te._endPatch()}}},q=(D,A,B,Z,K,ee,re,oe)=>{let ie,te,{props:we,shapeFlag:pe,transition:Ee,dirs:Te}=D;if(ie=D.el=u(D.type,ee,we&&we.is,we),pe&8?h(ie,D.children):pe&16&&I(D.children,ie,null,Z,K,Zr(D,ee),re,oe),Te&&oo(D,null,Z,"created"),z(ie,D,D.scopeId,re,Z),we){for(let We in we)We!=="value"&&!Oo(We)&&r(ie,We,null,we[We],ee,Z);"value"in we&&r(ie,"value",null,we.value,ee),(te=we.onVnodeBeforeMount)&&hn(te,Z,D)}Te&&oo(D,null,Z,"beforeMount");let Ve=Bm(K,Ee);Ve&&Ee.beforeEnter(ie),i(ie,A,B),((te=we&&we.onVnodeMounted)||Ve||Te)&&Lt(()=>{let Ge;te&&hn(te,Z,D),Ve&&Ee.enter(ie),Te&&oo(D,null,Z,"mounted")},K)},z=(D,A,B,Z,K)=>{if(B&&C(D,B),Z)for(let ee=0;ee{for(let te=ie;te{let oe=A.el=D.el,{patchFlag:ie,dynamicChildren:te,dirs:we}=A;ie|=D.patchFlag&16;let pe=D.props||xe,Ee=A.props||xe,Te;if(B&&so(B,!1),(Te=Ee.onVnodeBeforeUpdate)&&hn(Te,B,A,D),we&&oo(A,D,B,"beforeUpdate"),B&&so(B,!0),te&&(!D.dynamicChildren||D.dynamicChildren.length!==te.length)&&(ie=0,re=!1,te=null),(pe.innerHTML&&Ee.innerHTML==null||pe.textContent&&Ee.textContent==null)&&h(oe,""),te?E(D.dynamicChildren,te,oe,B,Z,Zr(A,K),ee):re||me(D,A,oe,null,B,Z,Zr(A,K),ee,!1),ie>0){if(ie&16)L(oe,pe,Ee,B,K);else if(ie&2&&pe.class!==Ee.class&&r(oe,"class",null,Ee.class,K),ie&4&&r(oe,"style",pe.style,Ee.style,K),ie&8){let Ve=A.dynamicProps;for(let We=0;We{Te&&hn(Te,B,A,D),we&&oo(A,D,B,"updated")},Z)},E=(D,A,B,Z,K,ee,re)=>{for(let oe=0;oe{if(A!==B){if(A!==xe)for(let ee in A)!Oo(ee)&&!(ee in B)&&r(D,ee,A[ee],null,K,Z);for(let ee in B){if(Oo(ee))continue;let re=B[ee],oe=A[ee];re!==oe&&ee!=="value"&&r(D,ee,oe,re,K,Z)}"value"in B&&r(D,"value",A.value,B.value,K)}},W=(D,A,B,Z,K,ee,re,oe,ie)=>{let te=A.el=D?D.el:f(""),we=A.anchor=D?D.anchor:f(""),{patchFlag:pe,dynamicChildren:Ee,slotScopeIds:Te}=A;Te&&(oe=oe?oe.concat(Te):Te),D==null?(i(te,B,Z),i(we,B,Z),I(A.children||[],B,we,K,ee,re,oe,ie)):pe>0&&pe&64&&Ee&&D.dynamicChildren&&D.dynamicChildren.length===Ee.length?(E(D.dynamicChildren,Ee,B,K,ee,re,oe),(A.key!=null||K&&A===K.subTree)&&Bd(D,A,!0)):me(D,A,B,we,K,ee,re,oe,ie)},j=(D,A,B,Z,K,ee,re,oe,ie)=>{A.slotScopeIds=oe,D==null?A.shapeFlag&512?K.ctx.activate(A,B,Z,re,ie):Y(A,B,Z,K,ee,re,ie):ne(D,A,ie)},Y=(D,A,B,Z,K,ee,re)=>{let oe=D.component=Jm(D,Z,K);if(qi(D)&&(oe.ctx.renderer=he),Xm(oe,!1,re),oe.asyncDep){if(K&&K.registerDep(oe,x,re,ee),!D.el){let ie=oe.subTree=Me(sn);b(null,ie,A,B),D.placeholder=ie.el}}else x(oe,D,A,B,K,ee,re)},ne=(D,A,B)=>{let Z=A.component=D.component;if(Im(D,A,B))if(Z.asyncDep&&!Z.asyncResolved){A.el=D.el,A.placeholder=D.placeholder,fe(Z,A,B);return}else Z.next=A,Z.update();else A.el=D.el,A.placeholder=D.placeholder,Z.vnode=A},x=(D,A,B,Z,K,ee,re)=>{let oe=()=>{if(D.isMounted){let{next:pe,bu:Ee,u:Te,parent:Ve,vnode:We}=D;{let pt=zd(D);if(pt){pe&&(pe.el=We.el,fe(D,pe,re)),pt.asyncDep.then(()=>{Lt(()=>{D.isUnmounted||te()},K)});return}}let Ge=pe,ke;so(D,!1),pe?(pe.el=We.el,fe(D,pe,re)):pe=We,Ee&&Mo(Ee),(ke=pe.props&&pe.props.onVnodeBeforeUpdate)&&hn(ke,Ve,pe,We),so(D,!0);let _e=Qr(D),st=D.subTree;D.subTree=_e,S(st,_e,y(st.el),ce(st),D,K,ee),pe.el=_e.el,Ge===null&&Om(D,_e.el),Te&&Lt(Te,K),(ke=pe.props&&pe.props.onVnodeUpdated)&&Lt(()=>hn(ke,Ve,pe,We),K)}else{let pe,{el:Ee,props:Te}=A,{bm:Ve,m:We,parent:Ge,root:ke,type:_e}=D,st=Ss(A);if(so(D,!1),Ve&&Mo(Ve),!st&&(pe=Te&&Te.onVnodeBeforeMount)&&hn(pe,Ge,A),so(D,!0),Ee&&Oe){let pt=()=>{D.subTree=Qr(D),Oe(Ee,D.subTree,D,K,null)};st&&_e.__asyncHydrate?_e.__asyncHydrate(Ee,D,pt):pt()}else{ke.ce&&ke.ce._hasShadowRoot()&&ke.ce._injectChildStyle(_e,D.parent?D.parent.type:void 0);let pt=D.subTree=Qr(D);S(null,pt,B,Z,D,K,ee),A.el=pt.el}if(We&&Lt(We,K),!st&&(pe=Te&&Te.onVnodeMounted)){let pt=A;Lt(()=>hn(pe,Ge,pt),K)}(A.shapeFlag&256||Ge&&Ss(Ge.vnode)&&Ge.vnode.shapeFlag&256)&&D.a&&Lt(D.a,K),D.isMounted=!0,A=B=Z=null}};D.scope.on();let ie=D.effect=new qo(oe);D.scope.off();let te=D.update=ie.run.bind(ie),we=D.job=ie.runIfDirty.bind(ie);we.i=D,we.id=D.uid,ie.scheduler=()=>ia(we),so(D,!0),te()},fe=(D,A,B)=>{A.component=D;let Z=D.vnode.props;D.vnode=A,D.next=null,Vm(D,A.props,Z,B),Fm(D,A.children,B),tn(),pd(D),nn()},me=(D,A,B,Z,K,ee,re,oe,ie=!1)=>{let te=D&&D.children,we=D?D.shapeFlag:0,pe=A.children,{patchFlag:Ee,shapeFlag:Te}=A;if(Ee>0){if(Ee&128){Ue(te,pe,B,Z,K,ee,re,oe,ie);return}else if(Ee&256){Le(te,pe,B,Z,K,ee,re,oe,ie);return}}Te&8?(we&16&&J(te,K,ee),pe!==te&&h(B,pe)):we&16?Te&16?Ue(te,pe,B,Z,K,ee,re,oe,ie):J(te,K,ee,!0):(we&8&&h(B,""),Te&16&&I(pe,B,Z,K,ee,re,oe,ie))},Le=(D,A,B,Z,K,ee,re,oe,ie)=>{D=D||qn,A=A||qn;let te=D.length,we=A.length,pe=Math.min(te,we),Ee;for(Ee=0;Eewe?J(D,K,ee,!0,!1,pe):I(A,B,Z,K,ee,re,oe,ie,pe)},Ue=(D,A,B,Z,K,ee,re,oe,ie)=>{let te=0,we=A.length,pe=D.length-1,Ee=we-1;for(;te<=pe&&te<=Ee;){let Te=D[te],Ve=A[te]=ie?Pn(A[te]):vn(A[te]);if(ws(Te,Ve))S(Te,Ve,B,null,K,ee,re,oe,ie);else break;te++}for(;te<=pe&&te<=Ee;){let Te=D[pe],Ve=A[Ee]=ie?Pn(A[Ee]):vn(A[Ee]);if(ws(Te,Ve))S(Te,Ve,B,null,K,ee,re,oe,ie);else break;pe--,Ee--}if(te>pe){if(te<=Ee){let Te=Ee+1,Ve=TeEe)for(;te<=pe;)He(D[te],K,ee,!0),te++;else{let Te=te,Ve=te,We=new Map;for(te=Ve;te<=Ee;te++){let it=A[te]=ie?Pn(A[te]):vn(A[te]);it.key!=null&&We.set(it.key,te)}let Ge,ke=0,_e=Ee-Ve+1,st=!1,pt=0,Tt=new Array(_e);for(te=0;te<_e;te++)Tt[te]=0;for(te=Te;te<=pe;te++){let it=D[te];if(ke>=_e){He(it,K,ee,!0);continue}let ft;if(it.key!=null)ft=We.get(it.key);else for(Ge=Ve;Ge<=Ee;Ge++)if(Tt[Ge-Ve]===0&&ws(it,A[Ge])){ft=Ge;break}ft===void 0?He(it,K,ee,!0):(Tt[ft-Ve]=te+1,ft>=pt?pt=ft:st=!0,S(it,A[ft],B,null,K,ee,re,oe,ie),ke++)}let Pt=st?zm(Tt):qn;for(Ge=Pt.length-1,te=_e-1;te>=0;te--){let it=Ve+te,ft=A[it],Ft=A[it+1],So=it+1{let{el:ee,type:re,transition:oe,children:ie,shapeFlag:te}=D;if(te&6){Xe(D.component.subTree,A,B,Z);return}if(te&128){D.suspense.move(A,B,Z);return}if(te&64){re.move(D,A,B,he);return}if(re===V){i(ee,A,B);for(let pe=0;peoe.enter(ee),K));else{let{leave:pe,delayLeave:Ee,afterLeave:Te}=oe,Ve=()=>{D.ctx.isUnmounted?o(ee):i(ee,A,B)},We=()=>{let Ge=ee._isLeaving||!!ee[Jr];ee._isLeaving&&ee[Jr](!0),oe.persisted&&!Ge?Ve():pe(ee,()=>{Ve(),Te&&Te()})};Ee?Ee(ee,Ve,We):We()}else i(ee,A,B)},He=(D,A,B,Z=!1,K=!1)=>{let{type:ee,props:re,ref:oe,children:ie,dynamicChildren:te,shapeFlag:we,patchFlag:pe,dirs:Ee,cacheIndex:Te,memo:Ve}=D;if((pe===-2||te&&te.hasOnce)&&(K=!1),oe!=null&&(tn(),Cs(oe,null,B,D,!0),nn()),Te!=null&&(!D.ctx||D.ctx===A)&&(A.renderCache[Te]=void 0),we&256){A.ctx.deactivate(D);return}let We=we&1&&Ee,Ge=!Ss(D),ke;if(Ge&&(ke=re&&re.onVnodeBeforeUnmount)&&hn(ke,A,D),we&6)Se(D.component,B,Z);else{if(we&128){D.suspense.unmount(B,Z);return}We&&oo(D,null,A,"beforeUnmount"),we&64?D.type.remove(D,A,B,he,Z):te&&!te.hasOnce&&(ee!==V||pe>0&&pe&64)?J(te,A,B,!1,!0):(ee===V&&pe&384||!K&&we&16)&&J(ie,A,B),Z&<(D)}let _e=Ve!=null&&Te==null;(Ge&&(ke=re&&re.onVnodeUnmounted)||We||_e)&&Lt(()=>{ke&&hn(ke,A,D),We&&oo(D,null,A,"unmounted"),_e&&(D.el=null)},B)},lt=D=>{let{type:A,el:B,anchor:Z,transition:K}=D,ee=A===V;if(ee&&!K){Re(B,Z);return}if(A===Ns){H(D),K&&!K.persisted&&K.afterLeave&&K.afterLeave();return}let re=ee?xr(D):D,oe=()=>{ee?y(B)&&Re(B,Z):o(B),K&&!K.persisted&&K.afterLeave&&K.afterLeave()};if(re&&re.shapeFlag&1&&K&&!K.persisted){let{leave:ie,delayLeave:te}=K,we=re.el,pe=()=>ie(we,oe);te?te(we,oe,pe):pe()}else oe()},Re=(D,A)=>{let B;for(;D!==A;)B=g(D),o(D),D=B;o(A)},Se=(D,A,B)=>{let{bum:Z,scope:K,job:ee,subTree:re,um:oe,m:ie,a:te}=D;sd(ie),sd(te),Z&&Mo(Z),K.stop(),ee?(ee.flags|=8,He(re,D,A,B)):D.vnode.el&&re&&(re.transition=D.vnode.transition,He(re,D,A,B)),oe&&Lt(oe,A),Lt(()=>{D.isUnmounted=!0},A)},J=(D,A,B,Z=!1,K=!1,ee=0)=>{for(let re=ee;re{if(D.shapeFlag&6)return ce(D.component.subTree);if(D.shapeFlag&128)return D.suspense.next();let A=g(D.anchor||D.el),B=A&&A[am];return B?g(B):A},ue=(D,A,B)=>{let Z=D&&A._vnode?void 0:D&&D.component?D.component.uid:Ym();nm(()=>{D==null?A._vnode&&He(A._vnode,null,null,!0):S(A._vnode||null,D,A,null,null,null,B),A._vnode=D},Z)},he={p:S,um:He,m:Xe,r:lt,mt:Y,mc:I,pc:me,pbc:E,n:ce,o:e},be,Oe;return t&&([be,Oe]=t(he)),{render:ue,hydrate:be,createApp:Nm(ue,be)}}function Zr({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function so({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Bm(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Bd(e,t,s=!1){let i=e.children,o=t.children;if(Ne(i)&&Ne(o))for(let r=0;r>1,e[s[f]]0&&(t[i]=s[r-1]),s[r]=i)}}for(r=s.length,u=s[r-1];r-- >0;)s[r]=u,u=t[u];return s}function zd(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:zd(t)}function sd(e){if(e)for(let t=0;te.__isSuspense;function Hm(e,t){t&&t.pendingBranch?Ne(e)?t.effects.push(...e):t.effects.push(e):cd(e)}var V=Symbol.for("v-fgt"),_i=Symbol.for("v-txt"),sn=Symbol.for("v-cmt"),Ns=Symbol.for("v-stc"),io=[],zt=null;function a(e=!1){io.push(zt=e?null:[])}function jd(){io.pop(),zt=io[io.length-1]||null}var Ps=1;function Oi(e,t=!1){Ps+=e,e<0&&zt&&t&&(zt.hasOnce=!0)}function Gd(e){return e.dynamicChildren=Ps>0?zt||qn:null,jd(),Ps>0&&zt&&zt.push(e),e}function l(e,t,s,i,o,r){return Gd(n(e,t,s,i,o,r,!0))}function Xt(e,t,s,i,o){return Gd(Me(e,t,s,i,o,!0))}function Ds(e){return e?e.__v_isVNode===!0:!1}function ws(e,t){return e.type===t.type&&e.key===t.key}var Wd=({key:e})=>e??null,Ti=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?at(e)||bt(e)||Ie(e)?{i:Bt,r:e,k:t,f:!!s}:e:null);function n(e,t=null,s=null,i=0,o=null,r=e===V?0:1,u=!1,f=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Wd(t),ref:t&&Ti(t),scopeId:hd,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:i,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Bt};return f?(Mi(c,s),r&128&&e.normalize(c)):s&&(c.shapeFlag|=at(s)?8:16),Ps>0&&!u&&zt&&(c.patchFlag>0||r&6)&&c.patchFlag!==32&&zt.push(c),c}var Me=jm;function jm(e,t=null,s=null,i=0,o=null,r=!1){if((!e||e===vm)&&(e=sn),Ds(e)){let f=_o(e,t,!0);return s&&Mi(f,s),Ps>0&&!r&&zt&&(f.shapeFlag&6?zt[zt.indexOf(e)]=f:zt.push(f)),f.patchFlag=-2,f}if(th(e)&&(e=e.__vccOpts),t){t=Gm(t);let{class:f,style:c}=t;f&&!at(f)&&(t.class=R(f)),Je(c)&&(bs(c)&&!Ne(c)&&(c=ct({},c)),t.style=Ae(c))}let u=at(e)?1:Hd(e)?128:Li(e)?64:Je(e)?4:Ie(e)?2:0;return n(e,t,s,i,o,u,r,!0)}function Gm(e){return e?bs(e)||Vd(e)?ct({},e):e:null}function _o(e,t,s=!1,i=!1){let{props:o,ref:r,patchFlag:u,children:f,transition:c}=e,v=t?Wm(o||{},t):o,h={__v_isVNode:!0,__v_skip:!0,type:e.type,props:v,key:v&&Wd(v),ref:t&&t.ref?s&&r?Ne(r)?r.concat(Ti(t)):[r,Ti(t)]:Ti(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:f,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==V?u===-1?16:u|16:u,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&_o(e.ssContent),ssFallback:e.ssFallback&&_o(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return c&&i&&Ts(h,c.clone(h)),h}function m(e=" ",t=0){return Me(_i,null,e,t)}function Ce(e,t){let s=Me(Ns,null,e);return s.staticCount=t,s}function p(e="",t=!1){return t?(a(),Xt(sn,null,e)):Me(sn,null,e)}function vn(e){return e==null||typeof e=="boolean"?Me(sn):Ne(e)?Me(V,null,e.slice()):Ds(e)?Pn(e):Me(_i,null,String(e))}function Pn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:_o(e)}function Mi(e,t){let s=0,{shapeFlag:i}=e;if(t==null)t=null;else if(Ne(t))s=16;else if(typeof t=="object")if(i&65){let o=t.default;o&&(o._c&&(o._d=!1),Mi(e,o()),o._c&&(o._d=!0));return}else{s=32;let o=t._;!o&&!Vd(t)?t._ctx=Bt:o===3&&Bt&&(Bt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(Ie(t)){if(i&65){Mi(e,{default:t});return}t={default:t,_ctx:Bt},s=32}else t=String(t),i&64?(s=16,t=[m(t)]):s=8;e.children=t,e.shapeFlag|=s}function Wm(...e){let t={};for(let s=0;sSt||Bt,Vi,As;{let e=ds(),t=(s,i)=>{let o;return(o=e[s])||(o=e[s]=[]),o.push(i),r=>{o.length>1?o.forEach(u=>u(r)):o[0](r)}};Vi=t("__VUE_INSTANCE_SETTERS__",s=>St=s),As=t("__VUE_SSR_SETTERS__",s=>Uo=s)}var Ls=e=>{let t=St;return Vi(e),e.scope.on(),()=>{e.scope.off(),Vi(t)}},id=()=>{St&&St.scope.off(),Vi(null)};function Yd(e){return e.vnode.shapeFlag&4}var Uo=!1;function Xm(e,t=!1,s=!1){t&&As(t);let{props:i,children:o}=e.vnode,r=Yd(e);Mm(e,i,r,t),$m(e,o,s||t);let u=r?Qm(e,t):void 0;return t&&As(!1),u}function Qm(e,t){let s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ym);let{setup:i}=s;if(i){tn();let o=e.setupContext=i.length>1?xm(e):null,r=Ls(e),u=Is(i,e,0,[e.props,o]),f=Ar(u);if(nn(),r(),(f||e.sp)&&!Ss(e)&&ra(e),f){if(u.then(id,id),t)return u.then(c=>{As(!0);try{rd(e,c,t)}finally{As(!1)}}).catch(c=>{Os(c,e,0)});e.asyncDep=u}else rd(e,u,t)}else Jd(e,t)}function rd(e,t,s){Ie(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Je(t)&&(e.setupState=Ni(t)),Jd(e,s)}var ad,ld;function Jd(e,t,s){let i=e.type;if(!e.render){if(!t&&ad&&!i.render){let o=i.template||aa(e).template;if(o){let{isCustomElement:r,compilerOptions:u}=e.appContext.config,{delimiters:f,compilerOptions:c}=i,v=ct(ct({isCustomElement:r,delimiters:f},u),c);i.render=ad(o,v)}}e.render=i.render||Mt,ld&&ld(e)}{let o=Ls(e);tn();try{bm(e)}finally{nn(),o()}}}var Zm={get(e,t){return kt(e,"get",""),e[t]}};function xm(e){let t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Zm),slots:e.slots,emit:e.emit,expose:t}}function Ui(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ni(mn(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Es)return Es[s](e)},has(t,s){return s in t||s in Es}})):e.proxy}function eh(e,t=!0){return Ie(e)?e.displayName||e.name:e.name||t&&e.__name}function th(e){return Ie(e)&&"__vccOpts"in e}var Et=(e,t)=>Gl(e,t,Uo);function De(e,t,s){try{Oi(-1);let i=arguments.length;return i===2?Je(t)&&!Ne(t)?Ds(t)?Me(e,null,[t]):Me(e,t):Me(e,null,t):(i>3?s=Array.prototype.slice.call(arguments,2):i===3&&Ds(s)&&(s=[s]),Me(e,t,s))}finally{Oi(1)}}var nh="3.5.44";var ma,Xd=typeof window<"u"&&window.trustedTypes;if(Xd)try{ma=Xd.createPolicy("vue",{createHTML:e=>e})}catch{}var lu=ma?e=>ma.createHTML(e):e=>e,oh="http://www.w3.org/2000/svg",sh="http://www.w3.org/1998/Math/MathML",An=typeof document<"u"?document:null,Qd=An&&An.createElement("template"),ih={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,i)=>{let o=t==="svg"?An.createElementNS(oh,e):t==="mathml"?An.createElementNS(sh,e):s?An.createElement(e,{is:s}):An.createElement(e);return e==="select"&&i&&i.multiple!=null&&o.setAttribute("multiple",i.multiple),o},createText:e=>An.createTextNode(e),createComment:e=>An.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>An.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,i,o,r){let u=s?s.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),s),!(o===r||!(o=o.nextSibling)););else{Qd.innerHTML=lu(i==="svg"?`${e}`:i==="mathml"?`${e}`:e);let f=Qd.content;if(i==="svg"||i==="mathml"){let c=f.firstChild;for(;c.firstChild;)f.appendChild(c.firstChild);f.removeChild(c)}t.insertBefore(f,s)}return[u?u.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}};var rh=Symbol("_vtc");function ah(e,t,s){let i=e[rh];i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}var Hi=Symbol("_vod"),du=Symbol("_vsh"),Q={name:"show",beforeMount(e,{value:t},{transition:s}){e[Hi]=e.style.display==="none"?"":e.style.display,s&&t?s.beforeEnter(e):qs(e,t)},mounted(e,{value:t},{transition:s}){s&&t&&s.enter(e)},updated(e,{value:t,oldValue:s},{transition:i}){!t!=!s&&(i?t?(i.beforeEnter(e),qs(e,!0),i.enter(e)):i.leave(e,()=>{qs(e,!1)}):qs(e,t))},beforeUnmount(e,{value:t}){qs(e,t)}};function qs(e,t){e.style.display=t?e[Hi]:"none",e[du]=!t}var lh=Symbol("");var dh=/(?:^|;)\s*display\s*:/;function uh(e,t,s){let i=e.style,o=at(s),r=!1;if(s&&!o){if(t)if(at(t))for(let u of t.split(";")){let f=u.slice(0,u.indexOf(":")).trim();s[f]==null&&$s(i,f,"")}else for(let u in t)s[u]==null&&$s(i,u,"");for(let u in s){u==="display"&&(r=!0);let f=s[u];f!=null?ph(e,u,!at(t)&&t?t[u]:void 0,f)||$s(i,u,f):$s(i,u,"")}}else if(o){if(t!==s){let u=i[lh];u&&(s+=";"+u),i.cssText=s,r=dh.test(s)}}else t&&e.removeAttribute("style");Hi in e&&((!o||t!==s)&&(e[Hi]=r?i.display:""),e[du]&&(i.display="none"))}var Bi=/\s*!important$/;function $s(e,t,s){if(Ne(s))s.forEach(i=>$s(e,t,i));else if(s==null&&(s=""),t.startsWith("--"))Bi.test(s)?e.setProperty(t,s.replace(Bi,""),"important"):e.setProperty(t,s);else{let i=ch(e,t);Bi.test(s)?e.setProperty(dn(i),s.replace(Bi,""),"important"):e[i]=s}}var Zd=["Webkit","Moz","ms"],ca={};function ch(e,t){let s=ca[t];if(s)return s;let i=ht(t);if(i!=="filter"&&i in e)return ca[t]=i;i=xn(i);for(let o=0;opa||(yh.then(()=>pa=0),pa=Date.now());function wh(e,t){let s=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=s.attached)return;let o=s.value;if(Ne(o)){let r=i.stopImmediatePropagation;i.stopImmediatePropagation=()=>{r.call(i),i._stopped=!0};let u=o.slice(),f=[i];for(let c=0;ce.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,kh=(e,t,s,i,o,r)=>{let u=o==="svg";t==="class"?ah(e,i,u):t==="style"?uh(e,s,i):Ao(t)?Io(t)||mh(e,t,s,i,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ch(e,t,i,u))?(tu(e,t,i),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&eu(e,t,i,u,r,t!=="value")):e._isVueCE&&(Sh(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!at(i)))?tu(e,ht(t),i,r,t):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),eu(e,t,i,u))};function Ch(e,t,s,i){if(i)return!!(t==="innerHTML"||t==="textContent"||t in e&&ou(t)&&Ie(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){let o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return ou(t)&&at(s)?!1:t in e}function Sh(e,t){let s=e._def.props;if(!s)return!1;let i=ht(t);return Array.isArray(s)?s.some(o=>ht(o)===i):Object.keys(s).some(o=>ht(o)===i)}var Bo=e=>{let t=e.props["onUpdate:modelValue"]||!1;return Ne(t)?s=>Mo(t,s):t};function Eh(e){e.target.composing=!0}function su(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}var bn=Symbol("_assign"),zi=Symbol("_initialValue");function fa(e,t,s){return t&&(e=e.trim()),s&&(e=Vo(e)),e}var nt={created(e,{modifiers:{lazy:t,trim:s,number:i}},o){e.parentNode&&(e.type==="text"?e[zi]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[zi]=e.defaultValue.replace(/\r\n?/g,` +"use strict";(()=>{var ml=Object.defineProperty;var hl=e=>{throw TypeError(e)};var wf=(e,t,s)=>t in e?ml(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var kf=(e,t)=>{for(var s in t)ml(e,s,{get:t[s],enumerable:!0})};var tt=(e,t,s)=>wf(e,typeof t!="symbol"?t+"":t,s),Tr=(e,t,s)=>t.has(e)||hl("Cannot "+s);var ae=(e,t,s)=>(Tr(e,t,"read from private field"),s?s.call(e):t.get(e)),qe=(e,t,s)=>t.has(e)?hl("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,s),Be=(e,t,s,i)=>(Tr(e,t,"write to private field"),i?i.call(e,s):t.set(e,s),s),$e=(e,t,s)=>(Tr(e,t,"access private method"),s);var gl=(e,t,s,i)=>({set _(o){Be(e,t,o,s)},get _(){return ae(e,t,i)}});var ge=["abap","abc","actionscript","ada","alda","apache_conf","apex","applescript","aql","asciidoc","asl","assembly_x86","autohotkey","batchfile","c9search","c_cpp","cirru","clojure","cobol","coffee","coldfusion","crystal","csharp","csound_document","csound_orchestra","csound_score","csp","css","curly","d","dart","diff","django","dockerfile","dot","drools","edifact","eiffel","ejs","elixir","elm","erlang","forth","fortran","fsharp","fsl","ftl","gcode","gherkin","gitignore","glsl","gobstones","golang","graphqlschema","groovy","haml","handlebars","haskell","haskell_cabal","haxe","hjson","html","html_elixir","html_ruby","ini","io","jack","jade","java","javascript","json","json5","jsoniq","jsp","jssm","jsx","julia","kotlin","latex","less","liquid","lisp","livescript","logiql","logtalk","lsl","lua","luapage","lucene","makefile","markdown","mask","matlab","maze","mediawiki","mel","mixal","mushcode","mysql","nginx","nim","nix","nsis","nunjucks","objectivec","ocaml","pascal","perl","perl6","pgsql","php","php_laravel_blade","pig","plain_text","powershell","praat","prisma","prolog","properties","protobuf","puppet","python","qml","r","razor","rdoc","red","redshift","rhtml","rst","ruby","rust","sass","scad","scala","scheme","scss","sh","sjs","slim","smarty","snippets","soy_template","space","sparql","sql","sqlserver","stylus","svg","swift","tcl","terraform","tex","text","textile","toml","tsx","turtle","twig","typescript","vala","vbscript","velocity","verilog","vhdl","visualforce","wollok","xml","xquery","yaml","zeek"];var ve={markdown:"/script/markdown.6c8dfb7b1d.min.js",notebook:"/script/notebook.c3144c18ae.min.js",org:"/script/org.f61f262915.min.js",editor:"/script/editor.4f142d3adc.min.js",pdf:"/script/pdf.4d9cc6ff49.min.js"};function vl(e){let t=e.location.hash.slice(1);if(e.history.replaceState(null,"","/review-link"),t.length>2048)return null;let s=new URLSearchParams(t);if([...s.keys()].length!==3||[...s.keys()].some(u=>!["clientId","intentId","token"].includes(u)))return null;let i=s.get("clientId"),o=s.get("intentId"),r=s.get("token");return!/^[a-f0-9]{32}$/.test(i||"")||!/^[a-f0-9]{32}$/.test(o||"")||!/^[a-f0-9]{64}$/.test(r||"")?null:{contract:"4open.artifacts/1",clientId:i,intentId:o,token:r}}function yl(e,t){let{http:s,promises:i,window:o}=t,r=t.takeReviewHandoff(),u=r?{clientId:r.clientId,intentId:r.intentId}:null,f,c,v,h,y,g=!0,C,w=i.defer(),S=()=>[...o.crypto.getRandomValues(new Uint8Array(16))].map(_=>_.toString(16).padStart(2,"0")).join("");Object.assign(e,{repositoryId:"",handoffEnabled:!1,busy:!1,preview:null,acceptAccess:!1,acceptRetention:!1,uncertain:!1,saved:!1,expired:!1,error:r?"":"Open a new artifact link from your submission. This link is missing or invalid."});let N=()=>g&&e.user?.username===y;function b(){g=!1,r=f=c=void 0,w.resolve(),o.clearTimeout(C)}e.on("dispose",b),e.on("routeLeave",b),e.watch(()=>e.user?.username,_=>{!y&&_?y=_:y&&_!==y&&(b(),e.preview=null,e.repositoryId="",e.busy=!1,e.saved=!1,e.handoffEnabled=!1,e.error="Your account changed. Open a new artifact link from your submission.")});let T=()=>({timeout:w.promise,headers:{"Content-Type":"application/json","X-Review-CSRF":c}}),M=_=>_?.status===404?"Artifact linking is not available on this server.":_?.status===401?"Sign in, then open a new artifact link from your submission.":_?.status===403?"This account cannot approve this repository or this link.":"The request could not be completed. You can retry from this page.";e.loadPreview=async()=>{if(!g||!r||e.busy||e.uncertain||e.saved||!e.user?.username)return;y=e.user.username;let _=e.repositoryId.trim();if(!/^[A-Za-z0-9_-]{3,128}$/.test(_)){e.error="Enter the anonymous repository ID from its URL.";return}e.busy=!0,e.error="",e.preview=null,f=void 0,e.acceptAccess=e.acceptRetention=!1,e.expired=!1,o.clearTimeout(C),h||(h=S());try{let H=(await s.get("/api/review-consent/csrf",{timeout:w.promise})).data;if(!N())return;if(c=H.csrf,e.handoffEnabled=H.handoffEnabled===!0,!/^[a-f0-9]{64}$/.test(c||""))throw new Error("invalid_csrf");let se=(await s.post("/api/review-consent/preview",{repositoryId:_,intent:{...r,requestId:h}},T())).data;if(!N())return;if(!se||typeof se.ticket!="string"||!se.ticket||se.ticket.length>8192||typeof se.repositoryName!="string"||!["restricted-review","anonymous-link"].includes(se.policy?.access)||!Number.isSafeInteger(se.policy.version)||!Number.isFinite(Date.parse(se.policy.retainUntil))||!Number.isFinite(Date.parse(se.expiresAt))||Date.parse(se.expiresAt)<=Date.now()||Date.parse(se.expiresAt)>Date.now()+6e5)throw new Error("invalid_preview");f=se.ticket,v=S(),e.preview={repositoryName:se.repositoryName,policy:{...se.policy},expiresAt:se.expiresAt},C=o.setTimeout(()=>{g&&(e.expired=!0)},Math.max(0,Date.parse(se.expiresAt)-Date.now()))}catch(H){N()&&(e.error=M(H))}finally{N()&&(e.busy=!1)}},e.confirmConsent=async()=>{if(!(!N()||e.busy||e.saved||!f||!e.acceptAccess||!e.acceptRetention)){if(Date.parse(e.preview.expiresAt)<=Date.now()){e.expired=!0;return}e.busy=!0,e.error="";try{let _=(await s.post("/api/review-consent/confirm",{ticket:f,requestId:v,acceptAccess:!0,acceptRetention:!0},T())).data;if(!N())return;if(_?.requestId!==v||!Number.isFinite(Date.parse(_.confirmedAt)))throw new Error("invalid_receipt");e.saved=!0,e.uncertain=!1,r=void 0,e.handoffEnabled||(f=void 0)}catch{N()&&(e.uncertain=!0,e.error="The confirmation was not verified. Retry with the same approval, or return to your submission to check its status.")}finally{N()&&(e.busy=!1)}}},e.continueReview=async()=>{if(!N()||e.busy||!e.saved||!e.handoffEnabled||!f||!u)return;e.busy=!0,e.error="";let _,H=()=>{_?.remove(),o.removeEventListener("securitypolicyviolation",se)},se=q=>{q.violatedDirective?.startsWith("form-action")&&(H(),N()&&(e.busy=!1,e.error="The return address was blocked. Return to your submission to check the artifact status."))};try{let q=(await s.post("/api/review-consent/handoff",{ticket:f},T())).data;if(!N())return;let z=q?.completion,I=new URL(q?.callbackUrl);if(!z||Object.keys(z).sort().join(",")!=="clientId,code,contract,expiresAt,intentId"||z.contract!=="4open.artifacts/1"||z.clientId!==u.clientId||z.intentId!==u.intentId||!/^[a-f0-9]{64}$/.test(z.code||"")||!Number.isFinite(Date.parse(z.expiresAt))||Date.parse(z.expiresAt)<=Date.now()||Date.parse(z.expiresAt)>Date.now()+3e5||I.protocol!=="https:"||I.href!==q.callbackUrl||I.username||I.password||q.callbackUrl.includes("?")||q.callbackUrl.includes("#"))throw new Error("invalid_handoff");_=o.document.createElement("form"),_.method="POST",_.action=I.href;let F=o.document.createElement("input");F.type="hidden",F.name="completion",F.value=JSON.stringify(z),_.appendChild(F),o.document.body.appendChild(_),o.addEventListener("securitypolicyviolation",se),e.on("dispose",H),_.submit()}catch{H(),N()&&(e.busy=!1,e.error="The return to review could not be prepared. Retry from this page, or return to your submission to check its status.")}}}var di=new Map,Ef=ve;function Zn(e){if(!di.has(e)){let t=document.createElement("script");t.src=Ef[e];let s=new Promise((i,o)=>{t.onload=i,t.onerror=()=>{di.delete(e),t.remove(),o(new Error(`Unable to load ${e}. Please retry.`))}});di.set(e,s),document.head.appendChild(t)}return di.get(e)}async function ui(){await Zn("editor"),ace.config.set("basePath","/script/external/ace/")}function Do(e){let t=Object.create(null);for(let s of e.split(","))t[s]=1;return s=>s in t}var xe={},qn=[],Mt=()=>{},Dr=()=>!1,Ao=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Io=e=>e.startsWith("onUpdate:"),ct=Object.assign,rs=(e,t)=>{let s=e.indexOf(t);s>-1&&e.splice(s,1)},Nf=Object.prototype.hasOwnProperty,Ke=(e,t)=>Nf.call(e,t),Ne=Array.isArray,En=e=>as(e)==="[object Map]",Zt=e=>as(e)==="[object Set]",bl=e=>as(e)==="[object Date]";var Ie=e=>typeof e=="function",at=e=>typeof e=="string",_t=e=>typeof e=="symbol",Je=e=>e!==null&&typeof e=="object",Ar=e=>(Je(e)||Ie(e))&&Ie(e.then)&&Ie(e.catch),Sl=Object.prototype.toString,as=e=>Sl.call(e),Ir=e=>as(e).slice(8,-1),ci=e=>as(e)==="[object Object]",pi=e=>at(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Oo=Do(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted");var fi=e=>{let t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},Rf=/-\w/g,ht=fi(e=>e.replace(Rf,t=>t.slice(1).toUpperCase())),Tf=/\B([A-Z])/g,dn=fi(e=>e.replace(Tf,"-$1").toLowerCase()),xn=fi(e=>e.charAt(0).toUpperCase()+e.slice(1)),ls=fi(e=>e?`on${xn(e)}`:""),Kt=(e,t)=>!Object.is(e,t),Mo=(e,...t)=>{for(let s=0;s{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:i,value:s})},Vo=e=>{let t=parseFloat(e);return isNaN(t)?e:t};var wl,ds=()=>wl||(wl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ae(e){if(Ne(e)){let t={};for(let s=0;ss.startsWith("/*")?"":s).split(Pf).forEach(s=>{if(s){let i=s.split(Df);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function R(e){let t="";if(at(e))t=e;else if(Ne(e))for(let s=0;sxt(s,t))}var Rl=e=>!!(e&&e.__v_isRef===!0),d=e=>at(e)?e:e==null?"":Ne(e)||Je(e)&&(e.toString===Sl||!Ie(e.toString))?Rl(e)?d(e.value):JSON.stringify(e,Tl,2):String(e),Tl=(e,t)=>Rl(t)?Tl(e,t.value):En(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[i,o],r)=>(s[Pr(i,r)+" =>"]=o,s),{})}:Zt(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>Pr(s))}:_t(t)?Pr(t):Je(t)&&!Ne(t)&&!ci(t)?String(t):t,Pr=(e,t="")=>{var s;return _t(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};function Lf(e,...t){console.warn(`[Vue warn] ${e}`,...t)}var gt,fs=class{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&>&&(gt.active?(this.parent=gt,this.index=(gt.scopes||(gt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes){let i=this.scopes.slice();for(t=0,s=i.length;t0&&--this._on===0){if(gt===this)gt=this.prevScope;else{let t=gt;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let s,i;for(s=0,i=this.effects.length;s0)return;if(ps){let t=ps;for(ps=void 0;t;){let s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;cs;){let t=cs;for(cs=void 0;t;){let s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(i){e||(e=i)}t=s}}if(e)throw e}function Vl(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ll(e){let t,s=e.depsTail,i=s;for(;i;){let o=i.prevDep;i.version===-1?(i===s&&(s=o),Gr(i),qf(i)):t=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=o}e.deps=t,e.depsTail=s}function Lr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ql(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ql(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ms)||(e.globalVersion=ms,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Lr(e))))return;e.flags|=2;let t=e.dep,s=ot,i=en;ot=e,en=!0;try{Vl(e);let o=e.fn(e._value);(t.version===0||Kt(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{ot=s,en=i,Ll(e),e.flags&=-3}}function Gr(e,t=!1){let{dep:s,prevSub:i,nextSub:o}=e;if(i&&(i.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=i,e.nextSub=void 0),s.subs===e&&(s.subs=i,!i&&s.computed)){s.computed.flags&=-5;for(let r=s.computed.deps;r;r=r.nextDep)Gr(r,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function qf(e){let{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}var en=!0,$l=[];function tn(){$l.push(en),en=!1}function nn(){let e=$l.pop();en=e===void 0?!0:e}function Pl(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let s=ot;ot=void 0;try{t()}finally{ot=s}}}var ms=0,qr=class{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},hs=class{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ot||!en||ot===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==ot)s=this.activeLink=new qr(ot,this),ot.deps?(s.prevDep=ot.depsTail,ot.depsTail.nextDep=s,ot.depsTail=s):ot.deps=ot.depsTail=s,Fl(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){let i=s.nextDep;i.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=i),s.prevDep=ot.depsTail,s.nextDep=void 0,ot.depsTail.nextDep=s,ot.depsTail=s,ot.deps===s&&(ot.deps=i)}return s}trigger(t){this.version++,ms++,this.notify(t)}notify(t){Hr();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{jr()}}};function Fl(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let i=t.deps;i;i=i.nextDep)Fl(i)}let s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}var $r=new WeakMap,to=Symbol(""),Fr=Symbol(""),gs=Symbol("");function kt(e,t,s){if(en&&ot){let i=$r.get(e);i||$r.set(e,i=new Map);let o=i.get(s);o||(i.set(s,o=new hs),o.map=i,o.key=s),o.track()}}function cn(e,t,s,i,o,r){let u=$r.get(e);if(!u){ms++;return}let f=c=>{c&&c.trigger()};if(Hr(),t==="clear")u.forEach(f);else{let c=Ne(e),v=c&&pi(s);if(c&&s==="length"){let h=Number(i);u.forEach((y,g)=>{(g==="length"||g===gs||!_t(g)&&g>=h)&&f(y)})}else switch((s!==void 0||u.has(void 0))&&f(u.get(s)),v&&f(u.get(gs)),t){case"add":c?v&&f(u.get("length")):(f(u.get(to)),En(e)&&f(u.get(Fr)));break;case"delete":c||(f(u.get(to)),En(e)&&f(u.get(Fr)));break;case"set":En(e)&&f(u.get(to));break}}jr()}function Lo(e){let t=Ye(e);return t===e||(kt(t,"iterate",gs),Vt(e))?t:Yt(e)?fn(e)?t.map(s=>Rn(Ut(s))):t.map(Rn):t.map(Ut)}function vs(e){return kt(e=Ye(e),"iterate",gs),e}function un(e,t){return Yt(e)?Rn(fn(e)?Ut(t):t):Ut(t)}var $f={__proto__:null,[Symbol.iterator](){return Mr(this,Symbol.iterator,e=>un(this,e))},concat(...e){return Lo(this).concat(...e.map(t=>Ne(t)?Lo(t):t))},entries(){return Mr(this,"entries",e=>(e[1]=un(this,e[1]),e))},every(e,t){return Nn(this,"every",e,t,void 0,arguments)},filter(e,t){return Nn(this,"filter",e,t,s=>s.map(i=>un(this,i)),arguments)},find(e,t){return Nn(this,"find",e,t,s=>un(this,s),arguments)},findIndex(e,t){return Nn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Nn(this,"findLast",e,t,s=>un(this,s),arguments)},findLastIndex(e,t){return Nn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Nn(this,"forEach",e,t,void 0,arguments)},includes(...e){return Vr(this,"includes",e)},indexOf(...e){return Vr(this,"indexOf",e)},join(e){return Lo(this).join(e)},lastIndexOf(...e){return Vr(this,"lastIndexOf",e)},map(e,t){return Nn(this,"map",e,t,void 0,arguments)},pop(){return us(this,"pop")},push(...e){return us(this,"push",e)},reduce(e,...t){return Al(this,"reduce",e,t)},reduceRight(e,...t){return Al(this,"reduceRight",e,t)},shift(){return us(this,"shift")},some(e,t){return Nn(this,"some",e,t,void 0,arguments)},splice(...e){return us(this,"splice",e)},toReversed(){return Lo(this).toReversed()},toSorted(e){return Lo(this).toSorted(e)},toSpliced(...e){return Lo(this).toSpliced(...e)},unshift(...e){return us(this,"unshift",e)},values(){return Mr(this,"values",e=>un(this,e))}};function Mr(e,t,s){let i=vs(e),o=i[t],r=o.call(i);if(i!==e&&!Vt(e)){if(r[Symbol.toStringTag]==="Array Iterator"){let u=Object.create(Object.getPrototypeOf(r));return u.next=()=>Dl(r.next(),s),o!==_l[t]&&Object.defineProperties(u,{return:{get(){let f=r.return;return typeof f=="function"?f.bind(r):f}},throw:{get(){let f=r.throw;return typeof f=="function"?f.bind(r):f}}}),u}r._next=r.next,r.next=()=>Dl(r._next(),s)}return r}function Dl(e,t){return e.done||(e.value=t(e.value)),e}var _l=Array.prototype;function Nn(e,t,s,i,o,r){let u=vs(e),f=u!==e&&!Vt(e),c=u[t];if(c!==_l[t]){let y=c.apply(e,r);return f?Ut(y):y}let v=s;u!==e&&(f?v=function(y,g){return s.call(this,un(e,y),g,e)}:s.length>2&&(v=function(y,g){return s.call(this,y,g,e)}));let h=c.call(u,v,i);return f&&o?o(h):h}function Al(e,t,s,i){let o=vs(e),r=o!==e&&!Vt(e),u=s,f=!1;o!==e&&(r?(f=i.length===0,u=function(v,h,y){return f&&(f=!1,v=un(e,v)),s.call(this,v,un(e,h),y,e)}):s.length>3&&(u=function(v,h,y){return s.call(this,v,h,y,e)}));let c=o[t](u,...i);return f?un(e,c):c}function Vr(e,t,s){let i=Ye(e);kt(i,"iterate",gs);let o=i[t](...s);return(o===-1||o===!1)&&bs(s[0])?(s[0]=Ye(s[0]),i[t](...s)):o}function us(e,t,s=[]){tn(),Hr();let i=Ye(e)[t].apply(e,s);return jr(),nn(),i}var Ff=Do("__proto__,__v_isRef,__isVue"),Ul=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(_t));function _f(e){_t(e)||(e=String(e));let t=Ye(this);return kt(t,"has",e),t.hasOwnProperty(e)}var wi=class{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,i){if(s==="__v_skip")return t.__v_skip;let o=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!o;if(s==="__v_isReadonly")return o;if(s==="__v_isShallow")return r;if(s==="__v_raw")return i===(o?r?Yf:Hl:r?zl:Bl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(i)?t:void 0;let u=Ne(t);if(!o){let c;if(u&&(c=$f[s]))return c;if(s==="hasOwnProperty")return _f}let f=Reflect.get(t,s,bt(t)?t:i);if((_t(s)?Ul.has(s):Ff(s))||(o||kt(t,"get",s),r))return f;if(bt(f)){let c=u&&pi(s)?f:f.value;return o&&Je(c)?Ci(c):c}return Je(f)?o?Ci(f):rt(f):f}},ki=class extends wi{constructor(t=!1){super(!1,t)}set(t,s,i,o){let r=t[s],u=Ne(t)&&pi(s);if(!this._isShallow){let v=Yt(r);if(!Vt(i)&&!Yt(i)&&(r=Ye(r),i=Ye(i)),!u&&bt(r)&&!bt(i))return v||(r.value=i),!0}let f=u?Number(s)e,vi=e=>Reflect.getPrototypeOf(e);function Hf(e,t,s){return function(...i){let o=this.__v_raw,r=Ye(o),u=En(r),f=e==="entries"||e===Symbol.iterator&&u,c=e==="keys"&&u,v=o[e](...i),h=s?Ur:t?Rn:Ut;return!t&&kt(r,"iterate",c?Fr:to),ct(Object.create(v),{next(){let{value:y,done:g}=v.next();return g?{value:y,done:g}:{value:f?[h(y[0]),h(y[1])]:h(y),done:g}}})}}function yi(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function jf(e,t){let s={get(o){let r=this.__v_raw,u=Ye(r),f=Ye(o);e||(Kt(o,f)&&kt(u,"get",o),kt(u,"get",f));let{has:c}=vi(u),v=t?Ur:e?Rn:Ut;if(c.call(u,o))return v(r.get(o));if(c.call(u,f))return v(r.get(f));r!==u&&r.get(o)},get size(){let o=this.__v_raw;return!e&&kt(Ye(o),"iterate",to),o.size},has(o){let r=this.__v_raw,u=Ye(r),f=Ye(o);return e||(Kt(o,f)&&kt(u,"has",o),kt(u,"has",f)),o===f?r.has(o):r.has(o)||r.has(f)},forEach(o,r){let u=this,f=u.__v_raw,c=Ye(f),v=t?Ur:e?Rn:Ut;return!e&&kt(c,"iterate",to),f.forEach((h,y)=>o.call(r,v(h),v(y),u))}};return ct(s,e?{add:yi("add"),set:yi("set"),delete:yi("delete"),clear:yi("clear")}:{add(o){let r=Ye(this),u=vi(r),f=Ye(o),c=!t&&!Vt(o)&&!Yt(o)?f:o;return u.has.call(r,c)||Kt(o,c)&&u.has.call(r,o)||Kt(f,c)&&u.has.call(r,f)||(r.add(c),cn(r,"add",c,c)),this},set(o,r){!t&&!Vt(r)&&!Yt(r)&&(r=Ye(r));let u=Ye(this),{has:f,get:c}=vi(u),v=f.call(u,o);v||(o=Ye(o),v=f.call(u,o));let h=c.call(u,o);return u.set(o,r),v?Kt(r,h)&&cn(u,"set",o,r,h):cn(u,"add",o,r),this},delete(o){let r=Ye(this),{has:u,get:f}=vi(r),c=u.call(r,o);c||(o=Ye(o),c=u.call(r,o));let v=f?f.call(r,o):void 0,h=r.delete(o);return c&&cn(r,"delete",o,void 0,v),h},clear(){let o=Ye(this),r=o.size!==0,u=void 0,f=o.clear();return r&&cn(o,"clear",void 0,void 0,u),f}}),["keys","values","entries",Symbol.iterator].forEach(o=>{s[o]=Hf(o,e,t)}),s}function Wr(e,t){let s=jf(e,t);return(i,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_isShallow"?t:o==="__v_raw"?i:Reflect.get(Ke(s,o)&&o in i?s:i,o,r)}var Gf={get:Wr(!1,!1)},Wf={get:Wr(!1,!0)},Kf={get:Wr(!0,!1)};var Bl=new WeakMap,zl=new WeakMap,Hl=new WeakMap,Yf=new WeakMap;function Jf(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function rt(e){return Yt(e)?e:Kr(e,!1,Uf,Gf,Bl)}function ys(e){return Kr(e,!1,zf,Wf,zl)}function Ci(e){return Kr(e,!0,Bf,Kf,Hl)}function Kr(e,t,s,i,o){if(!Je(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;let r=o.get(e);if(r)return r;let u=Jf(Ir(e));if(u===0)return e;let f=new Proxy(e,u===2?i:s);return o.set(e,f),f}function fn(e){return Yt(e)?fn(e.__v_raw):!!(e&&e.__v_isReactive)}function Yt(e){return!!(e&&e.__v_isReadonly)}function Vt(e){return!!(e&&e.__v_isShallow)}function bs(e){return e?!!e.__v_raw:!1}function Ye(e){let t=e&&e.__v_raw;return t?Ye(t):e}function mn(e){return!Ke(e,"__v_skip")&&Object.isExtensible(e)&&mi(e,"__v_skip",!0),e}var Ut=e=>Je(e)?rt(e):e,Rn=e=>Je(e)?Ci(e):e;function bt(e){return e?e.__v_isRef===!0:!1}function Ct(e){return jl(e,!1)}function Ei(e){return jl(e,!0)}function jl(e,t){return bt(e)?e:new Br(e,t)}var Br=class{constructor(t,s){this.dep=new hs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:Ye(t),this._value=s?t:Ut(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){let s=this._rawValue,i=this.__v_isShallow||Vt(t)||Yt(t);t=i?t:Ye(t),Kt(t,s)&&(this._rawValue=t,this._value=i?t:Ut(t),this.dep.trigger())}};function Tn(e){return bt(e)?e.value:e}var Xf={get:(e,t,s)=>t==="__v_raw"?e:Tn(Reflect.get(e,t,s)),set:(e,t,s,i)=>{let o=e[t];return bt(o)&&!bt(s)?(o.value=s,!0):Reflect.set(e,t,s,i)}};function Ni(e){return fn(e)?e:new Proxy(e,Xf)}var zr=class{constructor(t,s,i){this.fn=t,this.setter=s,this._value=void 0,this.dep=new hs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ms-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=i}notify(){if(this.flags|=16,!(this.flags&8)&&ot!==this)return Ml(this,!0),!0}get value(){let t=this.dep.track();return ql(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}};function Gl(e,t,s=!1){let i,o;return Ie(e)?i=e:(i=e.get,o=e.set),new zr(i,o,s)}var bi={},Si=new WeakMap,eo;function Wl(e,t=!1,s=eo){if(s){let i=Si.get(s);i||Si.set(s,i=[]),i.push(e)}}function Kl(e,t,s=xe){let{immediate:i,deep:o,once:r,scheduler:u,augmentJob:f,call:c}=s,v=H=>{(s.onWarn||Lf)("Invalid watch source: ",H,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},h=H=>o?H:Vt(H)||o===!1||o===0?pn(H,1):pn(H),y,g,C,w,S=!1,N=!1;if(bt(e)?(g=()=>e.value,S=Vt(e)):fn(e)?(g=()=>h(e),S=!0):Ne(e)?(N=!0,S=e.some(H=>fn(H)||Vt(H)),g=()=>e.map(H=>{if(bt(H))return H.value;if(fn(H))return h(H);if(Ie(H))return c?c(H,2):H()})):Ie(e)?t?g=c?()=>c(e,2):e:g=()=>{if(C){tn();try{C()}finally{nn()}}let H=eo;eo=y;try{return c?c(e,3,[w]):e(w)}finally{eo=H}}:g=Mt,t&&o){let H=g,se=o===!0?1/0:o;g=()=>pn(H(),se)}let b=Il(),T=()=>{y.stop(),b&&b.active&&rs(b.effects,y)};if(r&&t){let H=t;t=(...se)=>{try{return H(...se)}finally{T()}}}let M=N?new Array(e.length).fill(bi):bi,_=H=>{if(!(!(y.flags&1)||!y.dirty&&!H))if(t){let se=y.run();if(H||o||S||(N?se.some((q,z)=>Kt(q,M[z])):Kt(se,M))){let q=eo;tn();try{C&&C(),eo=y;let z=[se,M===bi?void 0:N&&M[0]===bi?[]:M,w];M=se,c?c(t,3,z):t(...z)}finally{eo=q,nn()}}}else y.run()};return f&&f(_),y=new qo(g),y.scheduler=u?()=>u(_,!1):_,w=H=>Wl(H,!1,y),C=y.onStop=()=>{let H=Si.get(y);if(H){if(c)c(H,4);else for(let se of H)se();Si.delete(y)}},t?i?_(!0):M=y.run():u?u(_.bind(null,!0),!0):y.run(),T.pause=y.pause.bind(y),T.resume=y.resume.bind(y),T.stop=T,T}function pn(e,t=1/0,s){if(t<=0||!Je(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,bt(e))pn(e.value,t,s);else if(Ne(e))for(let i=0;i{pn(i,t,s)});else if(ci(e)){for(let i in e)pn(e[i],t,s);for(let i of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,i)&&pn(e[i],t,s)}return e}function Is(e,t,s,i){try{return i?e(...i):e()}catch(o){Os(o,t,s)}}function Jt(e,t,s,i){if(Ie(e)){let o=Is(e,t,s,i);return o&&Ar(o)&&o.catch(r=>{Os(r,t,s)}),o}if(Ne(e)){let o=[];for(let r=0;r>>1,o=At[i],r=Rs(o);r=Rs(s)?At.push(e):At.splice(tm(t),0,e),e.flags|=1,ud()}}function ud(){Pi||(Pi=dd.then(md))}function cd(e){if(!Ne(e))$n&&e.id===-1?$n.splice($o+1,0,e):e.flags&1||(gn.push(e),e.flags|=1);else for(let t=0;t=t))continue;At.splice(i,1),i=e?i-1:on,o.flags&4&&(o.flags&=-2),o(),o.flags&4||(o.flags&=-2)}}}function fd(e,t,s=0){if(gn.length){let i=gn,o=0;if(t){i=[];for(let u=0;uRs(u)-Rs(f));if(gn.length=o,$n){for(let u=0;ue.id==null?e.flags&2?-1:1/0:e.id;function md(e){let t=Mt;try{for(on=0;on{i._d&&Oi(-1);let r=Di(t),u=io.length,f;try{f=e(...o)}finally{for(let c=io.length;c>u;c--)jd();Di(r),i._d&&Oi(1)}return f};return i._n=!0,i._c=!0,i._d=!0,i}function P(e,t){if(Bt===null)return e;let s=Ui(Bt),i=e.dirs||(e.dirs=[]);for(let o=0;o1)return s&&Ie(t)?t.call(i&&i.proxy):t}}var sm=Symbol.for("v-scx"),im=()=>{{let e=qt(sm);return e}};function dt(e,t,s){return gd(e,t,s)}function gd(e,t,s=xe){let{immediate:i,deep:o,flush:r,once:u}=s,f=ct({},s),c=t&&i||!t&&r!=="post",v;if(Uo){if(r==="sync"){let C=im();v=C.__watcherHandles||(C.__watcherHandles=[])}else if(!c){let C=()=>{};return C.stop=Mt,C.resume=Mt,C.pause=Mt,C}}let h=St;f.call=(C,w,S)=>Jt(C,h,w,S);let y=!1;r==="post"?f.scheduler=C=>{C.i=h,Lt(C,h&&h.suspense)}:r!=="sync"&&(y=!0,f.scheduler=(C,w)=>{w?C():ia(C)}),f.augmentJob=C=>{t&&(C.flags|=4),y&&(C.flags|=2,h&&(C.id=h.uid,C.i=h))};let g=Kl(e,t,f);return Uo&&(v?v.push(g):c&&g()),g}function rm(e,t,s){let i=this.proxy,o=at(e)?e.includes(".")?vd(i,e):()=>i[e]:e.bind(i,i),r;Ie(t)?r=t:(r=t.handler,s=t);let u=Ls(this),f=gd(o,r.bind(i),s);return u(),f}function vd(e,t){let s=t.split(".");return()=>{let i=e;for(let o=0;oe.__isTeleport;var Jr=Symbol("_leaveCb");function lm(e){let t=e[0];if(e.length>1){let s=!1;for(let i of e)if(i.type!==sn){t=i,s=!0;break}}return t}function yd(e){if(!qi(e))return Li(e.type)&&e.children?lm(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:s}=e;if(s){if(t&16)return s[0];if(t&32&&Ie(s.default))return s.default()}}function Ts(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;let s=e.component.subTree;Ts(Li(s.type)&&yd(s)||s,t)}else if(e.shapeFlag&128)e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback);else if(e.transition=t,e.type===V&&Ne(e.children)){let s=Ad(e.children,!1);s&&Ts(s,t)}}function xr(e){if(e.component)return xr(e.component.subTree);if(e.type===V){let t=Ne(e.children)&&Ad(e.children,!1);return t?xr(t):void 0}if(e.type!==sn)return e}function Ms(e,t){return Ie(e)?ct({name:e.name},t,{setup:e}):e}function ra(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Yl(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}var Ai=new WeakMap;function Cs(e,t,s,i,o=!1){if(Ne(e)){e.forEach((S,N)=>Cs(S,t&&(Ne(t)?t[N]:t),s,i,o));return}if(Ss(i)&&!o){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&Cs(e,t,s,i.component.subTree);return}let r=i.shapeFlag&4?Ui(i.component):i.el,u=o?null:r,{i:f,r:c}=e,v=t&&t.r,h=f.refs===xe?f.refs={}:f.refs,y=f.setupState,g=Ye(y),C=y===xe?Dr:S=>Yl(h,S)?!1:Ke(g,S),w=(S,N)=>!(N&&Yl(h,N));if(v!=null&&v!==c){if(Jl(t),at(v))h[v]=null,C(v)&&(y[v]=null);else if(bt(v)){let S=t;w(v,S.k)&&(v.value=null),S.k&&(h[S.k]=null)}}if(Ie(c))Is(c,f,12,[u,h]);else{let S=at(c),N=bt(c);if(S||N){let b=()=>{if(e.f){let T=S?C(c)?y[c]:h[c]:w(c)||!e.k?c.value:h[e.k];if(o)Ne(T)&&rs(T,r);else if(Ne(T))T.includes(r)||T.push(r);else if(S)h[c]=[r],C(c)&&(y[c]=h[c]);else{let M=[r];w(c,e.k)&&(c.value=M),e.k&&(h[e.k]=M)}}else S?(h[c]=u,C(c)&&(y[c]=u)):N&&(w(c,e.k)&&(c.value=u),e.k&&(h[e.k]=u))};if(u){let T=()=>{b(),Ai.delete(e)};T.id=-1,Ai.set(e,T),Lt(T,s)}else Jl(e),b()}}}function Jl(e){let t=Ai.get(e);t&&(t.flags|=8,Ai.delete(e))}var Xl=e=>e.nodeType===8;var vne=ds().requestIdleCallback||(e=>setTimeout(e,1)),yne=ds().cancelIdleCallback||(e=>clearTimeout(e));function dm(e,t){if(Xl(e)&&e.data==="["){let s=1,i=e.nextSibling;for(;i;){if(i.nodeType===1){if(t(i)===!1)break}else if(Xl(i))if(i.data==="]"){if(--s===0)break}else i.data==="["&&s++;i=i.nextSibling}}else t(e)}var Ss=e=>!!e.type.__asyncLoader;function bd(e){Ie(e)&&(e={loader:e});let{loader:t,loadingComponent:s,errorComponent:i,delay:o=200,hydrate:r,timeout:u,suspensible:f=!0,onError:c}=e,v=null,h,y=0,g=()=>(y++,v=null,C()),C=()=>{let w;return v||(w=v=t().catch(S=>{if(S=S instanceof Error?S:new Error(String(S)),c)return new Promise((N,b)=>{c(S,()=>N(g()),()=>b(S),y+1)});throw S}).then(S=>w!==v&&v?v:(S&&(S.__esModule||S[Symbol.toStringTag]==="Module")&&(S=S.default),h=S,S)))};return Ms({name:"AsyncComponentWrapper",__asyncLoader:C,__asyncHydrate(w,S,N){let b=w.isConnected,T=!1;(S.bu||(S.bu=[])).push(()=>T=!0);let M=()=>{T||!w.parentNode||b&&!w.isConnected||N()},_=r?()=>{let H=r(M,se=>dm(w,se));H&&(S.bum||(S.bum=[])).push(H)}:M;h?_():C().then(()=>!S.isUnmounted&&_())},get __asyncResolved(){return h},setup(){let w=St;if(ra(w),h)return()=>Ri(h,w);let S=H=>{v=null,Os(H,w,13,!i)};if(f&&w.suspense||Uo)return C().then(H=>()=>Ri(H,w)).catch(H=>(S(H),()=>i?Me(i,{error:H}):null));let N=Ct(!1),b=Ct(),T=Ct(!!o),M,_;return Vs(()=>{M!=null&&clearTimeout(M),_!=null&&clearTimeout(_)}),o&&(_=setTimeout(()=>{w.isUnmounted||(T.value=!1)},o)),u!=null&&(M=setTimeout(()=>{if(!w.isUnmounted&&!N.value&&!b.value){let H=new Error(`Async component timed out after ${u}ms.`);S(H),b.value=H}},u)),C().then(()=>{w.isUnmounted||(N.value=!0,w.parent&&qi(w.parent.vnode)&&w.parent.update())}).catch(H=>{if(w.isUnmounted){v=null;return}S(H),b.value=H}),()=>{if(N.value&&h)return Ri(h,w);if(b.value&&i)return Me(i,{error:b.value});if(s&&!T.value)return Ri(s,w)}}})}function Ri(e,t){let{ref:s,props:i,children:o,ce:r}=t.vnode,u=Me(e,i,o);return u.ref=s,u.ce=r,delete t.vnode.ce,u}var qi=e=>e.type.__isKeepAlive;function wd(e,t){Cd(e,"a",t)}function kd(e,t){Cd(e,"da",t)}function Cd(e,t,s=St){let i=e.__wdc||(e.__wdc=()=>{let o=s;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if($i(t,i,s),s){let o=s.parent;for(;o&&o.parent;)qi(o.parent.vnode)&&um(i,t,s,o),o=o.parent}}function um(e,t,s,i){let o=$i(t,e,i,!0);Vs(()=>{rs(i[t],o)},s)}function $i(e,t,s=St,i=!1){if(s){let o=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...u)=>{tn();let f=Ls(s),c=Jt(t,s,e,u);return f(),nn(),c});return i?o.unshift(r):o.push(r),r}}var Dn=e=>(t,s=St)=>{(!Uo||e==="sp")&&$i(e,(...i)=>t(...i),s)},cm=Dn("bm"),yn=Dn("m"),Sd=Dn("bu"),Ed=Dn("u"),ao=Dn("bum"),Vs=Dn("um"),pm=Dn("sp"),fm=Dn("rtg"),mm=Dn("rtc");function hm(e,t=St){$i("ec",e,t)}var Nd="components",gm="directives";function Qe(e,t){return Rd(Nd,e,!0,t)||e}var vm=Symbol.for("v-ndc");function Pe(e){return Rd(gm,e)}function Rd(e,t,s=!0,i=!1){let o=Bt||St;if(o){let r=o.type;if(e===Nd){let f=eh(r,!1);if(f&&(f===t||f===ht(t)||f===xn(ht(t))))return r}let u=Ql(o[e]||r[e],t)||Ql(o.appContext[e],t);return!u&&i?r:u}}function Ql(e,t){return e&&(e[t]||e[ht(t)]||e[xn(ht(t))])}function X(e,t,s,i){let o,r=s&&s[i],u=Ne(e);if(u||at(e)){let f=u&&fn(e),c=!1,v=!1;f&&(c=!Vt(e),v=Yt(e),e=vs(e)),o=new Array(e.length);for(let h=0,y=e.length;ht(f,c,void 0,r&&r[c]));else{let f=Object.keys(e);o=new Array(f.length);for(let c=0,v=f.length;ce?Yd(e)?Ui(e):ea(e.parent):null;var Es=ct(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ea(e.parent),$root:e=>ea(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>aa(e),$forceUpdate:e=>e.f||(e.f=()=>{ia(e.update)}),$nextTick:e=>e.n||(e.n=ze.bind(e.proxy)),$watch:e=>rm.bind(e)});var Xr=(e,t)=>e!==xe&&!e.__isScriptSetup&&Ke(e,t),ym={get({_:e},t){if(t==="__v_skip")return!0;let{ctx:s,setupState:i,data:o,props:r,accessCache:u,type:f,appContext:c}=e;if(t[0]!=="$"){let g=u[t];if(g!==void 0)switch(g){case 1:return i[t];case 2:return o[t];case 4:return s[t];case 3:return r[t]}else{if(Xr(i,t))return u[t]=1,i[t];if(o!==xe&&Ke(o,t))return u[t]=2,o[t];if(Ke(r,t))return u[t]=3,r[t];if(s!==xe&&Ke(s,t))return u[t]=4,s[t];ta&&(u[t]=0)}}let v=Es[t],h,y;if(v)return t==="$attrs"&&kt(e.attrs,"get",""),v(e);if((h=f.__cssModules)&&(h=h[t]))return h;if(s!==xe&&Ke(s,t))return u[t]=4,s[t];if(y=c.config.globalProperties,Ke(y,t))return y[t]},set({_:e},t,s){let{data:i,setupState:o,ctx:r}=e;return Xr(o,t)?(o[t]=s,!0):i!==xe&&Ke(i,t)?(i[t]=s,!0):Ke(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:i,appContext:o,props:r,type:u}},f){let c;return!!(s[f]||e!==xe&&f[0]!=="$"&&Ke(e,f)||Xr(t,f)||Ke(r,f)||Ke(i,f)||Ke(Es,f)||Ke(o.config.globalProperties,f)||(c=u.__cssModules)&&c[f])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:Ke(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function Zl(e){return Ne(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}var ta=!0;function bm(e){let t=aa(e),s=e.proxy,i=e.ctx;ta=!1,t.beforeCreate&&xl(t.beforeCreate,e,"bc");let{data:o,computed:r,methods:u,watch:f,provide:c,inject:v,created:h,beforeMount:y,mounted:g,beforeUpdate:C,updated:w,activated:S,deactivated:N,beforeDestroy:b,beforeUnmount:T,destroyed:M,unmounted:_,render:H,renderTracked:se,renderTriggered:q,errorCaptured:z,serverPrefetch:I,expose:F,inheritAttrs:E,components:L,directives:W,filters:j}=t;if(v&&wm(v,i,null),u)for(let x in u){let fe=u[x];Ie(fe)&&(i[x]=fe.bind(s))}if(o){let x=o.call(s,s);Je(x)&&(e.data=rt(x))}if(ta=!0,r)for(let x in r){let fe=r[x],me=Ie(fe)?fe.bind(s,s):Ie(fe.get)?fe.get.bind(s,s):Mt,Le=!Ie(fe)&&Ie(fe.set)?fe.set.bind(s):Mt,Ue=Et({get:me,set:Le});Object.defineProperty(i,x,{enumerable:!0,configurable:!0,get:()=>Ue.value,set:Xe=>Ue.value=Xe})}if(f)for(let x in f)Td(f[x],i,s,x);if(c){let x=Ie(c)?c.call(s):c;Reflect.ownKeys(x).forEach(fe=>{ro(fe,x[fe])})}h&&xl(h,e,"c");function ne(x,fe){Ne(fe)?fe.forEach(me=>x(me.bind(s))):fe&&x(fe.bind(s))}if(ne(cm,y),ne(yn,g),ne(Sd,C),ne(Ed,w),ne(wd,S),ne(kd,N),ne(hm,z),ne(mm,se),ne(fm,q),ne(ao,T),ne(Vs,_),ne(pm,I),Ne(F))if(F.length){let x=e.exposed||(e.exposed={});F.forEach(fe=>{Object.defineProperty(x,fe,{get:()=>s[fe],set:me=>s[fe]=me,enumerable:!0})})}else e.exposed||(e.exposed={});H&&e.render===Mt&&(e.render=H),E!=null&&(e.inheritAttrs=E),L&&(e.components=L),W&&(e.directives=W),I&&ra(e)}function wm(e,t,s=Mt){Ne(e)&&(e=na(e));for(let i in e){let o=e[i],r;Je(o)?"default"in o?r=qt(o.from||i,o.default,!0):r=qt(o.from||i):r=qt(o),bt(r)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>r.value,set:u=>r.value=u}):t[i]=r}}function xl(e,t,s){Jt(Ne(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,s)}function Td(e,t,s,i){let o=i.includes(".")?vd(s,i):()=>s[i];if(at(e)){let r=t[e];Ie(r)&&dt(o,r)}else if(Ie(e))dt(o,e.bind(s));else if(Je(e))if(Ne(e))e.forEach(r=>Td(r,t,s,i));else{let r=Ie(e.handler)?e.handler.bind(s):t[e.handler];Ie(r)&&dt(o,r,e)}}function aa(e){let t=e.type,{mixins:s,extends:i}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:u}}=e.appContext,f=r.get(t),c;return f?c=f:!o.length&&!s&&!i?c=t:(c={},o.length&&o.forEach(v=>Ii(c,v,u,!0)),Ii(c,t,u)),Je(t)&&r.set(t,c),c}function Ii(e,t,s,i=!1){let{mixins:o,extends:r}=t;r&&Ii(e,r,s,!0),o&&o.forEach(u=>Ii(e,u,s,!0));for(let u in t)if(!(i&&u==="expose")){let f=km[u]||s&&s[u];e[u]=f?f(e[u],t[u]):t[u]}return e}var km={data:ed,props:td,emits:td,methods:ks,computed:ks,beforeCreate:Dt,created:Dt,beforeMount:Dt,mounted:Dt,beforeUpdate:Dt,updated:Dt,beforeDestroy:Dt,beforeUnmount:Dt,destroyed:Dt,unmounted:Dt,activated:Dt,deactivated:Dt,errorCaptured:Dt,serverPrefetch:Dt,components:ks,directives:ks,watch:Sm,provide:ed,inject:Cm};function ed(e,t){return t?e?function(){return ct(Ie(e)?e.call(this,this):e,Ie(t)?t.call(this,this):t)}:t:e}function Cm(e,t){return ks(na(e),na(t))}function na(e){if(Ne(e)){let t={};for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ht(t)}Modifiers`]||e[`${dn(t)}Modifiers`];function Tm(e,t,...s){if(e.isUnmounted)return;let i=e.vnode.props||xe,o=s,r=t.startsWith("update:"),u=r&&Rm(i,t.slice(7));u&&(u.trim&&(o=s.map(h=>at(h)?h.trim():h)),u.number&&(o=o.map(Vo)));let f,c=i[f=ls(t)]||i[f=ls(ht(t))];!c&&r&&(c=i[f=ls(dn(t))]),c&&Jt(c,e,6,o);let v=i[f+"Once"];if(v){if(!e.emitted)e.emitted={};else if(e.emitted[f])return;e.emitted[f]=!0,Jt(v,e,6,o)}}var Pm=new WeakMap;function Dd(e,t,s=!1){let i=s?Pm:t.emitsCache,o=i.get(e);if(o!==void 0)return o;let r=e.emits,u={},f=!1;if(!Ie(e)){let c=v=>{let h=Dd(v,t,!0);h&&(f=!0,ct(u,h))};!s&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!r&&!f?(Je(e)&&i.set(e,null),null):(Ne(r)?r.forEach(c=>u[c]=null):ct(u,r),Je(e)&&i.set(e,u),u)}function Fi(e,t){return!e||!Ao(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),Ke(e,t[0].toLowerCase()+t.slice(1))||Ke(e,dn(t))||Ke(e,t))}function Qr(e){let{type:t,vnode:s,proxy:i,withProxy:o,propsOptions:[r],slots:u,attrs:f,emit:c,render:v,renderCache:h,props:y,data:g,setupState:C,ctx:w,inheritAttrs:S}=e,N=Di(e),b,T;try{if(s.shapeFlag&4){let H=o||i,se=H;b=vn(v.call(se,H,h,y,C,g,w)),T=f}else{let H=t;b=vn(H.length>1?H(y,{attrs:f,slots:u,emit:c}):H(y,null)),T=t.props?f:Dm(f)}}catch(H){io.length=0,Os(H,e,1),b=Me(sn)}let M=b,_;if(T&&S!==!1){let H=Object.keys(T),{shapeFlag:se}=M;H.length&&se&7&&(r&&H.some(Io)&&(T=Am(T,r)),M=_o(M,T,!1,!0))}if(s.dirs&&(M=_o(M,null,!1,!0),M.dirs=M.dirs?M.dirs.concat(s.dirs):s.dirs),s.transition){let H=Li(M.type)&&yd(M)||M;Ts(H,s.transition)}return b=M,Di(N),b}function Ad(e,t=!0){let s;for(let i=0;i{let t;for(let s in e)(s==="class"||s==="style"||Ao(s))&&((t||(t={}))[s]=e[s]);return t},Am=(e,t)=>{let s={};for(let i in e)(!Io(i)||!(i.slice(9)in t))&&(s[i]=e[i]);return s};function Im(e,t,s){let{props:i,children:o,component:r}=e,{props:u,children:f,patchFlag:c}=t,v=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&c>=0){if(c&1024)return!0;if(c&16)return i?nd(i,u,v):!!u;if(c&8){let h=t.dynamicProps;for(let y=0;yObject.create(Od),Vd=e=>Object.getPrototypeOf(e)===Od;function Mm(e,t,s,i=!1){let o={},r=Md();e.propsDefaults=Object.create(null),Ld(e,t,o,r);for(let u in e.propsOptions[0])u in o||(o[u]=void 0);s?e.props=i?o:ys(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function Vm(e,t,s,i){let{props:o,attrs:r,vnode:{patchFlag:u}}=e,f=Ye(o),[c]=e.propsOptions,v=!1;if((i||u>0)&&!(u&16)){if(u&8){let h=e.vnode.dynamicProps;for(let y=0;y{c=!0;let[g,C]=qd(y,t,!0);ct(u,g),C&&f.push(...C)};!s&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!r&&!c)return Je(e)&&i.set(e,qn),qn;if(Ne(r))for(let h=0;he==="_"||e==="_ctx"||e==="$stable",da=e=>Ne(e)?e.map(vn):[vn(e)],qm=(e,t,s)=>{if(t._n)return t;let i=om((...o)=>da(t(...o)),s);return i._c=!1,i},$d=(e,t,s)=>{let i=e._ctx;for(let o in e){if(la(o))continue;let r=e[o];if(Ie(r))t[o]=qm(o,r,i);else if(r!=null){let u=da(r);t[o]=()=>u}}},Fd=(e,t)=>{let s=da(t);e.slots.default=()=>s},_d=(e,t,s)=>{for(let i in t)(s||!la(i))&&(e[i]=t[i])},$m=(e,t,s)=>{let i=e.slots=Md();if(e.vnode.shapeFlag&32){let o=t._;o?(_d(i,t,s),s&&mi(i,"_",o,!0)):$d(t,i)}else t&&Fd(e,t)},Fm=(e,t,s)=>{let{vnode:i,slots:o}=e,r=!0,u=xe;if(i.shapeFlag&32){let f=t._;f?s&&f===1?r=!1:_d(o,t,s):(r=!t.$stable,$d(t,o)),u=t}else t&&(Fd(e,t),u={default:1});if(r)for(let f in o)!la(f)&&u[f]==null&&delete o[f]};function _m(){let e=[]}var Lt=Hm;function Ud(e){return Um(e)}function Um(e,t){_m();let s=ds();s.__VUE__=!0;let{insert:i,remove:o,patchProp:r,createElement:u,createText:f,createComment:c,setText:v,setElementText:h,parentNode:y,nextSibling:g,setScopeId:C=Mt,insertStaticContent:w}=e,S=(D,A,B,Z=null,K=null,ee=null,re=void 0,oe=null,ie=!!A.dynamicChildren)=>{if(D===A)return;D&&!ws(D,A)&&(Z=ce(D),He(D,K,ee,!0),D=null),A.patchFlag===-2&&(ie=!1,A.dynamicChildren=null),A.dynamicChildren&&D&&D.dynamicChildren&&D.dynamicChildren.hasOnce&&(A.dynamicChildren===qn&&(A.dynamicChildren=[]),A.dynamicChildren.hasOnce=!0);let{type:te,ref:we,shapeFlag:pe}=A;switch(te){case _i:N(D,A,B,Z);break;case sn:b(D,A,B,Z);break;case Ns:D==null&&T(A,B,Z,re);break;case V:W(D,A,B,Z,K,ee,re,oe,ie);break;default:pe&1?se(D,A,B,Z,K,ee,re,oe,ie):pe&6?j(D,A,B,Z,K,ee,re,oe,ie):(pe&64||pe&128)&&te.process(D,A,B,Z,K,ee,re,oe,ie,he)}we!=null&&K?Cs(we,D&&D.ref,ee,A||D,!A):we==null&&D&&D.ref!=null&&Cs(D.ref,null,ee,D,!0)},N=(D,A,B,Z)=>{if(D==null)i(A.el=f(A.children),B,Z);else{let K=A.el=D.el;A.children!==D.children&&v(K,A.children)}},b=(D,A,B,Z)=>{D==null?i(A.el=c(A.children||""),B,Z):A.el=D.el},T=(D,A,B,Z)=>{[D.el,D.anchor]=w(D.children,A,B,Z,D.el,D.anchor)},M=(D,A,B,Z)=>{if(A.children!==D.children){let K=g(D.anchor);H(D),[A.el,A.anchor]=w(A.children,B,K,Z)}else A.el=D.el,A.anchor=D.anchor},_=({el:D,anchor:A},B,Z)=>{let K;for(;D&&D!==A;)K=g(D),i(D,B,Z),D=K;i(A,B,Z)},H=({el:D,anchor:A})=>{let B;for(;D&&D!==A;)B=g(D),o(D),D=B;o(A)},se=(D,A,B,Z,K,ee,re,oe,ie)=>{if(A.type==="svg"?re="svg":A.type==="math"&&(re="mathml"),D==null)q(A,B,Z,K,ee,re,oe,ie);else{let te=D.el&&D.el._isVueCE?D.el:null;try{te&&te._beginPatch(),F(D,A,K,ee,re,oe,ie)}finally{te&&te._endPatch()}}},q=(D,A,B,Z,K,ee,re,oe)=>{let ie,te,{props:we,shapeFlag:pe,transition:Ee,dirs:Te}=D;if(ie=D.el=u(D.type,ee,we&&we.is,we),pe&8?h(ie,D.children):pe&16&&I(D.children,ie,null,Z,K,Zr(D,ee),re,oe),Te&&oo(D,null,Z,"created"),z(ie,D,D.scopeId,re,Z),we){for(let We in we)We!=="value"&&!Oo(We)&&r(ie,We,null,we[We],ee,Z);"value"in we&&r(ie,"value",null,we.value,ee),(te=we.onVnodeBeforeMount)&&hn(te,Z,D)}Te&&oo(D,null,Z,"beforeMount");let Ve=Bm(K,Ee);Ve&&Ee.beforeEnter(ie),i(ie,A,B),((te=we&&we.onVnodeMounted)||Ve||Te)&&Lt(()=>{let Ge;te&&hn(te,Z,D),Ve&&Ee.enter(ie),Te&&oo(D,null,Z,"mounted")},K)},z=(D,A,B,Z,K)=>{if(B&&C(D,B),Z)for(let ee=0;ee{for(let te=ie;te{let oe=A.el=D.el,{patchFlag:ie,dynamicChildren:te,dirs:we}=A;ie|=D.patchFlag&16;let pe=D.props||xe,Ee=A.props||xe,Te;if(B&&so(B,!1),(Te=Ee.onVnodeBeforeUpdate)&&hn(Te,B,A,D),we&&oo(A,D,B,"beforeUpdate"),B&&so(B,!0),te&&(!D.dynamicChildren||D.dynamicChildren.length!==te.length)&&(ie=0,re=!1,te=null),(pe.innerHTML&&Ee.innerHTML==null||pe.textContent&&Ee.textContent==null)&&h(oe,""),te?E(D.dynamicChildren,te,oe,B,Z,Zr(A,K),ee):re||me(D,A,oe,null,B,Z,Zr(A,K),ee,!1),ie>0){if(ie&16)L(oe,pe,Ee,B,K);else if(ie&2&&pe.class!==Ee.class&&r(oe,"class",null,Ee.class,K),ie&4&&r(oe,"style",pe.style,Ee.style,K),ie&8){let Ve=A.dynamicProps;for(let We=0;We{Te&&hn(Te,B,A,D),we&&oo(A,D,B,"updated")},Z)},E=(D,A,B,Z,K,ee,re)=>{for(let oe=0;oe{if(A!==B){if(A!==xe)for(let ee in A)!Oo(ee)&&!(ee in B)&&r(D,ee,A[ee],null,K,Z);for(let ee in B){if(Oo(ee))continue;let re=B[ee],oe=A[ee];re!==oe&&ee!=="value"&&r(D,ee,oe,re,K,Z)}"value"in B&&r(D,"value",A.value,B.value,K)}},W=(D,A,B,Z,K,ee,re,oe,ie)=>{let te=A.el=D?D.el:f(""),we=A.anchor=D?D.anchor:f(""),{patchFlag:pe,dynamicChildren:Ee,slotScopeIds:Te}=A;Te&&(oe=oe?oe.concat(Te):Te),D==null?(i(te,B,Z),i(we,B,Z),I(A.children||[],B,we,K,ee,re,oe,ie)):pe>0&&pe&64&&Ee&&D.dynamicChildren&&D.dynamicChildren.length===Ee.length?(E(D.dynamicChildren,Ee,B,K,ee,re,oe),(A.key!=null||K&&A===K.subTree)&&Bd(D,A,!0)):me(D,A,B,we,K,ee,re,oe,ie)},j=(D,A,B,Z,K,ee,re,oe,ie)=>{A.slotScopeIds=oe,D==null?A.shapeFlag&512?K.ctx.activate(A,B,Z,re,ie):Y(A,B,Z,K,ee,re,ie):ne(D,A,ie)},Y=(D,A,B,Z,K,ee,re)=>{let oe=D.component=Jm(D,Z,K);if(qi(D)&&(oe.ctx.renderer=he),Xm(oe,!1,re),oe.asyncDep){if(K&&K.registerDep(oe,x,re,ee),!D.el){let ie=oe.subTree=Me(sn);b(null,ie,A,B),D.placeholder=ie.el}}else x(oe,D,A,B,K,ee,re)},ne=(D,A,B)=>{let Z=A.component=D.component;if(Im(D,A,B))if(Z.asyncDep&&!Z.asyncResolved){A.el=D.el,A.placeholder=D.placeholder,fe(Z,A,B);return}else Z.next=A,Z.update();else A.el=D.el,A.placeholder=D.placeholder,Z.vnode=A},x=(D,A,B,Z,K,ee,re)=>{let oe=()=>{if(D.isMounted){let{next:pe,bu:Ee,u:Te,parent:Ve,vnode:We}=D;{let pt=zd(D);if(pt){pe&&(pe.el=We.el,fe(D,pe,re)),pt.asyncDep.then(()=>{Lt(()=>{D.isUnmounted||te()},K)});return}}let Ge=pe,ke;so(D,!1),pe?(pe.el=We.el,fe(D,pe,re)):pe=We,Ee&&Mo(Ee),(ke=pe.props&&pe.props.onVnodeBeforeUpdate)&&hn(ke,Ve,pe,We),so(D,!0);let _e=Qr(D),st=D.subTree;D.subTree=_e,S(st,_e,y(st.el),ce(st),D,K,ee),pe.el=_e.el,Ge===null&&Om(D,_e.el),Te&&Lt(Te,K),(ke=pe.props&&pe.props.onVnodeUpdated)&&Lt(()=>hn(ke,Ve,pe,We),K)}else{let pe,{el:Ee,props:Te}=A,{bm:Ve,m:We,parent:Ge,root:ke,type:_e}=D,st=Ss(A);if(so(D,!1),Ve&&Mo(Ve),!st&&(pe=Te&&Te.onVnodeBeforeMount)&&hn(pe,Ge,A),so(D,!0),Ee&&Oe){let pt=()=>{D.subTree=Qr(D),Oe(Ee,D.subTree,D,K,null)};st&&_e.__asyncHydrate?_e.__asyncHydrate(Ee,D,pt):pt()}else{ke.ce&&ke.ce._hasShadowRoot()&&ke.ce._injectChildStyle(_e,D.parent?D.parent.type:void 0);let pt=D.subTree=Qr(D);S(null,pt,B,Z,D,K,ee),A.el=pt.el}if(We&&Lt(We,K),!st&&(pe=Te&&Te.onVnodeMounted)){let pt=A;Lt(()=>hn(pe,Ge,pt),K)}(A.shapeFlag&256||Ge&&Ss(Ge.vnode)&&Ge.vnode.shapeFlag&256)&&D.a&&Lt(D.a,K),D.isMounted=!0,A=B=Z=null}};D.scope.on();let ie=D.effect=new qo(oe);D.scope.off();let te=D.update=ie.run.bind(ie),we=D.job=ie.runIfDirty.bind(ie);we.i=D,we.id=D.uid,ie.scheduler=()=>ia(we),so(D,!0),te()},fe=(D,A,B)=>{A.component=D;let Z=D.vnode.props;D.vnode=A,D.next=null,Vm(D,A.props,Z,B),Fm(D,A.children,B),tn(),pd(D),nn()},me=(D,A,B,Z,K,ee,re,oe,ie=!1)=>{let te=D&&D.children,we=D?D.shapeFlag:0,pe=A.children,{patchFlag:Ee,shapeFlag:Te}=A;if(Ee>0){if(Ee&128){Ue(te,pe,B,Z,K,ee,re,oe,ie);return}else if(Ee&256){Le(te,pe,B,Z,K,ee,re,oe,ie);return}}Te&8?(we&16&&J(te,K,ee),pe!==te&&h(B,pe)):we&16?Te&16?Ue(te,pe,B,Z,K,ee,re,oe,ie):J(te,K,ee,!0):(we&8&&h(B,""),Te&16&&I(pe,B,Z,K,ee,re,oe,ie))},Le=(D,A,B,Z,K,ee,re,oe,ie)=>{D=D||qn,A=A||qn;let te=D.length,we=A.length,pe=Math.min(te,we),Ee;for(Ee=0;Eewe?J(D,K,ee,!0,!1,pe):I(A,B,Z,K,ee,re,oe,ie,pe)},Ue=(D,A,B,Z,K,ee,re,oe,ie)=>{let te=0,we=A.length,pe=D.length-1,Ee=we-1;for(;te<=pe&&te<=Ee;){let Te=D[te],Ve=A[te]=ie?Pn(A[te]):vn(A[te]);if(ws(Te,Ve))S(Te,Ve,B,null,K,ee,re,oe,ie);else break;te++}for(;te<=pe&&te<=Ee;){let Te=D[pe],Ve=A[Ee]=ie?Pn(A[Ee]):vn(A[Ee]);if(ws(Te,Ve))S(Te,Ve,B,null,K,ee,re,oe,ie);else break;pe--,Ee--}if(te>pe){if(te<=Ee){let Te=Ee+1,Ve=TeEe)for(;te<=pe;)He(D[te],K,ee,!0),te++;else{let Te=te,Ve=te,We=new Map;for(te=Ve;te<=Ee;te++){let it=A[te]=ie?Pn(A[te]):vn(A[te]);it.key!=null&&We.set(it.key,te)}let Ge,ke=0,_e=Ee-Ve+1,st=!1,pt=0,Tt=new Array(_e);for(te=0;te<_e;te++)Tt[te]=0;for(te=Te;te<=pe;te++){let it=D[te];if(ke>=_e){He(it,K,ee,!0);continue}let ft;if(it.key!=null)ft=We.get(it.key);else for(Ge=Ve;Ge<=Ee;Ge++)if(Tt[Ge-Ve]===0&&ws(it,A[Ge])){ft=Ge;break}ft===void 0?He(it,K,ee,!0):(Tt[ft-Ve]=te+1,ft>=pt?pt=ft:st=!0,S(it,A[ft],B,null,K,ee,re,oe,ie),ke++)}let Pt=st?zm(Tt):qn;for(Ge=Pt.length-1,te=_e-1;te>=0;te--){let it=Ve+te,ft=A[it],Ft=A[it+1],So=it+1{let{el:ee,type:re,transition:oe,children:ie,shapeFlag:te}=D;if(te&6){Xe(D.component.subTree,A,B,Z);return}if(te&128){D.suspense.move(A,B,Z);return}if(te&64){re.move(D,A,B,he);return}if(re===V){i(ee,A,B);for(let pe=0;peoe.enter(ee),K));else{let{leave:pe,delayLeave:Ee,afterLeave:Te}=oe,Ve=()=>{D.ctx.isUnmounted?o(ee):i(ee,A,B)},We=()=>{let Ge=ee._isLeaving||!!ee[Jr];ee._isLeaving&&ee[Jr](!0),oe.persisted&&!Ge?Ve():pe(ee,()=>{Ve(),Te&&Te()})};Ee?Ee(ee,Ve,We):We()}else i(ee,A,B)},He=(D,A,B,Z=!1,K=!1)=>{let{type:ee,props:re,ref:oe,children:ie,dynamicChildren:te,shapeFlag:we,patchFlag:pe,dirs:Ee,cacheIndex:Te,memo:Ve}=D;if((pe===-2||te&&te.hasOnce)&&(K=!1),oe!=null&&(tn(),Cs(oe,null,B,D,!0),nn()),Te!=null&&(!D.ctx||D.ctx===A)&&(A.renderCache[Te]=void 0),we&256){A.ctx.deactivate(D);return}let We=we&1&&Ee,Ge=!Ss(D),ke;if(Ge&&(ke=re&&re.onVnodeBeforeUnmount)&&hn(ke,A,D),we&6)Se(D.component,B,Z);else{if(we&128){D.suspense.unmount(B,Z);return}We&&oo(D,null,A,"beforeUnmount"),we&64?D.type.remove(D,A,B,he,Z):te&&!te.hasOnce&&(ee!==V||pe>0&&pe&64)?J(te,A,B,!1,!0):(ee===V&&pe&384||!K&&we&16)&&J(ie,A,B),Z&<(D)}let _e=Ve!=null&&Te==null;(Ge&&(ke=re&&re.onVnodeUnmounted)||We||_e)&&Lt(()=>{ke&&hn(ke,A,D),We&&oo(D,null,A,"unmounted"),_e&&(D.el=null)},B)},lt=D=>{let{type:A,el:B,anchor:Z,transition:K}=D,ee=A===V;if(ee&&!K){Re(B,Z);return}if(A===Ns){H(D),K&&!K.persisted&&K.afterLeave&&K.afterLeave();return}let re=ee?xr(D):D,oe=()=>{ee?y(B)&&Re(B,Z):o(B),K&&!K.persisted&&K.afterLeave&&K.afterLeave()};if(re&&re.shapeFlag&1&&K&&!K.persisted){let{leave:ie,delayLeave:te}=K,we=re.el,pe=()=>ie(we,oe);te?te(we,oe,pe):pe()}else oe()},Re=(D,A)=>{let B;for(;D!==A;)B=g(D),o(D),D=B;o(A)},Se=(D,A,B)=>{let{bum:Z,scope:K,job:ee,subTree:re,um:oe,m:ie,a:te}=D;sd(ie),sd(te),Z&&Mo(Z),K.stop(),ee?(ee.flags|=8,He(re,D,A,B)):D.vnode.el&&re&&(re.transition=D.vnode.transition,He(re,D,A,B)),oe&&Lt(oe,A),Lt(()=>{D.isUnmounted=!0},A)},J=(D,A,B,Z=!1,K=!1,ee=0)=>{for(let re=ee;re{if(D.shapeFlag&6)return ce(D.component.subTree);if(D.shapeFlag&128)return D.suspense.next();let A=g(D.anchor||D.el),B=A&&A[am];return B?g(B):A},ue=(D,A,B)=>{let Z=D&&A._vnode?void 0:D&&D.component?D.component.uid:Ym();nm(()=>{D==null?A._vnode&&He(A._vnode,null,null,!0):S(A._vnode||null,D,A,null,null,null,B),A._vnode=D},Z)},he={p:S,um:He,m:Xe,r:lt,mt:Y,mc:I,pc:me,pbc:E,n:ce,o:e},be,Oe;return t&&([be,Oe]=t(he)),{render:ue,hydrate:be,createApp:Nm(ue,be)}}function Zr({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function so({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Bm(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Bd(e,t,s=!1){let i=e.children,o=t.children;if(Ne(i)&&Ne(o))for(let r=0;r>1,e[s[f]]0&&(t[i]=s[r-1]),s[r]=i)}}for(r=s.length,u=s[r-1];r-- >0;)s[r]=u,u=t[u];return s}function zd(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:zd(t)}function sd(e){if(e)for(let t=0;te.__isSuspense;function Hm(e,t){t&&t.pendingBranch?Ne(e)?t.effects.push(...e):t.effects.push(e):cd(e)}var V=Symbol.for("v-fgt"),_i=Symbol.for("v-txt"),sn=Symbol.for("v-cmt"),Ns=Symbol.for("v-stc"),io=[],zt=null;function a(e=!1){io.push(zt=e?null:[])}function jd(){io.pop(),zt=io[io.length-1]||null}var Ps=1;function Oi(e,t=!1){Ps+=e,e<0&&zt&&t&&(zt.hasOnce=!0)}function Gd(e){return e.dynamicChildren=Ps>0?zt||qn:null,jd(),Ps>0&&zt&&zt.push(e),e}function l(e,t,s,i,o,r){return Gd(n(e,t,s,i,o,r,!0))}function Xt(e,t,s,i,o){return Gd(Me(e,t,s,i,o,!0))}function Ds(e){return e?e.__v_isVNode===!0:!1}function ws(e,t){return e.type===t.type&&e.key===t.key}var Wd=({key:e})=>e??null,Ti=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?at(e)||bt(e)||Ie(e)?{i:Bt,r:e,k:t,f:!!s}:e:null);function n(e,t=null,s=null,i=0,o=null,r=e===V?0:1,u=!1,f=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Wd(t),ref:t&&Ti(t),scopeId:hd,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:i,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Bt};return f?(Mi(c,s),r&128&&e.normalize(c)):s&&(c.shapeFlag|=at(s)?8:16),Ps>0&&!u&&zt&&(c.patchFlag>0||r&6)&&c.patchFlag!==32&&zt.push(c),c}var Me=jm;function jm(e,t=null,s=null,i=0,o=null,r=!1){if((!e||e===vm)&&(e=sn),Ds(e)){let f=_o(e,t,!0);return s&&Mi(f,s),Ps>0&&!r&&zt&&(f.shapeFlag&6?zt[zt.indexOf(e)]=f:zt.push(f)),f.patchFlag=-2,f}if(th(e)&&(e=e.__vccOpts),t){t=Gm(t);let{class:f,style:c}=t;f&&!at(f)&&(t.class=R(f)),Je(c)&&(bs(c)&&!Ne(c)&&(c=ct({},c)),t.style=Ae(c))}let u=at(e)?1:Hd(e)?128:Li(e)?64:Je(e)?4:Ie(e)?2:0;return n(e,t,s,i,o,u,r,!0)}function Gm(e){return e?bs(e)||Vd(e)?ct({},e):e:null}function _o(e,t,s=!1,i=!1){let{props:o,ref:r,patchFlag:u,children:f,transition:c}=e,v=t?Wm(o||{},t):o,h={__v_isVNode:!0,__v_skip:!0,type:e.type,props:v,key:v&&Wd(v),ref:t&&t.ref?s&&r?Ne(r)?r.concat(Ti(t)):[r,Ti(t)]:Ti(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:f,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==V?u===-1?16:u|16:u,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&_o(e.ssContent),ssFallback:e.ssFallback&&_o(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return c&&i&&Ts(h,c.clone(h)),h}function m(e=" ",t=0){return Me(_i,null,e,t)}function Ce(e,t){let s=Me(Ns,null,e);return s.staticCount=t,s}function p(e="",t=!1){return t?(a(),Xt(sn,null,e)):Me(sn,null,e)}function vn(e){return e==null||typeof e=="boolean"?Me(sn):Ne(e)?Me(V,null,e.slice()):Ds(e)?Pn(e):Me(_i,null,String(e))}function Pn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:_o(e)}function Mi(e,t){let s=0,{shapeFlag:i}=e;if(t==null)t=null;else if(Ne(t))s=16;else if(typeof t=="object")if(i&65){let o=t.default;o&&(o._c&&(o._d=!1),Mi(e,o()),o._c&&(o._d=!0));return}else{s=32;let o=t._;!o&&!Vd(t)?t._ctx=Bt:o===3&&Bt&&(Bt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(Ie(t)){if(i&65){Mi(e,{default:t});return}t={default:t,_ctx:Bt},s=32}else t=String(t),i&64?(s=16,t=[m(t)]):s=8;e.children=t,e.shapeFlag|=s}function Wm(...e){let t={};for(let s=0;sSt||Bt,Vi,As;{let e=ds(),t=(s,i)=>{let o;return(o=e[s])||(o=e[s]=[]),o.push(i),r=>{o.length>1?o.forEach(u=>u(r)):o[0](r)}};Vi=t("__VUE_INSTANCE_SETTERS__",s=>St=s),As=t("__VUE_SSR_SETTERS__",s=>Uo=s)}var Ls=e=>{let t=St;return Vi(e),e.scope.on(),()=>{e.scope.off(),Vi(t)}},id=()=>{St&&St.scope.off(),Vi(null)};function Yd(e){return e.vnode.shapeFlag&4}var Uo=!1;function Xm(e,t=!1,s=!1){t&&As(t);let{props:i,children:o}=e.vnode,r=Yd(e);Mm(e,i,r,t),$m(e,o,s||t);let u=r?Qm(e,t):void 0;return t&&As(!1),u}function Qm(e,t){let s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ym);let{setup:i}=s;if(i){tn();let o=e.setupContext=i.length>1?xm(e):null,r=Ls(e),u=Is(i,e,0,[e.props,o]),f=Ar(u);if(nn(),r(),(f||e.sp)&&!Ss(e)&&ra(e),f){if(u.then(id,id),t)return u.then(c=>{As(!0);try{rd(e,c,t)}finally{As(!1)}}).catch(c=>{Os(c,e,0)});e.asyncDep=u}else rd(e,u,t)}else Jd(e,t)}function rd(e,t,s){Ie(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Je(t)&&(e.setupState=Ni(t)),Jd(e,s)}var ad,ld;function Jd(e,t,s){let i=e.type;if(!e.render){if(!t&&ad&&!i.render){let o=i.template||aa(e).template;if(o){let{isCustomElement:r,compilerOptions:u}=e.appContext.config,{delimiters:f,compilerOptions:c}=i,v=ct(ct({isCustomElement:r,delimiters:f},u),c);i.render=ad(o,v)}}e.render=i.render||Mt,ld&&ld(e)}{let o=Ls(e);tn();try{bm(e)}finally{nn(),o()}}}var Zm={get(e,t){return kt(e,"get",""),e[t]}};function xm(e){let t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Zm),slots:e.slots,emit:e.emit,expose:t}}function Ui(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ni(mn(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Es)return Es[s](e)},has(t,s){return s in t||s in Es}})):e.proxy}function eh(e,t=!0){return Ie(e)?e.displayName||e.name:e.name||t&&e.__name}function th(e){return Ie(e)&&"__vccOpts"in e}var Et=(e,t)=>Gl(e,t,Uo);function De(e,t,s){try{Oi(-1);let i=arguments.length;return i===2?Je(t)&&!Ne(t)?Ds(t)?Me(e,null,[t]):Me(e,t):Me(e,null,t):(i>3?s=Array.prototype.slice.call(arguments,2):i===3&&Ds(s)&&(s=[s]),Me(e,t,s))}finally{Oi(1)}}var nh="3.5.44";var ma,Xd=typeof window<"u"&&window.trustedTypes;if(Xd)try{ma=Xd.createPolicy("vue",{createHTML:e=>e})}catch{}var lu=ma?e=>ma.createHTML(e):e=>e,oh="http://www.w3.org/2000/svg",sh="http://www.w3.org/1998/Math/MathML",An=typeof document<"u"?document:null,Qd=An&&An.createElement("template"),ih={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,i)=>{let o=t==="svg"?An.createElementNS(oh,e):t==="mathml"?An.createElementNS(sh,e):s?An.createElement(e,{is:s}):An.createElement(e);return e==="select"&&i&&i.multiple!=null&&o.setAttribute("multiple",i.multiple),o},createText:e=>An.createTextNode(e),createComment:e=>An.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>An.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,i,o,r){let u=s?s.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),s),!(o===r||!(o=o.nextSibling)););else{Qd.innerHTML=lu(i==="svg"?`${e}`:i==="mathml"?`${e}`:e);let f=Qd.content;if(i==="svg"||i==="mathml"){let c=f.firstChild;for(;c.firstChild;)f.appendChild(c.firstChild);f.removeChild(c)}t.insertBefore(f,s)}return[u?u.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}};var rh=Symbol("_vtc");function ah(e,t,s){let i=e[rh];i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}var Hi=Symbol("_vod"),du=Symbol("_vsh"),Q={name:"show",beforeMount(e,{value:t},{transition:s}){e[Hi]=e.style.display==="none"?"":e.style.display,s&&t?s.beforeEnter(e):qs(e,t)},mounted(e,{value:t},{transition:s}){s&&t&&s.enter(e)},updated(e,{value:t,oldValue:s},{transition:i}){!t!=!s&&(i?t?(i.beforeEnter(e),qs(e,!0),i.enter(e)):i.leave(e,()=>{qs(e,!1)}):qs(e,t))},beforeUnmount(e,{value:t}){qs(e,t)}};function qs(e,t){e.style.display=t?e[Hi]:"none",e[du]=!t}var lh=Symbol("");var dh=/(?:^|;)\s*display\s*:/;function uh(e,t,s){let i=e.style,o=at(s),r=!1;if(s&&!o){if(t)if(at(t))for(let u of t.split(";")){let f=u.slice(0,u.indexOf(":")).trim();s[f]==null&&$s(i,f,"")}else for(let u in t)s[u]==null&&$s(i,u,"");for(let u in s){u==="display"&&(r=!0);let f=s[u];f!=null?ph(e,u,!at(t)&&t?t[u]:void 0,f)||$s(i,u,f):$s(i,u,"")}}else if(o){if(t!==s){let u=i[lh];u&&(s+=";"+u),i.cssText=s,r=dh.test(s)}}else t&&e.removeAttribute("style");Hi in e&&((!o||t!==s)&&(e[Hi]=r?i.display:""),e[du]&&(i.display="none"))}var Bi=/\s*!important$/;function $s(e,t,s){if(Ne(s))s.forEach(i=>$s(e,t,i));else if(s==null&&(s=""),t.startsWith("--"))Bi.test(s)?e.setProperty(t,s.replace(Bi,""),"important"):e.setProperty(t,s);else{let i=ch(e,t);Bi.test(s)?e.setProperty(dn(i),s.replace(Bi,""),"important"):e[i]=s}}var Zd=["Webkit","Moz","ms"],ca={};function ch(e,t){let s=ca[t];if(s)return s;let i=ht(t);if(i!=="filter"&&i in e)return ca[t]=i;i=xn(i);for(let o=0;opa||(yh.then(()=>pa=0),pa=Date.now());function wh(e,t){let s=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=s.attached)return;let o=s.value;if(Ne(o)){let r=i.stopImmediatePropagation;i.stopImmediatePropagation=()=>{r.call(i),i._stopped=!0};let u=o.slice(),f=[i];for(let c=0;ce.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,kh=(e,t,s,i,o,r)=>{let u=o==="svg";t==="class"?ah(e,i,u):t==="style"?uh(e,s,i):Ao(t)?Io(t)||mh(e,t,s,i,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ch(e,t,i,u))?(tu(e,t,i),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&eu(e,t,i,u,r,t!=="value")):e._isVueCE&&(Sh(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!at(i)))?tu(e,ht(t),i,r,t):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),eu(e,t,i,u))};function Ch(e,t,s,i){if(i)return!!(t==="innerHTML"||t==="textContent"||t in e&&ou(t)&&Ie(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){let o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return ou(t)&&at(s)?!1:t in e}function Sh(e,t){let s=e._def.props;if(!s)return!1;let i=ht(t);return Array.isArray(s)?s.some(o=>ht(o)===i):Object.keys(s).some(o=>ht(o)===i)}var Bo=e=>{let t=e.props["onUpdate:modelValue"]||!1;return Ne(t)?s=>Mo(t,s):t};function Eh(e){e.target.composing=!0}function su(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}var bn=Symbol("_assign"),zi=Symbol("_initialValue");function fa(e,t,s){return t&&(e=e.trim()),s&&(e=Vo(e)),e}var nt={created(e,{modifiers:{lazy:t,trim:s,number:i}},o){e.parentNode&&(e.type==="text"?e[zi]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[zi]=e.defaultValue.replace(/\r\n?/g,` `))),e[bn]=Bo(o);let r=i||o.props&&o.props.type==="number";Fn(e,t?"change":"input",u=>{u.target.composing||e[bn](fa(e.value,s,r))}),(s||r)&&Fn(e,"change",()=>{e.value=fa(e.value,s,r)}),t||(Fn(e,"compositionstart",Eh),Fn(e,"compositionend",su),Fn(e,"change",su))},mounted(e,{value:t,modifiers:{trim:s,number:i}}){let o=t??"",r=e[zi];delete e[zi],r!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==r?e[bn](fa(e.value,s,i)):e.value=o},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:i,trim:o,number:r}},u){if(e[bn]=Bo(u),e.composing)return;let f=(r||e.type==="number")&&!/^0\d/.test(e.value)?Vo(e.value):e.value,c=t??"";if(f===c)return;let v=e.getRootNode();(v instanceof Document||v instanceof ShadowRoot)&&v.activeElement===e&&e.type!=="range"&&(i&&t===s||o&&e.value.trim()===c)||(e.value=c)}},ha={deep:!0,created(e,t,s){e[bn]=Bo(s),Fn(e,"change",()=>{let i=e._modelValue,o=Fs(e),r=e.checked,u=e[bn];if(Ne(i)){let f=gi(i,o),c=f!==-1;if(r&&!c)u(i.concat(o));else if(!r&&c){let v=[...i];v.splice(f,1),u(v)}}else if(Zt(i)){let f=new Set(i);r?f.add(o):f.delete(o),u(f)}else u(uu(e,r))})},mounted:iu,beforeUpdate(e,t,s){e[bn]=Bo(s),iu(e,t,s)}};function iu(e,{value:t,oldValue:s},i){e._modelValue=t;let o;if(Ne(t))o=gi(t,i.props.value)>-1;else if(Zt(t))o=t.has(i.props.value);else{if(t===s)return;o=xt(t,uu(e,!0))}e.checked!==o&&(e.checked=o)}var Nt={deep:!0,created(e,{value:t,modifiers:{number:s}},i){e._modelValue=t,Fn(e,"change",()=>{let o=Array.prototype.filter.call(e.options,c=>c.selected).map(c=>s?Vo(Fs(c)):Fs(c)),r=e.multiple,u=r?Zt(e._modelValue)?new Set(o):o:o[0],f=e._pendingValue=[r,r?Ne(u)?o.slice():o:u];try{e[bn](u)}finally{ze(()=>{e._pendingValue===f&&(e._pendingValue=void 0)})}}),e[bn]=Bo(i)},mounted(e,{value:t}){ru(e,t)},beforeUpdate(e,{value:t},s){e._modelValue=t,e[bn]=Bo(s)},updated(e,{value:t}){let s=e._pendingValue;e._pendingValue=void 0,(!s||s[0]!==e.multiple||!Nh(t,s[1],s[0]))&&ru(e,t)}};function Nh(e,t,s){if(!s)return xt(e,t);if(Ne(e))return xt(e,t);if(Zt(e)){if(e.size!==t.length)return!1;for(let i of t)if(!e.has(i))return!1;return!0}return!1}function ru(e,t){let s=e.multiple,i=Ne(t);if(!(s&&!i&&!Zt(t))){for(let o=0,r=e.options.length;oString(v)===String(f)):u.selected=gi(t,f)>-1}else u.selected=t.has(f);else if(xt(Fs(u),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Fs(e){return"_value"in e?e._value:e.value}function uu(e,t){let s=t?"_trueValue":"_falseValue";return s in e?e[s]:t}var Rh=["ctrl","shift","alt","meta"],Th={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Rh.some(s=>e[`${s}Key`]&&!t.includes(s))},de=(e,t)=>{if(!e)return e;let s=e._withMods||(e._withMods={}),i=t.join(".");return s[i]||(s[i]=((o,...r)=>{for(let u=0;u{let s=e._withKeys||(e._withKeys={}),i=t.join(".");return s[i]||(s[i]=(o=>{if(!("key"in o))return;let r=dn(o.key);if(t.some(u=>u===r||Ph[u]===r))return e(o)}))},Dh=ct({patchProp:kh},ih),au;function Ah(){return au||(au=Ud(Dh))}var cu=((...e)=>{let t=Ah().createApp(...e),{mount:s}=t;return t.mount=i=>{let o=Oh(i);if(!o)return;let r=t._component;!Ie(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.nodeType===1&&(o.textContent="");let u=s(o,!1,Ih(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),u},t});function Ih(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Oh(e){return at(e)?document.querySelector(e):e}var co=typeof document<"u";function fu(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Mh(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&fu(e.default)}var Ze=Object.assign;function ji(e,t){let s={};for(let i in t){let o=t[i];s[i]=Qt(o)?o.map(e):e(o)}return s}var Ho=()=>{},Qt=Array.isArray;function ya(e,t){let s={};for(let i in e)s[i]=i in t?t[i]:e[i];return s}var mu=/#/g,Vh=/&/g,Lh=/\//g,qh=/=/g,$h=/\?/g,hu=/\+/g,Fh=/%5B/g,_h=/%5D/g,gu=/%5E/g,Uh=/%60/g,vu=/%7B/g,Bh=/%7C/g,yu=/%7D/g,zh=/%20/g;function ba(e){return e==null?"":encodeURI(""+e).replace(Bh,"|").replace(Fh,"[").replace(_h,"]")}function bu(e){return ba(e).replace(vu,"{").replace(yu,"}").replace(gu,"^")}function ga(e){return ba(e).replace(hu,"%2B").replace(zh,"+").replace(mu,"%23").replace(Vh,"%26").replace(Uh,"`").replace(vu,"{").replace(yu,"}").replace(gu,"^")}function Hh(e){return ga(e).replace(qh,"%3D")}function jh(e){return ba(e).replace(mu,"%23").replace($h,"%3F")}function wu(e){return jh(e).replace(Lh,"%2F")}function zo(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}var Gh=/\/$/,Wh=e=>e.replace(Gh,"");function Gi(e,t,s="/"){let i,o={},r="",u="",f=t.indexOf("#"),c=t.indexOf("?");return c=f>=0&&c>f?-1:c,c>=0&&(i=t.slice(0,c),r=t.slice(c,f>0?f:t.length),o=e(r.slice(1))),f>=0&&(i=i||t.slice(0,f),u=t.slice(f,t.length)),i=Yh(i??t,s),{fullPath:i+r+u,path:i,query:o,hash:zo(u)}}function ku(e,t){let s=t.query?e(t.query):"";return t.path+(s&&"?")+s+(t.hash||"")}function wa(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Cu(e,t,s){let i=t.matched.length-1,o=s.matched.length-1;return i>-1&&i===o&&lo(t.matched[i],s.matched[o])&&ka(t.params,s.params)&&e(t.query)===e(s.query)&&t.hash===s.hash}function lo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ka(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var s in e)if(!Kh(e[s],t[s]))return!1;return!0}function Kh(e,t){return Qt(e)?pu(e,t):Qt(t)?pu(t,e):e?.valueOf()===t?.valueOf()}function pu(e,t){return Qt(t)?e.length===t.length&&e.every((s,i)=>s===t[i]):e.length===1&&e[0]===t}function Yh(e,t){if(e.startsWith("/"))return e;if(!e)return t;let s=t.split("/"),i=e.split("/"),o=i[i.length-1];(o===".."||o===".")&&i.push("");let r=s.length-1,u,f;for(u=0;u1&&r--;else break;return s.slice(0,r).join("/")+"/"+i.slice(u).join("/")}var On={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Wi=(function(e){return e.pop="pop",e.push="push",e})({}),Ki=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function Su(e){if(!e)if(co){let t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Wh(e)}var Jh=/^[^#]+#/;function Eu(e,t){return e.replace(Jh,"#")+t}function Xh(e,t){let s=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect();return{behavior:t.behavior,left:i.left-s.left-(t.left||0),top:i.top-s.top-(t.top||0)}}var _s=()=>({left:window.scrollX,top:window.scrollY});function Nu(e){let t;if("el"in e){let s=e.el,i=typeof s=="string"&&s.startsWith("#"),o=typeof s=="string"?i?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!o)return;t=Xh(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Ca(e,t){return(history.state?history.state.position-t:-1)+e}var va=new Map;function Ru(e,t){va.set(e,t)}function Tu(e){let t=va.get(e);return va.delete(e),t}function Qh(e){return typeof e=="string"||e&&typeof e=="object"}function Sa(e){return typeof e=="string"||typeof e=="symbol"}var ut=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({}),Pu=Symbol("");var Jne={[ut.MATCHER_NOT_FOUND]({location:e,currentLocation:t}){return`No match for ${JSON.stringify(e)}${t?` while being at @@ -44,7 +44,7 @@ Contact: jane.smith@mit.edu`,e.demoTerms="Jane Smith, Smith, MIT CSAIL, jane.smi `).length+1)),placeholder:`Jane Smith MIT CSAIL jane.smith@example.org`},null,10,Z5),[[u,{state:e.viewState,set:c=>{e.terms=c},value:e.terms,form:"anonymize",options:{debounce:250}}]]),t[130]||(t[130]=n("small",{class:"form-text text-muted"},"One term per line.",-1)),n("details",x5,[t[125]||(t[125]=n("summary",null,"Regex & replacement syntax",-1)),t[126]||(t[126]=m()),n("small",e8,[t[119]||(t[119]=m("Regex is supported. Replaced by ",-1)),n("code",null,d(e.site_options?.ANONYMIZATION_MASK)+"-[N]",1),t[120]||(t[120]=m(", or use ",-1)),t[121]||(t[121]=n("code",null,"term=>replacement",-1)),t[122]||(t[122]=m(" to pick your own (e.g. ",-1)),t[123]||(t[123]=n("code",null,"Anonymous=>ABC",-1)),t[124]||(t[124]=m(").",-1))])]),(a(!0),l(V,null,X((e.termHints||[]).slice(0,3),c=>(a(),l("div",{class:"term-hint",key:c.line},[n("span",null,[t[127]||(t[127]=m("In ",-1)),n("code",null,d(c.term),1),t[128]||(t[128]=m(", ",-1)),n("code",null,d(c.symbols.join(" ")),1),m(" "+d(c.symbols.length>1?"are regex symbols":"is a regex symbol")+", so it may not match the text as written.",1)]),n("button",{type:"button",class:"btn btn-outline-ink btn-sm",onClick:v=>e.matchTermAsWritten(c.line)},"Match as written",8,t8)]))),128)),(e.termHints||[]).length>3?(a(),l("div",n8,d(e.termHints.length-3)+" more "+d(e.termHints.length-3===1?"term uses":"terms use")+" regex symbols.",1)):p("v-if",!0),P(n("div",o8,"Terms are in an invalid format.",512),[[Q,e.anonymize?.terms?.errors?.format]])]),P(n("div",s8,[n("div",i8,[t[131]||(t[131]=n("span",{class:"paper-field-label",id:"preserve-files-label"},"Unredacted files",-1)),n("span",r8,d(e.preserveSummary()),1)]),n("button",{type:"button",class:"btn btn-outline-ink btn-sm","aria-describedby":"preserve-files-label",disabled:!e.source?.commit,onClick:t[25]||(t[25]=c=>e.openPreserveFiles())},d((e.options?.preserveFiles||[]).length?"Edit":"Choose files"),9,a8)],512),[[Q,e.detectedType==="repo"]]),e.preserve?.open?(a(),l("dialog",{key:0,id:"preserve-files-dialog",class:"preserve-dialog","aria-labelledby":"preserve-files-title",onCancel:t[30]||(t[30]=de(c=>e.closePreserveFiles(),["prevent"]))},[n("form",{onSubmit:t[29]||(t[29]=de(c=>e.savePreserveFiles(),["prevent"]))},[t[135]||(t[135]=n("h2",{id:"preserve-files-title"},"Leave files unredacted",-1)),t[136]||(t[136]=n("p",{class:"preserve-intro"},"Checked files are shown exactly as written, for example a bibliography where redacted self-citations would reveal you. File names are still redacted.",-1)),P(n("input",{type:"search",id:"preserve-files-search",class:"form-control",placeholder:"Search files","aria-label":"Search files",autocomplete:"off","onUpdate:modelValue":t[26]||(t[26]=c=>e.preserve.search=c)},null,512),[[nt,e.preserve.search]]),n("div",l8,[e.preserve.loading?(a(),l("p",d8,"Loading files from GitHub\u2026")):e.preserve.error?(a(),l("p",u8,d(e.preserve.error),1)):(a(),l(V,{key:2},[(a(!0),l(V,null,X(e.preserveRows(),(c,v)=>(a(),l("div",{class:"preserve-item",key:c.kind+":"+c.path,style:Ae({paddingLeft:c.depth*18+6+"px"})},[c.kind==="dir"?(a(),l("button",{key:0,type:"button",class:"preserve-caret","aria-expanded":c.open?"true":"false","aria-label":(c.open?"Collapse ":"Expand ")+c.label,onClick:h=>e.togglePreserveDir(c.path)},d(c.open?"\u25BE":"\u25B8"),9,c8)):(a(),l("span",p8)),n("input",{type:"checkbox",id:"pf-"+v,"aria-label":c.kind==="dir"?"Leave folder "+c.path+" unredacted":null,checked:c.state==="all",".indeterminate":c.state==="some",disabled:c.locked,onChange:h=>c.kind==="dir"?e.togglePreserveFolder(c.path):e.togglePreserveFile(c.path)},null,40,f8),n("label",{for:c.kind==="file"?"pf-"+v:null,class:"preserve-name",onClick:h=>c.kind==="dir"&&e.togglePreserveDir(c.path)},d(c.label),9,m8),c.note?(a(),l("span",h8,d(c.note),1)):p("v-if",!0)],4))),128)),!e.preserve.loading&&!e.preserveRows().length?(a(),l("p",g8,d(e.preserve.search?"No file matches your search.":"No text files in this commit."),1)):p("v-if",!0)],64))]),e.preserve.truncated?(a(),l("p",v8,"This repository has too many files to list them all. Use a pattern for files you cannot find.")):p("v-if",!0),n("details",{class:"preserve-patterns",open:e.preserve.patternsOpen},[t[132]||(t[132]=n("summary",null,"Patterns",-1)),P(n("textarea",{class:"form-control",rows:"3","aria-label":"Patterns",placeholder:`*.bib -paper/appendix/**`,"onUpdate:modelValue":t[27]||(t[27]=c=>e.preserve.patterns=c)},null,512),[[nt,e.preserve.patterns]]),t[133]||(t[133]=n("small",{class:"form-text text-muted"},[m("One per line, as in .gitignore: "),n("code",null,"*.bib"),m(" matches in any folder; "),n("code",null,"/refs.bib"),m(" and "),n("code",null,"paper/refs.bib"),m(" match from the repository root; a folder name such as "),n("code",null,"drafts/"),m(" covers everything inside it; "),n("code",null,"!private.bib"),m(" excludes again.")],-1))],8,y8),n("div",b8,[n("span",w8,d(e.preserve.loading||e.preserve.error?"":e.preserveCount()+(e.preserveCount()===1?" file":" files")+" will be shown as written"),1),n("span",k8,[n("button",{type:"button",class:"btn btn-outline-ink",onClick:t[28]||(t[28]=c=>e.closePreserveFiles())},"Cancel"),t[134]||(t[134]=n("button",{type:"submit",class:"btn btn-ink"},"Save",-1))])])],32)],32)):p("v-if",!0)],512),[[Q,e.detectedType&&e.sourceReady()]]),P(n("section",C8,[t[157]||(t[157]=n("h2",{class:"paper-section-eyebrow"},"Display",-1)),P(n("div",null,[n("div",S8,[P(n("input",E8,null,512),[[u,{state:e.viewState,set:c=>{e.options.link=c},value:e.options?.link,form:"anonymize",options:{}}]]),t[138]||(t[138]=n("label",{class:"form-check-label",for:"link"},"Keep links",-1))]),n("div",N8,[P(n("input",R8,null,512),[[u,{state:e.viewState,set:c=>{e.options.image=c},value:e.options?.image,form:"anonymize",options:{}}]]),t[139]||(t[139]=n("label",{class:"form-check-label",for:"image"},"Display images",-1))]),n("div",T8,[P(n("input",P8,null,512),[[u,{state:e.viewState,set:c=>{e.options.pdf=c},value:e.options?.pdf,form:"anonymize",options:{}}]]),t[140]||(t[140]=n("label",{class:"form-check-label",for:"pdf"},"Display PDFs",-1))]),n("div",D8,[P(n("input",A8,null,512),[[u,{state:e.viewState,set:c=>{e.options.notebook=c},value:e.options?.notebook,form:"anonymize",options:{}}]]),t[141]||(t[141]=n("label",{class:"form-check-label",for:"notebook"},"Display notebooks",-1))]),n("div",I8,[P(n("input",{class:"form-check-input",type:"checkbox",id:"page",name:"page",disabled:!e.details?.hasPage||e.details?.pageSource&&e.details?.pageSource?.branch!==e.source?.branch},null,8,O8),[[u,{state:e.viewState,set:c=>{e.options.page=c},value:e.options?.page,form:"anonymize",options:{}}]]),t[142]||(t[142]=n("label",{class:"form-check-label",for:"page"},"GitHub Pages",-1)),e.details?.hasPage?p("v-if",!0):(a(),l("small",M8,d(e.fmt?.translate("WARNINGS.page_not_enabled_on_repo")),1)),e.details?.hasPage&&e.details?.pageSource?.branch&&e.source?.branch&&e.details.pageSource.branch!==e.source.branch?(a(),l("small",V8,d(e.fmt?.translate("WARNINGS.page_branch_mismatch",{pageBranch:e.details?.pageSource?.branch,selectedBranch:e.source?.branch})),1)):p("v-if",!0)])],512),[[Q,e.detectedType==="repo"]]),e.detectedType==="repo"&&(e.options.image||e.options.pdf)?(a(),l("p",L8,[...t[143]||(t[143]=[m("Images and PDFs are served unchanged. Review their contents and metadata before sharing. ",-1),n("a",{href:"/faq#formats"},"Supported formats",-1)])])):p("v-if",!0),P(n("div",null,[n("div",q8,[P(n("input",$8,null,512),[[u,{state:e.viewState,set:c=>{e.options.title=c},value:e.options?.title,form:"anonymize",options:{}}]]),t[144]||(t[144]=n("label",{class:"form-check-label",for:"title-gist"},"Gist description",-1))]),n("div",F8,[P(n("input",_8,null,512),[[u,{state:e.viewState,set:c=>{e.options.content=c},value:e.options?.content,form:"anonymize",options:{}}]]),t[145]||(t[145]=n("label",{class:"form-check-label",for:"content-gist"},"File contents",-1))]),n("div",U8,[P(n("input",B8,null,512),[[u,{state:e.viewState,set:c=>{e.options.comments=c},value:e.options?.comments,form:"anonymize",options:{}}]]),t[146]||(t[146]=n("label",{class:"form-check-label",for:"comments-gist"},"Comments",-1))]),n("div",z8,[P(n("input",H8,null,512),[[u,{state:e.viewState,set:c=>{e.options.username=c},value:e.options?.username,form:"anonymize",options:{}}]]),t[147]||(t[147]=n("label",{class:"form-check-label",for:"username-gist"},"Usernames",-1))]),n("div",j8,[P(n("input",G8,null,512),[[u,{state:e.viewState,set:c=>{e.options.date=c},value:e.options?.date,form:"anonymize",options:{}}]]),t[148]||(t[148]=n("label",{class:"form-check-label",for:"date-gist"},"Dates",-1))]),n("div",W8,[P(n("input",K8,null,512),[[u,{state:e.viewState,set:c=>{e.options.origin=c},value:e.options?.origin,form:"anonymize",options:{}}]]),t[149]||(t[149]=n("label",{class:"form-check-label",for:"origin-gist"},"Source gist ID",-1))])],512),[[Q,e.detectedType==="gist"]]),P(n("div",null,[n("div",Y8,[P(n("input",J8,null,512),[[u,{state:e.viewState,set:c=>{e.options.title=c},value:e.options?.title,form:"anonymize",options:{}}]]),t[150]||(t[150]=n("label",{class:"form-check-label",for:"title"},"PR title",-1))]),n("div",X8,[P(n("input",Q8,null,512),[[u,{state:e.viewState,set:c=>{e.options.body=c},value:e.options?.body,form:"anonymize",options:{}}]]),t[151]||(t[151]=n("label",{class:"form-check-label",for:"body"},"PR body",-1))]),n("div",Z8,[P(n("input",x8,null,512),[[u,{state:e.viewState,set:c=>{e.options.diff=c},value:e.options?.diff,form:"anonymize",options:{}}]]),t[152]||(t[152]=n("label",{class:"form-check-label",for:"diff"},"Diff",-1))]),n("div",e6,[P(n("input",t6,null,512),[[u,{state:e.viewState,set:c=>{e.options.comments=c},value:e.options?.comments,form:"anonymize",options:{}}]]),t[153]||(t[153]=n("label",{class:"form-check-label",for:"comments"},"Comments",-1))]),n("div",n6,[P(n("input",o6,null,512),[[u,{state:e.viewState,set:c=>{e.options.username=c},value:e.options?.username,form:"anonymize",options:{}}]]),t[154]||(t[154]=n("label",{class:"form-check-label",for:"username"},"Usernames",-1))]),n("div",s6,[P(n("input",i6,null,512),[[u,{state:e.viewState,set:c=>{e.options.date=c},value:e.options?.date,form:"anonymize",options:{}}]]),t[155]||(t[155]=n("label",{class:"form-check-label",for:"date"},"Dates",-1))]),n("div",r6,[P(n("input",a6,null,512),[[u,{state:e.viewState,set:c=>{e.options.origin=c},value:e.options?.origin,form:"anonymize",options:{}}]]),t[156]||(t[156]=n("label",{class:"form-check-label",for:"origin"},"Project name",-1))])],512),[[Q,e.detectedType==="pr"]])],512),[[Q,e.detectedType&&e.sourceReady()]]),P(n("section",l6,[t[174]||(t[174]=n("h2",{class:"paper-section-eyebrow",id:"hosting-heading"},"Hosting & expiration",-1)),n("div",d6,[t[158]||(t[158]=n("label",{class:"paper-field-label",for:"conference"},[m("Conference code "),n("span",{class:"paper-optional"},"(optional)")],-1)),P(n("input",{class:R(["form-control",{"is-invalid":e.anonymize?.conference?.invalid}]),id:"conference",name:"conference"},null,2),[[u,{state:e.viewState,set:c=>{e.conference=c},value:e.conference,form:"anonymize",options:{debounce:{default:800,blur:0},updateOn:"default blur"}}]]),P(n("p",{class:R(["conference-hosting",{"is-covered":e.conferenceHosting()}]),role:"status"},[n("a",{target:"_blank",href:e.safeUrl(e.conference_data?.url)},d(e.conference_data?.name),9,u6),e.conferenceHosting()?(a(),l(V,{key:0},[m(" hosts this repository until "+d(e.fmt?.date(e.conference_data?.endDate))+", with automatic updates. You don't pay anything.",1)],64)):e.billing?.enabled&&e.detectedType==="repo"?(a(),l(V,{key:1},[m(" runs until "+d(e.fmt?.date(e.conference_data?.endDate))+". It doesn't pay for hosting, so this repository uses your own allowance.",1)],64)):(a(),l(V,{key:2},[m(" runs until "+d(e.fmt?.date(e.conference_data?.endDate))+".",1)],64))],2),[[Q,e.conference_data]]),P(n("div",c6,"The conference is not activated.",512),[[Q,e.anonymize?.conference?.errors?.activated]]),P(n("small",p6,"Submitting to a conference? Its code applies the venue's settings, and a paid conference hosts the repository for you.",512),[[Q,!e.conference_data]])]),e.detectedType==="repo"&&e.billing?.enabled&&!e.conferenceHosting()?(a(),l("p",f6,[e.isUpdate&&e.role!=="owner"?(a(),l("span",m6,"Uses the owner's hosting")):e.hasAuthorHosting()?(a(),l("span",h6,"Your author subscription is active.")):e.hostingQuota?.repository?(a(),l("span",g6,d(e.hostingQuota.repository.used)+" of "+d(e.hostingQuota.repository.total)+" active repositories \xB7 Free",1)):p("v-if",!0)])):p("v-if",!0),e.detectedType==="repo"&&e.options?.update&&!e.liveUpdatesIncluded()?(a(),l("p",v6,[t[159]||(t[159]=m("Automatic updates need a paid option. On free hosting, the link keeps the version you create until you refresh it from My work. Once it exists, add Live updates",-1)),e.liveUpdatesPrice()?(a(),l(V,{key:0},[m(" ("+d(e.liveUpdatesPrice())+" once)",1)],64)):p("v-if",!0),t[160]||(t[160]=m(" or a Paper pack in ",-1)),t[161]||(t[161]=n("a",{href:"/profile?billing=1"},"Settings \u203A Hosting & billing",-1)),t[162]||(t[162]=m(", or take an author subscription.",-1))])):p("v-if",!0),e.detectedType==="repo"&&e.billing?.enabled?(a(),l("div",y6,[e.hostingNeedsPayment()&&!e.billingPending?(a(),l(V,{key:0},[e.options.expirationMode!=="never"||e.hostingQuotaBlocked?(a(),l("p",b6,d(e.options.update&&!e.hostingQuotaBlocked&&e.hostingQuota?.repository?.used(a(),l("label",{class:R(["hosting-option",{"is-selected":e.hostingChoice()===c.id||c.interval&&e.authorPlans().some(v=>v.id===e.hostingChoice())}]),key:c.id},[n("input",{type:"radio",name:"hosting-plan",value:c.id,checked:e.hostingChoice()===c.id||c.interval&&e.authorPlans().some(v=>v.id===e.hostingChoice()),onChange:v=>e.hostingPlan=c.interval?e.hostingSubscriptionPlan().id:c.id},null,40,C6),n("span",S6,[n("strong",null,d(e.hostingOptionName(c)),1),n("small",null,d(e.hostingOptionBlurb(c)),1),c.interval&&e.authorPlans().length>1&&e.authorPlans().some(v=>v.id===e.hostingChoice())?(a(),l("span",E6,[(a(!0),l(V,null,X(e.authorPlans(),v=>(a(),l("button",{type:"button",role:"radio",key:v.id,"aria-checked":e.hostingSubscriptionPlan().id===v.id?"true":"false",class:R({"is-on":e.hostingSubscriptionPlan().id===v.id}),onClick:de(h=>{e.hostingCycle=v.id,e.hostingPlan=v.id},["prevent"])},[m(d(v.interval==="year"?"Yearly":"Monthly"),1),v.interval==="year"&&e.hostingAnnualSavings()?(a(),l("span",R6,"\u2212"+d(e.hostingAnnualSavings())+"%",1)):p("v-if",!0)],10,N6))),128))])):p("v-if",!0)]),n("span",T6,[n("strong",null,d(e.billingAmount(c.interval?e.hostingSubscriptionPlan():c)),1),n("small",null,d(c.interval?"per "+e.hostingSubscriptionPlan().interval:"once"),1)])],2))),128))])):(a(),l("p",P6,"New purchases are temporarily unavailable. Your draft is kept.")),e.authorPlans().some(c=>c.id===e.hostingChoice())?(a(),l("p",D6,"Renews "+d(e.hostingChoice()==="author_annual"?"yearly":"monthly")+" until you cancel. Tax shown at checkout.",1)):(a(),l("p",A6,"One-time payment, nothing renews. Tax shown at checkout.")),e.options.expirationMode!=="never"?(a(),l("details",I6,[t[163]||(t[163]=n("summary",null,"Keep using free hosting",-1)),t[164]||(t[164]=n("p",null,"Remove a repository you no longer need, or enter the code of a paid conference above. Removing a repository affects its review link.",-1)),t[165]||(t[165]=n("a",{href:"/dashboard"},"Review my repositories",-1)),n("button",{type:"button",class:"task-text-button",onClick:t[31]||(t[31]=c=>e.anonymizeRepo(c)),disabled:e.sourceLoading||e.billingBusy},"Recheck capacity and submit",8,O6)])):p("v-if",!0)],64)):p("v-if",!0)])):p("v-if",!0),e.hostingNeedsPayment()&&!e.billingPending?(a(),l("h4",M6,"Expiration")):p("v-if",!0),n("fieldset",V6,[t[171]||(t[171]=n("legend",{class:"sr-only"},"Expiration",-1)),p(' Under a plan limit the option names the date ("Expire on Apr 29, 2027"); a muted line says why, and "Change date" reveals the bounded input '),n("div",L6,[n("label",q6,[n("input",{type:"radio",name:"expiration-choice",checked:e.options.expirationMode!=="never",onChange:t[32]||(t[32]=c=>e.useDatedHosting()),disabled:e.billingPending},null,40,$6),n("span",null,d(e.expiryChoiceLabel()),1)]),e.options.expirationMode!=="never"&&!e.expiryPickerShown()?(a(),l("button",{key:0,type:"button",class:"expiry-change",onClick:t[33]||(t[33]=c=>e.openExpiryPicker())},"Change date")):p("v-if",!0)]),e.options.expirationMode!=="never"?(a(),l("div",F6,[e.expiryCapped()&&e.expiryChoiceLabel()!=="Expire on a date"?(a(),l("p",_6,[m(d(e.expiryRelative()),1),e.expiryNote()?(a(),l(V,{key:0},[t[166]||(t[166]=n("span",{class:"expiry-meta-sep","aria-hidden":"true"}," \xB7 ",-1)),n("span",U6,d(e.expiryNote()),1)],64)):p("v-if",!0)])):p("v-if",!0),p(' One date input in every mode (the form keeps one field); under a plan limit it stays hidden until "Change date" or an invalid date '),P(n("div",{class:R(["hosting-date",{"is-capped":e.expiryCapped()}]),onReveal:t[34]||(t[34]=c=>e.expiryPickerOpen=!0)},[t[167]||(t[167]=n("label",{class:"paper-field-label",for:"expirationDate"},"Date",-1)),P(n("input",{class:R(["form-control",{"is-invalid":e.anonymize?.expirationDate?.invalid}]),type:"date",name:"expirationDate",id:"expirationDate",required:"",min:e.minExpirationDate,max:e.maxExpirationDate},null,10,B6),[[u,{state:e.viewState,set:c=>{e.options.expirationDate=c},value:e.options?.expirationDate,form:"anonymize",options:{}}]]),!e.expiryCapped()&&e.fmt?.dateEcho(e.options?.expirationDate)?(a(),l("p",z6,d(e.fmt?.dateEcho(e.options?.expirationDate)),1)):p("v-if",!0),P(n("div",H6,"Pick a date in the future.",512),[[Q,e.anonymize?.expirationDate?.errors?.min]]),P(n("div",{class:"invalid-feedback"},"Pick a date on or before "+d(e.fmt?.date(e.maxExpirationDate))+".",513),[[Q,e.anonymize?.expirationDate?.errors?.max]]),P(n("div",j6,"Enter a valid expiration date.",512),[[Q,e.anonymize?.expirationDate?.errors?.required||e.anonymize?.expirationDate?.errors?.date]])],34),[[Q,e.expiryPickerShown()]]),n("div",G6,[t[169]||(t[169]=n("label",{for:"expiration"},"After expiry",-1)),P(n("select",{id:"expiration",class:"form-control","onUpdate:modelValue":t[35]||(t[35]=c=>e.options.expirationMode=c)},[...t[168]||(t[168]=[n("option",{value:"remove"},"Remove content",-1),n("option",{value:"redirect"},"Redirect to GitHub",-1)])],512),[[Nt,e.options.expirationMode]])])])):p("v-if",!0),e.detectedType==="repo"?(a(),l("label",W6,[n("input",{type:"radio",name:"expiration-choice",checked:e.options.expirationMode==="never",onChange:t[36]||(t[36]=c=>e.options.expirationMode="never"),disabled:e.billingPending},null,40,K6),n("span",null,[t[170]||(t[170]=m("Never expire",-1)),(e.options.expirationMode!=="never"||e.hasAuthorHosting()||e.repositoryGrants("repo_never").length)&&!(e.hostingNeedsPayment()&&e.hostingOptionPlans().length)?(a(),l("small",Y6,d(e.neverExpireTag()),1)):p("v-if",!0)])])):p("v-if",!0)]),e.options.expirationMode==="redirect"?(a(),l("p",J6,"Visitors will be redirected to the original GitHub source on this date, revealing its identity.")):p("v-if",!0),e.detectedType==="repo"&&e.billing?.enabled?(a(),l("div",X6,[e.taskValidationError?(a(),l("p",Q6,d(e.taskValidationError),1)):p("v-if",!0),e.billingError?(a(),l("p",Z6,[m(d(e.billingError)+" ",1),n("button",{type:"button",class:"task-text-button",onClick:t[37]||(t[37]=c=>e.loadBilling()),disabled:e.billingBusy},"Reload billing",8,x6)])):p("v-if",!0),e.billingPending?(a(),l("div",eM,[...t[172]||(t[172]=[n("p",null,[n("strong",null,"Confirming your payment\u2026")],-1),n("p",{class:"form-text text-muted"},"Your draft is saved. Please do not pay again.",-1)])])):e.billingNotice?(a(),l("p",tM,d(e.billingNotice),1)):e.options.expirationMode==="never"&&!e.billingPending&&!e.hasAuthorHosting()&&e.repositoryGrants("repo_never").length?(a(),l("p",nM,"No scheduled expiration. Paid once for this repository.")):e.options.expirationMode==="never"&&!e.billingPending?(a(),l("p",oM,"No scheduled expiration while subscribed. A 90-day grace period applies if paid access ends.")):p("v-if",!0),e.isUpdate&&e.role==="owner"&&!e.hasAuthorHosting()&&!e.hostingNeedsPayment()&&e.repositoryAddonPlans().length?(a(),l("details",sM,[t[173]||(t[173]=n("summary",null,"Pay once for just this repository",-1)),(a(!0),l(V,null,X(e.repositoryAddonPlans(),c=>(a(),l("div",{key:c.id},[n("p",null,[n("strong",null,d(c.name),1),m(" \xB7 "+d(e.billingPrice(c))+". "+d(c.description),1)]),n("button",{type:"button",class:"btn btn-outline-ink",disabled:e.billingBusy||e.hostingSaving||e.sourceLoading||e.billing.checkoutEnabled===!1||e.billingPending,onClick:v=>e.checkoutRepository(c.id)},"Buy "+d(c.name.toLowerCase()),9,iM)]))),128))])):p("v-if",!0)])):p("v-if",!0)],512),[[Q,e.detectedType&&e.sourceReady()]]),P(n("section",rM,[t[178]||(t[178]=n("h2",{class:"paper-section-eyebrow"},"Co-authors",-1)),t[179]||(t[179]=n("p",{class:"form-text text-muted",style:{"margin-bottom":"8px"}}," Co-authors can view and edit these settings. They cannot delete the anonymization or manage co-authors. ",-1)),P(n("div",aM,[t[175]||(t[175]=n("label",{class:"paper-field-label",for:"coauthorSearch"},"Add a GitHub user",-1)),n("div",lM,[P(n("input",dM,null,512),[[u,{state:e.viewState,set:c=>{e.coauthorSearch=c},value:e.coauthorSearch,form:"anonymize",options:{debounce:300},change:()=>{e.searchCoauthors()}}]]),P(n("div",uM,[(a(!0),l(V,null,X(e.coauthorResults,(c,v)=>(a(),l("a",{href:"#",class:"dropdown-item d-flex align-items-center",onClick:de(h=>e.addCoauthor(c,h),["prevent"])},[n("img",{alt:"",style:{width:"22px",height:"22px","border-radius":"50%","margin-right":"8px"},src:e.safeUrl(c?.photo)},null,8,pM),n("span",{textContent:d(c?.username)},null,8,fM)],8,cM))),256))],512),[[Q,e.coauthorResults?.length>0]])]),P(n("small",{class:"form-text text-muted",textContent:d(e.coauthorError)},null,8,mM),[[Q,e.coauthorError]])],512),[[Q,e.role==="owner"||e.role==="admin"]]),n("div",hM,[(a(!0),l(V,null,X(e.coauthors,(c,v)=>(a(),l("div",gM,[c?.photo?(a(),l("img",{key:0,alt:"",style:{width:"24px",height:"24px","border-radius":"50%"},src:e.safeUrl(c?.photo)},null,8,vM)):p("v-if",!0),n("a",{target:"_blank",textContent:d(c?.username),href:e.safeUrl("https://github.com/"+c?.username)},null,8,yM),t[177]||(t[177]=n("span",{class:"type-badge type-coauthor"},"Co-author",-1)),P(n("button",{type:"button",class:"btn btn-sm btn-icon",style:{"margin-left":"auto"},title:"Remove co-author",onClick:h=>e.removeCoauthor(c),"aria-label":"Remove co-author"},[...t[176]||(t[176]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-close"})],-1)])],8,bM),[[Q,e.role==="owner"||e.role==="admin"]])]))),256)),P(n("div",wM," No co-authors yet. ",512),[[Q,!e.coauthors||e.coauthors?.length===0]])])],512),[[Q,e.isUpdate&&e.detectedType==="repo"]]),e.error?(a(),l("div",{key:0,class:"alert alert-danger",role:"alert",textContent:d(e.error)},null,8,kM)):p("v-if",!0)]),n("button",{type:"button",class:"btn btn-outline-ink mobile-preview-jump",onClick:t[38]||(t[38]=c=>e.selectMobilePane("preview"))},[...t[180]||(t[180]=[m("Review preview ",-1),n("span",{"aria-hidden":"true"},"\u2192",-1)])]),P(n("div",CM,[e.detectedType==="repo"?(a(),l(V,{key:0},[e.billingPending?(a(),l("button",{key:0,type:"button",class:"btn btn-ink",onClick:t[39]||(t[39]=c=>e.refreshBilling()),disabled:e.billingBusy},"Check payment status",8,SM)):(a(),l("button",{key:1,type:"submit",class:"btn btn-ink",disabled:e.sourceLoading||!e.sourceReady()||e.billingBusy||e.hostingSaving||e.billingLoading||e.hostingNeedsPayment()&&(!e.authorPlans().length&&!e.hostingOneTime()||e.billing?.checkoutEnabled===!1),onClick:t[40]||(t[40]=de(c=>e.submitForm(c,()=>{e.submitRepository(c)}),["prevent"]))},d(e.hostingSaving?"Saving draft\u2026":e.hostingNeedsPayment()?"Continue to checkout":e.isUpdate?"Save changes":"Create anonymous link"),9,EM))],64)):p("v-if",!0),e.detectedType==="pr"&&!e.isUpdate?(a(),l("button",{key:1,type:"submit",disabled:e.sourceLoading||!e.details,class:"btn btn-ink",onClick:t[41]||(t[41]=de(c=>e.submitForm(c,()=>{e.anonymizePullRequest(c)}),["prevent"]))}," Create anonymous link ",8,NM)):p("v-if",!0),e.detectedType==="pr"&&e.isUpdate?(a(),l("button",{key:2,type:"submit",disabled:e.sourceLoading,class:"btn btn-ink",onClick:t[42]||(t[42]=de(c=>e.submitForm(c,()=>{e.anonymizePullRequest(c)}),["prevent"]))}," Save changes ",8,RM)):p("v-if",!0),e.detectedType==="gist"&&!e.isUpdate?(a(),l("button",{key:3,type:"submit",disabled:e.sourceLoading||!e.details,class:"btn btn-ink",onClick:t[43]||(t[43]=de(c=>e.submitForm(c,()=>{e.anonymizeGist(c)}),["prevent"]))}," Create anonymous link ",8,TM)):p("v-if",!0),e.detectedType==="gist"&&e.isUpdate?(a(),l("button",{key:4,type:"submit",disabled:e.sourceLoading,class:"btn btn-ink",onClick:t[44]||(t[44]=de(c=>e.submitForm(c,()=>{e.anonymizeGist(c)}),["prevent"]))}," Save changes ",8,PM)):p("v-if",!0),e.submitBlockedReason()?(a(),l("p",DM,d(e.submitBlockedReason()),1)):p("v-if",!0),e.hostingNeedsPayment()&&!e.billingPending?(a(),l("p",AM,"You pay in Stripe, then come back here to finish.")):p("v-if",!0),e.draftRestored?(a(),l("div",IM,[t[181]||(t[181]=m("Your unsaved draft was restored. ",-1)),n("button",{type:"button",class:"draft-discard",onClick:t[45]||(t[45]=c=>e.discardDraft())},"Discard draft")])):e.unsavedChanges&&e.sourceReady()?(a(),l("div",OM,[m(d(e.draftSaved?"Draft saved \xB7":"Unsaved changes \xB7")+" ",1),n("button",{type:"button",class:"draft-discard",onClick:t[46]||(t[46]=c=>e.discardDraft())},d(e.isUpdate?"Restore saved":"Discard"),1)])):p("v-if",!0)],512),[[Q,e.detectedType]])])),[[f,e.viewState]])],8,UO),p(' Preview column (right): "What reviewers will see", a miniature reviewer window '),e.detectedType?(a(),l("div",{key:0,id:"workspace-preview",role:e.mobileWorkspace?"tabpanel":null,"aria-labelledby":e.mobileWorkspace?"workspace-preview-tab":null,class:"anonymize-preview-col reviewer-preview"},[n("div",VM,[t[185]||(t[185]=n("span",{class:"rp-title"},"What reviewers will see",-1)),e.detectedType==="repo"&&e.details?(a(),l("button",{key:0,type:"button",class:"rp-open rp-files",onClick:t[47]||(t[47]=c=>e.previewViewer.sidebarCollapsed=!e.previewViewer.sidebarCollapsed),"aria-expanded":!e.previewViewer.sidebarCollapsed,"aria-controls":"preview-file-tree"},"Files",8,LM)):p("v-if",!0),e.previewStatus==="ready"&&e.previewRedactions()>0?(a(),l("span",{key:1,class:"rp-count",title:e.previewRedactions()+" redacted terms in this preview"},[n("span",$M,[n("i",null,d(e.previewRedactions()),1)]),t[182]||(t[182]=m(" redacted",-1))],8,qM)):e.previewStatus==="ready"&&!String(e.terms||"").trim()?(a(),l("button",{key:2,type:"button",class:"rp-count rp-status-empty",onClick:t[48]||(t[48]=c=>e.focusTerms())},[...t[183]||(t[183]=[m("Nothing redacted yet: ",-1),n("span",{class:"rp-status-action"},"add terms",-1)])])):e.previewStatus==="ready"&&e.previewPreserved()?(a(),l("button",{key:3,type:"button",class:"rp-count rp-count-none",onClick:t[49]||(t[49]=c=>e.openPreserveFiles()),title:"Change it in Leave files unredacted"},d(e.previewName(e.previewFile?e.previewFile.slice(e.previewFile.lastIndexOf("/")+1):e.readmeName()))+" left unredacted",1)):e.previewStatus==="ready"?(a(),l("span",FM,d(e.detectedType==="repo"?"No terms found in this file":"No terms found"),1)):p("v-if",!0),t[186]||(t[186]=n("span",{class:"rp-spacer"},null,-1)),e.isUpdate&&e.previewUrl()?(a(),l("a",{key:5,class:"rp-open is-external",href:e.safeUrl(e.previewPath()),target:"_blank",rel:"noopener"},[...t[184]||(t[184]=[m("Open reviewer page ",-1),n("span",{"aria-hidden":"true"},"\u2197",-1)])],8,_M)):(a(),l("button",{key:6,type:"button",class:"rp-open is-toggle",onClick:t[50]||(t[50]=c=>e.previewExpanded=!e.previewExpanded),"aria-pressed":!!e.previewExpanded},[(a(),l("svg",BM,[e.previewExpanded?(a(),l("path",HM)):(a(),l("path",zM))])),m(d(e.previewExpanded?"Back to settings":"Expand preview"),1)],8,UM))]),n("div",jM,[n("div",GM,[t[187]||(t[187]=n("i",null,null,-1)),t[188]||(t[188]=n("i",null,null,-1)),t[189]||(t[189]=n("i",null,null,-1)),n("span",WM,d(e.previewUrl()||"anonymous.4open.science"),1)]),n("div",KM,[t[190]||(t[190]=n("span",{class:"vb-logo"},[m("Anonymous "),n("em",null,"GitHub")],-1)),e.previewId()?(a(),l("span",YM,d(e.previewId()),1)):p("v-if",!0),e.detectedType!=="repo"?(a(),l("span",JM,d(e.detectedType==="pr"?"Pull request":"Gist"),1)):p("v-if",!0)]),n("div",{class:R(["rp-body",{"reviewer-explorer":e.detectedType==="repo","no-tree":e.detectedType==="repo"&&!e.details}])},[e.detectedType==="repo"?P((a(),l("aside",{key:0,id:"preview-file-tree",class:R(["leftCol",{collapsed:e.previewViewer.sidebarCollapsed}]),"aria-label":"Files reviewers will see"},[n("div",XM,[t[192]||(t[192]=n("span",{class:"leftCol-eyebrow"},"Files",-1)),n("button",{type:"button",class:"leftCol-close","aria-label":"Close files",onClick:t[51]||(t[51]=c=>e.previewViewer.sidebarCollapsed=!0)},[...t[191]||(t[191]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-close"})],-1)])])]),n("div",QM,[Me(s,{class:"files",file:e.previewTreeFiles(),page:e.previewViewer,"selected-path":"/"+e.previewPathName(e.previewOpenPath()),onSelect:t[52]||(t[52]=c=>e.selectPreviewPath(c))},null,8,["file","page","selected-path"])])],2)),[[Q,e.details]]):p("v-if",!0),e.detectedType==="repo"?P((a(),l("div",{key:1,class:"leftCol-backdrop",onClick:t[53]||(t[53]=c=>e.previewViewer.sidebarCollapsed=!0)},null,512)),[[Q,!e.previewViewer.sidebarCollapsed]]):p("v-if",!0),n("div",{class:R(e.detectedType==="repo"?"explorer-main":"rp-main")},[n("div",{class:R(e.detectedType==="repo"?"explorer-content":"rp-document")},[p(" Loading: skeleton inside the window "),e.previewStatus==="loading"||e.sourceLoading&&e.previewStatus!=="ready"&&e.previewStatus!=="error"?(a(),l("div",ZM,[n("span",xM,d(e.previewDoc.loading?"Loading "+e.previewName(e.previewFile.slice(e.previewFile.lastIndexOf("/")+1))+" from GitHub\u2026":e.previewStatus==="loading"?"Updating the anonymized preview\u2026":e.detectedType==="pr"?"Loading the pull request from GitHub\u2026":e.detectedType==="gist"?"Loading the gist from GitHub\u2026":"Loading the repository from GitHub\u2026"),1),t[193]||(t[193]=Ce('',7))])):!e.details&&e.sourceProblem()?(a(),l(V,{key:1},[p(" The source itself could not be loaded: the form's message, with the same actions "),n("div",eV,[n("strong",null,d(e.sourceProblem().title),1),n("p",null,d(e.sourceProblem().text),1),e.sourceProblem().manage||e.sourceProblem().retry||e.sourceProblem().dashboard?(a(),l("div",tV,[e.sourceProblem().manage==="app"?(a(),l("button",{key:0,type:"button",class:"btn btn-ink btn-sm",onClick:t[54]||(t[54]=c=>e.grantGitHubAccess())},[...t[194]||(t[194]=[m("Manage GitHub access ",-1),n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-external-link"})],-1)])])):p("v-if",!0),e.sourceProblem().manage==="link"?(a(),l("a",nV,"Manage GitHub access")):p("v-if",!0),e.sourceProblem().dashboard?(a(),l("a",oV,"Open My work")):p("v-if",!0),e.sourceProblem().retry?(a(),l("button",{key:3,type:"button",class:"btn btn-outline-ink btn-sm",onClick:t[55]||(t[55]=c=>e.urlSelected(!0))},"Try again")):p("v-if",!0)])):p("v-if",!0)])],2112)):e.previewStatus==="error"&&e.previewDoc.loadError?(a(),l(V,{key:2},[p(" The open file could not be read from GitHub "),n("div",sV,[n("strong",null,"Couldn't load "+d(e.previewName(e.previewFile.slice(e.previewFile.lastIndexOf("/")+1))),1),n("p",null,d(e.previewDoc.loadError),1),n("div",iV,[n("button",{class:"btn btn-ink btn-sm",type:"button",onClick:t[56]||(t[56]=c=>e.retryPreview())},"Retry"),n("button",{class:"btn btn-outline-ink btn-sm",type:"button",onClick:t[57]||(t[57]=c=>e.openPreviewFile(""))},"Back to the README")])])],2112)):e.previewStatus==="error"?(a(),l(V,{key:3},[p(" The anonymized preview failed "),n("div",rV,[t[195]||(t[195]=n("strong",null,"Couldn't apply the redactions",-1)),t[196]||(t[196]=n("p",null,"Unable to generate the anonymized preview. The latest redactions have not been verified.",-1)),n("div",aV,[n("button",{class:"btn btn-ink btn-sm",type:"button",onClick:t[58]||(t[58]=c=>e.retryPreview())},"Retry preview")])])],2112)):e.detectedType==="repo"&&!e.previewFile&&!e.readme&&e.previewStatus==="idle"?(a(),l("div",lV,[...t[197]||(t[197]=[n("strong",null,"No README",-1),n("p",null,"Reviewers land on the file list. Open the files you will share and check them before sending the link.",-1)])])):e.detectedType==="repo"&&e.previewStatus==="ready"?(a(),Xt(i,{key:5,name:"partials/pageView.htm",state:e.previewViewer},null,8,["state"])):e.detectedType==="gist"&&e.previewStatus==="ready"?(a(),l("div",dV,[n("div",uV,[n("h2",cV,[e.options?.title?(a(),l("span",pV,d(e.anonymizeGistContent(e.details?.gist?.description)||"Untitled gist"),1)):p("v-if",!0),n("span",{class:R(["badge",{"badge-success":e.details?.gist?.isPublic,"badge-secondary":!e.details?.gist?.isPublic}])},d(e.details?.gist?.isPublic?"public":"secret"),3)]),e.options?.date?(a(),l("small",{key:0,textContent:d(e.fmt?.date(e.details?.gist?.updatedDate))},null,8,fV)):p("v-if",!0)]),e.options?.origin?(a(),l("small",mV,"Gist ID: "+d(e.details?.source?.gistId),1)):p("v-if",!0),e.options?.username&&e.details?.gist?.ownerLogin?(a(),l("small",hV,"By @"+d(e.anonymizeGistContent(e.details?.gist?.ownerLogin)),1)):p("v-if",!0),e.options?.content&&e.previewGistFiles?.length?(a(),l("div",gV,[n("ul",vV,[(a(!0),l(V,null,X(e.previewGistFiles,(c,v)=>(a(),l("li",yV,[n("div",bV,[n("strong",{textContent:d(c?.filename)},null,8,wV),c?.language?(a(),l("span",kV,d(c?.language),1)):p("v-if",!0)]),Me(o,{file:c,terms:e.terms,options:e.options},null,8,["file","terms","options"])]))),256))])])):p("v-if",!0),e.options?.comments&&e.details?.gist?.comments&&e.details?.gist?.comments?.length?(a(),l("div",CV,[t[200]||(t[200]=n("h3",{class:"paper-section-eyebrow mt-3"},"Comments",-1)),n("ul",SV,[(a(!0),l(V,null,X(e.details?.gist?.comments,(c,v)=>(a(),l("li",EV,[n("div",NV,[e.options?.username?(a(),l("span",RV,[t[198]||(t[198]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-user"})],-1)),t[199]||(t[199]=m(" @",-1)),n("span",{textContent:d(e.anonymizeGistContent(c?.author))},null,8,TV)])):p("v-if",!0),e.options?.date?(a(),l("span",{key:1,class:"pr-comment-date",textContent:d(e.fmt?.date(c?.updatedDate))},null,8,PV)):p("v-if",!0)]),e.options?.body?(a(),l("div",DV,[Me(r,{content:e.anonymizeGistContent(c?.body),options:e.options,terms:e.terms},null,8,["content","options","terms"])])):p("v-if",!0)]))),256))])])):p("v-if",!0)])):e.detectedType==="pr"&&e.previewStatus==="ready"?(a(),l("div",AV,[n("div",IV,[n("h2",OV,[e.options?.title?(a(),l("span",MV,d(e.anonymizePrContent(e.details?.pullRequest?.title)),1)):p("v-if",!0),n("span",{class:R(["badge",{"badge-success":e.details?.pullRequest?.merged,"badge-warning":e.details?.pullRequest?.state=="open","badge-danger":e.details?.pullRequest?.state=="closed"&&!e.details?.pullRequest?.merged}])},d(e.fmt?.title(e.details?.pullRequest?.merged?"merged":e.details?.pullRequest?.state)),3)]),e.options?.date?(a(),l("small",{key:0,textContent:d(e.fmt?.date(e.details?.pullRequest?.updatedDate))},null,8,VV)):p("v-if",!0)]),e.options?.origin?(a(),l("small",LV,"Pull Request on "+d(e.details?.pullRequest?.baseRepositoryFullName),1)):p("v-if",!0),e.options?.body?(a(),l("div",qV,[Me(r,{content:e.anonymizePrContent(e.details?.pullRequest?.body),options:e.options,terms:e.terms},null,8,["content","options","terms"])])):p("v-if",!0),e.options?.diff||e.options?.comments?(a(),l("nav",$V,[e.options?.diff?(a(),l("button",{key:0,class:R(["paper-tab",{active:e.prTabState?.active=="diff"}]),type:"button",role:"tab",id:"preview-pr-diff-tab","aria-selected":e.prTabState?.active==="diff","aria-controls":"preview-pr-diff-panel",tabindex:e.prTabState?.active==="diff"?0:-1,onKeydown:t[59]||(t[59]=c=>e.previewTabKeydown(c)),onClick:t[60]||(t[60]=c=>e.prTabState.active="diff")},[...t[201]||(t[201]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-code"})],-1),m(" Diff ",-1)])],42,FV)):p("v-if",!0),e.options?.comments?(a(),l("button",{key:1,class:R(["paper-tab",{active:e.prTabState?.active=="comments"}]),type:"button",role:"tab",id:"preview-pr-comments-tab","aria-selected":e.prTabState?.active==="comments","aria-controls":"preview-pr-comments-panel",tabindex:e.prTabState?.active==="comments"?0:-1,onKeydown:t[61]||(t[61]=c=>e.previewTabKeydown(c)),onClick:t[62]||(t[62]=c=>e.prTabState.active="comments")},[t[202]||(t[202]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-comment"})],-1)),n("span",{textContent:d(e.fmt.plural(e.details?.pullRequest?.comments?.length,{0:"No comments",one:"1 comment",other:"{} comments"}))},null,8,UV)],42,_V)):p("v-if",!0)])):p("v-if",!0),!e.options?.diff&&!e.options?.comments?(a(),l("div",BV,"Diff and comments are hidden by your display settings.")):p("v-if",!0),n("div",zV,[e.options?.diff&&e.prTabState?.active=="diff"?(a(),l("div",HV,[n("div",{class:"pr-diff",innerHTML:e.sanitize(e.fmt?.diff(e.anonymizePrContent(e.details?.pullRequest?.diff)))},null,8,jV)])):p("v-if",!0),e.options?.comments&&e.prTabState?.active=="comments"?(a(),l("div",GV,[n("ul",WV,[(a(!0),l(V,null,X(e.details?.pullRequest?.comments,(c,v)=>(a(),l("li",KV,[n("div",YV,[e.options?.username?(a(),l("span",JV,[t[203]||(t[203]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-user"})],-1)),t[204]||(t[204]=m(" @",-1)),n("span",{textContent:d(e.anonymizePrContent(c?.author))},null,8,XV)])):p("v-if",!0),e.options?.date?(a(),l("span",{key:1,class:"pr-comment-date",textContent:d(e.fmt?.date(c?.updatedDate))},null,8,QV)):p("v-if",!0)]),e.options?.body?(a(),l("div",ZV,[Me(r,{content:e.anonymizePrContent(c?.body),options:e.options,terms:e.terms},null,8,["content","options","terms"])])):p("v-if",!0)]))),256))])])):p("v-if",!0)])])):p("v-if",!0),p(" More below: a fade with a way to keep reading (hidden by CSS once the window is scrolled to the end) "),e.previewStatus==="ready"&&!(e.detectedType==="repo"&&e.previewFile&&e.previewDoc.note)?(a(),l("div",xV,[e.isUpdate&&e.previewUrl()?(a(),l("a",{key:0,class:"rp-more-btn",href:e.safeUrl(e.previewPath()),target:"_blank",rel:"noopener"},[...t[205]||(t[205]=[m("Continue reading on the reviewer page ",-1),n("span",{"aria-hidden":"true"},"\u2197",-1)])],8,eL)):e.previewExpanded?(a(),l("span",tL,"Scroll for more")):(a(),l("button",{key:1,type:"button",class:"rp-more-btn",onClick:t[63]||(t[63]=c=>e.previewExpanded=!0)},"Continue reading in the expanded preview"))])):p("v-if",!0)],2)],2)],2)])],8,MM)):p("v-if",!0)])],512),[[Q,e.workspaceOpen||e.isUpdate]])],2)}var nL={class:"container-fluid h-100 anonymize-page"},oL={class:"row h-100 flex-column flex-md-row"},sL={class:"col-md sidePanel shadow overflow-auto anonymize-form-col"},iL={class:"form-group"},rL={class:"form-group"},aL={class:"form-check"},lL={class:"form-check-input",type:"checkbox",id:"update",name:"update"},dL={class:"form-group"},uL={class:"form-text text-muted"},cL=["href"],pL={class:"invalid-feedback"},fL={class:"form-text text-muted"},mL={class:"form-group"},hL={id:"idHelp",class:"form-text text-muted"},gL={class:"invalid-feedback"},vL={class:"form-group"},yL={class:"invalid-feedback"},bL={class:"form-group"},wL={class:"form-control",id:"expiration",name:"expiration"},kL={class:"form-group",id:"expiration-date-form"},CL={class:"form-control",type:"date",name:"expirationDate",id:"expirationDate"},SL={key:0,class:"date-echo","aria-live":"polite"},EL={class:"accordion mb-3",id:"options"},NL={class:"card"},RL={id:"collapseOne",class:"collapse show","aria-labelledby":"headingOne","data-parent":"#options"},TL={class:"card-body"},PL={class:"form-group mb-0"},DL={class:"form-check"},AL={class:"form-check-input",type:"checkbox",id:"link",name:"link"},IL={class:"form-check"},OL={class:"form-check-input",type:"checkbox",id:"image",name:"image"},ML={class:"form-check"},VL={class:"form-check-input",type:"checkbox",id:"date",name:"date"},LL={class:"form-check"},qL={class:"form-check-input",type:"checkbox",id:"username",name:"username"},$L={class:"form-check"},FL={class:"form-check-input",type:"checkbox",id:"comments",name:"comments"},_L={class:"form-check"},UL={class:"form-check-input",type:"checkbox",id:"diff",name:"diff"},BL={class:"form-check"},zL={class:"form-check-input",type:"checkbox",id:"origin",name:"origin"},HL={class:"form-check"},jL={class:"form-check-input",type:"checkbox",id:"title",name:"title"},GL={class:"form-check"},WL={class:"form-check-input",type:"checkbox",id:"body",name:"body"},KL=["textContent"],YL={class:"anonymize-submit-bar"},JL={key:0,class:"col-md-8 p-2 overflow-auto anonymize-preview-col"},XL={class:"d-flex w-100 justify-content-between align-items-center flex-wrap"},QL={class:"pr-title mb-1"},ZL={key:0},xL=["textContent"],eq={key:0},tq={key:1,class:"pr-body shadow-sm p-3 mb-4 rounded",style:{background:"var(--sidebar-bg-color)"}},nq={class:"nav nav-tabs",id:"myTab",role:"tablist"},oq={key:0,class:"nav-item",role:"presentation"},sq={key:1,class:"nav-item",role:"presentation"},iq=["textContent"],rq={class:"tab-content",id:"pills-tabContent"},aq={class:"tab-pane show active",id:"pills-diff",role:"tabpanel","aria-labelledby":"pills-diff-tab"},lq={key:0,class:"pr-diff shadow-sm p-3 mb-4 rounded",style:{background:"var(--sidebar-bg-color)"}},dq={style:{"overflow-x":"auto"}},uq=["innerHTML"],cq={key:0,class:"pr-comments list-group"},pq={class:"pr-comment list-group-item"},fq={class:"d-flex w-100 justify-content-between flex-wrap"},mq={key:0,class:"mb-1"},hq=["textContent"],gq={class:"mb-1"};function kp(e,t){let s=Qe("markdown"),i=Pe("field"),o=Pe("form");return a(),l("div",nL,[n("div",oL,[n("div",sL,[n("div",{class:R(["p-0 py-2 m-auto",{card:!e.pullRequestUrl,container:e.pullRequestUrl}])},[P((a(),l("form",{class:R(["form needs-validation",{"card-body":!e.pullRequestUrl}]),name:"anonymizeForm",novalidate:""},[t[30]||(t[30]=Ce('
Anonymize \xA0/\xA0 Pull request

Anonymize a pull request

Fill in the details \u2014 it only takes a minute.

Source
',4)),p(" pullRequestUrl "),n("div",iL,[t[2]||(t[2]=n("label",{for:"pullRequestUrl"},"URL of your pull request",-1)),P(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.anonymize?.pullRequestUrl?.invalid}]),name:"pullRequestUrl",id:"pullRequestUrl",placeholder:"https://github.com/owner/repo/pull/123"},null,2),[[i,{state:e.viewState,set:r=>{e.pullRequestUrl=r},value:e.pullRequestUrl,form:"anonymizeForm",options:{debounce:{default:1e3,blur:0,click:0},updateOn:"default blur click"},change:()=>{e.pullRequestSelected()}}]]),P(n("div",{class:"invalid-feedback"},d(e.pullRequestUrl)+" is not accessible. Some organizations are restricting the access to the repositories. ",513),[[Q,e.anonymize?.pullRequestUrl?.errors?.access]]),P(n("div",{class:"invalid-feedback"},d(e.pullRequestUrl)+" does not exist or is not accessible ",513),[[Q,e.anonymize?.pullRequestUrl?.errors?.missing]]),P(n("div",{class:"invalid-feedback"},d(e.pullRequestUrl)+" is already anonymized ",513),[[Q,e.anonymize?.pullRequestUrl?.errors?.used]])]),P(n("div",null,[n("div",rL,[n("div",aL,[P(n("input",lL,null,512),[[i,{state:e.viewState,set:r=>{e.options.update=r},value:e.options?.update,form:"anonymizeForm",options:{}}]]),t[3]||(t[3]=n("label",{class:"form-check-label",for:"update"},"Auto update",-1)),t[4]||(t[4]=n("small",{id:"updateHelp",class:"form-text text-muted"},"Automatically update the anonymized pull request with the latest updates. The pull request is updated once per day maximum.",-1))])]),t[26]||(t[26]=n("div",{class:"paper-section-eyebrow anonymize-section-title"},[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-conference"})]),m(" Conference ID ")],-1)),p(" Conference "),n("div",dL,[t[5]||(t[5]=n("label",{for:"conference"},[m("Conference ID "),n("span",{class:"text-muted"},"(Optional)")],-1)),P(n("input",{class:R(["form-control",{"is-invalid":e.anonymize?.conference?.invalid}]),id:"conference",name:"conference"},null,2),[[i,{state:e.viewState,set:r=>{e.conference=r},value:e.conference,form:"anonymizeForm",options:{debounce:{default:800,blur:0},updateOn:"default blur"}}]]),P(n("small",uL,[n("a",{target:"_target",href:e.safeUrl(e.conference_data?.url)},d(e.conference_data?.name),9,cL),m(" will expire on "+d(e.fmt?.date(e.conference_data?.endDate))+".",1)],512),[[Q,e.conference_data]]),P(n("div",pL," The conference is not activated. ",512),[[Q,e.anonymize?.conference?.errors?.activated]]),P(n("small",fL," Use the Conference ID that your conference provided you. This will update automatically the anonymization options based on the conference preferences. ",512),[[Q,!e.conference_data]])]),t[27]||(t[27]=n("div",{class:"paper-section-eyebrow anonymize-section-title"},[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-shield"})]),m(" Anonymization Options ")],-1)),p(" Pull Request ID "),n("div",mL,[t[6]||(t[6]=n("label",{for:"pullRequestId"},"Anonymized pull request id",-1)),P(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.anonymize?.pullRequestId?.invalid}]),name:"pullRequestId",id:"pullRequestId"},null,2),[[i,{state:e.viewState,set:r=>{e.pullRequestId=r},value:e.pullRequestId,form:"anonymizeForm",options:{debounce:{default:1e3,blur:0,click:0},updateOn:"default blur click"}}]]),n("small",hL,"Id used in the url: https://anonymous.4open.science/r/"+d(e.pullRequestId),1),P(n("div",gL," Repository id can only contain letters and numbers ",512),[[Q,e.anonymize?.pullRequestId?.errors?.format]]),P(n("div",{class:"invalid-feedback"},d(e.pullRequestId)+" is already used ",513),[[Q,e.anonymize?.pullRequestId?.errors?.used]])]),p(" Terms "),n("div",vL,[t[7]||(t[7]=n("label",{for:"terms"},"Terms to anonymize",-1)),P(n("textarea",{class:R(["form-control",{"is-invalid":e.anonymize?.terms?.invalid}]),id:"terms",name:"terms",rows:"3"},null,2),[[i,{state:e.viewState,set:r=>{e.terms=r},value:e.terms,form:"anonymizeForm",options:{debounce:250}}]]),t[8]||(t[8]=n("small",{id:"termsHelp",class:"form-text text-muted"},"One term per line. Each term will be replaced by XXX.",-1)),P(n("div",yL," Terms are in an invalid format ",512),[[Q,e.anonymize?.terms?.errors?.format]])]),n("div",bL,[t[10]||(t[10]=n("label",{for:"expiration"},"Expiration strategy",-1)),P((a(),l("select",wL,[...t[9]||(t[9]=[n("option",{value:"never",selected:""},"Never expire",-1),n("option",{value:"redirect"}," Redirect to GitHub when expired ",-1),n("option",{value:"remove"},"Remove when expired",-1)])])),[[i,{state:e.viewState,set:r=>{e.options.expirationMode=r},value:e.options?.expirationMode,form:"anonymizeForm",options:{}}]]),t[11]||(t[11]=n("small",{class:"form-text text-muted"},"Define the expiration strategy for the anonymized repository.",-1))]),P(n("div",kL,[t[12]||(t[12]=n("label",{for:"expirationDate"},"Expiration date of the anonymized repository",-1)),P(n("input",CL,null,512),[[i,{state:e.viewState,set:r=>{e.options.expirationDate=r},value:e.options?.expirationDate,form:"anonymizeForm",options:{}}]]),e.fmt?.dateEcho(e.options?.expirationDate)?(a(),l("p",SL,"Expires "+d(e.fmt?.dateEcho(e.options?.expirationDate)),1)):p("v-if",!0),P(n("small",{class:"form-text text-muted"},"After "+d(e.fmt?.date(e.options?.expirationDate))+", the repository will be removed and the visitor will not be able to see the content of the repository.",513),[[Q,e.options?.expirationMode=="remove"]]),P(n("small",{class:"form-text text-muted"},"After "+d(e.fmt?.date(e.options?.expirationDate))+", the visitors of the anonymized repository will be redirected to "+d(e.pullRequestUrl)+".",513),[[Q,e.options?.expirationMode=="redirect"]])],512),[[Q,e.options?.expirationMode!="never"]]),n("div",EL,[n("div",NL,[t[25]||(t[25]=Ce('

',1)),n("div",RL,[n("div",TL,[n("div",PL,[n("div",DL,[P(n("input",AL,null,512),[[i,{state:e.viewState,set:r=>{e.options.link=r},value:e.options?.link,form:"anonymizeForm",options:{}}]]),t[13]||(t[13]=n("label",{class:"form-check-label",for:"link"},"Keep links",-1)),t[14]||(t[14]=n("small",{class:"form-text text-muted"},"Keep or remove all the links.",-1))]),n("div",IL,[P(n("input",OL,null,512),[[i,{state:e.viewState,set:r=>{e.options.image=r},value:e.options?.image,form:"anonymizeForm",options:{}}]]),t[15]||(t[15]=n("label",{class:"form-check-label",for:"image"},"Display images",-1)),t[16]||(t[16]=n("small",{class:"form-text text-muted"},"Images are not anonymized",-1))]),n("div",ML,[P(n("input",VL,null,512),[[i,{state:e.viewState,set:r=>{e.options.date=r},value:e.options?.date,form:"anonymizeForm",options:{}}]]),t[17]||(t[17]=n("label",{class:"form-check-label",for:"date"},"Display dates",-1)),t[18]||(t[18]=n("small",{class:"form-text text-muted"},"Display the date of the Pull Request and the date of the comments.",-1))]),n("div",LL,[P(n("input",qL,null,512),[[i,{state:e.viewState,set:r=>{e.options.username=r},value:e.options?.username,form:"anonymizeForm",options:{}}]]),t[19]||(t[19]=n("label",{class:"form-check-label",for:"username"},"Display username",-1))]),n("div",$L,[P(n("input",FL,null,512),[[i,{state:e.viewState,set:r=>{e.options.comments=r},value:e.options?.comments,form:"anonymizeForm",options:{}}]]),t[20]||(t[20]=n("label",{class:"form-check-label",for:"comments"},"Display comments",-1))]),n("div",_L,[P(n("input",UL,null,512),[[i,{state:e.viewState,set:r=>{e.options.diff=r},value:e.options?.diff,form:"anonymizeForm",options:{}}]]),t[21]||(t[21]=n("label",{class:"form-check-label",for:"diff"},"Display diff",-1))]),n("div",BL,[P(n("input",zL,null,512),[[i,{state:e.viewState,set:r=>{e.options.origin=r},value:e.options?.origin,form:"anonymizeForm",options:{}}]]),t[22]||(t[22]=n("label",{class:"form-check-label",for:"origin"},"Display the project name",-1))]),n("div",HL,[P(n("input",jL,null,512),[[i,{state:e.viewState,set:r=>{e.options.title=r},value:e.options?.title,form:"anonymizeForm",options:{}}]]),t[23]||(t[23]=n("label",{class:"form-check-label",for:"title"},"Display the PR title",-1))]),n("div",GL,[P(n("input",WL,null,512),[[i,{state:e.viewState,set:r=>{e.options.body=r},value:e.options?.body,form:"anonymizeForm",options:{}}]]),t[24]||(t[24]=n("label",{class:"form-check-label",for:"body"},"Display the PR body and comment bodies",-1))])])])])])])],512),[[Q,e.pullRequestUrl]]),e.error?(a(),l("div",{key:0,class:"alert alert-danger",role:"alert",textContent:d(e.error)},null,8,KL)):p("v-if",!0),P(n("div",YL,[e.isUpdate?p("v-if",!0):(a(),l("button",{key:0,id:"submit",type:"submit",class:"btn btn-ink btn-block",onClick:t[0]||(t[0]=de(r=>e.submitForm(r,()=>{e.anonymizePullRequest(r)}),["prevent"]))},[...t[28]||(t[28]=[n("svg",{class:"ui-icon mr-1","aria-hidden":"true"},[n("use",{href:"#ui-icon-shield"})],-1),m(" Anonymize ",-1)])])),e.isUpdate?(a(),l("button",{key:1,id:"submit",type:"submit",class:"btn btn-ink btn-block",onClick:t[1]||(t[1]=de(r=>e.submitForm(r,()=>{e.updatePullRequest(r)}),["prevent"]))},[...t[29]||(t[29]=[n("svg",{class:"ui-icon mr-1","aria-hidden":"true"},[n("use",{href:"#ui-icon-save"})],-1),m(" Update ",-1)])])):p("v-if",!0)],512),[[Q,e.pullRequestUrl]])],2)),[[o,e.viewState]])],2)]),e.details?(a(),l("div",JL,[n("div",XL,[n("h2",QL,[e.options?.title?(a(),l("span",ZL,d(e.anonymize(e.details?.pullRequest?.title)),1)):p("v-if",!0),n("span",{class:R(["badge",{"badge-success":e.details?.pullRequest?.merged,"badge-warning":e.details?.pullRequest?.state=="open","badge-danger":e.details?.pullRequest?.state=="closed"&&!e.details?.pullRequest?.merged}])},d(e.fmt?.title(e.details?.pullRequest?.merged?"merged":e.details?.pullRequest?.state)),3)]),e.options?.date?(a(),l("small",{key:0,textContent:d(e.fmt?.date(e.details?.pullRequest?.updatedDate))},null,8,xL)):p("v-if",!0)]),e.options?.origin?(a(),l("small",eq,"Pull Request on "+d(e.details?.pullRequest?.baseRepositoryFullName),1)):p("v-if",!0),e.options?.body?(a(),l("div",tq,[Me(s,{content:e.anonymize(e.details?.pullRequest?.body),options:e.options,terms:e.terms},null,8,["content","options","terms"])])):p("v-if",!0),n("ul",nq,[e.options?.diff?(a(),l("li",oq,[...t[31]||(t[31]=[n("button",{class:"nav-link active",id:"pills-diff-tab","data-toggle":"pill","data-target":"#pills-diff",type:"button",role:"tab","aria-controls":"pills-diff","aria-selected":"true"}," Diff ",-1)])])):p("v-if",!0),e.options?.comments?(a(),l("li",sq,[n("button",{class:R(["nav-link",{active:!e.options?.diff}]),id:"pills-comments-tab","data-toggle":"pill","data-target":"#pills-comments",type:"button",role:"tab","aria-controls":"pills-comments","aria-selected":"false"},[n("span",{textContent:d(e.fmt.plural(e.details?.pullRequest?.comments?.length,{0:"No comment",one:"One Comment",other:"{} Comments"}))},null,8,iq)],2)])):p("v-if",!0)]),n("div",rq,[n("div",aq,[e.options?.diff?(a(),l("div",lq,[n("pre",dq,[n("code",{innerHTML:e.sanitize(e.fmt?.diff(e.anonymize(e.details?.pullRequest?.diff)))},null,8,uq)])])):p("v-if",!0)]),n("div",{class:R(["tab-pane",{"show active":!e.options?.diff}]),id:"pills-comments",role:"tabpanel","aria-labelledby":"pills-comments-tab"},[e.options?.comments?(a(),l("ul",cq,[(a(!0),l(V,null,X(e.details?.pullRequest?.comments,(r,u)=>(a(),l("li",pq,[n("div",fq,[e.options?.username?(a(),l("h5",mq," @"+d(e.anonymize(r?.author)),1)):p("v-if",!0),e.options?.date?(a(),l("small",{key:1,textContent:d(e.fmt?.date(r?.updatedDate))},null,8,hq)):p("v-if",!0)]),n("p",gq,[e.options?.body?(a(),Xt(s,{key:0,class:"pr-comment-body",content:e.anonymize(r?.body),options:e.options,terms:e.terms},null,8,["content","options","terms"])):p("v-if",!0)])]))),256))])):p("v-if",!0)],2)])])):p("v-if",!0)])])}var vq={class:"container paper-page claim-page"},yq={class:"paper-settings-main claim-form"},bq={class:"form-group"},wq={class:"invalid-feedback"},kq={class:"form-group"};function Cp(e,t){let s=Pe("field"),i=Pe("form");return a(),l("div",vq,[t[6]||(t[6]=Ce('
My work \xA0/\xA0 Claim

Claim an anonymization

Take ownership of an existing anonymized repository so it appears on your dashboard.

',3)),n("div",yq,[t[5]||(t[5]=n("p",{class:"paper-section-copy"},"Use this when an anonymization was created by a co-author or from another account. You must have access to the GitHub repository it was made from.",-1)),P((a(),l("form",{class:"form needs-validation",name:"claimForm",novalidate:"",onSubmit:t[0]||(t[0]=de(o=>e.submitForm(o,()=>{e.claim()}),["prevent"]))},[n("div",bq,[t[1]||(t[1]=n("label",{class:"paper-field-label",for:"repoUrl"},"GitHub repository URL",-1)),P(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.claimForm?.repoUrl?.invalid&&(e.claimForm?.repoUrl?.touched||e.claimForm?.submitted)}]),name:"repoUrl",id:"repoUrl",placeholder:"https://github.com/owner/repository",required:""},null,2),[[s,{state:e.viewState,set:o=>{e.repoUrl=o},value:e.repoUrl,form:"claimForm",options:{}}]]),P(n("div",wq," No anonymization matches this repository and ID. Check both values and that you can access the repository on GitHub. ",512),[[Q,e.claimForm?.repoUrl?.errors?.not_found]])]),n("div",kq,[t[2]||(t[2]=n("label",{class:"paper-field-label",for:"repoId"},"Anonymized repository ID",-1)),P(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.claimForm?.repoId?.invalid&&(e.claimForm?.repoId?.touched||e.claimForm?.submitted)}]),name:"repoId",id:"repoId",placeholder:"e.g. my-paper-7F2A","aria-describedby":"idHelp",required:""},null,2),[[s,{state:e.viewState,set:o=>{e.repoId=o},value:e.repoId,form:"claimForm",options:{}}]]),t[3]||(t[3]=n("small",{id:"idHelp",class:"form-text text-muted"},[m("The ID is the last part of the anonymized URL: "),n("code",null,"anonymous.4open.science/r/"),m(".")],-1))]),t[4]||(t[4]=n("button",{id:"submit",type:"submit",class:"btn btn-ink"}," Claim anonymization ",-1))],32)),[[i,e.viewState]])])])}var Cq={class:"container page paper-page conference-page"},Sq={class:"paper-crumbs"},Eq={class:"here"},Nq={class:"d-flex align-items-end flex-wrap",style:{gap:"12px","justify-content":"space-between"}},Rq={class:"conf-title-row"},Tq=["textContent"],Pq={key:0,class:"conf-status"},Dq=["textContent"],Aq={key:0,class:"paper-page-lede"},Iq=["textContent","href"],Oq={class:"d-flex align-items-center flex-wrap",style:{gap:"10px"}},Mq=["href"],Vq={class:"paper-meta-rule"},Lq=["textContent"],qq=["textContent"],$q={key:0},Fq={key:0,class:"conference-payment-status",role:"status"},_q=["disabled"],Uq={key:1,role:"alert"},Bq={key:2,class:"paper-settings-section","aria-labelledby":"conference-payment-heading"},zq={key:0,role:"status"},Hq={key:1,role:"alert"},jq=["onClick","disabled"],Gq={class:"dashboard-meta conf-view-meta"},Wq={class:"dashboard-view-tabs",role:"group","aria-label":"Repository view"},Kq=["aria-pressed"],Yq=["aria-pressed","aria-label"],Jq=["aria-pressed"],Xq={class:"attention-count"},Qq={class:"dashboard-count",role:"status"},Zq={class:"search-wrap"},xq={type:"search",id:"search",class:"form-control","aria-label":"Search repositories",placeholder:"Search repositories\u2026",autocomplete:"off"},e$={class:"dashboard-filter-controls"},t$={class:"dropdown"},n$={class:"btn dropdown-toggle",type:"button",id:"dropdownSort","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"},o$={class:"filter-btn-value"},s$={class:"dropdown-menu","aria-labelledby":"dropdownSort"},i$={class:"form-check dropdown-item"},r$={class:"form-check-input",type:"radio",name:"sort",id:"anonymizeDate",value:"-anonymizeDate"},a$={class:"form-check dropdown-item"},l$={class:"form-check-input",type:"radio",name:"sort",id:"sortID",value:"repoId"},d$={class:"form-check dropdown-item"},u$={class:"form-check-input",type:"radio",name:"sort",id:"sortStatus",value:"-status"},c$={class:"form-check dropdown-item"},p$={class:"form-check-input",type:"radio",name:"sort",id:"sortViews",value:"-pageView"},f$={class:"dashboard-page conf-rows"},m$=["aria-busy"],h$={key:0,class:"paper-table-row paper-table-skeleton",role:"row","aria-hidden":"true"},g$={class:"cell-anon",role:"cell"},v$={class:"anon-text"},y$={class:"anon-title"},b$=["title","href"],w$={class:"rn-owner"},k$={class:"rn-repo"},C$={class:"anon-sub"},S$=["title"],E$={class:"id-head"},N$={class:"id-tail"},R$=["title"],T$={class:"dashboard-row-meta",role:"presentation"},P$={class:"cell-status",role:"cell"},D$={class:"status-line"},A$=["textContent"],I$=["textContent","title"],O$=["href"],M$=["onClick","disabled"],V$={key:3,class:"status-sub status-sub-date"},L$=["data-unit","aria-label"],q$={class:"cell-expires",role:"cell"},$$={key:0,class:"expires-never"},F$=["textContent"],_$={key:2,class:"expires-past"},U$={key:3,class:"empty-dash","aria-label":"Not applicable"},B$={class:"cell-actions",role:"cell"},z$=["onClick","disabled","title","aria-label"],H$={class:"sr-only","aria-live":"polite"},j$={class:"project-type-svg","aria-hidden":"true"},G$=["href"],W$={class:"copy-url-label","aria-hidden":"true"},K$=["href","aria-label"],Y$={class:"dropdown"},J$=["aria-label"],X$={class:"dropdown-menu dropdown-menu-right"},Q$=["href"],Z$=["href"],x$=["href"],eF={key:0,class:"paper-table-empty"},tF={key:0},nF={key:1},oF={key:2,class:"paper-table-empty-actions"};function Sp(e,t){let s=Pe("field"),i=Pe("form");return a(),l("div",Cq,[n("div",null,[n("div",Sq,[t[6]||(t[6]=n("a",{href:"/dashboard"},"My work",-1)),t[7]||(t[7]=m(" \xA0/\xA0 ",-1)),t[8]||(t[8]=n("a",{href:"/conferences"},"Conferences",-1)),t[9]||(t[9]=m(" \xA0/\xA0 ",-1)),n("span",Eq,d(e.conference?.conferenceID),1)]),n("div",Nq,[n("div",null,[n("div",Rq,[n("h1",{class:"paper-page-title",textContent:d(e.conference?.name)},null,8,Tq),e.conference?.status?(a(),l("span",Pq,[n("span",{class:R(["status-dot","status-"+e.conference?.status]),"aria-hidden":"true"},null,2),n("span",{textContent:d(e.fmt?.statusLabel(e.conference?.status))},null,8,Dq)])):p("v-if",!0)]),e.conference?.url?(a(),l("p",Aq,[n("a",{target:"_blank",rel:"noopener",textContent:d(e.conference?.url),href:e.safeUrl(e.conference?.url)},null,8,Iq)])):p("v-if",!0)]),n("div",Oq,[n("a",{class:"btn btn-outline-ink",href:e.safeUrl("/conference/"+e.conference?.conferenceID+"/edit")},[...t[10]||(t[10]=[n("svg",{class:"ui-icon mr-1","aria-hidden":"true"},[n("use",{href:"#ui-icon-edit"})],-1),m(" Edit conference",-1)])],8,Mq)])]),n("div",Vq,[n("span",null,[t[11]||(t[11]=m("ID ",-1)),n("b",{class:"commit-hash",textContent:d(e.conference?.conferenceID)},null,8,Lq)]),n("span",null,[t[12]||(t[12]=m("Review window ",-1)),n("b",null,d(e.fmt?.date(e.conference?.startDate,"mediumDate"))+" \u2013 "+d(e.fmt?.date(e.conference?.endDate,"mediumDate")),1)]),n("span",null,[t[13]||(t[13]=m("Repositories ",-1)),n("b",null,d(e.fmt?.number(e.conference?.repositories?.length)),1)]),n("span",null,[t[14]||(t[14]=m("Plan ",-1)),n("b",{textContent:d(e.conferencePlanName(e.conference?.plan?.planID))},null,8,qq)]),e.conference?.price?(a(),l("span",$q,[t[15]||(t[15]=m("Cost so far ",-1)),n("b",null,d(e.fmt?.money(e.conference?.price)),1)])):p("v-if",!0)]),e.billingNotice?(a(),l("div",Fq,[n("p",null,d(e.billingNotice),1),n("button",{type:"button",class:"btn btn-outline-ink",onClick:t[0]||(t[0]=o=>e.refreshBilling()),disabled:e.billingBusy},"Check payment status",8,_q)])):p("v-if",!0),e.billingError&&e.conference?.status!=="pending_payment"?(a(),l("p",Uq,d(e.billingError),1)):p("v-if",!0),e.conference?.status==="pending_payment"?(a(),l("section",Bq,[t[16]||(t[16]=n("h2",{id:"conference-payment-heading"},"Activate your review package",-1)),t[17]||(t[17]=n("p",null,"This conference is waiting for payment. Authors can join after payment is confirmed. Checkout returns to this conference. Authors within the package do not pay separately.",-1)),e.billingLoading?(a(),l("p",zq,"Loading payment options\u2026")):p("v-if",!0),e.billingError?(a(),l("p",Hq,d(e.billingError),1)):p("v-if",!0),(a(!0),l(V,null,X((e.billing?.plans||[]).filter(o=>o.id===e.conference?.plan?.planID),o=>(a(),l("div",{key:o.id},[n("p",null,[n("strong",null,d(o.name)+" package",1),m(": "+d(e.billingPrice(o))+" for up to "+d(o.repositories)+" repositories and "+d(e.billingBytes(o.storage))+" of source files during the review window. Taxes, if applicable, appear at checkout.",1)]),n("button",{type:"button",class:"btn btn-primary",onClick:r=>e.checkout(o.id,e.conference.conferenceID),disabled:e.billingBusy||e.billingPending||e.billing?.checkoutEnabled===!1},d(e.billingBusy?"Please wait\u2026":"Pay for review package"),9,jq)]))),128)),t[18]||(t[18]=n("p",null,[n("a",{href:"/profile#settings-billing"},"Manage invoices")],-1))])):p("v-if",!0),n("div",Gq,[n("div",Wq,[n("button",{type:"button","aria-pressed":e.confView()==="current",onClick:t[1]||(t[1]=o=>e.setConfView("current")),title:"Every repository except removed links"},"Current",8,Kq),e.confCount("attention")>0||e.confView()==="attention"?(a(),l("button",{key:0,type:"button","aria-pressed":e.confView()==="attention",onClick:t[2]||(t[2]=o=>e.setConfView("attention")),"aria-label":"Needs attention "+e.confCount("attention")},[t[19]||(t[19]=n("span",{class:"dashboard-attention-prefix"},"Needs ",-1)),t[20]||(t[20]=n("span",null,"attention",-1)),t[21]||(t[21]=m()),n("span",{class:R(["attention-count",{"has-attention":e.confCount("attention")>0}])},d(e.fmt?.number(e.confCount("attention"))),3)],8,Yq)):p("v-if",!0),e.confCount("removed")>0||e.confView()==="removed"?(a(),l("button",{key:1,type:"button","aria-pressed":e.confView()==="removed",onClick:t[3]||(t[3]=o=>e.setConfView("removed")),title:"Links reviewers can no longer open"},[t[22]||(t[22]=m("Removed ",-1)),n("span",Xq,d(e.fmt?.number(e.confCount("removed"))),1)],8,Jq)):p("v-if",!0)]),n("span",Qq,d(e.conferenceLoaded?e.search.trim()?e.fmt?.number(e.filteredRepositories?.length||0)+" shown":e.fmt?.number(e.filteredRepositories?.length||0)+((e.filteredRepositories?.length||0)===1?" repository":" repositories"):""),1)]),P((a(),l("form",{class:"w-100 conf-repo-toolbar","aria-label":"Filter repositories","accept-charset":"UTF-8",onSubmit:t[4]||(t[4]=de(o=>e.submitForm(o,()=>{o.preventDefault()}),["prevent"]))},[n("div",Zq,[P(n("input",xq,null,512),[[s,{state:e.viewState,set:o=>{e.search=o},value:e.search,form:null,options:{}}]])]),n("div",e$,[n("div",t$,[n("button",n$,[t[23]||(t[23]=n("span",{class:"filter-btn-label"},"Sort",-1)),n("span",o$,d({"-anonymizeDate":"Anonymize date",repoId:"ID","-status":"Status","-pageView":"Views"}[e.orderBy]||"Custom"),1)]),n("div",s$,[t[28]||(t[28]=n("h6",{class:"dropdown-header"},"Order by",-1)),n("div",i$,[P(n("input",r$,null,512),[[s,{state:e.viewState,set:o=>{e.orderBy=o},value:e.orderBy,form:null,options:{}}]]),t[24]||(t[24]=n("label",{class:"form-check-label",for:"anonymizeDate"},"Anonymize date",-1))]),n("div",a$,[P(n("input",l$,null,512),[[s,{state:e.viewState,set:o=>{e.orderBy=o},value:e.orderBy,form:null,options:{}}]]),t[25]||(t[25]=n("label",{class:"form-check-label",for:"sortID"},"ID",-1))]),n("div",d$,[P(n("input",u$,null,512),[[s,{state:e.viewState,set:o=>{e.orderBy=o},value:e.orderBy,form:null,options:{}}]]),t[26]||(t[26]=n("label",{class:"form-check-label",for:"sortStatus"},"Status",-1))]),n("div",c$,[P(n("input",p$,null,512),[[s,{state:e.viewState,set:o=>{e.orderBy=o},value:e.orderBy,form:null,options:{}}]]),t[27]||(t[27]=n("label",{class:"form-check-label",for:"sortViews"},"Views",-1))])])])])],32)),[[i,e.viewState]]),n("div",f$,[n("div",{class:R(["paper-table paper-table-dashboard paper-table-conf w-100",{"is-removed-view":e.confView()==="removed"}]),role:"table","aria-label":"Repositories","aria-busy":!e.conferenceLoaded},[t[38]||(t[38]=n("div",{class:"paper-table-head",role:"row"},[n("div",{role:"columnheader"},"Repository"),n("div",{role:"columnheader"},"Status"),n("div",{role:"columnheader",class:"num"},"Views"),n("div",{role:"columnheader"},"Expires"),n("div",{role:"columnheader"},[n("span",{class:"sr-only"},"Actions")])],-1)),(a(),l(V,null,X([1,2,3,4],(o,r)=>(a(),l(V,null,[e.conferenceLoaded?p("v-if",!0):(a(),l("div",h$,[...t[29]||(t[29]=[n("div",{class:"cell-anon",role:"cell"},[n("span",{class:"skeleton skeleton-badge"}),n("div",{class:"anon-text"},[n("span",{class:"skeleton skeleton-line",style:{width:"38%"}}),n("span",{class:"skeleton skeleton-line skeleton-line-sm",style:{width:"56%"}})])],-1),n("div",{class:"cell-status",role:"cell"},[n("span",{class:"skeleton skeleton-line",style:{width:"60%"}})],-1),n("div",{class:"cell-views num",role:"cell"},[n("span",{class:"skeleton skeleton-line",style:{width:"40%"}})],-1),n("div",{class:"cell-expires",role:"cell"},[n("span",{class:"skeleton skeleton-line",style:{width:"55%"}})],-1),n("div",{class:"cell-actions",role:"cell"},null,-1)])]))],64))),64)),(a(!0),l(V,null,X(e.filteredRepositories,(o,r)=>(a(),l("div",{class:R(["paper-table-row",{"repo-inactive":o?.status=="expired"||o?.status=="removed","repo-error":o?.status=="error"}]),role:"row",key:o?.repoId},[n("div",g$,[t[31]||(t[31]=n("span",{class:"project-type-icon",role:"img","aria-label":"Repository",title:"Repository"},[n("svg",{class:"project-type-svg","aria-hidden":"true"},[n("use",{href:"#project-type-repo"})])],-1)),n("div",v$,[n("div",y$,[n("a",{class:"repo-name",title:o?.source?.fullName,href:e.safeUrl("/r/"+o?.repoId+"/")},[(o?.source?.fullName||"").indexOf("/")>0?(a(),l(V,{key:0},[n("span",w$,d(o.source.fullName.slice(0,o.source.fullName.indexOf("/")+1)),1),t[30]||(t[30]=n("wbr",null,null,-1)),n("span",k$,d(o.source.fullName.slice(o.source.fullName.indexOf("/")+1)),1)],64)):(a(),l(V,{key:1},[m(d(o?.source?.fullName||o?.repoId),1)],64))],8,b$)]),n("div",C$,[n("code",{class:"anonymous-id",title:o?.repoId},[(o?.repoId||"").length>14?(a(),l(V,{key:0},[n("span",E$,d(o.repoId.slice(0,-6)),1),n("span",N$,d(o.repoId.slice(-6)),1)],64)):(a(),l(V,{key:1},[m(d(o?.repoId),1)],64))],8,S$),o?.source?.commit?(a(),l("span",{key:0,class:"commit-hash",title:o.source.commit},d(o.source.commit.substring(0,7)),9,R$)):p("v-if",!0)])])]),n("div",T$,[n("div",P$,[n("div",D$,[n("span",{class:R(["status-dot","status-"+(o?.status=="error"?"error":o?.status=="ready"?"ready":o?.status=="expired"||o?.status=="removed"?o?.status:"progress")]),"aria-hidden":"true"},null,2),n("span",{class:"status-word",textContent:d(e.fmt?.statusLabel(o?.status))},null,8,A$)]),o?.status=="error"&&o?.statusMessage?(a(),l("div",{key:0,class:"status-sub status-sub-error",textContent:d(e.fmt?.statusMsg(o?.statusMessage)),title:o?.statusMessage},null,8,I$)):p("v-if",!0),o?.status=="error"?(a(),l("a",{key:1,class:"project-attention-action",href:e.safeUrl("/status/"+o?.repoId)},"View status",8,O$)):p("v-if",!0),o?.status=="expired"?(a(),l("button",{key:2,type:"button",class:"project-attention-action",onClick:de(u=>e.extendRepo(o),["stop"]),disabled:e.extendingId===o?.repoId,title:"Reviewers can no longer open this link"},"Extend 6 months",8,M$)):p("v-if",!0),o?.anonymizeDate&&o?.status!="error"&&o?.status!="expired"?(a(),l("div",V$,"anonymized "+d(e.fmt?.humanTime(o?.anonymizeDate)),1)):p("v-if",!0)]),n("div",{class:"cell-views num",role:"cell","data-unit":(o?.pageView||0)===1?"view":"views","aria-label":e.fmt?.number(o?.pageView||0)+((o?.pageView||0)===1?" view":" views")},[t[32]||(t[32]=n("svg",{class:"project-type-svg mobile-meta-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-eye"})],-1)),n("span",null,d(e.fmt?.number(o?.pageView||0)),1)],8,L$),n("div",q$,[t[34]||(t[34]=n("svg",{class:"project-type-svg mobile-meta-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-clock"})],-1)),o?.status=="ready"&&(o?.options?.expirationMode==="never"||!o?.options?.expirationDate)?(a(),l("span",$$,"No expiry")):p("v-if",!0),o?.status=="ready"&&o?.options?.expirationMode!=="never"&&o?.options?.expirationDate?(a(),l("span",{key:1,textContent:d((e.fmt?.humanTime(o?.options?.expirationDate)||"").replace(/^on /,""))},null,8,F$)):p("v-if",!0),o?.status=="expired"?(a(),l("span",_$,[t[33]||(t[33]=n("span",{class:"expires-past-prefix"},"Expired ",-1)),m(d(e.fmt?.shortDate(o?.options?.expirationDate)),1)])):p("v-if",!0),o?.status!="ready"&&o?.status!="expired"?(a(),l("span",U$,"\u2014")):p("v-if",!0)])]),n("div",B$,[o?.status!="expired"&&o?.status!="removed"?(a(),l("button",{key:0,type:"button",class:"copy-url",onClick:de(u=>e.copyRepoLink(o),["stop"]),disabled:!!e.copyingId,title:"Copy link: /r/"+o?.repoId+"/","aria-label":"Copy anonymous link for "+o?.repoId},[n("span",H$,d(e.copyingId===o?.repoId?"Link copied":""),1),(a(),l("svg",j$,[n("use",{href:e.copyingId===o?.repoId?"#ui-icon-check":"#project-icon-copy"},null,8,G$)])),n("span",W$,d(e.copyingId===o?.repoId?"Copied":"Copy link"),1)],8,z$)):p("v-if",!0),o?.status!="expired"&&o?.status!="removed"?(a(),l("a",{key:1,class:"row-edit row-open",href:e.safeUrl("/r/"+o?.repoId+"/"),target:"_blank",rel:"noopener",title:"Open what reviewers see","aria-label":"Open anonymous page for "+o?.repoId},[...t[35]||(t[35]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-external-link"})],-1)])],8,K$)):p("v-if",!0),n("div",Y$,[n("button",{class:"btn btn-icon-dots",type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false","aria-label":"Actions for "+o?.repoId},[...t[36]||(t[36]=[n("svg",{class:"project-type-svg","aria-hidden":"true"},[n("use",{href:"#project-icon-more"})],-1)])],8,J$),n("div",X$,[n("a",{class:"dropdown-item",href:e.safeUrl("/r/"+o?.repoId+"/")},"View",8,Q$),n("a",{class:"dropdown-item",href:e.safeUrl("https://github.com/"+o?.source?.fullName+"/"),target:"_blank",rel:"noopener"},"Open source on GitHub",8,Z$),n("a",{class:"dropdown-item",href:e.safeUrl("/anonymize/"+o?.repoId)},"Edit",8,x$)])])])],2))),128)),e.conferenceLoaded&&e.filteredRepositories?.length==0?(a(),l("div",eF,[t[37]||(t[37]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-inbox"})],-1)),e.conference?.repositories?.length?p("v-if",!0):(a(),l("span",tF,"No repository has been submitted to this conference yet.")),e.conference?.repositories?.length?(a(),l("span",nF,"Nothing matches the current filters.")):p("v-if",!0),e.conference?.repositories?.length?(a(),l("div",oF,[n("button",{type:"button",class:"btn btn-outline-ink",onClick:t[5]||(t[5]=o=>{e.search="",e.setConfView("current")})},"Clear filters")])):p("v-if",!0)])):p("v-if",!0)],10,m$)])])])}var sF={class:"container page paper-page conferences-page"},iF={class:"row"},rF={class:"w-100"},aF={class:"d-flex align-items-start justify-content-between flex-wrap page-head-row page-head page-head-main",style:{gap:"12px"}},lF={key:0,href:"/conference/new",class:"btn btn-primary"},dF={class:"search-wrap"},uF={type:"search",id:"search",class:"form-control","aria-label":"Search conferences",placeholder:"Search by name or ID\u2026",autocomplete:"off"},cF={class:"dashboard-filter-controls"},pF={class:"dropdown"},fF={class:"btn dropdown-toggle",type:"button",id:"dropdownSort","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"},mF={class:"filter-btn-value"},hF={class:"dropdown-menu","aria-labelledby":"dropdownSort"},gF={class:"form-check dropdown-item"},vF={class:"form-check-input",type:"radio",name:"sort",id:"sortName",value:"name"},yF={class:"form-check dropdown-item"},bF={class:"form-check-input",type:"radio",name:"sort",id:"sortID",value:"conferenceID"},wF={class:"form-check dropdown-item"},kF={class:"form-check-input",type:"radio",name:"sort",id:"sortStatus",value:"-status"},CF={class:"dropdown"},SF={class:"btn dropdown-toggle",type:"button",id:"dropdownStatus","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"},EF={key:0,class:"filter-btn-value"},NF={key:1,class:"filter-btn-value"},RF={class:"dropdown-menu","aria-labelledby":"dropdownStatus"},TF={class:"form-check dropdown-item"},PF=["id"],DF=["for"],AF={key:1,class:"dashboard-meta"},IF={class:"dashboard-count"},OF={key:0},MF={key:0},VF={key:1},LF={key:0,class:"filter-chip"},qF=["onClick","aria-label"],$F={key:0,class:"conference-feedback",role:"alert"},FF={key:1,class:"sr-only",role:"status"},_F=["aria-busy"],UF={key:0,class:"paper-table-row paper-table-skeleton",role:"row","aria-hidden":"true"},BF={class:"cell-anon",role:"cell"},zF={class:"anon-text"},HF=["textContent","href"],jF={class:"anon-sub"},GF={class:"anon-source"},WF=["textContent"],KF={key:0},YF=["textContent","href"],JF={class:"cell-status",role:"cell"},XF={class:"status-line"},QF=["textContent"],ZF={class:"cell-views num",role:"cell"},xF=["textContent"],e_={class:"cell-expires",role:"cell"},t_={key:0},n_={key:1,class:"empty-dash","aria-label":"No review window"},o_={class:"cell-actions",role:"cell"},s_={class:"dropdown"},i_=["disabled","aria-label"],r_={class:"dropdown-menu dropdown-menu-right"},a_=["href"],l_=["href"],d_={key:0},u_=["onClick"],c_={key:0,class:"paper-table-empty"},p_={key:0,class:"empty-icon","aria-hidden":"true"},f_={key:1,class:"ui-icon","aria-hidden":"true"},m_={key:3},h_={class:"paper-table-empty-actions"},g_={key:0,href:"/conference/new",class:"btn btn-primary conf-empty-new"};function Ep(e,t){let s=Pe("field"),i=Pe("form");return a(),l("div",sF,[n("div",iF,[n("div",rF,[n("div",aF,[t[4]||(t[4]=n("div",null,[n("h1",{class:"paper-page-title"},[m("Your "),n("em",null,"conferences")]),n("p",{class:"paper-page-lede"},"Group anonymizations by venue, give chairs a shared dashboard, and set one expiry for every submission.")],-1)),e.conferences&&e.conferences.length==0?p("v-if",!0):(a(),l("a",lF,[...t[3]||(t[3]=[n("svg",{class:"ui-icon mr-1","aria-hidden":"true"},[n("use",{href:"#project-icon-plus"})],-1),m(" New conference ",-1)])]))]),e.conferences?.length>0?P((a(),l("form",{key:0,class:"w-100 dashboard-filter-row","aria-label":"Filter conferences","accept-charset":"UTF-8",onSubmit:t[0]||(t[0]=de(o=>e.submitForm(o,()=>{o.preventDefault()}),["prevent"]))},[n("div",dF,[P(n("input",uF,null,512),[[s,{state:e.viewState,set:o=>{e.search=o},value:e.search,form:null,options:{}}]])]),n("div",cF,[n("div",pF,[n("button",fF,[t[5]||(t[5]=n("span",{class:"filter-btn-label"},"Sort",-1)),n("span",mF,d({name:"Name",conferenceID:"ID","-status":"Status"}[e.orderBy]||"Custom"),1)]),n("div",hF,[t[9]||(t[9]=n("h6",{class:"dropdown-header"},"Order by",-1)),n("div",gF,[P(n("input",vF,null,512),[[s,{state:e.viewState,set:o=>{e.orderBy=o},value:e.orderBy,form:null,options:{}}]]),t[6]||(t[6]=n("label",{class:"form-check-label",for:"sortName"},"Name",-1))]),n("div",yF,[P(n("input",bF,null,512),[[s,{state:e.viewState,set:o=>{e.orderBy=o},value:e.orderBy,form:null,options:{}}]]),t[7]||(t[7]=n("label",{class:"form-check-label",for:"sortID"},"ID",-1))]),n("div",wF,[P(n("input",kF,null,512),[[s,{state:e.viewState,set:o=>{e.orderBy=o},value:e.orderBy,form:null,options:{}}]]),t[8]||(t[8]=n("label",{class:"form-check-label",for:"sortStatus"},"Status",-1))])])]),n("div",CF,[n("button",SF,[t[10]||(t[10]=n("span",{class:"filter-btn-label"},"Status",-1)),e.filters?.status?.ready&&e.filters?.status?.expired&&e.filters?.status?.removed?(a(),l("span",EF,"All")):p("v-if",!0),e.filters?.status?.ready&&e.filters?.status?.expired&&e.filters?.status?.removed?p("v-if",!0):(a(),l("span",NF,d((e.filters?.status?.ready?0:1)+(e.filters?.status?.expired?0:1)+(e.filters?.status?.removed?0:1))+" hidden ",1))]),n("div",RF,[t[11]||(t[11]=n("h6",{class:"dropdown-header"},"Show statuses",-1)),(a(!0),l(V,null,X(e.statusLabels,(o,r,u)=>(a(),l("div",TF,[P(n("input",{class:"form-check-input",type:"checkbox",id:"status-"+r},null,8,PF),[[s,{state:e.viewState,set:f=>{e.filters.status[r]=f},value:e.filters?.status[r],form:null,options:{}}]]),n("label",{class:"form-check-label",for:"status-"+r},d(o),9,DF)]))),256))])])])],32)),[[i,e.viewState]]):p("v-if",!0),e.conferences?.length>0?(a(),l("div",AF,[n("span",IF,[e.filteredConferences?.length===e.conferences?.length?(a(),l("span",OF,[m(d(e.fmt?.number(e.conferences?.length))+" conference",1),e.conferences?.length!==1?(a(),l("span",MF,"s")):p("v-if",!0)])):p("v-if",!0),e.filteredConferences?.length!==e.conferences?.length?(a(),l("span",VF,d(e.fmt?.number(e.filteredConferences?.length))+" of "+d(e.fmt?.number(e.conferences?.length))+" shown",1)):p("v-if",!0)]),(a(!0),l(V,null,X(e.filters?.status,(o,r,u)=>(a(),l(V,null,[o===!1?(a(),l("span",LF,[m(" Hiding "+d(e.statusLabels[r])+" ",1),n("button",{type:"button",class:"filter-chip-close",onClick:f=>{e.filters.status[r]=!0},"aria-label":"Show "+e.statusLabels[r]+" again"},"\xD7",8,qF)])):p("v-if",!0)],64))),256))])):p("v-if",!0)]),e.error?(a(),l("div",$F,[n("span",null,d(e.error),1),n("button",{type:"button",class:"btn btn-outline-ink",onClick:t[1]||(t[1]=o=>e.loadConferences())},"Retry")])):p("v-if",!0),e.loading?(a(),l("p",FF,"Loading conferences\u2026")):p("v-if",!0),n("div",{class:"paper-table paper-table-conferences w-100",role:"table","aria-label":"Conferences","aria-busy":e.loading?"true":"false"},[t[29]||(t[29]=n("div",{class:"paper-table-head",role:"row"},[n("div",{role:"columnheader"},"Conference"),n("div",{role:"columnheader"},"Status"),n("div",{role:"columnheader",class:"num"},"Repos"),n("div",{role:"columnheader"},"Review window"),n("div",{role:"columnheader"},[n("span",{class:"sr-only"},"Actions")])],-1)),(a(),l(V,null,X([1,2,3],(o,r)=>(a(),l(V,null,[e.loading?(a(),l("div",UF,[...t[12]||(t[12]=[n("div",{class:"cell-anon",role:"cell"},[n("div",{class:"anon-text"},[n("span",{class:"skeleton skeleton-line",style:{width:"46%"}}),n("span",{class:"skeleton skeleton-line skeleton-line-sm",style:{width:"30%"}})])],-1),n("div",{role:"cell"},[n("span",{class:"skeleton skeleton-line",style:{width:"56%"}})],-1),n("div",{class:"num",role:"cell"},[n("span",{class:"skeleton skeleton-line",style:{width:"32%","margin-left":"auto"}})],-1),n("div",{role:"cell"},[n("span",{class:"skeleton skeleton-line",style:{width:"72%"}})],-1),n("div",{role:"cell"},null,-1)])])):p("v-if",!0)],64))),64)),(a(!0),l(V,null,X(e.filteredConferences,(o,r)=>(a(),l("div",{class:R(["paper-table-row row-clickable",{"repo-inactive":o?.status=="expired"||o?.status=="removed"}]),role:"row",key:o?.conferenceID},[n("div",BF,[t[15]||(t[15]=n("svg",{class:"ui-icon record-type-icon",role:"img","aria-label":"Conference"},[n("use",{href:"#project-icon-conference"})],-1)),n("div",zF,[n("a",{class:"repo-name",textContent:d(o?.name),href:e.safeUrl("/conference/"+o?.conferenceID)},null,8,HF),n("div",jF,[n("span",GF,[t[14]||(t[14]=m("ID ",-1)),n("span",{class:"commit-hash",textContent:d(o?.conferenceID)},null,8,WF),o?.url?(a(),l("span",KF,[t[13]||(t[13]=m(" \xB7 ",-1)),n("a",{target:"_blank",rel:"noopener",textContent:d(e.fmt?.limitTo(o?.url,60)),href:e.safeUrl(o?.url)},null,8,YF)])):p("v-if",!0)])])])]),n("div",JF,[n("div",XF,[n("span",{class:R(["status-dot","status-"+o?.status]),"aria-hidden":"true"},null,2),n("span",{class:"status-word",textContent:d(e.fmt?.statusLabel(o?.status))},null,8,QF)])]),n("div",ZF,[t[16]||(t[16]=n("svg",{class:"ui-icon mobile-meta-icon","aria-hidden":"true"},[n("use",{href:"#project-type-repo"})],-1)),t[17]||(t[17]=m()),n("span",{textContent:d(e.fmt?.number(o?.nbRepositories||0))},null,8,xF)]),n("div",e_,[t[18]||(t[18]=n("svg",{class:"ui-icon mobile-meta-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-clock"})],-1)),o?.startDate?(a(),l("span",t_,d(e.fmt?.date(o?.startDate,"mediumDate"))+" \u2013 "+d(e.fmt?.date(o?.endDate,"mediumDate")),1)):p("v-if",!0),o?.startDate?p("v-if",!0):(a(),l("span",n_,"\u2014"))]),n("div",o_,[n("div",s_,[n("button",{class:"btn btn-icon-dots",type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",disabled:o?.removing,"aria-label":"Actions for "+o?.name},[...t[19]||(t[19]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-more"})],-1)])],8,i_),n("div",r_,[n("a",{class:"dropdown-item",href:e.safeUrl("/conference/"+o?.conferenceID+"/")},[...t[20]||(t[20]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-eye"})],-1),m(" View ",-1)])],8,a_),n("a",{class:"dropdown-item",href:e.safeUrl("/conference/"+o?.conferenceID+"/edit")},[...t[21]||(t[21]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-edit"})],-1),m(" Edit ",-1)])],8,l_),o?.status!="removed"?(a(),l("div",d_,[t[23]||(t[23]=n("div",{class:"dropdown-divider"},null,-1)),n("button",{type:"button",class:"dropdown-item dropdown-item-danger",onClick:u=>e.removeConference(o)},[...t[22]||(t[22]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-trash"})],-1),m(" Remove ",-1)])],8,u_)])):p("v-if",!0)])])])],2))),128)),!e.loading&&!e.error&&e.filteredConferences?.length==0?(a(),l("div",c_,[e.conferences?.length==0?(a(),l("span",p_,[...t[24]||(t[24]=[n("svg",{class:"ui-icon"},[n("use",{href:"#project-icon-conference"})],-1)])])):p("v-if",!0),e.conferences?.length>0?(a(),l("svg",f_,[...t[25]||(t[25]=[n("use",{href:"#project-icon-inbox"},null,-1)])])):p("v-if",!0),e.conferences?.length==0?(a(),l(V,{key:2},[t[26]||(t[26]=n("strong",{class:"empty-title"},"No conferences yet",-1)),t[27]||(t[27]=n("span",null,"Create one to group submissions for a venue, share a dashboard with chairs, and set a single expiry date.",-1))],64)):p("v-if",!0),e.conferences?.length>0?(a(),l("span",m_,"Nothing matches the current filters.")):p("v-if",!0),n("div",h_,[e.conferences?.length==0?(a(),l("a",g_,[...t[28]||(t[28]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-plus"})],-1),m(" New conference",-1)])])):p("v-if",!0),e.conferences?.length>0?(a(),l("button",{key:1,type:"button",class:"btn btn-outline-ink",onClick:t[2]||(t[2]=o=>{e.search="",e.filters.status.ready=!0,e.filters.status.expired=!0,e.filters.status.removed=!0})},"Clear filters")):p("v-if",!0)])])):p("v-if",!0)],8,_F)])])}var v_={class:"container page dashboard-page paper-page"},y_={class:"row"},b_={class:"w-100"},w_={class:"dashboard-heading page-head page-head-main"},k_={class:"dashboard-title-line"},C_={key:0,class:"dashboard-count-head","aria-hidden":"true"},S_={key:0},E_={class:"dashboard-heading-actions"},N_=["open"],R_=["aria-expanded"],T_=["stroke-dasharray"],P_={key:1,d:"M7 12c0-4 4-4 5 0s5 4 5 0-4-4-5 0-5 4-5 0",class:"quota-ring-unlimited"},D_={key:0,class:"quota-summary-value"},A_={key:0},I_={class:"quota-panel",id:"dashboard-usage"},O_={class:"quota-panel-heading"},M_={key:1,class:"quota-loading",role:"status"},V_={key:0,class:"dashboard-meta is-loading","aria-hidden":"true"},L_={key:1,class:"dashboard-meta"},q_={key:0,class:"dashboard-view-tabs",role:"group","aria-label":"Project view"},$_=["aria-pressed"],F_=["aria-pressed","aria-label"],__=["aria-pressed","aria-label"],U_={key:0,class:"attention-count"},B_={key:0},z_={key:0},H_={key:1},j_={class:"search-wrap"},G_={type:"search",id:"search",class:"form-control","aria-label":"Search anonymizations",placeholder:"Search projects\u2026",autocomplete:"off"},W_=["aria-expanded"],K_={class:"btn-group",role:"group","aria-label":"Type"},Y_=["aria-pressed"],J_=["aria-pressed"],X_=["aria-pressed"],Q_=["aria-pressed"],Z_={class:"dropdown"},x_={class:"btn dropdown-toggle",type:"button",id:"dropdownSort","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"},e7={class:"filter-btn-value"},t7={class:"sr-only"},n7={class:"dropdown-menu","aria-labelledby":"dropdownSort"},o7={class:"form-check dropdown-item"},s7=["onClick","checked","id"],i7=["for"],r7=["inert"],a7={class:"btn dropdown-toggle",type:"button",id:"dropdownStatus","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"},l7={class:"filter-btn-value"},d7={class:"dropdown-menu","aria-labelledby":"dropdownStatus"},u7={key:0,class:"form-check dropdown-item"},c7=["id"],p7=["for"],f7={key:2,class:"dashboard-active-filters dashboard-active-filters-row"},m7=["onClick","aria-label","title"],h7=["aria-busy"],g7={class:"paper-table-head",role:"row"},v7=["aria-sort"],y7=["aria-sort"],b7=["aria-sort"],w7=["aria-sort"],k7={key:0,class:"paper-table-row paper-table-skeleton",role:"row","aria-hidden":"true"},C7=["onClick"],S7={class:"cell-anon",role:"cell"},E7=["aria-label","title"],N7={class:"project-type-svg","aria-hidden":"true"},R7=["href"],T7={class:"anon-text"},P7={class:"anon-title"},D7=["title","href"],A7={class:"rn-owner"},I7={class:"rn-repo"},O7={key:1,class:"repo-name repo-name-static"},M7={class:"rn-owner"},V7={class:"rn-repo"},L7={key:2,class:"type-badge type-coauthor",title:"You are a co-author on this anonymization"},q7={key:0,class:"anon-sub"},$7=["title"],F7={class:"id-head"},_7={class:"id-tail"},U7=["title"],B7=["title"],z7=["textContent"],H7={class:"dashboard-row-meta",role:"presentation"},j7={class:"cell-status",role:"cell"},G7={class:"status-line"},W7=["textContent"],K7=["onClick"],Y7=["textContent","title"],J7=["title"],X7=["href"],Q7={key:3,class:"status-action-line"},Z7={key:0,class:"status-stuck"},x7=["onClick","data-project-actions","aria-controls","aria-expanded"],eU=["onClick"],tU={key:5,class:"status-sub status-sub-date status-sub-removed"},nU={key:6,class:"status-sub status-sub-date"},oU=["data-unit","aria-label"],sU={class:"cell-expires",role:"cell"},iU={key:0,class:"expires-never"},rU=["textContent"],aU=["title"],lU={key:3,class:"expires-past"},dU={key:4,class:"expires-past"},uU={key:5,class:"empty-dash","aria-label":"Not applicable"},cU={class:"cell-actions",role:"cell"},pU=["onClick","disabled","title","aria-label"],fU={class:"sr-only","aria-live":"polite"},mU={class:"project-type-svg","aria-hidden":"true"},hU=["href"],gU={class:"copy-url-label","aria-hidden":"true"},vU=["href","aria-label"],yU=["href","title","aria-label"],bU=["title","aria-label"],wU=["title","aria-label"],kU=["aria-label"],CU={key:6,class:"dropdown is-disabled"},SU=["aria-label"],EU={key:7,class:"dropdown"},NU=["data-project-actions","aria-label"],RU={class:"dropdown-menu dropdown-menu-right"},TU=["onClick","aria-controls","aria-expanded"],PU=["href"],DU=["href"],AU=["onClick","disabled"],IU=["href"],OU=["onClick"],MU=["onClick"],VU=["onClick"],LU={key:5},qU=["onClick"],$U={key:1,class:"project-details-row",role:"row"},FU=["id","onKeydown"],_U={class:"project-details-heading"},UU=["onClick"],BU={class:"project-details-list"},zU={key:0},HU={key:1},jU={key:0},GU={key:2},WU={key:0,class:"project-progress-help"},KU=["href"],YU=["onSubmit"],JU=["for"],XU=["id"],QU={class:"project-name-controls"},ZU=["id","aria-describedby","disabled"],xU=["disabled"],e9={key:0,class:"project-name-error",role:"alert"},t9={key:1,role:"status"},n9={key:0,class:"paper-table-empty"},o9={key:0},s9={key:1},i9={class:"paper-table-empty-actions"},r9={key:1,href:"/anonymize",class:"btn btn-ink"},a9={key:0,class:"dashboard-pagination"},l9={key:0,role:"alert"},d9=["disabled"];function Np(e,t){let s=Qe("quota-usage"),i=Pe("field"),o=Pe("form");return a(),l("div",v_,[n("div",y_,[n("div",b_,[n("div",w_,[n("div",null,[n("div",k_,[t[27]||(t[27]=n("h1",{class:"paper-page-title"},"My work",-1)),e.dashboardLoaded&&e.isPlainView()?(a(),l("span",C_,[m(d(e.fmt?.number(e.dashboardTotals?.filtered??e.filteredItems?.length))+" project",1),(e.dashboardTotals?.filtered??e.filteredItems?.length)!==1?(a(),l("span",S_,"s")):p("v-if",!0)])):p("v-if",!0)]),t[28]||(t[28]=n("p",{class:"paper-page-lede"},"Manage your anonymous links.",-1))]),n("div",E_,[n("details",{class:"dashboard-quota",open:e.quotaExpanded,onToggle:t[1]||(t[1]=r=>e.quotaExpanded=r.target.open),onKeydown:t[2]||(t[2]=$t(de(r=>e.closeQuota(),["prevent","stop"]),["esc"]))},[n("summary",{"aria-controls":"dashboard-usage","aria-expanded":e.quotaExpanded,class:R(e.quota?"quota-level-"+e.quota.repository.level:""),style:Ae(e.quota&&!e.quota.repository.unlimited?{"--quota-pct":e.quota.repository.percent+"%"}:null)},[(a(),l("svg",{class:R(["quota-summary-ring",e.quota?"quota-"+e.quota.repository.level:""]),viewBox:"0 0 24 24","aria-hidden":"true"},[t[29]||(t[29]=n("circle",{class:"quota-ring-track",cx:"12",cy:"12",r:"9"},null,-1)),e.quota&&!e.quota.repository.unlimited?(a(),l("circle",{key:0,class:"quota-ring-fill",cx:"12",cy:"12",r:"9",pathLength:"100","stroke-dasharray":e.quota.repository.percent+" 100"},null,8,T_)):p("v-if",!0),e.quota?.repository.unlimited?(a(),l("path",P_)):p("v-if",!0)],2)),t[31]||(t[31]=n("span",{class:"quota-summary-label"},"Usage",-1)),e.quota?(a(),l("span",D_,[m(d(e.fmt.number(e.quota.repository.used)),1),e.quota.repository.unlimited?p("v-if",!0):(a(),l("span",A_," / "+d(e.fmt.number(e.quota.repository.total)),1)),t[30]||(t[30]=m(" repos",-1))])):p("v-if",!0),t[32]||(t[32]=n("svg",{class:"project-type-svg quota-summary-chevron","aria-hidden":"true"},[n("use",{href:"#project-icon-chevron"})],-1))],14,R_),n("div",I_,[n("div",O_,[t[34]||(t[34]=n("h2",null,"Account usage",-1)),n("button",{type:"button",class:"project-close","aria-label":"Close usage",onClick:t[0]||(t[0]=r=>e.closeQuota())},[...t[33]||(t[33]=[n("svg",{class:"project-type-svg","aria-hidden":"true"},[n("use",{href:"#project-icon-close"})],-1)])])]),e.quota?(a(),Xt(s,{key:0,quota:e.quota,fmt:e.fmt},null,8,["quota","fmt"])):(a(),l("p",M_,"Loading usage\u2026"))])],40,N_),t[35]||(t[35]=Ce('New anonymization',1))])]),p(" Result count + active filter chips "),p(" First load: the tab row keeps its place with placeholders, so nothing jumps when the counts arrive "),e.dashboardLoaded?p("v-if",!0):(a(),l("div",V_,[...t[36]||(t[36]=[n("div",{class:"dashboard-view-tabs"},[n("span",{class:"skeleton skeleton-line dashboard-tab-skeleton",style:{width:"56px"}}),n("span",{class:"skeleton skeleton-line dashboard-tab-skeleton",style:{width:"112px"}})],-1)])])),e.dashboardLoaded?(a(),l("div",L_,[e.showViewTabs()?(a(),l("div",q_,[n("button",{type:"button","aria-pressed":e.statusView()==="active",onClick:t[3]||(t[3]=r=>e.setStatusView("active")),title:"Every project except removed links"},"Current",8,$_),e.attentionCount()>0||e.statusView()==="attention"?(a(),l("button",{key:0,type:"button","aria-pressed":e.statusView()==="attention",onClick:t[4]||(t[4]=r=>e.setStatusView("attention")),"aria-label":"Needs attention "+e.attentionCount()},[t[37]||(t[37]=n("span",{class:"dashboard-attention-prefix"},"Needs ",-1)),t[38]||(t[38]=n("span",null,"attention",-1)),t[39]||(t[39]=m()),n("span",{class:R(["attention-count",{"has-attention":e.attentionCount()>0}])},d(e.attentionCount()),3)],8,F_)):p("v-if",!0),e.removedCount>0||e.statusView()==="removed"||e.removedCount==null&&e.dashboardTotals?.total>e.dashboardTotals?.filtered?(a(),l("button",{key:1,type:"button","aria-pressed":e.statusView()==="removed",onClick:t[5]||(t[5]=r=>e.setStatusView("removed")),"aria-label":"Removed "+(e.removedCount??""),title:"Links reviewers can no longer open"},[t[40]||(t[40]=m("Removed ",-1)),e.removedCount!=null?(a(),l("span",U_,d(e.fmt?.number(e.removedCount)),1)):p("v-if",!0)],8,__)):p("v-if",!0)])):p("v-if",!0),n("span",{class:R(["dashboard-count",{"is-plain":e.isPlainView()}])},[e.isPlainView()?(a(),l("span",B_,[m(d(e.fmt?.number(e.dashboardTotals?.filtered??e.filteredItems?.length))+" project",1),(e.dashboardTotals?.filtered??e.filteredItems?.length)!==1?(a(),l("span",z_,"s")):p("v-if",!0)])):(a(),l("span",H_,d(e.fmt?.number(e.dashboardTotals?.filtered??e.filteredItems?.length))+" shown",1))],2)])):p("v-if",!0),p(" Search + filters "),P((a(),l("form",{class:"w-100 dashboard-filter-row","aria-label":"Filter anonymizations","accept-charset":"UTF-8",onSubmit:t[13]||(t[13]=de(r=>e.submitForm(r,()=>{r.preventDefault()}),["prevent"]))},[n("div",j_,[P(n("input",G_,null,512),[[i,{state:e.viewState,set:r=>{e.search=r},value:e.search,form:null,options:{}}]])]),n("button",{class:"btn dashboard-filters-toggle",type:"button","aria-expanded":e.filtersExpanded,"aria-controls":"dashboard-filter-controls",onClick:t[6]||(t[6]=r=>e.filtersExpanded=!e.filtersExpanded)},[...t[41]||(t[41]=[m("Filters",-1),n("svg",{class:"project-type-svg","aria-hidden":"true"},[n("use",{href:"#project-icon-filter"})],-1)])],8,W_),n("div",{id:"dashboard-filter-controls",class:R(["dashboard-filter-controls",{expanded:e.filtersExpanded}])},[n("div",K_,[n("button",{type:"button",class:R(["btn",{"btn-primary":e.typeFilter==="all"}]),onClick:t[7]||(t[7]=r=>e.typeFilter="all"),"aria-pressed":e.typeFilter==="all"},"All",10,Y_),n("button",{type:"button",class:R(["btn dashboard-type-filter",{"btn-primary":e.typeFilter==="repo"}]),title:"Repositories",onClick:t[8]||(t[8]=r=>e.typeFilter="repo"),"aria-pressed":e.typeFilter==="repo"},[...t[42]||(t[42]=[n("svg",{class:"project-type-svg","aria-hidden":"true"},[n("use",{href:"#project-type-repo"})],-1),n("span",{class:"type-filter-label"},"Repos",-1)])],10,J_),n("button",{type:"button",class:R(["btn dashboard-type-filter",{"btn-primary":e.typeFilter==="pr"}]),title:"Pull requests",onClick:t[9]||(t[9]=r=>e.typeFilter="pr"),"aria-pressed":e.typeFilter==="pr"},[...t[43]||(t[43]=[n("svg",{class:"project-type-svg","aria-hidden":"true"},[n("use",{href:"#project-type-pr"})],-1),n("span",{class:"type-filter-label"},"PRs",-1)])],10,X_),n("button",{type:"button",class:R(["btn dashboard-type-filter",{"btn-primary":e.typeFilter==="gist"}]),title:"Gists",onClick:t[10]||(t[10]=r=>e.typeFilter="gist"),"aria-pressed":e.typeFilter==="gist"},[...t[44]||(t[44]=[n("svg",{class:"project-type-svg","aria-hidden":"true"},[n("use",{href:"#project-type-gist"})],-1),n("span",{class:"type-filter-label"},"Gists",-1)])],10,Q_)]),n("div",{id:"dashboard-extra-filters",class:R(["dashboard-extra-filters",{expanded:e.filtersExpanded}])},[n("div",Z_,[n("button",x_,[t[46]||(t[46]=n("span",{class:"filter-btn-label"},"Sort",-1)),n("span",e7,d(e.sortLabel()),1),(a(),l("svg",{class:R(["project-type-svg sort-direction",{ascending:!e.sortDesc()}]),"aria-hidden":"true"},[...t[45]||(t[45]=[n("use",{href:"#project-icon-arrow"},null,-1)])],2)),n("span",t7,d(e.sortDesc()?"descending":"ascending"),1)]),n("div",n7,[t[47]||(t[47]=n("h6",{class:"dropdown-header"},"Order by",-1)),(a(!0),l(V,null,X(e.sortFields,(r,u,f)=>(a(),l("div",o7,[n("input",{class:"form-check-input",type:"radio",name:"sort",onClick:c=>e.setSort(u,r.defaultDesc),checked:e.isSortedBy(u),id:"sort-"+f},null,8,s7),n("label",{class:"form-check-label",for:"sort-"+f},d(r?.label),9,i7)]))),256)),t[48]||(t[48]=n("div",{class:"dropdown-divider"},null,-1)),n("button",{type:"button",class:"dropdown-item",onClick:t[11]||(t[11]=r=>e.toggleSortDirection())},d(e.sortDesc()?"Switch to ascending":"Switch to descending"),1)])]),n("div",{class:R(["dropdown dashboard-status-filter",{"is-view-hidden":e.statusView()==="removed"}]),inert:e.statusView()==="removed"?!0:null},[n("button",a7,[t[49]||(t[49]=n("span",{class:"filter-btn-label"},"Status",-1)),n("span",l7,d(e.statusChipKeys().length===0?"Any":e.statusChipKeys().length===1?"Hiding "+(e.statusKeyLabels[e.statusChipKeys()[0]]||"").toLowerCase():e.statusChipKeys().length+" hidden"),1)]),n("div",d7,[t[50]||(t[50]=n("h6",{class:"dropdown-header"},"Show statuses",-1)),n("button",{type:"button",class:R(["dropdown-item status-preset",{active:e.statusChipKeys().length===0}]),onClick:t[12]||(t[12]=r=>e.statusChipKeys().forEach(u=>{e.filters.status[u]=!0}))},"Any status",2),t[51]||(t[51]=n("div",{class:"dropdown-divider"},null,-1)),(a(!0),l(V,null,X(e.statusKeyLabels,(r,u,f)=>(a(),l(V,{key:u},[u!=="removed"?(a(),l("div",u7,[P(n("input",{class:"form-check-input",type:"checkbox",id:"status-"+u},null,8,c7),[[i,{state:e.viewState,set:c=>{e.filters.status[u]=c},value:e.filters?.status[u],form:null,options:{}}]]),n("label",{class:"form-check-label",for:"status-"+u},d(r),9,p7)])):p("v-if",!0)],64))),128))])],10,r7)],2)],2)],32)),[[o,e.viewState]]),e.dashboardLoaded&&e.showClearFilters()?(a(),l("div",f7,[(a(!0),l(V,null,X(e.statusChipKeys(),r=>(a(),l("button",{key:r,type:"button",class:"filter-chip",onClick:u=>e.filters.status[r]=!0,"aria-label":"Show "+e.statusKeyLabels[r]+" again",title:"Show "+e.statusKeyLabels[r]+" again"},[m("Hiding "+d((e.statusKeyLabels[r]||"").toLowerCase()),1),t[52]||(t[52]=n("svg",{class:"project-type-svg","aria-hidden":"true"},[n("use",{href:"#project-icon-close"})],-1))],8,m7))),128)),e.typeFilter!=="all"?(a(),l("button",{key:0,type:"button",class:"filter-chip",onClick:t[14]||(t[14]=r=>e.typeFilter="all"),"aria-label":"Show all project types"},[m(d(e.typeFilter==="repo"?"Repositories":e.typeFilter==="pr"?"Pull requests":"Gists"),1),t[53]||(t[53]=n("svg",{class:"project-type-svg","aria-hidden":"true"},[n("use",{href:"#project-icon-close"})],-1))])):p("v-if",!0),e.showClearFilters()?(a(),l("button",{key:1,type:"button",class:"btn-link-inline",onClick:t[15]||(t[15]=r=>e.clearFilters())},"Clear filters")):p("v-if",!0)])):p("v-if",!0)]),p(" Table "),n("div",{class:R(["paper-table paper-table-dashboard",{"is-removed-view":e.statusView()==="removed","is-refreshing":e.refreshing}]),role:"table","aria-label":"Anonymizations","aria-busy":e.loading||e.refreshing},[n("div",g7,[n("div",{role:"columnheader","aria-sort":e.isSortedBy("_label")?e.sortDesc()?"descending":"ascending":"none"},[n("button",{type:"button",class:R(["sortable",{active:e.isSortedBy("_label")}]),onClick:t[16]||(t[16]=r=>e.setSort("_label"))},[t[55]||(t[55]=m(" Project ",-1)),e.isSortedBy("_label")?(a(),l("svg",{key:0,class:R(["project-type-svg sort-direction",{ascending:!e.sortDesc()}]),"aria-hidden":"true"},[...t[54]||(t[54]=[n("use",{href:"#project-icon-arrow"},null,-1)])],2)):p("v-if",!0)],2)],8,v7),n("div",{role:"columnheader","aria-sort":e.isSortedBy("status")?e.sortDesc()?"descending":"ascending":"none"},[n("button",{type:"button",class:R(["sortable",{active:e.isSortedBy("status")}]),onClick:t[17]||(t[17]=r=>e.setSort("status"))},[t[57]||(t[57]=m(" Status ",-1)),e.isSortedBy("status")?(a(),l("svg",{key:0,class:R(["project-type-svg sort-direction",{ascending:!e.sortDesc()}]),"aria-hidden":"true"},[...t[56]||(t[56]=[n("use",{href:"#project-icon-arrow"},null,-1)])],2)):p("v-if",!0)],2)],8,y7),n("div",{role:"columnheader",class:"num","aria-sort":e.isSortedBy("pageView")?e.sortDesc()?"descending":"ascending":"none"},[n("button",{type:"button",class:R(["sortable",{active:e.isSortedBy("pageView")}]),onClick:t[18]||(t[18]=r=>e.setSort("pageView"))},[t[59]||(t[59]=m(" Views ",-1)),e.isSortedBy("pageView")?(a(),l("svg",{key:0,class:R(["project-type-svg sort-direction",{ascending:!e.sortDesc()}]),"aria-hidden":"true"},[...t[58]||(t[58]=[n("use",{href:"#project-icon-arrow"},null,-1)])],2)):p("v-if",!0)],2)],8,b7),n("div",{role:"columnheader","aria-sort":e.isSortedBy("options.expirationDate")?e.sortDesc()?"descending":"ascending":"none"},[n("button",{type:"button",class:R(["sortable",{active:e.isSortedBy("options.expirationDate")}]),onClick:t[19]||(t[19]=r=>e.setSort("options.expirationDate"))},[t[61]||(t[61]=m(" Expires ",-1)),e.isSortedBy("options.expirationDate")?(a(),l("svg",{key:0,class:R(["project-type-svg sort-direction",{ascending:!e.sortDesc()}]),"aria-hidden":"true"},[...t[60]||(t[60]=[n("use",{href:"#project-icon-arrow"},null,-1)])],2)):p("v-if",!0)],2)],8,w7),t[62]||(t[62]=n("div",{role:"columnheader",class:"col-link"},[n("span",{class:"sr-only"},"Actions")],-1))]),p(` Loading skeleton: keeps the layout stable while the lists load, and stands in +paper/appendix/**`,"onUpdate:modelValue":t[27]||(t[27]=c=>e.preserve.patterns=c)},null,512),[[nt,e.preserve.patterns]]),t[133]||(t[133]=n("small",{class:"form-text text-muted"},[m("One per line, as in .gitignore: "),n("code",null,"*.bib"),m(" matches in any folder; "),n("code",null,"/refs.bib"),m(" and "),n("code",null,"paper/refs.bib"),m(" match from the repository root; a folder name such as "),n("code",null,"drafts/"),m(" covers everything inside it; "),n("code",null,"!private.bib"),m(" excludes again.")],-1))],8,y8),n("div",b8,[n("span",w8,d(e.preserve.loading||e.preserve.error?"":e.preserveCount()+(e.preserveCount()===1?" file":" files")+" will be shown as written"),1),n("span",k8,[n("button",{type:"button",class:"btn btn-outline-ink",onClick:t[28]||(t[28]=c=>e.closePreserveFiles())},"Cancel"),t[134]||(t[134]=n("button",{type:"submit",class:"btn btn-ink"},"Save",-1))])])],32)],32)):p("v-if",!0)],512),[[Q,e.detectedType&&e.sourceReady()]]),P(n("section",C8,[t[157]||(t[157]=n("h2",{class:"paper-section-eyebrow"},"Display",-1)),P(n("div",null,[n("div",S8,[P(n("input",E8,null,512),[[u,{state:e.viewState,set:c=>{e.options.link=c},value:e.options?.link,form:"anonymize",options:{}}]]),t[138]||(t[138]=n("label",{class:"form-check-label",for:"link"},"Keep links",-1))]),n("div",N8,[P(n("input",R8,null,512),[[u,{state:e.viewState,set:c=>{e.options.image=c},value:e.options?.image,form:"anonymize",options:{}}]]),t[139]||(t[139]=n("label",{class:"form-check-label",for:"image"},"Display images",-1))]),n("div",T8,[P(n("input",P8,null,512),[[u,{state:e.viewState,set:c=>{e.options.pdf=c},value:e.options?.pdf,form:"anonymize",options:{}}]]),t[140]||(t[140]=n("label",{class:"form-check-label",for:"pdf"},"Display PDFs",-1))]),n("div",D8,[P(n("input",A8,null,512),[[u,{state:e.viewState,set:c=>{e.options.notebook=c},value:e.options?.notebook,form:"anonymize",options:{}}]]),t[141]||(t[141]=n("label",{class:"form-check-label",for:"notebook"},"Display notebooks",-1))]),n("div",I8,[P(n("input",{class:"form-check-input",type:"checkbox",id:"page",name:"page",disabled:!e.details?.hasPage||e.details?.pageSource&&e.details?.pageSource?.branch!==e.source?.branch},null,8,O8),[[u,{state:e.viewState,set:c=>{e.options.page=c},value:e.options?.page,form:"anonymize",options:{}}]]),t[142]||(t[142]=n("label",{class:"form-check-label",for:"page"},"GitHub Pages",-1)),e.details?.hasPage?p("v-if",!0):(a(),l("small",M8,d(e.fmt?.translate("WARNINGS.page_not_enabled_on_repo")),1)),e.details?.hasPage&&e.details?.pageSource?.branch&&e.source?.branch&&e.details.pageSource.branch!==e.source.branch?(a(),l("small",V8,d(e.fmt?.translate("WARNINGS.page_branch_mismatch",{pageBranch:e.details?.pageSource?.branch,selectedBranch:e.source?.branch})),1)):p("v-if",!0)])],512),[[Q,e.detectedType==="repo"]]),e.detectedType==="repo"&&(e.options.image||e.options.pdf)?(a(),l("p",L8,[...t[143]||(t[143]=[m("Images and PDFs are served unchanged. Review their contents and metadata before sharing. ",-1),n("a",{href:"/faq#formats"},"Supported formats",-1)])])):p("v-if",!0),P(n("div",null,[n("div",q8,[P(n("input",$8,null,512),[[u,{state:e.viewState,set:c=>{e.options.title=c},value:e.options?.title,form:"anonymize",options:{}}]]),t[144]||(t[144]=n("label",{class:"form-check-label",for:"title-gist"},"Gist description",-1))]),n("div",F8,[P(n("input",_8,null,512),[[u,{state:e.viewState,set:c=>{e.options.content=c},value:e.options?.content,form:"anonymize",options:{}}]]),t[145]||(t[145]=n("label",{class:"form-check-label",for:"content-gist"},"File contents",-1))]),n("div",U8,[P(n("input",B8,null,512),[[u,{state:e.viewState,set:c=>{e.options.comments=c},value:e.options?.comments,form:"anonymize",options:{}}]]),t[146]||(t[146]=n("label",{class:"form-check-label",for:"comments-gist"},"Comments",-1))]),n("div",z8,[P(n("input",H8,null,512),[[u,{state:e.viewState,set:c=>{e.options.username=c},value:e.options?.username,form:"anonymize",options:{}}]]),t[147]||(t[147]=n("label",{class:"form-check-label",for:"username-gist"},"Usernames",-1))]),n("div",j8,[P(n("input",G8,null,512),[[u,{state:e.viewState,set:c=>{e.options.date=c},value:e.options?.date,form:"anonymize",options:{}}]]),t[148]||(t[148]=n("label",{class:"form-check-label",for:"date-gist"},"Dates",-1))]),n("div",W8,[P(n("input",K8,null,512),[[u,{state:e.viewState,set:c=>{e.options.origin=c},value:e.options?.origin,form:"anonymize",options:{}}]]),t[149]||(t[149]=n("label",{class:"form-check-label",for:"origin-gist"},"Source gist ID",-1))])],512),[[Q,e.detectedType==="gist"]]),P(n("div",null,[n("div",Y8,[P(n("input",J8,null,512),[[u,{state:e.viewState,set:c=>{e.options.title=c},value:e.options?.title,form:"anonymize",options:{}}]]),t[150]||(t[150]=n("label",{class:"form-check-label",for:"title"},"PR title",-1))]),n("div",X8,[P(n("input",Q8,null,512),[[u,{state:e.viewState,set:c=>{e.options.body=c},value:e.options?.body,form:"anonymize",options:{}}]]),t[151]||(t[151]=n("label",{class:"form-check-label",for:"body"},"PR body",-1))]),n("div",Z8,[P(n("input",x8,null,512),[[u,{state:e.viewState,set:c=>{e.options.diff=c},value:e.options?.diff,form:"anonymize",options:{}}]]),t[152]||(t[152]=n("label",{class:"form-check-label",for:"diff"},"Diff",-1))]),n("div",e6,[P(n("input",t6,null,512),[[u,{state:e.viewState,set:c=>{e.options.comments=c},value:e.options?.comments,form:"anonymize",options:{}}]]),t[153]||(t[153]=n("label",{class:"form-check-label",for:"comments"},"Comments",-1))]),n("div",n6,[P(n("input",o6,null,512),[[u,{state:e.viewState,set:c=>{e.options.username=c},value:e.options?.username,form:"anonymize",options:{}}]]),t[154]||(t[154]=n("label",{class:"form-check-label",for:"username"},"Usernames",-1))]),n("div",s6,[P(n("input",i6,null,512),[[u,{state:e.viewState,set:c=>{e.options.date=c},value:e.options?.date,form:"anonymize",options:{}}]]),t[155]||(t[155]=n("label",{class:"form-check-label",for:"date"},"Dates",-1))]),n("div",r6,[P(n("input",a6,null,512),[[u,{state:e.viewState,set:c=>{e.options.origin=c},value:e.options?.origin,form:"anonymize",options:{}}]]),t[156]||(t[156]=n("label",{class:"form-check-label",for:"origin"},"Project name",-1))])],512),[[Q,e.detectedType==="pr"]])],512),[[Q,e.detectedType&&e.sourceReady()]]),P(n("section",l6,[t[174]||(t[174]=n("h2",{class:"paper-section-eyebrow",id:"hosting-heading"},"Hosting & expiration",-1)),n("div",d6,[t[158]||(t[158]=n("label",{class:"paper-field-label",for:"conference"},[m("Conference code "),n("span",{class:"paper-optional"},"(optional)")],-1)),P(n("input",{class:R(["form-control",{"is-invalid":e.anonymize?.conference?.invalid}]),id:"conference",name:"conference"},null,2),[[u,{state:e.viewState,set:c=>{e.conference=c},value:e.conference,form:"anonymize",options:{debounce:{default:800,blur:0},updateOn:"default blur"}}]]),P(n("p",{class:R(["conference-hosting",{"is-covered":e.conferenceHosting()}]),role:"status"},[n("a",{target:"_blank",href:e.safeUrl(e.conference_data?.url)},d(e.conference_data?.name),9,u6),e.conferenceHosting()?(a(),l(V,{key:0},[m(" hosts this repository until "+d(e.fmt?.date(e.conference_data?.endDate))+", with automatic updates. You don't pay anything.",1)],64)):e.billing?.enabled&&e.detectedType==="repo"?(a(),l(V,{key:1},[m(" runs until "+d(e.fmt?.date(e.conference_data?.endDate))+". It doesn't pay for hosting, so this repository uses your own allowance.",1)],64)):(a(),l(V,{key:2},[m(" runs until "+d(e.fmt?.date(e.conference_data?.endDate))+".",1)],64))],2),[[Q,e.conference_data]]),P(n("div",c6,"The conference is not activated.",512),[[Q,e.anonymize?.conference?.errors?.activated]]),P(n("small",p6,"Submitting to a conference? Its code applies the venue's settings, and a paid conference hosts the repository for you.",512),[[Q,!e.conference_data]])]),e.detectedType==="repo"&&e.billing?.enabled&&!e.conferenceHosting()?(a(),l("p",f6,[e.isUpdate&&e.role!=="owner"?(a(),l("span",m6,"Uses the owner's hosting")):e.hasAuthorHosting()?(a(),l("span",h6,"Your author subscription is active.")):e.hostingQuota?.repository?(a(),l("span",g6,d(e.hostingQuota.repository.used)+" of "+d(e.hostingQuota.repository.total)+" active repositories \xB7 Free",1)):p("v-if",!0)])):p("v-if",!0),e.detectedType==="repo"&&e.options?.update&&!e.liveUpdatesIncluded()?(a(),l("p",v6,[t[159]||(t[159]=m("Automatic updates need a paid option. On free hosting, the link keeps the version you create until you refresh it from My work. Once it exists, add Live updates",-1)),e.liveUpdatesPrice()?(a(),l(V,{key:0},[m(" ("+d(e.liveUpdatesPrice())+" once)",1)],64)):p("v-if",!0),t[160]||(t[160]=m(" or a Paper pack in ",-1)),t[161]||(t[161]=n("a",{href:"/profile?billing=1"},"Settings \u203A Hosting & billing",-1)),t[162]||(t[162]=m(", or take an author subscription.",-1))])):p("v-if",!0),e.detectedType==="repo"&&e.billing?.enabled?(a(),l("div",y6,[e.hostingNeedsPayment()&&!e.billingPending?(a(),l(V,{key:0},[e.options.expirationMode!=="never"||e.hostingQuotaBlocked?(a(),l("p",b6,d(e.options.update&&!e.hostingQuotaBlocked&&e.hostingQuota?.repository?.used(a(),l("label",{class:R(["hosting-option",{"is-selected":e.hostingChoice()===c.id||c.interval&&e.authorPlans().some(v=>v.id===e.hostingChoice())}]),key:c.id},[n("input",{type:"radio",name:"hosting-plan",value:c.id,checked:e.hostingChoice()===c.id||c.interval&&e.authorPlans().some(v=>v.id===e.hostingChoice()),onChange:v=>e.hostingPlan=c.interval?e.hostingSubscriptionPlan().id:c.id},null,40,C6),n("span",S6,[n("strong",null,d(e.hostingOptionName(c)),1),n("small",null,d(e.hostingOptionBlurb(c)),1),c.interval&&e.authorPlans().length>1&&e.authorPlans().some(v=>v.id===e.hostingChoice())?(a(),l("span",E6,[(a(!0),l(V,null,X(e.authorPlans(),v=>(a(),l("button",{type:"button",role:"radio",key:v.id,"aria-checked":e.hostingSubscriptionPlan().id===v.id?"true":"false",class:R({"is-on":e.hostingSubscriptionPlan().id===v.id}),onClick:de(h=>{e.hostingCycle=v.id,e.hostingPlan=v.id},["prevent"])},[m(d(v.interval==="year"?"Yearly":"Monthly"),1),v.interval==="year"&&e.hostingAnnualSavings()?(a(),l("span",R6,"\u2212"+d(e.hostingAnnualSavings())+"%",1)):p("v-if",!0)],10,N6))),128))])):p("v-if",!0)]),n("span",T6,[n("strong",null,d(e.billingAmount(c.interval?e.hostingSubscriptionPlan():c)),1),n("small",null,d(c.interval?"per "+e.hostingSubscriptionPlan().interval:"once"),1)])],2))),128))])):(a(),l("p",P6,"New purchases are temporarily unavailable. Your draft is kept.")),e.authorPlans().some(c=>c.id===e.hostingChoice())?(a(),l("p",D6,"Renews "+d(e.hostingChoice()==="author_annual"?"yearly":"monthly")+" until you cancel. Tax shown at checkout.",1)):(a(),l("p",A6,"One-time payment, nothing renews. Tax shown at checkout.")),e.options.expirationMode!=="never"?(a(),l("details",I6,[t[163]||(t[163]=n("summary",null,"Keep using free hosting",-1)),t[164]||(t[164]=n("p",null,"Remove a repository you no longer need, or enter the code of a paid conference above. Removing a repository affects its review link.",-1)),t[165]||(t[165]=n("a",{href:"/dashboard"},"Review my repositories",-1)),n("button",{type:"button",class:"task-text-button",onClick:t[31]||(t[31]=c=>e.anonymizeRepo(c)),disabled:e.sourceLoading||e.billingBusy},"Recheck capacity and submit",8,O6)])):p("v-if",!0)],64)):p("v-if",!0)])):p("v-if",!0),e.hostingNeedsPayment()&&!e.billingPending?(a(),l("h4",M6,"Expiration")):p("v-if",!0),n("fieldset",V6,[t[171]||(t[171]=n("legend",{class:"sr-only"},"Expiration",-1)),p(' Under a plan limit the option names the date ("Expire on Apr 29, 2027"); a muted line says why, and "Change date" reveals the bounded input '),n("div",L6,[n("label",q6,[n("input",{type:"radio",name:"expiration-choice",checked:e.options.expirationMode!=="never",onChange:t[32]||(t[32]=c=>e.useDatedHosting()),disabled:e.billingPending},null,40,$6),n("span",null,d(e.expiryChoiceLabel()),1)]),e.options.expirationMode!=="never"&&!e.expiryPickerShown()?(a(),l("button",{key:0,type:"button",class:"expiry-change",onClick:t[33]||(t[33]=c=>e.openExpiryPicker())},"Change date")):p("v-if",!0)]),e.options.expirationMode!=="never"?(a(),l("div",F6,[e.expiryCapped()&&e.expiryChoiceLabel()!=="Expire on a date"?(a(),l("p",_6,[m(d(e.expiryRelative()),1),e.expiryNote()?(a(),l(V,{key:0},[t[166]||(t[166]=n("span",{class:"expiry-meta-sep","aria-hidden":"true"}," \xB7 ",-1)),n("span",U6,d(e.expiryNote()),1)],64)):p("v-if",!0)])):p("v-if",!0),p(' One date input in every mode (the form keeps one field); under a plan limit it stays hidden until "Change date" or an invalid date '),P(n("div",{class:R(["hosting-date",{"is-capped":e.expiryCapped()}]),onReveal:t[34]||(t[34]=c=>e.expiryPickerOpen=!0)},[t[167]||(t[167]=n("label",{class:"paper-field-label",for:"expirationDate"},"Date",-1)),P(n("input",{class:R(["form-control",{"is-invalid":e.anonymize?.expirationDate?.invalid}]),type:"date",name:"expirationDate",id:"expirationDate",required:"",min:e.minExpirationDate,max:e.maxExpirationDate},null,10,B6),[[u,{state:e.viewState,set:c=>{e.options.expirationDate=c},value:e.options?.expirationDate,form:"anonymize",options:{}}]]),!e.expiryCapped()&&e.fmt?.dateEcho(e.options?.expirationDate)?(a(),l("p",z6,d(e.fmt?.dateEcho(e.options?.expirationDate)),1)):p("v-if",!0),P(n("div",H6,"Pick a date in the future.",512),[[Q,e.anonymize?.expirationDate?.errors?.min]]),P(n("div",{class:"invalid-feedback"},"Pick a date on or before "+d(e.fmt?.date(e.maxExpirationDate))+".",513),[[Q,e.anonymize?.expirationDate?.errors?.max]]),P(n("div",j6,"Enter a valid expiration date.",512),[[Q,e.anonymize?.expirationDate?.errors?.required||e.anonymize?.expirationDate?.errors?.date]])],34),[[Q,e.expiryPickerShown()]]),n("div",G6,[t[169]||(t[169]=n("label",{for:"expiration"},"After expiry",-1)),P(n("select",{id:"expiration",class:"form-control","onUpdate:modelValue":t[35]||(t[35]=c=>e.options.expirationMode=c)},[...t[168]||(t[168]=[n("option",{value:"remove"},"Remove content",-1),n("option",{value:"redirect"},"Redirect to GitHub",-1)])],512),[[Nt,e.options.expirationMode]])])])):p("v-if",!0),e.detectedType==="repo"?(a(),l("label",W6,[n("input",{type:"radio",name:"expiration-choice",checked:e.options.expirationMode==="never",onChange:t[36]||(t[36]=c=>e.options.expirationMode="never"),disabled:e.billingPending},null,40,K6),n("span",null,[t[170]||(t[170]=m("Never expire",-1)),(e.options.expirationMode!=="never"||e.hasAuthorHosting()||e.repositoryGrants("repo_never").length)&&!(e.hostingNeedsPayment()&&e.hostingOptionPlans().length)?(a(),l("small",Y6,d(e.neverExpireTag()),1)):p("v-if",!0)])])):p("v-if",!0)]),e.options.expirationMode==="redirect"?(a(),l("p",J6,"Visitors will be redirected to the original GitHub source on this date, revealing its identity.")):p("v-if",!0),e.detectedType==="repo"&&e.billing?.enabled?(a(),l("div",X6,[e.taskValidationError?(a(),l("p",Q6,d(e.taskValidationError),1)):p("v-if",!0),e.billingError?(a(),l("p",Z6,[m(d(e.billingError)+" ",1),n("button",{type:"button",class:"task-text-button",onClick:t[37]||(t[37]=c=>e.loadBilling()),disabled:e.billingBusy},"Reload billing",8,x6)])):p("v-if",!0),e.billingPending?(a(),l("div",eM,[...t[172]||(t[172]=[n("p",null,[n("strong",null,"Confirming your payment\u2026")],-1),n("p",{class:"form-text text-muted"},"Your draft is saved. Please do not pay again.",-1)])])):e.billingNotice?(a(),l("p",tM,d(e.billingNotice),1)):e.options.expirationMode==="never"&&!e.billingPending&&!e.hasAuthorHosting()&&e.repositoryGrants("repo_never").length?(a(),l("p",nM,"No scheduled expiration. Paid once for this repository.")):e.options.expirationMode==="never"&&!e.billingPending?(a(),l("p",oM,"No scheduled expiration while subscribed. A 90-day grace period applies if paid access ends.")):p("v-if",!0),e.isUpdate&&e.role==="owner"&&!e.hasAuthorHosting()&&!e.hostingNeedsPayment()&&e.repositoryAddonPlans().length?(a(),l("details",sM,[t[173]||(t[173]=n("summary",null,"Pay once for just this repository",-1)),(a(!0),l(V,null,X(e.repositoryAddonPlans(),c=>(a(),l("div",{key:c.id},[n("p",null,[n("strong",null,d(c.name),1),m(" \xB7 "+d(e.billingPrice(c))+". "+d(c.description),1)]),n("button",{type:"button",class:"btn btn-outline-ink",disabled:e.billingBusy||e.hostingSaving||e.sourceLoading||e.billing.checkoutEnabled===!1||e.billingPending,onClick:v=>e.checkoutRepository(c.id)},"Buy "+d(c.name.toLowerCase()),9,iM)]))),128))])):p("v-if",!0)])):p("v-if",!0)],512),[[Q,e.detectedType&&e.sourceReady()]]),P(n("section",rM,[t[178]||(t[178]=n("h2",{class:"paper-section-eyebrow"},"Co-authors",-1)),t[179]||(t[179]=n("p",{class:"form-text text-muted",style:{"margin-bottom":"8px"}}," Co-authors can view and edit these settings. They cannot delete the anonymization or manage co-authors. ",-1)),P(n("div",aM,[t[175]||(t[175]=n("label",{class:"paper-field-label",for:"coauthorSearch"},"Add a GitHub user",-1)),n("div",lM,[P(n("input",dM,null,512),[[u,{state:e.viewState,set:c=>{e.coauthorSearch=c},value:e.coauthorSearch,form:"anonymize",options:{debounce:300},change:()=>{e.searchCoauthors()}}]]),P(n("div",uM,[(a(!0),l(V,null,X(e.coauthorResults,(c,v)=>(a(),l("a",{href:"#",class:"dropdown-item d-flex align-items-center",onClick:de(h=>e.addCoauthor(c,h),["prevent"])},[n("img",{alt:"",style:{width:"22px",height:"22px","border-radius":"50%","margin-right":"8px"},src:e.safeUrl(c?.photo)},null,8,pM),n("span",{textContent:d(c?.username)},null,8,fM)],8,cM))),256))],512),[[Q,e.coauthorResults?.length>0]])]),P(n("small",{class:"form-text text-muted",textContent:d(e.coauthorError)},null,8,mM),[[Q,e.coauthorError]])],512),[[Q,e.role==="owner"||e.role==="admin"]]),n("div",hM,[(a(!0),l(V,null,X(e.coauthors,(c,v)=>(a(),l("div",gM,[c?.photo?(a(),l("img",{key:0,alt:"",style:{width:"24px",height:"24px","border-radius":"50%"},src:e.safeUrl(c?.photo)},null,8,vM)):p("v-if",!0),n("a",{target:"_blank",textContent:d(c?.username),href:e.safeUrl("https://github.com/"+c?.username)},null,8,yM),t[177]||(t[177]=n("span",{class:"type-badge type-coauthor"},"Co-author",-1)),P(n("button",{type:"button",class:"btn btn-sm btn-icon",style:{"margin-left":"auto"},title:"Remove co-author",onClick:h=>e.removeCoauthor(c),"aria-label":"Remove co-author"},[...t[176]||(t[176]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-close"})],-1)])],8,bM),[[Q,e.role==="owner"||e.role==="admin"]])]))),256)),P(n("div",wM," No co-authors yet. ",512),[[Q,!e.coauthors||e.coauthors?.length===0]])])],512),[[Q,e.isUpdate&&e.detectedType==="repo"]]),e.error?(a(),l("div",{key:0,class:"alert alert-danger",role:"alert",textContent:d(e.error)},null,8,kM)):p("v-if",!0)]),n("button",{type:"button",class:"btn btn-outline-ink mobile-preview-jump",onClick:t[38]||(t[38]=c=>e.selectMobilePane("preview"))},[...t[180]||(t[180]=[m("Review preview ",-1),n("span",{"aria-hidden":"true"},"\u2192",-1)])]),P(n("div",CM,[e.detectedType==="repo"?(a(),l(V,{key:0},[e.billingPending?(a(),l("button",{key:0,type:"button",class:"btn btn-ink",onClick:t[39]||(t[39]=c=>e.refreshBilling()),disabled:e.billingBusy},"Check payment status",8,SM)):(a(),l("button",{key:1,type:"submit",class:"btn btn-ink",disabled:e.sourceLoading||!e.sourceReady()||e.billingBusy||e.hostingSaving||e.billingLoading||e.hostingNeedsPayment()&&(!e.authorPlans().length&&!e.hostingOneTime()||e.billing?.checkoutEnabled===!1),onClick:t[40]||(t[40]=de(c=>e.submitForm(c,()=>{e.submitRepository(c)}),["prevent"]))},d(e.hostingSaving?"Saving draft\u2026":e.hostingNeedsPayment()?"Continue to checkout":e.isUpdate?"Save changes":"Create anonymous link"),9,EM))],64)):p("v-if",!0),e.detectedType==="pr"&&!e.isUpdate?(a(),l("button",{key:1,type:"submit",disabled:e.sourceLoading||!e.details,class:"btn btn-ink",onClick:t[41]||(t[41]=de(c=>e.submitForm(c,()=>{e.anonymizePullRequest(c)}),["prevent"]))}," Create anonymous link ",8,NM)):p("v-if",!0),e.detectedType==="pr"&&e.isUpdate?(a(),l("button",{key:2,type:"submit",disabled:e.sourceLoading,class:"btn btn-ink",onClick:t[42]||(t[42]=de(c=>e.submitForm(c,()=>{e.anonymizePullRequest(c)}),["prevent"]))}," Save changes ",8,RM)):p("v-if",!0),e.detectedType==="gist"&&!e.isUpdate?(a(),l("button",{key:3,type:"submit",disabled:e.sourceLoading||!e.details,class:"btn btn-ink",onClick:t[43]||(t[43]=de(c=>e.submitForm(c,()=>{e.anonymizeGist(c)}),["prevent"]))}," Create anonymous link ",8,TM)):p("v-if",!0),e.detectedType==="gist"&&e.isUpdate?(a(),l("button",{key:4,type:"submit",disabled:e.sourceLoading,class:"btn btn-ink",onClick:t[44]||(t[44]=de(c=>e.submitForm(c,()=>{e.anonymizeGist(c)}),["prevent"]))}," Save changes ",8,PM)):p("v-if",!0),e.submitBlockedReason()?(a(),l("p",DM,d(e.submitBlockedReason()),1)):p("v-if",!0),e.hostingNeedsPayment()&&!e.billingPending?(a(),l("p",AM,"You pay in Stripe, then come back here to finish.")):p("v-if",!0),e.draftRestored?(a(),l("div",IM,[t[181]||(t[181]=m("Your unsaved draft was restored. ",-1)),n("button",{type:"button",class:"draft-discard",onClick:t[45]||(t[45]=c=>e.discardDraft())},"Discard draft")])):e.unsavedChanges&&e.sourceReady()?(a(),l("div",OM,[m(d(e.draftSaved?"Draft saved \xB7":"Unsaved changes \xB7")+" ",1),n("button",{type:"button",class:"draft-discard",onClick:t[46]||(t[46]=c=>e.discardDraft())},d(e.isUpdate?"Restore saved":"Discard"),1)])):p("v-if",!0)],512),[[Q,e.detectedType]])])),[[f,e.viewState]])],8,UO),p(' Preview column (right): "What reviewers will see", a miniature reviewer window '),e.detectedType?(a(),l("div",{key:0,id:"workspace-preview",role:e.mobileWorkspace?"tabpanel":null,"aria-labelledby":e.mobileWorkspace?"workspace-preview-tab":null,class:"anonymize-preview-col reviewer-preview"},[n("div",VM,[t[185]||(t[185]=n("span",{class:"rp-title"},"What reviewers will see",-1)),e.detectedType==="repo"&&e.details&&e.previewStatus!=="ready"?(a(),l("button",{key:0,type:"button",class:"rp-open rp-files",onClick:t[47]||(t[47]=c=>e.previewViewer.sidebarCollapsed=!e.previewViewer.sidebarCollapsed),"aria-expanded":!e.previewViewer.sidebarCollapsed,"aria-controls":"preview-file-tree"},"Files",8,LM)):p("v-if",!0),e.previewStatus==="ready"&&e.previewRedactions()>0?(a(),l("span",{key:1,class:"rp-count",title:e.previewRedactions()+" redacted terms in this preview"},[n("span",$M,[n("i",null,d(e.previewRedactions()),1)]),t[182]||(t[182]=m(" redacted",-1))],8,qM)):e.previewStatus==="ready"&&!String(e.terms||"").trim()?(a(),l("button",{key:2,type:"button",class:"rp-count rp-status-empty",onClick:t[48]||(t[48]=c=>e.focusTerms())},[...t[183]||(t[183]=[m("Nothing redacted yet: ",-1),n("span",{class:"rp-status-action"},"add terms",-1)])])):e.previewStatus==="ready"&&e.previewPreserved()?(a(),l("button",{key:3,type:"button",class:"rp-count rp-count-none",onClick:t[49]||(t[49]=c=>e.openPreserveFiles()),title:"Change it in Leave files unredacted"},d(e.previewName(e.previewFile?e.previewFile.slice(e.previewFile.lastIndexOf("/")+1):e.readmeName()))+" left unredacted",1)):e.previewStatus==="ready"?(a(),l("span",FM,d(e.detectedType==="repo"?"No terms found in this file":"No terms found"),1)):p("v-if",!0),t[186]||(t[186]=n("span",{class:"rp-spacer"},null,-1)),e.isUpdate&&e.previewUrl()?(a(),l("a",{key:5,class:"rp-open is-external",href:e.safeUrl(e.previewPath()),target:"_blank",rel:"noopener"},[...t[184]||(t[184]=[m("Open reviewer page ",-1),n("span",{"aria-hidden":"true"},"\u2197",-1)])],8,_M)):(a(),l("button",{key:6,type:"button",class:"rp-open is-toggle",onClick:t[50]||(t[50]=c=>e.previewExpanded=!e.previewExpanded),"aria-pressed":!!e.previewExpanded},[(a(),l("svg",BM,[e.previewExpanded?(a(),l("path",HM)):(a(),l("path",zM))])),m(d(e.previewExpanded?"Back to settings":"Expand preview"),1)],8,UM))]),n("div",jM,[n("div",GM,[t[187]||(t[187]=n("i",null,null,-1)),t[188]||(t[188]=n("i",null,null,-1)),t[189]||(t[189]=n("i",null,null,-1)),n("span",WM,d(e.previewUrl()||"anonymous.4open.science"),1)]),n("div",KM,[t[190]||(t[190]=n("span",{class:"vb-logo"},[m("Anonymous "),n("em",null,"GitHub")],-1)),e.previewId()?(a(),l("span",YM,d(e.previewId()),1)):p("v-if",!0),e.detectedType!=="repo"?(a(),l("span",JM,d(e.detectedType==="pr"?"Pull request":"Gist"),1)):p("v-if",!0)]),n("div",{class:R(["rp-body",{"reviewer-explorer":e.detectedType==="repo","no-tree":e.detectedType==="repo"&&!e.details}])},[e.detectedType==="repo"?P((a(),l("aside",{key:0,id:"preview-file-tree",class:R(["leftCol",{collapsed:e.previewViewer.sidebarCollapsed}]),"aria-label":"Files reviewers will see"},[n("div",XM,[t[192]||(t[192]=n("span",{class:"leftCol-eyebrow"},"Files",-1)),n("button",{type:"button",class:"leftCol-close","aria-label":"Close files",onClick:t[51]||(t[51]=c=>e.previewViewer.sidebarCollapsed=!0)},[...t[191]||(t[191]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-close"})],-1)])])]),n("div",QM,[Me(s,{class:"files",file:e.previewTreeFiles(),page:e.previewViewer,"selected-path":"/"+e.previewPathName(e.previewOpenPath()),onSelect:t[52]||(t[52]=c=>e.selectPreviewPath(c))},null,8,["file","page","selected-path"])])],2)),[[Q,e.details]]):p("v-if",!0),e.detectedType==="repo"?P((a(),l("div",{key:1,class:"leftCol-backdrop",onClick:t[53]||(t[53]=c=>e.previewViewer.sidebarCollapsed=!0)},null,512)),[[Q,!e.previewViewer.sidebarCollapsed]]):p("v-if",!0),n("div",{class:R(e.detectedType==="repo"?"explorer-main":"rp-main")},[n("div",{class:R(e.detectedType==="repo"?"explorer-content":"rp-document")},[p(" Loading: skeleton inside the window "),e.previewStatus==="loading"||e.sourceLoading&&e.previewStatus!=="ready"&&e.previewStatus!=="error"?(a(),l("div",ZM,[n("span",xM,d(e.previewDoc.loading?"Loading "+e.previewName(e.previewFile.slice(e.previewFile.lastIndexOf("/")+1))+" from GitHub\u2026":e.previewStatus==="loading"?"Updating the anonymized preview\u2026":e.detectedType==="pr"?"Loading the pull request from GitHub\u2026":e.detectedType==="gist"?"Loading the gist from GitHub\u2026":"Loading the repository from GitHub\u2026"),1),t[193]||(t[193]=Ce('',7))])):!e.details&&e.sourceProblem()?(a(),l(V,{key:1},[p(" The source itself could not be loaded: the form's message, with the same actions "),n("div",eV,[n("strong",null,d(e.sourceProblem().title),1),n("p",null,d(e.sourceProblem().text),1),e.sourceProblem().manage||e.sourceProblem().retry||e.sourceProblem().dashboard?(a(),l("div",tV,[e.sourceProblem().manage==="app"?(a(),l("button",{key:0,type:"button",class:"btn btn-ink btn-sm",onClick:t[54]||(t[54]=c=>e.grantGitHubAccess())},[...t[194]||(t[194]=[m("Manage GitHub access ",-1),n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-external-link"})],-1)])])):p("v-if",!0),e.sourceProblem().manage==="link"?(a(),l("a",nV,"Manage GitHub access")):p("v-if",!0),e.sourceProblem().dashboard?(a(),l("a",oV,"Open My work")):p("v-if",!0),e.sourceProblem().retry?(a(),l("button",{key:3,type:"button",class:"btn btn-outline-ink btn-sm",onClick:t[55]||(t[55]=c=>e.urlSelected(!0))},"Try again")):p("v-if",!0)])):p("v-if",!0)])],2112)):e.previewStatus==="error"&&e.previewDoc.loadError?(a(),l(V,{key:2},[p(" The open file could not be read from GitHub "),n("div",sV,[n("strong",null,"Couldn't load "+d(e.previewName(e.previewFile.slice(e.previewFile.lastIndexOf("/")+1))),1),n("p",null,d(e.previewDoc.loadError),1),n("div",iV,[n("button",{class:"btn btn-ink btn-sm",type:"button",onClick:t[56]||(t[56]=c=>e.retryPreview())},"Retry"),n("button",{class:"btn btn-outline-ink btn-sm",type:"button",onClick:t[57]||(t[57]=c=>e.openPreviewFile(""))},"Back to the README")])])],2112)):e.previewStatus==="error"?(a(),l(V,{key:3},[p(" The anonymized preview failed "),n("div",rV,[t[195]||(t[195]=n("strong",null,"Couldn't apply the redactions",-1)),t[196]||(t[196]=n("p",null,"Unable to generate the anonymized preview. The latest redactions have not been verified.",-1)),n("div",aV,[n("button",{class:"btn btn-ink btn-sm",type:"button",onClick:t[58]||(t[58]=c=>e.retryPreview())},"Retry preview")])])],2112)):e.detectedType==="repo"&&!e.previewFile&&!e.readme&&e.previewStatus==="idle"?(a(),l("div",lV,[...t[197]||(t[197]=[n("strong",null,"No README",-1),n("p",null,"Reviewers land on the file list. Open the files you will share and check them before sending the link.",-1)])])):e.detectedType==="repo"&&e.previewStatus==="ready"?(a(),Xt(i,{key:5,name:"partials/pageView.htm",state:e.previewViewer},null,8,["state"])):e.detectedType==="gist"&&e.previewStatus==="ready"?(a(),l("div",dV,[n("div",uV,[n("h2",cV,[e.options?.title?(a(),l("span",pV,d(e.anonymizeGistContent(e.details?.gist?.description)||"Untitled gist"),1)):p("v-if",!0),n("span",{class:R(["badge",{"badge-success":e.details?.gist?.isPublic,"badge-secondary":!e.details?.gist?.isPublic}])},d(e.details?.gist?.isPublic?"public":"secret"),3)]),e.options?.date?(a(),l("small",{key:0,textContent:d(e.fmt?.date(e.details?.gist?.updatedDate))},null,8,fV)):p("v-if",!0)]),e.options?.origin?(a(),l("small",mV,"Gist ID: "+d(e.details?.source?.gistId),1)):p("v-if",!0),e.options?.username&&e.details?.gist?.ownerLogin?(a(),l("small",hV,"By @"+d(e.anonymizeGistContent(e.details?.gist?.ownerLogin)),1)):p("v-if",!0),e.options?.content&&e.previewGistFiles?.length?(a(),l("div",gV,[n("ul",vV,[(a(!0),l(V,null,X(e.previewGistFiles,(c,v)=>(a(),l("li",yV,[n("div",bV,[n("strong",{textContent:d(c?.filename)},null,8,wV),c?.language?(a(),l("span",kV,d(c?.language),1)):p("v-if",!0)]),Me(o,{file:c,terms:e.terms,options:e.options},null,8,["file","terms","options"])]))),256))])])):p("v-if",!0),e.options?.comments&&e.details?.gist?.comments&&e.details?.gist?.comments?.length?(a(),l("div",CV,[t[200]||(t[200]=n("h3",{class:"paper-section-eyebrow mt-3"},"Comments",-1)),n("ul",SV,[(a(!0),l(V,null,X(e.details?.gist?.comments,(c,v)=>(a(),l("li",EV,[n("div",NV,[e.options?.username?(a(),l("span",RV,[t[198]||(t[198]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-user"})],-1)),t[199]||(t[199]=m(" @",-1)),n("span",{textContent:d(e.anonymizeGistContent(c?.author))},null,8,TV)])):p("v-if",!0),e.options?.date?(a(),l("span",{key:1,class:"pr-comment-date",textContent:d(e.fmt?.date(c?.updatedDate))},null,8,PV)):p("v-if",!0)]),e.options?.body?(a(),l("div",DV,[Me(r,{content:e.anonymizeGistContent(c?.body),options:e.options,terms:e.terms},null,8,["content","options","terms"])])):p("v-if",!0)]))),256))])])):p("v-if",!0)])):e.detectedType==="pr"&&e.previewStatus==="ready"?(a(),l("div",AV,[n("div",IV,[n("h2",OV,[e.options?.title?(a(),l("span",MV,d(e.anonymizePrContent(e.details?.pullRequest?.title)),1)):p("v-if",!0),n("span",{class:R(["badge",{"badge-success":e.details?.pullRequest?.merged,"badge-warning":e.details?.pullRequest?.state=="open","badge-danger":e.details?.pullRequest?.state=="closed"&&!e.details?.pullRequest?.merged}])},d(e.fmt?.title(e.details?.pullRequest?.merged?"merged":e.details?.pullRequest?.state)),3)]),e.options?.date?(a(),l("small",{key:0,textContent:d(e.fmt?.date(e.details?.pullRequest?.updatedDate))},null,8,VV)):p("v-if",!0)]),e.options?.origin?(a(),l("small",LV,"Pull Request on "+d(e.details?.pullRequest?.baseRepositoryFullName),1)):p("v-if",!0),e.options?.body?(a(),l("div",qV,[Me(r,{content:e.anonymizePrContent(e.details?.pullRequest?.body),options:e.options,terms:e.terms},null,8,["content","options","terms"])])):p("v-if",!0),e.options?.diff||e.options?.comments?(a(),l("nav",$V,[e.options?.diff?(a(),l("button",{key:0,class:R(["paper-tab",{active:e.prTabState?.active=="diff"}]),type:"button",role:"tab",id:"preview-pr-diff-tab","aria-selected":e.prTabState?.active==="diff","aria-controls":"preview-pr-diff-panel",tabindex:e.prTabState?.active==="diff"?0:-1,onKeydown:t[59]||(t[59]=c=>e.previewTabKeydown(c)),onClick:t[60]||(t[60]=c=>e.prTabState.active="diff")},[...t[201]||(t[201]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-code"})],-1),m(" Diff ",-1)])],42,FV)):p("v-if",!0),e.options?.comments?(a(),l("button",{key:1,class:R(["paper-tab",{active:e.prTabState?.active=="comments"}]),type:"button",role:"tab",id:"preview-pr-comments-tab","aria-selected":e.prTabState?.active==="comments","aria-controls":"preview-pr-comments-panel",tabindex:e.prTabState?.active==="comments"?0:-1,onKeydown:t[61]||(t[61]=c=>e.previewTabKeydown(c)),onClick:t[62]||(t[62]=c=>e.prTabState.active="comments")},[t[202]||(t[202]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-comment"})],-1)),n("span",{textContent:d(e.fmt.plural(e.details?.pullRequest?.comments?.length,{0:"No comments",one:"1 comment",other:"{} comments"}))},null,8,UV)],42,_V)):p("v-if",!0)])):p("v-if",!0),!e.options?.diff&&!e.options?.comments?(a(),l("div",BV,"Diff and comments are hidden by your display settings.")):p("v-if",!0),n("div",zV,[e.options?.diff&&e.prTabState?.active=="diff"?(a(),l("div",HV,[n("div",{class:"pr-diff",innerHTML:e.sanitize(e.fmt?.diff(e.anonymizePrContent(e.details?.pullRequest?.diff)))},null,8,jV)])):p("v-if",!0),e.options?.comments&&e.prTabState?.active=="comments"?(a(),l("div",GV,[n("ul",WV,[(a(!0),l(V,null,X(e.details?.pullRequest?.comments,(c,v)=>(a(),l("li",KV,[n("div",YV,[e.options?.username?(a(),l("span",JV,[t[203]||(t[203]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-user"})],-1)),t[204]||(t[204]=m(" @",-1)),n("span",{textContent:d(e.anonymizePrContent(c?.author))},null,8,XV)])):p("v-if",!0),e.options?.date?(a(),l("span",{key:1,class:"pr-comment-date",textContent:d(e.fmt?.date(c?.updatedDate))},null,8,QV)):p("v-if",!0)]),e.options?.body?(a(),l("div",ZV,[Me(r,{content:e.anonymizePrContent(c?.body),options:e.options,terms:e.terms},null,8,["content","options","terms"])])):p("v-if",!0)]))),256))])])):p("v-if",!0)])])):p("v-if",!0),p(" More below: a fade with a way to keep reading (hidden by CSS once the window is scrolled to the end) "),e.previewStatus==="ready"&&!(e.detectedType==="repo"&&e.previewFile&&e.previewDoc.note)?(a(),l("div",xV,[e.isUpdate&&e.previewUrl()?(a(),l("a",{key:0,class:"rp-more-btn",href:e.safeUrl(e.previewPath()),target:"_blank",rel:"noopener"},[...t[205]||(t[205]=[m("Continue reading on the reviewer page ",-1),n("span",{"aria-hidden":"true"},"\u2197",-1)])],8,eL)):e.previewExpanded?(a(),l("span",tL,"Scroll for more")):(a(),l("button",{key:1,type:"button",class:"rp-more-btn",onClick:t[63]||(t[63]=c=>e.previewExpanded=!0)},"Continue reading in the expanded preview"))])):p("v-if",!0)],2)],2)],2)])],8,MM)):p("v-if",!0)])],512),[[Q,e.workspaceOpen||e.isUpdate]])],2)}var nL={class:"container-fluid h-100 anonymize-page"},oL={class:"row h-100 flex-column flex-md-row"},sL={class:"col-md sidePanel shadow overflow-auto anonymize-form-col"},iL={class:"form-group"},rL={class:"form-group"},aL={class:"form-check"},lL={class:"form-check-input",type:"checkbox",id:"update",name:"update"},dL={class:"form-group"},uL={class:"form-text text-muted"},cL=["href"],pL={class:"invalid-feedback"},fL={class:"form-text text-muted"},mL={class:"form-group"},hL={id:"idHelp",class:"form-text text-muted"},gL={class:"invalid-feedback"},vL={class:"form-group"},yL={class:"invalid-feedback"},bL={class:"form-group"},wL={class:"form-control",id:"expiration",name:"expiration"},kL={class:"form-group",id:"expiration-date-form"},CL={class:"form-control",type:"date",name:"expirationDate",id:"expirationDate"},SL={key:0,class:"date-echo","aria-live":"polite"},EL={class:"accordion mb-3",id:"options"},NL={class:"card"},RL={id:"collapseOne",class:"collapse show","aria-labelledby":"headingOne","data-parent":"#options"},TL={class:"card-body"},PL={class:"form-group mb-0"},DL={class:"form-check"},AL={class:"form-check-input",type:"checkbox",id:"link",name:"link"},IL={class:"form-check"},OL={class:"form-check-input",type:"checkbox",id:"image",name:"image"},ML={class:"form-check"},VL={class:"form-check-input",type:"checkbox",id:"date",name:"date"},LL={class:"form-check"},qL={class:"form-check-input",type:"checkbox",id:"username",name:"username"},$L={class:"form-check"},FL={class:"form-check-input",type:"checkbox",id:"comments",name:"comments"},_L={class:"form-check"},UL={class:"form-check-input",type:"checkbox",id:"diff",name:"diff"},BL={class:"form-check"},zL={class:"form-check-input",type:"checkbox",id:"origin",name:"origin"},HL={class:"form-check"},jL={class:"form-check-input",type:"checkbox",id:"title",name:"title"},GL={class:"form-check"},WL={class:"form-check-input",type:"checkbox",id:"body",name:"body"},KL=["textContent"],YL={class:"anonymize-submit-bar"},JL={key:0,class:"col-md-8 p-2 overflow-auto anonymize-preview-col"},XL={class:"d-flex w-100 justify-content-between align-items-center flex-wrap"},QL={class:"pr-title mb-1"},ZL={key:0},xL=["textContent"],eq={key:0},tq={key:1,class:"pr-body shadow-sm p-3 mb-4 rounded",style:{background:"var(--sidebar-bg-color)"}},nq={class:"nav nav-tabs",id:"myTab",role:"tablist"},oq={key:0,class:"nav-item",role:"presentation"},sq={key:1,class:"nav-item",role:"presentation"},iq=["textContent"],rq={class:"tab-content",id:"pills-tabContent"},aq={class:"tab-pane show active",id:"pills-diff",role:"tabpanel","aria-labelledby":"pills-diff-tab"},lq={key:0,class:"pr-diff shadow-sm p-3 mb-4 rounded",style:{background:"var(--sidebar-bg-color)"}},dq={style:{"overflow-x":"auto"}},uq=["innerHTML"],cq={key:0,class:"pr-comments list-group"},pq={class:"pr-comment list-group-item"},fq={class:"d-flex w-100 justify-content-between flex-wrap"},mq={key:0,class:"mb-1"},hq=["textContent"],gq={class:"mb-1"};function kp(e,t){let s=Qe("markdown"),i=Pe("field"),o=Pe("form");return a(),l("div",nL,[n("div",oL,[n("div",sL,[n("div",{class:R(["p-0 py-2 m-auto",{card:!e.pullRequestUrl,container:e.pullRequestUrl}])},[P((a(),l("form",{class:R(["form needs-validation",{"card-body":!e.pullRequestUrl}]),name:"anonymizeForm",novalidate:""},[t[30]||(t[30]=Ce('
Anonymize \xA0/\xA0 Pull request

Anonymize a pull request

Fill in the details \u2014 it only takes a minute.

Source
',4)),p(" pullRequestUrl "),n("div",iL,[t[2]||(t[2]=n("label",{for:"pullRequestUrl"},"URL of your pull request",-1)),P(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.anonymize?.pullRequestUrl?.invalid}]),name:"pullRequestUrl",id:"pullRequestUrl",placeholder:"https://github.com/owner/repo/pull/123"},null,2),[[i,{state:e.viewState,set:r=>{e.pullRequestUrl=r},value:e.pullRequestUrl,form:"anonymizeForm",options:{debounce:{default:1e3,blur:0,click:0},updateOn:"default blur click"},change:()=>{e.pullRequestSelected()}}]]),P(n("div",{class:"invalid-feedback"},d(e.pullRequestUrl)+" is not accessible. Some organizations are restricting the access to the repositories. ",513),[[Q,e.anonymize?.pullRequestUrl?.errors?.access]]),P(n("div",{class:"invalid-feedback"},d(e.pullRequestUrl)+" does not exist or is not accessible ",513),[[Q,e.anonymize?.pullRequestUrl?.errors?.missing]]),P(n("div",{class:"invalid-feedback"},d(e.pullRequestUrl)+" is already anonymized ",513),[[Q,e.anonymize?.pullRequestUrl?.errors?.used]])]),P(n("div",null,[n("div",rL,[n("div",aL,[P(n("input",lL,null,512),[[i,{state:e.viewState,set:r=>{e.options.update=r},value:e.options?.update,form:"anonymizeForm",options:{}}]]),t[3]||(t[3]=n("label",{class:"form-check-label",for:"update"},"Auto update",-1)),t[4]||(t[4]=n("small",{id:"updateHelp",class:"form-text text-muted"},"Automatically update the anonymized pull request with the latest updates. The pull request is updated once per day maximum.",-1))])]),t[26]||(t[26]=n("div",{class:"paper-section-eyebrow anonymize-section-title"},[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-conference"})]),m(" Conference ID ")],-1)),p(" Conference "),n("div",dL,[t[5]||(t[5]=n("label",{for:"conference"},[m("Conference ID "),n("span",{class:"text-muted"},"(Optional)")],-1)),P(n("input",{class:R(["form-control",{"is-invalid":e.anonymize?.conference?.invalid}]),id:"conference",name:"conference"},null,2),[[i,{state:e.viewState,set:r=>{e.conference=r},value:e.conference,form:"anonymizeForm",options:{debounce:{default:800,blur:0},updateOn:"default blur"}}]]),P(n("small",uL,[n("a",{target:"_target",href:e.safeUrl(e.conference_data?.url)},d(e.conference_data?.name),9,cL),m(" will expire on "+d(e.fmt?.date(e.conference_data?.endDate))+".",1)],512),[[Q,e.conference_data]]),P(n("div",pL," The conference is not activated. ",512),[[Q,e.anonymize?.conference?.errors?.activated]]),P(n("small",fL," Use the Conference ID that your conference provided you. This will update automatically the anonymization options based on the conference preferences. ",512),[[Q,!e.conference_data]])]),t[27]||(t[27]=n("div",{class:"paper-section-eyebrow anonymize-section-title"},[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-shield"})]),m(" Anonymization Options ")],-1)),p(" Pull Request ID "),n("div",mL,[t[6]||(t[6]=n("label",{for:"pullRequestId"},"Anonymized pull request id",-1)),P(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.anonymize?.pullRequestId?.invalid}]),name:"pullRequestId",id:"pullRequestId"},null,2),[[i,{state:e.viewState,set:r=>{e.pullRequestId=r},value:e.pullRequestId,form:"anonymizeForm",options:{debounce:{default:1e3,blur:0,click:0},updateOn:"default blur click"}}]]),n("small",hL,"Id used in the url: https://anonymous.4open.science/r/"+d(e.pullRequestId),1),P(n("div",gL," Repository id can only contain letters and numbers ",512),[[Q,e.anonymize?.pullRequestId?.errors?.format]]),P(n("div",{class:"invalid-feedback"},d(e.pullRequestId)+" is already used ",513),[[Q,e.anonymize?.pullRequestId?.errors?.used]])]),p(" Terms "),n("div",vL,[t[7]||(t[7]=n("label",{for:"terms"},"Terms to anonymize",-1)),P(n("textarea",{class:R(["form-control",{"is-invalid":e.anonymize?.terms?.invalid}]),id:"terms",name:"terms",rows:"3"},null,2),[[i,{state:e.viewState,set:r=>{e.terms=r},value:e.terms,form:"anonymizeForm",options:{debounce:250}}]]),t[8]||(t[8]=n("small",{id:"termsHelp",class:"form-text text-muted"},"One term per line. Each term will be replaced by XXX.",-1)),P(n("div",yL," Terms are in an invalid format ",512),[[Q,e.anonymize?.terms?.errors?.format]])]),n("div",bL,[t[10]||(t[10]=n("label",{for:"expiration"},"Expiration strategy",-1)),P((a(),l("select",wL,[...t[9]||(t[9]=[n("option",{value:"never",selected:""},"Never expire",-1),n("option",{value:"redirect"}," Redirect to GitHub when expired ",-1),n("option",{value:"remove"},"Remove when expired",-1)])])),[[i,{state:e.viewState,set:r=>{e.options.expirationMode=r},value:e.options?.expirationMode,form:"anonymizeForm",options:{}}]]),t[11]||(t[11]=n("small",{class:"form-text text-muted"},"Define the expiration strategy for the anonymized repository.",-1))]),P(n("div",kL,[t[12]||(t[12]=n("label",{for:"expirationDate"},"Expiration date of the anonymized repository",-1)),P(n("input",CL,null,512),[[i,{state:e.viewState,set:r=>{e.options.expirationDate=r},value:e.options?.expirationDate,form:"anonymizeForm",options:{}}]]),e.fmt?.dateEcho(e.options?.expirationDate)?(a(),l("p",SL,"Expires "+d(e.fmt?.dateEcho(e.options?.expirationDate)),1)):p("v-if",!0),P(n("small",{class:"form-text text-muted"},"After "+d(e.fmt?.date(e.options?.expirationDate))+", the repository will be removed and the visitor will not be able to see the content of the repository.",513),[[Q,e.options?.expirationMode=="remove"]]),P(n("small",{class:"form-text text-muted"},"After "+d(e.fmt?.date(e.options?.expirationDate))+", the visitors of the anonymized repository will be redirected to "+d(e.pullRequestUrl)+".",513),[[Q,e.options?.expirationMode=="redirect"]])],512),[[Q,e.options?.expirationMode!="never"]]),n("div",EL,[n("div",NL,[t[25]||(t[25]=Ce('

',1)),n("div",RL,[n("div",TL,[n("div",PL,[n("div",DL,[P(n("input",AL,null,512),[[i,{state:e.viewState,set:r=>{e.options.link=r},value:e.options?.link,form:"anonymizeForm",options:{}}]]),t[13]||(t[13]=n("label",{class:"form-check-label",for:"link"},"Keep links",-1)),t[14]||(t[14]=n("small",{class:"form-text text-muted"},"Keep or remove all the links.",-1))]),n("div",IL,[P(n("input",OL,null,512),[[i,{state:e.viewState,set:r=>{e.options.image=r},value:e.options?.image,form:"anonymizeForm",options:{}}]]),t[15]||(t[15]=n("label",{class:"form-check-label",for:"image"},"Display images",-1)),t[16]||(t[16]=n("small",{class:"form-text text-muted"},"Images are not anonymized",-1))]),n("div",ML,[P(n("input",VL,null,512),[[i,{state:e.viewState,set:r=>{e.options.date=r},value:e.options?.date,form:"anonymizeForm",options:{}}]]),t[17]||(t[17]=n("label",{class:"form-check-label",for:"date"},"Display dates",-1)),t[18]||(t[18]=n("small",{class:"form-text text-muted"},"Display the date of the Pull Request and the date of the comments.",-1))]),n("div",LL,[P(n("input",qL,null,512),[[i,{state:e.viewState,set:r=>{e.options.username=r},value:e.options?.username,form:"anonymizeForm",options:{}}]]),t[19]||(t[19]=n("label",{class:"form-check-label",for:"username"},"Display username",-1))]),n("div",$L,[P(n("input",FL,null,512),[[i,{state:e.viewState,set:r=>{e.options.comments=r},value:e.options?.comments,form:"anonymizeForm",options:{}}]]),t[20]||(t[20]=n("label",{class:"form-check-label",for:"comments"},"Display comments",-1))]),n("div",_L,[P(n("input",UL,null,512),[[i,{state:e.viewState,set:r=>{e.options.diff=r},value:e.options?.diff,form:"anonymizeForm",options:{}}]]),t[21]||(t[21]=n("label",{class:"form-check-label",for:"diff"},"Display diff",-1))]),n("div",BL,[P(n("input",zL,null,512),[[i,{state:e.viewState,set:r=>{e.options.origin=r},value:e.options?.origin,form:"anonymizeForm",options:{}}]]),t[22]||(t[22]=n("label",{class:"form-check-label",for:"origin"},"Display the project name",-1))]),n("div",HL,[P(n("input",jL,null,512),[[i,{state:e.viewState,set:r=>{e.options.title=r},value:e.options?.title,form:"anonymizeForm",options:{}}]]),t[23]||(t[23]=n("label",{class:"form-check-label",for:"title"},"Display the PR title",-1))]),n("div",GL,[P(n("input",WL,null,512),[[i,{state:e.viewState,set:r=>{e.options.body=r},value:e.options?.body,form:"anonymizeForm",options:{}}]]),t[24]||(t[24]=n("label",{class:"form-check-label",for:"body"},"Display the PR body and comment bodies",-1))])])])])])])],512),[[Q,e.pullRequestUrl]]),e.error?(a(),l("div",{key:0,class:"alert alert-danger",role:"alert",textContent:d(e.error)},null,8,KL)):p("v-if",!0),P(n("div",YL,[e.isUpdate?p("v-if",!0):(a(),l("button",{key:0,id:"submit",type:"submit",class:"btn btn-ink btn-block",onClick:t[0]||(t[0]=de(r=>e.submitForm(r,()=>{e.anonymizePullRequest(r)}),["prevent"]))},[...t[28]||(t[28]=[n("svg",{class:"ui-icon mr-1","aria-hidden":"true"},[n("use",{href:"#ui-icon-shield"})],-1),m(" Anonymize ",-1)])])),e.isUpdate?(a(),l("button",{key:1,id:"submit",type:"submit",class:"btn btn-ink btn-block",onClick:t[1]||(t[1]=de(r=>e.submitForm(r,()=>{e.updatePullRequest(r)}),["prevent"]))},[...t[29]||(t[29]=[n("svg",{class:"ui-icon mr-1","aria-hidden":"true"},[n("use",{href:"#ui-icon-save"})],-1),m(" Update ",-1)])])):p("v-if",!0)],512),[[Q,e.pullRequestUrl]])],2)),[[o,e.viewState]])],2)]),e.details?(a(),l("div",JL,[n("div",XL,[n("h2",QL,[e.options?.title?(a(),l("span",ZL,d(e.anonymize(e.details?.pullRequest?.title)),1)):p("v-if",!0),n("span",{class:R(["badge",{"badge-success":e.details?.pullRequest?.merged,"badge-warning":e.details?.pullRequest?.state=="open","badge-danger":e.details?.pullRequest?.state=="closed"&&!e.details?.pullRequest?.merged}])},d(e.fmt?.title(e.details?.pullRequest?.merged?"merged":e.details?.pullRequest?.state)),3)]),e.options?.date?(a(),l("small",{key:0,textContent:d(e.fmt?.date(e.details?.pullRequest?.updatedDate))},null,8,xL)):p("v-if",!0)]),e.options?.origin?(a(),l("small",eq,"Pull Request on "+d(e.details?.pullRequest?.baseRepositoryFullName),1)):p("v-if",!0),e.options?.body?(a(),l("div",tq,[Me(s,{content:e.anonymize(e.details?.pullRequest?.body),options:e.options,terms:e.terms},null,8,["content","options","terms"])])):p("v-if",!0),n("ul",nq,[e.options?.diff?(a(),l("li",oq,[...t[31]||(t[31]=[n("button",{class:"nav-link active",id:"pills-diff-tab","data-toggle":"pill","data-target":"#pills-diff",type:"button",role:"tab","aria-controls":"pills-diff","aria-selected":"true"}," Diff ",-1)])])):p("v-if",!0),e.options?.comments?(a(),l("li",sq,[n("button",{class:R(["nav-link",{active:!e.options?.diff}]),id:"pills-comments-tab","data-toggle":"pill","data-target":"#pills-comments",type:"button",role:"tab","aria-controls":"pills-comments","aria-selected":"false"},[n("span",{textContent:d(e.fmt.plural(e.details?.pullRequest?.comments?.length,{0:"No comment",one:"One Comment",other:"{} Comments"}))},null,8,iq)],2)])):p("v-if",!0)]),n("div",rq,[n("div",aq,[e.options?.diff?(a(),l("div",lq,[n("pre",dq,[n("code",{innerHTML:e.sanitize(e.fmt?.diff(e.anonymize(e.details?.pullRequest?.diff)))},null,8,uq)])])):p("v-if",!0)]),n("div",{class:R(["tab-pane",{"show active":!e.options?.diff}]),id:"pills-comments",role:"tabpanel","aria-labelledby":"pills-comments-tab"},[e.options?.comments?(a(),l("ul",cq,[(a(!0),l(V,null,X(e.details?.pullRequest?.comments,(r,u)=>(a(),l("li",pq,[n("div",fq,[e.options?.username?(a(),l("h5",mq," @"+d(e.anonymize(r?.author)),1)):p("v-if",!0),e.options?.date?(a(),l("small",{key:1,textContent:d(e.fmt?.date(r?.updatedDate))},null,8,hq)):p("v-if",!0)]),n("p",gq,[e.options?.body?(a(),Xt(s,{key:0,class:"pr-comment-body",content:e.anonymize(r?.body),options:e.options,terms:e.terms},null,8,["content","options","terms"])):p("v-if",!0)])]))),256))])):p("v-if",!0)],2)])])):p("v-if",!0)])])}var vq={class:"container paper-page claim-page"},yq={class:"paper-settings-main claim-form"},bq={class:"form-group"},wq={class:"invalid-feedback"},kq={class:"form-group"};function Cp(e,t){let s=Pe("field"),i=Pe("form");return a(),l("div",vq,[t[6]||(t[6]=Ce('
My work \xA0/\xA0 Claim

Claim an anonymization

Take ownership of an existing anonymized repository so it appears on your dashboard.

',3)),n("div",yq,[t[5]||(t[5]=n("p",{class:"paper-section-copy"},"Use this when an anonymization was created by a co-author or from another account. You must have access to the GitHub repository it was made from.",-1)),P((a(),l("form",{class:"form needs-validation",name:"claimForm",novalidate:"",onSubmit:t[0]||(t[0]=de(o=>e.submitForm(o,()=>{e.claim()}),["prevent"]))},[n("div",bq,[t[1]||(t[1]=n("label",{class:"paper-field-label",for:"repoUrl"},"GitHub repository URL",-1)),P(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.claimForm?.repoUrl?.invalid&&(e.claimForm?.repoUrl?.touched||e.claimForm?.submitted)}]),name:"repoUrl",id:"repoUrl",placeholder:"https://github.com/owner/repository",required:""},null,2),[[s,{state:e.viewState,set:o=>{e.repoUrl=o},value:e.repoUrl,form:"claimForm",options:{}}]]),P(n("div",wq," No anonymization matches this repository and ID. Check both values and that you can access the repository on GitHub. ",512),[[Q,e.claimForm?.repoUrl?.errors?.not_found]])]),n("div",kq,[t[2]||(t[2]=n("label",{class:"paper-field-label",for:"repoId"},"Anonymized repository ID",-1)),P(n("input",{type:"text",class:R(["form-control",{"is-invalid":e.claimForm?.repoId?.invalid&&(e.claimForm?.repoId?.touched||e.claimForm?.submitted)}]),name:"repoId",id:"repoId",placeholder:"e.g. my-paper-7F2A","aria-describedby":"idHelp",required:""},null,2),[[s,{state:e.viewState,set:o=>{e.repoId=o},value:e.repoId,form:"claimForm",options:{}}]]),t[3]||(t[3]=n("small",{id:"idHelp",class:"form-text text-muted"},[m("The ID is the last part of the anonymized URL: "),n("code",null,"anonymous.4open.science/r/"),m(".")],-1))]),t[4]||(t[4]=n("button",{id:"submit",type:"submit",class:"btn btn-ink"}," Claim anonymization ",-1))],32)),[[i,e.viewState]])])])}var Cq={class:"container page paper-page conference-page"},Sq={class:"paper-crumbs"},Eq={class:"here"},Nq={class:"d-flex align-items-end flex-wrap",style:{gap:"12px","justify-content":"space-between"}},Rq={class:"conf-title-row"},Tq=["textContent"],Pq={key:0,class:"conf-status"},Dq=["textContent"],Aq={key:0,class:"paper-page-lede"},Iq=["textContent","href"],Oq={class:"d-flex align-items-center flex-wrap",style:{gap:"10px"}},Mq=["href"],Vq={class:"paper-meta-rule"},Lq=["textContent"],qq=["textContent"],$q={key:0},Fq={key:0,class:"conference-payment-status",role:"status"},_q=["disabled"],Uq={key:1,role:"alert"},Bq={key:2,class:"paper-settings-section","aria-labelledby":"conference-payment-heading"},zq={key:0,role:"status"},Hq={key:1,role:"alert"},jq=["onClick","disabled"],Gq={class:"dashboard-meta conf-view-meta"},Wq={class:"dashboard-view-tabs",role:"group","aria-label":"Repository view"},Kq=["aria-pressed"],Yq=["aria-pressed","aria-label"],Jq=["aria-pressed"],Xq={class:"attention-count"},Qq={class:"dashboard-count",role:"status"},Zq={class:"search-wrap"},xq={type:"search",id:"search",class:"form-control","aria-label":"Search repositories",placeholder:"Search repositories\u2026",autocomplete:"off"},e$={class:"dashboard-filter-controls"},t$={class:"dropdown"},n$={class:"btn dropdown-toggle",type:"button",id:"dropdownSort","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"},o$={class:"filter-btn-value"},s$={class:"dropdown-menu","aria-labelledby":"dropdownSort"},i$={class:"form-check dropdown-item"},r$={class:"form-check-input",type:"radio",name:"sort",id:"anonymizeDate",value:"-anonymizeDate"},a$={class:"form-check dropdown-item"},l$={class:"form-check-input",type:"radio",name:"sort",id:"sortID",value:"repoId"},d$={class:"form-check dropdown-item"},u$={class:"form-check-input",type:"radio",name:"sort",id:"sortStatus",value:"-status"},c$={class:"form-check dropdown-item"},p$={class:"form-check-input",type:"radio",name:"sort",id:"sortViews",value:"-pageView"},f$={class:"dashboard-page conf-rows"},m$=["aria-busy"],h$={key:0,class:"paper-table-row paper-table-skeleton",role:"row","aria-hidden":"true"},g$={class:"cell-anon",role:"cell"},v$={class:"anon-text"},y$={class:"anon-title"},b$=["title","href"],w$={class:"rn-owner"},k$={class:"rn-repo"},C$={class:"anon-sub"},S$=["title"],E$={class:"id-head"},N$={class:"id-tail"},R$=["title"],T$={class:"dashboard-row-meta",role:"presentation"},P$={class:"cell-status",role:"cell"},D$={class:"status-line"},A$=["textContent"],I$=["textContent","title"],O$=["href"],M$=["onClick","disabled"],V$={key:3,class:"status-sub status-sub-date"},L$=["data-unit","aria-label"],q$={class:"cell-expires",role:"cell"},$$={key:0,class:"expires-never"},F$=["textContent"],_$={key:2,class:"expires-past"},U$={key:3,class:"empty-dash","aria-label":"Not applicable"},B$={class:"cell-actions",role:"cell"},z$=["onClick","disabled","title","aria-label"],H$={class:"sr-only","aria-live":"polite"},j$={class:"project-type-svg","aria-hidden":"true"},G$=["href"],W$={class:"copy-url-label","aria-hidden":"true"},K$=["href","aria-label"],Y$={class:"dropdown"},J$=["aria-label"],X$={class:"dropdown-menu dropdown-menu-right"},Q$=["href"],Z$=["href"],x$=["href"],eF={key:0,class:"paper-table-empty"},tF={key:0},nF={key:1},oF={key:2,class:"paper-table-empty-actions"};function Sp(e,t){let s=Pe("field"),i=Pe("form");return a(),l("div",Cq,[n("div",null,[n("div",Sq,[t[6]||(t[6]=n("a",{href:"/dashboard"},"My work",-1)),t[7]||(t[7]=m(" \xA0/\xA0 ",-1)),t[8]||(t[8]=n("a",{href:"/conferences"},"Conferences",-1)),t[9]||(t[9]=m(" \xA0/\xA0 ",-1)),n("span",Eq,d(e.conference?.conferenceID),1)]),n("div",Nq,[n("div",null,[n("div",Rq,[n("h1",{class:"paper-page-title",textContent:d(e.conference?.name)},null,8,Tq),e.conference?.status?(a(),l("span",Pq,[n("span",{class:R(["status-dot","status-"+e.conference?.status]),"aria-hidden":"true"},null,2),n("span",{textContent:d(e.fmt?.statusLabel(e.conference?.status))},null,8,Dq)])):p("v-if",!0)]),e.conference?.url?(a(),l("p",Aq,[n("a",{target:"_blank",rel:"noopener",textContent:d(e.conference?.url),href:e.safeUrl(e.conference?.url)},null,8,Iq)])):p("v-if",!0)]),n("div",Oq,[n("a",{class:"btn btn-outline-ink",href:e.safeUrl("/conference/"+e.conference?.conferenceID+"/edit")},[...t[10]||(t[10]=[n("svg",{class:"ui-icon mr-1","aria-hidden":"true"},[n("use",{href:"#ui-icon-edit"})],-1),m(" Edit conference",-1)])],8,Mq)])]),n("div",Vq,[n("span",null,[t[11]||(t[11]=m("ID ",-1)),n("b",{class:"commit-hash",textContent:d(e.conference?.conferenceID)},null,8,Lq)]),n("span",null,[t[12]||(t[12]=m("Review window ",-1)),n("b",null,d(e.fmt?.date(e.conference?.startDate,"mediumDate"))+" \u2013 "+d(e.fmt?.date(e.conference?.endDate,"mediumDate")),1)]),n("span",null,[t[13]||(t[13]=m("Repositories ",-1)),n("b",null,d(e.fmt?.number(e.conference?.repositories?.length)),1)]),n("span",null,[t[14]||(t[14]=m("Plan ",-1)),n("b",{textContent:d(e.conferencePlanName(e.conference?.plan?.planID))},null,8,qq)]),e.conference?.price?(a(),l("span",$q,[t[15]||(t[15]=m("Cost so far ",-1)),n("b",null,d(e.fmt?.money(e.conference?.price)),1)])):p("v-if",!0)]),e.billingNotice?(a(),l("div",Fq,[n("p",null,d(e.billingNotice),1),n("button",{type:"button",class:"btn btn-outline-ink",onClick:t[0]||(t[0]=o=>e.refreshBilling()),disabled:e.billingBusy},"Check payment status",8,_q)])):p("v-if",!0),e.billingError&&e.conference?.status!=="pending_payment"?(a(),l("p",Uq,d(e.billingError),1)):p("v-if",!0),e.conference?.status==="pending_payment"?(a(),l("section",Bq,[t[16]||(t[16]=n("h2",{id:"conference-payment-heading"},"Activate your review package",-1)),t[17]||(t[17]=n("p",null,"This conference is waiting for payment. Authors can join after payment is confirmed. Checkout returns to this conference. Authors within the package do not pay separately.",-1)),e.billingLoading?(a(),l("p",zq,"Loading payment options\u2026")):p("v-if",!0),e.billingError?(a(),l("p",Hq,d(e.billingError),1)):p("v-if",!0),(a(!0),l(V,null,X((e.billing?.plans||[]).filter(o=>o.id===e.conference?.plan?.planID),o=>(a(),l("div",{key:o.id},[n("p",null,[n("strong",null,d(o.name)+" package",1),m(": "+d(e.billingPrice(o))+" for up to "+d(o.repositories)+" repositories and "+d(e.billingBytes(o.storage))+" of source files during the review window. Taxes, if applicable, appear at checkout.",1)]),n("button",{type:"button",class:"btn btn-primary",onClick:r=>e.checkout(o.id,e.conference.conferenceID),disabled:e.billingBusy||e.billingPending||e.billing?.checkoutEnabled===!1},d(e.billingBusy?"Please wait\u2026":"Pay for review package"),9,jq)]))),128)),t[18]||(t[18]=n("p",null,[n("a",{href:"/profile#settings-billing"},"Manage invoices")],-1))])):p("v-if",!0),n("div",Gq,[n("div",Wq,[n("button",{type:"button","aria-pressed":e.confView()==="current",onClick:t[1]||(t[1]=o=>e.setConfView("current")),title:"Every repository except removed links"},"Current",8,Kq),e.confCount("attention")>0||e.confView()==="attention"?(a(),l("button",{key:0,type:"button","aria-pressed":e.confView()==="attention",onClick:t[2]||(t[2]=o=>e.setConfView("attention")),"aria-label":"Needs attention "+e.confCount("attention")},[t[19]||(t[19]=n("span",{class:"dashboard-attention-prefix"},"Needs ",-1)),t[20]||(t[20]=n("span",null,"attention",-1)),t[21]||(t[21]=m()),n("span",{class:R(["attention-count",{"has-attention":e.confCount("attention")>0}])},d(e.fmt?.number(e.confCount("attention"))),3)],8,Yq)):p("v-if",!0),e.confCount("removed")>0||e.confView()==="removed"?(a(),l("button",{key:1,type:"button","aria-pressed":e.confView()==="removed",onClick:t[3]||(t[3]=o=>e.setConfView("removed")),title:"Links reviewers can no longer open"},[t[22]||(t[22]=m("Removed ",-1)),n("span",Xq,d(e.fmt?.number(e.confCount("removed"))),1)],8,Jq)):p("v-if",!0)]),n("span",Qq,d(e.conferenceLoaded?e.search.trim()?e.fmt?.number(e.filteredRepositories?.length||0)+" shown":e.fmt?.number(e.filteredRepositories?.length||0)+((e.filteredRepositories?.length||0)===1?" repository":" repositories"):""),1)]),P((a(),l("form",{class:"w-100 conf-repo-toolbar","aria-label":"Filter repositories","accept-charset":"UTF-8",onSubmit:t[4]||(t[4]=de(o=>e.submitForm(o,()=>{o.preventDefault()}),["prevent"]))},[n("div",Zq,[P(n("input",xq,null,512),[[s,{state:e.viewState,set:o=>{e.search=o},value:e.search,form:null,options:{}}]])]),n("div",e$,[n("div",t$,[n("button",n$,[t[23]||(t[23]=n("span",{class:"filter-btn-label"},"Sort",-1)),n("span",o$,d({"-anonymizeDate":"Anonymize date",repoId:"ID","-status":"Status","-pageView":"Views"}[e.orderBy]||"Custom"),1)]),n("div",s$,[t[28]||(t[28]=n("h6",{class:"dropdown-header"},"Order by",-1)),n("div",i$,[P(n("input",r$,null,512),[[s,{state:e.viewState,set:o=>{e.orderBy=o},value:e.orderBy,form:null,options:{}}]]),t[24]||(t[24]=n("label",{class:"form-check-label",for:"anonymizeDate"},"Anonymize date",-1))]),n("div",a$,[P(n("input",l$,null,512),[[s,{state:e.viewState,set:o=>{e.orderBy=o},value:e.orderBy,form:null,options:{}}]]),t[25]||(t[25]=n("label",{class:"form-check-label",for:"sortID"},"ID",-1))]),n("div",d$,[P(n("input",u$,null,512),[[s,{state:e.viewState,set:o=>{e.orderBy=o},value:e.orderBy,form:null,options:{}}]]),t[26]||(t[26]=n("label",{class:"form-check-label",for:"sortStatus"},"Status",-1))]),n("div",c$,[P(n("input",p$,null,512),[[s,{state:e.viewState,set:o=>{e.orderBy=o},value:e.orderBy,form:null,options:{}}]]),t[27]||(t[27]=n("label",{class:"form-check-label",for:"sortViews"},"Views",-1))])])])])],32)),[[i,e.viewState]]),n("div",f$,[n("div",{class:R(["paper-table paper-table-dashboard paper-table-conf w-100",{"is-removed-view":e.confView()==="removed"}]),role:"table","aria-label":"Repositories","aria-busy":!e.conferenceLoaded},[t[38]||(t[38]=n("div",{class:"paper-table-head",role:"row"},[n("div",{role:"columnheader"},"Repository"),n("div",{role:"columnheader"},"Status"),n("div",{role:"columnheader",class:"num"},"Views"),n("div",{role:"columnheader"},"Expires"),n("div",{role:"columnheader"},[n("span",{class:"sr-only"},"Actions")])],-1)),(a(),l(V,null,X([1,2,3,4],(o,r)=>(a(),l(V,null,[e.conferenceLoaded?p("v-if",!0):(a(),l("div",h$,[...t[29]||(t[29]=[n("div",{class:"cell-anon",role:"cell"},[n("span",{class:"skeleton skeleton-badge"}),n("div",{class:"anon-text"},[n("span",{class:"skeleton skeleton-line",style:{width:"38%"}}),n("span",{class:"skeleton skeleton-line skeleton-line-sm",style:{width:"56%"}})])],-1),n("div",{class:"cell-status",role:"cell"},[n("span",{class:"skeleton skeleton-line",style:{width:"60%"}})],-1),n("div",{class:"cell-views num",role:"cell"},[n("span",{class:"skeleton skeleton-line",style:{width:"40%"}})],-1),n("div",{class:"cell-expires",role:"cell"},[n("span",{class:"skeleton skeleton-line",style:{width:"55%"}})],-1),n("div",{class:"cell-actions",role:"cell"},null,-1)])]))],64))),64)),(a(!0),l(V,null,X(e.filteredRepositories,(o,r)=>(a(),l("div",{class:R(["paper-table-row",{"repo-inactive":o?.status=="expired"||o?.status=="removed","repo-error":o?.status=="error"}]),role:"row",key:o?.repoId},[n("div",g$,[t[31]||(t[31]=n("span",{class:"project-type-icon",role:"img","aria-label":"Repository",title:"Repository"},[n("svg",{class:"project-type-svg","aria-hidden":"true"},[n("use",{href:"#project-type-repo"})])],-1)),n("div",v$,[n("div",y$,[n("a",{class:"repo-name",title:o?.source?.fullName,href:e.safeUrl("/r/"+o?.repoId+"/")},[(o?.source?.fullName||"").indexOf("/")>0?(a(),l(V,{key:0},[n("span",w$,d(o.source.fullName.slice(0,o.source.fullName.indexOf("/")+1)),1),t[30]||(t[30]=n("wbr",null,null,-1)),n("span",k$,d(o.source.fullName.slice(o.source.fullName.indexOf("/")+1)),1)],64)):(a(),l(V,{key:1},[m(d(o?.source?.fullName||o?.repoId),1)],64))],8,b$)]),n("div",C$,[n("code",{class:"anonymous-id",title:o?.repoId},[(o?.repoId||"").length>14?(a(),l(V,{key:0},[n("span",E$,d(o.repoId.slice(0,-6)),1),n("span",N$,d(o.repoId.slice(-6)),1)],64)):(a(),l(V,{key:1},[m(d(o?.repoId),1)],64))],8,S$),o?.source?.commit?(a(),l("span",{key:0,class:"commit-hash",title:o.source.commit},d(o.source.commit.substring(0,7)),9,R$)):p("v-if",!0)])])]),n("div",T$,[n("div",P$,[n("div",D$,[n("span",{class:R(["status-dot","status-"+(o?.status=="error"?"error":o?.status=="ready"?"ready":o?.status=="expired"||o?.status=="removed"?o?.status:"progress")]),"aria-hidden":"true"},null,2),n("span",{class:"status-word",textContent:d(e.fmt?.statusLabel(o?.status))},null,8,A$)]),o?.status=="error"&&o?.statusMessage?(a(),l("div",{key:0,class:"status-sub status-sub-error",textContent:d(e.fmt?.statusMsg(o?.statusMessage)),title:o?.statusMessage},null,8,I$)):p("v-if",!0),o?.status=="error"?(a(),l("a",{key:1,class:"project-attention-action",href:e.safeUrl("/status/"+o?.repoId)},"View status",8,O$)):p("v-if",!0),o?.status=="expired"?(a(),l("button",{key:2,type:"button",class:"project-attention-action",onClick:de(u=>e.extendRepo(o),["stop"]),disabled:e.extendingId===o?.repoId,title:"Reviewers can no longer open this link"},"Extend 6 months",8,M$)):p("v-if",!0),o?.anonymizeDate&&o?.status!="error"&&o?.status!="expired"?(a(),l("div",V$,"anonymized "+d(e.fmt?.humanTime(o?.anonymizeDate)),1)):p("v-if",!0)]),n("div",{class:"cell-views num",role:"cell","data-unit":(o?.pageView||0)===1?"view":"views","aria-label":e.fmt?.number(o?.pageView||0)+((o?.pageView||0)===1?" view":" views")},[t[32]||(t[32]=n("svg",{class:"project-type-svg mobile-meta-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-eye"})],-1)),n("span",null,d(e.fmt?.number(o?.pageView||0)),1)],8,L$),n("div",q$,[t[34]||(t[34]=n("svg",{class:"project-type-svg mobile-meta-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-clock"})],-1)),o?.status=="ready"&&(o?.options?.expirationMode==="never"||!o?.options?.expirationDate)?(a(),l("span",$$,"No expiry")):p("v-if",!0),o?.status=="ready"&&o?.options?.expirationMode!=="never"&&o?.options?.expirationDate?(a(),l("span",{key:1,textContent:d((e.fmt?.humanTime(o?.options?.expirationDate)||"").replace(/^on /,""))},null,8,F$)):p("v-if",!0),o?.status=="expired"?(a(),l("span",_$,[t[33]||(t[33]=n("span",{class:"expires-past-prefix"},"Expired ",-1)),m(d(e.fmt?.shortDate(o?.options?.expirationDate)),1)])):p("v-if",!0),o?.status!="ready"&&o?.status!="expired"?(a(),l("span",U$,"\u2014")):p("v-if",!0)])]),n("div",B$,[o?.status!="expired"&&o?.status!="removed"?(a(),l("button",{key:0,type:"button",class:"copy-url",onClick:de(u=>e.copyRepoLink(o),["stop"]),disabled:!!e.copyingId,title:"Copy link: /r/"+o?.repoId+"/","aria-label":"Copy anonymous link for "+o?.repoId},[n("span",H$,d(e.copyingId===o?.repoId?"Link copied":""),1),(a(),l("svg",j$,[n("use",{href:e.copyingId===o?.repoId?"#ui-icon-check":"#project-icon-copy"},null,8,G$)])),n("span",W$,d(e.copyingId===o?.repoId?"Copied":"Copy link"),1)],8,z$)):p("v-if",!0),o?.status!="expired"&&o?.status!="removed"?(a(),l("a",{key:1,class:"row-edit row-open",href:e.safeUrl("/r/"+o?.repoId+"/"),target:"_blank",rel:"noopener",title:"Open what reviewers see","aria-label":"Open anonymous page for "+o?.repoId},[...t[35]||(t[35]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-external-link"})],-1)])],8,K$)):p("v-if",!0),n("div",Y$,[n("button",{class:"btn btn-icon-dots",type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false","aria-label":"Actions for "+o?.repoId},[...t[36]||(t[36]=[n("svg",{class:"project-type-svg","aria-hidden":"true"},[n("use",{href:"#project-icon-more"})],-1)])],8,J$),n("div",X$,[n("a",{class:"dropdown-item",href:e.safeUrl("/r/"+o?.repoId+"/")},"View",8,Q$),n("a",{class:"dropdown-item",href:e.safeUrl("https://github.com/"+o?.source?.fullName+"/"),target:"_blank",rel:"noopener"},"Open source on GitHub",8,Z$),n("a",{class:"dropdown-item",href:e.safeUrl("/anonymize/"+o?.repoId)},"Edit",8,x$)])])])],2))),128)),e.conferenceLoaded&&e.filteredRepositories?.length==0?(a(),l("div",eF,[t[37]||(t[37]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-inbox"})],-1)),e.conference?.repositories?.length?p("v-if",!0):(a(),l("span",tF,"No repository has been submitted to this conference yet.")),e.conference?.repositories?.length?(a(),l("span",nF,"Nothing matches the current filters.")):p("v-if",!0),e.conference?.repositories?.length?(a(),l("div",oF,[n("button",{type:"button",class:"btn btn-outline-ink",onClick:t[5]||(t[5]=o=>{e.search="",e.setConfView("current")})},"Clear filters")])):p("v-if",!0)])):p("v-if",!0)],10,m$)])])])}var sF={class:"container page paper-page conferences-page"},iF={class:"row"},rF={class:"w-100"},aF={class:"d-flex align-items-start justify-content-between flex-wrap page-head-row page-head page-head-main",style:{gap:"12px"}},lF={key:0,href:"/conference/new",class:"btn btn-primary"},dF={class:"search-wrap"},uF={type:"search",id:"search",class:"form-control","aria-label":"Search conferences",placeholder:"Search by name or ID\u2026",autocomplete:"off"},cF={class:"dashboard-filter-controls"},pF={class:"dropdown"},fF={class:"btn dropdown-toggle",type:"button",id:"dropdownSort","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"},mF={class:"filter-btn-value"},hF={class:"dropdown-menu","aria-labelledby":"dropdownSort"},gF={class:"form-check dropdown-item"},vF={class:"form-check-input",type:"radio",name:"sort",id:"sortName",value:"name"},yF={class:"form-check dropdown-item"},bF={class:"form-check-input",type:"radio",name:"sort",id:"sortID",value:"conferenceID"},wF={class:"form-check dropdown-item"},kF={class:"form-check-input",type:"radio",name:"sort",id:"sortStatus",value:"-status"},CF={class:"dropdown"},SF={class:"btn dropdown-toggle",type:"button",id:"dropdownStatus","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"},EF={key:0,class:"filter-btn-value"},NF={key:1,class:"filter-btn-value"},RF={class:"dropdown-menu","aria-labelledby":"dropdownStatus"},TF={class:"form-check dropdown-item"},PF=["id"],DF=["for"],AF={key:1,class:"dashboard-meta"},IF={class:"dashboard-count"},OF={key:0},MF={key:0},VF={key:1},LF={key:0,class:"filter-chip"},qF=["onClick","aria-label"],$F={key:0,class:"conference-feedback",role:"alert"},FF={key:1,class:"sr-only",role:"status"},_F=["aria-busy"],UF={key:0,class:"paper-table-row paper-table-skeleton",role:"row","aria-hidden":"true"},BF={class:"cell-anon",role:"cell"},zF={class:"anon-text"},HF=["textContent","href"],jF={class:"anon-sub"},GF={class:"anon-source"},WF=["textContent"],KF={key:0},YF=["textContent","href"],JF={class:"cell-status",role:"cell"},XF={class:"status-line"},QF=["textContent"],ZF={class:"cell-views num",role:"cell"},xF=["textContent"],e_={class:"cell-expires",role:"cell"},t_={key:0},n_={key:1,class:"empty-dash","aria-label":"No review window"},o_={class:"cell-actions",role:"cell"},s_={class:"dropdown"},i_=["disabled","aria-label"],r_={class:"dropdown-menu dropdown-menu-right"},a_=["href"],l_=["href"],d_={key:0},u_=["onClick"],c_={key:0,class:"paper-table-empty"},p_={key:0,class:"empty-icon","aria-hidden":"true"},f_={key:1,class:"ui-icon","aria-hidden":"true"},m_={key:3},h_={class:"paper-table-empty-actions"},g_={key:0,href:"/conference/new",class:"btn btn-primary conf-empty-new"};function Ep(e,t){let s=Pe("field"),i=Pe("form");return a(),l("div",sF,[n("div",iF,[n("div",rF,[n("div",aF,[t[4]||(t[4]=n("div",null,[n("h1",{class:"paper-page-title"},[m("Your "),n("em",null,"conferences")]),n("p",{class:"paper-page-lede"},"Group anonymizations by venue, give chairs a shared dashboard, and set one expiry for every submission.")],-1)),e.conferences&&e.conferences.length==0?p("v-if",!0):(a(),l("a",lF,[...t[3]||(t[3]=[n("svg",{class:"ui-icon mr-1","aria-hidden":"true"},[n("use",{href:"#project-icon-plus"})],-1),m(" New conference ",-1)])]))]),e.conferences?.length>0?P((a(),l("form",{key:0,class:"w-100 dashboard-filter-row","aria-label":"Filter conferences","accept-charset":"UTF-8",onSubmit:t[0]||(t[0]=de(o=>e.submitForm(o,()=>{o.preventDefault()}),["prevent"]))},[n("div",dF,[P(n("input",uF,null,512),[[s,{state:e.viewState,set:o=>{e.search=o},value:e.search,form:null,options:{}}]])]),n("div",cF,[n("div",pF,[n("button",fF,[t[5]||(t[5]=n("span",{class:"filter-btn-label"},"Sort",-1)),n("span",mF,d({name:"Name",conferenceID:"ID","-status":"Status"}[e.orderBy]||"Custom"),1)]),n("div",hF,[t[9]||(t[9]=n("h6",{class:"dropdown-header"},"Order by",-1)),n("div",gF,[P(n("input",vF,null,512),[[s,{state:e.viewState,set:o=>{e.orderBy=o},value:e.orderBy,form:null,options:{}}]]),t[6]||(t[6]=n("label",{class:"form-check-label",for:"sortName"},"Name",-1))]),n("div",yF,[P(n("input",bF,null,512),[[s,{state:e.viewState,set:o=>{e.orderBy=o},value:e.orderBy,form:null,options:{}}]]),t[7]||(t[7]=n("label",{class:"form-check-label",for:"sortID"},"ID",-1))]),n("div",wF,[P(n("input",kF,null,512),[[s,{state:e.viewState,set:o=>{e.orderBy=o},value:e.orderBy,form:null,options:{}}]]),t[8]||(t[8]=n("label",{class:"form-check-label",for:"sortStatus"},"Status",-1))])])]),n("div",CF,[n("button",SF,[t[10]||(t[10]=n("span",{class:"filter-btn-label"},"Status",-1)),e.filters?.status?.ready&&e.filters?.status?.expired&&e.filters?.status?.removed?(a(),l("span",EF,"All")):p("v-if",!0),e.filters?.status?.ready&&e.filters?.status?.expired&&e.filters?.status?.removed?p("v-if",!0):(a(),l("span",NF,d((e.filters?.status?.ready?0:1)+(e.filters?.status?.expired?0:1)+(e.filters?.status?.removed?0:1))+" hidden ",1))]),n("div",RF,[t[11]||(t[11]=n("h6",{class:"dropdown-header"},"Show statuses",-1)),(a(!0),l(V,null,X(e.statusLabels,(o,r,u)=>(a(),l("div",TF,[P(n("input",{class:"form-check-input",type:"checkbox",id:"status-"+r},null,8,PF),[[s,{state:e.viewState,set:f=>{e.filters.status[r]=f},value:e.filters?.status[r],form:null,options:{}}]]),n("label",{class:"form-check-label",for:"status-"+r},d(o),9,DF)]))),256))])])])],32)),[[i,e.viewState]]):p("v-if",!0),e.conferences?.length>0?(a(),l("div",AF,[n("span",IF,[e.filteredConferences?.length===e.conferences?.length?(a(),l("span",OF,[m(d(e.fmt?.number(e.conferences?.length))+" conference",1),e.conferences?.length!==1?(a(),l("span",MF,"s")):p("v-if",!0)])):p("v-if",!0),e.filteredConferences?.length!==e.conferences?.length?(a(),l("span",VF,d(e.fmt?.number(e.filteredConferences?.length))+" of "+d(e.fmt?.number(e.conferences?.length))+" shown",1)):p("v-if",!0)]),(a(!0),l(V,null,X(e.filters?.status,(o,r,u)=>(a(),l(V,null,[o===!1?(a(),l("span",LF,[m(" Hiding "+d(e.statusLabels[r])+" ",1),n("button",{type:"button",class:"filter-chip-close",onClick:f=>{e.filters.status[r]=!0},"aria-label":"Show "+e.statusLabels[r]+" again"},"\xD7",8,qF)])):p("v-if",!0)],64))),256))])):p("v-if",!0)]),e.error?(a(),l("div",$F,[n("span",null,d(e.error),1),n("button",{type:"button",class:"btn btn-outline-ink",onClick:t[1]||(t[1]=o=>e.loadConferences())},"Retry")])):p("v-if",!0),e.loading?(a(),l("p",FF,"Loading conferences\u2026")):p("v-if",!0),n("div",{class:"paper-table paper-table-conferences w-100",role:"table","aria-label":"Conferences","aria-busy":e.loading?"true":"false"},[t[29]||(t[29]=n("div",{class:"paper-table-head",role:"row"},[n("div",{role:"columnheader"},"Conference"),n("div",{role:"columnheader"},"Status"),n("div",{role:"columnheader",class:"num"},"Repos"),n("div",{role:"columnheader"},"Review window"),n("div",{role:"columnheader"},[n("span",{class:"sr-only"},"Actions")])],-1)),(a(),l(V,null,X([1,2,3],(o,r)=>(a(),l(V,null,[e.loading?(a(),l("div",UF,[...t[12]||(t[12]=[n("div",{class:"cell-anon",role:"cell"},[n("div",{class:"anon-text"},[n("span",{class:"skeleton skeleton-line",style:{width:"46%"}}),n("span",{class:"skeleton skeleton-line skeleton-line-sm",style:{width:"30%"}})])],-1),n("div",{role:"cell"},[n("span",{class:"skeleton skeleton-line",style:{width:"56%"}})],-1),n("div",{class:"num",role:"cell"},[n("span",{class:"skeleton skeleton-line",style:{width:"32%","margin-left":"auto"}})],-1),n("div",{role:"cell"},[n("span",{class:"skeleton skeleton-line",style:{width:"72%"}})],-1),n("div",{role:"cell"},null,-1)])])):p("v-if",!0)],64))),64)),(a(!0),l(V,null,X(e.filteredConferences,(o,r)=>(a(),l("div",{class:R(["paper-table-row row-clickable",{"repo-inactive":o?.status=="expired"||o?.status=="removed"}]),role:"row",key:o?.conferenceID},[n("div",BF,[t[15]||(t[15]=n("svg",{class:"ui-icon record-type-icon",role:"img","aria-label":"Conference"},[n("use",{href:"#project-icon-conference"})],-1)),n("div",zF,[n("a",{class:"repo-name",textContent:d(o?.name),href:e.safeUrl("/conference/"+o?.conferenceID)},null,8,HF),n("div",jF,[n("span",GF,[t[14]||(t[14]=m("ID ",-1)),n("span",{class:"commit-hash",textContent:d(o?.conferenceID)},null,8,WF),o?.url?(a(),l("span",KF,[t[13]||(t[13]=m(" \xB7 ",-1)),n("a",{target:"_blank",rel:"noopener",textContent:d(e.fmt?.limitTo(o?.url,60)),href:e.safeUrl(o?.url)},null,8,YF)])):p("v-if",!0)])])])]),n("div",JF,[n("div",XF,[n("span",{class:R(["status-dot","status-"+o?.status]),"aria-hidden":"true"},null,2),n("span",{class:"status-word",textContent:d(e.fmt?.statusLabel(o?.status))},null,8,QF)])]),n("div",ZF,[t[16]||(t[16]=n("svg",{class:"ui-icon mobile-meta-icon","aria-hidden":"true"},[n("use",{href:"#project-type-repo"})],-1)),t[17]||(t[17]=m()),n("span",{textContent:d(e.fmt?.number(o?.nbRepositories||0))},null,8,xF)]),n("div",e_,[t[18]||(t[18]=n("svg",{class:"ui-icon mobile-meta-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-clock"})],-1)),o?.startDate?(a(),l("span",t_,d(e.fmt?.date(o?.startDate,"mediumDate"))+" \u2013 "+d(e.fmt?.date(o?.endDate,"mediumDate")),1)):p("v-if",!0),o?.startDate?p("v-if",!0):(a(),l("span",n_,"\u2014"))]),n("div",o_,[n("div",s_,[n("button",{class:"btn btn-icon-dots",type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",disabled:o?.removing,"aria-label":"Actions for "+o?.name},[...t[19]||(t[19]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-more"})],-1)])],8,i_),n("div",r_,[n("a",{class:"dropdown-item",href:e.safeUrl("/conference/"+o?.conferenceID+"/")},[...t[20]||(t[20]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-eye"})],-1),m(" View ",-1)])],8,a_),n("a",{class:"dropdown-item",href:e.safeUrl("/conference/"+o?.conferenceID+"/edit")},[...t[21]||(t[21]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-edit"})],-1),m(" Edit ",-1)])],8,l_),o?.status!="removed"?(a(),l("div",d_,[t[23]||(t[23]=n("div",{class:"dropdown-divider"},null,-1)),n("button",{type:"button",class:"dropdown-item dropdown-item-danger",onClick:u=>e.removeConference(o)},[...t[22]||(t[22]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-trash"})],-1),m(" Remove ",-1)])],8,u_)])):p("v-if",!0)])])])],2))),128)),!e.loading&&!e.error&&e.filteredConferences?.length==0?(a(),l("div",c_,[e.conferences?.length==0?(a(),l("span",p_,[...t[24]||(t[24]=[n("svg",{class:"ui-icon"},[n("use",{href:"#project-icon-conference"})],-1)])])):p("v-if",!0),e.conferences?.length>0?(a(),l("svg",f_,[...t[25]||(t[25]=[n("use",{href:"#project-icon-inbox"},null,-1)])])):p("v-if",!0),e.conferences?.length==0?(a(),l(V,{key:2},[t[26]||(t[26]=n("strong",{class:"empty-title"},"No conferences yet",-1)),t[27]||(t[27]=n("span",null,"Create one to group submissions for a venue, share a dashboard with chairs, and set a single expiry date.",-1))],64)):p("v-if",!0),e.conferences?.length>0?(a(),l("span",m_,"Nothing matches the current filters.")):p("v-if",!0),n("div",h_,[e.conferences?.length==0?(a(),l("a",g_,[...t[28]||(t[28]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-plus"})],-1),m(" New conference",-1)])])):p("v-if",!0),e.conferences?.length>0?(a(),l("button",{key:1,type:"button",class:"btn btn-outline-ink",onClick:t[2]||(t[2]=o=>{e.search="",e.filters.status.ready=!0,e.filters.status.expired=!0,e.filters.status.removed=!0})},"Clear filters")):p("v-if",!0)])])):p("v-if",!0)],8,_F)])])}var v_={class:"container page dashboard-page paper-page"},y_={class:"row"},b_={class:"w-100"},w_={class:"dashboard-heading page-head page-head-main"},k_={class:"dashboard-title-line"},C_={key:0,class:"dashboard-count-head","aria-hidden":"true"},S_={key:0},E_={class:"dashboard-heading-actions"},N_=["open"],R_=["aria-expanded"],T_=["stroke-dasharray"],P_={key:1,d:"M7 12c0-4 4-4 5 0s5 4 5 0-4-4-5 0-5 4-5 0",class:"quota-ring-unlimited"},D_={key:0,class:"quota-summary-value"},A_={key:0},I_={class:"quota-panel",id:"dashboard-usage"},O_={class:"quota-panel-heading"},M_={key:1,class:"quota-loading",role:"status"},V_={key:0,class:"dashboard-meta is-loading","aria-hidden":"true"},L_={key:1,class:"dashboard-meta"},q_={key:0,class:"dashboard-view-tabs",role:"group","aria-label":"Project view"},$_=["aria-pressed"],F_=["aria-pressed","aria-label"],__=["aria-pressed","aria-label"],U_={key:0,class:"attention-count"},B_={key:0},z_={key:0},H_={key:1},j_={class:"search-wrap"},G_={type:"search",id:"search",class:"form-control","aria-label":"Search anonymizations",placeholder:"Search projects\u2026",autocomplete:"off"},W_=["aria-expanded"],K_={class:"btn-group",role:"group","aria-label":"Type"},Y_=["aria-pressed"],J_=["aria-pressed"],X_=["aria-pressed"],Q_=["aria-pressed"],Z_={class:"dropdown"},x_={class:"btn dropdown-toggle",type:"button",id:"dropdownSort","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"},e7={class:"filter-btn-value"},t7={class:"sr-only"},n7={class:"dropdown-menu","aria-labelledby":"dropdownSort"},o7={class:"form-check dropdown-item"},s7=["onClick","checked","id"],i7=["for"],r7=["inert"],a7={class:"btn dropdown-toggle",type:"button",id:"dropdownStatus","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"},l7={class:"filter-btn-value"},d7={class:"dropdown-menu","aria-labelledby":"dropdownStatus"},u7={key:0,class:"form-check dropdown-item"},c7=["id"],p7=["for"],f7={key:2,class:"dashboard-active-filters dashboard-active-filters-row"},m7=["onClick","aria-label","title"],h7=["aria-busy"],g7={class:"paper-table-head",role:"row"},v7=["aria-sort"],y7=["aria-sort"],b7=["aria-sort"],w7=["aria-sort"],k7={key:0,class:"paper-table-row paper-table-skeleton",role:"row","aria-hidden":"true"},C7=["onClick"],S7={class:"cell-anon",role:"cell"},E7=["aria-label","title"],N7={class:"project-type-svg","aria-hidden":"true"},R7=["href"],T7={class:"anon-text"},P7={class:"anon-title"},D7=["title","href"],A7={class:"rn-owner"},I7={class:"rn-repo"},O7={key:1,class:"repo-name repo-name-static"},M7={class:"rn-owner"},V7={class:"rn-repo"},L7={key:2,class:"type-badge type-coauthor",title:"You are a co-author on this anonymization"},q7={key:0,class:"anon-sub"},$7=["title"],F7={class:"id-head"},_7={class:"id-tail"},U7=["title"],B7=["title"],z7=["textContent"],H7={class:"dashboard-row-meta",role:"presentation"},j7={class:"cell-status",role:"cell"},G7={class:"status-line"},W7=["textContent"],K7=["onClick"],Y7=["textContent","title"],J7=["title"],X7=["href"],Q7={key:3,class:"status-action-line"},Z7={key:0,class:"status-stuck"},x7=["onClick","data-project-actions","aria-controls","aria-expanded"],eU=["onClick"],tU={key:5,class:"status-sub status-sub-date status-sub-removed"},nU={key:6,class:"status-sub status-sub-date"},oU=["data-unit","aria-label"],sU={class:"cell-expires",role:"cell"},iU={key:0,class:"expires-never"},rU=["textContent"],aU=["title"],lU={key:3,class:"expires-past"},dU={key:4,class:"expires-past"},uU={key:5,class:"empty-dash","aria-label":"Not applicable"},cU={class:"cell-actions",role:"cell"},pU=["onClick","disabled","title","aria-label"],fU={class:"sr-only","aria-live":"polite"},mU={class:"project-type-svg","aria-hidden":"true"},hU=["href"],gU={class:"copy-url-label","aria-hidden":"true"},vU=["href","aria-label"],yU=["href","title","aria-label"],bU=["title","aria-label"],wU=["title","aria-label"],kU=["aria-label"],CU={key:6,class:"dropdown is-disabled"},SU=["aria-label"],EU={key:7,class:"dropdown"},NU=["data-project-actions","aria-label"],RU={class:"dropdown-menu dropdown-menu-right"},TU=["onClick","aria-controls","aria-expanded"],PU=["href"],DU=["href"],AU=["onClick","disabled"],IU=["href"],OU=["onClick"],MU=["onClick"],VU=["onClick"],LU={key:5},qU=["onClick"],$U={key:1,class:"project-details-row",role:"row"},FU=["id","onKeydown"],_U={class:"project-details-heading"},UU=["onClick"],BU={class:"project-details-list"},zU={key:0},HU={key:1},jU={key:0},GU={key:2},WU={key:0,class:"project-progress-help"},KU=["href"],YU=["onSubmit"],JU=["for"],XU=["id"],QU={class:"project-name-controls"},ZU=["id","aria-describedby","disabled"],xU=["disabled"],e9={key:0,class:"project-name-error",role:"alert"},t9={key:1,role:"status"},n9={key:0,class:"paper-table-empty"},o9={key:0},s9={key:1},i9={class:"paper-table-empty-actions"},r9={key:1,href:"/anonymize",class:"btn btn-ink"},a9={key:0,class:"dashboard-pagination"},l9={key:0,role:"alert"},d9=["disabled"];function Np(e,t){let s=Qe("quota-usage"),i=Pe("field"),o=Pe("form");return a(),l("div",v_,[n("div",y_,[n("div",b_,[n("div",w_,[n("div",null,[n("div",k_,[t[27]||(t[27]=n("h1",{class:"paper-page-title"},"My work",-1)),e.dashboardLoaded&&e.isPlainView()?(a(),l("span",C_,[m(d(e.fmt?.number(e.dashboardTotals?.filtered??e.filteredItems?.length))+" project",1),(e.dashboardTotals?.filtered??e.filteredItems?.length)!==1?(a(),l("span",S_,"s")):p("v-if",!0)])):p("v-if",!0)]),t[28]||(t[28]=n("p",{class:"paper-page-lede"},"Manage your anonymous links.",-1))]),n("div",E_,[n("details",{class:"dashboard-quota",open:e.quotaExpanded,onToggle:t[1]||(t[1]=r=>e.quotaExpanded=r.target.open),onKeydown:t[2]||(t[2]=$t(de(r=>e.closeQuota(),["prevent","stop"]),["esc"]))},[n("summary",{"aria-controls":"dashboard-usage","aria-expanded":e.quotaExpanded,class:R(e.quota?"quota-level-"+e.quota.repository.level:""),style:Ae(e.quota&&!e.quota.repository.unlimited?{"--quota-pct":e.quota.repository.percent+"%"}:null)},[(a(),l("svg",{class:R(["quota-summary-ring",e.quota?"quota-"+e.quota.repository.level:""]),viewBox:"0 0 24 24","aria-hidden":"true"},[t[29]||(t[29]=n("circle",{class:"quota-ring-track",cx:"12",cy:"12",r:"9"},null,-1)),e.quota&&!e.quota.repository.unlimited?(a(),l("circle",{key:0,class:"quota-ring-fill",cx:"12",cy:"12",r:"9",pathLength:"100","stroke-dasharray":e.quota.repository.percent+" 100"},null,8,T_)):p("v-if",!0),e.quota?.repository.unlimited?(a(),l("path",P_)):p("v-if",!0)],2)),t[31]||(t[31]=n("span",{class:"quota-summary-label"},"Usage",-1)),e.quota?(a(),l("span",D_,[m(d(e.fmt.number(e.quota.repository.used)),1),e.quota.repository.unlimited?p("v-if",!0):(a(),l("span",A_," / "+d(e.fmt.number(e.quota.repository.total)),1)),t[30]||(t[30]=m(" repos",-1))])):p("v-if",!0),t[32]||(t[32]=n("svg",{class:"project-type-svg quota-summary-chevron","aria-hidden":"true"},[n("use",{href:"#project-icon-chevron"})],-1))],14,R_),n("div",I_,[n("div",O_,[t[34]||(t[34]=n("h2",null,"Account usage",-1)),n("button",{type:"button",class:"project-close","aria-label":"Close usage",onClick:t[0]||(t[0]=r=>e.closeQuota())},[...t[33]||(t[33]=[n("svg",{class:"project-type-svg","aria-hidden":"true"},[n("use",{href:"#project-icon-close"})],-1)])])]),e.quota?(a(),Xt(s,{key:0,quota:e.quota,fmt:e.fmt},null,8,["quota","fmt"])):(a(),l("p",M_,"Loading usage\u2026"))])],40,N_),t[35]||(t[35]=Ce('New anonymization',1))])]),p(" Result count + active filter chips "),p(" First load: the tab row keeps its place with placeholders, so nothing jumps when the counts arrive "),e.dashboardLoaded?p("v-if",!0):(a(),l("div",V_,[...t[36]||(t[36]=[n("div",{class:"dashboard-view-tabs"},[n("span",{class:"skeleton skeleton-line dashboard-tab-skeleton",style:{width:"56px"}}),n("span",{class:"skeleton skeleton-line dashboard-tab-skeleton",style:{width:"112px"}})],-1)])])),e.dashboardLoaded?(a(),l("div",L_,[e.showViewTabs()?(a(),l("div",q_,[n("button",{type:"button","aria-pressed":e.statusView()==="active",onClick:t[3]||(t[3]=r=>e.setStatusView("active")),title:"Every project except removed links"},"Current",8,$_),e.attentionCount()>0||e.statusView()==="attention"?(a(),l("button",{key:0,type:"button","aria-pressed":e.statusView()==="attention",onClick:t[4]||(t[4]=r=>e.setStatusView("attention")),"aria-label":"Needs attention "+e.attentionCount()},[t[37]||(t[37]=n("span",{class:"dashboard-attention-prefix"},"Needs ",-1)),t[38]||(t[38]=n("span",null,"attention",-1)),t[39]||(t[39]=m()),n("span",{class:R(["attention-count",{"has-attention":e.attentionCount()>0}])},d(e.attentionCount()),3)],8,F_)):p("v-if",!0),e.removedCount>0||e.statusView()==="removed"||e.removedCount==null&&e.dashboardTotals?.total>e.dashboardTotals?.filtered?(a(),l("button",{key:1,type:"button","aria-pressed":e.statusView()==="removed",onClick:t[5]||(t[5]=r=>e.setStatusView("removed")),"aria-label":"Removed "+(e.removedCount??""),title:"Links reviewers can no longer open"},[t[40]||(t[40]=m("Removed ",-1)),e.removedCount!=null?(a(),l("span",U_,d(e.fmt?.number(e.removedCount)),1)):p("v-if",!0)],8,__)):p("v-if",!0)])):p("v-if",!0),n("span",{class:R(["dashboard-count",{"is-plain":e.isPlainView()}])},[e.isPlainView()?(a(),l("span",B_,[m(d(e.fmt?.number(e.dashboardTotals?.filtered??e.filteredItems?.length))+" project",1),(e.dashboardTotals?.filtered??e.filteredItems?.length)!==1?(a(),l("span",z_,"s")):p("v-if",!0)])):(a(),l("span",H_,d(e.fmt?.number(e.dashboardTotals?.filtered??e.filteredItems?.length))+" shown",1))],2)])):p("v-if",!0),p(" Search + filters "),P((a(),l("form",{class:"w-100 dashboard-filter-row","aria-label":"Filter anonymizations","accept-charset":"UTF-8",onSubmit:t[13]||(t[13]=de(r=>e.submitForm(r,()=>{r.preventDefault()}),["prevent"]))},[n("div",j_,[P(n("input",G_,null,512),[[i,{state:e.viewState,set:r=>{e.search=r},value:e.search,form:null,options:{}}]])]),n("button",{class:"btn dashboard-filters-toggle",type:"button","aria-expanded":e.filtersExpanded,"aria-controls":"dashboard-filter-controls",onClick:t[6]||(t[6]=r=>e.filtersExpanded=!e.filtersExpanded)},[...t[41]||(t[41]=[m("Filters",-1),n("svg",{class:"project-type-svg","aria-hidden":"true"},[n("use",{href:"#project-icon-filter"})],-1)])],8,W_),n("div",{id:"dashboard-filter-controls",class:R(["dashboard-filter-controls",{expanded:e.filtersExpanded}])},[n("div",K_,[n("button",{type:"button",class:R(["btn",{"btn-primary":e.typeFilter==="all"}]),onClick:t[7]||(t[7]=r=>e.typeFilter="all"),"aria-pressed":e.typeFilter==="all"},"All",10,Y_),n("button",{type:"button",class:R(["btn dashboard-type-filter",{"btn-primary":e.typeFilter==="repo"}]),title:"Repositories",onClick:t[8]||(t[8]=r=>e.typeFilter="repo"),"aria-pressed":e.typeFilter==="repo"},[...t[42]||(t[42]=[n("svg",{class:"project-type-svg","aria-hidden":"true"},[n("use",{href:"#project-type-repo"})],-1),n("span",{class:"type-filter-label"},"Repos",-1)])],10,J_),n("button",{type:"button",class:R(["btn dashboard-type-filter",{"btn-primary":e.typeFilter==="pr"}]),title:"Pull requests",onClick:t[9]||(t[9]=r=>e.typeFilter="pr"),"aria-pressed":e.typeFilter==="pr"},[...t[43]||(t[43]=[n("svg",{class:"project-type-svg","aria-hidden":"true"},[n("use",{href:"#project-type-pr"})],-1),n("span",{class:"type-filter-label"},"PRs",-1)])],10,X_),n("button",{type:"button",class:R(["btn dashboard-type-filter",{"btn-primary":e.typeFilter==="gist"}]),title:"Gists",onClick:t[10]||(t[10]=r=>e.typeFilter="gist"),"aria-pressed":e.typeFilter==="gist"},[...t[44]||(t[44]=[n("svg",{class:"project-type-svg","aria-hidden":"true"},[n("use",{href:"#project-type-gist"})],-1),n("span",{class:"type-filter-label"},"Gists",-1)])],10,Q_)]),n("div",{id:"dashboard-extra-filters",class:R(["dashboard-extra-filters",{expanded:e.filtersExpanded}])},[n("div",Z_,[n("button",x_,[t[46]||(t[46]=n("span",{class:"filter-btn-label"},"Sort",-1)),n("span",e7,d(e.sortLabel()),1),(a(),l("svg",{class:R(["project-type-svg sort-direction",{ascending:!e.sortDesc()}]),"aria-hidden":"true"},[...t[45]||(t[45]=[n("use",{href:"#project-icon-arrow"},null,-1)])],2)),n("span",t7,d(e.sortDesc()?"descending":"ascending"),1)]),n("div",n7,[t[47]||(t[47]=n("h6",{class:"dropdown-header"},"Order by",-1)),(a(!0),l(V,null,X(e.sortFields,(r,u,f)=>(a(),l("div",o7,[n("input",{class:"form-check-input",type:"radio",name:"sort",onClick:c=>e.setSort(u,r.defaultDesc),checked:e.isSortedBy(u),id:"sort-"+f},null,8,s7),n("label",{class:"form-check-label",for:"sort-"+f},d(r?.label),9,i7)]))),256)),t[48]||(t[48]=n("div",{class:"dropdown-divider"},null,-1)),n("button",{type:"button",class:"dropdown-item",onClick:t[11]||(t[11]=r=>e.toggleSortDirection())},d(e.sortDesc()?"Switch to ascending":"Switch to descending"),1)])]),n("div",{class:R(["dropdown dashboard-status-filter",{"is-view-hidden":e.statusView()==="removed"}]),inert:e.statusView()==="removed"?!0:null},[n("button",a7,[t[49]||(t[49]=n("span",{class:"filter-btn-label"},"Status",-1)),n("span",l7,d(e.statusChipKeys().length===0?"Any":e.statusChipKeys().length===1?"Hiding "+(e.statusKeyLabels[e.statusChipKeys()[0]]||"").toLowerCase():e.statusChipKeys().length+" hidden"),1)]),n("div",d7,[t[50]||(t[50]=n("h6",{class:"dropdown-header"},"Show statuses",-1)),n("button",{type:"button",class:R(["dropdown-item status-preset",{active:e.statusChipKeys().length===0}]),onClick:t[12]||(t[12]=r=>e.statusChipKeys().forEach(u=>{e.filters.status[u]=!0}))},"Any status",2),t[51]||(t[51]=n("div",{class:"dropdown-divider"},null,-1)),(a(!0),l(V,null,X(e.statusKeyLabels,(r,u,f)=>(a(),l(V,{key:u},[u!=="removed"?(a(),l("div",u7,[P(n("input",{class:"form-check-input",type:"checkbox",id:"status-"+u},null,8,c7),[[i,{state:e.viewState,set:c=>{e.filters.status[u]=c},value:e.filters?.status[u],form:null,options:{}}]]),n("label",{class:"form-check-label",for:"status-"+u},d(r),9,p7)])):p("v-if",!0)],64))),128))])],10,r7)],2)],2)],32)),[[o,e.viewState]]),e.dashboardLoaded&&e.showClearFilters()?(a(),l("div",f7,[(a(!0),l(V,null,X(e.statusChipKeys(),r=>(a(),l("button",{key:r,type:"button",class:"filter-chip",onClick:u=>e.filters.status[r]=!0,"aria-label":"Show "+e.statusKeyLabels[r]+" again",title:"Show "+e.statusKeyLabels[r]+" again"},[m("Hiding "+d((e.statusKeyLabels[r]||"").toLowerCase()),1),t[52]||(t[52]=n("svg",{class:"project-type-svg","aria-hidden":"true"},[n("use",{href:"#project-icon-close"})],-1))],8,m7))),128)),e.typeFilter!=="all"?(a(),l("button",{key:0,type:"button",class:"filter-chip",onClick:t[14]||(t[14]=r=>e.typeFilter="all"),"aria-label":"Show all project types"},[m(d(e.typeFilter==="repo"?"Repositories":e.typeFilter==="pr"?"Pull requests":"Gists"),1),t[53]||(t[53]=n("svg",{class:"project-type-svg","aria-hidden":"true"},[n("use",{href:"#project-icon-close"})],-1))])):p("v-if",!0),e.showClearFilters()?(a(),l("button",{key:1,type:"button",class:"btn-link-inline",onClick:t[15]||(t[15]=r=>e.clearFilters())},"Clear filters")):p("v-if",!0)])):p("v-if",!0)]),p(" Table "),n("div",{class:R(["paper-table paper-table-dashboard",{"is-removed-view":e.statusView()==="removed","is-refreshing":e.refreshing}]),role:"table","aria-label":"Anonymizations","aria-busy":e.loading||e.refreshing},[n("div",g7,[n("div",{role:"columnheader","aria-sort":e.isSortedBy("_label")?e.sortDesc()?"descending":"ascending":"none"},[n("button",{type:"button",class:R(["sortable",{active:e.isSortedBy("_label")}]),onClick:t[16]||(t[16]=r=>e.setSort("_label"))},[t[55]||(t[55]=m(" Project ",-1)),e.isSortedBy("_label")?(a(),l("svg",{key:0,class:R(["project-type-svg sort-direction",{ascending:!e.sortDesc()}]),"aria-hidden":"true"},[...t[54]||(t[54]=[n("use",{href:"#project-icon-arrow"},null,-1)])],2)):p("v-if",!0)],2)],8,v7),n("div",{role:"columnheader","aria-sort":e.isSortedBy("status")?e.sortDesc()?"descending":"ascending":"none"},[n("button",{type:"button",class:R(["sortable",{active:e.isSortedBy("status")}]),onClick:t[17]||(t[17]=r=>e.setSort("status"))},[t[57]||(t[57]=m(" Status ",-1)),e.isSortedBy("status")?(a(),l("svg",{key:0,class:R(["project-type-svg sort-direction",{ascending:!e.sortDesc()}]),"aria-hidden":"true"},[...t[56]||(t[56]=[n("use",{href:"#project-icon-arrow"},null,-1)])],2)):p("v-if",!0)],2)],8,y7),n("div",{role:"columnheader",class:"num","aria-sort":e.isSortedBy("pageView")?e.sortDesc()?"descending":"ascending":"none"},[n("button",{type:"button",class:R(["sortable",{active:e.isSortedBy("pageView")}]),onClick:t[18]||(t[18]=r=>e.setSort("pageView"))},[t[59]||(t[59]=m(" Views ",-1)),e.isSortedBy("pageView")?(a(),l("svg",{key:0,class:R(["project-type-svg sort-direction",{ascending:!e.sortDesc()}]),"aria-hidden":"true"},[...t[58]||(t[58]=[n("use",{href:"#project-icon-arrow"},null,-1)])],2)):p("v-if",!0)],2)],8,b7),n("div",{role:"columnheader","aria-sort":e.isSortedBy("options.expirationDate")?e.sortDesc()?"descending":"ascending":"none"},[n("button",{type:"button",class:R(["sortable",{active:e.isSortedBy("options.expirationDate")}]),onClick:t[19]||(t[19]=r=>e.setSort("options.expirationDate"))},[t[61]||(t[61]=m(" Expires ",-1)),e.isSortedBy("options.expirationDate")?(a(),l("svg",{key:0,class:R(["project-type-svg sort-direction",{ascending:!e.sortDesc()}]),"aria-hidden":"true"},[...t[60]||(t[60]=[n("use",{href:"#project-icon-arrow"},null,-1)])],2)):p("v-if",!0)],2)],8,w7),t[62]||(t[62]=n("div",{role:"columnheader",class:"col-link"},[n("span",{class:"sr-only"},"Actions")],-1))]),p(` Loading skeleton: keeps the layout stable while the lists load, and stands in for the rows when a reload (tab, search, filter) has none of the new rows yet `),(a(),l(V,null,X([1,2,3,4],(r,u)=>(a(),l(V,null,[e.loading||e.refreshing&&e.filteredItems?.length==0?(a(),l("div",k7,[...t[63]||(t[63]=[n("div",{class:"cell-anon",role:"cell"},[n("span",{class:"skeleton skeleton-badge"}),n("div",{class:"anon-text"},[n("span",{class:"skeleton skeleton-line",style:{width:"38%"}}),n("span",{class:"skeleton skeleton-line skeleton-line-sm",style:{width:"56%"}})])],-1),n("div",{class:"cell-status",role:"cell"},[n("span",{class:"skeleton skeleton-line",style:{width:"60%"}})],-1),n("div",{class:"cell-views num",role:"cell"},[n("span",{class:"skeleton skeleton-line",style:{width:"40%"}})],-1),n("div",{class:"cell-expires",role:"cell"},[n("span",{class:"skeleton skeleton-line",style:{width:"55%"}})],-1),n("div",{class:"cell-actions",role:"cell"},null,-1)])])):p("v-if",!0)],64))),64)),(a(!0),l(V,null,X(e.filteredItems,(r,u)=>(a(),l(V,{key:r?._type+":"+(r?._id||u)},[e.loading?p("v-if",!0):(a(),l("div",{key:0,class:R(["paper-table-row",{"repo-inactive":r?._statusKey=="expired"||r?._statusKey=="removed","repo-error":r?.status=="error","row-clickable":!!r?._viewUrl}]),role:"row",onClick:f=>e.openItem(r,f)},[n("div",S7,[n("span",{class:"project-type-icon",role:"img","aria-label":r?._type==="repo"?"Repository":r?._type==="pr"?"Pull request":"Gist",title:r?._type==="repo"?"Repository":r?._type==="pr"?"Pull request":"Gist"},[(a(),l("svg",N7,[n("use",{href:"#project-type-"+r._type},null,8,R7)]))],8,E7),n("div",T7,[n("div",P7,[r?._viewUrl?(a(),l("a",{key:0,class:"repo-name",title:r._label,href:e.safeUrl(r?._viewUrl)},[(r?._label||"").indexOf("/")>0?(a(),l(V,{key:0},[n("span",A7,d(r._label.slice(0,r._label.indexOf("/")+1)),1),t[64]||(t[64]=n("wbr",null,null,-1)),n("span",I7,d(r._label.slice(r._label.indexOf("/")+1)),1)],64)):(a(),l(V,{key:1},[m(d(r?._label),1)],64))],8,D7)):p("v-if",!0),r?._viewUrl?p("v-if",!0):(a(),l("span",O7,[(r?._label||"").indexOf("/")>0?(a(),l(V,{key:0},[n("span",M7,d(r._label.slice(0,r._label.indexOf("/")+1)),1),t[65]||(t[65]=n("wbr",null,null,-1)),n("span",V7,d(r._label.slice(r._label.indexOf("/")+1)),1)],64)):(a(),l(V,{key:1},[m(d(r?._label),1)],64))])),r?.role==="coauthor"?(a(),l("span",L7,"Co-author")):p("v-if",!0)]),r?._id||r?._type==="repo"&&r?.source?.commit||r?.conference?(a(),l("div",q7,[r?._id?(a(),l("code",{key:0,class:"anonymous-id",title:r._id},[r._id.length>14?(a(),l(V,{key:0},[n("span",F7,d(r._id.slice(0,-6)),1),n("span",_7,d(r._id.slice(-6)),1)],64)):(a(),l(V,{key:1},[m(d(r._id),1)],64))],8,$7)):p("v-if",!0),r?._type==="repo"&&r?.source?.commit?(a(),l("span",{key:1,class:"commit-hash",title:r.source.commit},d(r.source.commit.substring(0,7)),9,U7)):p("v-if",!0),r?.conference?(a(),l("span",{key:2,class:"cell-conf conf-tag",title:"Conference: "+r.conference},[t[66]||(t[66]=n("svg",{class:"project-type-svg","aria-hidden":"true"},[n("use",{href:"#project-icon-conference"})],-1)),n("span",{class:"conf-name",textContent:d(r?.conference)},null,8,z7)],8,B7)):p("v-if",!0)])):p("v-if",!0)])]),n("div",H7,[n("div",j7,[n("div",G7,[n("span",{class:R(["status-dot","status-"+r?._statusKey]),"aria-hidden":"true"},null,2),n("span",{class:"status-word",textContent:d(e.fmt?.statusLabel(r?.status))},null,8,W7),r?.status=="removed"?(a(),l(V,{key:0},[t[67]||(t[67]=n("span",{class:"seg-sep status-removed-sep","aria-hidden":"true"},"\xB7",-1)),n("button",{type:"button",class:"project-attention-action status-enable",onClick:de(f=>e.refreshItem(r),["stop"]),title:"Reviewers can no longer open this link"},"Enable again",8,K7)],64)):p("v-if",!0)]),r?.status=="error"&&r?.statusMessage?(a(),l("div",{key:0,class:"status-sub status-sub-error",textContent:d(e.fmt?.statusMsg(r?.statusMessage)),title:r?.statusMessage},null,8,Y7)):p("v-if",!0),r?._stale?(a(),l("div",{key:1,class:"status-sub status-sub-warn",title:"Last activity "+e.fmt?.humanTime(r?.anonymizeDate||r?.lastView)},d(e.idleText(r)),9,J7)):p("v-if",!0),r.status==="error"&&r._editUrl?(a(),l("a",{key:2,class:"project-attention-action",href:e.safeUrl(r._editUrl)},"Fix source",8,X7)):p("v-if",!0),r._stale||r._broken?(a(),l("div",Q7,[r._stale&&!r._broken?(a(),l("span",Z7,[...t[68]||(t[68]=[m("May be stuck",-1),n("span",{"aria-hidden":"true"}," \xB7 ",-1)])])):p("v-if",!0),r._stale||r._broken?(a(),l("button",{key:1,type:"button",class:"project-attention-action",onClick:de(f=>e.showProjectDetails(r),["stop"]),"data-project-actions":r._broken?encodeURIComponent(r._type+":"+r._id):null,"aria-controls":r._broken?e.projectDetailsId(r):null,"aria-expanded":r._broken?e.selectedProject===r:null},d(r._broken?"Review details":"Check progress"),9,x7)):p("v-if",!0)])):p("v-if",!0),r?.status=="expired"?(a(),l("button",{key:4,type:"button",class:"project-attention-action",onClick:de(f=>e.extendItem(r),["stop"]),title:"Reviewers can no longer open this link"},"Extend 6 months",8,eU)):p("v-if",!0),r?.status=="removed"&&r?.anonymizeDate?(a(),l("div",tU,"anonymized "+d(e.fmt?.humanTime(r?.anonymizeDate)),1)):p("v-if",!0),r?.status!="error"&&r?.status!="expired"&&r?.status!="removed"&&!r?._stale&&r?.anonymizeDate?(a(),l("div",nU," anonymized "+d(e.fmt?.humanTime(r?.anonymizeDate)),1)):p("v-if",!0)]),n("div",{class:"cell-views num",role:"cell","data-unit":r.pageView===1?"view":"views","aria-label":e.fmt.number(r.pageView)+(r.pageView===1?" view":" views")},[t[69]||(t[69]=n("svg",{class:"project-type-svg mobile-meta-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-eye"})],-1)),n("span",null,d(e.fmt.number(r.pageView)),1)],8,oU),n("div",sU,[t[73]||(t[73]=n("svg",{class:"project-type-svg mobile-meta-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-clock"})],-1)),r?._expiry?.kind==="never"?(a(),l("span",iU,"No expiry")):p("v-if",!0),r?._expiry?.kind==="date"&&!r?._expiry?.soon?(a(),l("span",{key:1,textContent:d((e.fmt?.humanTime(r?._expiry?.date)||"").replace(/^on /,""))},null,8,rU)):p("v-if",!0),r?._expiry?.kind==="date"&&r?._expiry?.soon?(a(),l("span",{key:2,class:"expires-soon",title:"Expires "+e.fmt?.humanTime(r?._expiry?.date)},[t[70]||(t[70]=n("svg",{class:"project-type-svg expires-soon-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-clock"})],-1)),t[71]||(t[71]=n("span",{class:"expires-soon-prefix"},"Expires ",-1)),m(d(r._expiry.soon),1)],8,aU)):p("v-if",!0),r?._expiry?.kind==="expired"&&r?._expiry?.date?(a(),l("span",lU,[t[72]||(t[72]=n("span",{class:"expires-past-prefix"},"Expired ",-1)),m(d(r?._expiry?.label||e.fmt?.humanTime(r?._expiry?.date)),1)])):p("v-if",!0),r?._expiry?.kind==="expired"&&!r?._expiry?.date?(a(),l("span",dU,"Expired")):p("v-if",!0),r?._expiry?.kind==="none"?(a(),l("span",uU,"\u2014")):p("v-if",!0)])]),n("div",cU,[r._viewUrl&&!(r?._statusKey=="expired"||r?._statusKey=="removed")?(a(),l("button",{key:0,type:"button",class:"copy-url",onClick:de(f=>e.copyLink(r),["stop"]),disabled:!!e.copyingId,title:"Copy link: "+r._viewUrl,"aria-label":"Copy anonymous link for "+r._label},[n("span",fU,d(e.copyingId===r._type+":"+r._id?"Link copied":""),1),(a(),l("svg",mU,[n("use",{href:e.copyingId===r._type+":"+r._id?"#ui-icon-check":"#project-icon-copy"},null,8,hU)])),n("span",gU,d(e.copyingId===r._type+":"+r._id?"Copied":"Copy link"),1)],8,pU)):p("v-if",!0),r._viewUrl&&!(r?._statusKey=="expired"||r?._statusKey=="removed")?(a(),l("a",{key:1,class:"row-edit row-open",href:e.safeUrl(r._viewUrl),target:"_blank",rel:"noopener",title:"Open what reviewers see","aria-label":"Open anonymous page for "+r._label},[...t[74]||(t[74]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-external-link"})],-1)])],8,vU)):p("v-if",!0),r?._editUrl&&!r?._broken&&r?._statusKey!="removed"?(a(),l("a",{key:2,class:"row-edit",href:e.safeUrl(r._editUrl),title:"Edit "+r._name,"aria-label":"Edit "+r._name},[...t[75]||(t[75]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-edit"})],-1)])],8,yU)):p("v-if",!0),!(r._viewUrl&&!(r?._statusKey=="expired"||r?._statusKey=="removed"))&&r?._statusKey!="removed"&&r?._statusKey!="expired"?(a(),l("button",{key:3,type:"button",class:"copy-url is-disabled","aria-disabled":"true",onClick:t[20]||(t[20]=de(()=>{},["stop"])),title:r?._statusKey=="expired"?"Link expired: reviewers can no longer open it":r?._statusKey=="removed"?"Link offline: reviewers can no longer open it":"No link: this record is incomplete","aria-label":"Copy link unavailable for "+r._label},[...t[76]||(t[76]=[n("svg",{class:"project-type-svg","aria-hidden":"true"},[n("use",{href:"#project-icon-copy"})],-1),n("span",{class:"copy-url-label","aria-hidden":"true"},"Copy link",-1)])],8,bU)):p("v-if",!0),!(r._viewUrl&&!(r?._statusKey=="expired"||r?._statusKey=="removed"))&&r?._statusKey!="removed"&&r?._statusKey!="expired"?(a(),l("button",{key:4,type:"button",class:"row-edit row-open is-disabled","aria-disabled":"true",onClick:t[21]||(t[21]=de(()=>{},["stop"])),title:r?._statusKey=="expired"?"Link expired: reviewers can no longer open it":r?._statusKey=="removed"?"Link offline: reviewers can no longer open it":"No link: this record is incomplete","aria-label":"Open unavailable for "+r._label},[...t[77]||(t[77]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-external-link"})],-1)])],8,wU)):p("v-if",!0),r?._editUrl&&!r?._broken?p("v-if",!0):(a(),l("button",{key:5,type:"button",class:"row-edit is-disabled","aria-disabled":"true",onClick:t[22]||(t[22]=de(()=>{},["stop"])),title:"Can't edit: this record is incomplete","aria-label":"Edit unavailable for "+r._label},[...t[78]||(t[78]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-edit"})],-1)])],8,kU)),r?._broken?(a(),l("div",CU,[n("button",{type:"button",class:"btn btn-icon-dots is-disabled","aria-disabled":"true",onClick:t[23]||(t[23]=de(()=>{},["stop"])),title:"No actions: this record is incomplete. Use Review details.","aria-label":"No actions available for "+r._label},[...t[79]||(t[79]=[n("svg",{class:"project-type-svg","aria-hidden":"true"},[n("use",{href:"#project-icon-more"})],-1)])],8,SU)])):p("v-if",!0),r?._broken?p("v-if",!0):(a(),l("div",EU,[n("button",{class:"btn btn-icon-dots",type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false","data-project-actions":encodeURIComponent(r._type+":"+r._id),"aria-label":"Actions for "+r?._name},[...t[80]||(t[80]=[n("svg",{class:"project-type-svg","aria-hidden":"true"},[n("use",{href:"#project-icon-more"})],-1)])],8,NU),n("div",RU,[n("button",{type:"button",class:"dropdown-item",onClick:f=>e.showProjectDetails(r),"aria-controls":e.projectDetailsId(r),"aria-expanded":e.selectedProject===r},"Project details & name",8,TU),n("a",{class:"dropdown-item",href:e.safeUrl(r?._viewUrl)}," View ",8,PU),r?._type==="repo"&&r?.options?.page&&r?.status=="ready"?(a(),l("a",{key:0,class:"dropdown-item",target:"_self",href:e.safeUrl("/w/"+r?.repoId+"/")}," View page ",8,DU)):p("v-if",!0),r?._viewUrl?(a(),l("button",{key:1,type:"button",class:"dropdown-item",onClick:f=>e.copyLink(r),disabled:!!e.copyingId}," Copy anonymous link ",8,AU)):p("v-if",!0),n("a",{class:"dropdown-item",href:e.safeUrl(r?._editUrl)}," Edit ",8,IU),r?.status=="ready"||r?.status=="error"?(a(),l("button",{key:2,type:"button",class:"dropdown-item",onClick:f=>e.refreshItem(r)}," Force update ",8,OU)):p("v-if",!0),r?.status=="removed"?(a(),l("button",{key:3,type:"button",class:"dropdown-item",onClick:f=>e.refreshItem(r)}," Enable ",8,MU)):p("v-if",!0),r?.status=="expired"?(a(),l("button",{key:4,type:"button",class:"dropdown-item",onClick:f=>e.extendItem(r)}," Extend 6 months ",8,VU)):p("v-if",!0),(r?.status=="ready"||r?.status=="expired"||r?.status=="error")&&r?.role!=="coauthor"?(a(),l("div",LU,[t[81]||(t[81]=n("div",{class:"dropdown-divider"},null,-1)),n("button",{type:"button",class:"dropdown-item dropdown-item-danger",onClick:f=>e.removeItem(r)}," Remove ",8,qU)])):p("v-if",!0)])]))])],10,C7)),!e.loading&&e.selectedProject===r?(a(),l("div",$U,[n("div",{class:"project-details",role:"cell","aria-colspan":"5",id:e.projectDetailsId(r),tabindex:"-1",onKeydown:$t(de(f=>e.closeProjectDetails(r),["stop"]),["esc"])},[n("div",_U,[t[83]||(t[83]=n("h2",null,"Project details",-1)),n("button",{type:"button",class:"project-close",onClick:f=>e.closeProjectDetails(r),"aria-label":"Close project details"},[...t[82]||(t[82]=[n("svg",{class:"project-type-svg","aria-hidden":"true"},[n("use",{href:"#project-icon-close"})],-1)])],8,UU)]),n("dl",BU,[n("div",null,[t[84]||(t[84]=n("dt",null,"Source",-1)),n("dd",null,d(r._source||"Not available"),1)]),n("div",null,[t[85]||(t[85]=n("dt",null,"Anonymous ID",-1)),n("dd",null,[n("code",null,d(r._id||"Missing identifier"),1)])]),r.source?.commit?(a(),l("div",zU,[t[86]||(t[86]=n("dt",null,"Commit",-1)),n("dd",null,[n("code",null,d(r.source.commit),1)])])):p("v-if",!0),r.conference?(a(),l("div",HU,[t[87]||(t[87]=n("dt",null,"Conference",-1)),n("dd",null,d(r.conference),1)])):p("v-if",!0),n("div",null,[t[88]||(t[88]=n("dt",null,"Status",-1)),n("dd",null,[m(d(e.fmt.statusLabel(r.status)),1),r.statusMessage?(a(),l("span",jU," \xB7 "+d(e.fmt.statusMsg(r.statusMessage)),1)):p("v-if",!0)])]),r.anonymizeDate?(a(),l("div",GU,[t[89]||(t[89]=n("dt",null,"Last anonymized",-1)),n("dd",null,d(e.fmt.humanTime(r.anonymizeDate)),1)])):p("v-if",!0)]),r._stale?(a(),l("p",WU,"This download has not progressed recently. Check the source access and selected branch before retrying.")):p("v-if",!0),r._editUrl?(a(),l("a",{key:1,class:"project-attention-action",href:e.safeUrl(r._editUrl)},d(e.needsAttention(r)?"Check source settings":"Edit anonymization settings"),9,KU)):p("v-if",!0),r._id?(a(),l("form",{key:2,class:"project-name-form",onSubmit:de(f=>e.saveProjectName(r),["prevent"])},[n("label",{for:"project-name-"+r._type+"-"+r._id},"Project name",8,JU),n("p",{id:"project-name-help-"+r._type+"-"+r._id},"Only you see this name. Leave it blank to use the default.",8,XU),n("div",QU,[P(n("input",{class:"form-control",type:"text",id:"project-name-"+r._type+"-"+r._id,"aria-describedby":"project-name-help-"+r._type+"-"+r._id,maxlength:"100","onUpdate:modelValue":t[24]||(t[24]=f=>e.projectName=f),disabled:e.nameSaving},null,8,ZU),[[nt,e.projectName]]),n("button",{class:"btn btn-ink",type:"submit",disabled:e.nameSaving},d(e.nameSaving?"Saving\u2026":"Save name"),9,xU)]),e.nameError?(a(),l("p",e9,d(e.nameError),1)):p("v-if",!0),e.nameMessage?(a(),l("p",t9,d(e.nameMessage),1)):p("v-if",!0)],40,YU)):p("v-if",!0)],40,FU)])):p("v-if",!0)],64))),128)),!e.loading&&!e.refreshing&&e.filteredItems?.length==0?(a(),l("div",n9,[t[91]||(t[91]=n("svg",{class:"project-type-svg project-empty-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-inbox"})],-1)),e.hasProjects()?p("v-if",!0):(a(),l("span",o9,"You have no anonymizations yet.")),e.hasProjects()?(a(),l("span",s9,"Nothing matches the current filters.")):p("v-if",!0),n("div",i9,[e.hasActiveFilters()?(a(),l("button",{key:0,type:"button",class:"btn btn-outline-ink",onClick:t[25]||(t[25]=r=>e.clearFilters())},"Clear filters")):p("v-if",!0),e.hasProjects()?p("v-if",!0):(a(),l("a",r9,[...t[90]||(t[90]=[n("svg",{class:"project-type-svg","aria-hidden":"true"},[n("use",{href:"#project-icon-plus"})],-1),m(" New anonymization",-1)])]))])])):p("v-if",!0)],10,h7)]),e.dashboardCursor||e.dashboardError?(a(),l("div",a9,[e.dashboardError?(a(),l("p",l9,d(e.dashboardError),1)):p("v-if",!0),e.dashboardCursor?(a(),l("button",{key:1,type:"button",class:"btn",onClick:t[26]||(t[26]=r=>e.loadMoreProjects()),disabled:e.loadingMore},d(e.loadingMore?"Loading\u2026":"Load more projects"),9,d9)):p("v-if",!0)])):p("v-if",!0)])}var u9={class:"viewer-bar"},c9={class:"vb-left"},p9=["aria-label","title"],f9=["href","title"],m9={class:"vb-artifact-id"},h9={class:"vb-right"},g9=["title"],v9={class:"vb-help"},y9=["aria-expanded"],b9={key:0,class:"acct-menu vb-help-menu",role:"menu"},w9=["aria-label","title"],k9={class:"ui-icon","aria-hidden":"true"},C9=["href"],S9={key:1,class:"acct"},E9=["aria-label","aria-expanded"],N9=["src"],R9={key:1,class:"acct-initial"},T9={key:0,class:"acct-menu",role:"menu"},P9={class:"acct-menu-head"},D9={key:2,class:"vb-signin",href:"/signin",target:"_self"},A9={key:0,class:"vb-context"},I9=["href","title"],O9={key:0,class:"vb-context-date"},M9=["aria-label"],V9={class:"ui-icon","aria-hidden":"true"},L9=["href"],q9=["textContent"],$9={class:"leftCol-head"},F9={class:"leftCol-search"},_9={class:"tree-search-box"},U9=["href"],B9={type:"text",class:"tree-search-input",placeholder:"Search files","aria-label":"Search files"},z9=["title","href"],H9={class:"leftCol-body"},j9={key:0,class:"paper-inline-warning",role:"alert"},G9={key:1,class:"paper-inline-warning",role:"alert"},W9={class:"explorer-main"},K9={class:"breadcrumb paths","aria-label":"Path"},Y9={class:"breadcrumb-item breadcrumb-root"},J9=["href","title","textContent"],X9=["aria-current","textContent"],Q9=["aria-label","title"],Z9={class:"ui-icon","aria-hidden":"true"},x9=["href"],eB={class:"status-bar-actions"},tB=["href"],nB={class:"d-none d-md-inline"},oB={class:"ui-icon","aria-hidden":"true"},sB=["href"],iB={class:"d-none d-md-inline"},rB=["href"],aB={class:"explorer-content"};function Rp(e,t){let s=Qe("tree"),i=Qe("partial-view"),o=Pe("field");return a(),l("div",{class:R(["explorer-page",{"files-hidden":e.sidebarHidden}]),style:Ae({"--sidebar-w":e.sidebarWidth+"px"})},[n("header",u9,[n("div",c9,[t[15]||(t[15]=n("a",{class:"vb-logo",href:"/"},[m("Anonymous "),n("em",null,"GitHub")],-1)),n("button",{type:"button",class:"vb-icon vb-sidebar","aria-label":e.sidebarHidden?"Show file tree":"Hide file tree",title:e.sidebarHidden?"Show file tree":"Hide file tree",onClick:t[0]||(t[0]=r=>e.sidebarHidden=!e.sidebarHidden)},[...t[13]||(t[13]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-sidebar"})],-1)])],8,p9),e.repoId?(a(),l("a",{key:0,class:"vb-artifact",href:e.safeUrl("/r/"+e.repoId+"/"),title:"Anonymous artifact "+e.repoId},[t[14]||(t[14]=n("span",{class:"sr-only"},"Artifact ",-1)),n("span",m9,d(e.repoId),1)],8,f9)):p("v-if",!0)]),n("div",h9,[e.options?.sourceCommitDate||e.options?.anonymizedAt||e.options?.lastUpdateDate?(a(),l("span",{key:0,class:"vb-snapshot",title:(e.options?.expirationDate?"Available until "+e.fmt?.date(e.options.expirationDate)+". ":"")+(e.options?.anonymizedAt&&!e.options?.publishedAt?"Older repositories have no recorded publication date. The source commit date does not establish when files became available here.":(e.options?.sourceCommitDate?"Source commit ":e.options?.anonymizedAt?"Anonymized ":"Updated ")+e.fmt?.date(e.options?.sourceCommitDate||e.options?.anonymizedAt||e.options?.lastUpdateDate)+(e.options?.publishedAt?" \xB7 snapshot ready "+e.fmt?.date(e.options.publishedAt):""))},[t[16]||(t[16]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-clock"})],-1)),t[17]||(t[17]=n("span",null,"Snapshot",-1)),n("span",null,d(e.fmt?.date(e.options?.publishedAt||e.options?.sourceCommitDate||e.options?.anonymizedAt||e.options?.lastUpdateDate)),1)],8,g9)):p("v-if",!0),t[25]||(t[25]=n("a",{class:"vb-support",href:"https://ko-fi.com/tdurieux",target:"_blank",rel:"noopener",title:"Support Anonymous GitHub \u2014 help keep it free for researchers"},[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-heart"})]),n("span",null,"Support")],-1)),n("div",v9,[n("button",{type:"button",class:"vb-help-btn","aria-haspopup":"true","aria-expanded":e.helpOpen?"true":"false",onClick:t[1]||(t[1]=de(r=>e.helpOpen=!e.helpOpen,["stop"]))},[...t[18]||(t[18]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-help"})],-1),n("span",null,"Help",-1)])],8,y9),e.helpOpen?(a(),l("div",b9,[...t[19]||(t[19]=[n("a",{role:"menuitem",href:"/faq"},[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-help"})]),n("span",null,[m("FAQ"),n("small",null,"How anonymization works")])],-1),n("a",{role:"menuitem",href:"https://github.com/tdurieux/anonymous_github/issues/new?template=issue_report.yml",target:"_blank",rel:"noopener"},[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-bug"})]),n("span",null,[m("Report a bug"),n("small",null,"About this service, not the paper")])],-1)])])):p("v-if",!0)]),n("button",{type:"button",class:"vb-icon","aria-label":e.isDarkMode?"Switch to light mode":"Switch to dark mode",title:e.isDarkMode?"Light mode":"Dark mode",onClick:t[2]||(t[2]=r=>e.darkMode(!e.isDarkMode))},[(a(),l("svg",k9,[n("use",{href:e.isDarkMode?"#ui-icon-sun":"#ui-icon-moon"},null,8,C9)]))],8,w9),e.user?(a(),l("div",S9,[n("button",{type:"button",class:"acct-chip","aria-haspopup":"true","aria-label":"Account: "+e.user?.username,"aria-expanded":e.accountOpen?"true":"false",onClick:t[3]||(t[3]=de(r=>e.accountOpen=!e.accountOpen,["stop"]))},[e.user?.photo?(a(),l("img",{key:0,src:e.safeUrl(e.user.photo),alt:"",width:"26",height:"26"},null,8,N9)):(a(),l("span",R9,d((e.user?.username||"?").charAt(0).toUpperCase()),1))],8,E9),e.accountOpen?(a(),l("div",T9,[n("div",P9,[t[20]||(t[20]=m("Signed in as ",-1)),n("b",null,"@"+d(e.user?.username),1)]),t[21]||(t[21]=n("a",{role:"menuitem",href:"/dashboard"},[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-grid"})]),m("My work")],-1)),t[22]||(t[22]=n("a",{role:"menuitem",href:"/profile"},[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-user"})]),m("Settings")],-1)),t[23]||(t[23]=n("a",{role:"menuitem",href:"/api/user/logout",target:"_self"},[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-logout"})]),m("Sign out")],-1))])):p("v-if",!0)])):(a(),l("a",D9,[...t[24]||(t[24]=[n("i",{class:"fab fa-github","aria-hidden":"true"},null,-1),m("Sign in",-1)])]))])]),e.repoId?(a(),l("div",A9,[n("a",{class:"vb-context-id",href:e.safeUrl("/r/"+e.repoId+"/"),title:"Anonymous artifact "+e.repoId},d(e.repoId),9,I9),e.options?.publishedAt||e.options?.sourceCommitDate||e.options?.anonymizedAt||e.options?.lastUpdateDate?(a(),l("span",O9,"Snapshot "+d(e.fmt?.date(e.options?.publishedAt||e.options?.sourceCommitDate||e.options?.anonymizedAt||e.options?.lastUpdateDate)),1)):p("v-if",!0)])):p("v-if",!0),P(n("button",{class:"sidebar-toggle",onClick:t[4]||(t[4]=r=>e.sidebarCollapsed=!e.sidebarCollapsed),"aria-label":e.sidebarCollapsed?"Show files":"Hide files"},[(a(),l("svg",V9,[n("use",{href:e.sidebarCollapsed?"#ui-icon-folder":"#project-icon-close"},null,8,L9)])),n("span",{textContent:d(e.sidebarCollapsed?"Files":"Close")},null,8,q9)],8,M9),[[Q,e.files?.length]]),P(n("div",{class:R(["leftCol",{collapsed:e.sidebarCollapsed}])},[n("div",$9,[t[27]||(t[27]=n("span",{class:"leftCol-eyebrow"},"Files",-1)),n("button",{class:"leftCol-close","aria-label":"Close files",onClick:t[5]||(t[5]=r=>e.sidebarCollapsed=!0)},[...t[26]||(t[26]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-close"})],-1)])])]),n("div",F9,[n("div",_9,[(a(),l("svg",{class:R(["ui-icon tree-search-icon",{"fa-spin":e.fileSearchLoading}]),"aria-hidden":"true"},[n("use",{href:e.fileSearchLoading?"#ui-icon-spinner":"#ui-icon-search"},null,8,U9)],2)),P(n("input",B9,null,512),[[o,{state:e.viewState,set:r=>{e.fileSearchQuery=r},value:e.fileSearchQuery,form:null,options:{debounce:300},change:()=>{e.onFileSearchChange()}}]]),P(n("kbd",{class:"tree-search-kbd"},d(e.isMac?"\u2318":"Ctrl+")+"K",513),[[Q,!e.fileSearchQuery]]),P(n("button",{class:"tree-search-clear","aria-label":"Clear search",onClick:t[6]||(t[6]=r=>{e.fileSearchQuery="",e.onFileSearchChange()})},"\xD7",512),[[Q,e.fileSearchQuery]])]),e.options?.download?(a(),l("a",{key:0,target:"_self",class:"search-zip","aria-label":"Download repository as ZIP",title:"Download the repository (snapshot "+e.fmt?.date(e.options?.sourceCommitDate||e.options?.anonymizedAt||e.options?.lastUpdateDate)+") as ZIP",href:e.safeUrl("/api/repo/"+e.repoId+"/zip")},[...t[28]||(t[28]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-download"})],-1),n("span",{class:"search-zip-label","aria-hidden":"true"},"ZIP",-1)])],8,z9)):p("v-if",!0)]),n("div",H9,[e.options?.truncatedFolders?.length>0?(a(),l("div",j9,[t[29]||(t[29]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-warning"})],-1)),m(" "+d(e.fmt?.translate("WARNINGS.repo_truncated")),1)])):p("v-if",!0),e.options?.hasSubmodules?(a(),l("div",G9,[t[30]||(t[30]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-warning"})],-1)),m(" "+d(e.fmt?.translate("WARNINGS.submodules_not_included")),1)])):p("v-if",!0),Me(s,{class:"files",file:e.files,"search-query":e.fileSearchQuery,"search-results":e.fileSearchResults,page:e.viewState},null,8,["file","search-query","search-results","page"])])],2),[[Q,e.files?.length]]),P(n("div",{class:"leftCol-resizer",role:"separator","aria-orientation":"vertical","aria-label":"Resize file tree",title:"Drag to resize",onPointerdown:t[7]||(t[7]=r=>e.startSidebarResize(r))},null,544),[[Q,e.files?.length&&!e.sidebarHidden]]),P(n("div",{class:"leftCol-backdrop",onClick:t[8]||(t[8]=r=>e.sidebarCollapsed=!0)},null,512),[[Q,e.files?.length&&!e.sidebarCollapsed]]),n("div",W9,[P(n("div",{class:R(["status-bar",{"is-redundant":["code","text","html"].includes(e.type)&&e.content!=null||e.fileFrame()}])},[P(n("button",{type:"button",class:"btn btn-sm status-files-btn","aria-label":"Show files",title:"Show files",onClick:t[9]||(t[9]=r=>e.sidebarHidden?e.sidebarHidden=!1:e.sidebarCollapsed=!1)},[...t[31]||(t[31]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-folder"})],-1),n("span",null,"Files",-1)])],512),[[Q,e.files?.length]]),n("ol",K9,[n("li",Y9,[n("a",{href:e.safeUrl("/r/"+e.repoId+"/"),title:e.repoId,textContent:d(/^[0-9a-f]{8}-[0-9a-f]{4}-/i.test(e.repoId||"")?"repository":e.repoId)},null,8,J9)]),(a(!0),l(V,null,X(e.paths,(r,u)=>(a(),l("li",{class:"breadcrumb-item","aria-current":u===e.paths.length-1?"page":null,textContent:d(r)},null,8,X9))),256))]),P(n("button",{type:"button",class:"btn btn-sm btn-icon-only btn-ghost copy-path-btn","aria-label":e.pathCopied?"Path copied":"Copy path",title:e.pathCopied?"Path copied":"Copy path",onClick:t[10]||(t[10]=r=>e.copyPath())},[(a(),l("svg",Z9,[n("use",{href:e.pathCopied?"#ui-icon-check":"#project-icon-copy"},null,8,x9)]))],8,Q9),[[Q,e.filePath]]),n("div",eB,[e.options?.isAdmin||e.options?.isOwner?(a(),l("a",{key:0,class:"btn btn-sm","aria-label":"Edit",href:e.safeUrl("/anonymize/"+e.repoId)},[...t[32]||(t[32]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-edit"})],-1),n("span",{class:"d-none d-md-inline"}," Edit",-1)])],8,tB)):p("v-if",!0),e.type=="html-doc"&&!e.showSource?(a(),l("button",{key:1,class:R(["btn btn-sm",{"btn-active":e.allowScripts}]),"aria-label":"Allow this document to run JavaScript",title:"Scripts in this file are blocked by default. Enable them only if you trust the repository \u2014 the document stays isolated from your session either way.",onClick:t[11]||(t[11]=r=>e.toggleAllowScripts())},[t[33]||(t[33]=n("i",{class:"fab fa-js"},null,-1)),n("span",nB,d(e.allowScripts?"JS on":"JS off"),1)],2)):p("v-if",!0),e.type=="html-doc"?(a(),l("button",{key:2,class:"btn btn-sm","aria-label":"Toggle between the rendered document and its source",title:"Toggle between the rendered document and its source",onClick:t[12]||(t[12]=r=>e.toggleSource())},[(a(),l("svg",oB,[n("use",{href:e.showSource?"#project-icon-eye":"#ui-icon-code"},null,8,sB)])),n("span",iB,d(e.showSource?"Rendered":"Source"),1)])):p("v-if",!0),e.options?.hasWebsite?(a(),l("a",{key:3,target:"_self",class:"btn btn-sm","aria-label":"Website",href:e.safeUrl("/w/"+e.repoId+"/")},[...t[34]||(t[34]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-globe"})],-1),n("span",{class:"d-none d-md-inline"}," Website",-1)])],8,rB)):p("v-if",!0)])],2),[[Q,e.type!="error"||e.files?.length]]),n("div",aB,[Me(i,{name:"partials/pageView.htm",state:e.viewState},null,8,["state"])])])],6)}var lB={class:"paper-faq"},dB={class:"paper-faq-body"},uB={class:"paper-faq-toc"},cB={class:"faq-search",role:"search"},pB={class:"faq-search-field"},fB={id:"faq-search-status",class:"faq-search-status","aria-live":"polite"},mB={key:0,class:"faq-search-empty"},hB={class:"faq-search-empty-actions"};function Tp(e,t){let s=Qe("partial-view"),i=Pe("paper-scrollspy");return a(),l(V,null,[n("div",lB,[t[12]||(t[12]=n("div",{class:"paper-faq-hero"},[n("div",{class:"paper-faq-eyebrow"},"Help"),n("h1",{class:"paper-faq-title"},[m("Mirrors, redaction, and "),n("em",null,"what reviewers see.")]),n("p",{class:"paper-faq-lede"}," How to set up an anonymous mirror, what it hides, and how long it stays online. ")],-1)),n("div",dB,[P((a(),l("aside",uB,[...t[5]||(t[5]=[Ce('
Contents
',2)])])),[[i]]),n("section",{class:R(["faq-section",{"faq-searching":!!e.faqQuery.trim()}]),"aria-label":"FAQs"},[n("div",cB,[t[7]||(t[7]=n("label",{for:"faq-search-input"},"Search questions",-1)),n("div",pB,[t[6]||(t[6]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-search"})],-1)),P(n("input",{id:"faq-search-input",type:"search",class:"form-control","onUpdate:modelValue":t[0]||(t[0]=o=>e.faqQuery=o),onInput:t[1]||(t[1]=o=>e.filterFaq()),onSearch:t[2]||(t[2]=o=>e.filterFaq()),onKeydown:t[3]||(t[3]=$t(o=>e.clearFaqSearch(),["esc"])),placeholder:"e.g. expiry, pull request, PDF",autocomplete:"off",spellcheck:"false","aria-describedby":"faq-search-status"},null,544),[[nt,e.faqQuery]])]),n("p",fB,[e.faqQuery.trim()&&e.faqResults?(a(),l(V,{key:0},[m(d(e.faqResults===1?"1 result":e.faqResults+" results"),1)],64)):p("v-if",!0)])]),e.faqQuery.trim()&&e.faqResults===0?(a(),l("div",mB,[n("strong",null,"No questions match \u201C"+d(e.faqQuery.trim())+"\u201D.",1),t[9]||(t[9]=n("p",null,"Try a shorter word, or ask us directly.",-1)),n("div",hB,[n("button",{type:"button",class:"btn btn-outline-ink btn-sm",onClick:t[4]||(t[4]=o=>e.clearFaqSearch())},"Clear search"),t[8]||(t[8]=n("a",{class:"btn btn-link btn-sm",target:"_blank",rel:"noopener",href:"https://github.com/tdurieux/anonymous_github/issues/new?template=issue_report.yml"},"Open an issue",-1))])])):p("v-if",!0),t[10]||(t[10]=n("div",{class:"faq-list"},[p(" General "),n("h4",{class:"faq-cat"},[n("svg",{class:"ui-icon mr-2","aria-hidden":"true"},[n("use",{href:"#ui-icon-info"})]),m("General ")]),n("div",{class:"panel-group",id:"faq-general",role:"tablist","aria-multiselectable":"true"},[n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingWhatIs"},[n("h3",{class:"panel-title"},[n("a",{role:"button","data-toggle":"collapse","data-parent":"#faq-general",href:"#whatIs","aria-expanded":"true","aria-controls":"whatIs"}," What is Anonymous GitHub? ")])]),n("div",{id:"whatIs",class:"panel-collapse collapse show",role:"tabpanel","aria-labelledby":"headingWhatIs"},[n("div",{class:"panel-body p-3"},[n("p",null," Anonymous GitHub is an open-source tool with free hosting and optional paid plans that anonymizes GitHub repositories and pull requests for double-anonymous (double-blind) peer review. It replaces identifying information, such as the repository owner, organization name, and custom terms, so that reviewers cannot determine the identity of the authors through the code repository. ")])])]),n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingHowWork"},[n("h3",{class:"panel-title"},[n("a",{class:"collapsed",role:"button","data-toggle":"collapse","data-parent":"#faq-general",href:"#howWork","aria-expanded":"false","aria-controls":"howWork"}," How does Anonymous GitHub work? ")])]),n("div",{id:"howWork",class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":"headingHowWork"},[n("div",{class:"panel-body p-3"},[n("p",null," Anonymous GitHub either downloads the complete repository and anonymizes the content, or proxies requests to GitHub on the fly. In both cases, the original and anonymized versions of files are cached on the server. The system automatically detects and replaces the repository owner, organization name, and repository name. You can also specify additional custom terms to anonymize using one-per-line regex patterns. ")])])]),n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingScope"},[n("h3",{class:"panel-title"},[n("a",{class:"collapsed",role:"button","data-toggle":"collapse","data-parent":"#faq-general",href:"#scope","aria-expanded":"false","aria-controls":"scope"}," What is the scope of anonymization? ")])]),n("div",{id:"scope",class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":"headingScope"},[n("div",{class:"panel-body p-3"},[n("p",null," In double-anonymous peer review, the boundary of anonymization is the paper plus its online appendix, not the entire internet. Searching for any part of the paper or the online appendix can be considered a deliberate attempt to break anonymity. Anonymous GitHub anonymizes the repository owner, organization, repository name, file and directory names, and file contents across all text-based file types. ")])])]),n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingCost"},[n("h3",{class:"panel-title"},[n("a",{class:"collapsed",role:"button","data-toggle":"collapse","data-parent":"#faq-general",href:"#cost","aria-expanded":"false","aria-controls":"cost"}," How much does it cost? ")])]),n("div",{id:"cost",class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":"headingCost"},[n("div",{class:"panel-body p-3"},[n("p",null," A free account includes 5 owned repositories and 5 GiB of source files. Optional paid plans offer more capacity, automatic refresh, and, with an author subscription, never-expiring repositories. Reviewers can read shared repositories without an account or payment. "),n("p",null,[m(" See "),n("a",{href:"/profile#settings-billing"},"Plans and billing"),m(" for available plans and current prices. Offers depend on whether payments are enabled on this instance; the checkout shows the amount before you pay. Subscriptions help fund hosting, storage, backups, and continued maintenance. ")]),n("p",null,[m(" You can also support development through "),n("a",{href:"https://github.com/sponsors/tdurieux/",target:"_blank",rel:"noopener"},"GitHub Sponsors"),m(" or "),n("a",{href:"https://ko-fi.com/tdurieux",target:"_blank",rel:"noopener"},"Ko-fi"),m(". Donations are separate from subscriptions and do not automatically unlock paid features. ")])])])])]),p(" Plans and billing "),n("h4",{class:"faq-cat",id:"faq-plans-title"},"Plans and billing"),n("div",{class:"panel-group",id:"faq-plans",role:"tablist","aria-label":"Plans and billing","aria-multiselectable":"true"},[n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingWhyPaid"},[n("h3",{class:"panel-title"},[n("a",{class:"collapsed",role:"button","data-toggle":"collapse","data-parent":"#faq-plans",href:"#whyPaid","aria-expanded":"false","aria-controls":"whyPaid"},"Why is Anonymous GitHub no longer completely free?")])]),n("div",{id:"whyPaid",class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":"headingWhyPaid"},[n("div",{class:"panel-body p-3"},[n("p",null,"Anonymous GitHub started as a small free service and was paid for out of pocket. Three things have changed since then:"),n("ul",null,[n("li",null,[n("strong",null,"Servers cost much more."),m(" Every hosted repository needs storage, bandwidth and backups, and these costs have risen sharply.")]),n("li",null,[n("strong",null,"Many more people use it."),m(" More users means more repositories to store and keep up to date, more support requests and more maintenance.")]),n("li",null,[n("strong",null,"AI has made security work heavier."),m(" AI-driven scrapers and automated abuse send far more traffic than before. Blocking them and keeping hosted content safe takes constant work.")])]),n("p",null,"The core service stays free: anonymizing a repository, sharing the link and reviewer access cost nothing, and reviewers never need an account. Most authors never need to pay. The paid options are small one-time payments for one repository, plus an optional subscription for heavy users. They are priced to cover running costs, not to make a profit."),n("p",null,[m("The source code remains open, so you can still "),n("a",{href:"#faq-hosting"},"host your own instance"),m(" for free.")])])])]),n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingFreePlan"},[n("h3",{class:"panel-title"},[n("a",{class:"collapsed",role:"button","data-toggle":"collapse","data-parent":"#faq-plans",href:"#freePlan","aria-expanded":"false","aria-controls":"freePlan"},"What is included in a free account?")])]),n("div",{id:"freePlan",class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":"headingFreePlan"},[n("div",{class:"panel-body p-3"},[n("p",null,"The default free allowance is 5 repositories you own and 5 GiB of source files in total. Core anonymization and reviewer access remain free. You can manually refresh a repository within your allowance and choose a dated expiration up to 5 months ahead, then extend it again before it expires. Repositories submitted to a conference can stay online until the end of its review window."),n("p",null,"Repositories shared with you as a co-author do not use your own slots. Gists and pull requests are not included in these repository quotas. The usage shown in your account is the allowance available on this instance.")])])]),n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingAuthorPlans"},[n("h3",{class:"panel-title"},[n("a",{class:"collapsed",role:"button","data-toggle":"collapse","data-parent":"#faq-plans",href:"#authorPlans","aria-expanded":"false","aria-controls":"authorPlans"},"What do monthly and annual author subscriptions include?")])]),n("div",{id:"authorPlans",class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":"headingAuthorPlans"},[n("div",{class:"panel-body p-3"},[n("p",null,[m("Both include 20 owned repositories and 40 GiB of source files in total. They also allow automatic refresh when enabled in repository settings and let the owner choose "),n("strong",null,"Never expire"),m(".")]),n("p",null,[m("Monthly and annual plans offer the same features with different billing periods. They renew automatically until you cancel renewal. Current prices are shown in "),n("a",{href:"/profile#settings-billing"},"Plans and billing"),m(".")]),n("p",null,"Paid plans do not change how anonymization works. File-size limits and other service safeguards still apply. Review your anonymized content before sharing it.")])])]),n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingReviewPass"},[n("h3",{class:"panel-title"},[n("a",{class:"collapsed",role:"button","data-toggle":"collapse","data-parent":"#faq-plans",href:"#reviewPass","aria-expanded":"false","aria-controls":"reviewPass"},"Can I pay for one repository without subscribing?")])]),n("div",{id:"reviewPass",class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":"headingReviewPass"},[n("div",{class:"panel-body p-3"},[n("p",null,"Yes. These one-time add-ons apply to a single repository you own. None of them renews automatically:"),n("ul",null,[n("li",null,[n("strong",null,"Paper pack"),m(": an extra repository, automatic updates for 180 days and one more year before it expires, in a single payment. It covers what one paper usually needs during review.")]),n("li",null,[n("strong",null,"Extra repository"),m(": host one more repository once your free repositories are used up. It has its own 2 GiB allowance and does not count toward your free repositories. It lasts as long as the repository exists.")]),n("li",null,[n("strong",null,"Live updates"),m(": automatic refresh for 180 days, with a separate 2 GiB allowance.")]),n("li",null,[n("strong",null,"Extended expiration"),m(": choose an expiration date up to one year after purchase. Buying it again adds another year.")]),n("li",null,[n("strong",null,"Never expire"),m(": the repository has no expiration date. A full refund or a payment dispute ends it after a 90-day grace period.")])]),n("p",null,[m("When your free allowance is full, the Extra repository and Paper pack options are offered as you create the repository. You can also buy an add-on from the repository's edit page, or enter the anonymized ID of an existing repository in "),n("a",{href:"/profile#settings-billing"},"Plans and billing"),m(". Current prices are shown there.")])])])]),n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingConferencePlans"},[n("h3",{class:"panel-title"},[n("a",{class:"collapsed",role:"button","data-toggle":"collapse","data-parent":"#faq-plans",href:"#conferencePlans","aria-expanded":"false","aria-controls":"conferencePlans"},"Can a conference or lab pay for a group?")])]),n("div",{id:"conferencePlans",class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":"headingConferencePlans"},[n("div",{class:"panel-body p-3"},[n("p",null,"A conference review package provides a shared allowance for a review window of up to 180 days, with automatic updates for every submission. It comes in three sizes: Workshop (25 repositories, 10 GiB), Conference (100 repositories, 50 GiB) and Large conference (400 repositories, 200 GiB). Choose the size when you create the conference; it cannot change afterwards. The organizer pays once and authors pay nothing (the price is shown when you create the conference); the package does not renew automatically. A lab organizing a review can use this shared package too."),n("p",null,"New conferences no longer have a free plan: every new conference is a review package. Conferences created earlier keep working as before. The conference must be activated by payment before authors can submit under its Conference ID. Eligible repositories use the conference allowance before an author's personal allowance, so authors do not each need a subscription for that capacity."),n("p",null,"The package has a fixed review window. Never expire still requires the repository owner's author subscription or a Never expire add-on for that repository.")])])]),n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingPaidCoauthors"},[n("h3",{class:"panel-title"},[n("a",{class:"collapsed",role:"button","data-toggle":"collapse","data-parent":"#faq-plans",href:"#paidCoauthors","aria-expanded":"false","aria-controls":"paidCoauthors"},"Does every co-author need to pay?")])]),n("div",{id:"paidCoauthors",class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":"headingPaidCoauthors"},[n("div",{class:"panel-body p-3"},[n("p",null,"No. Co-authors can collaborate without buying a subscription. A shared repository uses its owner's allowance, unless a repository pass or paid conference covers it. It does not consume each co-author's personal allowance."),n("p",null,"A co-author's subscription does not increase the owner's allowance. If the owner's available capacity is exhausted, a co-author's refresh or edit may also be blocked. Reviewers never need a paid account.")])])]),n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingCapacity"},[n("h3",{class:"panel-title"},[n("a",{class:"collapsed",role:"button","data-toggle":"collapse","data-parent":"#faq-plans",href:"#capacity","aria-expanded":"false","aria-controls":"capacity"},"What counts toward my allowance, and what happens at the limit?")])]),n("div",{id:"capacity",class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":"headingCapacity"},[n("div",{class:"panel-body p-3"},[n("p",null,"The repository limit counts work you own. Storage counts the source-file sizes reserved for those repositories, not just files a reviewer opens. Archived or failed repositories can still reserve capacity, and a refresh does not automatically reduce a previous storage reservation."),n("p",null,"At the repository limit you cannot add another repository to that allowance. An edit or refresh must also fit the available storage. Remove work you no longer need, add an Extra repository for the new one, choose a subscription, or use an eligible conference allowance."),n("p",null,"Removing a repository releases its reservation when capacity is next checked. Expired repositories may continue to reserve capacity until cleanup. Reaching a limit does not itself delete existing review links.")])])]),n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingNeverExpire"},[n("h3",{class:"panel-title"},[n("a",{class:"collapsed",role:"button","data-toggle":"collapse","data-parent":"#faq-plans",href:"#neverExpire","aria-expanded":"false","aria-controls":"neverExpire"},"What happens to Never expire repositories if I stop subscribing?")])]),n("div",{id:"neverExpire",class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":"headingNeverExpire"},[n("div",{class:"panel-body p-3"},[n("p",null,[m("Never expire is available to monthly and annual author subscribers, or for one repository with the one-time Never expire add-on. If a subscription ends, these repositories remain available for a "),n("strong",null,"90-day grace period"),m(", then expire and their hosted content is removed.")]),n("p",null,"Renewing during the grace period keeps them active. After expiration, you must renew and explicitly reactivate the repository; restoring content also requires access to its GitHub source. A repository does not become public on GitHub when it expires."),n("p",null,"Existing never-expiring repositories created before this billing policy retain their settings. Never expire is not a guarantee of perpetual service availability.")])])]),n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingCancelPlan"},[n("h3",{class:"panel-title"},[n("a",{class:"collapsed",role:"button","data-toggle":"collapse","data-parent":"#faq-plans",href:"#cancelPlan","aria-expanded":"false","aria-controls":"cancelPlan"},"How do I cancel, and what happens after paid access ends?")])]),n("div",{id:"cancelPlan",class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":"headingCancelPlan"},[n("div",{class:"panel-body p-3"},[n("p",null,[m("Open "),n("a",{href:"/profile#settings-billing"},"Plans and billing"),m(" and choose "),n("strong",null,"Manage billing and invoices"),m(" to manage renewal. Cancelling renewal keeps subscription benefits until the end of the paid period.")]),n("p",null,"After paid access ends, repositories fall back to another eligible allowance or the free allowance. Automatic refresh pauses on the free allowance; manual refresh remains available within its limits. Existing review links keep their configured expiration dates, except paid Never expire repositories, which follow the 90-day grace period described above."),n("p",null,"A repository pass or conference package ends after its paid window without automatic renewal.")])])]),n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingRefunds"},[n("h3",{class:"panel-title"},[n("a",{class:"collapsed",role:"button","data-toggle":"collapse","data-parent":"#faq-plans",href:"#refunds","aria-expanded":"false","aria-controls":"refunds"},"Can I get a refund?")])]),n("div",{id:"refunds",class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":"headingRefunds"},[n("div",{class:"panel-body p-3"},[n("p",null,[m("Refunds are handled case by case. "),n("a",{href:"mailto:tdurieux@anonymous.4open.science"},"Email the maintainer"),m(" with the date of the payment and the repository it was for.")]),n("p",null,"A full refund ends what that payment bought. For a Paper pack, this means all three parts: the extra repository, automatic updates and the extended expiration. A Never expire repository then expires after a 90-day grace period. A partial refund keeps your access."),n("p",null,"To stop a subscription, cancel its renewal instead of asking for a refund. You keep access until the end of the period you paid for.")])])]),n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingPaymentHandling"},[n("h3",{class:"panel-title"},[n("a",{class:"collapsed",role:"button","data-toggle":"collapse","data-parent":"#faq-plans",href:"#paymentHandling","aria-expanded":"false","aria-controls":"paymentHandling"},"How are payments handled?")])]),n("div",{id:"paymentHandling",class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":"headingPaymentHandling"},[n("div",{class:"panel-body p-3"},[n("p",null,[m("Stripe processes checkout and billing management. Anonymous GitHub does not store your card details. You can access billing management and invoices from "),n("a",{href:"/profile#settings-billing"},"Plans and billing"),m(".")]),n("p",null,[m("Paid access is activated after payment is confirmed. If checkout succeeds but your account has not updated, choose "),n("strong",null,"Refresh payment status"),m(" before trying another purchase. If paid plans are unavailable on this instance, no checkout is offered.")])])])])]),p(" Features "),n("h4",{class:"faq-cat"},[n("svg",{class:"ui-icon mr-2","aria-hidden":"true"},[n("use",{href:"#project-icon-filter"})]),m("Features ")]),n("div",{class:"panel-group",id:"faq-features",role:"tablist","aria-multiselectable":"true"},[n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingFormats"},[n("h3",{class:"panel-title"},[n("a",{class:"collapsed",role:"button","data-toggle":"collapse","data-parent":"#faq-features",href:"#formats","aria-expanded":"false","aria-controls":"formats"}," Which file formats are supported? ")])]),n("div",{id:"formats",class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":"headingFormats"},[n("div",{class:"panel-body p-3"},[n("p",null," Anonymous GitHub can display and render a wide variety of file types: "),n("ul",null,[n("li",null,[n("strong",null,"Text and source code"),m(": displayed with syntax highlighting")]),n("li",null,[n("strong",null,"Markdown"),m(": rendered as formatted HTML")]),n("li",null,[n("strong",null,"Images"),m(" (PNG, JPG, SVG, etc.): displayed inline")]),n("li",null,[n("strong",null,"PDFs"),m(": rendered directly in the browser")]),n("li",null,[n("strong",null,"Jupyter Notebooks"),m(": rendered with code cells and outputs")])]),n("p",null," Only text-based files are anonymized. Anonymous GitHub analyzes the content of each file to determine whether it is textual or binary. ")])])]),n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingPR"},[n("h3",{class:"panel-title"},[n("a",{class:"collapsed",role:"button","data-toggle":"collapse","data-parent":"#faq-features",href:"#pullRequests","aria-expanded":"false","aria-controls":"pullRequests"}," Can I anonymize pull requests? ")])]),n("div",{id:"pullRequests",class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":"headingPR"},[n("div",{class:"panel-body p-3"},[n("p",null," Yes. In addition to full repositories, Anonymous GitHub supports anonymizing individual pull requests. Simply paste the URL of a GitHub pull request when creating a new anonymized repository, and the system will automatically detect that it is a pull request and anonymize it accordingly. ")])])]),n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingConference"},[n("h3",{class:"panel-title"},[n("a",{class:"collapsed",role:"button","data-toggle":"collapse","data-parent":"#faq-features",href:"#conference","aria-expanded":"false","aria-controls":"conference"}," What is the Conference ID feature? ")])]),n("div",{id:"conference",class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":"headingConference"},[n("div",{class:"panel-body p-3"},[n("p",null," When creating an anonymized repository, you can associate it with a Conference ID. This allows conferences to define default anonymization settings (such as expiration dates) that are automatically applied to repositories submitted under that conference. If your conference provides a Conference ID, enter it during the anonymization setup. ")])])]),n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingExpiration"},[n("h3",{class:"panel-title"},[n("a",{class:"collapsed",role:"button","data-toggle":"collapse","data-parent":"#faq-features",href:"#expiration","aria-expanded":"false","aria-controls":"expiration"}," What happens when an anonymized repository expires? ")])]),n("div",{id:"expiration",class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":"headingExpiration"},[n("div",{class:"panel-body p-3"},[n("p",null," You can configure one of three expiration strategies when creating your anonymized repository: "),n("ul",null,[n("li",null,[n("strong",null,"Never expire"),m(": with a monthly or annual author subscription, no scheduled expiration while subscribed. A 90-day grace period applies after paid access ends. See "),n("a",{href:"#neverExpire"},"the subscription expiration policy"),m(".")]),n("li",null,[n("strong",null,"Redirect to GitHub"),m(": after expiration, visitors are redirected to the original GitHub repository.")]),n("li",null,[n("strong",null,"Remove content"),m(": after expiration, the anonymized content is deleted from the server.")])])])])]),n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingDownload"},[n("h3",{class:"panel-title"},[n("a",{class:"collapsed",role:"button","data-toggle":"collapse","data-parent":"#faq-features",href:"#download","aria-expanded":"false","aria-controls":"download"}," Can I download an anonymized repository? ")])]),n("div",{id:"download",class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":"headingDownload"},[n("div",{class:"panel-body p-3"},[n("p",null," Yes. Anonymized repositories can be downloaded as a ZIP file. This is useful if reviewers want to build or test the code locally. The downloaded archive contains the fully anonymized version of the repository. ")])])]),n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingUpdates"},[n("h3",{class:"panel-title"},[n("a",{class:"collapsed",role:"button","data-toggle":"collapse","data-parent":"#faq-features",href:"#updates","aria-expanded":"false","aria-controls":"updates"}," Are updates to the original repository reflected in the anonymized version? ")])]),n("div",{id:"updates",class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":"headingUpdates"},[n("div",{class:"panel-body p-3"},[n("p",null," You can refresh the anonymized repository from GitHub without creating a new share link. Free accounts can request a manual refresh within their allowance. Automatic refresh requires an eligible paid allowance and must be enabled in repository settings. It pauses when the repository falls back to the free allowance. "),n("p",null," After changing files or contributor names, review your anonymization terms before sharing the updated content. If GitHub access is revoked or the source is deleted, the service cannot fetch updates. ")])])]),n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingCLI"},[n("h3",{class:"panel-title"},[n("a",{class:"collapsed",role:"button","data-toggle":"collapse","data-parent":"#faq-features",href:"#cli","aria-expanded":"false","aria-controls":"cli"}," Is there a command-line tool? ")])]),n("div",{id:"cli",class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":"headingCLI"},[n("div",{class:"panel-body p-3"},[n("p",null," Yes. Anonymous GitHub provides a CLI tool that lets you anonymize repositories locally, generating an anonymized ZIP file on your machine. Install it via npm: "),n("pre",{style:{"background-color":"var(--hover-bg-color)",padding:"12px","border-radius":"4px","margin-top":"8px",color:"var(--color)"}},[n("code",null,`npm install -g @tdurieux/anonymous_github anonymous_github`)])])])])]),p(" Limitations "),n("h4",{class:"faq-cat"},[n("svg",{class:"ui-icon mr-2","aria-hidden":"true"},[n("use",{href:"#ui-icon-warning"})]),m("Limitations ")]),n("div",{class:"panel-group",id:"faq-limitations",role:"tablist","aria-multiselectable":"true"},[n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingLimitation"},[n("h3",{class:"panel-title"},[n("a",{class:"collapsed",role:"button","data-toggle":"collapse","data-parent":"#faq-limitations",href:"#limitation","aria-expanded":"false","aria-controls":"limitation"}," What are the limitations of Anonymous GitHub? ")])]),n("div",{id:"limitation",class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":"headingLimitation"},[n("div",{class:"panel-body p-3"},[n("ul",null,[n("li",null," Anonymous GitHub only anonymizes text-based files. Binary files (compiled executables, archives, etc.) are served as-is without anonymization. "),n("li",null," Files larger than 8 MB are not supported. "),n("li",null," Static site generators (such as Jekyll) used with GitHub Pages are not fully supported, although Markdown files are converted to HTML. "),n("li",null," The anonymization of terms within source code may change the behavior of the program (e.g., if a replaced term appears in a string literal or identifier). ")])])])])]),p(" Privacy and security "),n("h4",{class:"faq-cat"},[n("svg",{class:"ui-icon mr-2","aria-hidden":"true"},[n("use",{href:"#ui-icon-shield"})]),m("Privacy and security ")]),n("div",{class:"panel-group",id:"faq-privacy",role:"tablist","aria-multiselectable":"true"},[n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingData"},[n("h3",{class:"panel-title"},[n("a",{class:"collapsed",role:"button","data-toggle":"collapse","data-parent":"#faq-privacy",href:"#data","aria-expanded":"false","aria-controls":"data"}," How is my data handled? ")])]),n("div",{id:"data",class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":"headingData"},[n("div",{class:"panel-body p-3"},[n("p",null," Repository data is used to provide the anonymization service. If you purchase a plan, Stripe processes payment and billing information. When a repository is removed or expires, only its configuration is retained. This makes it easy to restore the repository if needed and ensures that no future repository reuses the same ID. ")])])]),n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingPermissions"},[n("h3",{class:"panel-title"},[n("a",{class:"collapsed",role:"button","data-toggle":"collapse","data-parent":"#faq-privacy",href:"#permissions","aria-expanded":"false","aria-controls":"permissions"}," Why does GitHub say Anonymous GitHub asks for write access? ")])]),n("div",{id:"permissions",class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":"headingPermissions"},[n("div",{class:"panel-body p-3"},[n("p",null,[m("The GitHub App has read-only access to the repositories you choose. You can change repository access on your "),n("a",{href:"/connections"},"GitHub connections"),m(" page.")]),n("p",null,"Legacy GitHub OAuth includes write access to private repositories because GitHub's OAuth scopes do not offer a read-only option for them. Existing OAuth anonymizations and gists can still use this connection."),n("p",null,"Anonymous GitHub reads repository content. It never pushes, modifies, or deletes files on GitHub.")])])]),n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingViewer"},[n("h3",{class:"panel-title"},[n("a",{class:"collapsed",role:"button","data-toggle":"collapse","data-parent":"#faq-privacy",href:"#viewer","aria-expanded":"false","aria-controls":"viewer"}," Can repository owners see who viewed their anonymized repository? ")])]),n("div",{id:"viewer",class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":"headingViewer"},[n("div",{class:"panel-body p-3"},[n("p",null," No. Only the total number of views is tracked as an incremental counter. It is not possible for the repository owner or for Anonymous GitHub to identify individual viewers. Reviewer anonymity is fully preserved. ")])])])]),p(" Self-hosting "),n("h4",{class:"faq-cat"},[n("svg",{class:"ui-icon mr-2","aria-hidden":"true"},[n("use",{href:"#project-icon-storage"})]),m("Self"),n("span",{class:"serif-hy"},"-"),m("hosting ")]),n("div",{class:"panel-group",id:"faq-hosting",role:"tablist","aria-multiselectable":"true"},[n("div",{class:"panel panel-default mb-3"},[n("div",{class:"panel-heading p-3",role:"tab",id:"headingDeploy"},[n("h3",{class:"panel-title"},[n("a",{class:"collapsed",role:"button","data-toggle":"collapse","data-parent":"#faq-hosting",href:"#deploy","aria-expanded":"false","aria-controls":"deploy"}," Can I deploy my own instance? ")])]),n("div",{id:"deploy",class:"panel-collapse collapse",role:"tabpanel","aria-labelledby":"headingDeploy"},[n("div",{class:"panel-body p-3"},[n("p",null,[m(" Yes. Anonymous GitHub is fully open source (GPL-3.0) and supports Docker-based deployment. Billing is optional and disabled by default for self-hosted instances; paid hosted plans are not required to run your own server. You will need to configure a GitHub OAuth app and provide a GitHub token. Detailed setup instructions are available on the "),n("a",{href:"https://github.com/tdurieux/anonymous_github/",target:"_blank"},"GitHub repository"),m(". ")]),n("p",null," The basic steps are: "),n("ol",null,[n("li",null,"Clone the repository and install dependencies"),n("li",null,[m("Create a "),n("code",null,".env"),m(" file with your GitHub token, OAuth client ID, and client secret")]),n("li",null,[m("Run "),n("code",null,"docker-compose up -d")])])])])])])],-1))],2),t[11]||(t[11]=n("aside",{class:"paper-faq-help","aria-label":"More help"},[n("div",{class:"paper-faq-help-card"},[n("strong",null,"Still stuck?"),n("p",null,"Open an issue on GitHub about the service. For a paper's content, contact the conference instead."),n("a",{class:"btn btn-outline-ink btn-sm",target:"_blank",rel:"noopener",href:"https://github.com/tdurieux/anonymous_github/issues/new?template=issue_report.yml"},"Open an issue")])],-1))])]),Me(s,{name:"partials/footer.htm",state:e.viewState},null,8,["state"])],64)}var gB={class:"pr-page"},vB={class:"container paper-page pr-page-inner"},yB={class:"pr-header"},bB={class:"pr-title-row"},wB={class:"paper-page-title pr-title"},kB=["textContent"],CB={key:1,class:"text-muted"},SB=["href"],EB={class:"pr-header-meta"},NB={key:0,class:"pr-meta-item"},RB=["textContent"],TB={key:1,class:"pr-meta-item"},PB=["textContent"],DB={key:2,class:"pr-meta-item"},AB=["textContent"],IB={key:0,class:"paper-tabs",role:"tablist"},OB=["aria-selected","tabindex"],MB=["textContent"],VB=["aria-selected","tabindex"],LB=["textContent"],qB={class:"paper-tab-content"},$B={key:0,role:"tabpanel",id:"gist-files-panel","aria-labelledby":"gist-files-tab"},FB={class:"pr-comments"},_B={class:"pr-comment"},UB={class:"pr-comment-head"},BB=["textContent"],zB={key:0,class:"pr-comment-date"},HB={key:0,class:"paper-table-empty"},jB={key:1,role:"tabpanel",id:"gist-comments-panel","aria-labelledby":"gist-comments-tab"},GB={class:"pr-comments"},WB={class:"pr-comment"},KB={class:"pr-comment-head"},YB={key:0,class:"pr-comment-author"},JB=["textContent"],XB=["textContent"],QB={key:0,class:"pr-comment-body"},ZB={key:0,class:"paper-table-empty"};function Pp(e,t){let s=Qe("gist-file"),i=Qe("markdown");return a(),l("div",gB,[n("div",vB,[t[17]||(t[17]=n("div",{class:"paper-crumbs"},[n("a",{href:"/dashboard"},"Reviewer"),m(" \xA0/\xA0 "),n("span",{class:"here"},"Gist")],-1)),n("header",yB,[n("div",bB,[n("h1",wB,[e.details?.description?(a(),l("span",{key:0,textContent:d(e.details?.description)},null,8,kB)):p("v-if",!0),e.details?.description?p("v-if",!0):(a(),l("span",CB,"Untitled gist"))]),e.options?.isAdmin||e.options?.isOwner?(a(),l("a",{key:0,class:"btn btn-sm","aria-label":"Edit",href:e.safeUrl("/gist-anonymize/"+e.gistId)},[...t[4]||(t[4]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-edit"})],-1),n("span",{class:"d-none d-md-inline"}," Edit",-1)])],8,SB)):p("v-if",!0)]),n("div",EB,[n("span",{class:R(["paper-pill",{good:e.details?.isPublic,warn:!e.details?.isPublic}])},d(e.details?.isPublic?"Public":"Secret"),3),e.details?.ownerLogin?(a(),l("span",NB,[t[5]||(t[5]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-user"})],-1)),t[6]||(t[6]=m(" @",-1)),n("span",{textContent:d(e.details?.ownerLogin)},null,8,RB)])):p("v-if",!0),e.details?.updatedDate?(a(),l("span",TB,[t[7]||(t[7]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-clock"})],-1)),t[8]||(t[8]=m()),n("span",{textContent:d(e.fmt?.date(e.details?.updatedDate))},null,8,PB)])):p("v-if",!0),e.details?.anonymizeDate?(a(),l("span",DB,[t[9]||(t[9]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-shield"})],-1)),t[10]||(t[10]=m(" Anonymized ",-1)),n("span",{textContent:d(e.fmt?.date(e.details?.anonymizeDate))},null,8,AB)])):p("v-if",!0)])]),e.details?.files&&e.details?.files?.length||e.details?.comments&&e.details?.comments?.length?(a(),l("nav",IB,[e.details?.files?(a(),l("button",{key:0,class:R(["paper-tab",{active:e.tabState?.active=="files"}]),type:"button",role:"tab",id:"gist-files-tab","aria-selected":e.tabState?.active==="files","aria-controls":"gist-files-panel",tabindex:e.tabState?.active==="files"?0:-1,onKeydown:t[0]||(t[0]=o=>e.previewTabKeydown(o)),onClick:t[1]||(t[1]=o=>e.tabState.active="files")},[t[11]||(t[11]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-type-gist"})],-1)),n("span",{textContent:d(e.fmt.plural(e.details?.files?.length,{0:"No files",one:"1 file",other:"{} files"}))},null,8,MB)],42,OB)):p("v-if",!0),e.details?.comments?(a(),l("button",{key:1,class:R(["paper-tab",{active:e.tabState?.active=="comments"}]),type:"button",role:"tab",id:"gist-comments-tab","aria-selected":e.tabState?.active==="comments","aria-controls":"gist-comments-panel",tabindex:e.tabState?.active==="comments"?0:-1,onKeydown:t[2]||(t[2]=o=>e.previewTabKeydown(o)),onClick:t[3]||(t[3]=o=>e.tabState.active="comments")},[t[12]||(t[12]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-comment"})],-1)),n("span",{textContent:d(e.fmt.plural(e.details?.comments?.length,{0:"No comments",one:"1 comment",other:"{} comments"}))},null,8,LB)],42,VB)):p("v-if",!0)])):p("v-if",!0),n("div",qB,[e.details?.files&&e.tabState?.active=="files"?(a(),l("div",$B,[n("ul",FB,[(a(!0),l(V,null,X(e.details?.files,(o,r)=>(a(),l("li",_B,[n("div",UB,[n("strong",{textContent:d(o?.filename)},null,8,BB),o?.language?(a(),l("span",zB,d(o?.language),1)):p("v-if",!0)]),Me(s,{file:o},null,8,["file"])]))),256)),e.details?.files?.length?p("v-if",!0):(a(),l("li",HB,[...t[13]||(t[13]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#project-icon-file"})],-1),n("span",null,"No files in this gist.",-1)])]))])])):p("v-if",!0),e.details?.comments&&e.tabState?.active=="comments"?(a(),l("div",jB,[n("ul",GB,[(a(!0),l(V,null,X(e.details?.comments,(o,r)=>(a(),l("li",WB,[n("div",KB,[o?.author?(a(),l("span",YB,[t[14]||(t[14]=n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-user"})],-1)),t[15]||(t[15]=m(" @",-1)),n("span",{textContent:d(o?.author)},null,8,JB)])):p("v-if",!0),o?.updatedDate?(a(),l("span",{key:1,class:"pr-comment-date",textContent:d(e.fmt?.date(o?.updatedDate))},null,8,XB)):p("v-if",!0)]),o?.body?(a(),l("div",QB,[Me(i,{content:o?.body},null,8,["content"])])):p("v-if",!0)]))),256)),e.details?.comments?.length?p("v-if",!0):(a(),l("li",ZB,[...t[16]||(t[16]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-comment"})],-1),n("span",null,"No comments on this gist.",-1)])]))])])):p("v-if",!0)])])])}var xB={key:0,class:"nav-support",href:"https://ko-fi.com/tdurieux",target:"_blank",rel:"noopener",title:"Donate on Ko-fi to help cover hosting costs","aria-label":"Donate on Ko-fi to help cover hosting costs"},ez={key:1,class:"nav-heart-m",href:"https://ko-fi.com/tdurieux",target:"_blank",rel:"noopener","aria-label":"Support Anonymous GitHub",title:"Support Anonymous GitHub"},tz=["aria-label","title"],nz={class:"ui-icon","aria-hidden":"true"},oz=["href"],sz={key:3,class:"nav-signin-m",href:"/signin",target:"_self","aria-label":"Sign in with GitHub"},iz={class:"collapse navbar-collapse",id:"navbarSupportedContent"},rz={class:"navbar-nav mr-auto smooth-scroll"},az={key:0,class:"nav-item nav-home-item"},lz={key:1,class:"nav-item"},dz={key:2,class:"nav-item"},uz={key:3,class:"nav-item"},cz={class:"nav-item"},pz={key:4,class:"nav-item"},fz={class:"navbar-nav"},mz={key:0,class:"nav-item d-lg-none"},hz={key:1,class:"nav-item"},gz={key:2,class:"nav-item"},vz={key:3,class:"nav-item nav-signin-item"},yz={key:4,class:"nav-item"},bz={key:5,class:"nav-item dropdown user-chip-wrap"},wz={class:"nav-link user-chip dropdown-toggle",href:"#",id:"navbarDropdownMenuLink",role:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"},kz=["src"],Cz={class:"user-chip-name"},Sz={class:"dropdown-menu dropdown-menu-right user-menu","aria-labelledby":"navbarDropdownMenuLink"},Ez={class:"dropdown-header"},Nz={key:0,class:"dropdown-item um-extra",href:"https://ko-fi.com/tdurieux",target:"_blank",rel:"noopener"},Rz=["innerHTML"],Tz=["disabled"],Pz={key:0,class:"paper-inline-alert paper-inline-alert-error",role:"alert"},Dz={class:"email-prompt-actions"},Az=["disabled"],Iz=["disabled"],Oz=["disabled"];function Dp(e,t){return a(),l(V,null,[n("nav",{class:R(["navbar navbar-expand-lg",{"navbar-dark":e.isDarkMode}])},[t[28]||(t[28]=n("a",{class:"navbar-brand",href:"/"},[m("Anonymous "),n("em",null,"GitHub")],-1)),e.headerShowSupport?(a(),l("a",xB,[...t[9]||(t[9]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-heart"})],-1),n("span",{class:"nav-support-label"},"Support",-1)])])):p("v-if",!0),/^\/(r|w|pr|gist)\//.test(e.path||"")?p("v-if",!0):(a(),l("a",ez,[...t[10]||(t[10]=[n("svg",{class:"ui-icon","aria-hidden":"true"},[n("use",{href:"#ui-icon-heart"})],-1)])])),/^\/(r|w|pr|gist)\//.test(e.path||"")?p("v-if",!0):(a(),l("button",{key:2,type:"button",class:"nav-theme-m","aria-label":e.isDarkMode?"Switch to light mode":"Switch to dark mode",title:e.isDarkMode?"Switch to light mode":"Switch to dark mode",onClick:t[0]||(t[0]=s=>e.darkMode(!e.isDarkMode))},[(a(),l("svg",nz,[n("use",{href:e.isDarkMode?"#ui-icon-sun":"#ui-icon-moon"},null,8,oz)]))],8,tz)),!e.user&&!/^\/(r|w|pr|gist)\//.test(e.path||"")?(a(),l("a",sz,[...t[11]||(t[11]=[n("i",{class:"fab fa-github","aria-hidden":"true"},null,-1),m("Sign in",-1)])])):p("v-if",!0),t[29]||(t[29]=n("button",{class:"navbar-toggler",type:"button","data-toggle":"collapse","data-target":"#navbarSupportedContent","aria-controls":"navbarSupportedContent","aria-expanded":"false","aria-label":"Toggle navigation"},[n("span",{class:"navbar-toggler-icon"})],-1)),n("div",iz,[n("ul",rz,[e.user?p("v-if",!0):(a(),l("li",az,[n("a",{class:R(["nav-link",{active:e.path=="/"}]),href:"/"},[...t[12]||(t[12]=[n("svg",{class:"ui-icon d-lg-none mr-1","aria-hidden":"true"},[n("use",{href:"#ui-icon-home"})],-1),m(" Home ",-1)])],2)])),e.user?(a(),l("li",lz,[n("a",{class:R(["nav-link",{active:e.path=="/dashboard"}]),href:"/dashboard"},[...t[13]||(t[13]=[n("svg",{class:"ui-icon d-lg-none mr-1","aria-hidden":"true"},[n("use",{href:"#ui-icon-grid"})],-1),m(" My work ",-1)])],2)])):p("v-if",!0),e.user?(a(),l("li",dz,[n("a",{class:R(["nav-link",{active:e.path=="/anonymize"||e.path=="/pull-request-anonymize"}]),href:"/anonymize"},[...t[14]||(t[14]=[n("svg",{class:"ui-icon d-lg-none mr-1","aria-hidden":"true"},[n("use",{href:"#ui-icon-shield"})],-1),m(" Anonymize ",-1)])],2)])):p("v-if",!0),e.user?(a(),l("li",uz,[n("a",{class:R(["nav-link",{active:e.path=="/conferences"||e.path?.startsWith("/conference/")}]),href:"/conferences"},[...t[15]||(t[15]=[n("svg",{class:"ui-icon d-lg-none mr-1","aria-hidden":"true"},[n("use",{href:"#project-icon-conference"})],-1),m(" Conferences ",-1)])],2)])):p("v-if",!0),n("li",cz,[n("a",{class:R(["nav-link",{active:e.path=="/faq"}]),href:"/faq"},[...t[16]||(t[16]=[n("svg",{class:"ui-icon d-lg-none mr-1","aria-hidden":"true"},[n("use",{href:"#ui-icon-help"})],-1),m("FAQ",-1)])],2)]),e.user&&e.user?.isAdmin?(a(),l("li",pz,[n("a",{class:R(["nav-link",{active:e.path?.indexOf("/admin")===0}]),href:"/admin/"},[...t[17]||(t[17]=[n("svg",{class:"ui-icon d-lg-none mr-1","aria-hidden":"true"},[n("use",{href:"#ui-icon-user-shield"})],-1),m(" Admin ",-1)])],2)])):p("v-if",!0)]),n("ul",fz,[e.user||!e.isReviewerRoute?(a(),l("li",mz,[...t[18]||(t[18]=[n("a",{class:"nav-link nav-icon",target:"_blank",href:"https://github.com/tdurieux/anonymous_github/",title:"Anonymous GitHub source code","aria-label":"Anonymous GitHub source code on GitHub",rel:"noopener","data-offset":"30"},[n("i",{class:"fab fa-github","aria-hidden":"true"})],-1)])])):p("v-if",!0),p(` "Report a bug" is about this service. Reviewers who land on an anonymized repository often think it is about the paper, so the