react-grab 0.1.17 → 0.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-KEHU35AI.cjs +118 -0
- package/dist/chunk-TT33H3TZ.js +118 -0
- package/dist/core/index.cjs +1 -1
- package/dist/core/index.d.cts +1 -1
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.js +1 -1
- package/dist/{index-BCkTVQa8.d.cts → index-BgQgrh_y.d.cts} +3 -12
- package/dist/{index-BCkTVQa8.d.ts → index-BgQgrh_y.d.ts} +3 -12
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +3 -15
- package/dist/index.d.ts +3 -15
- package/dist/index.global.js +34 -28
- package/dist/index.js +2 -2
- package/dist/react.cjs +274 -306
- package/dist/react.d.cts +1 -10
- package/dist/react.d.ts +1 -10
- package/dist/react.js +274 -306
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/chunk-ILQ5JMGX.cjs +0 -112
- package/dist/chunk-WBYGVXEQ.js +0 -112
package/dist/react.js
CHANGED
|
@@ -1884,7 +1884,7 @@ var init_web = __esm({
|
|
|
1884
1884
|
var styles_default;
|
|
1885
1885
|
var init_styles = __esm({
|
|
1886
1886
|
"dist/styles.css"() {
|
|
1887
|
-
styles_default = '/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-contain-size:initial;--tw-contain-layout:initial;--tw-contain-paint:initial;--tw-contain-style:initial;--tw-content:""}}}@layer theme{:root,:host{--font-sans:"Geist",ui-sans-serif,system-ui,sans-serif;--font-mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;--color-yellow-500:oklch(79.5% .184 86.047);--color-black:#000;--color-white:#fff;--spacing:4px;--text-sm:14px;--text-sm--line-height:calc(1.25/.875);--font-weight-medium:500;--radius-sm:4px;--ease-out:cubic-bezier(0,0,.2,1);--animate-ping:ping 1s cubic-bezier(0,0,.2,1)infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--transition-fast:.1s;--transition-normal:.15s;--transition-slow:.2s}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.touch-hitbox{position:relative}.touch-hitbox:before{content:"";width:100%;min-width:44px;height:100%;min-height:44px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.-top-0\\.5{top:calc(var(--spacing)*-.5)}.top-0{top:calc(var(--spacing)*0)}.top-0\\.5{top:calc(var(--spacing)*.5)}.top-1\\/2{top:50%}.top-full{top:100%}.-right-0\\.5{right:calc(var(--spacing)*-.5)}.right-full{right:100%}.bottom-full{bottom:100%}.left-0{left:calc(var(--spacing)*0)}.left-0\\.5{left:calc(var(--spacing)*.5)}.left-1\\.5{left:calc(var(--spacing)*1.5)}.left-1\\/2{left:50%}.left-2\\.5{left:calc(var(--spacing)*2.5)}.left-full{left:100%}.z-10{z-index:10}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.m-0{margin:calc(var(--spacing)*0)}.-mx-2{margin-inline:calc(var(--spacing)*-2)}.mx-0\\.5{margin-inline:calc(var(--spacing)*.5)}.-my-1\\.5{margin-block:calc(var(--spacing)*-1.5)}.my-0\\.5{margin-block:calc(var(--spacing)*.5)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-2\\.5{margin-top:calc(var(--spacing)*2.5)}.mr-0\\.5{margin-right:calc(var(--spacing)*.5)}.mr-1\\.5{margin-right:calc(var(--spacing)*1.5)}.mr-2\\.5{margin-right:calc(var(--spacing)*2.5)}.mb-0\\.5{margin-bottom:calc(var(--spacing)*.5)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-1\\.5{margin-bottom:calc(var(--spacing)*1.5)}.mb-2\\.5{margin-bottom:calc(var(--spacing)*2.5)}.-ml-\\[2px\\]{margin-left:-2px}.ml-0\\.5{margin-left:calc(var(--spacing)*.5)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2\\.5{margin-left:calc(var(--spacing)*2.5)}.ml-4{margin-left:calc(var(--spacing)*4)}.ml-auto{margin-left:auto}.line-clamp-5{-webkit-line-clamp:5;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.size-1\\.5{width:calc(var(--spacing)*1.5);height:calc(var(--spacing)*1.5)}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-\\[18px\\]{width:18px;height:18px}.h-0{height:calc(var(--spacing)*0)}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.h-2\\.5{height:calc(var(--spacing)*2.5)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-\\[17px\\]{height:17px}.h-fit{height:fit-content}.max-h-\\[240px\\]{max-height:240px}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-4{min-height:calc(var(--spacing)*4)}.w-0{width:calc(var(--spacing)*0)}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-2{width:calc(var(--spacing)*2)}.w-3\\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-\\[calc\\(100\\%\\+16px\\)\\]{width:calc(100% + 16px)}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\\[280px\\]{max-width:280px}.max-w-full{max-width:100%}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-\\[100px\\]{min-width:100px}.min-w-\\[150px\\]{min-width:150px}.flex-1{flex:1}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.scale-75{--tw-scale-x:75%;--tw-scale-y:75%;--tw-scale-z:75%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.-rotate-90{rotate:-90deg}.rotate-0{rotate:none}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.interactive-scale{transition-property:transform;transition-duration:var(--transition-normal);transition-timing-function:cubic-bezier(.34,1.56,.64,1)}@media (hover:hover) and (pointer:fine){.interactive-scale:hover{transform:scale(1.05)}}.interactive-scale:active{transform:scale(.97)}.press-scale{transition-property:transform;transition-duration:var(--transition-fast);transition-timing-function:ease-out}.press-scale:active{transform:scale(.97)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-ping{animation:var(--animate-ping)}.animate-pulse{animation:var(--animate-pulse)}.cursor-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.grid-cols-\\[0fr\\]{grid-template-columns:0fr}.grid-cols-\\[1fr\\]{grid-template-columns:1fr}.grid-rows-\\[0fr\\]{grid-template-rows:0fr}.grid-rows-\\[1fr\\]{grid-template-rows:1fr}.flex-col{flex-direction:column}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0\\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-\\[5px\\]{gap:5px}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-y-auto{overflow-y:auto}.rounded-\\[1px\\]{border-radius:1px}.rounded-\\[10px\\]{border-radius:10px}.rounded-full{border-radius:3.40282e38px}.rounded-sm{border-radius:var(--radius-sm)}.rounded-t-\\[10px\\]{border-top-left-radius:10px;border-top-right-radius:10px}.rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.rounded-l-\\[10px\\]{border-top-left-radius:10px;border-bottom-left-radius:10px}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r-\\[10px\\]{border-top-right-radius:10px;border-bottom-right-radius:10px}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.rounded-b-\\[6px\\]{border-bottom-right-radius:6px;border-bottom-left-radius:6px}.rounded-b-\\[10px\\]{border-bottom-right-radius:10px;border-bottom-left-radius:10px}.rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.border{border-style:var(--tw-border-style);border-width:1px}.\\[border-width\\:0\\.5px\\]{border-width:.5px}.\\[border-top-width\\:0\\.5px\\]{border-top-width:.5px}.border-none{--tw-border-style:none;border-style:none}.border-solid{--tw-border-style:solid;border-style:solid}.border-\\[\\#B3B3B3\\]{border-color:#b3b3b3}.border-t-\\[\\#D9D9D9\\]{border-top-color:#d9d9d9}.bg-\\[\\#404040\\]{background-color:#404040}.bg-\\[\\#FEF2F2\\]{background-color:#fef2f2}.bg-black{background-color:var(--color-black)}.bg-black\\/5{background-color:#0000000d}@supports (color:color-mix(in lab, red, red)){.bg-black\\/5{background-color:color-mix(in oklab,var(--color-black)5%,transparent)}}.bg-black\\/25{background-color:#00000040}@supports (color:color-mix(in lab, red, red)){.bg-black\\/25{background-color:color-mix(in oklab,var(--color-black)25%,transparent)}}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-yellow-500{background-color:var(--color-yellow-500)}.p-0{padding:calc(var(--spacing)*0)}.px-0\\.25{padding-inline:calc(var(--spacing)*.25)}.px-1\\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-\\[3px\\]{padding-inline:3px}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-0\\.25{padding-block:calc(var(--spacing)*.25)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-px{padding-block:1px}.pt-1\\.5{padding-top:calc(var(--spacing)*1.5)}.pb-1{padding-bottom:calc(var(--spacing)*1)}.text-left{text-align:left}.font-sans{font-family:var(--font-sans)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[12px\\]{font-size:12px}.text-\\[13px\\]{font-size:13px}.leading-3{--tw-leading:calc(var(--spacing)*3);line-height:calc(var(--spacing)*3)}.leading-3\\.5{--tw-leading:calc(var(--spacing)*3.5);line-height:calc(var(--spacing)*3.5)}.leading-4{--tw-leading:calc(var(--spacing)*4);line-height:calc(var(--spacing)*4)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.wrap-break-word{overflow-wrap:break-word}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.text-\\[\\#71717a\\]{color:#71717a}.text-\\[\\#B3B3B3\\]{color:#b3b3b3}.text-\\[\\#B91C1C\\]{color:#b91c1c}.text-\\[\\#B91C1C\\]\\/50{color:oklab(50.542% .168942 .0880134/.5)}.text-black{color:var(--color-black)}.text-black\\/25{color:#00000040}@supports (color:color-mix(in lab, red, red)){.text-black\\/25{color:color-mix(in oklab,var(--color-black)25%,transparent)}}.text-black\\/30{color:#0000004d}@supports (color:color-mix(in lab, red, red)){.text-black\\/30{color:color-mix(in oklab,var(--color-black)30%,transparent)}}.text-black\\/40{color:#0006}@supports (color:color-mix(in lab, red, red)){.text-black\\/40{color:color-mix(in oklab,var(--color-black)40%,transparent)}}.text-black\\/50{color:#00000080}@supports (color:color-mix(in lab, red, red)){.text-black\\/50{color:color-mix(in oklab,var(--color-black)50%,transparent)}}.text-black\\/60{color:#0009}@supports (color:color-mix(in lab, red, red)){.text-black\\/60{color:color-mix(in oklab,var(--color-black)60%,transparent)}}.text-black\\/70{color:#000000b3}@supports (color:color-mix(in lab, red, red)){.text-black\\/70{color:color-mix(in oklab,var(--color-black)70%,transparent)}}.text-black\\/80{color:#000c}@supports (color:color-mix(in lab, red, red)){.text-black\\/80{color:color-mix(in oklab,var(--color-black)80%,transparent)}}.text-black\\/85{color:#000000d9}@supports (color:color-mix(in lab, red, red)){.text-black\\/85{color:color-mix(in oklab,var(--color-black)85%,transparent)}}.text-white{color:var(--color-white)}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-35{opacity:.35}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter-\\[drop-shadow\\(0px_1px_2px_\\#51515140\\)\\]{filter:drop-shadow(0 1px 2px #51515140)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[grid-template-columns\\,opacity\\]{transition-property:grid-template-columns,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[grid-template-rows\\,opacity\\]{transition-property:grid-template-rows,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[opacity\\,transform\\]{transition-property:opacity,transform;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[transform\\,opacity\\]{transition-property:transform,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.will-change-\\[opacity\\,transform\\]{will-change:opacity,transform}.contain-layout{--tw-contain-layout:layout;contain:var(--tw-contain-size,)var(--tw-contain-layout,)var(--tw-contain-paint,)var(--tw-contain-style,)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.\\[corner-shape\\:superellipse\\(1\\.25\\)\\]{corner-shape:superellipse(1.25)}.\\[font-synthesis\\:none\\]{font-synthesis:none}.\\[grid-area\\:1\\/1\\]{grid-area:1/1}.group-focus-within\\:invisible:is(:where(.group):focus-within *){visibility:hidden}.group-focus-within\\:visible:is(:where(.group):focus-within *){visibility:visible}@media (hover:hover){.group-hover\\:invisible:is(:where(.group):hover *){visibility:hidden}.group-hover\\:visible:is(:where(.group):hover *){visibility:visible}}.before\\:\\!min-h-full:before{content:var(--tw-content);min-height:100%!important}.before\\:\\!min-w-full:before{content:var(--tw-content);min-width:100%!important}.focus-within\\:bg-black\\/5:focus-within{background-color:#0000000d}@supports (color:color-mix(in lab, red, red)){.focus-within\\:bg-black\\/5:focus-within{background-color:color-mix(in oklab,var(--color-black)5%,transparent)}}@media (hover:hover){.hover\\:bg-\\[\\#F5F5F5\\]:hover{background-color:#f5f5f5}.hover\\:bg-\\[\\#FEE2E2\\]:hover{background-color:#fee2e2}.hover\\:bg-black\\/5:hover{background-color:#0000000d}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-black\\/5:hover{background-color:color-mix(in oklab,var(--color-black)5%,transparent)}}.hover\\:bg-black\\/10:hover{background-color:#0000001a}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-black\\/10:hover{background-color:color-mix(in oklab,var(--color-black)10%,transparent)}}.hover\\:text-\\[\\#B91C1C\\]:hover{color:#b91c1c}.hover\\:text-black:hover{color:var(--color-black)}.hover\\:text-black\\/60:hover{color:#0009}@supports (color:color-mix(in lab, red, red)){.hover\\:text-black\\/60:hover{color:color-mix(in oklab,var(--color-black)60%,transparent)}}.hover\\:opacity-100:hover{opacity:1}}.disabled\\:cursor-default:disabled{cursor:default}.disabled\\:opacity-40:disabled{opacity:.4}@media (hover:hover){.disabled\\:hover\\:bg-transparent:disabled:hover{background-color:#0000}}}:host{all:initial;direction:ltr}@keyframes shake{0%,to{transform:translate(0)}15%{transform:translate(-3px)}30%{transform:translate(3px)}45%{transform:translate(-3px)}60%{transform:translate(3px)}75%{transform:translate(-2px)}90%{transform:translate(2px)}}@keyframes pop-in{0%{opacity:0;transform:scale(.9)}70%{opacity:1;transform:scale(1.02)}to{opacity:1;transform:scale(1)}}@keyframes pop-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.95)}}@keyframes slide-in-bottom{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes slide-in-top{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@keyframes slide-in-left{0%{opacity:0;transform:translate(-8px)}to{opacity:1;transform:translate(0)}}@keyframes slide-in-right{0%{opacity:0;transform:translate(8px)}to{opacity:1;transform:translate(0)}}@keyframes success-pop{0%{opacity:0;transform:scale(.9)}60%{opacity:1;transform:scale(1.1)}80%{transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes tooltip-fade-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}@keyframes icon-loader-spin{0%{opacity:1}50%{opacity:.5}to{opacity:.2}}.icon-loader-bar{animation:.5s linear infinite icon-loader-spin}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.shimmer-text{color:#0000;background:linear-gradient(90deg,#71717a 0%,#a1a1aa 25%,#71717a 50%,#a1a1aa 75%,#71717a 100%) 0 0/200% 100%;-webkit-background-clip:text;background-clip:text;animation:2.5s linear infinite shimmer}@keyframes clock-flash{0%{transform:scale(1)}25%{transform:scale(1.2)}50%{transform:scale(.92)}75%{transform:scale(1.05)}to{transform:scale(1)}}.animate-clock-flash{will-change:transform;animation:.4s ease-out clock-flash}.animate-shake{will-change:transform;animation:.3s ease-out shake}.animate-pop-in{animation:pop-in var(--transition-normal)ease-out;will-change:transform,opacity}.animate-pop-out{animation:pop-out var(--transition-normal)ease-out forwards;will-change:transform,opacity}.animate-slide-in-bottom{animation:slide-in-bottom var(--transition-slow)ease-out;will-change:transform,opacity}.animate-slide-in-top{animation:slide-in-top var(--transition-slow)ease-out;will-change:transform,opacity}.animate-slide-in-left{animation:slide-in-left var(--transition-slow)ease-out;will-change:transform,opacity}.animate-slide-in-right{animation:slide-in-right var(--transition-slow)ease-out;will-change:transform,opacity}.animate-success-pop{will-change:transform,opacity;animation:.25s ease-out success-pop}.animate-tooltip-fade-in{animation:tooltip-fade-in var(--transition-fast)ease-out;will-change:transform,opacity}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-contain-size{syntax:"*";inherits:false}@property --tw-contain-layout{syntax:"*";inherits:false}@property --tw-contain-paint{syntax:"*";inherits:false}@property --tw-contain-style{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes pulse{50%{opacity:.5}}';
|
|
1887
|
+
styles_default = '/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-contain-size:initial;--tw-contain-layout:initial;--tw-contain-paint:initial;--tw-contain-style:initial;--tw-content:""}}}@layer theme{:root,:host{--font-sans:"Geist",ui-sans-serif,system-ui,sans-serif;--font-mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;--color-yellow-500:oklch(79.5% .184 86.047);--color-black:#000;--color-white:#fff;--spacing:4px;--text-sm:14px;--text-sm--line-height:calc(1.25/.875);--font-weight-medium:500;--radius-sm:4px;--ease-out:cubic-bezier(0,0,.2,1);--animate-ping:ping 1s cubic-bezier(0,0,.2,1)infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--transition-fast:.1s;--transition-normal:.15s;--transition-slow:.2s}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.touch-hitbox{position:relative}.touch-hitbox:before{content:"";width:100%;min-width:44px;height:100%;min-height:44px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.-top-0\\.5{top:calc(var(--spacing)*-.5)}.top-0{top:calc(var(--spacing)*0)}.top-0\\.5{top:calc(var(--spacing)*.5)}.top-1\\/2{top:50%}.top-full{top:100%}.-right-0\\.5{right:calc(var(--spacing)*-.5)}.right-full{right:100%}.bottom-full{bottom:100%}.left-0{left:calc(var(--spacing)*0)}.left-0\\.5{left:calc(var(--spacing)*.5)}.left-1\\.5{left:calc(var(--spacing)*1.5)}.left-1\\/2{left:50%}.left-2\\.5{left:calc(var(--spacing)*2.5)}.left-full{left:100%}.z-10{z-index:10}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.m-0{margin:calc(var(--spacing)*0)}.-mx-2{margin-inline:calc(var(--spacing)*-2)}.mx-0\\.5{margin-inline:calc(var(--spacing)*.5)}.-my-1\\.5{margin-block:calc(var(--spacing)*-1.5)}.my-0\\.5{margin-block:calc(var(--spacing)*.5)}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-2\\.5{margin-top:calc(var(--spacing)*2.5)}.mr-0\\.5{margin-right:calc(var(--spacing)*.5)}.mr-1\\.5{margin-right:calc(var(--spacing)*1.5)}.mr-2\\.5{margin-right:calc(var(--spacing)*2.5)}.mb-0\\.5{margin-bottom:calc(var(--spacing)*.5)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-1\\.5{margin-bottom:calc(var(--spacing)*1.5)}.mb-2\\.5{margin-bottom:calc(var(--spacing)*2.5)}.-ml-\\[2px\\]{margin-left:-2px}.ml-0\\.5{margin-left:calc(var(--spacing)*.5)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2\\.5{margin-left:calc(var(--spacing)*2.5)}.ml-4{margin-left:calc(var(--spacing)*4)}.ml-auto{margin-left:auto}.line-clamp-5{-webkit-line-clamp:5;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.size-1\\.5{width:calc(var(--spacing)*1.5);height:calc(var(--spacing)*1.5)}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-\\[18px\\]{width:18px;height:18px}.h-0{height:calc(var(--spacing)*0)}.h-1\\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.h-2\\.5{height:calc(var(--spacing)*2.5)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-\\[17px\\]{height:17px}.h-fit{height:fit-content}.max-h-\\[240px\\]{max-height:240px}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-4{min-height:calc(var(--spacing)*4)}.w-0{width:calc(var(--spacing)*0)}.w-1\\.5{width:calc(var(--spacing)*1.5)}.w-2{width:calc(var(--spacing)*2)}.w-3\\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-\\[calc\\(100\\%\\+16px\\)\\]{width:calc(100% + 16px)}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\\[280px\\]{max-width:280px}.max-w-full{max-width:100%}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-\\[100px\\]{min-width:100px}.min-w-\\[150px\\]{min-width:150px}.flex-1{flex:1}.flex-shrink,.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.scale-75{--tw-scale-x:75%;--tw-scale-y:75%;--tw-scale-z:75%;scale:var(--tw-scale-x)var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x)var(--tw-scale-y)}.-rotate-90{rotate:-90deg}.rotate-0{rotate:none}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.interactive-scale{transition-property:transform;transition-duration:var(--transition-normal);transition-timing-function:cubic-bezier(.34,1.56,.64,1)}@media (hover:hover) and (pointer:fine){.interactive-scale:hover{transform:scale(1.05)}}.interactive-scale:active{transform:scale(.97)}.press-scale{transition-property:transform;transition-duration:var(--transition-fast);transition-timing-function:ease-out}.press-scale:active{transform:scale(.97)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-ping{animation:var(--animate-ping)}.animate-pulse{animation:var(--animate-pulse)}.cursor-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.grid-cols-\\[0fr\\]{grid-template-columns:0fr}.grid-cols-\\[1fr\\]{grid-template-columns:1fr}.grid-rows-\\[0fr\\]{grid-template-rows:0fr}.grid-rows-\\[1fr\\]{grid-template-rows:1fr}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0\\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-\\[5px\\]{gap:5px}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-y-auto{overflow-y:auto}.rounded-\\[1px\\]{border-radius:1px}.rounded-\\[10px\\]{border-radius:10px}.rounded-full{border-radius:3.40282e38px}.rounded-sm{border-radius:var(--radius-sm)}.rounded-t-\\[10px\\]{border-top-left-radius:10px;border-top-right-radius:10px}.rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.rounded-l-\\[10px\\]{border-top-left-radius:10px;border-bottom-left-radius:10px}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r-\\[10px\\]{border-top-right-radius:10px;border-bottom-right-radius:10px}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.rounded-b-\\[6px\\]{border-bottom-right-radius:6px;border-bottom-left-radius:6px}.rounded-b-\\[10px\\]{border-bottom-right-radius:10px;border-bottom-left-radius:10px}.rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.border{border-style:var(--tw-border-style);border-width:1px}.\\[border-width\\:0\\.5px\\]{border-width:.5px}.\\[border-top-width\\:0\\.5px\\]{border-top-width:.5px}.border-none{--tw-border-style:none;border-style:none}.border-solid{--tw-border-style:solid;border-style:solid}.border-\\[\\#B3B3B3\\]{border-color:#b3b3b3}.border-t-\\[\\#D9D9D9\\]{border-top-color:#d9d9d9}.bg-\\[\\#404040\\]{background-color:#404040}.bg-\\[\\#FEF2F2\\]{background-color:#fef2f2}.bg-black{background-color:var(--color-black)}.bg-black\\/5{background-color:#0000000d}@supports (color:color-mix(in lab, red, red)){.bg-black\\/5{background-color:color-mix(in oklab,var(--color-black)5%,transparent)}}.bg-black\\/25{background-color:#00000040}@supports (color:color-mix(in lab, red, red)){.bg-black\\/25{background-color:color-mix(in oklab,var(--color-black)25%,transparent)}}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-yellow-500{background-color:var(--color-yellow-500)}.p-0{padding:calc(var(--spacing)*0)}.px-0\\.25{padding-inline:calc(var(--spacing)*.25)}.px-1\\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-\\[3px\\]{padding-inline:3px}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-0\\.25{padding-block:calc(var(--spacing)*.25)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-px{padding-block:1px}.pt-1\\.5{padding-top:calc(var(--spacing)*1.5)}.pb-1{padding-bottom:calc(var(--spacing)*1)}.text-left{text-align:left}.font-sans{font-family:var(--font-sans)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.text-\\[12px\\]{font-size:12px}.text-\\[13px\\]{font-size:13px}.leading-3{--tw-leading:calc(var(--spacing)*3);line-height:calc(var(--spacing)*3)}.leading-3\\.5{--tw-leading:calc(var(--spacing)*3.5);line-height:calc(var(--spacing)*3.5)}.leading-4{--tw-leading:calc(var(--spacing)*4);line-height:calc(var(--spacing)*4)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.wrap-break-word{overflow-wrap:break-word}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.text-\\[\\#71717a\\]{color:#71717a}.text-\\[\\#B3B3B3\\]{color:#b3b3b3}.text-\\[\\#B91C1C\\]{color:#b91c1c}.text-\\[\\#B91C1C\\]\\/50{color:oklab(50.542% .168942 .0880134/.5)}.text-black{color:var(--color-black)}.text-black\\/25{color:#00000040}@supports (color:color-mix(in lab, red, red)){.text-black\\/25{color:color-mix(in oklab,var(--color-black)25%,transparent)}}.text-black\\/30{color:#0000004d}@supports (color:color-mix(in lab, red, red)){.text-black\\/30{color:color-mix(in oklab,var(--color-black)30%,transparent)}}.text-black\\/40{color:#0006}@supports (color:color-mix(in lab, red, red)){.text-black\\/40{color:color-mix(in oklab,var(--color-black)40%,transparent)}}.text-black\\/50{color:#00000080}@supports (color:color-mix(in lab, red, red)){.text-black\\/50{color:color-mix(in oklab,var(--color-black)50%,transparent)}}.text-black\\/60{color:#0009}@supports (color:color-mix(in lab, red, red)){.text-black\\/60{color:color-mix(in oklab,var(--color-black)60%,transparent)}}.text-black\\/70{color:#000000b3}@supports (color:color-mix(in lab, red, red)){.text-black\\/70{color:color-mix(in oklab,var(--color-black)70%,transparent)}}.text-black\\/80{color:#000c}@supports (color:color-mix(in lab, red, red)){.text-black\\/80{color:color-mix(in oklab,var(--color-black)80%,transparent)}}.text-black\\/85{color:#000000d9}@supports (color:color-mix(in lab, red, red)){.text-black\\/85{color:color-mix(in oklab,var(--color-black)85%,transparent)}}.text-white{color:var(--color-white)}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-35{opacity:.35}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter-\\[drop-shadow\\(0px_1px_2px_\\#51515140\\)\\]{filter:drop-shadow(0 1px 2px #51515140)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[grid-template-columns\\,opacity\\]{transition-property:grid-template-columns,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[grid-template-rows\\,opacity\\]{transition-property:grid-template-rows,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[opacity\\,transform\\]{transition-property:opacity,transform;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[transform\\,opacity\\]{transition-property:transform,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.will-change-\\[opacity\\,transform\\]{will-change:opacity,transform}.contain-layout{--tw-contain-layout:layout;contain:var(--tw-contain-size,)var(--tw-contain-layout,)var(--tw-contain-paint,)var(--tw-contain-style,)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.\\[corner-shape\\:superellipse\\(1\\.25\\)\\]{corner-shape:superellipse(1.25)}.\\[font-synthesis\\:none\\]{font-synthesis:none}.\\[grid-area\\:1\\/1\\]{grid-area:1/1}.group-focus-within\\:invisible:is(:where(.group):focus-within *){visibility:hidden}.group-focus-within\\:visible:is(:where(.group):focus-within *){visibility:visible}@media (hover:hover){.group-hover\\:invisible:is(:where(.group):hover *){visibility:hidden}.group-hover\\:visible:is(:where(.group):hover *){visibility:visible}}.before\\:\\!min-h-full:before{content:var(--tw-content);min-height:100%!important}.before\\:\\!min-w-full:before{content:var(--tw-content);min-width:100%!important}.focus-within\\:bg-black\\/5:focus-within{background-color:#0000000d}@supports (color:color-mix(in lab, red, red)){.focus-within\\:bg-black\\/5:focus-within{background-color:color-mix(in oklab,var(--color-black)5%,transparent)}}@media (hover:hover){.hover\\:bg-\\[\\#F5F5F5\\]:hover{background-color:#f5f5f5}.hover\\:bg-\\[\\#FEE2E2\\]:hover{background-color:#fee2e2}.hover\\:bg-black\\/5:hover{background-color:#0000000d}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-black\\/5:hover{background-color:color-mix(in oklab,var(--color-black)5%,transparent)}}.hover\\:bg-black\\/10:hover{background-color:#0000001a}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-black\\/10:hover{background-color:color-mix(in oklab,var(--color-black)10%,transparent)}}.hover\\:text-\\[\\#B91C1C\\]:hover{color:#b91c1c}.hover\\:text-black:hover{color:var(--color-black)}.hover\\:text-black\\/60:hover{color:#0009}@supports (color:color-mix(in lab, red, red)){.hover\\:text-black\\/60:hover{color:color-mix(in oklab,var(--color-black)60%,transparent)}}.hover\\:opacity-100:hover{opacity:1}}.disabled\\:cursor-default:disabled{cursor:default}.disabled\\:opacity-40:disabled{opacity:.4}@media (hover:hover){.disabled\\:hover\\:bg-transparent:disabled:hover{background-color:#0000}}}:host{all:initial;direction:ltr}@keyframes shake{0%,to{transform:translate(0)}15%{transform:translate(-3px)}30%{transform:translate(3px)}45%{transform:translate(-3px)}60%{transform:translate(3px)}75%{transform:translate(-2px)}90%{transform:translate(2px)}}@keyframes pop-in{0%{opacity:0;transform:scale(.9)}70%{opacity:1;transform:scale(1.02)}to{opacity:1;transform:scale(1)}}@keyframes pop-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.95)}}@keyframes slide-in-bottom{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes slide-in-top{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@keyframes slide-in-left{0%{opacity:0;transform:translate(-8px)}to{opacity:1;transform:translate(0)}}@keyframes slide-in-right{0%{opacity:0;transform:translate(8px)}to{opacity:1;transform:translate(0)}}@keyframes success-pop{0%{opacity:0;transform:scale(.9)}60%{opacity:1;transform:scale(1.1)}80%{transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes tooltip-fade-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}@keyframes icon-loader-spin{0%{opacity:1}50%{opacity:.5}to{opacity:.2}}.icon-loader-bar{animation:.5s linear infinite icon-loader-spin}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.shimmer-text{color:#0000;background:linear-gradient(90deg,#71717a 0%,#a1a1aa 25%,#71717a 50%,#a1a1aa 75%,#71717a 100%) 0 0/200% 100%;-webkit-background-clip:text;background-clip:text;animation:2.5s linear infinite shimmer}@keyframes clock-flash{0%{transform:scale(1)}25%{transform:scale(1.2)}50%{transform:scale(.92)}75%{transform:scale(1.05)}to{transform:scale(1)}}.animate-clock-flash{will-change:transform;animation:.4s ease-out clock-flash}.animate-shake{will-change:transform;animation:.3s ease-out shake}.animate-pop-in{animation:pop-in var(--transition-normal)ease-out;will-change:transform,opacity}.animate-pop-out{animation:pop-out var(--transition-normal)ease-out forwards;will-change:transform,opacity}.animate-slide-in-bottom{animation:slide-in-bottom var(--transition-slow)ease-out;will-change:transform,opacity}.animate-slide-in-top{animation:slide-in-top var(--transition-slow)ease-out;will-change:transform,opacity}.animate-slide-in-left{animation:slide-in-left var(--transition-slow)ease-out;will-change:transform,opacity}.animate-slide-in-right{animation:slide-in-right var(--transition-slow)ease-out;will-change:transform,opacity}.animate-success-pop{will-change:transform,opacity;animation:.25s ease-out success-pop}.animate-tooltip-fade-in{animation:tooltip-fade-in var(--transition-fast)ease-out;will-change:transform,opacity}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-contain-size{syntax:"*";inherits:false}@property --tw-contain-layout{syntax:"*";inherits:false}@property --tw-contain-paint{syntax:"*";inherits:false}@property --tw-contain-style{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes pulse{50%{opacity:.5}}';
|
|
1888
1888
|
}
|
|
1889
1889
|
});
|
|
1890
1890
|
|
|
@@ -2136,11 +2136,11 @@ var init_store = __esm({
|
|
|
2136
2136
|
});
|
|
2137
2137
|
|
|
2138
2138
|
// src/constants.ts
|
|
2139
|
-
var VERSION, VIEWPORT_MARGIN_PX, OFFSCREEN_POSITION, SELECTION_LERP_FACTOR, FEEDBACK_DURATION_MS, FADE_DURATION_MS, FADE_COMPLETE_BUFFER_MS, DISMISS_ANIMATION_BUFFER_MS, KEYDOWN_SPAM_TIMEOUT_MS, BLUR_DEACTIVATION_THRESHOLD_MS, WINDOW_REFOCUS_GRACE_PERIOD_MS, INPUT_FOCUS_ACTIVATION_DELAY_MS, INPUT_TEXT_SELECTION_ACTIVATION_DELAY_MS, DEFERRED_EXECUTION_DELAY_MS, DEFAULT_KEY_HOLD_DURATION_MS, MIN_HOLD_FOR_ACTIVATION_AFTER_COPY_MS, RECENT_THRESHOLD_MS, FINDER_TIMEOUT_MS, SELECTOR_ATTR_VALUE_MAX_LENGTH_CHARS, ACTION_CYCLE_IDLE_TRIGGER_MS, DRAG_THRESHOLD_PX, ELEMENT_DETECTION_THROTTLE_MS, COMPONENT_NAME_DEBOUNCE_MS, DRAG_PREVIEW_DEBOUNCE_MS, BOUNDS_CACHE_TTL_MS, BOUNDS_RECALC_INTERVAL_MS, AUTO_SCROLL_EDGE_THRESHOLD_PX, AUTO_SCROLL_SPEED_PX, Z_INDEX_HOST, Z_INDEX_LABEL, Z_INDEX_OVERLAY_CANVAS, DRAG_LERP_FACTOR, LERP_CONVERGENCE_THRESHOLD_PX, FADE_OUT_BUFFER_MS, MIN_DEVICE_PIXEL_RATIO, GRAB_PURPLE_RGB, OVERLAY_CROSSHAIR_COLOR, OVERLAY_BORDER_COLOR_DRAG, OVERLAY_FILL_COLOR_DRAG, OVERLAY_BORDER_COLOR_DEFAULT, OVERLAY_FILL_COLOR_DEFAULT, FROZEN_GLOW_COLOR, FROZEN_GLOW_EDGE_PX, ARROW_HEIGHT_PX, ARROW_MIN_SIZE_PX, ARROW_MAX_LABEL_WIDTH_RATIO, ARROW_CENTER_PERCENT, ARROW_LABEL_MARGIN_PX, LABEL_GAP_PX, PREVIEW_TEXT_MAX_LENGTH, PREVIEW_ATTR_VALUE_MAX_LENGTH, PREVIEW_MAX_ATTRS, PREVIEW_PRIORITY_ATTRS,
|
|
2139
|
+
var VERSION, VIEWPORT_MARGIN_PX, OFFSCREEN_POSITION, SELECTION_LERP_FACTOR, FEEDBACK_DURATION_MS, FADE_DURATION_MS, FADE_COMPLETE_BUFFER_MS, DISMISS_ANIMATION_BUFFER_MS, KEYDOWN_SPAM_TIMEOUT_MS, BLUR_DEACTIVATION_THRESHOLD_MS, WINDOW_REFOCUS_GRACE_PERIOD_MS, INPUT_FOCUS_ACTIVATION_DELAY_MS, INPUT_TEXT_SELECTION_ACTIVATION_DELAY_MS, DEFERRED_EXECUTION_DELAY_MS, DEFAULT_KEY_HOLD_DURATION_MS, MIN_HOLD_FOR_ACTIVATION_AFTER_COPY_MS, RECENT_THRESHOLD_MS, FINDER_TIMEOUT_MS, SELECTOR_ATTR_VALUE_MAX_LENGTH_CHARS, ACTION_CYCLE_IDLE_TRIGGER_MS, DRAG_THRESHOLD_PX, ELEMENT_DETECTION_THROTTLE_MS, COMPONENT_NAME_DEBOUNCE_MS, DRAG_PREVIEW_DEBOUNCE_MS, BOUNDS_CACHE_TTL_MS, BOUNDS_RECALC_INTERVAL_MS, AUTO_SCROLL_EDGE_THRESHOLD_PX, AUTO_SCROLL_SPEED_PX, Z_INDEX_HOST, Z_INDEX_LABEL, Z_INDEX_OVERLAY_CANVAS, DRAG_LERP_FACTOR, LERP_CONVERGENCE_THRESHOLD_PX, FADE_OUT_BUFFER_MS, MIN_DEVICE_PIXEL_RATIO, GRAB_PURPLE_RGB, OVERLAY_CROSSHAIR_COLOR, OVERLAY_BORDER_COLOR_DRAG, OVERLAY_FILL_COLOR_DRAG, OVERLAY_BORDER_COLOR_DEFAULT, OVERLAY_FILL_COLOR_DEFAULT, FROZEN_GLOW_COLOR, FROZEN_GLOW_EDGE_PX, ARROW_HEIGHT_PX, ARROW_MIN_SIZE_PX, ARROW_MAX_LABEL_WIDTH_RATIO, ARROW_CENTER_PERCENT, ARROW_LABEL_MARGIN_PX, LABEL_GAP_PX, PREVIEW_TEXT_MAX_LENGTH, PREVIEW_ATTR_VALUE_MAX_LENGTH, PREVIEW_MAX_ATTRS, PREVIEW_PRIORITY_ATTRS, SYMBOLICATION_TIMEOUT_MS, MODIFIER_KEYS, ARROW_KEYS, FROZEN_ELEMENT_ATTRIBUTE, USER_IGNORE_ATTRIBUTE, VIEWPORT_COVERAGE_THRESHOLD, OVERLAY_Z_INDEX_THRESHOLD, DEV_TOOLS_OVERLAY_Z_INDEX_THRESHOLD, TOOLTIP_DELAY_MS, TOOLTIP_GRACE_PERIOD_MS, TOOLBAR_SNAP_MARGIN_PX, TOOLBAR_FADE_IN_DELAY_MS, TOOLBAR_SNAP_ANIMATION_DURATION_MS, TOOLBAR_DRAG_THRESHOLD_PX, TOOLBAR_VELOCITY_MULTIPLIER_MS, TOOLBAR_COLLAPSED_SHORT_PX, TOOLBAR_COLLAPSED_LONG_PX, TOOLBAR_COLLAPSE_ANIMATION_DURATION_MS, TOGGLE_ANIMATION_BUFFER_MS, TOOLBAR_DEFAULT_WIDTH_PX, TOOLBAR_DEFAULT_HEIGHT_PX, TOOLBAR_SHAKE_TOOLTIP_DURATION_MS, DRAG_SELECTION_COVERAGE_THRESHOLD, DRAG_SELECTION_SAMPLE_SPACING_PX, DRAG_SELECTION_MIN_SAMPLES_PER_AXIS, DRAG_SELECTION_MAX_SAMPLES_PER_AXIS, DRAG_SELECTION_MAX_TOTAL_SAMPLE_POINTS, DRAG_SELECTION_EDGE_INSET_PX, MAX_ARROW_NAVIGATION_HISTORY, MAX_MEMORY_SESSIONS, MAX_TRANSFORM_ANCESTOR_DEPTH, TRANSFORM_EARLY_BAIL_DEPTH, ELEMENT_POSITION_CACHE_DISTANCE_THRESHOLD_PX, ELEMENT_POSITION_THROTTLE_MS, VISIBILITY_CACHE_TTL_MS, ZOOM_DETECTION_THRESHOLD, MOUNT_ROOT_RECHECK_DELAY_MS, MAX_HISTORY_ITEMS, MAX_SESSION_STORAGE_SIZE_BYTES, DROPDOWN_ANIMATION_DURATION_MS, DROPDOWN_HOVER_OPEN_DELAY_MS, DROPDOWN_VIEWPORT_PADDING_PX, DROPDOWN_ANCHOR_GAP_PX, SAFE_POLYGON_BUFFER_PX, DROPDOWN_ICON_SIZE_PX, DROPDOWN_MIN_WIDTH_PX, DROPDOWN_MAX_WIDTH_PX, TOOLBAR_MENU_MIN_WIDTH_PX, PANEL_STYLES, DROPDOWN_OFFSCREEN_POSITION, DROPDOWN_EDGE_TRANSFORM_ORIGIN, LOGO_SVG, NEXTJS_REVALIDATION_DELAY_MS, IME_COMPOSING_KEY_CODE, SELECTION_LABEL_OFFSCREEN_PX, RELEVANT_CSS_PROPERTIES;
|
|
2140
2140
|
var init_constants = __esm({
|
|
2141
2141
|
"src/constants.ts"() {
|
|
2142
2142
|
"use strict";
|
|
2143
|
-
VERSION = "0.1.
|
|
2143
|
+
VERSION = "0.1.18";
|
|
2144
2144
|
VIEWPORT_MARGIN_PX = 8;
|
|
2145
2145
|
OFFSCREEN_POSITION = -1e3;
|
|
2146
2146
|
SELECTION_LERP_FACTOR = 0.95;
|
|
@@ -2201,11 +2201,7 @@ var init_constants = __esm({
|
|
|
2201
2201
|
"name",
|
|
2202
2202
|
"title"
|
|
2203
2203
|
];
|
|
2204
|
-
SCREENSHOT_CAPTURE_DELAY_MS = 50;
|
|
2205
2204
|
SYMBOLICATION_TIMEOUT_MS = 5e3;
|
|
2206
|
-
VIDEO_METADATA_TIMEOUT_MS = 5e3;
|
|
2207
|
-
VIDEO_READY_POLL_INTERVAL_MS = 10;
|
|
2208
|
-
VIDEO_READY_TIMEOUT_MS = 2e3;
|
|
2209
2205
|
MODIFIER_KEYS = [
|
|
2210
2206
|
"Meta",
|
|
2211
2207
|
"Control",
|
|
@@ -2275,6 +2271,93 @@ var init_constants = __esm({
|
|
|
2275
2271
|
NEXTJS_REVALIDATION_DELAY_MS = 1e3;
|
|
2276
2272
|
IME_COMPOSING_KEY_CODE = 229;
|
|
2277
2273
|
SELECTION_LABEL_OFFSCREEN_PX = -9999;
|
|
2274
|
+
RELEVANT_CSS_PROPERTIES = /* @__PURE__ */ new Set([
|
|
2275
|
+
"display",
|
|
2276
|
+
"position",
|
|
2277
|
+
"top",
|
|
2278
|
+
"right",
|
|
2279
|
+
"bottom",
|
|
2280
|
+
"left",
|
|
2281
|
+
"z-index",
|
|
2282
|
+
"overflow",
|
|
2283
|
+
"overflow-x",
|
|
2284
|
+
"overflow-y",
|
|
2285
|
+
"width",
|
|
2286
|
+
"height",
|
|
2287
|
+
"min-width",
|
|
2288
|
+
"min-height",
|
|
2289
|
+
"max-width",
|
|
2290
|
+
"max-height",
|
|
2291
|
+
"margin-top",
|
|
2292
|
+
"margin-right",
|
|
2293
|
+
"margin-bottom",
|
|
2294
|
+
"margin-left",
|
|
2295
|
+
"padding-top",
|
|
2296
|
+
"padding-right",
|
|
2297
|
+
"padding-bottom",
|
|
2298
|
+
"padding-left",
|
|
2299
|
+
"flex-direction",
|
|
2300
|
+
"flex-wrap",
|
|
2301
|
+
"justify-content",
|
|
2302
|
+
"align-items",
|
|
2303
|
+
"align-self",
|
|
2304
|
+
"align-content",
|
|
2305
|
+
"flex-grow",
|
|
2306
|
+
"flex-shrink",
|
|
2307
|
+
"flex-basis",
|
|
2308
|
+
"order",
|
|
2309
|
+
"gap",
|
|
2310
|
+
"row-gap",
|
|
2311
|
+
"column-gap",
|
|
2312
|
+
"grid-template-columns",
|
|
2313
|
+
"grid-template-rows",
|
|
2314
|
+
"grid-template-areas",
|
|
2315
|
+
"font-family",
|
|
2316
|
+
"font-size",
|
|
2317
|
+
"font-weight",
|
|
2318
|
+
"font-style",
|
|
2319
|
+
"line-height",
|
|
2320
|
+
"letter-spacing",
|
|
2321
|
+
"text-align",
|
|
2322
|
+
"text-decoration-line",
|
|
2323
|
+
"text-decoration-style",
|
|
2324
|
+
"text-transform",
|
|
2325
|
+
"text-overflow",
|
|
2326
|
+
"text-shadow",
|
|
2327
|
+
"white-space",
|
|
2328
|
+
"word-break",
|
|
2329
|
+
"overflow-wrap",
|
|
2330
|
+
"vertical-align",
|
|
2331
|
+
"color",
|
|
2332
|
+
"background-color",
|
|
2333
|
+
"background-image",
|
|
2334
|
+
"background-position",
|
|
2335
|
+
"background-size",
|
|
2336
|
+
"background-repeat",
|
|
2337
|
+
"border-top-width",
|
|
2338
|
+
"border-right-width",
|
|
2339
|
+
"border-bottom-width",
|
|
2340
|
+
"border-left-width",
|
|
2341
|
+
"border-top-style",
|
|
2342
|
+
"border-right-style",
|
|
2343
|
+
"border-bottom-style",
|
|
2344
|
+
"border-left-style",
|
|
2345
|
+
"border-top-color",
|
|
2346
|
+
"border-right-color",
|
|
2347
|
+
"border-bottom-color",
|
|
2348
|
+
"border-left-color",
|
|
2349
|
+
"border-top-left-radius",
|
|
2350
|
+
"border-top-right-radius",
|
|
2351
|
+
"border-bottom-left-radius",
|
|
2352
|
+
"border-bottom-right-radius",
|
|
2353
|
+
"box-shadow",
|
|
2354
|
+
"opacity",
|
|
2355
|
+
"transform",
|
|
2356
|
+
"filter",
|
|
2357
|
+
"backdrop-filter",
|
|
2358
|
+
"object-fit",
|
|
2359
|
+
"object-position"
|
|
2360
|
+
]);
|
|
2278
2361
|
}
|
|
2279
2362
|
});
|
|
2280
2363
|
|
|
@@ -3774,7 +3857,7 @@ var init_truncate_string = __esm({
|
|
|
3774
3857
|
});
|
|
3775
3858
|
|
|
3776
3859
|
// src/core/context.ts
|
|
3777
|
-
var NEXT_INTERNAL_COMPONENT_NAMES, REACT_INTERNAL_COMPONENT_NAMES, cachedIsNextProject, checkIsNextProject, checkIsInternalComponentName, checkIsSourceComponentName, SERVER_COMPONENT_URL_PREFIXES, isServerComponentUrl, devirtualizeServerUrl, symbolicateServerFrames, extractServerFramesFromDebugStack, enrichServerFrameLocations, stackCache, fetchStackForElement, getStack, getNearestComponentName, resolveSourceFromStack, isUsefulComponentName, getComponentDisplayName, hasSourceFiles, getComponentNamesFromFiber, getElementContext, getFallbackContext, truncateAttrValue, formatPriorityAttrs, getHTMLPreview;
|
|
3860
|
+
var NEXT_INTERNAL_COMPONENT_NAMES, REACT_INTERNAL_COMPONENT_NAMES, cachedIsNextProject, checkIsNextProject, checkIsInternalComponentName, checkIsSourceComponentName, SERVER_COMPONENT_URL_PREFIXES, isServerComponentUrl, devirtualizeServerUrl, symbolicateServerFrames, extractServerFramesFromDebugStack, enrichServerFrameLocations, stackCache, fetchStackForElement, getStack, getNearestComponentName, resolveSourceFromStack, isUsefulComponentName, getComponentDisplayName, hasSourceFiles, getComponentNamesFromFiber, formatStackContext, getStackContext, getElementContext, getFallbackContext, truncateAttrValue, formatPriorityAttrs, getHTMLPreview;
|
|
3778
3861
|
var init_context = __esm({
|
|
3779
3862
|
"src/core/context.ts"() {
|
|
3780
3863
|
"use strict";
|
|
@@ -4050,46 +4133,56 @@ var init_context = __esm({
|
|
|
4050
4133
|
);
|
|
4051
4134
|
return componentNames;
|
|
4052
4135
|
};
|
|
4053
|
-
|
|
4136
|
+
formatStackContext = (stack, options = {}) => {
|
|
4054
4137
|
const { maxLines = 3 } = options;
|
|
4055
|
-
const
|
|
4056
|
-
const
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
const
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
if (frame.isServer && !hasResolvedSource && (!frame.functionName || checkIsSourceComponentName(frame.functionName))) {
|
|
4064
|
-
stackContext.push(
|
|
4065
|
-
`
|
|
4138
|
+
const isNextProject = checkIsNextProject();
|
|
4139
|
+
const stackContext = [];
|
|
4140
|
+
for (const frame of stack) {
|
|
4141
|
+
if (stackContext.length >= maxLines) break;
|
|
4142
|
+
const hasResolvedSource = frame.fileName && Pe2(frame.fileName);
|
|
4143
|
+
if (frame.isServer && !hasResolvedSource && (!frame.functionName || checkIsSourceComponentName(frame.functionName))) {
|
|
4144
|
+
stackContext.push(
|
|
4145
|
+
`
|
|
4066
4146
|
in ${frame.functionName || "<anonymous>"} (at Server)`
|
|
4067
|
-
|
|
4068
|
-
|
|
4147
|
+
);
|
|
4148
|
+
continue;
|
|
4149
|
+
}
|
|
4150
|
+
if (hasResolvedSource) {
|
|
4151
|
+
let line = "\n in ";
|
|
4152
|
+
const hasComponentName = frame.functionName && checkIsSourceComponentName(frame.functionName);
|
|
4153
|
+
if (hasComponentName) {
|
|
4154
|
+
line += `${frame.functionName} (at `;
|
|
4069
4155
|
}
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
if (hasComponentName) {
|
|
4074
|
-
line += `${frame.functionName} (at `;
|
|
4075
|
-
}
|
|
4076
|
-
line += Ne2(frame.fileName);
|
|
4077
|
-
if (isNextProject && frame.lineNumber && frame.columnNumber) {
|
|
4078
|
-
line += `:${frame.lineNumber}:${frame.columnNumber}`;
|
|
4079
|
-
}
|
|
4080
|
-
if (hasComponentName) {
|
|
4081
|
-
line += `)`;
|
|
4082
|
-
}
|
|
4083
|
-
stackContext.push(line);
|
|
4156
|
+
line += Ne2(frame.fileName);
|
|
4157
|
+
if (isNextProject && frame.lineNumber && frame.columnNumber) {
|
|
4158
|
+
line += `:${frame.lineNumber}:${frame.columnNumber}`;
|
|
4084
4159
|
}
|
|
4160
|
+
if (hasComponentName) {
|
|
4161
|
+
line += `)`;
|
|
4162
|
+
}
|
|
4163
|
+
stackContext.push(line);
|
|
4085
4164
|
}
|
|
4086
|
-
|
|
4165
|
+
}
|
|
4166
|
+
return stackContext.join("");
|
|
4167
|
+
};
|
|
4168
|
+
getStackContext = async (element, options = {}) => {
|
|
4169
|
+
const maxLines = options.maxLines ?? 3;
|
|
4170
|
+
const stack = await getStack(element);
|
|
4171
|
+
if (stack && hasSourceFiles(stack)) {
|
|
4172
|
+
return formatStackContext(stack, options);
|
|
4087
4173
|
}
|
|
4088
4174
|
const componentNames = getComponentNamesFromFiber(element, maxLines);
|
|
4089
4175
|
if (componentNames.length > 0) {
|
|
4090
|
-
|
|
4176
|
+
return componentNames.map((name) => `
|
|
4091
4177
|
in ${name}`).join("");
|
|
4092
|
-
|
|
4178
|
+
}
|
|
4179
|
+
return "";
|
|
4180
|
+
};
|
|
4181
|
+
getElementContext = async (element, options = {}) => {
|
|
4182
|
+
const html = getHTMLPreview(element);
|
|
4183
|
+
const stackContext = await getStackContext(element, options);
|
|
4184
|
+
if (stackContext) {
|
|
4185
|
+
return `${html}${stackContext}`;
|
|
4093
4186
|
}
|
|
4094
4187
|
return getFallbackContext(element);
|
|
4095
4188
|
};
|
|
@@ -12813,6 +12906,7 @@ var init_noop_api = __esm({
|
|
|
12813
12906
|
},
|
|
12814
12907
|
copyElement: () => Promise.resolve(false),
|
|
12815
12908
|
getSource: () => Promise.resolve(null),
|
|
12909
|
+
getStackContext: () => Promise.resolve(""),
|
|
12816
12910
|
getState,
|
|
12817
12911
|
setOptions: () => {
|
|
12818
12912
|
},
|
|
@@ -13602,12 +13696,11 @@ var init_is_target_key_combination = __esm({
|
|
|
13602
13696
|
}
|
|
13603
13697
|
});
|
|
13604
13698
|
|
|
13605
|
-
// src/utils/
|
|
13606
|
-
var combineBounds
|
|
13607
|
-
var
|
|
13608
|
-
"src/utils/
|
|
13699
|
+
// src/utils/combine-bounds.ts
|
|
13700
|
+
var combineBounds;
|
|
13701
|
+
var init_combine_bounds = __esm({
|
|
13702
|
+
"src/utils/combine-bounds.ts"() {
|
|
13609
13703
|
"use strict";
|
|
13610
|
-
init_constants();
|
|
13611
13704
|
combineBounds = (boundsList) => {
|
|
13612
13705
|
if (boundsList.length === 0) {
|
|
13613
13706
|
return { x: 0, y: 0, width: 0, height: 0 };
|
|
@@ -13632,129 +13725,6 @@ var init_capture_screenshot = __esm({
|
|
|
13632
13725
|
height: maxY - minY
|
|
13633
13726
|
};
|
|
13634
13727
|
};
|
|
13635
|
-
captureVideoFrame = (video, bounds) => {
|
|
13636
|
-
return new Promise((resolve, reject) => {
|
|
13637
|
-
const canvas = document.createElement("canvas");
|
|
13638
|
-
const context = canvas.getContext("2d");
|
|
13639
|
-
if (!context) {
|
|
13640
|
-
reject(new Error("Failed to get canvas context"));
|
|
13641
|
-
return;
|
|
13642
|
-
}
|
|
13643
|
-
const scaleX = video.videoWidth / window.innerWidth;
|
|
13644
|
-
const scaleY = video.videoHeight / window.innerHeight;
|
|
13645
|
-
const scaledBounds = {
|
|
13646
|
-
x: bounds.x * scaleX,
|
|
13647
|
-
y: bounds.y * scaleY,
|
|
13648
|
-
width: bounds.width * scaleX,
|
|
13649
|
-
height: bounds.height * scaleY
|
|
13650
|
-
};
|
|
13651
|
-
canvas.width = scaledBounds.width;
|
|
13652
|
-
canvas.height = scaledBounds.height;
|
|
13653
|
-
context.drawImage(
|
|
13654
|
-
video,
|
|
13655
|
-
scaledBounds.x,
|
|
13656
|
-
scaledBounds.y,
|
|
13657
|
-
scaledBounds.width,
|
|
13658
|
-
scaledBounds.height,
|
|
13659
|
-
0,
|
|
13660
|
-
0,
|
|
13661
|
-
scaledBounds.width,
|
|
13662
|
-
scaledBounds.height
|
|
13663
|
-
);
|
|
13664
|
-
canvas.toBlob(
|
|
13665
|
-
(blob) => {
|
|
13666
|
-
if (blob) {
|
|
13667
|
-
resolve(blob);
|
|
13668
|
-
} else {
|
|
13669
|
-
reject(new Error("Failed to create image blob"));
|
|
13670
|
-
}
|
|
13671
|
-
},
|
|
13672
|
-
"image/png",
|
|
13673
|
-
1
|
|
13674
|
-
);
|
|
13675
|
-
});
|
|
13676
|
-
};
|
|
13677
|
-
captureElementScreenshot = async (bounds) => {
|
|
13678
|
-
const stream = await navigator.mediaDevices.getDisplayMedia({
|
|
13679
|
-
video: {
|
|
13680
|
-
displaySurface: "browser"
|
|
13681
|
-
},
|
|
13682
|
-
preferCurrentTab: true
|
|
13683
|
-
});
|
|
13684
|
-
const video = document.createElement("video");
|
|
13685
|
-
video.srcObject = stream;
|
|
13686
|
-
video.autoplay = true;
|
|
13687
|
-
video.playsInline = true;
|
|
13688
|
-
await new Promise((resolve, reject) => {
|
|
13689
|
-
const timeout = setTimeout(() => {
|
|
13690
|
-
reject(new Error("Video metadata loading timed out"));
|
|
13691
|
-
}, VIDEO_METADATA_TIMEOUT_MS);
|
|
13692
|
-
video.onerror = () => {
|
|
13693
|
-
clearTimeout(timeout);
|
|
13694
|
-
reject(new Error("Video failed to load"));
|
|
13695
|
-
};
|
|
13696
|
-
video.onloadedmetadata = () => {
|
|
13697
|
-
clearTimeout(timeout);
|
|
13698
|
-
void video.play();
|
|
13699
|
-
resolve();
|
|
13700
|
-
};
|
|
13701
|
-
});
|
|
13702
|
-
await new Promise((resolve, reject) => {
|
|
13703
|
-
const startTime = Date.now();
|
|
13704
|
-
const checkReady = () => {
|
|
13705
|
-
if (video.readyState >= HTMLMediaElement.HAVE_CURRENT_DATA) {
|
|
13706
|
-
resolve();
|
|
13707
|
-
return;
|
|
13708
|
-
}
|
|
13709
|
-
if (Date.now() - startTime >= VIDEO_READY_TIMEOUT_MS) {
|
|
13710
|
-
reject(new Error("Video frame not ready within timeout"));
|
|
13711
|
-
return;
|
|
13712
|
-
}
|
|
13713
|
-
setTimeout(checkReady, VIDEO_READY_POLL_INTERVAL_MS);
|
|
13714
|
-
};
|
|
13715
|
-
checkReady();
|
|
13716
|
-
});
|
|
13717
|
-
try {
|
|
13718
|
-
const blob = await captureVideoFrame(video, bounds);
|
|
13719
|
-
return blob;
|
|
13720
|
-
} finally {
|
|
13721
|
-
stream.getTracks().forEach((track) => track.stop());
|
|
13722
|
-
video.srcObject = null;
|
|
13723
|
-
}
|
|
13724
|
-
};
|
|
13725
|
-
copyImageToClipboard = async (blob) => {
|
|
13726
|
-
try {
|
|
13727
|
-
await navigator.clipboard.write([new ClipboardItem({ [blob.type]: blob })]);
|
|
13728
|
-
return true;
|
|
13729
|
-
} catch {
|
|
13730
|
-
return false;
|
|
13731
|
-
}
|
|
13732
|
-
};
|
|
13733
|
-
}
|
|
13734
|
-
});
|
|
13735
|
-
|
|
13736
|
-
// src/utils/is-screenshot-supported.ts
|
|
13737
|
-
var isScreenshotSupported;
|
|
13738
|
-
var init_is_screenshot_supported = __esm({
|
|
13739
|
-
"src/utils/is-screenshot-supported.ts"() {
|
|
13740
|
-
"use strict";
|
|
13741
|
-
isScreenshotSupported = () => {
|
|
13742
|
-
if (typeof window === "undefined" || typeof navigator === "undefined") {
|
|
13743
|
-
return false;
|
|
13744
|
-
}
|
|
13745
|
-
const hasGetDisplayMedia = typeof navigator.mediaDevices?.getDisplayMedia === "function";
|
|
13746
|
-
const hasClipboardWrite = typeof navigator.clipboard?.write === "function" && typeof ClipboardItem !== "undefined";
|
|
13747
|
-
return hasGetDisplayMedia && hasClipboardWrite;
|
|
13748
|
-
};
|
|
13749
|
-
}
|
|
13750
|
-
});
|
|
13751
|
-
|
|
13752
|
-
// src/utils/delay.ts
|
|
13753
|
-
var delay;
|
|
13754
|
-
var init_delay = __esm({
|
|
13755
|
-
"src/utils/delay.ts"() {
|
|
13756
|
-
"use strict";
|
|
13757
|
-
delay = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
13758
13728
|
}
|
|
13759
13729
|
});
|
|
13760
13730
|
|
|
@@ -14007,7 +13977,6 @@ var init_plugin_registry = __esm({
|
|
|
14007
13977
|
cancelPendingToolbarActions: () => callHook("cancelPendingToolbarActions"),
|
|
14008
13978
|
onOpenFile: (filePath, lineNumber) => callHookWithHandled("onOpenFile", filePath, lineNumber),
|
|
14009
13979
|
transformHtmlContent: async (html, elements) => callHookReduce("transformHtmlContent", html, elements),
|
|
14010
|
-
transformScreenshot: async (blob, elements, bounds) => callHookReduce("transformScreenshot", blob, elements, bounds),
|
|
14011
13980
|
transformAgentContext: async (context, elements) => callHookReduce("transformAgentContext", context, elements),
|
|
14012
13981
|
transformActionContext: (context) => callHookReduceSync("transformActionContext", context),
|
|
14013
13982
|
transformOpenFileUrl: (url, filePath, lineNumber) => callHookReduceSync("transformOpenFileUrl", url, filePath, lineNumber),
|
|
@@ -14921,7 +14890,7 @@ var init_log_intro = __esm({
|
|
|
14921
14890
|
init_is_extension_context();
|
|
14922
14891
|
logIntro = () => {
|
|
14923
14892
|
try {
|
|
14924
|
-
const version = "0.1.
|
|
14893
|
+
const version = "0.1.18";
|
|
14925
14894
|
const logoDataUri = `data:image/svg+xml;base64,${btoa(LOGO_SVG)}`;
|
|
14926
14895
|
console.log(
|
|
14927
14896
|
`%cReact Grab${version ? ` v${version}` : ""}%c
|
|
@@ -15118,11 +15087,25 @@ var init_open = __esm({
|
|
|
15118
15087
|
}
|
|
15119
15088
|
});
|
|
15120
15089
|
|
|
15090
|
+
// src/utils/append-stack-context.ts
|
|
15091
|
+
var appendStackContext;
|
|
15092
|
+
var init_append_stack_context = __esm({
|
|
15093
|
+
"src/utils/append-stack-context.ts"() {
|
|
15094
|
+
"use strict";
|
|
15095
|
+
appendStackContext = (content, stackContext) => {
|
|
15096
|
+
if (!stackContext) return content;
|
|
15097
|
+
return `${content}
|
|
15098
|
+
${stackContext}`;
|
|
15099
|
+
};
|
|
15100
|
+
}
|
|
15101
|
+
});
|
|
15102
|
+
|
|
15121
15103
|
// src/core/plugins/copy-html.ts
|
|
15122
15104
|
var copyHtmlPlugin;
|
|
15123
15105
|
var init_copy_html = __esm({
|
|
15124
15106
|
"src/core/plugins/copy-html.ts"() {
|
|
15125
15107
|
"use strict";
|
|
15108
|
+
init_append_stack_context();
|
|
15126
15109
|
init_copy_content();
|
|
15127
15110
|
copyHtmlPlugin = {
|
|
15128
15111
|
name: "copy-html",
|
|
@@ -15133,10 +15116,12 @@ var init_copy_html = __esm({
|
|
|
15133
15116
|
onElementSelect: (element) => {
|
|
15134
15117
|
if (!isPendingSelection) return;
|
|
15135
15118
|
isPendingSelection = false;
|
|
15136
|
-
void
|
|
15137
|
-
|
|
15138
|
-
|
|
15139
|
-
|
|
15119
|
+
void Promise.all([
|
|
15120
|
+
hooks.transformHtmlContent(element.outerHTML, [element]),
|
|
15121
|
+
api.getStackContext(element)
|
|
15122
|
+
]).then(([transformedHtml, stackContext]) => {
|
|
15123
|
+
if (!transformedHtml) return;
|
|
15124
|
+
copyContent(appendStackContext(transformedHtml, stackContext));
|
|
15140
15125
|
}).catch(() => {
|
|
15141
15126
|
});
|
|
15142
15127
|
return true;
|
|
@@ -15160,7 +15145,14 @@ var init_copy_html = __esm({
|
|
|
15160
15145
|
context.elements
|
|
15161
15146
|
);
|
|
15162
15147
|
if (!transformedHtml) return false;
|
|
15163
|
-
|
|
15148
|
+
const stackContext = await api.getStackContext(context.element);
|
|
15149
|
+
return copyContent(
|
|
15150
|
+
appendStackContext(transformedHtml, stackContext),
|
|
15151
|
+
{
|
|
15152
|
+
componentName: context.componentName,
|
|
15153
|
+
tagName: context.tagName
|
|
15154
|
+
}
|
|
15155
|
+
);
|
|
15164
15156
|
});
|
|
15165
15157
|
}
|
|
15166
15158
|
},
|
|
@@ -15180,49 +15172,103 @@ var init_copy_html = __esm({
|
|
|
15180
15172
|
}
|
|
15181
15173
|
});
|
|
15182
15174
|
|
|
15183
|
-
// src/
|
|
15184
|
-
var
|
|
15185
|
-
var
|
|
15186
|
-
"src/
|
|
15175
|
+
// src/utils/extract-element-css.ts
|
|
15176
|
+
var BORDER_FILTER_SIDE_MAP, baselineIframe, defaultStylesByTag, ensureBaselineIframe, getDefaultStylesForTag, isBorderPropertyWithoutWidth, extractElementCss, disposeBaselineStyles;
|
|
15177
|
+
var init_extract_element_css = __esm({
|
|
15178
|
+
"src/utils/extract-element-css.ts"() {
|
|
15187
15179
|
"use strict";
|
|
15188
15180
|
init_constants();
|
|
15189
|
-
|
|
15190
|
-
|
|
15191
|
-
|
|
15192
|
-
|
|
15193
|
-
|
|
15194
|
-
const rect = element.getBoundingClientRect();
|
|
15195
|
-
return {
|
|
15196
|
-
x: rect.x + window.scrollX,
|
|
15197
|
-
y: rect.y + window.scrollY,
|
|
15198
|
-
width: rect.width,
|
|
15199
|
-
height: rect.height
|
|
15200
|
-
};
|
|
15201
|
-
})
|
|
15181
|
+
BORDER_FILTER_SIDE_MAP = new Map(
|
|
15182
|
+
["top", "right", "bottom", "left"].flatMap((side) => [
|
|
15183
|
+
[`border-${side}-style`, side],
|
|
15184
|
+
[`border-${side}-color`, side]
|
|
15185
|
+
])
|
|
15202
15186
|
);
|
|
15203
|
-
|
|
15204
|
-
|
|
15205
|
-
|
|
15206
|
-
|
|
15207
|
-
|
|
15208
|
-
|
|
15209
|
-
|
|
15210
|
-
|
|
15211
|
-
|
|
15212
|
-
|
|
15213
|
-
|
|
15187
|
+
baselineIframe = null;
|
|
15188
|
+
defaultStylesByTag = /* @__PURE__ */ new Map();
|
|
15189
|
+
ensureBaselineIframe = () => {
|
|
15190
|
+
if (baselineIframe) return baselineIframe;
|
|
15191
|
+
baselineIframe = document.createElement("iframe");
|
|
15192
|
+
baselineIframe.style.cssText = "position:fixed;left:-9999px;width:0;height:0;border:none;visibility:hidden;";
|
|
15193
|
+
document.body.appendChild(baselineIframe);
|
|
15194
|
+
return baselineIframe;
|
|
15195
|
+
};
|
|
15196
|
+
getDefaultStylesForTag = (tagName) => {
|
|
15197
|
+
const cached = defaultStylesByTag.get(tagName);
|
|
15198
|
+
if (cached) return cached;
|
|
15199
|
+
const iframe = ensureBaselineIframe();
|
|
15200
|
+
const iframeDocument = iframe.contentDocument;
|
|
15201
|
+
const baselineElement = iframeDocument.createElement(tagName);
|
|
15202
|
+
iframeDocument.body.appendChild(baselineElement);
|
|
15203
|
+
const baselineComputed = iframe.contentWindow.getComputedStyle(baselineElement);
|
|
15204
|
+
const defaultStyles = /* @__PURE__ */ new Map();
|
|
15205
|
+
for (const propertyName of RELEVANT_CSS_PROPERTIES) {
|
|
15206
|
+
const propertyValue = baselineComputed.getPropertyValue(propertyName);
|
|
15207
|
+
if (propertyValue) {
|
|
15208
|
+
defaultStyles.set(propertyName, propertyValue);
|
|
15209
|
+
}
|
|
15210
|
+
}
|
|
15211
|
+
baselineElement.remove();
|
|
15212
|
+
defaultStylesByTag.set(tagName, defaultStyles);
|
|
15213
|
+
return defaultStyles;
|
|
15214
|
+
};
|
|
15215
|
+
isBorderPropertyWithoutWidth = (propertyName, computedStyle) => {
|
|
15216
|
+
const side = BORDER_FILTER_SIDE_MAP.get(propertyName);
|
|
15217
|
+
if (!side) return false;
|
|
15218
|
+
const widthValue = computedStyle.getPropertyValue(`border-${side}-width`);
|
|
15219
|
+
return widthValue === "0px" || widthValue === "0";
|
|
15220
|
+
};
|
|
15221
|
+
extractElementCss = (element) => {
|
|
15222
|
+
const tagName = element.tagName.toLowerCase();
|
|
15223
|
+
const defaultStyles = getDefaultStylesForTag(tagName);
|
|
15224
|
+
const computedStyle = getComputedStyle(element);
|
|
15225
|
+
const declarations = [];
|
|
15226
|
+
for (const propertyName of RELEVANT_CSS_PROPERTIES) {
|
|
15227
|
+
const propertyValue = computedStyle.getPropertyValue(propertyName);
|
|
15228
|
+
if (!propertyValue) continue;
|
|
15229
|
+
if (propertyValue === defaultStyles.get(propertyName)) continue;
|
|
15230
|
+
if (isBorderPropertyWithoutWidth(propertyName, computedStyle)) continue;
|
|
15231
|
+
declarations.push(`${propertyName}: ${propertyValue};`);
|
|
15232
|
+
}
|
|
15233
|
+
const classAttribute = element.getAttribute("class")?.trim();
|
|
15234
|
+
const cssBlock = declarations.join("\n");
|
|
15235
|
+
if (!classAttribute) return cssBlock;
|
|
15236
|
+
if (!cssBlock) return `className: ${classAttribute}`;
|
|
15237
|
+
return `className: ${classAttribute}
|
|
15238
|
+
|
|
15239
|
+
${cssBlock}`;
|
|
15214
15240
|
};
|
|
15215
|
-
|
|
15216
|
-
|
|
15217
|
-
|
|
15241
|
+
disposeBaselineStyles = () => {
|
|
15242
|
+
baselineIframe?.remove();
|
|
15243
|
+
baselineIframe = null;
|
|
15244
|
+
defaultStylesByTag.clear();
|
|
15245
|
+
};
|
|
15246
|
+
}
|
|
15247
|
+
});
|
|
15248
|
+
|
|
15249
|
+
// src/core/plugins/copy-css.ts
|
|
15250
|
+
var copyCssPlugin;
|
|
15251
|
+
var init_copy_css = __esm({
|
|
15252
|
+
"src/core/plugins/copy-css.ts"() {
|
|
15253
|
+
"use strict";
|
|
15254
|
+
init_append_stack_context();
|
|
15255
|
+
init_copy_content();
|
|
15256
|
+
init_extract_element_css();
|
|
15257
|
+
copyCssPlugin = {
|
|
15258
|
+
name: "copy-css",
|
|
15259
|
+
setup: (api) => {
|
|
15218
15260
|
let isPendingSelection = false;
|
|
15219
15261
|
return {
|
|
15220
15262
|
hooks: {
|
|
15221
15263
|
onElementSelect: (element) => {
|
|
15222
15264
|
if (!isPendingSelection) return;
|
|
15223
15265
|
isPendingSelection = false;
|
|
15224
|
-
|
|
15225
|
-
|
|
15266
|
+
const extractedCss = extractElementCss(element);
|
|
15267
|
+
void api.getStackContext(element).then((stackContext) => {
|
|
15268
|
+
copyContent(appendStackContext(extractedCss, stackContext));
|
|
15269
|
+
}).catch(() => {
|
|
15270
|
+
});
|
|
15271
|
+
return true;
|
|
15226
15272
|
},
|
|
15227
15273
|
onDeactivate: () => {
|
|
15228
15274
|
isPendingSelection = false;
|
|
@@ -15233,42 +15279,33 @@ var init_screenshot = __esm({
|
|
|
15233
15279
|
},
|
|
15234
15280
|
actions: [
|
|
15235
15281
|
{
|
|
15236
|
-
id: "
|
|
15237
|
-
label: "
|
|
15238
|
-
shortcut: "S",
|
|
15239
|
-
enabled: isScreenshotSupported,
|
|
15282
|
+
id: "copy-css",
|
|
15283
|
+
label: "Copy CSS",
|
|
15240
15284
|
onAction: async (context) => {
|
|
15241
|
-
const captureBounds = getElementBounds(context.elements);
|
|
15242
|
-
if (captureBounds.width === 0 || captureBounds.height === 0) return;
|
|
15243
15285
|
await context.performWithFeedback(async () => {
|
|
15244
|
-
context.
|
|
15245
|
-
await
|
|
15246
|
-
|
|
15247
|
-
|
|
15248
|
-
|
|
15249
|
-
|
|
15250
|
-
context.
|
|
15251
|
-
|
|
15252
|
-
|
|
15253
|
-
return await copyImageToClipboard(transformedBlob);
|
|
15254
|
-
} finally {
|
|
15255
|
-
context.showOverlay();
|
|
15256
|
-
}
|
|
15286
|
+
const combinedCss = context.elements.map(extractElementCss).join("\n\n");
|
|
15287
|
+
const stackContext = await api.getStackContext(context.element);
|
|
15288
|
+
return copyContent(
|
|
15289
|
+
appendStackContext(combinedCss, stackContext),
|
|
15290
|
+
{
|
|
15291
|
+
componentName: context.componentName,
|
|
15292
|
+
tagName: context.tagName
|
|
15293
|
+
}
|
|
15294
|
+
);
|
|
15257
15295
|
});
|
|
15258
15296
|
}
|
|
15259
15297
|
},
|
|
15260
15298
|
{
|
|
15261
|
-
id: "
|
|
15262
|
-
label: "
|
|
15263
|
-
shortcut: "S",
|
|
15299
|
+
id: "copy-css-toolbar",
|
|
15300
|
+
label: "Copy CSS",
|
|
15264
15301
|
target: "toolbar",
|
|
15265
|
-
enabled: isScreenshotSupported,
|
|
15266
15302
|
onAction: () => {
|
|
15267
15303
|
isPendingSelection = true;
|
|
15268
15304
|
api.activate();
|
|
15269
15305
|
}
|
|
15270
15306
|
}
|
|
15271
|
-
]
|
|
15307
|
+
],
|
|
15308
|
+
cleanup: disposeBaselineStyles
|
|
15272
15309
|
};
|
|
15273
15310
|
}
|
|
15274
15311
|
};
|
|
@@ -15388,9 +15425,7 @@ var init_core = __esm({
|
|
|
15388
15425
|
init_parse_activation_key();
|
|
15389
15426
|
init_is_event_from_overlay();
|
|
15390
15427
|
init_open_file();
|
|
15391
|
-
|
|
15392
|
-
init_is_screenshot_supported();
|
|
15393
|
-
init_delay();
|
|
15428
|
+
init_combine_bounds();
|
|
15394
15429
|
init_resolve_action_enabled();
|
|
15395
15430
|
init_theme();
|
|
15396
15431
|
init_plugin_registry();
|
|
@@ -15408,7 +15443,7 @@ var init_core = __esm({
|
|
|
15408
15443
|
init_comment();
|
|
15409
15444
|
init_open();
|
|
15410
15445
|
init_copy_html();
|
|
15411
|
-
|
|
15446
|
+
init_copy_css();
|
|
15412
15447
|
init_freeze_animations();
|
|
15413
15448
|
init_freeze_pseudo_states();
|
|
15414
15449
|
init_freeze_updates();
|
|
@@ -15420,7 +15455,7 @@ var init_core = __esm({
|
|
|
15420
15455
|
init_theme();
|
|
15421
15456
|
init_generate_snippet();
|
|
15422
15457
|
init_copy_content();
|
|
15423
|
-
builtInPlugins = [copyPlugin, commentPlugin, copyHtmlPlugin,
|
|
15458
|
+
builtInPlugins = [copyPlugin, commentPlugin, copyHtmlPlugin, copyCssPlugin, openPlugin];
|
|
15424
15459
|
hasInited = false;
|
|
15425
15460
|
toolbarStateChangeCallbacks = /* @__PURE__ */ new Set();
|
|
15426
15461
|
init = (rawOptions) => {
|
|
@@ -15533,13 +15568,6 @@ var init_core = __esm({
|
|
|
15533
15568
|
return connectedMappedElements;
|
|
15534
15569
|
};
|
|
15535
15570
|
const getFirstConnectedHistoryElement = (historyItem) => getConnectedHistoryElements(historyItem)[0];
|
|
15536
|
-
const getHistoryPreviewBounds = (historyItem) => {
|
|
15537
|
-
const connectedElements = getConnectedHistoryElements(historyItem);
|
|
15538
|
-
if (connectedElements.length > 0) {
|
|
15539
|
-
return connectedElements.map((element) => createElementBounds(element));
|
|
15540
|
-
}
|
|
15541
|
-
return historyItem.previewBounds ?? [];
|
|
15542
|
-
};
|
|
15543
15571
|
const historyDisconnectedItemIds = createMemo(() => {
|
|
15544
15572
|
void historyDropdownPosition();
|
|
15545
15573
|
const disconnectedIds = /* @__PURE__ */ new Set();
|
|
@@ -15651,7 +15679,6 @@ var init_core = __esm({
|
|
|
15651
15679
|
let holdStartTimestamp = null;
|
|
15652
15680
|
let copyWaitingForConfirmation = false;
|
|
15653
15681
|
let holdTimerFiredWaitingForConfirmation = false;
|
|
15654
|
-
let isScreenshotInProgress = false;
|
|
15655
15682
|
let lastWindowFocusTimestamp = 0;
|
|
15656
15683
|
let inToggleFeedbackPeriod = false;
|
|
15657
15684
|
let toggleFeedbackTimerId = null;
|
|
@@ -16833,56 +16860,6 @@ var init_core = __esm({
|
|
|
16833
16860
|
}
|
|
16834
16861
|
return true;
|
|
16835
16862
|
};
|
|
16836
|
-
const handleScreenshotShortcut = (event) => {
|
|
16837
|
-
if (!isScreenshotSupported()) return false;
|
|
16838
|
-
if (store.contextMenuPosition !== null) return false;
|
|
16839
|
-
if (event.key?.toLowerCase() !== "s" || isPromptMode()) return false;
|
|
16840
|
-
if (!isActivated() || !(event.metaKey || event.ctrlKey)) return false;
|
|
16841
|
-
const allBounds = frozenElementsBounds();
|
|
16842
|
-
const singleBounds = selectionBounds();
|
|
16843
|
-
const element = store.frozenElement || targetElement();
|
|
16844
|
-
const bounds = allBounds.length > 1 ? combineBounds(allBounds) : singleBounds;
|
|
16845
|
-
if (!bounds) return false;
|
|
16846
|
-
event.preventDefault();
|
|
16847
|
-
event.stopPropagation();
|
|
16848
|
-
const tagName = element ? getTagName(element) || "element" : "element";
|
|
16849
|
-
const shouldDeactivate = store.wasActivatedByToggle;
|
|
16850
|
-
const overlayBounds = createFlatOverlayBounds(bounds);
|
|
16851
|
-
const selectionBoundsArray = allBounds.length > 1 ? allBounds : singleBounds ? [singleBounds] : [];
|
|
16852
|
-
const instanceId = createLabelInstance(overlayBounds, tagName, void 0, "copying", {
|
|
16853
|
-
element: element ?? void 0,
|
|
16854
|
-
mouseX: bounds.x + bounds.width / 2,
|
|
16855
|
-
boundsMultiple: selectionBoundsArray
|
|
16856
|
-
});
|
|
16857
|
-
isScreenshotInProgress = true;
|
|
16858
|
-
rendererRoot.style.visibility = "hidden";
|
|
16859
|
-
const elementsForScreenshot = store.frozenElements.length > 0 ? [...store.frozenElements] : element ? [element] : [];
|
|
16860
|
-
void (async () => {
|
|
16861
|
-
await delay(SCREENSHOT_CAPTURE_DELAY_MS);
|
|
16862
|
-
let didSucceed = false;
|
|
16863
|
-
let errorMessage;
|
|
16864
|
-
try {
|
|
16865
|
-
const rawBlob = await captureElementScreenshot(bounds);
|
|
16866
|
-
const transformedBlob = await pluginRegistry.hooks.transformScreenshot(rawBlob, elementsForScreenshot, bounds);
|
|
16867
|
-
didSucceed = await copyImageToClipboard(transformedBlob);
|
|
16868
|
-
if (!didSucceed) {
|
|
16869
|
-
errorMessage = "Failed to copy";
|
|
16870
|
-
}
|
|
16871
|
-
} catch (error) {
|
|
16872
|
-
errorMessage = error instanceof Error && error.message ? error.message : "Screenshot failed";
|
|
16873
|
-
}
|
|
16874
|
-
isScreenshotInProgress = false;
|
|
16875
|
-
rendererRoot.style.visibility = "";
|
|
16876
|
-
actions.updateLabelInstance(instanceId, didSucceed ? "copied" : "error", didSucceed ? void 0 : errorMessage || "Unknown error");
|
|
16877
|
-
scheduleLabelFade(instanceId);
|
|
16878
|
-
if (shouldDeactivate) {
|
|
16879
|
-
deactivateRenderer();
|
|
16880
|
-
} else {
|
|
16881
|
-
actions.unfreeze();
|
|
16882
|
-
}
|
|
16883
|
-
})();
|
|
16884
|
-
return true;
|
|
16885
|
-
};
|
|
16886
16863
|
const clearActionCycleIdleTimeout = () => {
|
|
16887
16864
|
if (actionCycleIdleTimeoutId !== null) {
|
|
16888
16865
|
window.clearTimeout(actionCycleIdleTimeoutId);
|
|
@@ -17139,7 +17116,6 @@ var init_core = __esm({
|
|
|
17139
17116
|
if (handleArrowNavigation(event)) return;
|
|
17140
17117
|
if (handleEnterKeyActivation(event)) return;
|
|
17141
17118
|
if (handleOpenFileShortcut(event)) return;
|
|
17142
|
-
if (handleScreenshotShortcut(event)) return;
|
|
17143
17119
|
if (!didWindowJustRegainFocus) {
|
|
17144
17120
|
handleActivationKeys(event);
|
|
17145
17121
|
}
|
|
@@ -17318,7 +17294,7 @@ var init_core = __esm({
|
|
|
17318
17294
|
if (document.hidden) {
|
|
17319
17295
|
actions.clearGrabbedBoxes();
|
|
17320
17296
|
const storeActivationTimestamp = store.activationTimestamp;
|
|
17321
|
-
if (isActivated() && !isPromptMode() &&
|
|
17297
|
+
if (isActivated() && !isPromptMode() && storeActivationTimestamp !== null && Date.now() - storeActivationTimestamp > BLUR_DEACTIVATION_THRESHOLD_MS) {
|
|
17322
17298
|
deactivateRenderer();
|
|
17323
17299
|
}
|
|
17324
17300
|
}
|
|
@@ -17687,20 +17663,11 @@ var init_core = __esm({
|
|
|
17687
17663
|
copy: copyAction,
|
|
17688
17664
|
hooks: {
|
|
17689
17665
|
transformHtmlContent: pluginRegistry.hooks.transformHtmlContent,
|
|
17690
|
-
transformScreenshot: pluginRegistry.hooks.transformScreenshot,
|
|
17691
17666
|
onOpenFile: pluginRegistry.hooks.onOpenFile,
|
|
17692
17667
|
transformOpenFileUrl: pluginRegistry.hooks.transformOpenFileUrl
|
|
17693
17668
|
},
|
|
17694
17669
|
performWithFeedback: createPerformWithFeedback(element, elements, tagName, componentName, performWithFeedbackOptions),
|
|
17695
17670
|
hideContextMenu: hideContextMenuAction,
|
|
17696
|
-
hideOverlay: () => {
|
|
17697
|
-
isScreenshotInProgress = true;
|
|
17698
|
-
rendererRoot.style.visibility = "hidden";
|
|
17699
|
-
},
|
|
17700
|
-
showOverlay: () => {
|
|
17701
|
-
isScreenshotInProgress = false;
|
|
17702
|
-
rendererRoot.style.visibility = "";
|
|
17703
|
-
},
|
|
17704
17671
|
cleanup: () => {
|
|
17705
17672
|
if (store.wasActivatedByToggle) {
|
|
17706
17673
|
deactivateRenderer();
|
|
@@ -17792,8 +17759,8 @@ var init_core = __esm({
|
|
|
17792
17759
|
}
|
|
17793
17760
|
};
|
|
17794
17761
|
const showHistoryItemPreview = (item, idPrefix) => {
|
|
17795
|
-
const previewBounds = getHistoryPreviewBounds(item);
|
|
17796
17762
|
const connectedElements = getConnectedHistoryElements(item);
|
|
17763
|
+
const previewBounds = connectedElements.map((element) => createElementBounds(element));
|
|
17797
17764
|
addHistoryItemPreview(item, previewBounds, connectedElements, idPrefix);
|
|
17798
17765
|
};
|
|
17799
17766
|
const stopTrackingDropdownPosition = () => {
|
|
@@ -18466,6 +18433,7 @@ var init_core = __esm({
|
|
|
18466
18433
|
componentName: source.componentName
|
|
18467
18434
|
};
|
|
18468
18435
|
},
|
|
18436
|
+
getStackContext,
|
|
18469
18437
|
getState: () => ({
|
|
18470
18438
|
isActive: isActivated(),
|
|
18471
18439
|
isDragging: isDragging(),
|