PageSourceSearch

https://franckprovost.com/_next/static/chunks/6000.e5a03f9ee3f76ddb.js

js franckprovost.com collected 2026-10-01 11:43:24 UTC 3,363 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6e3],{66e3:(e,l,a)=>{a.r(l),a.d(l,{default:()=>b});var t=a(12781),n=a(97229),i=a(79258),s=a(89376),o=a(52476),u=a(98430);let r={class:"flex h-full w-full flex-col gap-2 pt-8"},c={class:"flex min-h-8 items-center justify-between gap-2 pl-1.5"},d={class:"has-[:focus-visible]:bg-b-1 group relative z-1 flex flex-col rounded-lg"},v={class:"flex h-full min-h-[calc(1rem*4)] flex-col"},p={key:1,class:"text-c-3 flex h-full items-center justify-center rounded-lg border p-4"},m=(0,t.pM)({__name:"MarkdownInput",props:{modelValue:{},environment:{},envVariables:{},workspace:{}},emits:["update:modelValue"],setup(e,{emit:l}){let a=(0,n.KR)("preview"),i=(0,n.KR)(null);(0,t.wB)(a,e=>{"edit"===e&&(0,t.dY)(()=>{i.value?.focus()})});let s=()=>{requestAnimationFrame(()=>{a.value="preview"})};return(m,k)=>((0,t.uX)(),(0,t.CE)("div",r,[(0,t.Lk)("div",c,[k[5]||(k[5]=(0,t.Lk)("h3",{class:"font-bold"},"Description",-1)),"preview"===a.value?((0,t.uX)(),(0,t.Wv)((0,n.R1)(o.RO),{key:0,class:"text-c-2 hover:text-c-1 flex items-center gap-2",size:"sm",type:"button",variant:"outlined",onClick:k[0]||(k[0]=e=>a.value="edit")},{default:(0,t.k6)(()=>[(0,t.bF)((0,n.R1)(o.kv),{icon:"Pencil",size:"sm",thickness:"1.5"}),k[4]||(k[4]=(0,t.Lk)("span",null,"Edit",-1))]),_:1})):(0,t.Q3)("",!0)]),(0,t.Lk)("div",d,[(0,t.Lk)("div",v,["preview"===a.value?((0,t.uX)(),(0,t.CE)(t.FK,{key:0},[e.modelValue&&e.modelValue.trim().length?((0,t.uX)(),(0,t.CE)(t.FK,{key:0},[e.modelValue?((0,t.uX)(),(0,t.Wv)((0,n.R1)(o.mi),{key:0,class:"h-full flex-1 rounded border border-transparent p-1.5 hover:border-(--scalar-background-3)",value:e.modelValue,withImages:"",onDblclick:k[1]||(k[1]=e=>a.value="edit")},null,8,["value"])):(0,t.Q3)("",!0),k[6]||(k[6]=(0,t.Lk)("div",{class:"brightness-lifted bg-b-1 absolute inset-0 -z-1 hidden rounded group-hover:block group-has-[:focus-visible]:hidden"},null,-1))],64)):((0,t.uX)(),(0,t.CE)("div",p,[(0,t.bF)((0,n.R1)(o.RO),{class:"hover:bg-b-2 hover:text-c-1 text-c-2 flex items-center gap-2",size:"sm",variant:"ghost",onClick:k[2]||(k[2]=e=>a.value="edit")},{default:(0,t.k6)(()=>[(0,t.bF)((0,n.R1)(o.kv),{icon:"Pencil",size:"sm",thickness:"1.5"}),k[7]||(k[7]=(0,t.Lk)("span",null,"Write a description",-1))]),_:1})]))],64)):(0,t.Q3)("",!0),"edit"===a.value?((0,t.uX)(),(0,t.Wv)(u.A,{key:1,ref_key:"codeInputRef",ref:i,class:"h-full flex-1 border px-0.5 py-0",envVariables:e.envVariables,environment:e.environment,modelValue:e.modelValue,workspace:e.workspace,onBlur:s,"onUpdate:modelValue":k[3]||(k[3]=e=>l("update:modelValue",e))},null,8,["envVariables","environment","modelValue","workspace"])):(0,t.Q3)("",!0)])])]))}}),k=(0,a(8423).A)(m,[["__scopeId","data-v-5997a667"]]);var f=a(20484);let b=(0,t.pM)({__name:"CollectionOverview",setup(e){let{activeCollection:l,activeEnvironment:a,activeEnvVariables:o,activeWorkspace:u}=(0,s.JC)(),{collectionMutators:r}=(0,f.hA)(),c=e=>{l.value&&r.edit(l.value.uid,"info.description",e)};return(e,s)=>((0,t.uX)(),(0,t.Wv)(i.A,null,{default:(0,t.k6)(()=>[(0,n.R1)(a)&&(0,n.R1)(u)?((0,t.uX)(),(0,t.Wv)(k,{key:0,envVariables:(0,n.R1)(o),environment:(0,n.R1)(a),modelValue:(0,n.R1)(l)?.info?.description??"",workspace:(0,n.R1)(u),"onUpdate:modelValue":c},null,8,["envVariables","environment","modelValue","workspace"])):(0,t.Q3)("",!0)]),_:1}))}})}}]);

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.