PageSourceSearch

https://calhelp.de/_nuxt/Cv1T6usN.js

js calhelp.de collected 2026-10-06 22:21:59 UTC 4,428 bytes, 1 lines download raw bytes

1import{t as e}from"./CHjNYtyd.js";import{r as t}from"./DxpBInvI.js";var n=()=>{let{portalFetch:n}=e(),r=`/portal/ecards/exams`,i=()=>({tz:t()});return{fetchTopics:e=>n(`${r}/${e}/topics`),createTopic:(e,t)=>n(`${r}/${e}/topics`,{method:`POST`,body:t}),updateTopic:(e,t,i)=>n(`${r}/${e}/topics/${t}`,{method:`PATCH`,body:i}),deleteTopic:(e,t)=>n(`${r}/${e}/topics/${t}`,{method:`DELETE`}),reorderTopics:(e,t)=>n(`${r}/${e}/topics/reorder`,{method:`POST`,body:{uids:t}}),estimatePackages:(e,t)=>n(`${r}/${e}/ai/estimate`,{method:`POST`,body:{packages:t},params:i()}),aiSheet:(e,t,i)=>n(`${r}/${e}/ai/sheet`,{method:`POST`,body:{...t,...i}}),aiCards:(e,t,i)=>n(`${r}/${e}/ai/cards`,{method:`POST`,body:{...t,...i}}),aiSummary:(e,t,i)=>n(`${r}/${e}/ai/summary`,{method:`POST`,body:{...t,...i}}),aiSheetUpdate:(e,t,i)=>n(`${r}/${e}/ai/sheet-update`,{method:`POST`,body:{...t,...i}}),acceptPackage:(e,t)=>n(`${r}/${e}/packages`,{method:`POST`,body:t,params:i()}),fetchSheets:e=>n(`${r}/${e}/sheets`),fetchSheet:(e,t)=>n(`${r}/${e}/sheets/${t}`),createSheet:(e,t)=>n(`${r}/${e}/sheets`,{method:`POST`,body:t}),updateSheet:(e,t,i)=>n(`${r}/${e}/sheets/${t}`,{method:`PUT`,body:i}),deleteSheet:(e,t)=>n(`${r}/${e}/sheets/${t}`,{method:`DELETE`}),readSheet:(e,t)=>n(`${r}/${e}/sheets/${t}/read`,{method:`POST`}),acceptSheetUpdate:(e,t,a)=>n(`${r}/${e}/sheets/${t}/update`,{method:`PUT`,body:{items:a},params:i()}),checkCard:(e,t)=>n(`${r}/${e}/cards/${t}/check`,{method:`POST`}),markDay:(e,t)=>n(`${r}/${e}/day-marks`,{method:`POST`,body:t}),unmarkDay:(e,t)=>n(`${r}/${e}/day-marks`,{method:`DELETE`,body:t}),aiCapability:()=>n(`${r}/ai-capability`),fetchSources:e=>n(`${r}/${e}/sources`),extract:(e,t,i,a)=>{let o=new FormData;return o.append(`file`,t),i!==null&&o.append(`has_handwriting`,i?`1`:`0`),a&&o.append(`label`,a),n(`${r}/${e}/sources/extract`,{method:`POST`,body:o})},reportOutcome:(e,t,i)=>n(`${r}/${e}/sources/outcome`,{method:`POST`,body:{format:t,code:i}}),updateSource:(e,t,i)=>n(`${r}/${e}/sources/${t}`,{method:`PATCH`,body:i}),deleteSource:(e,t)=>n(`${r}/${e}/sources/${t}`,{method:`DELETE`}),transcribe:(e,t)=>{let i=new FormData;return i.append(`file`,t.file,t.fileName),i.append(`transfer_notice_version`,String(t.notice.transfer_notice_version)),i.append(`transfer_notice_provider`,t.notice.transfer_notice_provider),t.sourceUid&&i.append(`source_uid`,t.sourceUid),t.sectionIndex!==null&&t.sectionIndex!==void 0&&i.append(`section_index`,String(t.sectionIndex)),t.printedHint&&i.append(`printed_hint`,t.printedHint),t.sourceFormat&&i.append(`source_format`,t.sourceFormat),n(`${r}/${e}/ai/transcribe`,{method:`POST`,body:i})},confirmTranscript:(e,t)=>n(`${r}/${e}/transcripts`,{method:`POST`,body:t}),fetchTranscript:(e,t)=>n(`${r}/${e}/transcripts/${t}`),updateTranscript:(e,t,i)=>n(`${r}/${e}/transcripts/${t}`,{method:`PUT`,body:{transcript:i}}),deleteTranscript:(e,t)=>n(`${r}/${e}/transcripts/${t}`,{method:`DELETE`}),deleteTranscripts:e=>n(`${r}/${e}/transcripts`,{method:`DELETE`}),checkEntries:(e,t,i,a)=>n(`${r}/${e}/ai/check-entries`,{method:`POST`,body:{transcript_uid:t,...i?{entry_uids:i}:{},...a}}),decide:(e,t)=>n(`${r}/${e}/entries/decisions`,{method:`POST`,body:{decisions:t}}),fetchGaps:e=>n(`${r}/${e}/gaps`),dismissGap:(e,t)=>n(`${r}/${e}/gaps/${t}/dismiss`,{method:`POST`}),restoreGap:(e,t)=>n(`${r}/${e}/gaps/${t}/dismiss`,{method:`DELETE`}),estimate:(e,t,i=!0,a=[])=>n(`${r}/${e}/ai/estimate`,{method:`POST`,body:{photos:t,check:i,...a.length?{transcript_uids:a}:{}}}),list:()=>n(r,{params:i()}),usage:()=>n(`${r}/usage`,{params:i()}),preview:e=>{let t=i();for(let[n,r]of Object.entries(e))r!=null&&r!==``&&(t[n]=r);return n(`${r}/preview`,{params:t})},create:e=>n(r,{method:`POST`,body:e,params:i()}),fetchExam:e=>n(`${r}/${e}`,{params:i()}),update:(e,t)=>n(`${r}/${e}`,{method:`PATCH`,body:t,params:i()}),remove:e=>n(`${r}/${e}`,{method:`DELETE`}),fetchPlan:e=>n(`${r}/${e}/plan`,{params:i()}),fetchDeck:e=>n(`${r}/${e}/deck`),fetchCards:(e,t=`all`)=>n(`${r}/${e}/cards`,{params:t===`all`?void 0:{filter:t}}),deleteCard:(e,t)=>n(`${r}/${e}/cards/${t}`,{method:`DELETE`}),authoring:e=>({createCard:(t,i)=>n(`${r}/${e}/cards`,{method:`POST`,body:i}),updateCard:(t,i)=>n(`${r}/${e}/cards/${t}`,{method:`PUT`,body:i}),bulkCards:(t,i)=>n(`${r}/${e}/cards/bulk`,{method:`POST`,body:{cards:i}}),validateCards:(t,i)=>n(`${r}/${e}/cards/validate`,{method:`POST`,body:{cards:i}})})}};export{n as t};

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.