1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,30030,e=>{"use strict";var t=e.i(71645),r=e.i(43476);function n(e,n){let i=t.createContext(n),a=e=>{let{children:n,...a}=e,o=t.useMemo(()=>a,Object.values(a));return(0,r.jsx)(i.Provider,{value:o,children:n})};return a.displayName=e+"Provider",[a,function(r){let a=t.useContext(i);if(a)return a;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${e}\``)}]}function i(e,n=[]){let a=[],o=()=>{let r=a.map(e=>t.createContext(e));return function(n){let i=n?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return o.scopeName=e,[function(n,i){let o=t.createContext(i),s=a.length;a=[...a,i];let l=n=>{let{scope:i,children:a,...l}=n,u=i?.[e]?.[s]||o,c=t.useMemo(()=>l,Object.values(l));return(0,r.jsx)(u.Provider,{value:c,children:a})};return l.displayName=n+"Provider",[l,function(r,a){let l=a?.[e]?.[s]||o,u=t.useContext(l);if(u)return u;if(void 0!==i)return i;throw Error(`\`${r}\` must be used within \`${n}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return t.useMemo(()=>({[`__scope${r.scopeName}`]:i}),[i])}};return n.scopeName=r.scopeName,n}(o,...n)]}e.s(["createContext",()=>n,"createContextScope",()=>i])},81140,34620,e=>{"use strict";function t(e,r,{checkForDefaultPrevented:n=!0}={}){return function(t){if(e?.(t),!1===n||!t.defaultPrevented)return r?.(t)}}"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",()=>t],81140);var r=e.i(71645),n=globalThis?.document?r.useLayoutEffect:()=>{};e.s(["useLayoutEffect",()=>n],34620)},10772,e=>{"use strict";var t=e.i(71645),r=e.i(34620),n=t[" useId ".trim().toString()]||(()=>void 0),i=0;function a(e){let[a,o]=t.useState(n());return(0,r.useLayoutEffect)(()=>{e||o(e=>e??String(i++))},[e]),e||(a?`radix-${a}`:"")}e.s(["useId",()=>a])},48425,e=>{"use strict";var t=e.i(71645),r=e.i(74080),n=e.i(91918),i=e.i(43476),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let a=(0,n.createSlot)(`Primitive.${r}`),o=t.forwardRef((e,t)=>{let{asChild:n,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(n?a:r,{...o,ref:t})});return o.displayName=`Primitive.${r}`,{...e,[r]:o}},{});function o(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}e.s(["Primitive",()=>a,"dispatchDiscreteCustomEvent",()=>o])},30207,e=>{"use strict";var t=e.i(71645);function r(e){let r=t.useRef(e);return t.useEffect(()=>{r.current=e}),t.useMemo(()=>(...e)=>r.current?.(...e),[])}e.s(["useCallbackRef",()=>r])},69340,e=>{"use strict";var t=e.i(71645),r=e.i(34620);t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var n=t[" useInsertionEffect ".trim().toString()]||r.useLayoutEffect;function i({prop:e,defaultProp:r,onChange:i=()=>{},caller:a}){let[o,s,l]=function({defaultProp:e,onChange:r}){let[i,a]=t.useState(e),o=t.useRef(i),s=t.useRef(r);return n(()=>{s.current=r},[r]),t.useEffect(()=>{o.current!==i&&(s.current?.(i),o.current=i)},[i,o]),[i,a,s]}({defaultProp:r,onChange:i}),u=void 0!==e,c=u?e:o;{let r=t.useRef(void 0!==e);t.useEffect(()=>{let e=r.current;if(e!==u){let t=u?"controlled":"uncontrolled";console.warn(`${a} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}r.current=u},[u,a])}return[c,t.useCallback(t=>{if(u){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else s(t)},[u,e,s,l])]}Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",()=>i],69340)},42727,75830,86318,e=>{"use strict";var t=e.i(71645),r=e.i(81140),n=e.i(30030),i=e.i(20783),a=e.i(91918),o=e.i(43476);function s(e){let r=e+"CollectionProvider",[s,l]=(0,n.createContextScope)(r),[u,c]=s(r,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:r,children:n}=e,i=t.default.useRef(null),a=t.default.useRef(new Map).current;return(0,o.jsx)(u,{scope:r,itemMap:a,collectionRef:i,children:n})};d.displayName=r;let f=e+"CollectionSlot",p=(0,a.createSlot)(f),m=t.default.forwardRef((e,t)=>
1{let{scope:r,children:n}=e,a=c(f,r),s=(0,i.useComposedRefs)(t,a.collectionRef);return(0,o.jsx)(p,{ref:s,children:n})});m.displayName=f;let v=e+"CollectionItemSlot",h="data-radix-collection-item",g=(0,a.createSlot)(v),x=t.default.forwardRef((e,r)=>{let{scope:n,children:a,...s}=e,l=t.default.useRef(null),u=(0,i.useComposedRefs)(r,l),d=c(v,n);return t.default.useEffect(()=>(d.itemMap.set(l,{ref:l,...s}),()=>void d.itemMap.delete(l))),(0,o.jsx)(g,{...{[h]:""},ref:u,children:a})});return x.displayName=v,[{Provider:d,Slot:m,ItemSlot:x},function(r){let n=c(e+"CollectionConsumer",r);return t.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${h}]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])},l]}var l=new WeakMap;function u(e,t){var r,n;let i,a,o;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let s=(r=e,n=t,i=r.length,(o=(a=c(n))>=0?a:i+a)<0||o>=i?-1:o);return -1===s?void 0:e[s]}function c(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],l.set(this,!0)}set(e,t){return l.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,i=this.has(t),a=this.#e.length,o=c(e),s=o>=0?o:a+o,l=s<0||s>=a?-1:s;if(l===this.size||i&&l===this.size-1||-1===l)return this.set(t,r),this;let u=this.size+ +!i;o<0&&s++;let d=[...this.#e],f=!1;for(let e=s;e<u;e++)if(s===e){let a=d[e];d[e]===t&&(a=d[e+1]),i&&this.delete(t),n=this.get(a),this.set(t,r)}else{f||d[e-1]!==t||(f=!0);let r=d[f?e:e-1],i=n;n=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=u(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=u(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return u(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(...e){let[t,r]=e,n=0,i=r??this.at(0);for(let r of this)i=0===n&&1===e.length?r:Reflect.apply(t,this,[i,r,n,this]),n++;return i}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let i=this.at(r);n=r===this.size-1&&1===e.length?i:Reflect.apply(t,this,[n,i,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}}),e.s(["createCollection",()=>s],75830);var d=e.i(10772),f=e.i(48425),p=e.i(30207),m=e.i(69340),v=t.createContext(void 0);function h(e){let r=t.useContext(v);return e||r||"ltr"}e.s(["useDirection",()=>h],86318);var g="rovingFocusGroup.onEntryFocus",x={bubbles:!1,cancelable:!0},b="RovingFocusGroup",[y,w,j]=s(b),[k,N]=(0,n.createContextScope)(b,[j]),[C,E]=k(b),S=t.forwardRef((e,t)=>
1(0,o.jsx)(y.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,o.jsx)(y.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,o.jsx)(R,{...e,ref:t})})}));S.displayName=b;var R=t.forwardRef((e,n)=>{let{__scopeRovingFocusGroup:a,orientation:s,loop:l=!1,dir:u,currentTabStopId:c,defaultCurrentTabStopId:d,onCurrentTabStopIdChange:v,onEntryFocus:y,preventScrollOnEntryFocus:j=!1,...k}=e,N=t.useRef(null),E=(0,i.useComposedRefs)(n,N),S=h(u),[R,T]=(0,m.useControllableState)({prop:c,defaultProp:d??null,onChange:v,caller:b}),[P,D]=t.useState(!1),O=(0,p.useCallbackRef)(y),I=w(a),A=t.useRef(!1),[z,L]=t.useState(0);return t.useEffect(()=>{let e=N.current;if(e)return e.addEventListener(g,O),()=>e.removeEventListener(g,O)},[O]),(0,o.jsx)(C,{scope:a,orientation:s,dir:S,loop:l,currentTabStopId:R,onItemFocus:t.useCallback(e=>T(e),[T]),onItemShiftTab:t.useCallback(()=>D(!0),[]),onFocusableItemAdd:t.useCallback(()=>L(e=>e+1),[]),onFocusableItemRemove:t.useCallback(()=>L(e=>e-1),[]),children:(0,o.jsx)(f.Primitive.div,{tabIndex:P||0===z?-1:0,"data-orientation":s,...k,ref:E,style:{outline:"none",...e.style},onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,()=>{A.current=!0}),onFocus:(0,r.composeEventHandlers)(e.onFocus,e=>{let t=!A.current;if(e.target===e.currentTarget&&t&&!P){let t=new CustomEvent(g,x);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=I().filter(e=>e.focusable);M([e.find(e=>e.active),e.find(e=>e.id===R),...e].filter(Boolean).map(e=>e.ref.current),j)}}A.current=!1}),onBlur:(0,r.composeEventHandlers)(e.onBlur,()=>D(!1))})})}),T="RovingFocusGroupItem",P=t.forwardRef((e,n)=>{let{__scopeRovingFocusGroup:i,focusable:a=!0,active:s=!1,tabStopId:l,children:u,...c}=e,p=(0,d.useId)(),m=l||p,v=E(T,i),h=v.currentTabStopId===m,g=w(i),{onFocusableItemAdd:x,onFocusableItemRemove:b,currentTabStopId:j}=v;return t.useEffect(()=>{if(a)return x(),()=>b()},[a,x,b]),(0,o.jsx)(y.ItemSlot,{scope:i,id:m,focusable:a,active:s,children:(0,o.jsx)(f.Primitive.span,{tabIndex:h?0:-1,"data-orientation":v.orientation,...c,ref:n,onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,e=>{a?v.onItemFocus(m):e.preventDefault()}),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>v.onItemFocus(m)),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void v.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let i=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return D[i]}(e,v.orientation,v.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let i=g().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)i.reverse();else if("prev"===t||"next"===t){var r,n;"prev"===t&&i.reverse();let a=i.indexOf(e.currentTarget);i=v.loop?(r=i,n=a+1,r.map((e,t)=>r[(n+t)%r.length])):i.slice(a+1)}setTimeout(()=>M(i))}}),children:"function"==typeof u?u({isCurrentTabStop:h,hasTabStop:null!=j}):u})})});P.displayName=T;var D={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function M(e,t=!1){let r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}e.s(["Item",()=>P,"Root",()=>S,"createRovingFocusGroupScope",()=>N],42727)},96626,e=>{"use strict";var t=e.i(71645),r=e.i(20783),n=e.i(34620),i=e=>{var i;let o,s,{present:l,children:u}=e,c=function(e){var r,i;let[o,s]=t.useState(),l=t.useRef(null),u=t.useRef(e),c=t.useRef("none"),[d,f]=(r=e?"mounted":"unmounted",i={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>i[e][t]??e,r));return t.useEffect(()=>{let e=a(l.current);c.current="mounted"===d?e:"none"},[d]),(0,n.useLayoutEffect)(()=>{let t=l.current,r=u.current;if(r!==e){let n=c.current,i=a(t);e?f("MOUNT"):"none"===i||t?.display==="none"?f("UNMOUNT"):r&&n!==i?f("ANIMATION_OUT"):f("UNMOUNT"),u.current=e}},[e,f]),(0,n.useLayoutEffect)(()=>
1{if(o){let e,t=o.ownerDocument.defaultView??window,r=r=>{let n=a(l.current).includes(CSS.escape(r.animationName));if(r.target===o&&n&&(f("ANIMATION_END"),!u.current)){let r=o.style.animationFillMode;o.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=r)})}},n=e=>{e.target===o&&(c.current=a(l.current))};return o.addEventListener("animationstart",n),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{t.clearTimeout(e),o.removeEventListener("animationstart",n),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}f("ANIMATION_END")},[o,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{l.current=e?getComputedStyle(e):null,s(e)},[])}}(l),d="function"==typeof u?u({present:c.isPresent}):t.Children.only(u),f=(0,r.useComposedRefs)(c.ref,(i=d,(s=(o=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in o&&o.isReactWarning)?i.ref:(s=(o=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in o&&o.isReactWarning)?i.props.ref:i.props.ref||i.ref));return"function"==typeof u||c.isPresent?t.cloneElement(d,{ref:f}):null};function a(e){return e?.animationName||"none"}i.displayName="Presence",e.s(["Presence",()=>i])},1574,e=>{"use strict";var t=e.i(43476);function r({svgContent:e,className:r=""}){let n=e.replace(/<svg([^>]*)>/,(e,t)=>{let r=t,n=r.match(/\s+width="([^"]*)"/),i=r.match(/\s+height="([^"]*)"/),a=n?n[1].replace(/px/i,""):null,o=i?i[1].replace(/px/i,""):null;return!r.includes("viewBox")&&a&&o&&(r+=` viewBox="0 0 ${a} ${o}"`),(r=(r=r.replace(/\s+width="[^"]*"/g,"")).replace(/\s+height="[^"]*"/g,"")).includes("width=")||(r+=' width="100%"'),(r+=' height="auto"').includes("preserveAspectRatio")||(r+=' preserveAspectRatio="xMidYMid meet"'),`<svg${r}>`});return(0,t.jsx)("div",{className:`rounded-lg bg-white overflow-hidden ${r}`,dangerouslySetInnerHTML:{__html:n}})}e.s(["SvgPreview",()=>r])},19455,25913,20783,91918,86011,e=>{"use strict";var t=e.i(43476),r=e.i(7670);let n=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=r.clsx,a=(e,t)=>r=>{var a;if((null==t?void 0:t.variants)==null)return i(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:o,defaultVariants:s}=t,l=Object.keys(o).map(e=>{let t=null==r?void 0:r[e],i=null==s?void 0:s[e];if(null===t)return null;let a=n(t)||n(i);return o[e][a]}),u=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return i(e,l,null==t||null==(a=t.compoundVariants)?void 0:a.reduce((e,t)=>{let{class:r,className:n,...i}=t;return Object.entries(i).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...s,...u}[t]):({...s,...u})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)};e.s(["cva",0,a],25913);var o=e.i(71645);function s(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function l(...e){return t=>{let r=!1,n=e.map(e=>{let n=s(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():s(e[t],null)}}}}function u(...e){return o.useCallback(l(...e),e)}function c(e){var r;let n,i=(r=e,(n=o.forwardRef((e,t)=>{let{children:r,...n}=e;if(o.isValidElement(r)){var i;let e,a,s=(i=r,(a=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(a=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),u=function(e,t){let r={...t};for(let n in t){let i=e[n],a=t[n];/^on[A-Z]/.test(n)?i&&a?r[n]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...a}:"className"===n&&(r[n]=[i,a].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==o.Fragment&&(u.ref=t?l(t,s):s),o.cloneElement(r,u)}return o.Children.count(r)>1?o.Children.only(null):null})).displayName=`${r}.SlotClone`,n),a=o.forwardRef((e,r)=>{let{children:n,...a}=e,s=o.Children.toArray(n),l=s.find(v);if(l){let e=l.props.children,n=s.map(t=>t!==l?t:o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null);return(0,t.jsx)(i,{...a,ref:r,children:o.isValidElement(e)?o.cloneElement(e,void 0,n):null})}return(0,t.jsx)(i,{...a,ref:r,children:n})});return a.displayName=`${e}.Slot`,a}e.s(["composeRefs",()=>l,"useComposedRefs",()=>u],20783);var d=c("Slot"),f=Symbol("radix.slottable");function p(e){let r=({children:e})=>(0,t.jsx)(t.Fragment,{children:e});return r.displayName=`${e}.Slottable`,r.__radixId=f,r}var m=p("Slottable");function v(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===f}e.s(["Root",()=>d,"Slot",()=>d,"Slottable",()=>m,"createSlot",()=>c,"createSlottable",()=>p],91918);var h=e.i(91918);e.s(["Slot",0,h],86011);var h=h,g=e.i(75157);let x=a("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",xs:"h-6 gap-1 rounded-md px-2 text-xs has-[>svg]:px-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-xs":"size-6 rounded-md [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function b({className:e,variant:r="default",size:n="default",asChild:i=!1,...a}){let o=i?h.Root:"button";return(0,t.jsx)(o,{"data-slot":"button","data-variant":r,"data-size":n,className:(0,g.cn)(x({variant:r,size:n,className:e})),...a}
1)}e.s(["Button",()=>b],19455)},53169,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(25913),i=e.i(81140),a=e.i(30030),o=e.i(42727),s=e.i(96626),l=e.i(48425),u=e.i(86318),c=e.i(69340),d=e.i(10772),f="Tabs",[p,m]=(0,a.createContextScope)(f,[o.createRovingFocusGroupScope]),v=(0,o.createRovingFocusGroupScope)(),[h,g]=p(f),x=r.forwardRef((e,r)=>{let{__scopeTabs:n,value:i,onValueChange:a,defaultValue:o,orientation:s="horizontal",dir:p,activationMode:m="automatic",...v}=e,g=(0,u.useDirection)(p),[x,b]=(0,c.useControllableState)({prop:i,onChange:a,defaultProp:o??"",caller:f});return(0,t.jsx)(h,{scope:n,baseId:(0,d.useId)(),value:x,onValueChange:b,orientation:s,dir:g,activationMode:m,children:(0,t.jsx)(l.Primitive.div,{dir:g,"data-orientation":s,...v,ref:r})})});x.displayName=f;var b="TabsList",y=r.forwardRef((e,r)=>{let{__scopeTabs:n,loop:i=!0,...a}=e,s=g(b,n),u=v(n);return(0,t.jsx)(o.Root,{asChild:!0,...u,orientation:s.orientation,dir:s.dir,loop:i,children:(0,t.jsx)(l.Primitive.div,{role:"tablist","aria-orientation":s.orientation,...a,ref:r})})});y.displayName=b;var w="TabsTrigger",j=r.forwardRef((e,r)=>{let{__scopeTabs:n,value:a,disabled:s=!1,...u}=e,c=g(w,n),d=v(n),f=C(c.baseId,a),p=E(c.baseId,a),m=a===c.value;return(0,t.jsx)(o.Item,{asChild:!0,...d,focusable:!s,active:m,children:(0,t.jsx)(l.Primitive.button,{type:"button",role:"tab","aria-selected":m,"aria-controls":p,"data-state":m?"active":"inactive","data-disabled":s?"":void 0,disabled:s,id:f,...u,ref:r,onMouseDown:(0,i.composeEventHandlers)(e.onMouseDown,e=>{s||0!==e.button||!1!==e.ctrlKey?e.preventDefault():c.onValueChange(a)}),onKeyDown:(0,i.composeEventHandlers)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&c.onValueChange(a)}),onFocus:(0,i.composeEventHandlers)(e.onFocus,()=>{let e="manual"!==c.activationMode;m||s||!e||c.onValueChange(a)})})})});j.displayName=w;var k="TabsContent",N=r.forwardRef((e,n)=>{let{__scopeTabs:i,value:a,forceMount:o,children:u,...c}=e,d=g(k,i),f=C(d.baseId,a),p=E(d.baseId,a),m=a===d.value,v=r.useRef(m);return r.useEffect(()=>{let e=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,t.jsx)(s.Presence,{present:o||m,children:({present:r})=>(0,t.jsx)(l.Primitive.div,{"data-state":m?"active":"inactive","data-orientation":d.orientation,role:"tabpanel","aria-labelledby":f,hidden:!r,id:p,tabIndex:0,...c,ref:n,style:{...e.style,animationDuration:v.current?"0s":void 0},children:r&&u})})});function C(e,t){return`${e}-trigger-${t}`}function E(e,t){return`${e}-content-${t}`}N.displayName=k,e.s(["Content",()=>N,"List",()=>y,"Root",()=>x,"Tabs",()=>x,"TabsContent",()=>N,"TabsList",()=>y,"TabsTrigger",()=>j,"Trigger",()=>j,"createTabsScope",()=>m],26209);var S=e.i(26209),S=S,R=e.i(75157);function T({className:e,orientation:r="horizontal",...n}){return(0,t.jsx)(S.Root,{"data-slot":"tabs","data-orientation":r,orientation:r,className:(0,R.cn)("group/tabs flex gap-2 data-[orientation=horizontal]:flex-col",e),...n})}let P=(0,n.cva)("rounded-lg p-[3px] group-data-[orientation=horizontal]/tabs:h-9 data-[variant=line]:rounded-none group/tabs-list text-muted-foreground inline-flex w-fit items-center justify-center group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col",{variants:{variant:{default:"bg-muted",line:"gap-1 bg-transparent"}},defaultVariants:{variant:"default"}});function D({className:e,variant:r="default",...n}){return(0,t.jsx)(S.List,{"data-slot":"tabs-list","data-variant":r,className:(0,R.cn)(P({variant:r}),e),...n})}function M({className:e,...r}){return(0,t.jsx)(S.Trigger,{"data-slot":"tabs-trigger",className:(0,R.cn)("focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-foreground/60 hover:text-foreground dark:text-muted-foreground dark:hover:text-foreground relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 group-data-[variant=default]/tabs-list:data-[state=active]:shadow-sm group-data-[variant=line]/tabs-list:data-[state=active]:shadow-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4","group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:border-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent","data-[state=active]:bg-background dark:data-[state=active]:text-foreground dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 data-[state=active]:text-foreground","after:bg-foreground after:absolute after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-[state=active]:after:opacity-100",e),...r})}function O({className:e,...r}){return(0,t.jsx)(S.Content,{"data-slot":"tabs-content",className:(0,R.cn)("flex-1 outline-none",e),...r})}var I=e.i(1574),A=e.i(19455),z=e.i(46696);function L({stepId:e,stepTitle:n,svgPrompt:i,entityType:a="howToStep",onRegenerated:o,label:s="Görseli Yenile"}){let[l,u]=(0,r.useState)(!1),c=async()=>{u(!0);try{let t=await fetch("/api/ai/generate-svg",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({entityId:e,entityType:a,svgDescription:i,stepTitle:n})});if(!t.ok)throw Error("SVG oluÅturulamadı");let r=await t.json();z.toast.success("Görsel yeniden oluÅturuldu!"),o?o(r.svgContent):window.location.reload()}catch{z.toast.error("Görsel oluÅturulurken hata oluÅtu")}finally{u(!1)}};return(0,t.jsx)(A.Button,{variant:"ghost",size:"sm",onClick:c,disabled:l,className:"text-muted-foreground hover:text-foreground",children:l?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("svg",{className:"animate-spin -ml-1 mr-1.5 h-3.5 w-3.5",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,t.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,t.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"OluÅturuluyor..."]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"mr-1.5",children:(0,t.jsx)("path",{d:"M21.5 2v6h-6M2.5 22v-6h6M2 11.5a10 10 0 0 1 18.8-4.3M22 12.5a10 10 0 0 1-18.8 4.2"})}),s]})})}function F({module:e,isEmbed:n=!1}){let i=e.howToSteps,[a,o]=(0,r.useState)(()=>{let e={};for(let t of i)t.svgContent&&(e[t.id]=t.svgContent);return e});if(0===i.length)return(0,t.jsx)("div",{className:"text-center py-12 text-muted-foreground",children:"Bu modulde henuz adim yok."});let s=(e,t)=>{o(r=>({...r,[e]:t}))};return(0,t.jsxs)("div",{className:"space-y-4",children:[!n&&(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"text-xl font-bold",children:e.title}),e.description&&(0,t.jsx)("p",{className:"text-muted-foreground mt-1",children:e.description})]}),(0,t.jsxs)(T,{defaultValue:"step-1",className:"w-full",children:[(0,t.jsx)("div",{className:"overflow-x-auto scrollbar-none -mx-1 px-1",children:(0,t.jsx)(D,{className:"inline-flex w-auto gap-1 p-1",children:i.map(e=>(0,t.jsx)(M,{value:`step-${e.order}`,className:"shrink-0 min-w-[2.25rem] px-3 text-xs sm:text-sm",title:e.title,children:e.order},e.id))})}),i.map(e=>(0,t.jsx)(O,{value:`step-${e.order}`,className:"mt-4",children:(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"font-semibold text-lg mb-2",children:e.title}),(0,t.jsx)("div",{className:"text-sm text-muted-foreground whitespace-pre-wrap leading-relaxed",children:e.description})]}),a[e.id]?(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(I.SvgPreview,{svgContent:a[e.id]}),!n&&e.svgPrompt&&(0,t.jsx)("div",{className:"absolute top-2 right-2",children:(0,t.jsx)(L,{stepId:e.id,stepTitle:e.title,svgPrompt:e.svgPrompt,onRegenerated:t=>s(e.id,t)}
1)})]}):!n&&e.svgPrompt&&(0,t.jsx)("div",{className:"flex items-center justify-center rounded-lg border border-dashed border-muted-foreground/30 bg-muted/20 py-12",children:(0,t.jsx)(L,{stepId:e.id,stepTitle:e.title,svgPrompt:e.svgPrompt,onRegenerated:t=>s(e.id,t),label:"Gorsel Olustur"})})]})},e.id))]})]})}e.s(["HowToViewer",()=>F],53169)},68148,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(30030),i=e.i(48425),a="Progress",[o,s]=(0,n.createContextScope)(a),[l,u]=o(a),c=r.forwardRef((e,r)=>{var n,a;let{__scopeProgress:o,value:s=null,max:u,getValueLabel:c=p,...d}=e;(u||0===u)&&!h(u)&&console.error((n=`${u}`,`Invalid prop \`max\` of value \`${n}\` supplied to \`Progress\`. Only numbers greater than 0 are valid max values. Defaulting to \`100\`.`));let f=h(u)?u:100;null===s||g(s,f)||console.error((a=`${s}`,`Invalid prop \`value\` of value \`${a}\` supplied to \`Progress\`. The \`value\` prop must be: 2 - a positive number 3 - less than the value passed to \`max\` (or 100 if no \`max\` prop is set) 4 - \`null\` or \`undefined\` if the progress is indeterminate. 5 6Defaulting to \`null\`.`));let x=g(s,f)?s:null,b=v(x)?c(x,f):void 0;return(0,t.jsx)(l,{scope:o,value:x,max:f,children:(0,t.jsx)(i.Primitive.div,{"aria-valuemax":f,"aria-valuemin":0,"aria-valuenow":v(x)?x:void 0,"aria-valuetext":b,role:"progressbar","data-state":m(x,f),"data-value":x??void 0,"data-max":f,...d,ref:r})})});c.displayName=a;var d="ProgressIndicator",f=r.forwardRef((e,r)=>{let{__scopeProgress:n,...a}=e,o=u(d,n);return(0,t.jsx)(i.Primitive.div,{"data-state":m(o.value,o.max),"data-value":o.value??void 0,"data-max":o.max,...a,ref:r})});function p(e,t){return`${Math.round(e/t*100)}%`}function m(e,t){return null==e?"indeterminate":e===t?"complete":"loading"}function v(e){return"number"==typeof e}function h(e){return v(e)&&!isNaN(e)&&e>0}function g(e,t){return v(e)&&!isNaN(e)&&e<=t&&e>=0}f.displayName=d,e.s(["Indicator",()=>f,"Progress",()=>c,"ProgressIndicator",()=>f,"Root",()=>c,"createProgressScope",()=>s],76027);var x=e.i(76027),x=x,b=e.i(75157);function y({className:e,value:r,...n}){return(0,t.jsx)(x.Root,{"data-slot":"progress",className:(0,b.cn)("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full",e),...n,children:(0,t.jsx)(x.Indicator,{"data-slot":"progress-indicator",className:"bg-primary h-full w-full flex-1 transition-all",style:{transform:`translateX(-${100-(r||0)}%)`}})})}e.s(["Progress",()=>y],68148)},3217,15288,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(19455),i=e.i(75157);function a({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card",className:(0,i.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...r})}function o({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,i.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...r})}function s({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,i.cn)("leading-none font-semibold",e),...r})}function l({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,i.cn)("px-6",e),...r})}e.s(["Card",()=>a,"CardContent",()=>l,"CardHeader",()=>o,"CardTitle",()=>s],15288);var u=e.i(68148),c=e.i(1574);function d({module:e,isEmbed:i=!1}){let o=e.quizQuestions,[s,d]=(0,r.useState)(0),[f,p]=(0,r.useState)(null),[m,v]=(0,r.useState)(!1),[h,g]=(0,r.useState)(0),[x,b]=(0,r.useState)(0),[y,w]=(0,r.useState)(!1);if(0===o.length)return(0,t.jsx)("div",{className:"text-center py-12 text-muted-foreground",children:"Bu modulde henuz soru yok."});let j=o[s],k=(s+1)/o.length*100;if(y){let e=Math.round(h/o.length*100);return(0,t.jsxs)("div",{className:"space-y-6 text-center py-8",children:[(0,t.jsx)("h3",{className:"text-2xl font-bold",children:"Quiz Tamamlandi!"}),(0,t.jsxs)("div",{className:"text-6xl font-bold text-primary",children:["%",e]}),(0,t.jsxs)("p",{className:"text-muted-foreground",children:[o.length," sorudan ",h," tanesini dogru cevapladin"]}),(0,t.jsx)("div",{className:"flex gap-3 justify-center",children:(0,t.jsx)(n.Button,{onClick:()=>{d(0),p(null),v(!1),g(0),b(0),w(!1)},variant:"outline",children:"Tekrar Dene"})})]})}return(0,t.jsxs)("div",{className:"space-y-4",children:[!i&&(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"text-xl font-bold",children:e.title}),e.description&&(0,t.jsx)("p",{className:"text-muted-foreground mt-1",children:e.description})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between text-sm",children:[(0,t.jsxs)("span",{children:["Soru ",s+1,"/",o.length]}),(0,t.jsxs)("span",{children:["Skor: ",h,"/",x]})]}),(0,t.jsx)(u.Progress,{value:k}),j.svgContent&&(0,t.jsx)(c.SvgPreview,{svgContent:j.svgContent}),(0,t.jsx)(a,{children:(0,t.jsxs)(l,{className:"pt-6 space-y-4",children:[(0,t.jsx)("p",{className:"font-medium text-lg",children:j.question}),(0,t.jsx)("div",{className:"space-y-2",children:j.options.map(e=>{let r="outline",i="cursor-pointer hover:bg-accent";return m&&(i="cursor-default",e.isCorrect?r="default":e.id!==f||e.isCorrect||(r="destructive")),(0,t.jsx)(n.Button,{variant:r,className:`w-full justify-start text-left h-auto py-3 px-4 whitespace-normal ${i}`,onClick:()=>(e=>{if(m)return;p(e),v(!0),b(e=>e+1);let t=j.options.find(t=>
6t.id===e);t?.isCorrect&&g(e=>e+1)})(e.id),disabled:m,children:e.text},e.id)})}),m&&j.explanation&&(0,t.jsxs)("div",{className:"p-3 rounded-md bg-muted text-sm",children:[(0,t.jsx)("span",{className:"font-medium",children:"Aciklama: "}),j.explanation]})]})}),(0,t.jsxs)("div",{className:"flex gap-3",children:[s>0&&!m&&(0,t.jsx)(n.Button,{variant:"outline",onClick:()=>{d(e=>e-1),p(null),v(!1)},children:"Onceki"}),m&&(0,t.jsx)(n.Button,{onClick:()=>{s<o.length-1?(d(e=>e+1),p(null),v(!1)):w(!0)},className:"ml-auto",children:s<o.length-1?"Sonraki":"Sonuclari Gor"})]})]})}e.s(["QuizViewer",()=>d],3217)},87486,e=>{"use strict";var t=e.i(43476),r=e.i(25913),n=e.i(86011),i=e.i(75157);let a=(0,r.cva)("inline-flex items-center justify-center rounded-full border border-transparent px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border-border text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",ghost:"[a&]:hover:bg-accent [a&]:hover:text-accent-foreground",link:"text-primary underline-offset-4 [a&]:hover:underline"}},defaultVariants:{variant:"default"}});function o({className:e,variant:r="default",asChild:o=!1,...s}){let l=o?n.Slot.Root:"span";return(0,t.jsx)(l,{"data-slot":"badge","data-variant":r,className:(0,i.cn)(a({variant:r}),e),...s})}e.s(["Badge",()=>o])},41709,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(19455),i=e.i(87486),a=e.i(1574);let o={easy:{label:"Kolay",color:"text-green-600"},medium:{label:"Orta",color:"text-yellow-600"},hard:{label:"Zor",color:"text-red-600"}};function s({module:e,isEmbed:s=!1}){let[l,u]=(0,r.useState)(e.flashcards),[c,d]=(0,r.useState)(0),[f,p]=(0,r.useState)(!1),[m,v]=(0,r.useState)(!1);if(0===l.length)return(0,t.jsx)("div",{className:"text-center py-12 text-muted-foreground",children:"Bu modulde henuz kart yok."});let h=l[c],g=o[h.difficulty]||o.medium,x=(0,r.useCallback)(()=>{u([...l].sort(()=>Math.random()-.5)),d(0),p(!1),v(!1)},[l]);return(0,t.jsxs)("div",{className:"space-y-4",children:[!s&&(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"text-xl font-bold",children:e.title}),e.description&&(0,t.jsx)("p",{className:"text-muted-foreground mt-1",children:e.description})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between text-sm",children:[(0,t.jsxs)("span",{children:["Kart ",c+1,"/",l.length]}),(0,t.jsx)(i.Badge,{variant:"outline",className:g.color,children:g.label})]}),(0,t.jsx)("div",{className:"max-w-2xl mx-auto",children:(0,t.jsx)("div",{className:"cursor-pointer border rounded-lg p-6 bg-card min-h-[200px] flex flex-col items-center justify-center",onClick:()=>
6p(!f),children:f?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"text-base text-center leading-relaxed",children:h.back}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground mt-4",children:"Cevirmek icin tiklayin"})]}):(0,t.jsxs)(t.Fragment,{children:[h.svgContent&&(0,t.jsx)("div",{className:"w-full max-w-md mx-auto mb-4",children:(0,t.jsx)(a.SvgPreview,{svgContent:h.svgContent,className:"w-full"})}),(0,t.jsx)("p",{className:"text-lg font-medium text-center",children:h.front}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground mt-4",children:"Cevirmek icin tiklayin"})]})})}),h.hint&&!f&&(0,t.jsx)("div",{className:"text-center",children:m?(0,t.jsxs)("p",{className:"text-sm text-muted-foreground italic",children:["Ipucu: ",h.hint]}):(0,t.jsx)(n.Button,{variant:"ghost",size:"sm",onClick:e=>{e.stopPropagation(),v(!0)},children:"Ipucu Goster"})}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(n.Button,{variant:"outline",onClick:()=>{c>0&&(d(e=>e-1),p(!1),v(!1))},disabled:0===c,className:"flex-1",children:"Onceki"}),(0,t.jsx)(n.Button,{variant:"outline",onClick:x,size:"sm",children:"Karistir"}),(0,t.jsx)(n.Button,{variant:"outline",onClick:()=>{c<l.length-1&&(d(e=>e+1),p(!1),v(!1))},disabled:c===l.length-1,className:"flex-1",children:"Sonraki"})]})]})}e.s(["FlashcardViewer",()=>s])},23420,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(75254);let i=(0,n.default)("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]),a=(0,n.default)("minimize-2",[["path",{d:"m14 10 7-7",key:"oa77jy"}],["path",{d:"M20 10h-6V4",key:"mjg0md"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M4 14h6v6",key:"rmj7iw"}]]);var o=e.i(19455);function s({module:e,isEmbed:n=!1}){let[s,l]=(0,r.useState)(!1),u=e.playground?.htmlContent;return u?n?(0,t.jsx)("iframe",{title:e.embedTitle||e.title,srcDoc:u,sandbox:"allow-scripts allow-same-origin allow-forms allow-popups",className:"w-full h-screen border-0 block"}):(0,t.jsxs)("div",{className:s?"fixed inset-0 z-50 bg-background flex flex-col":"relative w-full border rounded-lg overflow-hidden",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between px-3 py-2 border-b bg-muted/40",children:[(0,t.jsxs)("div",{className:"text-xs text-muted-foreground truncate",children:[e.playground?.filename||"playground.html",e.playground?.sizeBytes?(0,t.jsxs)("span",{className:"ml-2",children:["(",Math.round(e.playground.sizeBytes/1024*10)/10," KB)"]}):null]}),(0,t.jsx)(o.Button,{type:"button",variant:"ghost",size:"sm",onClick:()=>l(e=>!e),children:s?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a,{className:"w-4 h-4 mr-1"}),"Kucult"]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i,{className:"w-4 h-4 mr-1"}),"Tam ekran"]})})]}),(0,t.jsx)("iframe",{title:e.title,srcDoc:u,sandbox:"allow-scripts allow-same-origin allow-forms allow-popups",className:s?"w-full flex-1 border-0 block":"w-full h-[700px] border-0 block bg-white"})]}):(0,t.jsx)("div",{className:"p-6 text-center text-muted-foreground",children:"Bu playground icin henuz HTML icerik yuklenmedi."})}e.s(["PlaygroundViewer",()=>s],23420)},74886,e=>{"use strict";let t=(0,e.i(75254).default)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["Copy",()=>t],74886)},83086,91289,e=>{"use strict";var t=e.i(75254);let r=(0,t.default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}
6],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);e.s(["Sparkles",()=>r],83086);let n=(0,t.default)("message-circle-question-mark",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);e.s(["MessageCircleQuestion",()=>n],91289)},41947,e=>{"use strict";let t=(0,e.i(75254).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["default",()=>t])},26330,e=>{"use strict";var t,r=e.i(71645),n=e.i(81140),i=e.i(48425),a=e.i(20783),o=e.i(30207),s=e.i(43476),l="dismissableLayer.update",u=r.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),c=r.forwardRef((e,c)=>{let{disableOutsidePointerEvents:p=!1,onEscapeKeyDown:m,onPointerDownOutside:v,onFocusOutside:h,onInteractOutside:g,onDismiss:x,...b}=e,y=r.useContext(u),[w,j]=r.useState(null),k=w?.ownerDocument??globalThis?.document,[,N]=r.useState({}),C=(0,a.useComposedRefs)(c,e=>j(e)),E=Array.from(y.layers),[S]=[...y.layersWithOutsidePointerEventsDisabled].slice(-1),R=E.indexOf(S),T=w?E.indexOf(w):-1,P=y.layersWithOutsidePointerEventsDisabled.size>0,D=T>=R,M=function(e,t=globalThis?.document){let n=(0,o.useCallbackRef)(e),i=r.useRef(!1),a=r.useRef(()=>{});return r.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let r=function(){f("dismissableLayer.pointerDownOutside",n,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",a.current),a.current=r,t.addEventListener("click",a.current,{once:!0})):r()}else t.removeEventListener("click",a.current);i.current=!1},r=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(r),t.removeEventListener("pointerdown",e),t.removeEventListener("click",a.current)}},[t,n]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,r=[...y.branches].some(e=>e.contains(t));D&&!r&&(v?.(e),g?.(e),e.defaultPrevented||x?.())},k),O=function(e,t=globalThis?.document){let n=(0,o.useCallbackRef)(e),i=r.useRef(!1);return r.useEffect(()=>{let e=e=>{e.target&&!i.current&&f("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;![...y.branches].some(e=>e.contains(t))&&(h?.(e),g?.(e),e.defaultPrevented||x?.())},k);return!function(e,t=globalThis?.document){let n=(0,o.useCallbackRef)(e);r.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{T===y.layers.size-1&&(m?.(e),!e.defaultPrevented&&x&&(e.preventDefault(),x()))},k),r.useEffect(()=>{if(w)return p&&(0===y.layersWithOutsidePointerEventsDisabled.size&&(t=k.body.style.pointerEvents,k.body.style.pointerEvents="none"),y.layersWithOutsidePointerEventsDisabled.add(w)),y.layers.add(w),d(),()=>{p&&1===y.layersWithOutsidePointerEventsDisabled.size&&(k.body.style.pointerEvents=t)}},[w,k,p,y]),r.useEffect(()=>()=>{w&&(y.layers.delete(w),y.layersWithOutsidePointerEventsDisabled.delete(w),d())},[w,y]),r.useEffect(()=>{let e=()=>N({});return document.addEventListener(l,e),()=>document.removeEventListener(l,e)},[]),(0,s.jsx)(i.Primitive.div,{...b,ref:C,style:{pointerEvents:P?D?"auto":"none":void 0,...e.style},onFocusCapture:(0,n.composeEventHandlers)(e.onFocusCapture,O.onFocusCapture),onBlurCapture:(0,n.composeEventHandlers)(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:(0,n.composeEventHandlers)(e.onPointerDownCapture,M.onPointerDownCapture)})});function d(){let e=new CustomEvent(l);document.dispatchEvent(e)}function f(e,t,r,{discrete:n}){let a=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),n?(0,i.dispatchDiscreteCustomEvent)(a,o):a.dispatchEvent(o)}c.displayName="DismissableLayer",r.forwardRef((e,t)=>
6{let n=r.useContext(u),o=r.useRef(null),l=(0,a.useComposedRefs)(t,o);return r.useEffect(()=>{let e=o.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,s.jsx)(i.Primitive.div,{...e,ref:l})}).displayName="DismissableLayerBranch",e.s(["DismissableLayer",()=>c],26330)},65491,74606,e=>{"use strict";let t;var r=e.i(71645),n=e.i(20783),i=e.i(48425),a=e.i(30207),o=e.i(43476),s="focusScope.autoFocusOnMount",l="focusScope.autoFocusOnUnmount",u={bubbles:!1,cancelable:!0},c=r.forwardRef((e,t)=>{let{loop:c=!1,trapped:v=!1,onMountAutoFocus:h,onUnmountAutoFocus:g,...x}=e,[b,y]=r.useState(null),w=(0,a.useCallbackRef)(h),j=(0,a.useCallbackRef)(g),k=r.useRef(null),N=(0,n.useComposedRefs)(t,e=>y(e)),C=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(v){let e=function(e){if(C.paused||!b)return;let t=e.target;b.contains(t)?k.current=t:p(k.current,{select:!0})},t=function(e){if(C.paused||!b)return;let t=e.relatedTarget;null!==t&&(b.contains(t)||p(k.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&p(b)});return b&&r.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[v,b,C.paused]),r.useEffect(()=>{if(b){m.add(C);let e=document.activeElement;if(!b.contains(e)){let t=new CustomEvent(s,u);b.addEventListener(s,w),b.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(p(n,{select:t}),document.activeElement!==r)return}(d(b).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&p(b))}return()=>{b.removeEventListener(s,w),setTimeout(()=>{let t=new CustomEvent(l,u);b.addEventListener(l,j),b.dispatchEvent(t),t.defaultPrevented||p(e??document.body,{select:!0}),b.removeEventListener(l,j),m.remove(C)},0)}}},[b,w,j,C]);let E=r.useCallback(e=>{if(!c&&!v||C.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){var n;let t,i=e.currentTarget,[a,o]=[f(t=d(n=i),n),f(t.reverse(),n)];a&&o?e.shiftKey||r!==o?e.shiftKey&&r===a&&(e.preventDefault(),c&&p(o,{select:!0})):(e.preventDefault(),c&&p(a,{select:!0})):r===i&&e.preventDefault()}},[c,v,C.paused]);return(0,o.jsx)(i.Primitive.div,{tabIndex:-1,...x,ref:N,onKeyDown:E})});function d(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function f(e,t){for(let r of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function p(e,{select:t=!1}={}){if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}c.displayName="FocusScope";var m=(t=[],{add(e){let r=t[0];e!==r&&r?.pause(),(t=v(t,e)).unshift(e)},remove(e){t=v(t,e),t[0]?.resume()}});function v(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}e.s(["FocusScope",()=>c],65491);var h=e.i(74080),g=e.i(34620),x=r.forwardRef((e,t)=>{let{container:n,...a}=e,[s,l]=r.useState(!1);(0,g.useLayoutEffect)(()=>l(!0),[]);let u=n||s&&globalThis?.document?.body;return u?h.default.createPortal((0,o.jsx)(i.Primitive.div,{...a,ref:t}),u):null});x.displayName="Portal",e.s(["Portal",()=>x],74606)},3536,e=>{"use strict";var t=e.i(71645),r=0;function n(){t.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??i()),document.body.insertAdjacentElement("beforeend",e[1]??i()),r++,()=>{1===r&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e
6=>e.remove()),r--}},[])}function i(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}e.s(["useFocusGuards",()=>n])},85369,e=>{"use strict";var t,r,n,i,a,o,s,l=function(){return(l=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function u(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}var c=("function"==typeof SuppressedError&&SuppressedError,e.i(71645)),d="right-scroll-bar-position",f="width-before-scroll-bar";function p(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var m="u">typeof window?c.useLayoutEffect:c.useEffect,v=new WeakMap,h=(void 0===t&&(t={}),(void 0===r&&(r=function(e){return e}),n=[],i=!1,a={read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:null},useMedium:function(e){var t=r(e,i);return n.push(t),function(){n=n.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(i=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){i=!0;var t=[];if(n.length){var r=n;n=[],r.forEach(e),t=n}var a=function(){var r=t;t=[],r.forEach(e)},o=function(){return Promise.resolve().then(a)};o(),n={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),n}}}}).options=l({async:!0,ssr:!1},t),a),g=function(){},x=c.forwardRef(function(e,t){var r,n,i,a,o=c.useRef(null),s=c.useState({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:g}),d=s[0],f=s[1],x=e.forwardProps,b=e.children,y=e.className,w=e.removeScrollBar,j=e.enabled,k=e.shards,N=e.sideCar,C=e.noRelative,E=e.noIsolation,S=e.inert,R=e.allowPinchZoom,T=e.as,P=e.gapMode,D=u(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),M=(r=[o,t],n=function(e){return r.forEach(function(t){return p(t,e)})},(i=(0,c.useState)(function(){return{value:null,callback:n,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=n,a=i.facade,m(function(){var e=v.get(a);if(e){var t=new Set(e),n=new Set(r),i=a.current;t.forEach(function(e){n.has(e)||p(e,null)}),n.forEach(function(e){t.has(e)||p(e,i)})}v.set(a,r)},[r]),a),O=l(l({},D),d);return c.createElement(c.Fragment,null,j&&c.createElement(N,{sideCar:h,removeScrollBar:w,shards:k,noRelative:C,noIsolation:E,inert:S,setCallbacks:f,allowPinchZoom:!!R,lockRef:o,gapMode:P}),x?c.cloneElement(c.Children.only(b),l(l({},O),{ref:M})):c.createElement(void 0===T?"div":T,l({},O,{className:y,ref:M}),b))});x.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},x.classNames={fullWidth:f,zeroRight:d};var b=function(e){var t=e.sideCar,r=u(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return c.createElement(n,l({},r))};b.isSideCarExport=!0;var y=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=s||("u">typeof __webpack_nonce__?__webpack_nonce__:void 0);return t&&e.setAttribute("nonce",t),e}())){var n,i;(n=t).styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},w=function(){var e=y();return function(t,r){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},j=function(){var e=w();return function(t){return e(t.styles,t.dynamic),null}},k={left:0,top:0,right:0,gap:0},N=function(e){return parseInt(e||"",10)||0},C=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[N(r),N(n),N(i)]},E=function(e){if(void 0===e&&(e="margin"),"u"<typeof window)return k;var t=C(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},S=j(),R="data-scroll-locked",T=function(e,t,r,n){var i=e.left,a=e.top,o=e.right,s=e.gap;return void 0===r&&(r="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(s,"px ").concat(n,";\n }\n body[").concat(R,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(a,"px;\n padding-right: ").concat(o,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(s,"px ").concat(n,";
6")].filter(Boolean).join(""),"\n }\n \n .").concat(d," {\n right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(f," {\n margin-right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(d," .").concat(d," {\n right: 0 ").concat(n,";\n }\n \n .").concat(f," .").concat(f," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(R,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},P=function(){var e=parseInt(document.body.getAttribute(R)||"0",10);return isFinite(e)?e:0},D=function(){c.useEffect(function(){return document.body.setAttribute(R,(P()+1).toString()),function(){var e=P()-1;e<=0?document.body.removeAttribute(R):document.body.setAttribute(R,e.toString())}},[])},M=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=void 0===n?"margin":n;D();var a=c.useMemo(function(){return E(i)},[i]);return c.createElement(S,{styles:T(a,!t,i,r?"":"!important")})},O=!1;if("u">typeof window)try{var I=Object.defineProperty({},"passive",{get:function(){return O=!0,!0}});window.addEventListener("test",I,I),window.removeEventListener("test",I,I)}catch(e){O=!1}var A=!!O&&{passive:!1},z=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&(r.overflowY!==r.overflowX||"TEXTAREA"===e.tagName||"visible"!==r[t])},L=function(e,t){var r=t.ownerDocument,n=t;do{if("u">typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),F(e,n)){var i=_(e,n);if(i[1]>i[2])return!0}n=n.parentNode}while(n&&n!==r.body)return!1},F=function(e,t){return"v"===e?z(t,"overflowY"):z(t,"overflowX")},_=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},B=function(e,t,r,n,i){var a,o=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),s=o*n,l=r.target,u=t.contains(l),c=!1,d=s>0,f=0,p=0;do{if(!l)break;var m=_(e,l),v=m[0],h=m[1]-m[2]-o*v;(v||h)&&F(e,l)&&(f+=h,p+=v);var g=l.parentNode;l=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!u&&l!==document.body||u&&(t.contains(l)||t===l))return d&&(i&&1>Math.abs(f)||!i&&s>f)?c=!0:!d&&(i&&1>Math.abs(p)||!i&&-s>p)&&(c=!0),c},$=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},W=function(e){return[e.deltaX,e.deltaY]},H=function(e){return e&&"current"in e?e.current:e},K=0,V=[];let U=(o=function(e){var t=c.useRef([]),r=c.useRef([0,0]),n=c.useRef(),i=c.useState(K++)[0],a=c.useState(j)[0],o=c.useRef(e);c.useEffect(function(){o.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(function(e,t,r){if(r||2==arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(H),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=c.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!o.current.allowPinchZoom;var i,a=$(e),s=r.current,l="deltaX"in e?e.deltaX:s[0]-a[0],u="deltaY"in e?e.deltaY:s[1]-a[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===c||p.contains(c)))return!1;var m=L(d,c);if(!m)return!0;if(m?i=d:(i="v"===d?"h":"v",m=L(d,c)),!m)return!1;if(!n.current&&"changedTouches"in e&&(l||u)&&(n.current=i),!i)return!0;var v=n.current||i;return B(v,t,e,"h"===v?l:u,!0)},[]),l=c.useCallback(function(e){if(V.length&&V[V.length-1]===a){var r="deltaY"in e?W(e):$(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta,n[0]===r[0]&&n[1]===r[1])})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}
6if(!n){var i=(o.current.shards||[]).map(H).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?s(e,i[0]):!o.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=c.useCallback(function(e,r,n,i){var a={name:e,delta:r,target:n,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=c.useCallback(function(e){r.current=$(e),n.current=void 0},[]),f=c.useCallback(function(t){u(t.type,W(t),t.target,s(t,e.lockRef.current))},[]),p=c.useCallback(function(t){u(t.type,$(t),t.target,s(t,e.lockRef.current))},[]);c.useEffect(function(){return V.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",l,A),document.addEventListener("touchmove",l,A),document.addEventListener("touchstart",d,A),function(){V=V.filter(function(e){return e!==a}),document.removeEventListener("wheel",l,A),document.removeEventListener("touchmove",l,A),document.removeEventListener("touchstart",d,A)}},[]);var m=e.removeScrollBar,v=e.inert;return c.createElement(c.Fragment,null,v?c.createElement(a,{styles:"\n .block-interactivity-".concat(i," {pointer-events: none;}\n .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,m?c.createElement(M,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},h.useMedium(o),b);var G=c.forwardRef(function(e,t){return c.createElement(x,l({},e,{ref:t,sideCar:U}))});G.classNames=x.classNames,e.s(["RemoveScroll",0,G],85369)},86312,e=>{"use strict";var t=new WeakMap,r=new WeakMap,n={},i=0,a=function(e){return e&&(e.host||a(e.parentNode))},o=function(e,o,s,l){var u=(Array.isArray(e)?e:[e]).map(function(e){if(o.contains(e))return e;var t=a(e);return t&&o.contains(t)?t:(console.error("aria-hidden",e,"in not contained inside",o,". Doing nothing"),null)}).filter(function(e){return!!e});n[s]||(n[s]=new WeakMap);var c=n[s],d=[],f=new Set,p=new Set(u),m=function(e){!e||f.has(e)||(f.add(e),m(e.parentNode))};u.forEach(m);var v=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))v(e);else try{var n=e.getAttribute(l),i=null!==n&&"false"!==n,a=(t.get(e)||0)+1,o=(c.get(e)||0)+1;t.set(e,a),c.set(e,o),d.push(e),1===a&&i&&r.set(e,!0),1===o&&e.setAttribute(s,"true"),i||e.setAttribute(l,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return v(o),f.clear(),i++,function(){d.forEach(function(e){var n=t.get(e)-1,i=c.get(e)-1;t.set(e,n),c.set(e,i),n||(r.has(e)||e.removeAttribute(l),r.delete(e)),i||e.removeAttribute(s)}),--i||(t=new WeakMap,t=new WeakMap,r=new WeakMap,n={})}},s=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=t||("u"<typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live], script"))),o(n,i,r,"aria-hidden")):function(){return null}};e.s(["hideOthers",()=>s])},76639,e=>{"use strict";var t=e.i(43476),r=e.i(41947),r=r,n=e.i(71645),i=e.i(81140),a=e.i(20783),o=e.i(30030),s=e.i(10772),l=e.i(69340),u=e.i(26330),c=e.i(65491),d=e.i(74606),f=e.i(96626),p=e.i(48425),m=e.i(3536),v=e.i(85369),h=e.i(86312),g=e.i(91918),x="Dialog",[b,y]=(0,o.createContextScope)(x),[w,j]=b(x),k=e=>{let{__scopeDialog:r,children:i,open:a,defaultOpen:o,onOpenChange:u,modal:c=!0}=e,d=n.useRef(null),f=n.useRef(null),[p,m]=(0,l.useControllableState)({prop:a,defaultProp:o??!1,onChange:u,caller:x});return(0,t.jsx)(w,{scope:r,triggerRef:d,contentRef:f,contentId:(0,s.useId)(),titleId:(0,s.useId)(),descriptionId:(0,s.useId)(),open:p,onOpenChange:m,onOpenToggle:n.useCallback(()=>m(e=>!e),[m]),modal:c,children:i})};k.displayName=x;var N="DialogTrigger",C=n.forwardRef((e,r)=>{let{__scopeDialog:n,...o}=e,s=j(N,n),l=(0,a.useComposedRefs)(r,s.triggerRef);return(0,t.jsx)(p.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":V(s.open),...o,ref:l,onClick:(0,i.composeEventHandlers)(e.onClick,s.onOpenToggle)})});C.displayName=N;var E="DialogPortal",[S,R]=b(E,{forceMount:void 0}),T=e=>{let{__scopeDialog:r,forceMount:i,children:a,container:o}=e,s=j(E,r);return(0,t.jsx)(S,{scope:r,forceMount:i,children:n.Children.map(a,e=>(0,t.jsx)(f.Presence,{present:i||s.open,children:(0,t.jsx)(d.Portal,{asChild:!0,container:o,children:e})}))})};T.displayName=E;var P="DialogOverlay",D=n.forwardRef((e,r)=>{let n=R(P,e.__scopeDialog),{forceMount:i=n.forceMount,...a}=e,o=j(P,e.__scopeDialog);return o.modal?(0,t.jsx)(f.Presence,{present:i||o.open,children:(0,t.jsx)(O,{...a,ref:r})}):null});D.displayName=P;var M=(0,g.createSlot)("DialogOverlay.RemoveScroll"),O=n.forwardRef((e,r)=>{let{__scopeDialog:n,...i}=e,a=j(P,n);return(0,t.jsx)(v.RemoveScroll,{as:M,allowPinchZoom:!0,shards:[a.contentRef],children:(0,t.jsx)(p.Primitive.div,{"data-state":V(a.open),...i,ref:r,
6style:{pointerEvents:"auto",...i.style}})})}),I="DialogContent",A=n.forwardRef((e,r)=>{let n=R(I,e.__scopeDialog),{forceMount:i=n.forceMount,...a}=e,o=j(I,e.__scopeDialog);return(0,t.jsx)(f.Presence,{present:i||o.open,children:o.modal?(0,t.jsx)(z,{...a,ref:r}):(0,t.jsx)(L,{...a,ref:r})})});A.displayName=I;var z=n.forwardRef((e,r)=>{let o=j(I,e.__scopeDialog),s=n.useRef(null),l=(0,a.useComposedRefs)(r,o.contentRef,s);return n.useEffect(()=>{let e=s.current;if(e)return(0,h.hideOthers)(e)},[]),(0,t.jsx)(F,{...e,ref:l,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),o.triggerRef.current?.focus()}),onPointerDownOutside:(0,i.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,i.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),L=n.forwardRef((e,r)=>{let i=j(I,e.__scopeDialog),a=n.useRef(!1),o=n.useRef(!1);return(0,t.jsx)(F,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(a.current||i.triggerRef.current?.focus(),t.preventDefault()),a.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(a.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let r=t.target;i.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),F=n.forwardRef((e,r)=>{let{__scopeDialog:i,trapFocus:o,onOpenAutoFocus:s,onCloseAutoFocus:l,...d}=e,f=j(I,i),p=n.useRef(null),v=(0,a.useComposedRefs)(r,p);return(0,m.useFocusGuards)(),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.FocusScope,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:s,onUnmountAutoFocus:l,children:(0,t.jsx)(u.DismissableLayer,{role:"dialog",id:f.contentId,"aria-describedby":f.descriptionId,"aria-labelledby":f.titleId,"data-state":V(f.open),...d,ref:v,onDismiss:()=>f.onOpenChange(!1)})}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(X,{titleId:f.titleId}),(0,t.jsx)(Y,{contentRef:p,descriptionId:f.descriptionId})]})]})}),_="DialogTitle",B=n.forwardRef((e,r)=>{let{__scopeDialog:n,...i}=e,a=j(_,n);return(0,t.jsx)(p.Primitive.h2,{id:a.titleId,...i,ref:r})});B.displayName=_;var $="DialogDescription",W=n.forwardRef((e,r)=>{let{__scopeDialog:n,...i}=e,a=j($,n);return(0,t.jsx)(p.Primitive.p,{id:a.descriptionId,...i,ref:r})});W.displayName=$;var H="DialogClose",K=n.forwardRef((e,r)=>{let{__scopeDialog:n,...a}=e,o=j(H,n);return(0,t.jsx)(p.Primitive.button,{type:"button",...a,ref:r,onClick:(0,i.composeEventHandlers)(e.onClick,()=>o.onOpenChange(!1))})});function V(e){return e?"open":"closed"}K.displayName=H;var U="DialogTitleWarning",[G,q]=(0,o.createContext)(U,{contentName:I,titleName:_,docsSlug:"dialog"}),X=({titleId:e})=>{let t=q(U),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 7 8If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 9 10For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return n.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},Y=({contentRef:e,descriptionId:t})=>{let r=q("DialogDescriptionWarning"),i=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${r.contentName}}.`;return n.useEffect(()=>{let r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(i))},[i,e,t]),null};e.s(["Close",()=>K,"Content",()=>A,"Description",()=>W,"Dialog",()=>k,"DialogClose",()=>K,"DialogContent",()=>A,"DialogDescription",()=>W,"DialogOverlay",()=>D,"DialogPortal",()=>T,"DialogTitle",()=>B,"DialogTrigger",()=>C,"Overlay",()=>D,"Portal",()=>T,"Root",()=>k,"Title",()=>B,"Trigger",()=>C,"WarningProvider",()=>G,"createDialogScope",()=>y],26999);var Z=e.i(26999),Z=Z,Q=e.i(75157);function J({...e}){return(0,t.jsx)(Z.Root,{"data-slot":"dialog",...e})}function ee({...e}){return(0,t.jsx)(Z.Trigger,{"data-slot":"dialog-trigger",...e})}function et({...e}){return(0,t.jsx)(Z.Portal,{"data-slot":"dialog-portal",...e})}function er({className:e,...r}){return(0,t.jsx)(Z.Overlay,{"data-slot":"dialog-overlay",className:(0,Q.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...r})}function en({className:e,children:n,showCloseButton:i=!0,...a}){return(0,t.jsxs)(et,{"data-slot":"dialog-portal",children:[(0,t.jsx)(er,{}),(0,t.jsxs)(Z.Content,{"data-slot":"dialog-content",className:(0,Q.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 roun
10ded-lg border p-6 shadow-lg duration-200 outline-none sm:max-w-lg",e),...a,children:[n,i&&(0,t.jsxs)(Z.Close,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[(0,t.jsx)(r.default,{}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function ei({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"dialog-header",className:(0,Q.cn)("flex flex-col gap-2 text-center sm:text-left",e),...r})}function ea({className:e,...r}){return(0,t.jsx)(Z.Title,{"data-slot":"dialog-title",className:(0,Q.cn)("text-lg leading-none font-semibold",e),...r})}e.i(19455),e.s(["Dialog",()=>J,"DialogContent",()=>en,"DialogHeader",()=>ei,"DialogTitle",()=>ea,"DialogTrigger",()=>ee],76639)},24687,e=>{"use strict";var t=e.i(43476),r=e.i(75157);function n({className:e,...n}){return(0,t.jsx)("textarea",{"data-slot":"textarea",className:(0,r.cn)("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),...n})}e.s(["Textarea",()=>n])},29604,e=>{"use strict";var t=e.i(43476),r=e.i(46696),n=e.i(74886),i=e.i(83086),a=e.i(91289),o=e.i(19455);e.i(47167);var s=e.i(71645),l=e.i(76639),u=e.i(24687);let c=(0,e.i(75254).default)("code-xml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);function d({path:e,label:n,title:i="Embed Kodu",height:a=520}){let[d,f]=(0,s.useState)(!1),p=`https://learning-modules-production.up.railway.app${e}`,m=`<iframe 11 src="${p}" 12 width="100%" 13 height="${a}" 14 frameborder="0" 15 style="border: none; border-radius: 12px;" 16 allowfullscreen 17></iframe>`;return(0,t.jsxs)(l.Dialog,{open:d,onOpenChange:f,children:[(0,t.jsx)(l.DialogTrigger,{asChild:!0,children:(0,t.jsxs)(o.Button,{variant:"outline",size:"sm",children:[(0,t.jsx)(c,{className:"w-4 h-4 mr-1"}),n||"Embed kodu"]})}),(0,t.jsxs)(l.DialogContent,{children:[(0,t.jsx)(l.DialogHeader,{children:(0,t.jsx)(l.DialogTitle,{children:i})}),(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"Bu bloku Webflow sayfanizda istediginiz yere yapistirin."}),(0,t.jsx)(u.Textarea,{value:m,readOnly:!0,rows:8,className:"font-mono text-xs"}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(o.Button,{onClick:()=>{navigator.clipboard.writeText(m),r.toast.success("Embed kodu kopyalandi!"),f(!1)},className:"flex-1",children:"Kopyala"}),(0,t.jsx)(o.Button,{variant:"outline",onClick:()=>window.open(p,"_blank"),children:"Onizle"})]})]})]})]})}let f=` 18.hiw-prose h2 { font-size: 1.4rem; font-weight: 700; margin: 1.5rem 0 0.6rem; } 19.hiw-prose h3 { font-size: 1.15rem; font-weight: 600; margin: 1.2rem 0 0.5rem; } 20.hiw-prose p { line-height: 1.7; margin: 0.6rem 0; } 21.hiw-prose ul, .hiw-prose ol { margin: 0.6rem 0 0.6rem 1.3rem; line-height: 1.7; } 22.hiw-prose ul { list-style: disc; } 23.hiw-prose ol { list-style: decimal; } 24.hiw-prose li { margin: 0.25rem 0; } 25.hiw-prose blockquote { border-left: 3px solid var(--primary, #d97706); padding-left: 0.9rem; color: #555; margin: 0.8rem 0; } 26.hiw-prose code { background: rgba(0,0,0,0.06); padding: 0.1rem 0.35rem; border-radius: 4px; font-size: 0.9em; } 27`;function p({blocks:e,isEmbed:s=!1,manage:l=!1}){if(0===e.length)return(0,t.jsx)("div",{className:"p-6 text-center text-muted-foreground",children:"Bu modul icin henuz blok uretilmedi."});let u=e[0]?.moduleId,c=e.filter(e=>"QUIZ"===e.type&&e.htmlContent).length;return(0,t.jsxs)("div",{className:s?"p-4 sm:p-6 max-w-[800px] mx-auto":"",children:[(0,t.jsx)("style",{children:f}),l&&c>0&&u&&(0,t.jsxs)("div",{className:"mb-6 flex items-center justify-between gap-2 rounded-lg border bg-muted/30 p-3",children:[(0,t.jsxs)("span",{className:"flex items-center gap-1.5 text-sm font-medium",children:[(0,t.jsx)(a.MessageCircleQuestion,{className:"w-4 h-4"}),"Soru-Cevap bolumu â ",c," soru tek embed'de"]}),(0,t.jsx)(d,{path:`/embed/quiz/${u}`,label:"Toplu embed kodu",title:"Soru-Cevap Embed Kodu",height:520*Math.min(c,2)})]}),(0,t.jsx)("div",{className:"space-y-6",children:e.map(e=>{if("TEXT"===e.type)return(0,t.jsxs)("div",{className:"group relative",children:[l&&(0,t.jsxs)("div",{className:"mb-1 flex items-center justify-between",children:[(0,t.jsx)("span",{className:"text-xs font-medium text-muted-foreground",children:"Metin blogu â Webflow'a yazi olarak ekleyin"}),(0,t.jsxs)(o.Button,{variant:"ghost",size:"sm",onClick:()=>{var t;return t=e.textContent||"",void(navigator.clipboard.writeText(t),r.toast.success("Metin (HTML) kopyalandi â Webflow zengin metnine yapistirin"))},children:[(0,t.jsx)(n.Copy,{className:"w-3.5 h-3.5 mr-1"}),"Metni kopyala"]})]}),(0,t.jsx)("div",{className:"hiw-prose",dangerouslySetInnerHTML:{__html:e.textContent||""}})]},e.id);let s="QUIZ"===e.type;return(0,t.jsxs)("div",{className:l?"rounded-lg border bg-muted/20 p-3":"rounded-lg overflow-hidden border",children:[l&&(0,t.jsxs)("div",{className:"mb-2 flex items-center justify-between gap-2",children:[(0,t.jsxs)("span",{className:"flex items-center gap-1.5 text-xs font-medium text-muted-foreground",children:[s?(0,t.jsx)(a.MessageCircleQuestion,{className:"w-3.5 h-3.5"}):(0,t.jsx)(i.Sparkles,{className:"w-3.5 h-3.5"}),s?"Soru-Cevap blogu":"Etkilesimli blok",e.title?` â ${e.title}`:""]}),s?(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:"Toplu embed (yukarida)"}):(0,t.jsx)(d,{path:`/embed/b/${e.id}`})]}),e.htmlContent?(0,t.jsx)("iframe",{title:e.title||"Etkilesimli icerik",srcDoc:e.htmlContent,sandbox:"allow-scripts allow-same-origin allow-forms allow-popups",className:"w-full h-[520px] border-0 block bg-white rounded-md"}):(0,t.jsx)("div",{className:"p-6 text-center text-sm text-muted-foreground",children:"Bu blok henuz uretilmedi."})]},e.id)})})]})}e.s(["HowItWorksBlocksView",()=>p],29604)}]);
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.