PageSourceSearch

https://smartinovasi.com/build/assets/Index-CiMUkWSH.js

js smartinovasi.com collected 2026-10-02 00:56:19 UTC 3,001 bytes, 1 lines download raw bytes

1import{c as w,a as E,r as L,j as s,H as D}from"./app-4vdtwFsS.js";import{B as I}from"./button-Cw1UZFLL.js";import{I as P}from"./input-DuisAyS9.js";import{L as B}from"./label-MFfMjASh.js";import{T as F}from"./textarea-CSLOEgR2.js";import{a as A,A as H}from"./app-layout-Uvpdxa-H.js";/* empty css            */import"./index-SsI7_dU_.js";import"./index-C8z8zERT.js";import"./index-Bts08HEB.js";import"./index-BhJhX8Qc.js";import"./triangle-alert--gC19W7c.js";import"./index-BEd4dPyB.js";import"./index-C_SHgnPd.js";import"./app-logo-icon-pJLpXuW3.js";import"./loader-circle-BDU-vYjl.js";import"./circle-check-2wkZcZPv.js";const R=[{title:"Dashboard",href:"/dashboard"},{title:"About Page Settings",href:A.about.index().url}];function le(a){const e=w.c(27),{settings:o}=a;let i;e[0]!==o?(i=o.map(q),e[0]=o,e[1]=i):i=e[1];let d;e[2]!==i?(d={settings:i},e[2]=i,e[3]=d):d=e[3];const{data:n,setData:l,post:k,processing:f}=E(d);let x,h;e[4]!==l||e[5]!==o?(x=()=>{l("settings",o.map($))},h=[o,l],e[4]=l,e[5]=o,e[6]=x,e[7]=h):(x=e[6],h=e[7]),L.useEffect(x,h);let g;e[8]!==n.settings||e[9]!==l?(g=(r,t)=>{const p=n.settings.map(N=>N.key===r?{...N,value:t}:N);l("settings",p)},e[8]=n.settings,e[9]=l,e[10]=g):g=e[10];const m=g;let b;e[11]!==k?(b=r=>{r.preventDefault(),k(A.about.settings.update().url,{onSuccess:U})},e[11]=k,e[12]=b):b=e[12];const S=b,C=T;let y;e[13]===Symbol.for("react.memo_cache_sentinel")?(y=s.jsx(D,{title:"About Page Settings"}),e[13]=y):y=e[13];let v;e[14]===Symbol.for("react.memo_cache_sentinel")?(v=s.jsxs("div",{children:[s.jsx("h1",{className:"text-2xl font-bold",children:"About Page Settings"}),s.jsx("p",{className:"text-sm text-muted-foreground",children:"Manage the content for your about page sections."})]}),e[14]=v):v=e[14];let c;if(e[15]!==n.settings||e[16]!==m){let r;e[18]!==m?(r=t=>s.jsxs("div",{className:"grid gap-2",children:[s.jsx(B,{htmlFor:t.key,children:C(t.key)}),t.value.length>100||t.key.includes("description")||t.key.includes("mission")?s.jsx(F,{id:t.key,value:t.value,onChange:p=>m(t.key,p.target.value),rows:4}):s.jsx(P,{id:t.key,value:t.value,onChange:p=>m(t.key,p.target.value)})]},t.key),e[18]=m,e[19]=r):r=e[19],c=n.settings.map(r),e[15]=n.settings,e[16]=m,e[17]=c}else c=e[17];const _=f?"Saving...":"Save Changes";let u;e[20]!==f||e[21]!==_?(u=s.jsx("div",{className:"flex justify-end border-t pt-4",children:s.jsx(I,{type:"submit",disabled:f,children:_})}),e[20]=f,e[21]=_,e[22]=u):u=e[22];let j;return e[23]!==S||e[24]!==u||e[25]!==c?(j=s.jsxs(H,{breadcrumbs:R,children:[y,s.jsxs("div",{className:"flex max-w-4xl flex-col gap-6 p-6",children:[v,s.jsx("div",{className:"rounded-md border bg-card p-6",children:s.jsxs("form",{onSubmit:S,className:"space-y-6",children:[c,u]})})]})]}),e[23]=S,e[24]=u,e[25]=c,e[26]=j):j=e[26],j}function T(a){return a.replace(/_/g," ").replace(/\b\w/g,M)}function M(a){return a.toUpperCase()}function U(){}function $(a){return{key:a.key,value:a.value}}function q(a){return{key:a.key,value:a.value}}export{le as default};

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.