PageSourceSearch

https://densava.com/_next/static/chunks/2i3d_j2c_5jun.js?dpl=dpl_59hUThkc9HJ7sc8THUWzCmRf5H7S

js densava.com collected 2026-10-09 22:54:35 UTC 20,889 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="bb89b640-61ae-af4a-3321-f3c334e6c553")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,907051,e=>{"use strict";e.s(["createDOMMotionComponentProxy",0,function(e){if("u"<typeof Proxy)return e;let t=new Map;return new Proxy((...t)=>e(...t),{get:(n,r)=>"create"===r?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}])},231178,e=>{"use strict";let t=(0,e.i(271645).createContext)({});e.s(["LayoutGroupContext",0,t])},737806,e=>{"use strict";let t=(0,e.i(271645).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});e.s(["MotionConfigContext",0,t])},688291,582474,321967,325522,683640,e=>{"use strict";var t=e.i(271645);let n=(0,t.createContext)({});e.s(["MotionContext",0,n],688291);var r=e.i(342531),o=e.i(298922);function i(e){return Array.isArray(e)?e.join(" "):e}e.s(["useCreateMotionContext",0,function(e){let{initial:a,animate:l}=function(e,t){if((0,o.isControllingVariants)(e)){let{initial:t,animate:n}=e;return{initial:!1===t||(0,r.isVariantLabel)(t)?t:void 0,animate:(0,r.isVariantLabel)(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,t.useContext)(n));return(0,t.useMemo)(()=>({initial:a,animate:l}),[i(a),i(l)])}],582474);let a=Symbol.for("motionComponentSymbol");function l(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}e.s(["motionComponentSymbol",0,a],321967),e.s(["isRefObject",0,l],325522),e.s(["useMotionRef",0,function(e,n,r){return(0,t.useCallback)(t=>{t&&e.onMount&&e.onMount(t),n&&(t?n.mount(t):n.unmount()),r&&("function"==typeof r?r(t):l(r)&&(r.current=t))},[n])}],683640)},821476,e=>{"use strict";let t=(0,e.i(271645).createContext)(null);e.s(["PresenceContext",0,t])},674008,e=>{"use strict";var t=e.i(271645);let n=e.i(292936).isBrowser?t.useLayoutEffect:t.useEffect;e.s(["useIsomorphicLayoutEffect",0,n])},936091,530662,104035,e=>{"use strict";e.i(247167);var t=e.i(843476);e.i(105369);var n=e.i(271645),r=e.i(231178),o=e.i(648070),i=e.i(737806),a=e.i(688291),l=e.i(582474),s=e.i(292936),u=e.i(476948),d=e.i(513565),c=e.i(321967),f=e.i(683640),h=e.i(821476),p=e.i(674008),m=e.i(979386);let{schedule:x,cancel:g}=(0,e.i(4840).createRenderBatcher)(queueMicrotask,!1);e.s(["microtask",0,x],530662);var y=e.i(325522);let v=(0,n.createContext)({});e.s(["SwitchLayoutGroupContext",0,v],104035),e.s(["createRendererMotionComponent",0,function({preloadedFeatures:e,createVisualElement:g,useRender:b,useVisualState:w,Component:C}){var j,k;function M(e,d){let c,j={...(0,n.useContext)(i.MotionConfigContext),...e,layoutId:function({layoutId:e}){let t=(0,n.useContext)(r.LayoutGroupContext).id;return t&&void 0!==e?t+"-"+e:e}(e)},{isStatic:k}=j,M=(0,l.useCreateMotionContext)(e),E=w(e,k);if(!k&&s.isBrowser){(0,n.useContext)(o.LazyContext).strict;let e=function(e){let{drag:t,layout:n}=u.featureDefinitions;if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==n?void 0:n.isEnabled(e))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(j);c=e.MeasureLayout,M.visualElement=function(e,t,r,l,s){var u,d;let{visualElement:c}=(0,n.useContext)(a.MotionContext),f=(0,n.useContext)(o.LazyContext),g=(0,n.useContext)(h.PresenceContext),b=(0,n.useContext)(i.MotionConfigContext).reducedMotion,w=(0,n.useRef)(null);l=l||f.renderer,!w.current&&l&&(w.current=l(e,{visualState:t,parent:c,props:r,presenceContext:g,blockInitialAnimation:!!g&&!1===g.initial,reducedMotionConfig:b}));let C=w.current,j=(0,n.useContext)(v);C&&!C.projection&&s&&("html"===C.type||"svg"===C.type)&&function(e,t,n,r){let{layoutId:o,layout:i,drag:a,dragConstraints:l,layoutScroll:s,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:!!a||l&&(0,y.isRefObject)(l),visualElement:e,animationType:"string"==typeof i?i:"both",initialPromotionConfig:r,layoutScroll:s,layoutRoot:u})}(w.current,r,s,j);let k=(0,n.useRef)(!1);(0,n.useInsertionEffect)(()=>{C&&k.current&&C.update(r,g)});let M=r[m.optimizedAppearDataAttribute],E=(0,n.useRef)(!!M&&!(null==(u=window.MotionHandoffIsComplete)?void 0:u.call(window,M))&&(null==(d=window.MotionHasOptimisedAnimation)?void 0:d.call(window,M)));return(0,p.useIsomorphicLayoutEffect)(()=>{C&&(k.current=!0,window.MotionIsMounted=!0,C.updateFeatures(),x.render(C.render),E.current&&C.animationState&&C.animationState.animateChanges())}),(0,n.useEffect)(()=>{C&&(!E.current&&C.animationState&&C.animationState.animateChanges(),E.current&&(queueMicrotask(()=>{var e;null==(e=window.MotionHandoffMarkAsComplete)||e.call(window,M)}),E.current=!1))}),C}(C,E,j,g,e.ProjectionNode)}return(0,t.jsxs)(a.MotionContext.Provider,{value:M,children:[c&&M.visualElement?(0,t.jsx)(c,{visualElement:M.visualElement,...j}):null,b(C,e,(0,f.useMotionRef)(E,M.visualElement,d),E,k,M.visualElement)]})}e&&(0,d.loadFeatures)(e),M.displayName=`motion.${"string"==typeof C?C:`create(${null!=(k=null!=(j=C.displayName)?j:C.name)?k:""})`}`;let E=(0,n.forwardRef)(M);return E[c.motionComponentSymbol]=C,E}],936091)},947414,e=>{"use strict";var t=e.i(271645);e.s(["useConstant",0,function(e){let n=(0,t.useRef)(null);return null===n.current&&(n.current=e()),n.current}])},824511,528987,e=>{"use strict";var t,n=e.i(907051),r=e.i(936091),o=e.i(944966),i=e.i(28327),a=e.i(271645),l=e.i(44974),s=e.i(688291),u=e.i(821476),d=e.i(298922),c=e.i(243190),f=e.i(947414),h=e.i(87519),p=e.i(298549);function m(e){let t=(0,p.isMotionValue)(e)?e.get():e;return(0,h.isCustomValue)(t)?t.toValue():t}e.s(["resolveMotionValue",0,m],528987);let x=e=>(t,n)=>{let r=(0,a.useContext)(s.MotionContext),o=(0,a.useContext)(u.PresenceContext),i=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},r,o,i){let a={latestValues:function(e,t,n,r){let o={},i=r(e,{});for(let e in i)o[e]=m(i[e]);let{initial:a,animate:s}=e,u=(0,d.isControllingVariants)(e),f=(0,d.isVariantNode)(e);t&&f&&!u&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let h=!!n&&!1===n.initial,p=(h=h||!1===a)?s:a;if(p&&"boolean"!=typeof p&&!(0,l.isAnimationControls)(p)){let t=Array.isArray(p)?p:[p];for(let n=0;n<t.length;n++){let r=(0,c.resolveVariantFromProps)(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=h?t.length-1:0;t=t[e]}null!==t&&(o[e]=t)}for(let t in e)o[t]=e[t]}}}return o}(r,o,i,e),renderState:t()};return n&&(a.onMount=e=>n({props:r,current:e,...a}),a.onUpdate=e=>n(e)),a})(e,t,r,o);return n?i():(0,f.useConstant)(i)};var g=e.i(681384),y=e.i(733203);let v=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),b=()=>({...v(),attrs:{}});var w=e.i(450514),C=e.i(797823),j=e.i(925954);let k=["x","y","width","height","cx","cy","r"],M={useVisualState:x({scrapeMotionValuesFromProps:j.scrapeMotionValuesFromProps,createRenderState:b,onUpdate:({props:e,prevProps:t,current:n,renderState:r,latestValues:o})=>{if(!n)return;let a=!!e.drag;if(!a){for(let e in o)if(g.transformProps.has(e)){a=!0;break}}if(!a)return;let l=!t;if(t)for(let n=0;n<k.length;n++){let r=k[n];e[r]!==t[r]&&(l=!0)}l&&i.frame.read(()=>{try{r.dimensions="function"==typeof n.getBBox?n.getBBox():n.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}i.frame.render(()=>{(0,y.buildSVGAttrs)(r,o,(0,w.isSVGTag)(n.tagName),e.transformTemplate),(0,C.renderSVG)(n,r)})})}})}
2,E={useVisualState:x({scrapeMotionValuesFromProps:e.i(432313).scrapeMotionValuesFromProps,createRenderState:v})};var L=e.i(319026),S=e.i(358768);function A(e,t,n){for(let r in t)(0,p.isMotionValue)(t[r])||(0,L.isForcedMotionValue)(r,n)||(e[r]=t[r])}let N=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function R(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||N.has(e)}let V=e=>!R(e);try{(t=(()=>{let e=Error("Cannot find module '@emotion/is-prop-valid'");throw e.code="MODULE_NOT_FOUND",e})().default)&&(V=e=>e.startsWith("on")?!R(e):t(e))}catch(e){}let P=(0,n.createDOMMotionComponentProxy)(function(e,{forwardMotionProps:t}={forwardMotionProps:!1}){let n={...(0,o.isSVGComponent)(e)?M:E,preloadedFeatures:void 0,useRender:function(e=!1){return(t,n,r,{latestValues:i},l)=>{let s=((0,o.isSVGComponent)(t)?function(e,t,n,r){let o=(0,a.useMemo)(()=>{let n=b();return(0,y.buildSVGAttrs)(n,t,(0,w.isSVGTag)(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};A(t,e.style,e),o.style={...t,...o.style}}return o}:function(e,t){let n,r,o={},i=(n=e.style||{},A(r={},n,e),Object.assign(r,function({transformTemplate:e},t){return(0,a.useMemo)(()=>{let n=v();return(0,S.buildHTMLStyles)(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),r);return e.drag&&!1!==e.dragListener&&(o.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(o.tabIndex=0),o.style=i,o})(n,i,l,t),u=function(e,t,n){let r={};for(let o in e)("values"!==o||"object"!=typeof e.values)&&(V(o)||!0===n&&R(o)||!t&&!R(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(n,"string"==typeof t,e),d=t!==a.Fragment?{...u,...s,ref:r}:{},{children:c}=n,f=(0,a.useMemo)(()=>(0,p.isMotionValue)(c)?c.get():c,[c]);return(0,a.createElement)(t,{...d,children:f})}}(t),createVisualElement:void 0,Component:e};return(0,r.createRendererMotionComponent)(n)});e.s(["m",0,P],824511)},921427,e=>{"use strict";var t=e.i(843476),n=e.i(271645);let r="u">typeof CSS&&"function"==typeof CSS.supports&&CSS.supports("field-sizing","content"),o=(0,n.forwardRef)(function({className:e,maxHeightVh:o=40,maxLines:i=6,onInput:a,onChange:l,onFocus:s,onBlur:u,value:d,...c},f){let h=(0,n.useRef)(null);(0,n.useImperativeHandle)(f,()=>h.current);let p=(0,n.useRef)(!1),m=(0,n.useCallback)(()=>{let e=h.current;if(!e)return;let t=window.getComputedStyle(e),n=(parseFloat(t.lineHeight)||20)*i+(parseFloat(t.paddingTop||"0")+parseFloat(t.paddingBottom||"0")),r=window.innerHeight*(o/100);e.style.maxHeight=`${Math.min(n,r)}px`},[i,o]),x=(0,n.useCallback)(()=>{let e=h.current;e&&!r&&(e.style.height="auto",e.style.height=`${e.scrollHeight}px`)},[]),g=(0,n.useCallback)(()=>{let e=h.current;if(!e)return;let t=window.visualViewport?.height??window.innerHeight,{bottom:n}=e.getBoundingClientRect();n>t&&e.scrollIntoView({block:"end"})},[]);(0,n.useEffect)(()=>(m(),x(),window.addEventListener("resize",m),()=>window.removeEventListener("resize",m)),[]),(0,n.useEffect)(()=>{x()},[d]);let y=(0,n.useCallback)(e=>{x(),g(),a?.(e)},[x,g,a]),v=(0,n.useCallback)(e=>{l?.(e)},[l]),b=(0,n.useCallback)(e=>{p.current=!0,g(),s?.(e)},[g,s]),w=(0,n.useCallback)(e=>{p.current=!1,u?.(e)},[u]);return(0,n.useEffect)(()=>{let e=window.visualViewport;if(e)return e.addEventListener("resize",t),e.addEventListener("scroll",t),()=>{e.removeEventListener("resize",t),e.removeEventListener("scroll",t)};function t(){p.current&&g()}},[g]),(0,t.jsx)("textarea",{ref:h,value:d,className:`auto-grow-textarea ${e??""}`,onInput:y,onChange:v,onFocus:b,onBlur:w,...c})});
2e.s(["AutoGrowTextarea",0,o])},294538,e=>{"use strict";e.s(["ANONYMOUS_INTAKE_IMAGE_UPLOADS_ENABLED",0,!0,"IMAGE_UPLOADS_ENABLED",0,!0,"INTAKE_IMAGE_CLASSIFIER_ENABLED",0,!0,"KNOWLEDGE_LAYER_ENABLED",0,!0])},116842,695325,791616,e=>{"use strict";var t=e.i(843476),n=e.i(271645),r=e.i(174080),o=e.i(398879);function i({isOpen:e,onClose:a,onAccept:l}){(0,n.useEffect)(()=>{if(!e)return;let t=document.body,n=document.querySelector("main"),r="hidden"===window.getComputedStyle(t).overflow,o=t.style.overflow,i=t.style.paddingRight,a=n?.style.overflow??"",l=n?.scrollTop??0,s=window.innerWidth-document.documentElement.clientWidth;if(!r&&(t.style.overflow="hidden",s>0)){let e=parseFloat(i)||0;t.style.paddingRight=`${e+s}px`}return n&&(n.style.overflow="hidden"),()=>{r||(t.style.overflow=o,t.style.paddingRight=i),n&&(n.style.overflow=a,n.scrollTop=l)}},[e]);let[s,u]=(0,n.useState)(!1);(0,n.useEffect)(()=>{u(!0)},[]);let[d,c]=(0,n.useState)(!1);if((0,n.useEffect)(()=>{if(e){let e=!1;return requestAnimationFrame(()=>{requestAnimationFrame(()=>{e||c(!0)})}),()=>{e=!0,c(!1)}}},[e]),!e)return null;let f=(0,t.jsx)("div",{className:"fixed inset-0 bg-navy/50 flex items-center justify-center p-5 pointer-events-auto transition-opacity ease-in",style:{opacity:+!!d,willChange:"opacity",zIndex:o.APP_OVERLAY_Z},onClick:a,role:"dialog","aria-modal":"true","aria-labelledby":"image-consent-title",children:(0,t.jsxs)("div",{className:"bg-white rounded-[18px] w-full max-w-[340px] relative flex flex-col max-h-[65vh]",onClick:e=>e.stopPropagation(),children:[(0,t.jsxs)("div",{className:"px-5 pt-5 pb-3 border-b border-border flex-shrink-0 flex items-center justify-between",children:[(0,t.jsx)("div",{id:"image-consent-title",className:"text-body-tight font-bold text-navy",children:"Adding a photo"}),(0,t.jsx)("button",{type:"button",onClick:a,className:"relative tap-44 tap-44-square text-gray text-2xl leading-none -mt-1","aria-label":"Close",children:"×"})]}),(0,t.jsx)("div",{className:"px-5 py-4 overflow-y-auto text-meta text-navy leading-relaxed",children:(0,t.jsx)("p",{children:"Before you upload: this should be a photo of your own mouth or content you have rights to share. By uploading, you give densava permission to host and display it on the community feed. You can ask us to take it down any time, and you can always delete your own post yourself."})}),(0,t.jsx)("div",{className:"px-5 pb-4 pt-3 border-t border-border flex-shrink-0",children:(0,t.jsx)("button",{type:"button",onClick:l,className:"w-full py-3 bg-navy text-white rounded-xl font-semibold text-sm",children:"I understand"})})]})});return s?(0,r.createPortal)(f,document.body):null}var a=e.i(735081);function l(){return!a.publicEnv.BLOB_UPLOADS_DISABLED}e.s(["blobUploadsAllowed",0,l],695325);var s=e.i(395399);function u({className:e=""}){return(0,t.jsxs)("div",{role:"status",className:`flex items-start gap-2 rounded-xl border border-teal/20 bg-teal-lt p-3 ${e}`,children:[(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:s.BRAND_HEX.teal,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"mt-0.5 shrink-0","aria-hidden":"true",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,t.jsx)("path",{d:"M12 8v4"}),(0,t.jsx)("path",{d:"M12 16h.01"})]}),(0,t.jsx)("p",{className:"text-meta leading-relaxed text-navy/80",children:"Photo uploads are temporarily disabled. You can still continue without a photo."})]})}e.s(["BlobUploadsDisabledNotice",0,u],791616);let d="Couldn’t read this image — try a different one.";function c(){return(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"m21.44 11.05-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48"})})}function f(){return(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z"}),(0,t.jsx)("circle",{cx:"12",cy:"13",r:"3"})]})}function h(){return(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"}),(0,t.jsx)("circle",{cx:"9",cy:"9",r:"2"}
2),(0,t.jsx)("path",{d:"m21 15-5-5L5 21"})]})}function p(){return(0,t.jsx)("svg",{className:"animate-spin",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M21 12a9 9 0 1 1-6.219-8.56"})})}e.s(["PostImageAttachment",0,function({value:r,onChange:o,disabled:a,onError:s,consentNeeded:m,onGrantConsent:x,icon:g="paperclip",label:y="Add a photo",hidePreview:v=!1,compact:b=!1,compactLabel:w,plain:C=!1,disabledReason:j,multiple:k=!1,maxFiles:M=1,onAddMany:E,openRef:L}){let S=(0,n.useRef)(null),[A,N]=(0,n.useState)(!1),[R,V]=(0,n.useState)(null),[P,B]=(0,n.useState)(!1),O=(0,n.useRef)(null);async function T(t){if(E){let n=Array.from(t??[]).slice(0,Math.max(0,M));if(0===n.length)return;V(null),N(!0);try{let{compressAndStripImage:t}=await e.A(150137),r=[],o=!1;for(let e of n)try{r.push(await t(e))}catch{o=!0}o&&(s?s(d):V(d)),r.length>0&&E(r)}finally{N(!1),S.current&&(S.current.value="")}return}let n=t?.[0];if(n){V(null),N(!0),r?.previewUrl&&URL.revokeObjectURL(r.previewUrl);try{let{compressAndStripImage:t}=await e.A(150137),r=await t(n);o(r)}catch{s?s(d):V(d),o(null)}finally{N(!1),S.current&&(S.current.value="")}}}function U(){m?B(!0):S.current?.click()}return(0,n.useEffect)(()=>{O.current=r?.previewUrl??null},[r]),(0,n.useEffect)(()=>()=>{O.current&&URL.revokeObjectURL(O.current)},[]),((0,n.useEffect)(()=>{if(L)return L.current=a||A?null:U,()=>{L.current=null}}),l())?(0,t.jsxs)("div",{className:"mb-3",children:[(0,t.jsx)("input",{ref:S,type:"file",accept:"image/*",multiple:k||void 0,className:"sr-only",tabIndex:-1,onChange:e=>T(e.target.files),disabled:a||A}),!r&&b&&!w&&(0,t.jsx)("button",{type:"button",onClick:U,disabled:a||A,"aria-disabled":a||A,"aria-label":"Add a photo",title:a?j:void 0,className:C?"tap-44 tap-44-square relative inline-flex h-8 w-8 items-center justify-center rounded-lg text-ink-muted transition-colors hover:text-teal disabled:cursor-not-allowed disabled:text-gray-300":"tap-44 tap-44-square relative inline-flex h-8 w-8 items-center justify-center rounded-lg border border-gray-200 bg-white text-ink-muted transition-colors hover:border-teal hover:bg-teal-ghost hover:text-teal disabled:cursor-not-allowed disabled:border-gray-100 disabled:text-gray-300 disabled:hover:bg-white",children:A?(0,t.jsx)(p,{}):"image"===g?(0,t.jsx)(h,{}):"camera"===g?(0,t.jsx)(f,{}):(0,t.jsx)(c,{})}),!r&&b&&w&&(0,t.jsxs)("button",{type:"button",onClick:U,disabled:a||A,"aria-disabled":a||A,"aria-label":"Add a photo",title:a?j:void 0,className:"inline-flex h-8 items-center gap-1.5 rounded-md border border-gray-200 bg-white px-2.5 text-meta font-semibold text-ink-muted transition-colors hover:border-teal hover:bg-teal-ghost hover:text-teal disabled:cursor-not-allowed disabled:border-gray-100 disabled:text-gray-300 disabled:hover:bg-white",children:[A?(0,t.jsx)(p,{}):"image"===g?(0,t.jsx)(h,{}):"camera"===g?(0,t.jsx)(f,{}):(0,t.jsx)(c,{}),A?"Checking…":w]}),!r&&!b&&(0,t.jsx)("button",{type:"button",onClick:U,disabled:a||A,className:"inline-flex h-8 items-center gap-1.5 rounded-full border border-teal/30 bg-teal-lt/40 px-3 text-meta font-semibold text-teal transition-colors hover:bg-teal-lt disabled:opacity-50",children:A?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(p,{}),"Checking…"]}):(0,t.jsxs)(t.Fragment,{children:["camera"===g?(0,t.jsx)(f,{}):(0,t.jsx)(c,{}),y]})}),r&&!v&&(0,t.jsxs)("div",{className:"relative inline-block",children:[(0,t.jsx)("img",{src:r.previewUrl,alt:"Selected photo preview",className:"h-20 w-20 rounded-xl border border-border object-cover"}),(0,t.jsx)("button",{type:"button",onClick:function(){r?.previewUrl&&URL.revokeObjectURL(r.previewUrl),V(null),o(null)},disabled:a,"aria-label":"Remove photo",className:"absolute -right-2 -top-2 flex h-6 w-6 items-center justify-center rounded-full bg-navy text-white shadow-sm transition-colors hover:bg-navy/90 disabled:opacity-50",children:(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M18 6 6 18M6 6l12 12"})})})]}),R&&(0,t.jsx)("p",{className:"mt-1.5 text-meta text-red",children:R}),(0,t.jsx)(i,{isOpen:P,onClose:()=>B(!1),onAccept:()=>{x?.(),B(!1),S.current?.click()}})]}):(0,t.jsx)(u,{className:"mb-3"})}],116842)}]);
3
4//# debugId=bb89b640-61ae-af4a-3321-f3c334e6c553

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.