PageSourceSearch

https://ntrconnect.jp/_next/static/chunks/app-elements-Drg5O4vw.js

js ntrconnect.jp collected 2026-10-09 22:04:20 UTC 12,170 bytes, 1 lines download raw bytes

1import{n as e,r as t}from"./rolldown-runtime-C60lm6uB.js";import{t as n}from"./record-BdkTR7AP.js";import"./hash-D0ldriCF.js";import{i as r,r as i}from"./framework-BaE7mD_r.js";function a(e){return e.startsWith(`/`)&&!e.startsWith(`//`)&&!e.includes(`?`)&&!e.includes(`#`)&&!e.includes(`\0`)}function o(e){if(e===`/`||e.length>1&&e[0]===`/`&&!e.includes(`//`)&&!e.includes(`/./`)&&!e.includes(`/../`)&&!e.endsWith(`/.`)&&!e.endsWith(`/..`))return e;let t=e.split(`/`),n=[];for(let e of t)e===``||e===`.`||(e===`..`?n.pop():n.push(e));return`/`+n.join(`/`)}var s=(e,t)=>e<t?-1:+(e>t),c=[`schemaVersion`,`graphVersion`,`deploymentVersion`,`appElementsSchemaVersion`,`rscPayloadSchemaVersion`,`rootBoundaryId`,`renderEpoch`];function l(e={}){return{schemaVersion:1,graphVersion:e.graphVersion??null,deploymentVersion:e.deploymentVersion??null,appElementsSchemaVersion:1,rscPayloadSchemaVersion:1,rootBoundaryId:e.rootBoundaryId??null,renderEpoch:e.renderEpoch??null}}function u(e){return typeof e==`string`||e===null}function d(e){return e.schemaVersion===1&&e.appElementsSchemaVersion===1&&e.rscPayloadSchemaVersion===1}function f(e){return!n(e)||!d(e)||!u(e.graphVersion)||!u(e.deploymentVersion)||!u(e.rootBoundaryId)||!u(e.renderEpoch)?null:{schemaVersion:1,graphVersion:e.graphVersion,deploymentVersion:e.deploymentVersion,appElementsSchemaVersion:1,rscPayloadSchemaVersion:1,rootBoundaryId:e.rootBoundaryId,renderEpoch:e.renderEpoch}}r();var p=new WeakMap;function m(e,t){p.get(e)?.get(t)?.release()}var ee=t(i(),1),h=`\0`,g=`__artifactCompatibility`,_=`__cacheEntryReuseProof`,v=`__dynamicStaleTime`,y=`__interception`,b=`__interceptionContext`,x=`__layoutIds`,S=`__layoutFlags`,C=`__renderObservation`,w=`__route`,T=`__rootLayout`,E=`__skippedLayoutIds`,D=`__sourcePage`,O=`__slotBindings`,te=`__staticSiblings`,k=`__VINEXT_UNMATCHED_SLOT__`,A=Symbol.for(`vinext.unmatchedSlot`),ne=new Set;function re(e){return new Set(e)}var ie=re(`CP_CACHE_ENTRY_PROOF_MISSING.CP_MODEL_DISABLED.CP_ARTIFACT_COMPATIBILITY_INCOMPATIBLE.CP_ARTIFACT_COMPATIBILITY_UNKNOWN.CP_DIMENSION_COUNT_EXCEEDED.CP_DIMENSION_NAME_MISSING.CP_DIMENSION_NAME_TOO_LONG.CP_DIMENSION_VALUE_COUNT_EXCEEDED.CP_DIMENSION_VALUE_TOO_LONG.CP_DIMENSION_VALUES_MISSING.CP_ENCODED_VARIANT_TOO_LONG.CP_INVALID_VARIANT_BUDGET.CP_ROUTE_VARIANT_BUDGET_ROUTE_MISMATCH.CP_ROUTE_VARIANT_CEILING_EXCEEDED.CP_UNSAFE_PUBLIC_DIMENSION.CP_BOUNDARY_OUTCOME_MISMATCH.CP_BOUNDARY_OUTCOME_UNKNOWN.CP_PRIVATE_DYNAMIC_DOWNGRADE.CP_STATIC_LAYOUT_CANDIDATE_OUTPUT_KIND.CP_STATIC_LAYOUT_CURRENT_OUTPUT_KIND.CP_STATIC_LAYOUT_ID_MISMATCH.CP_STATIC_LAYOUT_OBSERVATION_OUTPUT_KIND.CP_STATIC_LAYOUT_OBSERVATION_OUTPUT_MISMATCH.CP_STATIC_LAYOUT_PRIVATE_DYNAMIC_DOWNGRADE.CP_STATIC_LAYOUT_REQUEST_API_OBSERVED.CP_STATIC_LAYOUT_REQUEST_API_UNKNOWN.CP_STATIC_LAYOUT_ROOT_BOUNDARY_MISMATCH.CP_STATIC_LAYOUT_ROOT_BOUNDARY_UNKNOWN.CP_STATIC_LAYOUT_VARIANT_DIMENSION_UNPROVEN`.split(`.`)),j=s;function ae(e,t){return j(e.slotId,t.slotId)}function M(e,t={}){let n=t.layoutIds?new Set(t.layoutIds):null,r=new Set,i=[];for(let t of e){if(r.has(t.slotId))throw Error(`[vinext] Invalid __slotBindings in App Router payload: duplicate slot id`);if(r.add(t.slotId),n&&t.ownerLayoutId!==null&&!n.has(t.ownerLayoutId))throw Error(`[vinext] Invalid __slotBindings in App Router payload: owner layout id missing from __layoutIds`);i.push({...t})}return i.sort(ae)}function N(e,t){return t===null?e:`${e}${h}${t}`}function oe(e,t){return N(`route:${e}`,t)}function se(e,t){return N(`page:${e}`,t)}function ce(e){return`layout:${e}`}function le(e){return`template:${e}`}function ue(e,t){return`slot:${e}:${t}`}function de(e,t){return N(e,t)}function P(e){let t=e.indexOf(h),n=t===-1?e:e.slice(0,t);return n.startsWith(`/`)?{interceptionContext:t===-1?null:e.slice(t+1),path:n}:null}function F(e){return e.startsWith(`/`)?e:null}function I(e){if(e.startsWith(`route:`)){let t=P(e.slice(6));return t?{interceptionContext:t.interceptionContext,kind:`route`,path:t.path}:null}if(e.startsWith(`page:`)){let t=P(e.slice(5));return t?{interceptionContext:t.interceptionContext,kind:`page`,path:t.path}:null}if(e.startsWith(`layout:`)){let t=F(e.slice(7));return t?{kind:`layout`,treePath:t}:null}if(e.startsWith(`template:`)){let t=F(e.slice(9));return t?{kind:`template`,treePath:t}:null}if(e.startsWith(`slot:`)){let t=e.slice(5),n=t.indexOf(`:`);
1if(n<=0)return null;let r=t.slice(0,n),i=F(t.slice(n+1));return i?{kind:`slot`,name:r,treePath:i}:null}return null}function L(e){if(!e.startsWith(`slot:`))return!1;let t=e.slice(5),n=t.indexOf(`:`);return n>0&&t.charCodeAt(n+1)===47}function fe(e){let t=[...e.layoutIds??[]],n={[w]:e.routeId,[b]:e.interceptionContext,[x]:t,[T]:e.rootLayoutTreePath,...e.dynamicStaleTimeSeconds===void 0?{}:{[v]:e.dynamicStaleTimeSeconds},...e.sourcePage===null||e.sourcePage===void 0?{}:{[D]:e.sourcePage}},r=e.interception?{...n,[y]:e.interception}:n;return e.slotBindings&&e.slotBindings.length>0?{...r,[O]:M(e.slotBindings,{layoutIds:t})}:r}function R(e){let t=!1;for(let[n,r]of Object.entries(e))if(L(n)&&r===`__VINEXT_UNMATCHED_SLOT__`){t=!0;break}if(!t)return e;let n={};for(let[t,r]of Object.entries(e))n[t]=L(t)&&r===`__VINEXT_UNMATCHED_SLOT__`?A:r;return n}function pe(e){if(typeof e!=`object`||!e||Array.isArray(e))return!1;for(let t of Object.values(e))if(t!==`s`&&t!==`d`)return!1;return!0}function z(e){return pe(e)?e:{}}function B(e,t){if(e===void 0)return[];if(!Array.isArray(e))throw Error(`[vinext] Invalid ${t} in App Router payload: expected layout id string[]`);let n=[];for(let r of e){if(typeof r!=`string`)throw Error(`[vinext] Invalid ${t} in App Router payload: expected layout id string[]`);if(I(r)?.kind!==`layout`)throw Error(`[vinext] Invalid ${t} in App Router payload: expected layout ids`);n.push(r)}return n}function me(e){return B(e,x)}function he(e){return B(e,E)}function ge(e){return e===`active`||e===`default`||e===`unmatched`}function _e(e,t={}){if(e===void 0)return[];if(!Array.isArray(e))throw Error(`[vinext] Invalid __slotBindings in App Router payload: expected array`);let r=[];for(let t of e){if(!n(t))throw Error(`[vinext] Invalid __slotBindings in App Router payload: expected objects`);let e=t.slotId;if(typeof e!=`string`||I(e)?.kind!==`slot`)throw Error(`[vinext] Invalid __slotBindings in App Router payload: expected slot ids`);let i=t.ownerLayoutId;if(i!==null&&(typeof i!=`string`||I(i)?.kind!==`layout`))throw Error(`[vinext] Invalid __slotBindings in App Router payload: expected owner layout ids`);let a=t.state;if(!ge(a))throw Error(`[vinext] Invalid __slotBindings in App Router payload: expected state`);let o=t.activeRouteId;if(o!=null&&(typeof o!=`string`||I(o)?.kind!==`route`))throw Error(`[vinext] Invalid __slotBindings in App Router payload: expected route ids`);r.push({...o===void 0?{}:{activeRouteId:o},ownerLayoutId:i,slotId:e,state:a})}return M(r,t)}function V(e,t){let n=e[t];if(typeof n!=`string`)throw Error(`[vinext] Invalid __interception in App Router payload: expected strings`);return n}function H(e){if(!a(e))throw Error(`[vinext] Invalid __interception in App Router payload: expected path URLs`);return e}function U(e,t){let n=I(e);if(n?.kind!==`route`||n.path!==t||n.interceptionContext!==null)throw Error(`[vinext] Invalid __interception in App Router payload: expected route ids`);return e}function ve(e){if(I(e)?.kind!==`slot`)throw Error(`[vinext] Invalid __interception in App Router payload: expected slot id`);return e}function ye(e){if(e==null)return null;if(!n(e))throw Error(`[vinext] Invalid __interception in App Router payload: expected object`);let t=H(V(e,`sourceMatchedUrl`)),r=H(V(e,`targetMatchedUrl`));return{sourceMatchedUrl:t,sourceRouteId:U(V(e,`sourceRouteId`),t),slotId:ve(V(e,`slotId`)),targetMatchedUrl:r,targetRouteId:U(V(e,`targetRouteId`),r)}}function W(e){return!(typeof e!=`object`||!e||Array.isArray(e)||(0,ee.isValidElement)(e))}function G(e,t){return{...e,[S]:t}}function K(e){if(!W(e.element))return e.element;let t=be(e.skipDisposition),n={};for(let[r,i]of Object.entries(e.element)){if(t.has(r)){m(e.element,r);continue}n[r]=i===A?k:i}return n[S]=e.layoutFlags,t.size>0&&(n[E]=[...t]),n[g]=e.artifactCompatibility??l(),e.cacheEntryReuseProof&&(n[_]=e.cacheEntryReuseProof),e.dynamicStaleTimeSeconds!==void 0&&(n[v]=e.dynamicStaleTimeSeconds),e.renderObservation&&(n[C]=e.renderObservation),n}function be(e){if(e?.enabled!==!0)return ne;let t=new Set;for(let n of e.skippedEntryIds)I(n)?.kind===`layout`&&t.add(n);return t}function xe(e){return e===void 0?l():f(e)??l()}function Se(e){return e==null||typeof e!=`string`||!e.startsWith(`/`)?
1null:e}function q(){return{kind:`runtime-cache-entry`,decision:null}}function Ce(e){return typeof e==`string`&&ie.has(e)}function we(e){return e===`renderFresh`||e===`privateUncacheable`}function Te(e){return e===`affectedOutput`||e===`route`}function Ee(e){if(e===void 0)return null;if(!n(e)||e.kind!==`runtime-cache-entry`)return q();let t=e.decision;return t===null||!n(t)?q():t.kind===`reuse`&&t.canReuse===!0&&t.code===`CP_STATIC_LAYOUT_REUSE_PROVEN`&&t.reuseClass===`static-layout`?{kind:`runtime-cache-entry`,decision:{canReuse:!0,code:t.code,kind:`reuse`,reuseClass:t.reuseClass}}:t.kind===`reject`&&t.canReuse===!1&&Ce(t.code)&&we(t.mode)&&Te(t.scope)?{kind:`runtime-cache-entry`,decision:{canReuse:!1,code:t.code,kind:`reject`,mode:t.mode,scope:t.scope}}:q()}function J(e){let t=e[w];if(typeof t!=`string`)throw Error(`[vinext] Missing __route string in App Router payload`);let n=e[b];if(n!=null&&typeof n!=`string`)throw Error(`[vinext] Invalid __interceptionContext in App Router payload`);let r=e[T];if(r===void 0)throw Error(`[vinext] Missing __rootLayout key in App Router payload`);if(r!==null&&typeof r!=`string`)throw Error(`[vinext] Invalid __rootLayout in App Router payload: expected string or null`);let i=z(e[S]),a=me(e[x]),o=he(e[E]),s=_e(e[O],{layoutIds:a}),c=ye(e[y]),l=xe(e[g]),u=Ee(e[_]),d=e[v],f=typeof d==`number`&&Number.isFinite(d)&&d>=0?d:void 0,p=Se(e[D]);return{artifactCompatibility:l,...u?{cacheEntryReuseProof:u}:{},...f===void 0?{}:{dynamicStaleTimeSeconds:f},interception:c,interceptionContext:n??null,layoutIds:a,layoutFlags:i,routeId:t,rootLayoutTreePath:r,skippedLayoutIds:o,slotBindings:s,sourcePage:p}}var Y={keys:{artifactCompatibility:g,cacheEntryReuseProof:_,dynamicStaleTime:v,interception:y,interceptionContext:b,layoutIds:x,layoutFlags:S,renderObservation:C,rootLayout:T,route:w,skippedLayoutIds:E,slotBindings:O,sourcePage:D},unmatchedSlotValue:k,createMetadataEntries:fe,decode:R,encodeCacheKey:de,encodeLayoutId:ce,encodeOutgoingPayload:K,encodePageId:se,encodeRouteId:oe,encodeSlotId:ue,encodeTemplateId:le,isSlotId:L,parseElementKey:I,readMetadata:J,withLayoutFlags:G},X=4096,De=256,Oe=16;function ke(e){return e.length===0||e.length>De?!1:Y.isSlotId(e)}function Ae(e){if(!e||e.length>X)return null;let t=e.split(/\s+/).filter(e=>e&&ke(e));return t.length===0?null:Array.from(new Set(t)).sort().slice(0,Oe).join(` `)||null}var je=e({APP_ARTIFACT_COMPATIBILITY_KEY:()=>g,APP_CACHE_ENTRY_REUSE_PROOF_KEY:()=>_,APP_DYNAMIC_STALE_TIME_KEY:()=>v,APP_INTERCEPTION_CONTEXT_KEY:()=>b,APP_INTERCEPTION_KEY:()=>y,APP_LAYOUT_FLAGS_KEY:()=>S,APP_LAYOUT_IDS_KEY:()=>x,APP_PREFETCH_LOADING_SHELL_MARKER_KEY:()=>Me,APP_RENDER_OBSERVATION_KEY:()=>C,APP_ROOT_LAYOUT_KEY:()=>T,APP_ROUTE_KEY:()=>w,APP_SKIPPED_LAYOUT_IDS_KEY:()=>E,APP_SLOT_BINDINGS_KEY:()=>O,APP_SOURCE_PAGE_KEY:()=>D,APP_STATIC_SIBLINGS_KEY:()=>te,APP_UNMATCHED_SLOT_WIRE_VALUE:()=>k,AppElementsWire:()=>Y,UNMATCHED_SLOT:()=>A,buildOutgoingAppPayload:()=>K,compareAppElementsSlotIds:()=>j,getMountedSlotIds:()=>Z,getMountedSlotIdsHeader:()=>Q,isAppElementsRecord:()=>W,normalizeAppElements:()=>R,normalizeAppElementsSlotBindings:()=>M,readAppElementsMetadata:()=>J,resolveVisitedResponseInterceptionContext:()=>$,withLayoutFlags:()=>G}),Me=`__prefetchLoadingShell`;function Z(e){return Object.keys(e).filter(t=>{let n=e[t],r=Y.parseElementKey(t);return r?.kind===`slot`&&r.name!==`children`&&n!=null&&n!==A}).sort()}function Q(e){return Ae(Z(e).join(` `))}function $(e,t){return t??e}export{Y as a,M as c,$ as i,c as l,Z as n,A as o,Q as r,j as s,je as t,o as u};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.