{"release_id":"01a2309f-d47d-0000-29bc-a17a97e31fa5","chunk_id":"01a2309f-d5e5-7193-9176-0a6ceac3d268","file":"QI8cvJ5z.mjs","mappings":"qTAMO,SAASA,EAAYC,EAAK,KAAwC,CACxE,OAAO,OAAO,YAAgB,KAAe,OAAO,YAAY,SAAY,WACzE,YAAY,QAAQA,CAAE,EACtB,MACJ","names":["duetTimeout","ms"],"sources":["../../../../../../src/lib/components/sculpt/duet/net.ts"],"sourcesContent":["// The duet pages' requests give up after this long (perf audit): a hung fetch lands in the page's\n// fail / error state instead of a spinner forever.\nexport const DUET_FETCH_MS = 15_000;\n\n/** AbortSignal.timeout where the browser has it (Safari 16+); none on older ones, which then wait as\n *  before rather than throw. */\nexport function duetTimeout(ms = DUET_FETCH_MS): AbortSignal | undefined {\n\treturn typeof AbortSignal !== 'undefined' && typeof AbortSignal.timeout === 'function'\n\t\t? AbortSignal.timeout(ms)\n\t\t: undefined;\n}\n"],"version":3}