PageSourceSearch

https://console.graffer.jp/aistudio/_next/static/chunks/pages/sp/[…/new-1f57ad4f8380a2e3.js

js graffer.jp collected 2026-09-24 08:43:01 UTC 7,674 bytes, 11 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="97d2d8ba-c728-4197-8fd4-e3552eae1f85",e._sentryDebugIdIdentifier="sentry-dbid-97d2d8ba-c728-4197-8fd4-e3552eae1f85")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4699],{60373:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/sp/[id]/tenant-task-library-management/new",function(){return a(93684)}])},63076:e=>{e.exports={container:"task-library-create_container___Wj1C","create-container":"task-library-create_create-container__G0XZU",createContainer:"task-library-create_create-container__G0XZU",header:"task-library-create_header__Q0CbY",title:"task-library-create_title__ZEAhg","header-actions":"task-library-create_header-actions__fCRpG",headerActions:"task-library-create_header-actions__fCRpG",content:"task-library-create_content__qawOJ","editor-tab":"task-library-create_editor-tab__cceS8",editorTab:"task-library-create_editor-tab__cceS8","editor-content":"task-library-create_editor-content__1Fyqj",editorContent:"task-library-create_editor-content__1Fyqj","section-title":"task-library-create_section-title__JLqAE",sectionTitle:"task-library-create_section-title__JLqAE",section:"task-library-create_section__o_cjF","metadata-grid":"task-library-create_metadata-grid__eesQF",metadataGrid:"task-library-create_metadata-grid__eesQF","metadata-field":"task-library-create_metadata-field__fuWIk",metadataField:"task-library-create_metadata-field__fuWIk","field-label":"task-library-create_field-label___wG5S",fieldLabel:"task-library-create_field-label___wG5S","text-input":"task-library-create_text-input__7zkoi",textInput:"task-library-create_text-input__7zkoi","textarea-input":"task-library-create_textarea-input__BFx7_",textareaInput:"task-library-create_textarea-input__BFx7_","select-input":"task-library-create_select-input__qWK2r",selectInput:"task-library-create_select-input__qWK2r","checkbox-group":"task-library-create_checkbox-group__hLyeK",checkboxGroup:"task-library-create_checkbox-group__hLyeK","checkbox-item":"task-library-create_checkbox-item___y78A",checkboxItem:"task-library-create_checkbox-item___y78A","prompt-textarea":"task-library-create_prompt-textarea__DJCXW",promptTextarea:"task-library-create_prompt-textarea__DJCXW","form-editor-container":"task-library-create_form-editor-container__oKuxu",formEditorContainer:"task-library-create_form-editor-container__oKuxu","preview-tab":"task-library-create_preview-tab__luaP8",previewTab:"task-library-create_preview-tab__luaP8","preview-content":"task-library-create_preview-content__dk7Mz",previewContent:"task-library-create_preview-content__dk7Mz","preview-title":"task-library-create_preview-title__aSk_D",previewTitle:"task-library-create_preview-title__aSk_D","preview-note":"task-library-create_preview-note__Ci7lS",previewNote:"task-library-create_preview-note__Ci7lS","preview-description":"task-library-create_preview-description__y6iLs",previewDescription:"task-library-create_preview-description__y6iLs","app-content":"task-library-create_app-content___vAXR",appContent:"task-library-create_app-content___vAXR","input-area":"task-library-create_input-area__VqjG8",inputArea:"task-library-create_input-area__VqjG8","form-container":"task-library-create_form-container__ZrcAj",formContainer:"task-library-create_form-container__ZrcAj","submit-container":"task-library-create_submit-container__Tio0g",submitContainer:"task-library-create_submit-container__Tio0g","generation-area":"task-library-create_generation-area__Iz6F0",generationArea:"task-library-create_generation-area__Iz6F0",background:"task-library-create_background__5QB5T","generate-container":"task-library-create_generate-container__iBjmD",generateContainer:"task-library-create_generate-container__iBjmD","generate-result":"task-library-create_generate-result__3M3Nm",generateResult:"task-library-create_generate-result__3M3Nm",tools:"task-library-create_tools__Xuuee","progress-icon":"task-library-create_progress-icon__gHJO9",progressIcon:"task-library-create_progress-icon__gHJO9","empty-result":"task-library-create_empty-result___Hmwg",emptyResult:"task-library-create_empty-result___Hmwg","form-section":"task-library-create_form-section__SlLRQ",formSection:"task-library-create_form-section__SlLRQ","result-section":"task-library-create_result-section__zRRbM",resultSection:"task-library-create_result-section__zRRbM","modal-container":"task-library-create_modal-container__UJPan",modalContainer:"task-library-create_modal-container__UJPan"}},93684:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>v});var r=a(15383),i=a(2589),_=a(14343),n=a(63076),c=a.n(n),s=a(1569),o=a(80063),l=a(98096),b=a(98147),p=a(76324),y=a(64948),k=a(31147),d=a(22564),u=a(90265);(0,l.J1)`
2  mutation CreateTenantSpecificTaskLibrary(
3    $tenantId: ID!
4    $input: TenantSpecificTaskLibraryInput!
5  ) {
6    createTenantSpecificTaskLibrary(tenantId: $tenantId, input: $input) {
7      ...taskLibraryFragment
8    }
9  }
10  ${y.t}
11`;let m={id:"sample-task-library",title:"新しいタスクライブラリ",description:"プレイグラウンドで作成されたタスクライブラリです。",occupations:["general"],pattern:"create_text",llm_preset_id:"gpt-4o-mini-2024-07-18-default",prompt:"ユーザーの入力に基づいて適切ã
11ªå›žç­”を生成してください。\n\n入力: {input}\n\n回答:",form_schema:{version:"1.0.0",root:[{id:"section1",title:"",elementType:"section",children:[{id:"input",elementType:"input",inputType:"text_area",label:{text:"入力内容",shouldDisplay:!0},description:{text:"",shouldDisplay:!0},required:!0,hidden:!1,validations:[{keyword:"maxLength",value:1e3}],placeholder:"ここに入力してください...",rows:5}]}],conditionalRuleSet:{conditionalRules:[]}}};var f=a(13338);let g=()=>{let{isSaving:e,saveTaskLibrary:t,taskLibraryData:a,setTaskLibraryData:i,tenantId:n}=(()=>{let e=(0,o.useRouter)(),t=e.query.id,[a,r]=(0,_.useReducer)(k.h,m),[i,n]=_.useState(!1),[c]=(0,b.n)(p.OZB,{update:e=>{e.evict({fieldName:"tenantSpecificTaskLibraryMetadataListByServiceProvider"})}}),l=_.useCallback(async r=>{let i=(0,d.R)(r,a.form_schema);if(!i.valid)return void s.oR.error(`必須なElementIDがプロンプトに含まれていません: ${i.missingIds.map(e=>`{${e}}`).join(", ")}`);n(!0);try{let i={title:a.title,description:a.description,occupations:a.occupations,pattern:a.pattern,prompt:r,formSchema:a.form_schema,llmPresetId:a.llm_preset_id,sample:a.sample??null,outputType:a.outputType??null},_=await c({variables:{tenantId:t,input:i}});_.data?.createTenantSpecificTaskLibrary&&(s.oR.success("テナント固有タスクライブラリを保存しました。"),e.push(u.B.ServiceProvider.TenantSpecificTaskLibraryDetail.link(t,_.data.createTenantSpecificTaskLibrary.metadata.id)))}catch(e){s.oR.error("テナント固有タスクライブラリの保存に失敗しました。")}finally{n(!1)}},[a,c,e,t]);return{isSaving:i,saveTaskLibrary:async()=>{await l(a.prompt)},taskLibraryData:a,setTaskLibraryData:r,tenantId:t}})();return(0,r.jsxs)("div",{className:c().container,children:[(0,r.jsx)(f.o,{href:u.B.ServiceProvider.TenantSpecificTaskLibraryManagement.link(n)}),(0,r.jsx)(k.O,{title:"テナント固有タスクライブラリ新規作成",isSaving:e,saveTaskLibrary:t,taskLibraryData:a,setTaskLibraryData:i})]})},v=()=>(0,r.jsx)(i.ju,{children:(0,r.jsx)(g,{})})}},e=>{e.O(0,[8971,8534,9482,2180,8479,106,6583,7959,9024,9917,1631,4361,5159,5060,322,9525,6745,2589,7971,7640,4948,636,6593,8792],()=>e(e.s=60373)),_N_E=e.O()}]);

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.