[bot] Update dist directory

This commit is contained in:
bot-githubaction committed 2026-03-24 15:25:09 +00:00
1 parent 14ac3d6351
commit 39e147cb9d
8 files changed
+120 -12

No files matched your search

+28 -1
View File
@@ -248,7 +248,34 @@ Other caches with similar key:`);for(let a of i?.artifactCaches||[])q(`Cache Key
`));let n=yield c9(r,"create");yield u9(n,t)})}var u0=function(t,e,r,n){function s(i){return i instanceof r?i:new r(function(o){o(i)})}return new(r||(r=Promise))(function(i,o){function a(u){try{c(n.next(u))}catch(l){o(l)}}function A(u){try{c(n.throw(u))}catch(l){o(l)}}function c(u){u.done?i(u.value):s(u.value).then(a,A)}c((n=n.apply(t,e||[])).next())})},ji=class t extends Error{constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},sd=class t extends Error{constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},WR=class t extends Error{constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function tpe(t){if(!t||t.length===0)throw new ji("Path Validation Error: At least one directory or file path is required")}function h9(t){if(t.length>512)throw new ji(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new ji(`Key Validation Error: ${t} cannot contain commas.`)}function rpe(){return aB()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}function npe(t,e,r,n){return u0(this,arguments,void 0,function*(s,i,o,a,A=!1){let c=aB();return q(`Cache service version: ${c}`),tpe(s),c==="v2"?yield jAt(s,i,o,a,A):yield zAt(s,i,o,a,A)})}function zAt(t,e,r,n){return u0(this,arguments,void 0,function*(s,i,o,a,A=!1){o=o||[];let c=[i,...o];if(q("Resolved Keys:"),q(JSON.stringify(c)),c.length>10)throw new ji("Key Validation Error: Keys are limited to a maximum of 10.");for(let d of c)h9(d);let u=yield ly(),l="";try{let d=yield nge(c,s,{compressionMethod:u,enableCrossOsArchive:A});if(!d?.archiveLocation)return;if(a?.lookupOnly)return ee("Lookup only - skipping download"),d.cacheKey;l=QB.join(yield cy(),Gl(u)),q(`Archive Path: ${l}`),yield K5(d.archiveLocation,l,a),_a()&&(yield bB(l,u));let h=RA(l);return ee(`Cache Size: ~${Math.round(h/(1024*1024))} MB (${h} B)`),yield l9(l,u),ee("Cache restored successfully"),d.cacheKey}catch(d){let h=d;if(h.name===ji.name)throw d;h instanceof wA&&typeof h.statusCode=="number"&&h.statusCode>=500?TA(`Failed to restore: ${d.message}`):Ze(`Failed to restore: ${d.message}`)}finally{try{yield uy(l)}catch(d){q(`Failed to delete archive: ${d}`)}}})}function jAt(t,e,r,n){return u0(this,arguments,void 0,function*(s,i,o,a,A=!1){a=Object.assign(Object.assign({},a),{useAzureSdk:!0}),o=o||[];let c=[i,...o];if(q("Resolved Keys:"),q(JSON.stringify(c)),c.length>10)throw new ji("Key Validation Error: Keys are limited to a maximum of 10.");for(let l of c)h9(l);let u="";try{let l=A9(),d=yield ly(),h={key:i,restoreKeys:o,version:Im(s,d,A)},f=yield l.GetCacheEntryDownloadURL(h);if(!f.ok){q(`Cache not found for version ${h.version} of keys: ${c.join(", ")}`);return}if(h.key!==f.matchedKey?ee(`Cache hit for restore-key: ${f.matchedKey}`):ee(`Cache hit for: ${f.matchedKey}`),a?.lookupOnly)return ee("Lookup only - skipping download"),f.matchedKey;u=QB.join(yield cy(),Gl(d)),q(`Archive path: ${u}`),q(`Starting download of archive to: ${u}`),yield K5(f.signedDownloadUrl,u,a);let I=RA(u);return ee(`Cache Size: ~${Math.round(I/(1024*1024))} MB (${I} B)`),_a()&&(yield bB(u,d)),yield l9(u,d),ee("Cache restored successfully"),f.matchedKey}catch(l){let d=l;if(d.name===ji.name)throw l;d instanceof wA&&typeof d.statusCode=="number"&&d.statusCode>=500?TA(`Failed to restore: ${l.message}`):Ze(`Failed to restore: ${l.message}`)}finally{try{u&&(yield uy(u))}catch(l){q(`Failed to delete archive: ${l}`)}}})}function spe(t,e,r){return u0(this,arguments,void 0,function*(n,s,i,o=!1){let a=aB();return q(`Cache service version: ${a}`),tpe(n),h9(s),a==="v2"?yield XAt(n,s,i,o):yield KAt(n,s,i,o)})}function KAt(t,e,r){return u0(this,arguments,void 0,function*(n,s,i,o=!1){var a,A,c,u,l;let d=yield ly(),h=-1,f=yield FO(n);if(q("Cache Paths:"),q(`${JSON.stringify(f)}`),f.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let p=yield cy(),I=QB.join(p,Gl(d));q(`Archive Path: ${I}`);try{yield d9(p,f,d),_a()&&(yield bB(I,d));let E=10*1024*1024*1024,C=RA(I);if(q(`File Size: ${C}`),C>E&&!z5())throw new Error(`Cache size of ~${Math.round(C/(1024*1024))} MB (${C} B) is over the 10GB limit, not saving cache.`);q("Reserving Cache");let y=yield sge(s,n,{compressionMethod:d,enableCrossOsArchive:o,cacheSize:C});if(!((a=y?.result)===null||a===void 0)&&a.cacheId)h=(A=y?.result)===null||A===void 0?void 0:A.cacheId;else throw y?.statusCode===400?new Error((u=(c=y?.error)===null||c===void 0?void 0:c.message)!==null&&u!==void 0?u:`Cache size of ~${Math.round(C/(1024*1024))} MB (${C} B) is over the data cap limit, not saving cache.`):new sd(`Unable to reserve cache with key ${s}, another job may be creating this cache. More details: ${(l=y?.error)===null||l===void 0?void 0:l.message}`);q(`Saving Cache (ID: ${h})`),yield X5(h,I,"",i)}catch(E){let C=E;if(C.name===ji.name)throw E;C.name Line truncated
See ${r.getDocumentationLink()}`;ope.push(n),Yh(n)}function ape(){cm("deprecation-collector_deprecations",JSON.stringify(f9)),cm("deprecation-collector_errors",JSON.stringify(ope))}import*as KR from"path";var Ape="GRADLE_ACTION_ID";var tD=".setup-gradle",XR=class t{getDependencyGraphOption(){let e=Qr("dependency-graph");switch(e.toLowerCase().trim()){case"disabled":return"disabled";case"generate":return"generate";case"generate-and-submit":return"generate-and-submit";case"generate-submit-and-upload":return"generate-submit-and-upload";case"generate-and-upload":return"generate-and-upload";case"download-and-submit":return"download-and-submit"}throw TypeError(`The value '${e}' is not valid for 'dependency-graph'. Valid values are: [disabled, generate, generate-and-submit, generate-submit-and-upload, generate-and-upload, download-and-submit].`)}getDependencyGraphContinueOnFailure(){return Ac("dependency-graph-continue-on-failure",!0)}getArtifactRetentionDays(){let e=Qr("artifact-retention-days");return rct("artifact-retention-days",e,0)}getJobCorrelator(){return t.constructJobCorrelator(si.workflow,si.job,tct())}getReportDirectory(){let e=Qr("dependency-graph-report-dir");return KR.resolve(id(),e)}getDownloadArtifactName(){return process.env.DEPENDENCY_GRAPH_DOWNLOAD_ARTIFACT_NAME}getExcludeProjects(){return vf("dependency-graph-exclude-projects")}getIncludeProjects(){return vf("dependency-graph-include-projects")}getExcludeConfigurations(){return vf("dependency-graph-exclude-configurations")}getIncludeConfigurations(){return vf("dependency-graph-include-configurations")}getPluginRepository(){return new $R}static constructJobCorrelator(e,r,n){let s=this.describeMatrix(n),i=s?`${e}-${r}-${s}`:`${e}-${r}`;return this.sanitize(i)}static describeMatrix(e){q(`Got matrix json: ${e}`);let r=JSON.parse(e);return r?Object.values(r).join("-"):""}static sanitize(e){return e.replace(/[^a-zA-Z0-9_-\s]/g,"").replace(/\s+/g,"_").toLowerCase()}};var l0=class{isCacheDisabled(){return rpe()?Ac("cache-disabled"):!0}isCacheReadOnly(){return!this.isCacheWriteOnly()&&Ac("cache-read-only")}isCacheWriteOnly(){return Ac("cache-write-only")}isCacheOverwriteExisting(){return Ac("cache-overwrite-existing")}isCacheStrictMatch(){return Ac("gradle-home-cache-strict-match")}getCacheCleanupOption(){let e=SB("gradle-home-cache-cleanup");if(e!==void 0)return zR("The `gradle-home-cache-cleanup` input parameter has been replaced by `cache-cleanup`"),e?"always".toString():"never".toString();let r=Qr("cache-cleanup");switch(r.toLowerCase().trim()){case"always":return"always".toString();case"on-success":return"on-success".toString();case"never":return"never".toString()}throw TypeError(`The value '${r}' is not valid for cache-cleanup. Valid values are: [never, always, on-success].`)}getCacheEncryptionKey(){return Qr("cache-encryption-key")}getCacheIncludes(){return DP("gradle-home-cache-includes")}getCacheExcludes(){return DP("gradle-home-cache-excludes")}isCacheLicenseAccepted(){let e=new Yo;return e.getDevelocityAccessKey()!==""||e.hasTermsOfUseAgreement()}};var Yo=class t{static{this.DevelocityAccessKeyEnvVar="DEVELOCITY_ACCESS_KEY"}static{this.GradleEnterpriseAccessKeyEnvVar="GRADLE_ENTERPRISE_ACCESS_KEY"}getBuildScanPublishEnabled(){return Ac("build-scan-publish")&&this.verifyTermsOfUseAgreement()}getTermsOfUseUrl(){return Qr("build-scan-terms-of-use-url")}getTermsOfUseAgree(){return Qr("build-scan-terms-of-use-agree")}getDevelocityAccessKey(){return Qr("develocity-access-key")||process.env[t.DevelocityAccessKeyEnvVar]||process.env[t.GradleEnterpriseAccessKeyEnvVar]||""}getDevelocityTokenExpiry(){return Qr("develocity-token-expiry")}getDevelocityInjectionEnabled(){return SB("develocity-injection-enabled")}getDevelocityUrl(){return Qr("develocity-url")}getDevelocityAllowUntrustedServer(){return SB("develocity-allow-untrusted-server")}getDevelocityCaptureFileFingerprints(){return SB("develocity-capture-file-fingerprints")}getDevelocityEnforceUrl(){return SB("develocity-enforce-url")}getDevelocityPluginVersion(){return Qr("develocity-plugin-version")}getDevelocityCcudPluginVersion(){return Qr("develocity-ccud-plugin-version")}getPluginRepository(){return new $R}hasTermsOfUseAgreement(){let e=this.getDevelocityAccessKey()!=="",r=this.getTermsOfUseUrl()==="https://gradle.com/terms-of-service"||this.getTermsOfUseUrl()==="https://gradle.com/help/legal-terms-of-use",n=this.getTermsOfUseAgree()==="yes";return e||r&&n}verifyTermsOfUseAgreement(){return this.hasTermsOfUseAgreement()?!0:(Ze("Terms of use at 'https://gradle.com/help/legal-terms-of-use' must be agreed in order to publish build scans."),!1)}},$R=class{getUrl(){return vf("gradle-plugin-repository-url")}getUsername(){return vf("gradle-plugin-repository-username")}getPassword(){return vf("gradle-plugin-repository-password")}},ZR=class{getGradleVersion(){return Qr("gradle-version")}getBuildRootDirectory(){let e=id(),r=Qr("build-root-directory");return r===""?KR.resolve(e):KR.resolve(e,r)}getDependen Line truncated
[Cache was disabled](https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#disabling-caching). Gradle User Home was not restored from or saved to the cache.
`,cct="\n***********************************************************\nLICENSING NOTICE\n\nThe caching functionality in `gradle-actions` has been extracted into `gradle-actions-caching`, a proprietary commercial component that is not covered by the MIT License. \nThe bundled `gradle-actions-caching` component is licensed and governed by a separate license, available at https://gradle.com/legal/terms-of-use/.\n\nThe `gradle-actions-caching` component is used only when caching is enabled and is not loaded or used when caching is disabled.\n\nUse of the `gradle-actions-caching` component is subject to a separate license, available at https://gradle.com/legal/terms-of-use/. \nIf you do not agree to these license terms, do not use the `gradle-actions-caching` component.\n***********************************************************\n",uct="\n> [!IMPORTANT]\n> #### Licensing notice\n>\n> The caching functionality in `gradle-actions` has been extracted into `gradle-actions-caching`, a proprietary commercial component that is not covered by the MIT License. \n> The bundled `gradle-actions-caching` component is licensed and governed by a separate license, available at https://gradle.com/legal/terms-of-use/.\n>\n> The `gradle-actions-caching` component is used only when caching is enabled and is not loaded or used when caching is disabled.\n>\n> Use of the `gradle-actions-caching` component is subject to a separate license, available at https://gradle.com/legal/terms-of-use/. \n> If you do not agree to these license terms, do not use the `gradle-actions-caching` component.\n",p9=class{async restore(e,r){}async save(e,r,n){return Act}},m9=class{constructor(e){this.delegate=e}async restore(e,r){await this.delegate.restore(e,r)}async save(e,r,n){return`${await this.delegate.save(e,r,n)}
`,cct=`
***********************************************************
LICENSING NOTICE
The caching functionality in \`gradle-actions\` has been extracted into \`gradle-actions-caching\`, a proprietary commercial component that is not covered by the MIT License.
The bundled \`gradle-actions-caching\` component is licensed and governed by a separate license, available at https://gradle.com/legal/terms-of-use/.
The \`gradle-actions-caching\` component is used only when caching is enabled and is not loaded or used when caching is disabled.
Use of the \`gradle-actions-caching\` component is subject to a separate license, available at https://gradle.com/legal/terms-of-use/.
If you do not agree to these license terms, do not use the \`gradle-actions-caching\` component.
You can suppress this message by accepting the terms in your action configuration: see https://github.com/gradle/actions/blob/main/README.md
***********************************************************
`,uct=`
> [!IMPORTANT]
> #### Licensing notice
>
> The caching functionality in \`gradle-actions\` has been extracted into \`gradle-actions-caching\`, a proprietary commercial component that is not covered by the MIT License.
> The bundled \`gradle-actions-caching\` component is licensed and governed by a separate license, available at https://gradle.com/legal/terms-of-use/.
>
> The \`gradle-actions-caching\` component is used only when caching is enabled and is not loaded or used when caching is disabled.
>
> Use of the \`gradle-actions-caching\` component is subject to a separate license, available at https://gradle.com/legal/terms-of-use/.
> If you do not agree to these license terms, do not use the \`gradle-actions-caching\` component.
>
>You can suppress this message by [accepting the terms in your action configuration](https://github.com/gradle/actions/blob/main/README.md).
`,p9=class{async restore(e,r){}async save(e,r,n){return Act}},m9=class{constructor(e){this.delegate=e}async restore(e,r){await this.delegate.restore(e,r)}async save(e,r,n){return`${await this.delegate.save(e,r,n)}
${uct}`}};async function gpe(t){if(t.isCacheDisabled())return new p9;let e=await lct();return t.isCacheLicenseAccepted()?e:(await hct(),new m9(e))}async function lct(){let t=dct();return await import(act(t).href)}function dct(){let t=import.meta.dirname,e=fpe.resolve(t,"../../../sources/vendor/gradle-actions-caching/index.js");if(hpe.existsSync(e))return e;throw new Error(`Unable to locate vendored cache library at ${e}.`)}async function hct(){console.info(cct)}import sD from"fs";import ppe from"path";var iD=class{constructor(e){this.cacheFile=ppe.resolve(e,tD,"valid-wrappers.json")}load(){if(sD.existsSync(this.cacheFile))try{return JSON.parse(sD.readFileSync(this.cacheFile,"utf-8"))}catch(e){Ze(`Failed to parse checksum cache file: ${e}`)}return[]}save(e){let r=[...new Set(e)];sD.mkdirSync(ppe.dirname(this.cacheFile),{recursive:!0}),sD.writeFileSync(this.cacheFile,JSON.stringify(r))}};var Bpe=ce(Ipe(),1);import*as ype from"util";import*as oD from"path";import*as aD from"fs";var Cct=ype.promisify(aD.readdir);async function bpe(t){return(await Qpe(t)).filter(r=>(0,Bpe.default)(r).endsWith("gradle-wrapper.jar")).map(r=>oD.relative(t,r)).sort((r,n)=>r.localeCompare(n))}async function Qpe(t){let e=await Cct(t),r=await Promise.all(e.map(async n=>{let s=oD.resolve(t,n),i=aD.lstatSync(s,{throwIfNoEntry:!1});return i===void 0?[]:i.isDirectory()?Qpe(s):new Promise(o=>o([s]))}));return Array.prototype.concat(...r)}var yct={_useHtmlParser2:!1};function d0(t,e){if(!t)return e??yct;let r={_useHtmlParser2:!!t.xmlMode,...e,...t};return t.xml?(r._useHtmlParser2=!0,r.xmlMode=!0,t.xml!==!0&&Object.assign(r,t.xml)):t.xmlMode&&(r._useHtmlParser2=!0),r}var H9={};ya(H9,{contains:()=>BD,extract:()=>gut,html:()=>lut,merge:()=>Jpe,parseHTML:()=>hut,root:()=>fut,text:()=>Pf,xml:()=>dut});var ud={};ya(ud,{DocumentPosition:()=>Jo,append:()=>Jct,appendChild:()=>Wct,compareDocumentPosition:()=>qpe,existsOne:()=>Hpe,filter:()=>m0,find:()=>ED,findAll:()=>Xct,findOne:()=>CD,findOneChild:()=>Kct,getAttributeValue:()=>Gct,getChildren:()=>p0,getElementById:()=>tut,getElements:()=>eut,getElementsByClassName:()=>rut,getElementsByTagName:()=>Uf,getElementsByTagType:()=>nut,getFeed:()=>O9,getInnerHTML:()=>Hct,getName:()=>Yct,getOuterHTML:()=>Ppe,getParent:()=>Ope,getSiblings:()=>U9,getText:()=>gD,hasAttrib:()=>qct,hasChildren:()=>rr,innerText:()=>DB,isCDATA:()=>h0,isComment:()=>Lf,isDocument:()=>Wo,isTag:()=>Qe,isText:()=>gi,nextElementSibling:()=>pD,prepend:()=>jct,prependChild:()=>zct,prevElementSibling:()=>mD,removeElement:()=>Lu,removeSubsets:()=>sut,replaceElement:()=>Vct,testElement:()=>Zct,textContent:()=>Mu,uniqueSort:()=>Ad});var Vo={};ya(Vo,{CDATA:()=>S9,Comment:()=>B9,Directive:()=>y9,Doctype:()=>N9,ElementType:()=>bt,Root:()=>C9,Script:()=>b9,Style:()=>Q9,Tag:()=>w9,Text:()=>I9,isTag:()=>E9});var bt;(function(t){t.Root="root",t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"})(bt||(bt={}));function E9(t){return t.type===bt.Tag||t.type===bt.Script||t.type===bt.Style}var C9=bt.Root,I9=bt.Text,y9=bt.Directive,B9=bt.Comment,b9=bt.Script,Q9=bt.Style,w9=bt.Tag,S9=bt.CDATA,N9=bt.Doctype;var AD=class{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return f0(this,e)}},NB=class extends AD{constructor(e){super(),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}},uc=class extends NB{constructor(){super(...arguments),this.type=bt.Text}get nodeType(){return 3}},_f=class extends NB{constructor(){super(...arguments),this.type=bt.Comment}get nodeType(){return 8}},Ff=class extends NB{constructor(e,r){super(r),this.name=e,this.type=bt.Directive}get nodeType(){return 1}},TB=class extends AD{constructor(e){super(),this.children=e}get firstChild(){var e;return(e=this.children[0])!==null&&e!==void 0?e:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}},xB=class extends TB{constructor(){super(...arguments),this.type=bt.CDATA}get nodeType(){return 4}},Ki=class extends TB{constructor(){super(...arguments),this.type=bt.Root}get nodeType(){return 9}},Mf=class extends TB{constructor(e,r,n=[],s=e==="script"?bt.Script:e==="style"?bt.Style:bt.Tag){super(n),this.name=e,this.attribs=r,this.type=s}get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map(e=>{var r,n;return{name:e,value:this.attribs[e],namespace:(r=this["x-attribsNamespace"])===null||r===void 0?void 0:r[e],prefix:(n=this["x-attribsPrefix"])===null||n===void 0?void 0:n[e]}})}};function Qe(t){return E9(t)}function h0(t){return t. Line truncated
`:gD(t.children):h0(t)?gD(t.children):gi(t)?t.data:""}function Mu(t){return Array.isArray(t)?t.map(Mu).join(""):rr(t)&&!Lf(t)?Mu(t.children):gi(t)?t.data:""}function DB(t){return Array.isArray(t)?t.map(DB).join(""):rr(t)&&(t.type===bt.Tag||h0(t))?DB(t.children):gi(t)?t.data:""}function p0(t){return rr(t)?t.children:[]}function Ope(t){return t.parent||null}function U9(t){let e=Ope(t);if(e!=null)return p0(e);let r=[t],{prev:n,next:s}=t;for(;n!=null;)r.unshift(n),{prev:n}=n;for(;s!=null;)r.push(s),{next:s}=s;return r}function Gct(t,e){var r;return(r=t.attribs)===null||r===void 0?void 0:r[e]}function qct(t,e){return t.attribs!=null&&Object.prototype.hasOwnProperty.call(t.attribs,e)&&t.attribs[e]!=null}function Yct(t){return t.name}function pD(t){let{next:e}=t;for(;e!==null&&!Qe(e);)({next:e}=e);return e}function mD(t){let{prev:e}=t;for(;e!==null&&!Qe(e);)({prev:e}=e);return e}function Lu(t){if(t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.parent){let e=t.parent.children,r=e.lastIndexOf(t);r>=0&&e.splice(r,1)}t.next=null,t.prev=null,t.parent=null}function Vct(t,e){let r=e.prev=t.prev;r&&(r.next=e);let n=e.next=t.next;n&&(n.prev=e);let s=e.parent=t.parent;if(s){let i=s.children;i[i.lastIndexOf(t)]=e,t.parent=null}}function Wct(t,e){if(Lu(e),e.next=null,e.parent=t,t.children.push(e)>1){let r=t.children[t.children.length-2];r.next=e,e.prev=r}else e.prev=null}function Jct(t,e){Lu(e);let{parent:r}=t,n=t.next;if(e.next=n,e.prev=t,t.next=e,e.parent=r,n){if(n.prev=e,r){let s=r.children;s.splice(s.lastIndexOf(n),0,e)}}else r&&r.children.push(e)}function zct(t,e){if(Lu(e),e.parent=t,e.prev=null,t.children.unshift(e)!==1){let r=t.children[1];r.prev=e,e.next=r}else e.next=null}function jct(t,e){Lu(e);let{parent:r}=t;if(r){let n=r.children;n.splice(n.indexOf(t),0,e)}t.prev&&(t.prev.next=e),e.parent=r,e.prev=t.prev,e.next=t,t.prev=e}function m0(t,e,r=!0,n=1/0){return ED(t,Array.isArray(e)?e:[e],r,n)}function ED(t,e,r,n){let s=[],i=[Array.isArray(e)?e:[e]],o=[0];for(;;){if(o[0]>=i[0].length){if(o.length===1)return s;i.shift(),o.shift();continue}let a=i[0][o[0]++];if(t(a)&&(s.push(a),--n<=0))return s;r&&rr(a)&&a.children.length>0&&(o.unshift(0),i.unshift(a.children))}}function Kct(t,e){return e.find(t)}function CD(t,e,r=!0){let n=Array.isArray(e)?e:[e];for(let s=0;s<n.length;s++){let i=n[s];if(Qe(i)&&t(i))return i;if(r&&rr(i)&&i.children.length>0){let o=CD(t,i.children,!0);if(o)return o}}return null}function Hpe(t,e){return(Array.isArray(e)?e:[e]).some(r=>Qe(r)&&t(r)||rr(r)&&Hpe(t,r.children))}function Xct(t,e){let r=[],n=[Array.isArray(e)?e:[e]],s=[0];for(;;){if(s[0]>=n[0].length){if(n.length===1)return r;n.shift(),s.shift();continue}let i=n[0][s[0]++];Qe(i)&&t(i)&&r.push(i),rr(i)&&i.children.length>0&&(s.unshift(0),n.unshift(i.children))}}var ID={tag_name(t){return typeof t=="function"?e=>Qe(e)&&t(e.name):t==="*"?Qe:e=>Qe(e)&&e.name===t},tag_type(t){return typeof t=="function"?e=>t(e.type):e=>e.type===t},tag_contains(t){return typeof t=="function"?e=>gi(e)&&t(e.data):e=>gi(e)&&e.data===t}};function P9(t,e){return typeof e=="function"?r=>Qe(r)&&e(r.attribs[t]):r=>Qe(r)&&r.attribs[t]===e}function $ct(t,e){return r=>t(r)||e(r)}function Gpe(t){let e=Object.keys(t).map(r=>{let n=t[r];return Object.prototype.hasOwnProperty.call(ID,r)?ID[r](n):P9(r,n)});return e.length===0?null:e.reduce($ct)}function Zct(t,e){let r=Gpe(t);return r?r(e):!0}function eut(t,e,r,n=1/0){let s=Gpe(t);return s?m0(s,e,r,n):[]}function tut(t,e,r=!0){return Array.isArray(e)||(e=[e]),CD(P9("id",t),e,r)}function Uf(t,e,r=!0,n=1/0){return m0(ID.tag_name(t),e,r,n)}function rut(t,e,r=!0,n=1/0){return m0(P9("class",t),e,r,n)}function nut(t,e,r=!0,n=1/0){return m0(ID.tag_type(t),e,r,n)}function sut(t){let e=t.length;for(;--e>=0;){let r=t[e];if(e>0&&t.lastIndexOf(r,e-1)>=0){t.splice(e,1);continue}for(let n=r.parent;n;n=n.parent)if(t.includes(n)){t.splice(e,1);break}}return t}var Jo;(function(t){t[t.DISCONNECTED=1]="DISCONNECTED",t[t.PRECEDING=2]="PRECEDING",t[t.FOLLOWING=4]="FOLLOWING",t[t.CONTAINS=8]="CONTAINS",t[t.CONTAINED_BY=16]="CONTAINED_BY"})(Jo||(Jo={}));function qpe(t,e){let r=[],n=[];if(t===e)return 0;let s=rr(t)?t:t.parent;for(;s;)r.unshift(s),s=s.parent;for(s=rr(e)?e:e.parent;s;)n.unshift(s),s=s.parent;let i=Math.min(r.length,n.length),o=0;for(;o<i&&r[o]===n[o];)o++;if(o===0)return Jo.DISCONNECTED;let a=r[o-1],A=a.children,c=r[o],u=n[o];return A.indexOf(c)>A.indexOf(u)?a===e?Jo.FOLLOWING|Jo.CONTAINED_BY:Jo.FOLLOWING:a===t?Jo.PRECEDING|Jo.CONTAINS:Jo.PRECEDING}function Ad(t){return t=t.filter((e,r,n)=>!n.includes(e,r+1)),t.sort((e,r)=>{let n=qpe(e,r);return n&Jo.PRECEDING?-1:n&Jo.FOLLOWING?1:0}),t}function O9(t){let e=yD(cut,t);return e?e.name==="feed"?iut(e):out(e):null}function iut(t){var e;let r=t.children,n={type:"atom",items:Uf("entry",r).map(o=>{var a;let{children:A}=o,c={media:Ype(A)};pi(c,"id","id",A),pi(c,"title","title",A);let u=(a=yD("link",A))===null||a===void 0?void 0:a.attribs.href;u&&(c.link=u);let l=cd("summary",A)||cd("conten Line truncated
:is(button, input, select, textarea, optgroup, option)[disabled],